Skip to content

[ci-fix] fix: add timeout to container runtime detection to prevent sonar system status from hanging #2652

[ci-fix] fix: add timeout to container runtime detection to prevent sonar system status from hanging

[ci-fix] fix: add timeout to container runtime detection to prevent sonar system status from hanging #2652

Triggered via pull request June 17, 2026 13:32
Status Failure
Total duration 12m 52s
Artifacts 2

build.yml

on: pull_request
Prepare Build
14s
Prepare Build
Matrix: unit-tests
Build All Binaries
48s
Build All Binaries
Sign and Notarize macOS Binary
Sign and Notarize macOS Binary
Matrix: integration-and-e2e
SonarQube Analysis
SonarQube Analysis
Publish Binaries to Artifactory
Publish Binaries to Artifactory
Promote
Promote
Fit to window
Zoom out
Zoom in

Annotations

5 errors
Unit Tests - linux
Process completed with exit code 1.
error: expect(received).toHaveBeenCalledWith(...expected): tests/unit/lib/tool-detector.test.ts#L66
Expected: [ "docker", [ "info" ] ] Received: 1: [ "docker", [ "info" ], { onSpawn: [Function: onSpawn], } ] 2: [ "podman", [ "info" ], { onSpawn: [Function: onSpawn], } ] 3: [ "nerdctl", [ "info" ], { onSpawn: [Function: onSpawn], } ] Number of calls: 3 at <anonymous> (/home/runner/work/sonarqube-cli/sonarqube-cli/tests/unit/lib/tool-detector.test.ts:66:22)
error: expect(received).toHaveBeenCalledWith(...expected): tests/unit/lib/tool-detector.test.ts#L53
Expected: [ "docker", [ "info" ] ] Received: 1: [ "docker", [ "info" ], { onSpawn: [Function: onSpawn], } ] 2: [ "podman", [ "info" ], { onSpawn: [Function: onSpawn], } ] Number of calls: 2 at <anonymous> (/home/runner/work/sonarqube-cli/sonarqube-cli/tests/unit/lib/tool-detector.test.ts:53:22)
error: expect(received).toHaveBeenCalledWith(...expected): tests/unit/lib/tool-detector.test.ts#L41
[ "docker", [ "info", ], + { + "onSpawn": [Function], + }, ] - Expected - 0 + Received + 3 at <anonymous> (/home/runner/work/sonarqube-cli/sonarqube-cli/tests/unit/lib/tool-detector.test.ts:41:22)
Unit Tests - windows
The strategy configuration was canceled because "unit-tests.linux_github-ubuntu-lates" failed

Artifacts

Produced during runtime
Name Size Digest
binaries
134 MB
sha256:7eca45bdd95567a9b7757408e5e65941350549824e43d64bf1454feb4339397a
integration-coverage
1.01 MB
sha256:7e9666eb2f40653caddd70411149964bb1365e01b7ab99a2cb9a7d978c645729