macOS 12.6.9 (Microsoft Hosted Agent on Azure Pipelines )
Xcode 13.4.1
how is SonarQube deployed: zip
what are you trying to achieve: Scan Xcode Swift, Objective-C code
After upgrading from Sonarqube developer 10.0 to 10.2.0 we are seeing this error where the build failes, after rerunning the same build it succeeds as expected
I have looked at other releated issue in the community but nothing has helped
I do see the below env var set:
export DYLD_INSERT_LIBRARIES=/Users/runner/work/1/s/build-wrapper-macosx-x86/libinterceptor.dylib
Nothing in the pipeline has changed prior to and after the SonarQube, the only change is the SonarQube version used
Note:
We normally have aroud 20 builds during the day, 2 of which will fail with this issue. When we retry the failed job if succeeds (just retry, no other changes)
The build-wrapper-dump.json is empty on failed builds and nothing of note in the build-wrapper.log
There is no relevant change between those two versions.
I can observe some random failures on Azure DevOps with some internal jobs that sometimes fail and relaunch usually succeeds. It is not clear what could be the cause. Have you ever experienced the same issue outside of Azure DevOps?
As a note, I noticed in the logs that the failed ones have a different image version:
Operating System
macOS
12.6.9
21G726
Runner Image
Image: macos-12
Version: 20230921.1
Included Software: https://github.com/actions/runner-images/blob/macOS-12/20230921.1/images/macos/macos-12-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/macOS-12%2F20230921.1
the succeeding jobs seem to have:
Operating System
macOS
12.7
21G816
Runner Image
Image: macos-12
Version: 20230921.4
Included Software: https://github.com/actions/runner-images/blob/macOS-12/20230921.4/images/macos/macos-12-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/macOS-12%2F20230921.4