xFirewall - error

Each time I run this
Configuration test {

    Import-DSCResource -ModuleName xNetworking

node localhost
{
   xFirewall firsttry {
   Name = "NotepadFirewallRule"
   Program = "c:\windows\system32\notepad.exe"
   Action = "Block"
   Description = "Rule to allow notepad to be accessed remotely"
   Enabled = "True"
   Direction = "Inbound"
   DisplayName = "Windows Team Notepad FW Rule"
   Profile = ("Domain","Private")
   Service = "WinRM"
}
}

start-dscconfiguration -path path

I get the following error
The PowerShell provider MSFT_xFirewall threw one or more non-terminating errors while running the Set-TargetResource functionality. These errors are logged to the ETW channel called
Microsoft-Windows-DSC/Operational. Refer to this channel for more details.
    + CategoryInfo          : InvalidOperation: (:) [], CimException
    + FullyQualifiedErrorId : NonTerminatingErrorFromProvider
    + PSComputerName        : localhost

It's basically a copy of what is in the example....but it doesn't apply. Is there something I'm missing? I have other settings that work fine on this machine.

Which version of the code are you running?

Version number of this module.
ModuleVersion = '<IP_ADDRESS>'

Sorry are you using the dev fork or are you using the code from the Gallery?  If you are using the gallery could you try the github code?

I downloaded from github about an hour ago...not using the gallery code

I ran your code (it was missing an curly brace } but overall was fine) and wasn't able to reproduce this error on either WMF 4.0 or WMF 5.0 on Server 2012 R2 updated to the latest patches.
What version of WMF are you uisng? What operating system are you running this on?

I'll try updating WMF and let you know if I still get the error

PS C:\Windows\system32> $PSVersionTable
Name                           Value

PSVersion                      4.0
WSManStackVersion              3.0
SerializationVersion           <IP_ADDRESS>
CLRVersion                     4.0.30319.34014
BuildVersion                   6.3.9600.17090
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0}
PSRemotingProtocolVersion      2.2

I haven't had any luck replicating it either using WMF5.0 and W2K12 R2.
Are you able to start the DSC config with:
Start-DSCConfiguration -path path -Force -Debug -Wait -Verbose

And post the log?
Thanks!

This is what I get when I do the same thing:

and:

DEBUG: [SCORCHBETA]:                            [[WindowsFeature]Backup::[cfleshertest]localhost::[cfleshertest]localhost] Calling GetEnumerationRequestState provider method...
DEBUG: [SCORCHBETA]:                            [[WindowsFeature]Backup::[cfleshertest]localhost::[cfleshertest]localhost] Progress returned from GetEnumerationRequestState provider method: 47%
DEBUG: [SCORCHBETA]:                            [[WindowsFeature]Backup::[cfleshertest]localhost::[cfleshertest]localhost] Calling GetEnumerationRequestState provider method...
DEBUG: [SCORCHBETA]:                            [[WindowsFeature]Backup::[cfleshertest]localhost::[cfleshertest]localhost] Progress returned from GetEnumerationRequestState provider method: 47%
DEBUG: [SCORCHBETA]:                            [[WindowsFeature]Backup::[cfleshertest]localhost::[cfleshertest]localhost] Calling GetEnumerationRequestState provider method...
DEBUG: [SCORCHBETA]:                            [[WindowsFeature]Backup::[cfleshertest]localhost::[cfleshertest]localhost] Progress returned from GetEnumerationRequestState provider method: 47%
DEBUG: [SCORCHBETA]:                            [[WindowsFeature]Backup::[cfleshertest]localhost::[cfleshertest]localhost] Calling GetEnumerationRequestState provider method...
DEBUG: [SCORCHBETA]:                            [[WindowsFeature]Backup::[cfleshertest]localhost::[cfleshertest]localhost] Progress returned from GetEnumerationRequestState provider method: 90%
DEBUG: [SCORCHBETA]:                            [[WindowsFeature]Backup::[cfleshertest]localhost::[cfleshertest]localhost] Calling GetEnumerationRequestState provider method...
DEBUG: [SCORCHBETA]:                            [[WindowsFeature]Backup::[cfleshertest]localhost::[cfleshertest]localhost] Call to GetEnumerationRequestState provider method succeeded.
VERBOSE: [SCORCHBETA]:                            [[WindowsFeature]Backup::[cfleshertest]localhost::[cfleshertest]localhost] The operation 'Get-WindowsFeature' succeeded: Windows-Server-Backup
DEBUG: [SCORCHBETA]:                            [[WindowsFeature]Backup::[cfleshertest]localhost::[cfleshertest]localhost] End executing Test functionality on the Windows-Server-Backup feature.
VERBOSE: [SCORCHBETA]: LCM:  [ End    Test     ]  [[WindowsFeature]Backup::[cfleshertest]localhost::[cfleshertest]localhost]  in 48.7120 seconds.
VERBOSE: [SCORCHBETA]: LCM:  [ Skip   Set      ]  [[WindowsFeature]Backup::[cfleshertest]localhost::[cfleshertest]localhost]
VERBOSE: [SCORCHBETA]: LCM:  [ End    Resource ]  [[WindowsFeature]Backup::[cfleshertest]localhost::[cfleshertest]localhost]
VERBOSE: [SCORCHBETA]: LCM:  [ Start  Resource ]  [[Service]w32time::[cfleshertest]localhost::[cfleshertest]localhost]
VERBOSE: [SCORCHBETA]: LCM:  [ Start  Test     ]  [[Service]w32time::[cfleshertest]localhost::[cfleshertest]localhost]
VERBOSE: [SCORCHBETA]: LCM:  [ End    Test     ]  [[Service]w32time::[cfleshertest]localhost::[cfleshertest]localhost]  in 0.0370 seconds.
VERBOSE: [SCORCHBETA]: LCM:  [ Skip   Set      ]  [[Service]w32time::[cfleshertest]localhost::[cfleshertest]localhost]
VERBOSE: [SCORCHBETA]: LCM:  [ End    Resource ]  [[Service]w32time::[cfleshertest]localhost::[cfleshertest]localhost]
VERBOSE: [SCORCHBETA]: LCM:  [ Start  Resource ]  [[Service]MpsSvc::[cfleshertest]localhost::[cfleshertest]localhost]
VERBOSE: [SCORCHBETA]: LCM:  [ Start  Test     ]  [[Service]MpsSvc::[cfleshertest]localhost::[cfleshertest]localhost]
VERBOSE: [SCORCHBETA]: LCM:  [ End    Test     ]  [[Service]MpsSvc::[cfleshertest]localhost::[cfleshertest]localhost]  in 0.0610 seconds.
VERBOSE: [SCORCHBETA]: LCM:  [ Skip   Set      ]  [[Service]MpsSvc::[cfleshertest]localhost::[cfleshertest]localhost]
VERBOSE: [SCORCHBETA]: LCM:  [ End    Resource ]  [[Service]MpsSvc::[cfleshertest]localhost::[cfleshertest]localhost]
VERBOSE: [SCORCHBETA]: LCM:  [ Start  Resource ]  [[xFirewall]firsttry::[cfleshertest]localhost::[cfleshertest]localhost]
VERBOSE: [SCORCHBETA]: LCM:  [ Start  Test     ]  [[xFirewall]firsttry::[cfleshertest]localhost::[cfleshertest]localhost]
VERBOSE: [SCORCHBETA]:                            [[xFirewall]firsttry::[cfleshertest]localhost::[cfleshertest]localhost] Test-TargetResource: Checking settings for firewall rule with Name 'Notep
adFirewallRule'.
VERBOSE: [SCORCHBETA]:                            [[xFirewall]firsttry::[cfleshertest]localhost::[cfleshertest]localhost] Test-TargetResource: Find firewall rule with Name 'NotepadFirewallRule'.
VERBOSE: [SCORCHBETA]:                            [[xFirewall]firsttry::[cfleshertest]localhost::[cfleshertest]localhost] Get-FirewallRule: No Firewall Rule found with Name 'NotepadFirewallRule'.
VERBOSE: [SCORCHBETA]:                            [[xFirewall]firsttry::[cfleshertest]localhost::[cfleshertest]localhost] Test-TargetResource: Firewall rule with Name 'NotepadFirewallRule' does n
ot exist.
VERBOSE: [SCORCHBETA]:                            [[xFirewall]firsttry::[cfleshertest]localhost::[cfleshertest]localhost] Test-TargetResource: Check Firewall rule with Name 'NotepadFirewallRule'
returning False.
VERBOSE: [SCORCHBETA]: LCM:  [ End    Test     ]  [[xFirewall]firsttry::[cfleshertest]localhost::[cfleshertest]localhost]  in 0.3450 seconds.
VERBOSE: [SCORCHBETA]: LCM:  [ Start  Set      ]  [[xFirewall]firsttry::[cfleshertest]localhost::[cfleshertest]localhost]
VERBOSE: [SCORCHBETA]:                            [[xFirewall]firsttry::[cfleshertest]localhost::[cfleshertest]localhost] Set-TargetResource: Applying settings for firewall rule with Name 'Notepa
dFirewallRule'.
VERBOSE: [SCORCHBETA]:                            [[xFirewall]firsttry::[cfleshertest]localhost::[cfleshertest]localhost] Set-TargetResource: Find firewall rule with Name 'NotepadFirewallRule'.
VERBOSE: [SCORCHBETA]:                            [[xFirewall]firsttry::[cfleshertest]localhost::[cfleshertest]localhost] Get-FirewallRule: No Firewall Rule found with Name 'NotepadFirewallRule'.
VERBOSE: [SCORCHBETA]:                            [[xFirewall]firsttry::[cfleshertest]localhost::[cfleshertest]localhost] Set-TargetResource: We want the firewall rule with Name 'NotepadFirewallR
ule' to exist since Ensure is set to Present.
VERBOSE: [SCORCHBETA]:                            [[xFirewall]firsttry::[cfleshertest]localhost::[cfleshertest]localhost] Set-TargetResource: We want the firewall rule with Name 'NotepadFirewallR
ule' to exist, but it does not.
The cmdlet does not fully support the Inquire action for debug messages.  Cmdlet operation will continue during the prompt.  Select a different action preference via -Debug switch or
$DebugPreference variable, and try again.
+ CategoryInfo          : NotImplemented: (:) [], CimException
+ FullyQualifiedErrorId : ActionPreferenceNotSupportedByCimCmdletAdapter,New-NetFirewallRule
+ PSComputerName        : localhost
VERBOSE: [SCORCHBETA]: LCM:  [ End    Set      ]  [[xFirewall]firsttry::[cfleshertest]localhost::[cfleshertest]localhost]  in 0.1500 seconds.
The PowerShell provider MSFT_xFirewall threw one or more non-terminating errors while running the Set-TargetResource functionality. These errors are logged to the ETW channel called
Microsoft-Windows-DSC/Operational. Refer to this channel for more details.
+ CategoryInfo          : InvalidOperation: (:) [], CimException
+ FullyQualifiedErrorId : NonTerminatingErrorFromProvider
+ PSComputerName        : localhost
VERBOSE: [SCORCHBETA]: LCM:  [ End    Set      ]
The SendConfigurationApply function did not succeed.
+ CategoryInfo          : NotSpecified: (root/Microsoft/...gurationManager:String) [], CimException
+ FullyQualifiedErrorId : MI RESULT 1
+ PSComputerName        : localhost
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: Time taken for configuration job to complete is 49.612 seconds

It seems the -debug parameter on Start-DSCConfiguration is causing some issues here and obfuscating the actual issue we're trying to investigate (which actually
Are you able to run this command instead please?
Start-DSCConfiguration -path path -Force -Wait -Verbose

and post the output?
What is the Windows Server version that this is this DSC config being run on? The BuildVersion in the $PSVersionTable is not necessarily representative of the actual Server Version being used so I can't tell here. The PowerShell Firewall cmdlets have slightly different features and parameters available depending on the OS version rather than the PS version.
Thanks heaps!

This is running on a 2012 R2 virtual machine
PS C:\Windows\system32> Start-DscConfiguration -Path F:\dscscripts\localhost -Wait -Force -Verbose
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,'className'
= MSFT_DSCLocalConfigurationManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: An LCM method call arrived from computer SCORCHBETA with user sid S-1-5-21-3401375572-3424278077-2022591620-2101.
VERBOSE: [SCORCHBETA]: LCM:  [ Start  Set      ]
VERBOSE: [SCORCHBETA]: LCM:  [ Start  Resource ]  [[WindowsFeature]Backup::[cfleshertest]localhost::[cfleshertest]localhost
]
VERBOSE: [SCORCHBETA]: LCM:  [ Start  Test     ]  [[WindowsFeature]Backup::[cfleshertest]localhost::[cfleshertest]localhost
]
VERBOSE: [SCORCHBETA]:                            [[WindowsFeature]Backup::[cfleshertest]localhost::[cfleshertest]localhost
] The operation 'Get-WindowsFeature' started: Windows-Server-Backup
VERBOSE: [SCORCHBETA]:                            [[WindowsFeature]Backup::[cfleshertest]localhost::[cfleshertest]localhost
] The operation 'Get-WindowsFeature' succeeded: Windows-Server-Backup
VERBOSE: [SCORCHBETA]: LCM:  [ End    Test     ]  [[WindowsFeature]Backup::[cfleshertest]localhost::[cfleshertest]localhost
]  in 0.6680 seconds.
VERBOSE: [SCORCHBETA]: LCM:  [ Skip   Set      ]  [[WindowsFeature]Backup::[cfleshertest]localhost::[cfleshertest]localhost
]
VERBOSE: [SCORCHBETA]: LCM:  [ End    Resource ]  [[WindowsFeature]Backup::[cfleshertest]localhost::[cfleshertest]localhost
]
VERBOSE: [SCORCHBETA]: LCM:  [ Start  Resource ]  [[Service]w32time::[cfleshertest]localhost::[cfleshertest]localhost]
VERBOSE: [SCORCHBETA]: LCM:  [ Start  Test     ]  [[Service]w32time::[cfleshertest]localhost::[cfleshertest]localhost]
VERBOSE: [SCORCHBETA]: LCM:  [ End    Test     ]  [[Service]w32time::[cfleshertest]localhost::[cfleshertest]localhost]  in
0.0160 seconds.
VERBOSE: [SCORCHBETA]: LCM:  [ Skip   Set      ]  [[Service]w32time::[cfleshertest]localhost::[cfleshertest]localhost]
VERBOSE: [SCORCHBETA]: LCM:  [ End    Resource ]  [[Service]w32time::[cfleshertest]localhost::[cfleshertest]localhost]
VERBOSE: [SCORCHBETA]: LCM:  [ Start  Resource ]  [[Service]MpsSvc::[cfleshertest]localhost::[cfleshertest]localhost]
VERBOSE: [SCORCHBETA]: LCM:  [ Start  Test     ]  [[Service]MpsSvc::[cfleshertest]localhost::[cfleshertest]localhost]
VERBOSE: [SCORCHBETA]: LCM:  [ End    Test     ]  [[Service]MpsSvc::[cfleshertest]localhost::[cfleshertest]localhost]  in 0
.0150 seconds.
VERBOSE: [SCORCHBETA]: LCM:  [ Skip   Set      ]  [[Service]MpsSvc::[cfleshertest]localhost::[cfleshertest]localhost]
VERBOSE: [SCORCHBETA]: LCM:  [ End    Resource ]  [[Service]MpsSvc::[cfleshertest]localhost::[cfleshertest]localhost]
VERBOSE: [SCORCHBETA]: LCM:  [ Start  Resource ]  [[xFirewall]firsttry::[cfleshertest]localhost::[cfleshertest]localhost]
VERBOSE: [SCORCHBETA]: LCM:  [ Start  Test     ]  [[xFirewall]firsttry::[cfleshertest]localhost::[cfleshertest]localhost]
VERBOSE: [SCORCHBETA]:                            [[xFirewall]firsttry::[cfleshertest]localhost::[cfleshertest]localhost] T
est-TargetResource: Checking settings for firewall rule with Name 'NotepadFirewallRule'.
VERBOSE: [SCORCHBETA]:                            [[xFirewall]firsttry::[cfleshertest]localhost::[cfleshertest]localhost] T
est-TargetResource: Find firewall rule with Name 'NotepadFirewallRule'.
VERBOSE: [SCORCHBETA]:                            [[xFirewall]firsttry::[cfleshertest]localhost::[cfleshertest]localhost] G
et-FirewallRule: No Firewall Rule found with Name 'NotepadFirewallRule'.
VERBOSE: [SCORCHBETA]:                            [[xFirewall]firsttry::[cfleshertest]localhost::[cfleshertest]localhost] T
est-TargetResource: Firewall rule with Name 'NotepadFirewallRule' does not exist.
VERBOSE: [SCORCHBETA]:                            [[xFirewall]firsttry::[cfleshertest]localhost::[cfleshertest]localhost] T
est-TargetResource: Check Firewall rule with Name 'NotepadFirewallRule' returning False.
VERBOSE: [SCORCHBETA]: LCM:  [ End    Test     ]  [[xFirewall]firsttry::[cfleshertest]localhost::[cfleshertest]localhost]
in 0.8060 seconds.
VERBOSE: [SCORCHBETA]: LCM:  [ Start  Set      ]  [[xFirewall]firsttry::[cfleshertest]localhost::[cfleshertest]localhost]
VERBOSE: [SCORCHBETA]:                            [[xFirewall]firsttry::[cfleshertest]localhost::[cfleshertest]localhost] S
et-TargetResource: Applying settings for firewall rule with Name 'NotepadFirewallRule'.
VERBOSE: [SCORCHBETA]:                            [[xFirewall]firsttry::[cfleshertest]localhost::[cfleshertest]localhost] S
et-TargetResource: Find firewall rule with Name 'NotepadFirewallRule'.
VERBOSE: [SCORCHBETA]:                            [[xFirewall]firsttry::[cfleshertest]localhost::[cfleshertest]localhost] G
et-FirewallRule: No Firewall Rule found with Name 'NotepadFirewallRule'.
VERBOSE: [SCORCHBETA]:                            [[xFirewall]firsttry::[cfleshertest]localhost::[cfleshertest]localhost] S
et-TargetResource: We want the firewall rule with Name 'NotepadFirewallRule' to exist since Ensure is set to Present.
VERBOSE: [SCORCHBETA]:                            [[xFirewall]firsttry::[cfleshertest]localhost::[cfleshertest]localhost] S
et-TargetResource: We want the firewall rule with Name 'NotepadFirewallRule' to exist, but it does not.
The cmdlet does not fully support the Inquire action for debug messages.  Cmdlet operation will continue during the
prompt.  Select a different action preference via -Debug switch or $DebugPreference variable, and try again.
+ CategoryInfo          : NotImplemented: (:) [], CimException
+ FullyQualifiedErrorId : ActionPreferenceNotSupportedByCimCmdletAdapter,New-NetFirewallRule
+ PSComputerName        : localhost
VERBOSE: [SCORCHBETA]: LCM:  [ End    Set      ]  [[xFirewall]firsttry::[cfleshertest]localhost::[cfleshertest]localhost]
in 0.2610 seconds.
The PowerShell provider MSFT_xFirewall threw one or more non-terminating errors while running the Set-TargetResource
functionality. These errors are logged to the ETW channel called Microsoft-Windows-DSC/Operational. Refer to this channel
for more details.
+ CategoryInfo          : InvalidOperation: (:) [], CimException
+ FullyQualifiedErrorId : NonTerminatingErrorFromProvider
+ PSComputerName        : localhost
VERBOSE: [SCORCHBETA]: LCM:  [ End    Set      ]
The SendConfigurationApply function did not succeed.
+ CategoryInfo          : NotSpecified: (root/Microsoft/...gurationManager:String) [], CimException
+ FullyQualifiedErrorId : MI RESULT 1
+ PSComputerName        : localhost
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: Time taken for configuration job to complete is 2.873 seconds

This is working. We only apply security updates and not optional updates. An optional update was related to this and now it's working. Sorry for taking up your time.

Oh right! No problem :+1:
Do you possibly know the KBs of the Optional Updates that resolved the issue? Or was it "All of them"? :smile:  I only ask because it is always good to have this stuff documented for any future reference and if it is known we can also add it into the documentation as a gotcha.
Thanks!

KB3000850
It's a big one. Not sure what exactly in that update "fixed" the issue but it did.

Awesome! I'll put a mention in the documentation just in case anyone else runs into the problem. Thanks for your help tracking the issue down. :hammer:

We've updated the documentation to note this KB as probably needed. Thanks for letting us know @cflesher

I think I've found where the problem is, but not sure if the solution is correct.
When trying to use this resource to add an open port for MongoDB, I encountered the same error. The configuration is 2012 R2 in a VM, only installed Package Management Preview 10.0.10514.0 and the following updates: KB2883200, KB2884846, and KB2894179. They seem to be necessities to get WMF 4.0 going with the PowerShell Gallery.
The installed modules are:
Version    Name
-------    ----
<IP_ADDRESS>    xMySql
3.4.0      Pester
<IP_ADDRESS>    xDscDiagnostics
<IP_ADDRESS>    xDSCResourceDesigner
<IP_ADDRESS>    xNetworking
<IP_ADDRESS>    xPSDesiredStateConfiguration

The DSC configuration is written as (excerpt):
    xFirewall MongoPort {
        Name = "MongoDB"
        Protocol = "TCP"
        LocalPort = "27017"
    }

The error message,

CategoryInfo          : NotImplemented: (:) [], CimException
FullyQualifiedErrorId : ActionPreferenceNotSupportedByCimCmdletAdapter,New-NetFirewallRule

same as above, doesn't give a clue.
I followed the verbose message

We want the firewall rule with Name '{0}' to exist, but it does not.

to a part of code of Set-TargetResource in MSFT_xFirewall.psm1, circa line 366.
Then I tried to change the line of
New-NetFirewallRule @PSBoundParameters

to plainly
New-NetFirewallRule -Name MongoDB -DisplayName MongoDB -Protocol TCP -LocalPort 27017

and the configuration completed successfully.
Then, I added a few lines of code in front of that line to understand what PSBoundParameters did,
$s = ""
foreach ($k in $PSBoundParameters.Keys) {
  $s += " -$k " + $PSBoundParameters[$k]
}
Write-Verbose $s

and changed the line creating the rule as:
Invoke-Expression "New-NetFirewallRule $s"

Then the error message finally made some sense:

详细信息: [TEST-SERVER]:                            [[xFirewall]MongoPort]  -Name MongoDB -Action Allow -LocalPort 27017 -Verbose True -Debug True -DisplayName MongoDB
找不到接受实际参数“True”的位置形式参数。

CategoryInfo          : InvalidArgument: (:) []，CimException
FullyQualifiedErrorId : PositionalParameterNotFound,New-NetFirewallRule

The above error message translates to: unable to find a positional parameter for the actual argument "True".
So, it's the "True" arguments to the "Verbose" and "Debug" parameters to blame!
Finally, I removed these two parameters from PSBoundParameters with
$PSBoundParameters.Remove('Verbose')
$PSBoundParameters.Remove('Debug')

and the original code also worked like a charm!

Ah I see - so what you're saying is that Set-TargetResource is being called with parameters Verbose and Debug set to true, which then gets splatted to the New-NetFirewallRule cmdlet.
Question: Do you know what causing the Verbose and Debug parameters to be passed? I've never run into this before. How is your LCM configured?
We could of course just add the:
$PSBoundParameters.Remove('Verbose')
$PSBoundParameters.Remove('Debug')

to the beginning of the Set-TargetResource of course, but I'd like to get a handle on what triggers the LCM to pass them.

I've been using the push model. This is the output of Get-DscLocalConfigurationManager on the target machine:
[test-server]: PS C:\Users\Administrator\Documents> Get-DscLocalConfigurationManager

AllowModuleOverwrite           : False
CertificateID                  : 0D3496D5BB2B5795CDD804376CF671EBBBDA4380
ConfigurationID                :
ConfigurationMode              : ApplyAndMonitor
ConfigurationModeFrequencyMins : 30
Credential                     :
DownloadManagerCustomData      :
DownloadManagerName            :
RebootNodeIfNeeded             : False
RefreshFrequencyMins           : 15
RefreshMode                    : PUSH
PSComputerName                 :

The configuration script and DSC cmdlets are executed this way:
Set-Location F:\

Copy-Item F:\dscmodules\* 'C:\Program Files\WindowsPowerShell\Modules' -Recurse -Force
.\Config-Targets.ps1 developing
Start-DscConfiguration .\output -Verbose -Wait

Invoke-Command -ComputerName $target_server { Stop-Process -Name WmiPrvSE -Force }

.\Config-Product.ps1 developing -Verbose
Set-DscLocalConfigurationManager .\output -Verbose
Start-DscConfiguration .\output -Verbose -Wait

where 'developing' is a psd1 filename got passed to the -ConfigurationData parameter in the Config-*.ps1 scripts.
Config-Targets.ps1 copies all the Modules in %ProgramFiles%\WindowsPowerShell from the master machine to the target. Config-Product.ps1 calls other config scripts in this way:
. .\configs\MongoDB.ps1

Configuration Product {

    Node $AllNodes.NodeName {
        LocalConfigurationManager {
            CertificateId = $Node.Thumbprint
        }
    }

    Node $AllNodes.Where{ $_.Roles -contains 'MongoDB' }.NodeName {
        Product_MongoDB
    }

}

Product -OutputPath .\output -ConfigurationData ".\configdata\$ConfigName.psd1"

I'm using the Composite Resource in an undocumented, workaround way, which is blogged as "Issue 2" at http://dille.name/blog/2015/01/11/reusing-psdsc-node-configuration-with-nested-configurations-the-horror/. The canonical way just adds too much complexity and I just want to make it simple to help my team get the whole picture more easily.


Initialization with zero - "missing metrics problem"

Is your feature request related to a problem? Please describe.
Currently metrics like the response counter and the histograms are not initialized with zero values.
Doing the initialization to zero is challenging, as you would have to know all possible label combinations beforehand (at least one scrape before there is actual data), which may be easy for some labels (e.g. methods) but hard for others where it is not clear which values they might take.
The problematic with metrics that are not initialized to zero is described for instance here and here, but let's give a practical example:
Let's say we have a scrape interval of 15s. We have a graph or alert that uses increase(...) or rate(...) to inform us about requests with status 500 based on the response counter metric.
Between two scrapes for the first time there are requests w/ status 500. That means when the time series first appears in a scrape, the related request counter is already set to the number of requests w/ status 500 that occurred in the meantime, let's say it were 50 requests between those two scrapes.
Missing a previous zero value, increase or rate cannot detect a change and thus these 50 requests go unnoticed. Similar requests that happen after the metric was initialized will show up, but if there are none, there won't be any trace at all of 500s on the graph.
As it is now, at least the first request in a counter "gets lost" like this, as it will never initialize below 1, though the number is likely usually higher.
Describe the solution you'd like
I would be mainly interested in your thoughts on this, and if you maybe see a workaround.
For a solution, I currently don't see any alternatives to attempting an initialization based on expected label combinations.

A possible way to deal with this (though it is not pretty) that comes to my mind is the following:

When a metric (with a specific combination of label values) is scraped for the first time, instead of the current value yield zero together with a timestamp that lies in the past (e.g. the time of the previous scrape where it was not collected yet)
On any subsequent scrapes/collections just yield the current value as usual

That way the initialization to zero would happen, even if somewhat late, and we would loose the information of the actual count/sum from the initial scrape, but increase/rate calculations would be correct.

This is a tough one. 😓  I recognize the issue, but as you've already stated, it's quite impossible to determine all possible combinations of label values beforehand.
Retroactively providing zero-metrics upon the first scrape also seems suboptimal to me, since the exporter would need to be able to actually determine when a metric was scraped for the first time. Also, we'd need to export values for the same metric with different timestamps (which is probably not the most common use case of the instrumentation library).
I'll need some time to give this some more tought. 🤔  Stay tuned -- and of course, any further input on this matter is welcome.

I implemented a proof of concept for the approach I sketched above and created an issue asking if this is something that might be considered to be added to the client library (as I assume that would be a requirement for you to consider using that functionality): https://github.com/prometheus/client_golang/issues/780

In https://github.com/prometheus/client_golang/issues/780 there is an explanation why the approach I sketched can't be a general solution to that problem (e.g. when using multiple Prometheus instances to scrape) and thus is not considered for a PR. For my use case it seems to work well enough. Even if there is no guarantee that the metrics will be initialized with zero, the situation is definitely an improvement.
If anyone is interested I have the changes on these forks/branches:
Prometheus client:
https://github.com/stempler/client_golang/tree/exp/counter-initialization
Exporter:
https://github.com/wetransform-os/prometheus-nginxlog-exporter/tree/belate-init (mainly https://github.com/wetransform-os/prometheus-nginxlog-exporter/commit/fd4d289982664c7352081ba62bba9fed6a3f050a)
Right now there is at least the problem that the ConstLabels in the metrics are not properly supported with my changes (and thus using a label for the namespace. Otherwise I did not observe any problems so far.


Sync to live (#502)

New SDS (#500)

Adding to TOC (#501)

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/TOC.md
:white_check_mark:Succeeded

windows-iotcore/release-notes/CurrentInsider.md
:white_check_mark:Succeeded

windows-iotcore/release-notes/Insider/17723.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


chore: version 0.14.0 proposal

https://github.com/open-telemetry/opentelemetry-js/releases/tag/untagged-33283447c758ca2ea7f6

version.ts ?

version.ts ?

and changelog

Ready for review. Contains an important bugfix so a quick turnaround would be appreciated


Python and HCP Trial connectivity issue.

I am trying to establish a connection with my HCP trail account from python but facing the below issue:

The code snippet i used to establish this connection is :
import dbapi
conn = dbapi.connect( 'hanatrial.ondemand.com' , 30015, 'p1942054738', 'xxxxxx')
print ( conn.isconnected())
Please note :

i have placed this code under python folder of hdbclient.

I have copied these files into the Lib folder of python
      * __init__.py, dbapi.py, resultrow.py

      * pyhdbcli.pdb, pyhdbcli.pyd

Please let me know what am i missing to establish a connection between HCP and python.

Take a look here:
https://blogs.sap.com/2015/04/24/try-hanatrial-using-python-or-nodejs/

Please note that this repository is not about the HANA connector that ships with HANA, which you seem to be using.

@iivanov-hub
Thanks for the response the blog was useful but the open-db-tunnel doesn't provide me with a user name and password.

Please let me know if i am missing something ?
@TwoLaid
I even tried with the pyhdb library still no luck. The connection gets timed out.

Once you have tunnel up and running, you have to use your database user and password, SYSTEM for example. host is "localhost" and port is 3015, based on output from your command output.

I've never worked with a HCP trial instance, but maybe refer to this thread: https://github.com/SAP/node-hdb/issues/1
It is for the NodeJS connector but the logic might be applicable here as well

Sorry for the late response. If the issue still persist then please feel free to reopen the issue. I would also recommend to contact the HCP/SCP support as it looks like a problem related with the HCP/SCP proxy.


Change the way of dapr cli reinstalling

Ask your question here
When dapr is already installed, it will be reinstalled.
✗ curl -fsSL https://raw.githubusercontent.com/dapr/cli/master/install/install.sh | /bin/bash

Your system is darwin_amd64

Dapr CLI is detected:
CLI version: 0.11.0
Runtime version: n/a
Reinstalling Dapr CLI - /usr/local/bin/dapr...

Getting the latest Dapr CLI...
Installing v0.11.0 Dapr CLI...
Downloading https://github.com/dapr/cli/releases/download/v0.11.0/dapr_darwin_amd64.tar.gz ...
dapr installed into /usr/local/bin successfully.
CLI version: 0.11.0
Runtime version: n/a

To get started with Dapr, please visit https://docs.dapr.io/getting-started/

I wonder whether it would be better if:

the local dapr is latest, exit the installation.

✗ curl -fsSL https://raw.githubusercontent.com/dapr/cli/master/install/install.sh | /bin/bash

Your system is darwin_amd64

Dapr CLI is detected:
CLI version: 0.11.0
Runtime version: n/a

The latest Dapr Cli is installed, exiting...           # New line

the local dapr is out of date, ask users whether to reinstall

✗ curl -fsSL https://raw.githubusercontent.com/dapr/cli/master/install/install.sh | /bin/bash

Your system is darwin_amd64

Dapr CLI is detected:
CLI version: 0.5.0
Runtime version: n/a

Are you sure you wanna install the latest version 0.11.0: Yes/No  # New line

Or you guys just want to keep the installation process as simple as possible? Thanks.

Keeping the installation process as simple as possible makes sense. At the same time not downloading the cli if already latest version is available and also the confrim prompt are nice additions.
cc @yaron2


Labels should be based on the sort order in use

For default, it's section (if there's more than one section). For updated, it's date. For stars, it's star count (unicode star).
Then also have non-bold + bold text in the label.
And elide all labels if they're all the same (minus the start cards)
Related to #156

Refactor how sorts work to have:
{
  'extractor': (card) => [sortValue, displayName]
  'labelName': 'The non-bolded portion that will be put in front of the bolded displayName for label',
  'ascending': //If true, then it's leftValue - rightValue
}

Have a selector that takes the expanded, unsorted collection and then generates an index of cardId => extracted information, that is itself selected into the sorter, and is used to generate the labels after sorting

[ ] Rewire sorts as an extractor
[ ] Use the extracted displayName for the labels in each section
[ ] Each sort extracts labels specific to it
[ ] Add in labelName support
[ ] Add in acending toggle

Done as of 57e2d7afc246dfab832212100d245dd57d4eb430 because displayBadgeName is likely a bad idea after I tried implementing it.


merge advanced usage and type validation

it seems your jupyter is exporting as a single line json and mine is using multi line json but i verified that your content is all unchanged

Thanks @nlangellier, looks good to me! I guess a some point we can introduce a uniform format for the notebooks, but now it’s probably a bit to early…


fix incomplete last commit/pullrequest

Looks like I made an oopsie and didn't commit all my changes in #17 .
Additionally to fixing my borked pull request, I also added another debug line in the del_txt_record function to mirror the behavior in the add_txt_record function.
Tested on domains with and without special characters like ö,ä,ü, with and without subdomains. Everything works as expected, all certbot dry-runs were successful.
Sorry for the inconvenience.

Oh I see, well thank you for this


Move ExportCSV button below pagination button (bottom right corner)

@AllenFang, Hi I wanted to move Export CSV button to bottom right corner of the table. Basically under pagination buttons. How can I achieve that?

Check following steps:

Firstly, you need to use the v3.0.0, current version is v3.0.0-beta.11
custom the pagination panel, you can learn how to custom pagination panel by this
put <ExportCSVButton> at the right position in your custom panel

Note: You can get ExportCSVButton by react-bootstrap-table,
 import { BootstrapTable, TableHeaderColumn, ExportCSVButton } from 'react-bootstrap-table';
let me know if you get any trouble on implementation.


Fix crash after extension update

Oh, I almost lost my sanity for that one.  Wasn't easy first contribution experience, because it's crashes extension with message like that:
rejected promise not handled within 1 second: TypeError: Cannot set property '0' of undefined
 extensionHostProcess.js
stack trace: TypeError: Cannot set property '0' of undefined
	at GistService.<anonymous> (/home/n4nn31355/_PROJECTS/n4nn31355/code-settings-sync/out/extension.js:93711:40)
	at step (/home/n4nn31355/_PROJECTS/n4nn31355/code-settings-sync/out/extension.js:93444:23)
	at Object.next (/home/n4nn31355/_PROJECTS/n4nn31355/code-settings-sync/out/extension.js:93425:53)
	at /home/n4nn31355/_PROJECTS/n4nn31355/code-settings-sync/out/extension.js:93419:71
	at new Promise (<anonymous>)
	at /home/n4nn31355/_PROJECTS/n4nn31355/code-settings-sync/out/extension.js:93415:12
	at GistService.Import (/home/n4nn31355/_PROJECTS/n4nn31355/code-settings-sync/out/extension.js:93465:16)
	at Sync.<anonymous> (/home/n4nn31355/_PROJECTS/n4nn31355/code-settings-sync/out/extension.js:95814:29)
	at step (/home/n4nn31355/_PROJECTS/n4nn31355/code-settings-sync/out/extension.js:95693:23)
	at Object.next (/home/n4nn31355/_PROJECTS/n4nn31355/code-settings-sync/out/extension.js:95674:53)
	at /home/n4nn31355/_PROJECTS/n4nn31355/code-settings-sync/out/extension.js:95668:71
	at new Promise (<anonymous>)
	at /home/n4nn31355/_PROJECTS/n4nn31355/code-settings-sync/out/extension.js:95664:12
	at Sync.download (/home/n4nn31355/_PROJECTS/n4nn31355/code-settings-sync/out/extension.js:95809:16)
	at _executeContributedCommand (/opt/visual-studio-code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:675:513)
	at _doExecuteCommand (/opt/visual-studio-code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:674:689)
	at _.executeCommand (/opt/visual-studio-code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:674:595)
	at Object.executeCommand (/opt/visual-studio-code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:977:820)
	at Sync.<anonymous> (/home/n4nn31355/_PROJECTS/n4nn31355/code-settings-sync/out/extension.js:95752:30)
	at step (/home/n4nn31355/_PROJECTS/n4nn31355/code-settings-sync/out/extension.js:95693:23)
	at Object.next (/home/n4nn31355/_PROJECTS/n4nn31355/code-settings-sync/out/extension.js:95674:53)
	at fulfilled (/home/n4nn31355/_PROJECTS/n4nn31355/code-settings-sync/out/extension.js:95665:58)
 extensionHostProcess.js

I found that error may be actually not related to this property, but anyway this obviously an error.


"RuntimeError: Unknown backend iree"

Hello, I'm trying to install iree-jax to test GPT-2 on IREE. After running python -m pip install -e '.[test,xla,cpu]' -f https://openxla.github.io/iree/pip-release-links.html, I built jaxlib from source. However, when I run lit -v tests/, I get a RuntimeError with the message "Unknown backend iree". This also happens when running models/gpt2/test_jax.py. Did I miss something during the setup process? Your help would be greatly appreciated. I have attached the error log below.
Using pure python filecheck: /home/woongq/jax/bin/filecheck
-- Testing: 5 tests, 5 workers --
FAIL: IREE_JAX :: program/trivial_kernel.py (1 of 5)
******************** TEST 'IREE_JAX :: program/trivial_kernel.py' FAILED ********************
Script:
--
: 'RUN: at line 15';   /home/woongq/jax/bin/python /home/woongq/iree-jax/tests/program/trivial_kernel.py | /home/woongq/jax/bin/filecheck /home/woongq/iree-jax/tests/program/trivial_kernel.py
--
Exit Code: 2

Command Output (stdout):
--
$ ":" "RUN: at line 15"
$ "/home/woongq/jax/bin/python" "/home/woongq/iree-jax/tests/program/trivial_kernel.py"
# command stderr:
WARNING:jax._src.dispatch:Finished tracing + transforming jit(convert_element_type) in 0.0002429485321044922 sec
DEBUG:jax._src.xla_bridge:Initializing backend 'cpu'
DEBUG:jax._src.xla_bridge:Backend 'cpu' initialized
DEBUG:jax._src.xla_bridge:Initializing backend 'cuda'
INFO:jax._src.xla_bridge:Unable to initialize backend 'cuda': module 'jaxlib.xla_extension' has no attribute 'GpuAllocatorConfig'
DEBUG:jax._src.xla_bridge:Initializing backend 'rocm'
INFO:jax._src.xla_bridge:Unable to initialize backend 'rocm': module 'jaxlib.xla_extension' has no attribute 'GpuAllocatorConfig'
DEBUG:jax._src.xla_bridge:Initializing backend 'tpu'
INFO:jax._src.xla_bridge:Unable to initialize backend 'tpu': module 'jaxlib.xla_extension' has no attribute 'get_tpu_client'
WARNING:jax._src.xla_bridge:No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
WARNING:jax._src.dispatch:Finished tracing + transforming jit(broadcast_in_dim) in 0.0002300739288330078 sec
DEBUG:jax._src.interpreters.pxla:Compiling broadcast_in_dim for with global shapes and types [ShapedArray(float32[])]. Argument mapping: (GSPMDSharding({replicated}),).
WARNING:jax._src.dispatch:Finished jaxpr to MLIR module conversion jit(broadcast_in_dim) in 0.001964092254638672 sec
DEBUG:jax._src.xla_bridge:get_compile_options: num_replicas=1 num_partitions=1 device_assignment=[[CpuDevice(id=0)]]
WARNING:jax._src.dispatch:Finished XLA compilation of jit(broadcast_in_dim) in 0.012798309326171875 sec
WARNING:jax._src.dispatch:Finished tracing + transforming fn for pjit in 0.0004911422729492188 sec
DEBUG:jax._src.interpreters.pxla:Compiling fn for with global shapes and types [ShapedArray(float32[3,4]), ShapedArray(float32[], weak_type=True)]. Argument mapping: (GSPMDSharding({replicated}), GSPMDSharding({replicated})).
WARNING:jax._src.dispatch:Finished jaxpr to MLIR module conversion jit(fn) in 0.0016129016876220703 sec
DEBUG:jax._src.xla_bridge:get_compile_options: num_replicas=1 num_partitions=1 device_assignment=[[CpuDevice(id=0)]]
WARNING:jax._src.dispatch:Finished XLA compilation of jit(fn) in 0.0081329345703125 sec
DEBUG:iree_jax:Create new Program subclass: trivial_kernel
DEBUG:root:DEFINE PY_ONLY: _linear = <Exportable Pure Func: <function TrivialKernel._linear at 0x7f91ee93ce50>>
DEBUG:iree_jax:def_global_tree: array _params$0=(3, 4):dtype('float32')
DEBUG:iree_jax:def_global_tree: array _params$1=(3, 4):dtype('float32')
DEBUG:iree_jax:def_global_tree: new tree=Params(x=ConcreteArray(ExportedGlobalArray(@_params$0 : tensor<3x4xf32>), dtype=float32), b=ConcreteArray(ExportedGlobalArray(@_params$1 : tensor<3x4xf32>), dtype=float32))
DEBUG:iree_jax:def_global_tree: array _x$0=(3, 4):dtype('float32')
DEBUG:iree_jax:def_global_tree: new tree=ExportedGlobalArray(@_params$0 : tensor<3x4xf32>)
Traceback (most recent call last):
  File "/home/woongq/iree-jax/tests/program/trivial_kernel.py", line 61, in <module>
    m = TrivialKernel()
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 459, in __new__
    export_function()
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 454, in export_function
    info.export_module.def_func(invoke_with_self,
  File "/home/woongq/iree-jax/iree/jax/exporter.py", line 206, in def_func
    return_py_value = f(*argument_py_tree)
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 452, in invoke_with_self
    return func_def.callable(self, *args, **kwargs)
  File "/home/woongq/iree-jax/tests/program/trivial_kernel.py", line 48, in run
    result = self._linear(multiplier, self._params.x, self._params.b)
  File "/home/woongq/iree-jax/iree/jax/tracing.py", line 54, in __call__
    return current_ir_trace().handle_call(self, args, kwargs)
  File "/home/woongq/iree-jax/iree/jax/tracing.py", line 114, in handle_call
    return target.resolve_call(self, *args, **kwargs)
  File "/home/woongq/iree-jax/iree/jax/builtins.py", line 60, in resolve_call
    lowered = self.jit_f.lower(*abstract_args)
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/traceback_util.py", line 166, in reraise_with_filtered_traceback
    return fun(*args, **kwargs)
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/pjit.py", line 338, in lower
    donate_argnums) = infer_params_fn(*args, **kwargs)
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/api.py", line 324, in infer_params
    return pjit.common_infer_params(pjit_info_args, *args, **kwargs)
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/pjit.py", line 452, in common_infer_params
    in_shardings = out_shardings = _create_sharding_with_device_backend(
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/pjit.py", line 826, in _create_sharding_with_device_backend
    xb.get_backend(backend).get_default_device_assignment(1)[0])
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/xla_bridge.py", line 710, in get_backend
    return _get_backend_uncached(platform)
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/xla_bridge.py", line 699, in _get_backend_uncached
    raise RuntimeError(f"Unknown backend {platform}")
jax._src.traceback_util.UnfilteredStackTrace: RuntimeError: Unknown backend iree

The stack trace below excludes JAX-internal frames.
The preceding is the original exception that occurred, unmodified.

--------------------

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/woongq/iree-jax/tests/program/trivial_kernel.py", line 61, in <module>
    m = TrivialKernel()
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 459, in __new__
    export_function()
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 454, in export_function
    info.export_module.def_func(invoke_with_self,
  File "/home/woongq/iree-jax/iree/jax/exporter.py", line 206, in def_func
    return_py_value = f(*argument_py_tree)
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 452, in invoke_with_self
    return func_def.callable(self, *args, **kwargs)
  File "/home/woongq/iree-jax/tests/program/trivial_kernel.py", line 48, in run
    result = self._linear(multiplier, self._params.x, self._params.b)
  File "/home/woongq/iree-jax/iree/jax/tracing.py", line 54, in __call__
    return current_ir_trace().handle_call(self, args, kwargs)
  File "/home/woongq/iree-jax/iree/jax/tracing.py", line 114, in handle_call
    return target.resolve_call(self, *args, **kwargs)
  File "/home/woongq/iree-jax/iree/jax/builtins.py", line 60, in resolve_call
    lowered = self.jit_f.lower(*abstract_args)
RuntimeError: Unknown backend iree
nanobind: leaked 66 instances!
nanobind: leaked 16 types!
 - leaked type "iree._runtime.VmVariantList"
 - leaked type "iree._runtime.HalBufferView"
 - leaked type "iree._runtime.BufferUsage"
 - leaked type "iree._runtime.VmContext"
 - leaked type "iree._runtime.MappedMemory"
 - leaked type "iree._runtime.ArgumentPacker"
 - leaked type "iree._runtime.HalElementType"
 - leaked type "iree._runtime.VmRef"
 - leaked type "iree._runtime.VmModule"
 - leaked type "iree._runtime.HalDevice"
 - leaked type "iree._runtime._InvokeStatics"
 - ... skipped remainder
nanobind: leaked 78 functions!
 - leaked function ""
 - leaked function "lookup_function"
 - leaked function "__eq__"
 - leaked function ""
 - leaked function "__iree_vm_type__"
 - leaked function "__or__"
 - leaked function "__init__"
 - leaked function "create_device_by_uri"
 - leaked function ""
 - leaked function "invoke"
 - leaked function "__init__"
 - ... skipped remainder
nanobind: this is likely caused by a reference counting issue in the binding code.

error: command failed with exit status: 1
$ "/home/woongq/jax/bin/filecheck" "/home/woongq/iree-jax/tests/program/trivial_kernel.py"
# command output:
CHECK: FileCheck error: '-' is empty.
FileCheck command line: /home/woongq/iree-jax/tests/program/trivial_kernel.py

error: command failed with exit status: 2

--

********************
FAIL: IREE_JAX :: program/fft.py (2 of 5)
******************** TEST 'IREE_JAX :: program/fft.py' FAILED ********************
Script:
--
: 'RUN: at line 15';   /home/woongq/jax/bin/python /home/woongq/iree-jax/tests/program/fft.py | /home/woongq/jax/bin/filecheck /home/woongq/iree-jax/tests/program/fft.py
--
Exit Code: 2

Command Output (stdout):
--
$ ":" "RUN: at line 15"
$ "/home/woongq/jax/bin/python" "/home/woongq/iree-jax/tests/program/fft.py"
# command stderr:
DEBUG:iree_jax:Create new Program subclass: f_f_t
DEBUG:root:DEFINE PY_ONLY: _fft = <Exportable Pure Func: <function FFT._fft at 0x7f92544a2290>>
DEBUG:jax._src.xla_bridge:Initializing backend 'cpu'
DEBUG:jax._src.xla_bridge:Backend 'cpu' initialized
DEBUG:jax._src.xla_bridge:Initializing backend 'cuda'
INFO:jax._src.xla_bridge:Unable to initialize backend 'cuda': module 'jaxlib.xla_extension' has no attribute 'GpuAllocatorConfig'
DEBUG:jax._src.xla_bridge:Initializing backend 'rocm'
INFO:jax._src.xla_bridge:Unable to initialize backend 'rocm': module 'jaxlib.xla_extension' has no attribute 'GpuAllocatorConfig'
DEBUG:jax._src.xla_bridge:Initializing backend 'tpu'
INFO:jax._src.xla_bridge:Unable to initialize backend 'tpu': module 'jaxlib.xla_extension' has no attribute 'get_tpu_client'
WARNING:jax._src.xla_bridge:No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
Traceback (most recent call last):
  File "/home/woongq/iree-jax/tests/program/fft.py", line 41, in <module>
    m = FFT()
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 459, in __new__
    export_function()
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 454, in export_function
    info.export_module.def_func(invoke_with_self,
  File "/home/woongq/iree-jax/iree/jax/exporter.py", line 206, in def_func
    return_py_value = f(*argument_py_tree)
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 452, in invoke_with_self
    return func_def.callable(self, *args, **kwargs)
  File "/home/woongq/iree-jax/tests/program/fft.py", line 33, in fft
    return self._fft(x)
  File "/home/woongq/iree-jax/iree/jax/tracing.py", line 54, in __call__
    return current_ir_trace().handle_call(self, args, kwargs)
  File "/home/woongq/iree-jax/iree/jax/tracing.py", line 114, in handle_call
    return target.resolve_call(self, *args, **kwargs)
  File "/home/woongq/iree-jax/iree/jax/builtins.py", line 60, in resolve_call
    lowered = self.jit_f.lower(*abstract_args)
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/traceback_util.py", line 166, in reraise_with_filtered_traceback
    return fun(*args, **kwargs)
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/pjit.py", line 338, in lower
    donate_argnums) = infer_params_fn(*args, **kwargs)
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/api.py", line 324, in infer_params
    return pjit.common_infer_params(pjit_info_args, *args, **kwargs)
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/pjit.py", line 452, in common_infer_params
    in_shardings = out_shardings = _create_sharding_with_device_backend(
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/pjit.py", line 826, in _create_sharding_with_device_backend
    xb.get_backend(backend).get_default_device_assignment(1)[0])
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/xla_bridge.py", line 710, in get_backend
    return _get_backend_uncached(platform)
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/xla_bridge.py", line 699, in _get_backend_uncached
    raise RuntimeError(f"Unknown backend {platform}")
jax._src.traceback_util.UnfilteredStackTrace: RuntimeError: Unknown backend iree

The stack trace below excludes JAX-internal frames.
The preceding is the original exception that occurred, unmodified.

--------------------

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/woongq/iree-jax/tests/program/fft.py", line 41, in <module>
    m = FFT()
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 459, in __new__
    export_function()
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 454, in export_function
    info.export_module.def_func(invoke_with_self,
  File "/home/woongq/iree-jax/iree/jax/exporter.py", line 206, in def_func
    return_py_value = f(*argument_py_tree)
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 452, in invoke_with_self
    return func_def.callable(self, *args, **kwargs)
  File "/home/woongq/iree-jax/tests/program/fft.py", line 33, in fft
    return self._fft(x)
  File "/home/woongq/iree-jax/iree/jax/tracing.py", line 54, in __call__
    return current_ir_trace().handle_call(self, args, kwargs)
  File "/home/woongq/iree-jax/iree/jax/tracing.py", line 114, in handle_call
    return target.resolve_call(self, *args, **kwargs)
  File "/home/woongq/iree-jax/iree/jax/builtins.py", line 60, in resolve_call
    lowered = self.jit_f.lower(*abstract_args)
RuntimeError: Unknown backend iree

error: command failed with exit status: 1
$ "/home/woongq/jax/bin/filecheck" "/home/woongq/iree-jax/tests/program/fft.py"
# command output:
CHECK: FileCheck error: '-' is empty.
FileCheck command line: /home/woongq/iree-jax/tests/program/fft.py

error: command failed with exit status: 2

--

********************
PASS: IREE_JAX :: program/trivial_globals.py (3 of 5)
FAIL: IREE_JAX :: program/duplicate_helper.py (4 of 5)
******************** TEST 'IREE_JAX :: program/duplicate_helper.py' FAILED ********************
Script:
--
: 'RUN: at line 1';   /home/woongq/jax/bin/python /home/woongq/iree-jax/tests/program/duplicate_helper.py
--
Exit Code: 1

Command Output (stdout):
--
$ ":" "RUN: at line 1"
$ "/home/woongq/jax/bin/python" "/home/woongq/iree-jax/tests/program/duplicate_helper.py"
# command stderr:
No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
Traceback (most recent call last):
  File "/home/woongq/iree-jax/tests/program/duplicate_helper.py", line 67, in <module>
    print(str(Program.get_mlir_module(module)))
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 377, in get_mlir_module
    info = Program.get_info(Program._get_instance(m))
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 372, in _get_instance
    m = m()
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 459, in __new__
    export_function()
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 454, in export_function
    info.export_module.def_func(invoke_with_self,
  File "/home/woongq/iree-jax/iree/jax/exporter.py", line 206, in def_func
    return_py_value = f(*argument_py_tree)
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 452, in invoke_with_self
    return func_def.callable(self, *args, **kwargs)
  File "/home/woongq/iree-jax/tests/program/duplicate_helper.py", line 50, in encode
    return mdl._encode(x, y)
  File "/home/woongq/iree-jax/iree/jax/tracing.py", line 54, in __call__
    return current_ir_trace().handle_call(self, args, kwargs)
  File "/home/woongq/iree-jax/iree/jax/tracing.py", line 114, in handle_call
    return target.resolve_call(self, *args, **kwargs)
  File "/home/woongq/iree-jax/iree/jax/builtins.py", line 60, in resolve_call
    lowered = self.jit_f.lower(*abstract_args)
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/traceback_util.py", line 166, in reraise_with_filtered_traceback
    return fun(*args, **kwargs)
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/pjit.py", line 338, in lower
    donate_argnums) = infer_params_fn(*args, **kwargs)
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/api.py", line 324, in infer_params
    return pjit.common_infer_params(pjit_info_args, *args, **kwargs)
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/pjit.py", line 452, in common_infer_params
    in_shardings = out_shardings = _create_sharding_with_device_backend(
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/pjit.py", line 826, in _create_sharding_with_device_backend
    xb.get_backend(backend).get_default_device_assignment(1)[0])
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/xla_bridge.py", line 710, in get_backend
    return _get_backend_uncached(platform)
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/xla_bridge.py", line 699, in _get_backend_uncached
    raise RuntimeError(f"Unknown backend {platform}")
jax._src.traceback_util.UnfilteredStackTrace: RuntimeError: Unknown backend iree

The stack trace below excludes JAX-internal frames.
The preceding is the original exception that occurred, unmodified.

--------------------

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/woongq/iree-jax/tests/program/duplicate_helper.py", line 67, in <module>
    print(str(Program.get_mlir_module(module)))
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 377, in get_mlir_module
    info = Program.get_info(Program._get_instance(m))
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 372, in _get_instance
    m = m()
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 459, in __new__
    export_function()
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 454, in export_function
    info.export_module.def_func(invoke_with_self,
  File "/home/woongq/iree-jax/iree/jax/exporter.py", line 206, in def_func
    return_py_value = f(*argument_py_tree)
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 452, in invoke_with_self
    return func_def.callable(self, *args, **kwargs)
  File "/home/woongq/iree-jax/tests/program/duplicate_helper.py", line 50, in encode
    return mdl._encode(x, y)
  File "/home/woongq/iree-jax/iree/jax/tracing.py", line 54, in __call__
    return current_ir_trace().handle_call(self, args, kwargs)
  File "/home/woongq/iree-jax/iree/jax/tracing.py", line 114, in handle_call
    return target.resolve_call(self, *args, **kwargs)
  File "/home/woongq/iree-jax/iree/jax/builtins.py", line 60, in resolve_call
    lowered = self.jit_f.lower(*abstract_args)
RuntimeError: Unknown backend iree

error: command failed with exit status: 1

--

********************
FAIL: IREE_JAX :: program/program_api_test.py (5 of 5)
******************** TEST 'IREE_JAX :: program/program_api_test.py' FAILED ********************
Script:
--
: 'RUN: at line 1';   /home/woongq/jax/bin/python /home/woongq/iree-jax/tests/program/program_api_test.py
--
Exit Code: 1

Command Output (stdout):
--
$ ":" "RUN: at line 1"
$ "/home/woongq/jax/bin/python" "/home/woongq/iree-jax/tests/program/program_api_test.py"
# command stderr:
.DEBUG:iree_jax:Create new Program subclass: hidden
.DEBUG:iree_jax:Create new Program subclass: nullary
DEBUG:iree_jax:Create new Program subclass: unary
.DEBUG:iree_jax:Create new Program subclass: Foobar
.DEBUG:iree_jax:Create new Program subclass: error
.DEBUG:iree_jax:Create new Program subclass: error
.DEBUG:iree_jax:Create new Program subclass: error
.DEBUG:iree_jax:Create new Program subclass: error
.DEBUG:iree_jax:Create new Program subclass: global
.DEBUG:iree_jax:Create new Program subclass: my_subclass
./home/woongq/jax/lib/python3.10/site-packages/jax/_src/pjit.py:288: DeprecationWarning: backend and device argument on jit is deprecated. You can use a `jax.sharding.Mesh` context manager or device_put the arguments before passing them to `jit`. Please see https://jax.readthedocs.io/en/latest/notebooks/Distributed_arrays_and_automatic_parallelization.html for more information.
  warnings.warn(
DEBUG:iree_jax:Create new Program subclass: iree_jax
DEBUG:root:DEFINE PY_ONLY: _f = <Exportable Pure Func: <function ProgramApiTest.test_value_tracing_with_flax_frozen_dict.<locals>.IreeJaxProgram._f at 0x7f673b4e7760>>
DEBUG:jax._src.xla_bridge:Initializing backend 'cpu'
DEBUG:jax._src.xla_bridge:Backend 'cpu' initialized
DEBUG:jax._src.xla_bridge:Initializing backend 'cuda'
INFO:jax._src.xla_bridge:Unable to initialize backend 'cuda': module 'jaxlib.xla_extension' has no attribute 'GpuAllocatorConfig'
DEBUG:jax._src.xla_bridge:Initializing backend 'rocm'
INFO:jax._src.xla_bridge:Unable to initialize backend 'rocm': module 'jaxlib.xla_extension' has no attribute 'GpuAllocatorConfig'
DEBUG:jax._src.xla_bridge:Initializing backend 'tpu'
INFO:jax._src.xla_bridge:Unable to initialize backend 'tpu': module 'jaxlib.xla_extension' has no attribute 'get_tpu_client'
WARNING:jax._src.xla_bridge:No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
EDEBUG:iree_jax:Create new Program subclass: iree_jax
DEBUG:root:DEFINE PY_ONLY: _f = <Exportable Pure Func: <function ProgramApiTest.test_value_tracing_with_list.<locals>.IreeJaxProgram._f at 0x7f673b5384c0>>
E
======================================================================
ERROR: test_value_tracing_with_flax_frozen_dict (__main__.ProgramApiTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/woongq/iree-jax/tests/program/program_api_test.py", line 163, in <module>
    unittest.main()
  File "/usr/lib/python3.10/unittest/main.py", line 101, in __init__
    self.runTests()
  File "/usr/lib/python3.10/unittest/main.py", line 271, in runTests
    self.result = testRunner.run(self.test)
  File "/usr/lib/python3.10/unittest/runner.py", line 184, in run
    test(result)
  File "/usr/lib/python3.10/unittest/suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib/python3.10/unittest/suite.py", line 122, in run
    test(result)
  File "/usr/lib/python3.10/unittest/suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib/python3.10/unittest/suite.py", line 122, in run
    test(result)
  File "/usr/lib/python3.10/unittest/case.py", line 650, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib/python3.10/unittest/case.py", line 591, in run
    self._callTestMethod(testMethod)
  File "/usr/lib/python3.10/unittest/case.py", line 549, in _callTestMethod
    method()
  File "/home/woongq/iree-jax/tests/program/program_api_test.py", line 145, in test_value_tracing_with_flax_frozen_dict
    IreeJaxProgram()
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 459, in __new__
    export_function()
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 454, in export_function
    info.export_module.def_func(invoke_with_self,
  File "/home/woongq/iree-jax/iree/jax/exporter.py", line 206, in def_func
    return_py_value = f(*argument_py_tree)
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 452, in invoke_with_self
    return func_def.callable(self, *args, **kwargs)
  File "/home/woongq/iree-jax/tests/program/program_api_test.py", line 139, in f
    return self._f(x)
  File "/home/woongq/iree-jax/iree/jax/tracing.py", line 54, in __call__
    return current_ir_trace().handle_call(self, args, kwargs)
  File "/home/woongq/iree-jax/iree/jax/tracing.py", line 114, in handle_call
    return target.resolve_call(self, *args, **kwargs)
  File "/home/woongq/iree-jax/iree/jax/builtins.py", line 60, in resolve_call
    lowered = self.jit_f.lower(*abstract_args)
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/traceback_util.py", line 166, in reraise_with_filtered_traceback
    return fun(*args, **kwargs)
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/pjit.py", line 338, in lower
    donate_argnums) = infer_params_fn(*args, **kwargs)
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/api.py", line 324, in infer_params
    return pjit.common_infer_params(pjit_info_args, *args, **kwargs)
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/pjit.py", line 452, in common_infer_params
    in_shardings = out_shardings = _create_sharding_with_device_backend(
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/pjit.py", line 826, in _create_sharding_with_device_backend
    xb.get_backend(backend).get_default_device_assignment(1)[0])
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/xla_bridge.py", line 710, in get_backend
    return _get_backend_uncached(platform)
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/xla_bridge.py", line 699, in _get_backend_uncached
    raise RuntimeError(f"Unknown backend {platform}")
jax._src.traceback_util.UnfilteredStackTrace: RuntimeError: Unknown backend iree

The stack trace below excludes JAX-internal frames.
The preceding is the original exception that occurred, unmodified.

--------------------

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/woongq/iree-jax/tests/program/program_api_test.py", line 145, in test_value_tracing_with_flax_frozen_dict
    IreeJaxProgram()
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 459, in __new__
    export_function()
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 454, in export_function
    info.export_module.def_func(invoke_with_self,
  File "/home/woongq/iree-jax/iree/jax/exporter.py", line 206, in def_func
    return_py_value = f(*argument_py_tree)
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 452, in invoke_with_self
    return func_def.callable(self, *args, **kwargs)
  File "/home/woongq/iree-jax/tests/program/program_api_test.py", line 139, in f
    return self._f(x)
  File "/home/woongq/iree-jax/iree/jax/tracing.py", line 54, in __call__
    return current_ir_trace().handle_call(self, args, kwargs)
  File "/home/woongq/iree-jax/iree/jax/tracing.py", line 114, in handle_call
    return target.resolve_call(self, *args, **kwargs)
  File "/home/woongq/iree-jax/iree/jax/builtins.py", line 60, in resolve_call
    lowered = self.jit_f.lower(*abstract_args)
RuntimeError: Unknown backend iree

======================================================================
ERROR: test_value_tracing_with_list (__main__.ProgramApiTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/woongq/iree-jax/tests/program/program_api_test.py", line 163, in <module>
    unittest.main()
  File "/usr/lib/python3.10/unittest/main.py", line 101, in __init__
    self.runTests()
  File "/usr/lib/python3.10/unittest/main.py", line 271, in runTests
    self.result = testRunner.run(self.test)
  File "/usr/lib/python3.10/unittest/runner.py", line 184, in run
    test(result)
  File "/usr/lib/python3.10/unittest/suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib/python3.10/unittest/suite.py", line 122, in run
    test(result)
  File "/usr/lib/python3.10/unittest/suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib/python3.10/unittest/suite.py", line 122, in run
    test(result)
  File "/usr/lib/python3.10/unittest/case.py", line 650, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib/python3.10/unittest/case.py", line 591, in run
    self._callTestMethod(testMethod)
  File "/usr/lib/python3.10/unittest/case.py", line 549, in _callTestMethod
    method()
  File "/home/woongq/iree-jax/tests/program/program_api_test.py", line 159, in test_value_tracing_with_list
    IreeJaxProgram()
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 459, in __new__
    export_function()
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 454, in export_function
    info.export_module.def_func(invoke_with_self,
  File "/home/woongq/iree-jax/iree/jax/exporter.py", line 206, in def_func
    return_py_value = f(*argument_py_tree)
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 452, in invoke_with_self
    return func_def.callable(self, *args, **kwargs)
  File "/home/woongq/iree-jax/tests/program/program_api_test.py", line 153, in f
    return self._f(x)
  File "/home/woongq/iree-jax/iree/jax/tracing.py", line 54, in __call__
    return current_ir_trace().handle_call(self, args, kwargs)
  File "/home/woongq/iree-jax/iree/jax/tracing.py", line 114, in handle_call
    return target.resolve_call(self, *args, **kwargs)
  File "/home/woongq/iree-jax/iree/jax/builtins.py", line 60, in resolve_call
    lowered = self.jit_f.lower(*abstract_args)
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/traceback_util.py", line 166, in reraise_with_filtered_traceback
    return fun(*args, **kwargs)
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/pjit.py", line 338, in lower
    donate_argnums) = infer_params_fn(*args, **kwargs)
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/api.py", line 324, in infer_params
    return pjit.common_infer_params(pjit_info_args, *args, **kwargs)
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/pjit.py", line 452, in common_infer_params
    in_shardings = out_shardings = _create_sharding_with_device_backend(
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/pjit.py", line 826, in _create_sharding_with_device_backend
    xb.get_backend(backend).get_default_device_assignment(1)[0])
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/xla_bridge.py", line 710, in get_backend
    return _get_backend_uncached(platform)
  File "/home/woongq/jax/lib/python3.10/site-packages/jax/_src/xla_bridge.py", line 699, in _get_backend_uncached
    raise RuntimeError(f"Unknown backend {platform}")
jax._src.traceback_util.UnfilteredStackTrace: RuntimeError: Unknown backend iree

The stack trace below excludes JAX-internal frames.
The preceding is the original exception that occurred, unmodified.

--------------------

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/woongq/iree-jax/tests/program/program_api_test.py", line 159, in test_value_tracing_with_list
    IreeJaxProgram()
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 459, in __new__
    export_function()
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 454, in export_function
    info.export_module.def_func(invoke_with_self,
  File "/home/woongq/iree-jax/iree/jax/exporter.py", line 206, in def_func
    return_py_value = f(*argument_py_tree)
  File "/home/woongq/iree-jax/iree/jax/program_api.py", line 452, in invoke_with_self
    return func_def.callable(self, *args, **kwargs)
  File "/home/woongq/iree-jax/tests/program/program_api_test.py", line 153, in f
    return self._f(x)
  File "/home/woongq/iree-jax/iree/jax/tracing.py", line 54, in __call__
    return current_ir_trace().handle_call(self, args, kwargs)
  File "/home/woongq/iree-jax/iree/jax/tracing.py", line 114, in handle_call
    return target.resolve_call(self, *args, **kwargs)
  File "/home/woongq/iree-jax/iree/jax/builtins.py", line 60, in resolve_call
    lowered = self.jit_f.lower(*abstract_args)
RuntimeError: Unknown backend iree

----------------------------------------------------------------------
Ran 12 tests in 0.035s

FAILED (errors=2)

error: command failed with exit status: 1

--

********************
********************
Failed Tests (4):
  IREE_JAX :: program/duplicate_helper.py
  IREE_JAX :: program/fft.py
  IREE_JAX :: program/program_api_test.py
  IREE_JAX :: program/trivial_kernel.py

Testing Time: 0.73s
  Passed: 1
  Failed: 4

https://github.com/openxla/openxla-pjrt-plugin is the right way to use JAX+IREE.

https://github.com/openxla/openxla-pjrt-plugin is the right way to use JAX+IREE.

The PJRT plugin is one way to use JAX+IREE, mostly for JIT scenarios from Python. This repository is another way, with a focus on AOT scenarios outside of Python. See https://openxla.github.io/iree/guides/ml-frameworks/jax/

Did I miss something during the setup process?

Possibly. You can see what https://github.com/iree-org/iree-jax/blob/main/.github/workflows/test_gpt2_model.yaml is doing... that runs nightly at https://github.com/iree-org/iree-jax/actions.


Improve Search Engine Indexing

Revisioner page should be indexed on all major search engines

Current search engine issues with clickable elements for mobile discoverability


Stackdriver notification template

Support CRUD of Stackdriver notifications as a CFT template.
https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.notificationChannels

Note: Working example at deploymentmanager-samples/issues/506


Remove markup for "Fixes"

When doing #312, I found another small issue with the PR template. When surrounding the Fixes: ... with bold stars, the Fixes link to the issue is destroyed.

@bebehei thanks! I'll run the CI for the other PR tomorrow, I'm heading home after work now 🙂

I already wondered, why there is no travis building here. At least docker build . worked on my machine.


MudMenu does not dismiss if activated from an item in a DropContainer (started in 6.2.0)

Bug type
Component
Component name
MudMenu, MudDropContainer
What happened?
Menus activated from a draggable item do not dismiss when clicking anywhere else on the screen.
Note: This worked as expected in 6.1.9 but broke in 6.2.0 and is still broken in 6.4.1.
Expected behavior
When I open a menu, I should be able to dismiss it by clicking anywhere else on the screen if I decide not to select a menu item.  This should work regardless of what type of component the menu is invoked from or whether it is draggable.  At minimum, if I open another menu, the first open menu should close.
Reproduction link
https://try.mudblazor.com/snippet/waQxuqQOmyJzobNa
Reproduction steps

Create a MudDropContainer object with one ChildContent element containing one MudDropZone, and an ItemRenderer element.
In the item definition in the ItemRenderer element, include a MudMenu element with one or more MudMenuItems.
In the @code section, create a set of three items for the drop container and refer to them in the MudDropContainer's Items attribute.
Run the app and open each menu.

Expected: After opening a menu, opening another one or clicking anywhere else in the screen will close the menu.
Actual: Menus do not close unless an item from the menu is selected or the activation point is clicked again (or in this case the draggable item containing the menu).
Relevant log output
No response
Version (bug)
6.4.1 (starting in 6.2.0)
Version (working)
6.1.9
What browsers are you seeing the problem on?
Chrome, Microsoft Edge
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@henon, @emorell96 this commit broke it https://github.com/MudBlazor/MudBlazor/pull/4818, specifically this line is affecting it:
https://github.com/MudBlazor/MudBlazor/blob/73f7b23dbc225317fd71e580344136a844737941/src/MudBlazor/Components/DropZone/MudDynamicDropItem.razor#L5

Got it, I have no clue how to fix it though ...

I think mainly the transform: translate3d(0px, 0px, 0px) causes the problem here, because of that the menu's overlay will only cover the draggable item. If i remove that style it will cover the whole screen:

@Geccoka do you have a suggestion for how I can do this in code (either by adding Style to one of the elements or a  block on the page)?

This seems to do the trick:
    .mud-drop-zone-with-menu > .mud-drop-item {
        transform: unset !important;
    }

Just add mud-drop-zone-with-menu class to the MudDropZone's Class attribute:
        <MudDropZone T="DropItem" Identifier="Drop Zone 1" Class="mud-drop-zone-with-menu rounded mud-background-gray pa-6 ma-8 flex-grow-1">
            <MudText Typo="Typo.h6" Class="mb-4">Drop Zone 1</MudText>
         </MudDropZone>

Working in v7 but it broke clicking the actual menu items. Should be fixed properly in upcoming v7.4.0

Correction: Will be fixed in upcoming v7.5.0, this PR didn't make it into v7.4.0 because we released it early to fix a bug in our docs.


Comprehensive marble tests for bufferCount

Should duplicate the current RxJS 3/4 tests
Should adhere to our contribution guidelines and operator authoring docs.

Should not yet be closed.
Missing still this test: https://github.com/Reactive-Extensions/RxJS/blob/master/tests/observable/bufferwithcount.js#L176

I'll take this one.


ModuleNotFoundError: No module named 'selene.support.shared'

code
from selene.support.shared import browser
result
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-2-3e2da90ace3c> in <module>
----> 1 from selene.support.shared import browser

ModuleNotFoundError: No module named 'selene.support.shared'

version
selene-1.0.2

That's true. There is no shared directory inside selene.support in selene-1.0.2.
Try from selene import browser.
@sugizo Does it work for you?

its written in
https://github.com/yashaka/selene/blob/master/README.md
objective
to test selene for newbie user
question
what is correct syntax for quick start working code in selene ?
thanks

its written in
https://github.com/yashaka/selene/blob/master/README.md

Yes. But it's also has a link to readme for 1.x versions:

You can find the actual readme there. Am I answered your question?

yes you right, my bad read wrong manual, thx
for 1.0.2 version should be
from selene import browser


81-unit-tests-for-data-module part 1

Working towards completing the unit-tests for the data module, issue #81
Will split this over a number of PRs and will be doing a bit of test-driven refactoring along the way.

Provides complete test coverage for data/HOA_tools_cec2.py
Fixes issues that produce numba deprecation warnings in HOA_tools_cec2
Fixes an issue with the random_matrix fixture that is used in test_HOA_tools_cec2


Question: would like to configure static build, with specific library name for windows

Hello,
I just read about this library in HN, and I would like to replace my standard zlib code with zlib-ng.
The parent project is also a cmake project. While the parent can build with shared libraries, I always want zlib
to build as a static library.
I currently have these lines in my zlib cmake file:
if(MSVC)
  set_target_properties(${LIBTARGET} PROPERTIES PREFIX "lib")
endif(MSVC)

set_target_properties(${LIBTARGET}
    PROPERTIES
    OUTPUT_NAME "${LIBTARGET}"
    ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/thirdparty/lib
)

How can I configure zlib-ng to:

always build as static
have a libzd.lib /libz.lib name on windows
output to above directory

Thank you!

You can set zlib-compatible mode before calling add_subdirectory and then turn off BUILD_SHARED_LIBS:
set(ZLIB_COMPAT ON)
set(BUILD_SHARED_LIBS OFF)

Another option is to use EXCLUDE_FROM_ALL when calling add_subdirectory and then to link against zlibstatic.
add_subdirectory(thirdparty/lib/zlib-ng EXCLUDE_FROM_ALL)
target_link_libraries(${PROJECT_NAME} zlibstatic)

@nmoinvaz thank you! I used a combination of your two suggestions:
set(ZLIB_COMPAT ON)
.
.
.
target_link_libraries(${PROJECT_NAME} PRIVATE zlibstatic)

@nmoinvaz thanks again for your help. I've just noticed the following issue: when I install my parent project with
sudo make install, (to '/usr/local/lib'), it also installs the static libz library libz.a. Is there a way for me to tell libz-ng to not install the static library ? I want to link my parent project with the static lib, but I don't want it installed.  Thanks!

got it, I used your original suggestion of EXCLUDE_FROM_ALL :)


Add Conclusions section in README

Tell others what insights you've found from the data visualization

Implemented via pull request #34


18F’s identity management product

Question/Comment on Identity Mgt
Name and affiliation
David @ DSoft
Section of RFQ documents
{please be specific about the section of the RFQ documents you have a question or comment about, if applicable}
Question/Comment
Given that a major aspect of this task order is integrating 18F’s identity management product, is there a technical overview and detailed technical information available that would provide a better understanding of the level of effort that would be involved?

Please see issue #15.


Task – When attempting to add an assignee to a task in the new group chat, an error occursError appears when add assignee to task in new group chat

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: v1.4.58-1
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4466917
Issue reported by: Applause - Internal Team
Action Performed:
Break down in numbered steps
Expected Result:
Assigning a task to a user in the new group chat is successful without encountering any errors.
Actual Result:
When attempting to add an assignee to a task in the new group chat, an error occurs
Workaround:
n/a
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/93399543/c5542e07-f32c-431a-9232-254c44a64ee2
View all open jobs on GitHub

@kevinksullivan I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

We think that this bug might be related to #vip-vsb

Not reproducible on main.

couldn't reproduce on staging either so I'm closing.


added Cask for Quantum.app

Thank you for the contribution. It was merged directly as edeee623b8b3a6349089cfc187dd75e704275c76 to keep commit history cleaner. Your contribution is still credited to you.


builder.bundle doesn't add sourceMappingUrl

Is there a reason for this? I notice it is added when I use the jspm CLI, but not when I use systemjs-builder directly. Specifically, the comment doesn't appear in result.source: https://github.com/buddhike/gulp-jspm-build/blob/1edeac7acbb011e0d6eb248d504f5ff7dc080fb6/lib/compile.js#L48

source maps are disabled by default.

I am opting in using the sourceMaps option.
On Mon, 23 Nov 2015, 11:22 Guy Bedford<EMAIL_ADDRESS>wrote:

source maps are disabled by default.
—
Reply to this email directly or view it on GitHub
https://github.com/systemjs/builder/issues/406#issuecomment-158908638.

Ah, ok I think it only adds the comment then when outFile is set. When doing an in-memory build, it returns source and sourceMap as separate objects on the output only?


awsmobile projects do not translate well across git pull/push.

I've got a project I work on at work. On the weekends I sometimes wish to take a look at it, but the version I have here at home, doesn't function. awsmobile errors all the time. There is either no project in the folder, or no such file or directory on certain files, reinitialising it just messes it up completely, and I've never been able to get it to work in two places at once. Isn't this stage-able at all?

Sorry to hear that Michael.
Could you please provide more detailed description of the problems that you have encountered? So we can help you to find the best way to resolve the issues.
Please let us know the version of the cli and the exact error messages.

The version is the same on both sides. I'm literally pushing the project with git... then pulling it at home. Standard .gitignore for a react environment. The only difference would be maybe slight version differences in NPM/Node. I'm solving the problem by dockerising the project, shoudn't have any issues then. But... before I start work when I get home later, I'll read the errors. The first error was 'This folder doesn't contain a mobilehub project.' ... second error was related to missing files.

It's recommended that you get the latest CLI (v.1.1.1) first.
After you pull your project at home, cd to the project root folder and execute 'awsmobile init ' to set up the connection with your backend mobile hub project.
You can find the mobile hub project id by going to the mobile hub console and choose your mobile hub project, the id appears in the url.

Looks like it might be my setup somewhere... I just installed a brand new react.js project at home. ran awsmobile init  ... and the exact same error occurred.

It's o.k. I fixed my environment, for some reason I had an old version of Node... dunno what happened there.

I'm glad it's worked out for you.
The cli requires node v7 + (prefers node 8.9.0), because it is using async/await.

Closing this since it's resolved, please feel free to re-open if you still have issues.


fix(TDI-45495): backport fix to tcomp (#1854)

What is the current behavior? (You can also link to an open issue here)
https://jira.talendforge.org/browse/TDI-45495
What is the new behavior?
Backport fix to master
Please check if the PR fulfills these requirements

[x] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

Pull request test result: success :star:


Increment version for template releases

Increment package version after release of com.azure azure-sdk-template

@chidozieononiwu another potentially leaked PR.