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

Launch CRIBs on pre-release tags (GAP v2 edition) #15810

Draft
wants to merge 12 commits into
base: develop
Choose a base branch
from

Conversation

chainchad
Copy link
Collaborator

@chainchad chainchad commented Dec 27, 2024

Supplants: #15805

@chainchad chainchad requested review from a team as code owners December 27, 2024 18:01
@cl-sonarqube-production
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@chainchad chainchad marked this pull request as draft December 27, 2024 18:26
Copy link
Contributor

AER Report: CI Core

aer_workflow , commit , Detect Changes , Scheduled Run Frequency , Clean Go Tidy & Generate , Flakeguard Root Project / Get Tests To Run , Core Tests (go_core_tests) , GolangCI Lint (.) , Core Tests (go_core_tests_integration) , GolangCI Lint (integration-tests) , Core Tests (go_core_ccip_deployment_tests) , Core Tests (go_core_fuzz) , Core Tests (go_core_race_tests) , test-scripts , Flakeguard Deployment Project , Flakeguard Root Project / Run Tests , Flakeguard Root Project / Report , lint , SonarQube Scan , Flakey Test Detection

1. NoSuchFileException during SonarScanner execution:SonarQube Scan

Source of Error:
SonarQube Scan	2024-12-27T18:28:09.7867518Z ERROR: Error during SonarScanner execution
SonarQube Scan	2024-12-27T18:28:09.7870735Z java.io.UncheckedIOException: java.nio.file.NoSuchFileException: /github/workspace/.git/.probe-b0eb42d9-22a1-4855-9e40-4a77b712ef0b
SonarQube Scan	2024-12-27T18:28:09.7885375Z 	at java.base/java.nio.file.FileTreeIterator.fetchNextIfNeeded(FileTreeIterator.java:87)
SonarQube Scan	2024-12-27T18:28:09.7886693Z 	at java.base/java.nio.file.FileTreeIterator.hasNext(FileTreeIterator.java:103)
SonarQube Scan	2024-12-27T18:28:09.7887902Z 	at java.base/java.util.Iterator.forEachRemaining(Iterator.java:132)
SonarQube Scan	2024-12-27T18:28:09.7889457Z 	at java.base/java.util.Spliterators.forEachRemaining(Spliterators.java:1845)
SonarQube Scan	2024-12-27T18:28:09.7890880Z 	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
SonarQube Scan	2024-12-27T18:28:09.7892149Z 	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
SonarQube Scan	2024-12-27T18:28:09.7893442Z 	at java.base/java.util.stream.ReduceOps.evaluateSequential(ReduceOps.java:921)
SonarQube Scan	2024-12-27T18:28:09.7894715Z 	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
SonarQube Scan	2024-12-27T18:28:09.7896021Z 	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
SonarQube Scan	2024-12-27T18:28:09.7897284Z 	at org.sonarsource.analyzer.commons.FileProvider.getMatchingFiles(FileProvider.java:45)
SonarQube Scan	2024-12-27T18:28:09.7898609Z 	at org.sonar.plugins.python.PythonReportSensor.getReports(PythonReportSensor.java:73)
SonarQube Scan	2024-12-27T18:28:09.7900030Z 	at org.sonar.plugins.python.coverage.PythonCoverageSensor.getCoverageReports(PythonCoverageSensor.java:89)
SonarQube Scan	2024-12-27T18:28:09.7901471Z 	at org.sonar.plugins.python.coverage.PythonCoverageSensor.execute(PythonCoverageSensor.java:77)
SonarQube Scan	2024-12-27T18:28:09.7902777Z 	at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:64)
SonarQube Scan	2024-12-27T18:28:09.7903998Z 	at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:88)
SonarQube Scan	2024-12-27T18:28:09.7905292Z 	at org.sonar.scanner.sensor.ModuleSensorsExecutor.lambda$1(ModuleSensorsExecutor.java:61)
SonarQube Scan	2024-12-27T18:28:09.7906723Z 	at org.sonar.scanner.sensor.ModuleSensorsExecutor.withModuleStrategy(ModuleSensorsExecutor.java:79)
SonarQube Scan	2024-12-27T18:28:09.7908187Z 	at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:61)
SonarQube Scan	2024-12-27T18:28:09.7909549Z 	at org.sonar.scanner.scan.SpringModuleScanContainer.doAfterStart(SpringModuleScanContainer.java:82)
SonarQube Scan	2024-12-27T18:28:09.7910920Z 	at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
SonarQube Scan	2024-12-27T18:28:09.7912260Z 	at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
SonarQube Scan	2024-12-27T18:28:09.7913515Z 	at org.sonar.scanner.scan.SpringProjectScanContainer.scan(SpringProjectScanContainer.java:204)
SonarQube Scan	2024-12-27T18:28:09.7914870Z 	at org.sonar.scanner.scan.SpringProjectScanContainer.scanRecursively(SpringProjectScanContainer.java:200)
SonarQube Scan	2024-12-27T18:28:09.7916266Z 	at org.sonar.scanner.scan.SpringProjectScanContainer.doAfterStart(SpringProjectScanContainer.java:173)
SonarQube Scan	2024-12-27T18:28:09.7917681Z 	at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
SonarQube Scan	2024-12-27T18:28:09.7919034Z 	at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
SonarQube Scan	2024-12-27T18:28:09.7920880Z 	at org.sonar.scanner.bootstrap.SpringScannerContainer.doAfterStart(SpringScannerContainer.java:351)
SonarQube Scan	2024-12-27T18:28:09.7921748Z 	at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
SonarQube Scan	2024-12-27T18:28:09.7922477Z 	at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
SonarQube Scan	2024-12-27T18:28:09.7923144Z 	at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:138)
SonarQube Scan	2024-12-27T18:28:09.7923835Z 	at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
SonarQube Scan	2024-12-27T18:28:09.7924525Z 	at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
SonarQube Scan	2024-12-27T18:28:09.7925042Z 	at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:71)
SonarQube Scan	2024-12-27T18:28:09.7925442Z 	at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:65)
SonarQube Scan	2024-12-27T18:28:09.7926021Z 	at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
SonarQube Scan	2024-12-27T18:28:09.7926686Z 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
SonarQube Scan	2024-12-27T18:28:09.7927313Z 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
SonarQube Scan	2024-12-27T18:28:09.7928230Z 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
SonarQube Scan	2024-12-27T18:28:09.7928795Z 	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
SonarQube Scan	2024-12-27T18:28:09.7929329Z 	at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
SonarQube Scan	2024-12-27T18:28:09.7929861Z 	at jdk.proxy1/jdk.proxy1..execute(Unknown Source)
SonarQube Scan	2024-12-27T18:28:09.7930308Z 	at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
SonarQube Scan	2024-12-27T18:28:09.7931187Z 	at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
SonarQube Scan	2024-12-27T18:28:09.7932067Z 	at org.sonarsource.scanner.cli.Main.execute(Main.java:126)
SonarQube Scan	2024-12-27T18:28:09.7932720Z 	at org.sonarsource.scanner.cli.Main.execute(Main.java:81)
SonarQube Scan	2024-12-27T18:28:09.7933330Z 	at org.sonarsource.scanner.cli.Main.main(Main.java:62)
SonarQube Scan	2024-12-27T18:28:09.7934296Z Caused by: java.nio.file.NoSuchFileException: /github/workspace/.git/.probe-b0eb42d9-22a1-4855-9e40-4a77b712ef0b
SonarQube Scan	2024-12-27T18:28:09.7935440Z 	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
SonarQube Scan	2024-12-27T18:28:09.7936398Z 	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
SonarQube Scan	2024-12-27T18:28:09.7937016Z 	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
SonarQube Scan	2024-12-27T18:28:09.7937608Z 	at java.base/sun.nio.fs.UnixFileAttributeViews.readAttributes(UnixFileAttributeViews.java:55)
SonarQube Scan	2024-12-27T18:28:09.7938244Z 	at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:148)
SonarQube Scan	2024-12-27T18:28:09.7938878Z 	at java.base/sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)
SonarQube Scan	2024-12-27T18:28:09.7939404Z 	at java.base/java.nio.file.Files.readAttributes(Files.java:1851)
SonarQube Scan	2024-12-27T18:28:09.7939862Z 	at java.base/java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:220)
SonarQube Scan	2024-12-27T18:28:09.7940350Z 	at java.base/java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:277)
SonarQube Scan	2024-12-27T18:28:09.7940797Z 	at java.base/java.nio.file.FileTreeWalker.next(FileTreeWalker.java:374)
SonarQube Scan	2024-12-27T18:28:09.7941300Z 	at java.base/java.nio.file.FileTreeIterator.fetchNextIfNeeded(FileTreeIterator.java:83)
SonarQube Scan	2024-12-27T18:28:09.7941698Z 	... 45 more

Why: The error is caused by the SonarScanner attempting to access a file (.probe-b0eb42d9-22a1-4855-9e40-4a77b712ef0b) in the .git directory that does not exist. This could be due to a misconfiguration or a missing file in the repository.

Suggested fix: Ensure that the .git directory and all necessary files are correctly checked out in the workspace. Verify that the repository is not shallow-cloned and that all required files are present.

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

Successfully merging this pull request may close these issues.

1 participant