[ci-fix] fix: add timeout to container runtime detection to prevent sonar system status from hanging #2652
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
|
|