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

Tests\Integration\MSFT_xWindowsProcess.Integration.Tests.ps1: Doesn't Work Outside of AppVeyor #584

Closed
mhendric opened this issue Mar 6, 2019 · 0 comments · Fixed by #594
Labels
bug The issue is a bug.

Comments

@mhendric
Copy link
Contributor

mhendric commented Mar 6, 2019

Details of the scenario you tried and the problem that is occurring

Tests in 'MSFT_xWindowsProcess.Integration.Tests.ps1' currently fail when run from outside of AppVeyor. These tests should be adjusted to run on any supported system.

Verbose logs showing the problem

Note that the very last error in this output is the AppVeyor specific error. I'm not yet sure whether the other errors are related or not. It's also possible those are Windows 2019 issues.

Executing script C:\Program Files\WindowsPowerShell\Modules\xPSDesiredStateConfiguration\Tests\Integration\MSFT_xWindowsProcess.Integration.Tests.ps1
WARNING: There is no operation running currently. Stop will return without any action.

  Describing xWindowsProcess Integration Tests without Credential

    Context Should stop any current instances of the testProcess running
      [+] Should compile without throwing 485ms
      [+] Should be able to call Get-DscConfiguration without throwing 44ms
      [+] Should return the correct configuration 44ms
      [+] Should not create a logfile 2ms

    Context Should start a new testProcess instance as running
      [+] Should not have a logfile already present 2ms
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 WIN2019TEST1 with user sid S-1-5-21-3415768366-2399115843-3094368365-500.
VERBOSE: [WIN2019TEST1]: LCM:  [ Start  Set      ]
VERBOSE: [WIN2019TEST1]: LCM:  [ Start  Resource ]  [[xWindowsProcess]Process1]
VERBOSE: [WIN2019TEST1]: LCM:  [ Start  Test     ]  [[xWindowsProcess]Process1]
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Begin executing Test functionality for the process C:\Program Files\WindowsPowerShell\Modules\xPSDesir
edStateConfiguration\Tests\WindowsProcessTestProcess.exe.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] End executing Test functionality for the process C:\Program Files\WindowsPowerShell\Modules\xPSDesired
StateConfiguration\Tests\WindowsProcessTestProcess.exe.
VERBOSE: [WIN2019TEST1]: LCM:  [ End    Test     ]  [[xWindowsProcess]Process1]  in 0.0000 seconds.
VERBOSE: [WIN2019TEST1]: LCM:  [ Start  Set      ]  [[xWindowsProcess]Process1]
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Begin executing Set functionality for the process C:\Program Files\WindowsPowerShell\Modules\xPSDesire
dStateConfiguration\Tests\WindowsProcessTestProcess.exe.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Performing the operation "Start-Process." on target "C:\Program Files\WindowsPowerShell\Modules\xPSDes
iredStateConfiguration\Tests\WindowsProcessTestProcess.exe".
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Processes matching path 'C:\Program Files\WindowsPowerShell\Modules\xPSDesiredStateConfiguration\Tests
\WindowsProcessTestProcess.exe' started.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] In process handle 4196.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Perform operation 'Query CimInstances' with following parameters, ''queryExpression' = SELECT * FROM W
in32_Process WHERE ProcessId = 4196,'queryDialect' = WQL,'namespaceName' = root\cimv2'.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Operation 'Query CimInstances' complete.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] End executing Set functionality for the process C:\Program Files\WindowsPowerShell\Modules\xPSDesiredS
tateConfiguration\Tests\WindowsProcessTestProcess.exe.
VERBOSE: [WIN2019TEST1]: LCM:  [ End    Set      ]  [[xWindowsProcess]Process1]  in 0.2190 seconds.
VERBOSE: [WIN2019TEST1]: LCM:  [ End    Resource ]  [[xWindowsProcess]Process1]
VERBOSE: [WIN2019TEST1]: LCM:  [ End    Set      ]
VERBOSE: [WIN2019TEST1]: LCM:  [ End    Set      ]    in  0.2810 seconds.
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: Time taken for configuration job to complete is 0.403 seconds
      [+] Should compile without throwing 544ms
      [+] Should be able to call Get-DscConfiguration without throwing 91ms
      [+] Should return the correct configuration 261ms
      [-] Should create a logfile 4ms
        Expected $true, but got $false.
        117:                 $pathResult | Should -Be $true
        at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\xPSDesiredStateConfiguration\Tests\Integration\MSFT_xWindowsProcess.Integration.Tests.ps1: line 117

    Context Should not start a second new testProcess instance when one is already running
      [-] Should have a logfile already present 3ms
        Expected $true, but got $false.
        127:                 $pathResult | Should -Be $true
        at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\xPSDesiredStateConfiguration\Tests\Integration\MSFT_xWindowsProcess.Integration.Tests.ps1: line 127
      [-] Should not throw when removing the log file 7ms
        Expected no exception to be thrown, but an exception "Cannot find path 'C:\Program Files\WindowsPowerShell\Modules\xPSDesiredStateConfiguration\Tests\processTestLog.txt' beca
use it does not exist." was thrown from C:\Program Files\WindowsPowerShell\Modules\xPSDesiredStateConfiguration\Tests\Integration\MSFT_xWindowsProcess.Integration.Tests.ps1:131 char:
19
            +                 { Remove-Item -Path $logFilePath } | Should -Not -Thr ...
            +                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.
        131:                 { Remove-Item -Path $logFilePath } | Should -Not -Throw
        at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\xPSDesiredStateConfiguration\Tests\Integration\MSFT_xWindowsProcess.Integration.Tests.ps1: line 131
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 WIN2019TEST1 with user sid S-1-5-21-3415768366-2399115843-3094368365-500.
VERBOSE: [WIN2019TEST1]: LCM:  [ Start  Set      ]
VERBOSE: [WIN2019TEST1]: LCM:  [ Start  Resource ]  [[xWindowsProcess]Process1]
VERBOSE: [WIN2019TEST1]: LCM:  [ Start  Test     ]  [[xWindowsProcess]Process1]
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Begin executing Test functionality for the process C:\Program Files\WindowsPowerShell\Modules\xPSDesir
edStateConfiguration\Tests\WindowsProcessTestProcess.exe.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] In process handle 4196.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Perform operation 'Query CimInstances' with following parameters, ''queryExpression' = SELECT * FROM W
in32_Process WHERE ProcessId = 4196,'queryDialect' = WQL,'namespaceName' = root\cimv2'.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Operation 'Query CimInstances' complete.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] End executing Test functionality for the process C:\Program Files\WindowsPowerShell\Modules\xPSDesired
StateConfiguration\Tests\WindowsProcessTestProcess.exe.
VERBOSE: [WIN2019TEST1]: LCM:  [ End    Test     ]  [[xWindowsProcess]Process1]  in 0.0310 seconds.
VERBOSE: [WIN2019TEST1]: LCM:  [ Skip   Set      ]  [[xWindowsProcess]Process1]
VERBOSE: [WIN2019TEST1]: LCM:  [ End    Resource ]  [[xWindowsProcess]Process1]
VERBOSE: [WIN2019TEST1]: LCM:  [ End    Set      ]
VERBOSE: [WIN2019TEST1]: LCM:  [ End    Set      ]    in  0.1570 seconds.
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: Time taken for configuration job to complete is 0.341 seconds
      [+] Should compile without throwing 468ms
      [+] Should be able to call Get-DscConfiguration without throwing 68ms
      [+] Should return the correct configuration 145ms
      [+] Should not create a logfile 2ms

    Context Should stop the testProcess instance from running
      [+] Should not have a logfile already present 3ms
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 WIN2019TEST1 with user sid S-1-5-21-3415768366-2399115843-3094368365-500.
VERBOSE: [WIN2019TEST1]: LCM:  [ Start  Set      ]
VERBOSE: [WIN2019TEST1]: LCM:  [ Start  Resource ]  [[xWindowsProcess]Process1]
VERBOSE: [WIN2019TEST1]: LCM:  [ Start  Test     ]  [[xWindowsProcess]Process1]
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Begin executing Test functionality for the process C:\Program Files\WindowsPowerShell\Modules\xPSDesir
edStateConfiguration\Tests\WindowsProcessTestProcess.exe.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] In process handle 4196.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Perform operation 'Query CimInstances' with following parameters, ''queryExpression' = SELECT * FROM W
in32_Process WHERE ProcessId = 4196,'queryDialect' = WQL,'namespaceName' = root\cimv2'.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Operation 'Query CimInstances' complete.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] End executing Test functionality for the process C:\Program Files\WindowsPowerShell\Modules\xPSDesired
StateConfiguration\Tests\WindowsProcessTestProcess.exe.
VERBOSE: [WIN2019TEST1]: LCM:  [ End    Test     ]  [[xWindowsProcess]Process1]  in 0.0320 seconds.
VERBOSE: [WIN2019TEST1]: LCM:  [ Start  Set      ]  [[xWindowsProcess]Process1]
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Begin executing Set functionality for the process C:\Program Files\WindowsPowerShell\Modules\xPSDesire
dStateConfiguration\Tests\WindowsProcessTestProcess.exe.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] In process handle 4196.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Perform operation 'Query CimInstances' with following parameters, ''queryExpression' = SELECT * FROM W
in32_Process WHERE ProcessId = 4196,'queryDialect' = WQL,'namespaceName' = root\cimv2'.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Operation 'Query CimInstances' complete.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Performing the operation "Stop-Process." on target "C:\Program Files\WindowsPowerShell\Modules\xPSDesi
redStateConfiguration\Tests\WindowsProcessTestProcess.exe".
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Processes matching path 'C:\Program Files\WindowsPowerShell\Modules\xPSDesiredStateConfiguration\Tests
\WindowsProcessTestProcess.exe' with IDs '(4196)' stopped.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] In process handle 4196.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Perform operation 'Query CimInstances' with following parameters, ''queryExpression' = SELECT * FROM W
in32_Process WHERE ProcessId = 4196,'queryDialect' = WQL,'namespaceName' = root\cimv2'.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Operation 'Query CimInstances' complete.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] End executing Set functionality for the process C:\Program Files\WindowsPowerShell\Modules\xPSDesiredS
tateConfiguration\Tests\WindowsProcessTestProcess.exe.
VERBOSE: [WIN2019TEST1]: LCM:  [ End    Set      ]  [[xWindowsProcess]Process1]  in 0.1250 seconds.
VERBOSE: [WIN2019TEST1]: LCM:  [ End    Resource ]  [[xWindowsProcess]Process1]
VERBOSE: [WIN2019TEST1]: LCM:  [ End    Set      ]
VERBOSE: [WIN2019TEST1]: LCM:  [ End    Set      ]    in  0.1880 seconds.
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: Time taken for configuration job to complete is 0.387 seconds
      [+] Should compile without throwing 538ms
      [+] Should be able to call Get-DscConfiguration without throwing 39ms
      [+] Should return the correct configuration 51ms
      [+] Should not create a logfile 2ms

    Context Should return correct amount of processes running when more than 1 are running
      [+] Should not have a logfile already present 2ms
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 WIN2019TEST1 with user sid S-1-5-21-3415768366-2399115843-3094368365-500.
VERBOSE: [WIN2019TEST1]: LCM:  [ Start  Set      ]
VERBOSE: [WIN2019TEST1]: LCM:  [ Start  Resource ]  [[xWindowsProcess]Process1]
VERBOSE: [WIN2019TEST1]: LCM:  [ Start  Test     ]  [[xWindowsProcess]Process1]
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Begin executing Test functionality for the process C:\Program Files\WindowsPowerShell\Modules\xPSDesir
edStateConfiguration\Tests\WindowsProcessTestProcess.exe.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] End executing Test functionality for the process C:\Program Files\WindowsPowerShell\Modules\xPSDesired
StateConfiguration\Tests\WindowsProcessTestProcess.exe.
VERBOSE: [WIN2019TEST1]: LCM:  [ End    Test     ]  [[xWindowsProcess]Process1]  in 0.0000 seconds.
VERBOSE: [WIN2019TEST1]: LCM:  [ Start  Set      ]  [[xWindowsProcess]Process1]
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Begin executing Set functionality for the process C:\Program Files\WindowsPowerShell\Modules\xPSDesire
dStateConfiguration\Tests\WindowsProcessTestProcess.exe.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Performing the operation "Start-Process." on target "C:\Program Files\WindowsPowerShell\Modules\xPSDes
iredStateConfiguration\Tests\WindowsProcessTestProcess.exe".
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Processes matching path 'C:\Program Files\WindowsPowerShell\Modules\xPSDesiredStateConfiguration\Tests
\WindowsProcessTestProcess.exe' started.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] In process handle 868.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Perform operation 'Query CimInstances' with following parameters, ''queryExpression' = SELECT * FROM W
in32_Process WHERE ProcessId = 868,'queryDialect' = WQL,'namespaceName' = root\cimv2'.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Operation 'Query CimInstances' complete.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] End executing Set functionality for the process C:\Program Files\WindowsPowerShell\Modules\xPSDesiredS
tateConfiguration\Tests\WindowsProcessTestProcess.exe.
VERBOSE: [WIN2019TEST1]: LCM:  [ End    Set      ]  [[xWindowsProcess]Process1]  in 0.1870 seconds.
VERBOSE: [WIN2019TEST1]: LCM:  [ End    Resource ]  [[xWindowsProcess]Process1]
VERBOSE: [WIN2019TEST1]: LCM:  [ End    Set      ]
VERBOSE: [WIN2019TEST1]: LCM:  [ End    Set      ]    in  0.2180 seconds.
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: Time taken for configuration job to complete is 0.306 seconds
      [+] Should compile without throwing 543ms
      [+] Should start another process running 8ms
      [+] Should be able to call Get-DscConfiguration without throwing 189ms
      [+] Should return the correct configuration 274ms
      [-] Should create a logfile 3ms
        Expected $true, but got $false.
        250:                 $pathResult | Should -Be $true
        at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\xPSDesiredStateConfiguration\Tests\Integration\MSFT_xWindowsProcess.Integration.Tests.ps1: line 250

    Context Should stop all of the testProcess instances from running
      [-] Should have a logfile already present 4ms
        Expected $true, but got $false.
        260:                 $pathResult | Should -Be $true
        at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\xPSDesiredStateConfiguration\Tests\Integration\MSFT_xWindowsProcess.Integration.Tests.ps1: line 260
      [-] Should not throw when removing the log file 5ms
        Expected no exception to be thrown, but an exception "Cannot find path 'C:\Program Files\WindowsPowerShell\Modules\xPSDesiredStateConfiguration\Tests\processTestLog.txt' beca
use it does not exist." was thrown from C:\Program Files\WindowsPowerShell\Modules\xPSDesiredStateConfiguration\Tests\Integration\MSFT_xWindowsProcess.Integration.Tests.ps1:264 char:
19
            +                 { Remove-Item -Path $logFilePath } | Should -Not -Thr ...
            +                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.
        264:                 { Remove-Item -Path $logFilePath } | Should -Not -Throw
        at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\xPSDesiredStateConfiguration\Tests\Integration\MSFT_xWindowsProcess.Integration.Tests.ps1: line 264
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 WIN2019TEST1 with user sid S-1-5-21-3415768366-2399115843-3094368365-500.
VERBOSE: [WIN2019TEST1]: LCM:  [ Start  Set      ]
VERBOSE: [WIN2019TEST1]: LCM:  [ Start  Resource ]  [[xWindowsProcess]Process1]
VERBOSE: [WIN2019TEST1]: LCM:  [ Start  Test     ]  [[xWindowsProcess]Process1]
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Begin executing Test functionality for the process C:\Program Files\WindowsPowerShell\Modules\xPSDesir
edStateConfiguration\Tests\WindowsProcessTestProcess.exe.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] In process handle 868.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Perform operation 'Query CimInstances' with following parameters, ''queryExpression' = SELECT * FROM W
in32_Process WHERE ProcessId = 868,'queryDialect' = WQL,'namespaceName' = root\cimv2'.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Operation 'Query CimInstances' complete.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] In process handle 3252.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Perform operation 'Query CimInstances' with following parameters, ''queryExpression' = SELECT * FROM W
in32_Process WHERE ProcessId = 3252,'queryDialect' = WQL,'namespaceName' = root\cimv2'.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Operation 'Query CimInstances' complete.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] End executing Test functionality for the process C:\Program Files\WindowsPowerShell\Modules\xPSDesired
StateConfiguration\Tests\WindowsProcessTestProcess.exe.
VERBOSE: [WIN2019TEST1]: LCM:  [ End    Test     ]  [[xWindowsProcess]Process1]  in 0.0940 seconds.
VERBOSE: [WIN2019TEST1]: LCM:  [ Start  Set      ]  [[xWindowsProcess]Process1]
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Begin executing Set functionality for the process C:\Program Files\WindowsPowerShell\Modules\xPSDesire
dStateConfiguration\Tests\WindowsProcessTestProcess.exe.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] In process handle 868.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Perform operation 'Query CimInstances' with following parameters, ''queryExpression' = SELECT * FROM W
in32_Process WHERE ProcessId = 868,'queryDialect' = WQL,'namespaceName' = root\cimv2'.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Operation 'Query CimInstances' complete.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] In process handle 3252.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Perform operation 'Query CimInstances' with following parameters, ''queryExpression' = SELECT * FROM W
in32_Process WHERE ProcessId = 3252,'queryDialect' = WQL,'namespaceName' = root\cimv2'.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Operation 'Query CimInstances' complete.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Performing the operation "Stop-Process." on target "C:\Program Files\WindowsPowerShell\Modules\xPSDesi
redStateConfiguration\Tests\WindowsProcessTestProcess.exe".
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Processes matching path 'C:\Program Files\WindowsPowerShell\Modules\xPSDesiredStateConfiguration\Tests
\WindowsProcessTestProcess.exe' with IDs '(868,3252)' stopped.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] In process handle 868.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Perform operation 'Query CimInstances' with following parameters, ''queryExpression' = SELECT * FROM W
in32_Process WHERE ProcessId = 868,'queryDialect' = WQL,'namespaceName' = root\cimv2'.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] Operation 'Query CimInstances' complete.
VERBOSE: [WIN2019TEST1]:                            [[xWindowsProcess]Process1] End executing Set functionality for the process C:\Program Files\WindowsPowerShell\Modules\xPSDesiredS
tateConfiguration\Tests\WindowsProcessTestProcess.exe.
VERBOSE: [WIN2019TEST1]: LCM:  [ End    Set      ]  [[xWindowsProcess]Process1]  in 0.1410 seconds.
VERBOSE: [WIN2019TEST1]: LCM:  [ End    Resource ]  [[xWindowsProcess]Process1]
VERBOSE: [WIN2019TEST1]: LCM:  [ End    Set      ]
VERBOSE: [WIN2019TEST1]: LCM:  [ End    Set      ]    in  0.2660 seconds.
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: Time taken for configuration job to complete is 0.418 seconds
      [+] Should compile without throwing 578ms
      [+] Should be able to call Get-DscConfiguration without throwing 45ms
      [+] Should return the correct configuration 250ms
      [+] Should not create a logfile 2ms

  Describing xWindowsProcess Integration Tests with Credential
    [-] Error occurred in Describe block 0ms
      COMException: The group name could not be found.
      ExtendedTypeSystemException: The following exception occurred while retrieving member "SetPassword": "The group name could not be found.
      "
      at Get-AppVeyorAdministratorCredential, C:\Program Files\WindowsPowerShell\Modules\xPSDesiredStateConfiguration\Tests\CommonTestHelper.psm1: line 685
      at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\xPSDesiredStateConfiguration\Tests\Integration\MSFT_xWindowsProcess.Integration.Tests.ps1: line 313
      at DescribeImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.7.1\Functions\Describe.ps1: line 199
WARNING: There is no operation running currently. Stop will return without any action.

The operating system the target node is running

PS C:> Get-ComputerInfo -Property @(
'OsName',
'OsOperatingSystemSKU',
'OSArchitecture',
'WindowsVersion',
'WindowsBuildLabEx',
'OsLanguage',
'OsMuiLanguages')

OsName : Microsoft Windows Server 2019 Standard
OsOperatingSystemSKU : StandardServerEdition
OsArchitecture : 64-bit
WindowsVersion : 1809
WindowsBuildLabEx : 17763.1.amd64fre.rs5_release.180914-1434
OsLanguage : en-US
OsMuiLanguages : {en-US}

Version and build of PowerShell the target node is running

PS C:> $PSVersionTable

Name Value


PSVersion 5.1.17763.316
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17763.316
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

Version of the DSC module that was used ('dev' if using current dev branch)

dev

@mhendric mhendric added bug The issue is a bug. help wanted The issue is up for grabs for anyone in the community. in progress The issue is being actively worked on by someone. and removed help wanted The issue is up for grabs for anyone in the community. labels Mar 6, 2019
@kwirkykat kwirkykat removed the in progress The issue is being actively worked on by someone. label Mar 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug.
Projects
None yet
2 participants