Skip to content

Integration test DSC_xWindowsProcess.Integration.Tests.ps1 fails in CI #788

@johlju

Description

@johlju

There are 10 context-blocks named Should return the correct amount of processes when more than 1 are running, the third one is the one failing with Unknown argument: -submit -any:

2026-04-15T12:47:24.0949327Z     Context Should return the correct amount of processes when more than 1 are running
2026-04-15T12:47:24.2825748Z WARNING: There is no operation running currently. Stop will return without any action.
2026-04-15T12:47:24.4565670Z       [+] Should compile without throwing 340ms
2026-04-15T12:47:24.5730515Z Usage:
2026-04-15T12:47:24.5795309Z 
2026-04-15T12:47:24.5884577Z   CertReq -?
2026-04-15T12:47:24.5982343Z 
2026-04-15T12:47:24.5983264Z   CertReq [-v] -?
2026-04-15T12:47:24.5983705Z 
2026-04-15T12:47:24.5984282Z   CertReq [-Command] -?
2026-04-15T12:47:24.5984657Z 
2026-04-15T12:47:24.5985427Z 
2026-04-15T12:47:24.5986090Z   CertReq [-Submit] [Options] [RequestFileIn [CertFileOut [CertChainFileOut [FullResponseFileOut]]]]
2026-04-15T12:47:24.5986554Z 
2026-04-15T12:47:24.5987139Z     Submit a request to a Certification Authority.
2026-04-15T12:47:24.5987536Z 
2026-04-15T12:47:24.5987825Z 
2026-04-15T12:47:24.5988413Z   Options:
2026-04-15T12:47:24.5988762Z 
2026-04-15T12:47:24.5989308Z     -attrib AttributeString
2026-04-15T12:47:24.5989667Z 
2026-04-15T12:47:24.5990101Z     -binary
2026-04-15T12:47:24.5990395Z 
2026-04-15T12:47:24.5990869Z     -PolicyServer PolicyServer
2026-04-15T12:47:24.5991238Z 
2026-04-15T12:47:24.5991745Z     -config ConfigString
2026-04-15T12:47:24.5992060Z 
2026-04-15T12:47:24.5992586Z     -Anonymous
2026-04-15T12:47:24.5993147Z 
2026-04-15T12:47:24.5993700Z     -Kerberos
2026-04-15T12:47:24.5993992Z 
2026-04-15T12:47:24.5994505Z     -ClientCertificate ClientCertId
2026-04-15T12:47:24.5994852Z 
2026-04-15T12:47:24.5995272Z     -UserName UserName
2026-04-15T12:47:24.5995552Z 
2026-04-15T12:47:24.5996034Z     -p Password
2026-04-15T12:47:24.5996324Z 
2026-04-15T12:47:24.5996754Z     -crl
2026-04-15T12:47:24.5997038Z 
2026-04-15T12:47:24.5997473Z     -rpc
2026-04-15T12:47:24.5997784Z 
2026-04-15T12:47:24.5998244Z     -AdminForceMachine
2026-04-15T12:47:24.5998511Z 
2026-04-15T12:47:24.5998993Z     -RenewOnBehalfOf
2026-04-15T12:47:24.5999250Z 
2026-04-15T12:47:24.5999678Z     -NoChallenge
2026-04-15T12:47:24.5999975Z 
2026-04-15T12:47:24.6000270Z 
2026-04-15T12:47:24.6000813Z   CertReq -Retrieve [Options] RequestId [CertFileOut [CertChainFileOut [FullResponseFileOut]]]
2026-04-15T12:47:24.6001163Z 
2026-04-15T12:47:24.6001817Z     Retrieve a response to a previous request from a Certification Authority.
2026-04-15T12:47:24.6002195Z 
2026-04-15T12:47:24.6002533Z 
2026-04-15T12:47:24.6003036Z   Options:
2026-04-15T12:47:24.6003379Z 
2026-04-15T12:47:24.6003872Z     -binary
2026-04-15T12:47:24.6004165Z 
2026-04-15T12:47:24.6004701Z     -PolicyServer PolicyServer
2026-04-15T12:47:24.6004970Z 
2026-04-15T12:47:24.6005469Z     -config ConfigString
2026-04-15T12:47:24.6005730Z 
2026-04-15T12:47:24.6006161Z     -Anonymous
2026-04-15T12:47:24.6006466Z 
2026-04-15T12:47:24.6006897Z     -Kerberos
2026-04-15T12:47:24.6007179Z 
2026-04-15T12:47:24.6007633Z     -ClientCertificate ClientCertId
2026-04-15T12:47:24.6008018Z 
2026-04-15T12:47:24.6008504Z     -UserName UserName
2026-04-15T12:47:24.6008863Z 
2026-04-15T12:47:24.6009292Z     -p Password
2026-04-15T12:47:24.6009518Z 
2026-04-15T12:47:24.6009953Z     -crl
2026-04-15T12:47:24.6010180Z 
2026-04-15T12:47:24.6010594Z     -rpc
2026-04-15T12:47:24.6010817Z 
2026-04-15T12:47:24.6011225Z     -AdminForceMachine
2026-04-15T12:47:24.6011532Z 
2026-04-15T12:47:24.6011734Z 
2026-04-15T12:47:24.6012167Z   CertReq -New [Options] [PolicyFileIn [RequestFileOut]]
2026-04-15T12:47:24.6012416Z 
2026-04-15T12:47:24.6012867Z     Create a new request as directed by PolicyFileIn
2026-04-15T12:47:24.6013109Z 
2026-04-15T12:47:24.6013335Z 
2026-04-15T12:47:24.6013688Z   Options:
2026-04-15T12:47:24.6013888Z 
2026-04-15T12:47:24.6014326Z     -attrib AttributeString
2026-04-15T12:47:24.6014581Z 
2026-04-15T12:47:24.6015044Z     -binary
2026-04-15T12:47:24.6015262Z 
2026-04-15T12:47:24.6015645Z     -cert CertId
2026-04-15T12:47:24.6015890Z 
2026-04-15T12:47:24.6016277Z     -PolicyServer PolicyServer
2026-04-15T12:47:24.6016540Z 
2026-04-15T12:47:24.6016982Z     -config ConfigString
2026-04-15T12:47:24.6017280Z 
2026-04-15T12:47:24.6017706Z     -Anonymous
2026-04-15T12:47:24.6017935Z 
2026-04-15T12:47:24.6018384Z     -Kerberos
2026-04-15T12:47:24.6018594Z 
2026-04-15T12:47:24.6019011Z     -ClientCertificate ClientCertId
2026-04-15T12:47:24.6019452Z 
2026-04-15T12:47:24.6019879Z     -UserName UserName
2026-04-15T12:47:24.6020102Z 
2026-04-15T12:47:24.6020524Z     -p Password
2026-04-15T12:47:24.6020737Z 
2026-04-15T12:47:24.6021114Z     -pin Pin
2026-04-15T12:47:24.6021407Z 
2026-04-15T12:47:24.6021826Z     -user
2026-04-15T12:47:24.6022092Z 
2026-04-15T12:47:24.6022466Z     -machine
2026-04-15T12:47:24.6022710Z 
2026-04-15T12:47:24.6023091Z     -xchg ExchangeCertFile
2026-04-15T12:47:24.6023314Z 
2026-04-15T12:47:24.6023592Z 
2026-04-15T12:47:24.6024075Z   CertReq -Accept [Options] [CertChainFileIn | FullResponseFileIn | CertFileIn]
2026-04-15T12:47:24.6024451Z 
2026-04-15T12:47:24.6024874Z     Accept and install a response to a previous new request.
2026-04-15T12:47:24.6025171Z 
2026-04-15T12:47:24.6025364Z 
2026-04-15T12:47:24.6025733Z   Options:
2026-04-15T12:47:24.6025950Z 
2026-04-15T12:47:24.6026348Z     -user 
2026-04-15T12:47:24.6026640Z 
2026-04-15T12:47:24.6027045Z     -machine 
2026-04-15T12:47:24.6027263Z 
2026-04-15T12:47:24.6027786Z     -pin Pin
2026-04-15T12:47:24.6028011Z 
2026-04-15T12:47:24.6028207Z 
2026-04-15T12:47:24.6028640Z   CertReq -Policy [Options] [RequestFileIn [PolicyFileIn [RequestFileOut [PKCS10FileOut]]]]
2026-04-15T12:47:24.6028922Z 
2026-04-15T12:47:24.6029325Z     Construct a cross certification or qualified subordination request
2026-04-15T12:47:24.6029607Z 
2026-04-15T12:47:24.6030049Z     from an existing CA certificate or from an existing request.
2026-04-15T12:47:24.6030302Z 
2026-04-15T12:47:24.6030485Z 
2026-04-15T12:47:24.6030831Z   Options:
2026-04-15T12:47:24.6031046Z 
2026-04-15T12:47:24.6031397Z     -attrib AttributeString
2026-04-15T12:47:24.6031614Z 
2026-04-15T12:47:24.6031929Z     -binary
2026-04-15T12:47:24.6032134Z 
2026-04-15T12:47:24.6032470Z     -cert CertId
2026-04-15T12:47:24.6032687Z 
2026-04-15T12:47:24.6033032Z     -PolicyServer PolicyServer
2026-04-15T12:47:24.6033268Z 
2026-04-15T12:47:24.6033614Z     -Anonymous
2026-04-15T12:47:24.6033828Z 
2026-04-15T12:47:24.6034173Z     -Kerberos
2026-04-15T12:47:24.6034380Z 
2026-04-15T12:47:24.6034746Z     -ClientCertificate ClientCertId
2026-04-15T12:47:24.6034972Z 
2026-04-15T12:47:24.6035328Z     -UserName UserName
2026-04-15T12:47:24.6035565Z 
2026-04-15T12:47:24.6035914Z     -p Password
2026-04-15T12:47:24.6036142Z 
2026-04-15T12:47:24.6036485Z     -pin Pin
2026-04-15T12:47:24.6036708Z 
2026-04-15T12:47:24.6037056Z     -noEKU
2026-04-15T12:47:24.6037267Z 
2026-04-15T12:47:24.6037685Z     -AlternateSignatureAlgorithm
2026-04-15T12:47:24.6037926Z 
2026-04-15T12:47:24.6038342Z     -HashAlgorithm HashAlgorithm
2026-04-15T12:47:24.6038596Z 
2026-04-15T12:47:24.6038858Z 
2026-04-15T12:47:24.6039322Z   CertReq -Sign [Options] [RequestFileIn [RequestFileOut]]
2026-04-15T12:47:24.6039649Z 
2026-04-15T12:47:24.6040093Z     Sign a certificate request with an enrollment agent or qualified
2026-04-15T12:47:24.6040376Z 
2026-04-15T12:47:24.6040781Z     subordination signing certificate.
2026-04-15T12:47:24.6041047Z 
2026-04-15T12:47:24.6041248Z 
2026-04-15T12:47:24.6041586Z   Options:
2026-04-15T12:47:24.6041802Z 
2026-04-15T12:47:24.6042136Z     -binary
2026-04-15T12:47:24.6042331Z 
2026-04-15T12:47:24.6042674Z     -cert CertId
2026-04-15T12:47:24.6042883Z 
2026-04-15T12:47:24.6043302Z     -PolicyServer PolicyServer
2026-04-15T12:47:24.6043542Z 
2026-04-15T12:47:24.6043893Z     -Anonymous
2026-04-15T12:47:24.6044129Z 
2026-04-15T12:47:24.6044499Z     -Kerberos
2026-04-15T12:47:24.6044786Z 
2026-04-15T12:47:24.6045193Z     -ClientCertificate ClientCertId
2026-04-15T12:47:24.6045445Z 
2026-04-15T12:47:24.6045867Z     -UserName UserName
2026-04-15T12:47:24.6046105Z 
2026-04-15T12:47:24.6046473Z     -p Password
2026-04-15T12:47:24.6046702Z 
2026-04-15T12:47:24.6047078Z     -pin Pin
2026-04-15T12:47:24.6047337Z 
2026-04-15T12:47:24.6047703Z     -crl
2026-04-15T12:47:24.6047927Z 
2026-04-15T12:47:24.6048315Z     -noEKU
2026-04-15T12:47:24.6048542Z 
2026-04-15T12:47:24.6049184Z     -HashAlgorithm HashAlgorithm
2026-04-15T12:47:24.6049449Z 
2026-04-15T12:47:24.6049714Z 
2026-04-15T12:47:24.6050139Z   CertReq -Enroll [Options] TemplateName
2026-04-15T12:47:24.6050385Z 
2026-04-15T12:47:24.6050831Z   CertReq -Enroll -cert CertId [Options] Renew [ReuseKeys]
2026-04-15T12:47:24.6051080Z 
2026-04-15T12:47:24.6051515Z     Enroll for or renew a certificate.
2026-04-15T12:47:24.6051746Z 
2026-04-15T12:47:24.6051968Z 
2026-04-15T12:47:24.6052332Z   Options:
2026-04-15T12:47:24.6052536Z 
2026-04-15T12:47:24.6052955Z     -PolicyServer PolicyServer
2026-04-15T12:47:24.6053182Z 
2026-04-15T12:47:24.6053583Z     -user 
2026-04-15T12:47:24.6053782Z 
2026-04-15T12:47:24.6054141Z     -machine 
2026-04-15T12:47:24.6054376Z 
2026-04-15T12:47:24.6054729Z     -pin Pin
2026-04-15T12:47:24.6054963Z 
2026-04-15T12:47:24.6055157Z 
2026-04-15T12:47:24.6055601Z   CertReq -EnrollAIK [Options] [KeyContainerName]
2026-04-15T12:47:24.6055844Z 
2026-04-15T12:47:24.6056228Z     Enroll for AIK certificate.
2026-04-15T12:47:24.6056647Z 
2026-04-15T12:47:24.6056873Z 
2026-04-15T12:47:24.6057267Z   Options:
2026-04-15T12:47:24.6057476Z 
2026-04-15T12:47:24.6057950Z     -config
2026-04-15T12:47:24.6058355Z 
2026-04-15T12:47:24.6058572Z 
2026-04-15T12:47:24.6059016Z   CertReq -EnrollCredGuardCert [Options] TemplateName [ExtensionInfFile]
2026-04-15T12:47:24.6059335Z 
2026-04-15T12:47:24.6059787Z     Enroll for machine account Credential Guard certificate.
2026-04-15T12:47:24.6060220Z 
2026-04-15T12:47:24.6060432Z 
2026-04-15T12:47:24.6060862Z   Options:
2026-04-15T12:47:24.6061048Z 
2026-04-15T12:47:24.6061312Z     -config
2026-04-15T12:47:24.6061408Z 
2026-04-15T12:47:24.6061532Z 
2026-04-15T12:47:24.6061822Z   CertReq -EnrollLogon [Options]
2026-04-15T12:47:24.6061947Z 
2026-04-15T12:47:24.6062275Z     Enroll for Hello for Business Logon certificate via ADFS.
2026-04-15T12:47:24.6062472Z 
2026-04-15T12:47:24.6062555Z 
2026-04-15T12:47:24.6062864Z   Options:
2026-04-15T12:47:24.6062975Z 
2026-04-15T12:47:24.6063232Z     -q
2026-04-15T12:47:24.6063364Z 
2026-04-15T12:47:24.6063450Z 
2026-04-15T12:47:24.6063764Z   CertReq -Post [Options]
2026-04-15T12:47:24.6063876Z 
2026-04-15T12:47:24.6064156Z     POST an http request.
2026-04-15T12:47:24.6064309Z 
2026-04-15T12:47:24.6064397Z 
2026-04-15T12:47:24.6064705Z   Options:
2026-04-15T12:47:24.6064802Z 
2026-04-15T12:47:24.6065091Z     -attrib AttributeString
2026-04-15T12:47:24.6069983Z 
2026-04-15T12:47:24.6091658Z     -config URL
2026-04-15T12:47:24.6091855Z 
2026-04-15T12:47:24.6091952Z 
2026-04-15T12:47:24.6092246Z Unknown argument: -submit -any
2026-04-15T12:47:25.1974984Z       [+] Should call Get-DscConfiguration without throwing and get expected results 221ms
2026-04-15T12:47:25.1975406Z

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueThe issue should be easier to fix and can be taken up by a beginner to learn to contribute on GitHubtestsThe issue or pull request is about tests only.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions