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

System.InvalidOperationException : The docker.exe pull softwaresecurityproject/zap-stable:2.14.0 --quiet command failed (OSOE-821) #713

Closed
Psichorex opened this issue Feb 26, 2024 · 2 comments

Comments

@Psichorex
Copy link
Contributor

Psichorex commented Feb 26, 2024

System.InvalidOperationException : The docker.exe pull softwaresecurityproject/zap-stable:2.14.0 --quiet command failed this error occures whenever I am trying to run any of the SecurityScanningTests on my local machine.
I asked @wAsnk and he confirmed the same thing is happening for him locally. Same error goes locally for the OrchardCore.Commerce solution and NuGet.Test solution.

It is very interesting because we do not experience this on CI neither on Ubuntu nor on Windows builds. At least every OSOCE dev build passed so far and I checked out dev to run tests.

Repro

  1. Run BasicSecurityScanShouldPass on your local machine and the error should occur.

I tried:

  1. Upgrading CliWrap nuget to 3.6.6 did not solve this issue that was my best bet.

I suspect something is off with CliWrap and HelpfulLibraries.Cli atleast the logs are suggesting that the docker daemon might not be running and the generated test log claims that : this error may indicate that the docker daemon is not running: Post "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/images/create?fromImage=softwaresecurityproject%2Fzap-stable&tag=2.14.0": open //./pipe/docker_engine: A rendszer nem találja a megadott fájlt.

Here is the TestOutput.log:
TestOutput.log

Jira issue

@github-actions github-actions bot changed the title System.InvalidOperationException : The docker.exe pull softwaresecurityproject/zap-stable:2.14.0 --quiet command failed System.InvalidOperationException : The docker.exe pull softwaresecurityproject/zap-stable:2.14.0 --quiet command failed (OSOE-821) Feb 26, 2024
@Psichorex Psichorex changed the title System.InvalidOperationException : The docker.exe pull softwaresecurityproject/zap-stable:2.14.0 --quiet command failed (OSOE-821) System.InvalidOperationException : The docker.exe pull softwaresecurityproject/zap-stable:2.14.0 --quiet command failed (OSOE-822) Feb 26, 2024
@Piedone
Copy link
Member

Piedone commented Feb 26, 2024

Is Docker Desktop running?

@Psichorex Psichorex changed the title System.InvalidOperationException : The docker.exe pull softwaresecurityproject/zap-stable:2.14.0 --quiet command failed (OSOE-822) System.InvalidOperationException : The docker.exe pull softwaresecurityproject/zap-stable:2.14.0 --quiet command failed (OSOE-821) Feb 26, 2024
@Psichorex
Copy link
Contributor Author

Is Docker Desktop running?

Well it actually did solve my problem. I didn't know about that we should have Docker Desktop Running while OSOCE testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants