Outage: SonarScanner CLI Docker + SonarQube & SonarCloud GitHub Actions

There is currently an outage related to the SonarScanner CLI Docker image that affects the GitHub actions for both SonarQube and SonarCloud.

We are aware of the problem and are working to solve it.

We apologize for the inconvenience.

 
Ann & the Sonar team

UPDATE

we are using sonarsource/sonarcloud-github-action@master

Issue seems to be sonarcloud-github-action/Dockerfile at master · SonarSource/sonarcloud-github-action · GitHub

sonarcloud-github-action/Dockerfile at master · SonarSource/sonarcloud-github-action · GitHub refs sonarsource/sonar-scanner-cli:5.0 which just had a new release 5.0.1 which I think introduced this problem

we are using sonarsource/sonarcloud-github-action@master

Issue seems to be sonarcloud-github-action/Dockerfile at master · SonarSource/sonarcloud-github-action · GitHub

sonarcloud-github-action/Dockerfile at master · SonarSource/sonarcloud-github-action · GitHub refs sonarsource/sonar-scanner-cli:5.0 which just had a new release 5.0.1 which I think introduced this problem

I’m attempting to make use of SonarCloud in a project and all of the sudden the GitHub action stops working. It fails on Build SonarSource/sonarcloud-github-action@master

Any ideas what this can be caused by? It did work and then now fails for some reason. Any proposals what I can do?

 > [4/6] RUN chmod +x /entrypoint.sh:
  0.471 chmod: /entrypoint.sh: Operation not permitted

Failing log report here:

Thanks,
Svein

same issue: GitHub Actions fail: "chmod: /entrypoint.sh: Operation not permitted"

Same as I see in Problems running sonarcloud-github-action, fails in docker build

some issue in the Dockerfile updates Comparing 5.0.0.2966...master · SonarSource/sonar-scanner-cli-docker · GitHub

We’ve been using the github action for a bit but today its broken, and im not exactly how it broke but the dockerfile fails to build giving this error

Dockerfile:24

22 |     # Prepare entrypoint
23 |     COPY entrypoint.sh /entrypoint.sh
24 | >>> RUN chmod +x /entrypoint.sh
25 |     COPY cleanup.sh /cleanup.sh
26 |     RUN chmod +x /cleanup.sh

ERROR: failed to solve: process “/bin/sh -c chmod +x /entrypoint.sh” did not complete successfully: exit code: 1
Warning: Docker build failed with exit code 1, back off 4.43 seconds before retry.
/usr/bin/docker build -t 76388f:2b2dc200edcd4f52bd2ecc41bc8eee3f -f “/home/runner/work/_actions/sonarsource/sonarcloud-github-action/master/Dockerfile” “/home/runner/work/_actions/sonarsource/sonarcloud-github-action/master”
#0 building with “default” instance using docker driver

It seems like this PR is what broke it

if you try to build it locally it will fail in the same way.

It seems like the COPY should include the --chmod rather than doing it as a RUN which will bypass that problem (or check it in to git as executable)

Either way, i’ve had to remove this from my pipelines for now because of this error

Same as Problems running sonarcloud-github-action, fails in docker build

I’m having the same issue.

Step 4/7 : RUN chmod +x /entrypoint.sh
chmod: /entrypoint.sh: Operation not permitted
The command '/bin/sh -c chmod +x /entrypoint.sh' returned a non-zero code: 1

The last working digest of sonarsource/sonar-scanner-cli:5.0.1
was
Digest: sha256:494ecc3b5b1ee1625bd377b3905c4284e4f0cc155cff397805a244dee1c7d575

The current one with digest

Digest: sha256:c137f8c67272971c001aad747dce830d81d62dce25acd0e4b8ae7290b225657c

is broken and is causing issues with github actions. Maybe something can be changed to roll back to the previous version?

TIA

1 Like

Please, see that:

ERROR: failed to solve: process “/bin/sh -c chmod +x /entrypoint.sh” did not complete successfully: exit code: 1

Same here!

Facing the same issue

Same problem here!

Same error; started about an hour ago.

looks like there’s also a github issue for this https://github.com/SonarSource/sonarqube-scan-action/issues/104

Same here!

We’re having the same issue.

Same here.