Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: enable powershell testing #352

Open
wants to merge 2 commits into
base: v2
Choose a base branch
from

add goreleaser action to powershell job

5c43221
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

ci: enable powershell testing #352

add goreleaser action to powershell job
5c43221
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Results failed Feb 22, 2024 in 0s

397 fail, 116 skipped, 17 pass in 2m 5s

  1 files  +  1  307 suites  +307   2m 5s ⏱️ + 2m 5s
530 tests +530   17 ✅ + 17  116 💤 +116  397 ❌ +397 
532 runs  +532   17 ✅ + 17  116 💤 +116  399 ❌ +399 

Results for commit 5c43221. ± Comparison against earlier commit 7f2c7c9.

Annotations

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions 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

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions 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

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions 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

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions 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

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions 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

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions 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

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions 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

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions 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

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions 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

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions 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

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions 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

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions 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

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions 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

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions 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

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions 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

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions 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

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions 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

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions 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

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions 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

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions 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

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions 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

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions 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

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions 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.

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions 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.

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions 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.