ci: enable powershell testing #352
397 fail, 116 skipped, 17 pass in 2m 5s
Annotations
github-actions / Test Results
Add-RoleToGroup.Add a role to a group using wildcards failed
test-results-windows-latest/Failed__Pester.xml [took 0s]
Raw output
[0] CommandNotFoundException: The term 'c8y' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
[1] ParameterBindingValidationException: Cannot bind argument to parameter 'Id' because it is null.
[0] at New-UserGroup<Process>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\dist\PSc8y\PSc8y.psm1:15058
at New-TestUserGroup<Process>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\dist\PSc8y\PSc8y.psm1:26634
at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\Add-RoleToGroup.auto.Tests.ps1:5
[1] at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\Add-RoleToGroup.auto.Tests.ps1:24
github-actions / Test Results
Add-RoleToGroup.Add a role to a group using wildcards (using pipeline) failed
test-results-windows-latest/Failed__Pester.xml [took 0s]
Raw output
[0] CommandNotFoundException: The term 'c8y' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
[1] ParameterBindingValidationException: Cannot bind argument to parameter 'Id' because it is null.
[0] at New-UserGroup<Process>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\dist\PSc8y\PSc8y.psm1:15058
at New-TestUserGroup<Process>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\dist\PSc8y\PSc8y.psm1:26634
at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\Add-RoleToGroup.auto.Tests.ps1:5
[1] at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\Add-RoleToGroup.auto.Tests.ps1:24
github-actions / Test Results
Add-RoleToUser.Add a role (ROLE_ALARM_READ) to a user failed
test-results-windows-latest/Failed__Pester.xml [took 0s]
Raw output
[0] CommandNotFoundException: The term 'c8y' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
[1] ParameterBindingValidationException: Cannot bind argument to parameter 'Id' because it is null.
[0] at New-User<Process>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\dist\PSc8y\PSc8y.psm1:14979
at New-TestUser<Process>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\dist\PSc8y\PSc8y.psm1:26599
at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\Add-RoleToUser.auto.Tests.ps1:5
[1] at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\Add-RoleToUser.auto.Tests.ps1:29
github-actions / Test Results
Add-RoleToUser.Add a role to a user using wildcards failed
test-results-windows-latest/Failed__Pester.xml [took 0s]
Raw output
[0] CommandNotFoundException: The term 'c8y' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
[1] ParameterBindingValidationException: Cannot bind argument to parameter 'Id' because it is null.
[0] at New-User<Process>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\dist\PSc8y\PSc8y.psm1:14979
at New-TestUser<Process>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\dist\PSc8y\PSc8y.psm1:26599
at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\Add-RoleToUser.auto.Tests.ps1:5
[1] at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\Add-RoleToUser.auto.Tests.ps1:29
github-actions / Test Results
Add-RoleToUser.Add a role to a user using wildcards (using pipeline) failed
test-results-windows-latest/Failed__Pester.xml [took 0s]
Raw output
[0] CommandNotFoundException: The term 'c8y' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
[1] ParameterBindingValidationException: Cannot bind argument to parameter 'Id' because it is null.
[0] at New-User<Process>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\dist\PSc8y\PSc8y.psm1:14979
at New-TestUser<Process>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\dist\PSc8y\PSc8y.psm1:26599
at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\Add-RoleToUser.auto.Tests.ps1:5
[1] at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\Add-RoleToUser.auto.Tests.ps1:29
github-actions / Test Results
Add-UserToGroup.Add a user to a user group failed
test-results-windows-latest/Failed__Pester.xml [took 0s]
Raw output
[0] CommandNotFoundException: The term 'c8y' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
[1] ParameterBindingValidationException: Cannot bind argument to parameter 'Id' because it is null.
[0] at New-User<Process>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\dist\PSc8y\PSc8y.psm1:14979
at New-TestUser<Process>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\dist\PSc8y\PSc8y.psm1:26599
at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\Add-UserToGroup.auto.Tests.ps1:5
[1] at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\Add-UserToGroup.auto.Tests.ps1:18
github-actions / Test Results
Common parameters.NoAccept.NoAccept should not return an object when using POST failed
test-results-windows-latest/Failed__Pester.xml [took 0s]
Raw output
CommandNotFoundException: The term 'c8y' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
at New-Device<Process>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\dist\PSc8y\PSc8y.psm1:12997
at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\common.pwsh.parameters.manual.Tests.ps1:17
github-actions / Test Results
Common parameters.Flatten.Flattens the output json failed
test-results-windows-latest/Failed__Pester.xml [took 0s]
Raw output
CommandNotFoundException: The term 'c8y' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
at Get-ApplicationCollection<Process>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\dist\PSc8y\PSc8y.psm1:2988
at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\common.pwsh.parameters.manual.Tests.ps1:28
github-actions / Test Results
Common parameters.Select.Select multiple parameters via an array failed
test-results-windows-latest/Failed__Pester.xml [took 0s]
Raw output
CommandNotFoundException: The term 'c8y' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
at Get-ApplicationCollection<Process>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\dist\PSc8y\PSc8y.psm1:2988
at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\common.pwsh.parameters.manual.Tests.ps1:38
github-actions / Test Results
Common parameters.Select.Select a single parameter failed
test-results-windows-latest/Failed__Pester.xml [took 0s]
Raw output
CommandNotFoundException: The term 'c8y' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
at Get-ApplicationCollection<Process>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\dist\PSc8y\PSc8y.psm1:2988
at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\common.pwsh.parameters.manual.Tests.ps1:48
github-actions / Test Results
Common parameters.Using -Dry should show output on the console failed
test-results-windows-latest/Failed__Pester.xml [took 0s]
Raw output
CommandNotFoundException: The term 'c8y' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
at New-Device<Process>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\dist\PSc8y\PSc8y.psm1:12997
at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\CommonParameter.manual.Tests.ps1:140
github-actions / Test Results
Copy-Application.Copy an existing application failed
test-results-windows-latest/Failed__Pester.xml [took 0s]
Raw output
[0] CommandNotFoundException: The term 'c8y' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
[1] ParameterBindingValidationException: Cannot bind argument to parameter 'Id' because it is null.
[0] at New-HostedApplication<Process>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\dist\PSc8y\PSc8y.psm1:25308
at New-TestHostedApplication<Process>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Public-manual\New-TestHostedApplication.ps1:34
at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\Copy-Application.auto.Tests.ps1:5
[1] at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\Copy-Application.auto.Tests.ps1:17
github-actions / Test Results
Device lookup up manual tests.Add a device to a group using ids should only result in 1 API call (and Force=True) failed
test-results-windows-latest/Failed__Pester.xml [took 0s]
Raw output
[0] CommandNotFoundException: The term 'c8y' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
[1] ParameterBindingValidationException: Cannot bind argument to parameter 'Id' because it is null.
[0] at New-TestDevice<Process>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\dist\PSc8y\PSc8y.psm1:26126
at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\Device-Lookup.manual.Tests.ps1:5
[1] at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\Device-Lookup.manual.Tests.ps1:84
github-actions / Test Results
Device lookup up manual tests.Add a device to a group using names should only cause 1 lookup per name failed
test-results-windows-latest/Failed__Pester.xml [took 0s]
Raw output
[0] CommandNotFoundException: The term 'c8y' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
[1] ParameterBindingValidationException: Cannot bind argument to parameter 'Id' because it is null.
[0] at New-TestDevice<Process>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\dist\PSc8y\PSc8y.psm1:26126
at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\Device-Lookup.manual.Tests.ps1:5
[1] at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\Device-Lookup.manual.Tests.ps1:84
github-actions / Test Results
Device lookup up manual tests.Should not do name unnecessary name lookups if the confirmation preference is set to None failed
test-results-windows-latest/Failed__Pester.xml [took 0s]
Raw output
[0] CommandNotFoundException: The term 'c8y' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
[1] ParameterBindingValidationException: Cannot bind argument to parameter 'Id' because it is null.
[0] at New-TestDevice<Process>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\dist\PSc8y\PSc8y.psm1:26126
at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\Device-Lookup.manual.Tests.ps1:5
[1] at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\Device-Lookup.manual.Tests.ps1:84
github-actions / Test Results
Device lookup up manual tests.Should not do name unnecessary name lookups if the Force parameter is used failed
test-results-windows-latest/Failed__Pester.xml [took 0s]
Raw output
[0] CommandNotFoundException: The term 'c8y' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
[1] ParameterBindingValidationException: Cannot bind argument to parameter 'Id' because it is null.
[0] at New-TestDevice<Process>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\dist\PSc8y\PSc8y.psm1:26126
at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\Device-Lookup.manual.Tests.ps1:5
[1] at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\Device-Lookup.manual.Tests.ps1:84
github-actions / Test Results
Device lookup up manual tests.Should only use 1 api call when looking up managed object by an ID failed
test-results-windows-latest/Failed__Pester.xml [took 0s]
Raw output
[0] CommandNotFoundException: The term 'c8y' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
[1] ParameterBindingValidationException: Cannot bind argument to parameter 'Id' because it is null.
[0] at New-TestDevice<Process>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\dist\PSc8y\PSc8y.psm1:26126
at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\Device-Lookup.manual.Tests.ps1:5
[1] at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\Device-Lookup.manual.Tests.ps1:84
github-actions / Test Results
Device lookup up manual tests.Accepts multiple named values in the --id parameter failed
test-results-windows-latest/Failed__Pester.xml [took 0s]
Raw output
[0] CommandNotFoundException: The term 'c8y' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
[1] ParameterBindingValidationException: Cannot bind argument to parameter 'Id' because it is null.
[0] at New-TestDevice<Process>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\dist\PSc8y\PSc8y.psm1:26126
at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\Device-Lookup.manual.Tests.ps1:5
[1] at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\Device-Lookup.manual.Tests.ps1:84
github-actions / Test Results
Disable create/update/delete commands.Enables create commands failed
test-results-windows-latest/Failed__Pester.xml [took 0s]
Raw output
CommandNotFoundException: The term 'c8y' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
at New-TestDevice<Process>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\dist\PSc8y\PSc8y.psm1:26126
at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\DisableCommands.manual.Tests.ps1:24
github-actions / Test Results
Disable create/update/delete commands.Enables update commands failed
test-results-windows-latest/Failed__Pester.xml [took 0s]
Raw output
CommandNotFoundException: The term 'c8y' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
at New-TestDevice<Process>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\dist\PSc8y\PSc8y.psm1:26126
at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\DisableCommands.manual.Tests.ps1:37
github-actions / Test Results
Disable create/update/delete commands.Show an error to the user if the action is not allowed failed
test-results-windows-latest/Failed__Pester.xml [took 0s]
Raw output
CommandNotFoundException: The term 'c8y' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
at New-Device<Process>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\dist\PSc8y\PSc8y.psm1:12997
at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\DisableCommands.manual.Tests.ps1:54
github-actions / Test Results
Disable create/update/delete commands.Enables delete commands failed
test-results-windows-latest/Failed__Pester.xml [took 0s]
Raw output
CommandNotFoundException: The term 'c8y' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
at New-TestDevice<Process>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\dist\PSc8y\PSc8y.psm1:26126
at <ScriptBlock>, D:\a\go-c8y-cli\go-c8y-cli\tools\PSc8y\Tests\DisableCommands.manual.Tests.ps1:63
github-actions / Test Results
Encoding.Test device.Create alarm with extended character set failed
test-results-windows-latest/Failed__Pester.xml [took 0s]
Raw output
This test should run but it did not. Most likely a setup in some parent block failed.
github-actions / Test Results
Encoding.Test device.Create event with extended character set failed
test-results-windows-latest/Failed__Pester.xml [took 0s]
Raw output
This test should run but it did not. Most likely a setup in some parent block failed.
github-actions / Test Results
Encoding.Test device.Create operation with extended character set failed
test-results-windows-latest/Failed__Pester.xml [took 0s]
Raw output
This test should run but it did not. Most likely a setup in some parent block failed.