Error SonarCloud Scanner - ##[error]java.io.IOException: Resource not found

  • ALM used: GitHub
  • CI system used: Azure DevOps
    INFO: SonarScanner 4.8.0.2856
    INFO: Java 17.0.8 Eclipse Adoptium (64-bit)
    INFO: Linux 5.15.0-1042-azure amd64
  • Scanner command used when applicable (private details masked)
    • Task Azure Devops SonarCloudAnalyze@1
  • Languages of the repository
    • Ruby
  • Error observed

When I start to analyze the repository I get the following errors, it should be clarified that the task does not fail but they remain as errors in the pipeline, does anyone know how I can solve this error?

##[error]java.io.IOException: Resource not found: "org/joda/time/tz/data/ZoneInfoMap" ClassLoader: ClassRealm{ruby}
java.io.IOException: Resource not found: "org/joda/time/tz/data/ZoneInfoMap" ClassLoader: ClassRealm{ruby}
##[error]at org.joda.time.tz.ZoneInfoProvider.openResource(ZoneInfoProvider.java:225)
	at org.joda.time.tz.ZoneInfoProvider.openResource(ZoneInfoProvider.java:225)
##[error]at org.joda.time.tz.ZoneInfoProvider.<init>(ZoneInfoProvider.java:138)
	at org.joda.time.tz.ZoneInfoProvider.<init>(ZoneInfoProvider.java:138)
##[error]at org.joda.time.tz.ZoneInfoProvider.<init>(ZoneInfoProvider.java:97)
	at org.joda.time.tz.ZoneInfoProvider.<init>(ZoneInfoProvider.java:97)
##[error]at org.joda.time.DateTimeZone.getDefaultProvider(DateTimeZone.java:555)
	at org.joda.time.DateTimeZone.getDefaultProvider(DateTimeZone.java:555)

org.jruby.util.log.OutputStreamLogger.formatMessage(OutputStreamLogger.java:146) at
org.jruby.util.log.StandardErrorLogger.write(StandardErrorLogger.java:58) at
org.jruby.util.log.OutputStreamLogger.warn(OutputStreamLogger.java:67) at
org.jruby.util.io.FilenoUtil$ReflectiveAccess.<clinit>(FilenoUtil.java:278) at
org.jruby.util.io.FilenoUtil.getFilenoUsingReflection(FilenoUtil.java:143) at
org.jruby.util.io.FilenoUtil.filenoFrom(FilenoUtil.java:139) at
org.jruby.util.io.ChannelFD.initFileno(ChannelFD.java:51)

Other error

2023-08-18T17:29:35.418Z [main] WARN FilenoUtil : Native subprocess control requires open access to the JDK IO subsystem Pass '--add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED' to enable.

Any help is welcome, thanks!

Hey there.

Some more logging was added to the Java analyzer recently but it should only be available at DEBUG level – do you have DEBUG level logging turned on?

Hi Collin,

Thanks for answering.

I do not have DEBUG mode activated, this is my configuration.

          - task: SonarCloudPrepare@1
            displayName: "Prepare analysis on SonarCloud"
            inputs:
              SonarCloud: "$(SONAR_CLOUD)"
              organization: $(ORGANIZATION)
              scannerMode: CLI
              extraProperties: 'sonar.scanner.metadataFilePath=$(Agent.TempDirectory)/sonar/$(Build.BuildNumber)/test/report-task.txt'

          - task: SonarCloudAnalyze@1
            displayName: "Run Code Analysis"

          - task: SonarCloudPublish@1
            displayName: "Publish Quality Gate Result"

          - task: sonarcloud-buildbreaker@2
            displayName: "Check Sonar Quality Gate"
            inputs:
              SonarCloud: "Sonar Cloud"
              organization: $(ORGANIZATION)

This is file sonar-project.properties:

sonar.organization=organization
sonar.projectKey=projectKey
sonar.host.url=https://sonarcloud.io
sonar.sources=concepts, config, lib, services, utils
sonar.tests=spec
sonar.test.inclusions=**/*_spec.rb
sonar.ruby.coverage.reportPaths=coverage/coverage.json

We have the exact same issue running Sonarcloud on GH Actions. Unfortunately we have not found a solution yet, let us know if we can provide any additional information.

Sorry I missed your follow-up @sangiraldo

Could either you or perhaps @fsuchan share the full logs? It’s not clear to me where in the scanner process the errors are being raised. This should clarify which component (scanner, analyzer, java distribution) is the issue.

I have the same error. This is my first use of SonarQube.

Here’s a more full log.

e[32;1m$ sonar-scanner -Dsonar.qualitygate.wait=$SONAR_GATE -Dsonar.projectKey=$CI_PROJECT_PATH_SLUG -Dsonar.gitlab.ref_name=$CI_COMMIT_REF_NAME  -Dsonar.gitlab.commit_sha=$CI_COMMIT_SHORT_SHA -Dsonar.ruby.coverage.reportPaths=./[OBFUSCATED]/coveragee[0;m
INFO: Scanner configuration file: /opt/sonar-scanner/conf/sonar-scanner.properties
INFO: Project root configuration file: NONE
INFO: SonarScanner 5.0.1.3006
INFO: Java 17.0.8 Alpine (64-bit)
INFO: Linux 5.15.0-1017-aws amd64
INFO: User cache: [OBFUSCATED]
INFO: Analyzing on SonarQube server 8.9.8
INFO: Default locale: "en_US", source code encoding: "UTF-8" (analysis is platform dependent)
INFO: Load global settings
INFO: Load global settings (done) | time=559ms
INFO: Server id: 974E33A4-AXqc5xTorrzexGiUyrUf
INFO: User cache: [OBFUSCATED]
INFO: Load/download plugins
INFO: Load plugins index
INFO: Load plugins index (done) | time=134ms
INFO: Load/download plugins (done) | time=511ms
INFO: Loaded core extensions: developer-scanner
INFO: JavaScript/TypeScript frontend is enabled
INFO: Process project properties
INFO: Process project properties (done) | time=3ms
INFO: Execute project builders
INFO: Execute project builders (done) | time=3ms
INFO: Project key: [OBFUSCATED]
INFO: Base dir: [OBFUSCATED]
INFO: Working dir: [OBFUSCATED]/.scannerwork
INFO: Load project settings for component key: [OBFUSCATED]
INFO: Load project settings for component key: [OBFUSCATED] (done) | time=88ms
INFO: Load project branches
INFO: Load project branches (done) | time=82ms
INFO: Load project pull requests
INFO: Load project pull requests (done) | time=78ms
INFO: Load branch configuration
INFO: Detected branch/PR in 'GitLab'
INFO: Auto-configuring pull request '5080'
INFO: Load branch configuration (done) | time=10ms
INFO: Auto-configuring with CI 'Gitlab CI'
INFO: Load quality profiles
INFO: Load quality profiles (done) | time=117ms
INFO: Auto-configuring with CI 'Gitlab CI'
INFO: Load active rules
INFO: Load active rules (done) | time=3419ms
INFO: Pull request 5080 for merge into main from [OBFUSCATED]
INFO: SCM collecting changed files in the branch
INFO: SCM collecting changed files in the branch (done) | time=658ms
INFO: Indexing files...
INFO: Project configuration:
WARN: Invalid character encountered in file /builds/[OBFUSCATED] at line 2 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: 4104 files indexed
INFO: 3 files ignored because of scm ignore settings
INFO: Quality profile for css: Sonar way
INFO: Quality profile for js: Sonar way
INFO: Quality profile for plsql: Sonar way
INFO: Quality profile for py: Sonar way
INFO: Quality profile for ruby: Sonar way
INFO: Quality profile for ts: Sonar way
INFO: Quality profile for web: Sonar way
INFO: Quality profile for xml: Sonar way
INFO: ------------- Run sensors on module [OBFUSCATED]
INFO: JavaScript/TypeScript frontend is enabled
INFO: Load metrics repository
INFO: Load metrics repository (done) | time=95ms
INFO: Sensor CSS Metrics [cssfamily]
INFO: Sensor CSS Metrics [cssfamily] (done) | time=1225ms
INFO: Sensor CSS Rules [cssfamily]
INFO: 620 source files to be analyzed
INFO: 620/620 source files have been analyzed
INFO: Sensor CSS Rules [cssfamily] (done) | time=12346ms
INFO: Sensor PL/SQL Sensor [plsql]
INFO: 6 source files to be analyzed
WARN: 
WARN: Unable to fully parse: [OBFUSCATED]
WARN: Parse error starting from line 30
INFO: 6/6 source files have been analyzed
INFO: Sensor PL/SQL Sensor [plsql] (done) | time=3515ms
INFO: Sensor C# Project Type Information [csharp]
INFO: Sensor C# Project Type Information [csharp] (done) | time=16ms
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (done) | time=1ms
INFO: Sensor JavaXmlSensor [java]
INFO: 141 source files to be analyzed
INFO: 141/141 source files have been analyzed
INFO: Sensor JavaXmlSensor [java] (done) | time=2392ms
INFO: Sensor HTML [web]
INFO: Sensor HTML [web] (done) | time=3826ms
INFO: Sensor XML Sensor [xml]
INFO: 863 source files to be analyzed
WARN: Invalid character encountered in file /builds/[OBFUSCATED] at line 114 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: 863/863 source files have been analyzed
INFO: Sensor XML Sensor [xml] (done) | time=21131ms
INFO: Sensor VB.NET Project Type Information [vbnet]
INFO: Sensor VB.NET Project Type Information [vbnet] (done) | time=5ms
INFO: Sensor VB.NET Properties [vbnet]
INFO: Sensor VB.NET Properties [vbnet] (done) | time=1ms
INFO: Sensor Python Sensor [python]
INFO: Starting global symbols computation
INFO: 1 source file to be analyzed
INFO: 1/1 source file has been analyzed
INFO: Starting rules execution
INFO: 1 source file to be analyzed
INFO: 1/1 source file has been analyzed
INFO: Sensor Python Sensor [python] (done) | time=11897ms
INFO: Sensor Cobertura Sensor for Python coverage [python]
INFO: Sensor Cobertura Sensor for Python coverage [python] (done) | time=360ms
INFO: Sensor PythonXUnitSensor [python]
INFO: Sensor PythonXUnitSensor [python] (done) | time=106ms
INFO: Sensor JaCoCo XML Report Importer [jacoco]
INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=14ms
INFO: Sensor JavaScript analysis [javascript]
INFO: Deploying custom rules bundle jar:file:/builds[OBFUSCATED]/.sonar/cache/1c0d0d6d358b2ff25a27998c60079e2e/sonar-securityjsfrontend-plugin.jar!/js-vulnerabilities-rules-1.0.0.tgz to /builds/[OBFUSCATED]/[OBFUSCATED]/.scannerwork/.sonartmp/eslint-bridge-bundle/package/custom-rules16531811682270943996
WARN: Node.js version 18 is not supported, you might experience issues. Please use a supported version of Node.js [10, 12, 14, 15]
INFO: 197 source files to be analyzed
ERROR: Browserslist: caniuse-lite is outdated. Please run:
ERROR: npx browserslist@latest --update-db
ERROR: 
ERROR: Why you should do it regularly:
ERROR: https://github.com/browserslist/browserslist#browsers-data-updating
INFO: 5/197 files analyzed, current file: [OBFUSCATED]/public/api-docs/index.js
INFO: 45/197 files analyzed, current file: [OBFUSCATED]/app/assets/javascripts/file.js
INFO: 118/197 files analyzed, current file: [OBFUSCATED]/public/javascripts/gencert2.js
INFO: 190/197 files analyzed, current file: [OBFUSCATED]/app/assets/javascripts/file.js
INFO: 197/197 source files have been analyzed
INFO: Sensor JavaScript analysis [javascript] (done) | time=48174ms
INFO: Sensor TypeScript analysis [javascript]
INFO: Found 1 tsconfig.json file(s): [/builds/[OBFUSCATED]/[OBFUSCATED]/[OBFUSCATED]/tsconfig.json]
ERROR: File '@tsconfig/svelte/tsconfig.json' not found.
INFO: Skipping 10 files with no tsconfig.json
INFO: 10 source files to be analyzed
INFO: 10/10 source files have been analyzed
INFO: Sensor TypeScript analysis [javascript] (done) | time=2831ms
INFO: Sensor Ruby Sensor [ruby]
INFO: 1342 source files to be analyzed
java.io.IOException: Resource not found: "org/joda/time/tz/data/ZoneInfoMap" ClassLoader: ClassRealm{ruby}
	at org.joda.time.tz.ZoneInfoProvider.openResource(ZoneInfoProvider.java:225)
	at org.joda.time.tz.ZoneInfoProvider.<init>(ZoneInfoProvider.java:138)
	at org.joda.time.tz.ZoneInfoProvider.<init>(ZoneInfoProvider.java:97)
	at org.joda.time.DateTimeZone.getDefaultProvider(DateTimeZone.java:555)
	at org.joda.time.DateTimeZone.getProvider(DateTimeZone.java:449)
	at org.joda.time.DateTimeZone.forID(DateTimeZone.java:234)
	at org.joda.time.DateTimeZone.getDefault(DateTimeZone.java:169)
	at org.joda.time.chrono.ISOChronology.getInstance(ISOChronology.java:79)
	at org.joda.time.base.BaseDateTime.<init>(BaseDateTime.java:97)
	at org.joda.time.DateTime.<init>(DateTime.java:209)
	at org.jruby.util.log.OutputStreamLogger.formatMessage(OutputStreamLogger.java:146)
	at org.jruby.util.log.StandardErrorLogger.write(StandardErrorLogger.java:58)
	at org.jruby.util.log.OutputStreamLogger.warn(OutputStreamLogger.java:67)
	at org.jruby.util.io.FilenoUtil$ReflectiveAccess.<clinit>(FilenoUtil.java:268)
	at org.jruby.util.io.FilenoUtil.getFilenoUsingReflection(FilenoUtil.java:133)
	at org.jruby.util.io.FilenoUtil.filenoFrom(FilenoUtil.java:129)
	at org.jruby.util.io.ChannelFD.initFileno(ChannelFD.java:47)
	at org.jruby.util.io.ChannelFD.<init>(ChannelFD.java:33)
	at org.jruby.util.io.ChannelFD.<init>(ChannelFD.java:43)
	at org.jruby.util.io.OpenFile.setChannel(OpenFile.java:195)
	at org.jruby.RubyIO.prepIO(RubyIO.java:261)
	at org.jruby.RubyIO.prepStdio(RubyIO.java:190)
	at org.jruby.RubyGlobal.initSTDIO(RubyGlobal.java:306)
	at org.jruby.RubyGlobal.createGlobals(RubyGlobal.java:220)
	at org.jruby.Ruby.<init>(Ruby.java:504)
	at org.jruby.Ruby.newInstance(Ruby.java:706)
	at org.jruby.javasupport.JavaEmbedUtils.initialize(JavaEmbedUtils.java:79)
	at org.jruby.javasupport.JavaEmbedUtils.initialize(JavaEmbedUtils.java:69)
	at org.sonarsource.ruby.converter.RubyConverter.initializeRubyRuntime(RubyConverter.java:182)
	at org.sonarsource.ruby.converter.RubyConverter.<init>(RubyConverter.java:75)
	at org.sonarsource.ruby.converter.RubyConverter.<init>(RubyConverter.java:82)
	at org.sonarsource.ruby.plugin.RubySensor.astConverter(RubySensor.java:44)
	at org.sonarsource.slang.plugin.SlangSensor.execute(SlangSensor.java:164)
	at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:48)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:85)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.lambda$execute$1(ModuleSensorsExecutor.java:59)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.withModuleStrategy(ModuleSensorsExecutor.java:77)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:59)
	at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:82)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:137)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:123)
	at org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer.java:392)
	at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:388)
	at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:357)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:137)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:123)
	at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart(GlobalContainer.java:150)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:137)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:123)
	at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:72)
	at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:66)
	at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
	at jdk.proxy1/jdk.proxy1.$Proxy0.execute(Unknown Source)
	at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
	at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
	at org.sonarsource.scanner.cli.Main.execute(Main.java:126)
	at org.sonarsource.scanner.cli.Main.execute(Main.java:81)
	at org.sonarsource.scanner.cli.Main.main(Main.java:62)
2023-08-31T18:55:13.034Z [main] WARN FilenoUtil : Native subprocess control requires open access to the JDK IO subsystem
Pass '--add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED' to enable.
INFO: 0/1342 files analyzed, current file: [OBFUSCATED]/app/models/mymodel.rb
INFO: 1342/1342 source files have been analyzed
INFO: Sensor Ruby Sensor [ruby] (done) | time=102636ms
INFO: Sensor SimpleCov Sensor for Ruby coverage [ruby]
INFO: Sensor SimpleCov Sensor for Ruby coverage [ruby] (done) | time=2ms
INFO: Sensor ThymeLeaf template sensor [securityjavafrontend]
ERROR: SimpleCov report not found: './[OBFUSCATED]/coverage'
INFO: Sensor ThymeLeaf template sensor [securityjavafrontend] (done) | time=37ms
INFO: Sensor Python HTML templates processing [securitypythonfrontend]
INFO: Found no 'settings.py' files in the project. We will consider 'autoescape' project option enabled.
INFO: Sensor Python HTML templates processing [securitypythonfrontend] (done) | time=75ms
INFO: Sensor JavaSecuritySensor [security]
INFO: Reading type hierarchy from: /builds/[OBFUSCATED]/[OBFUSCATED]/.scannerwork/ucfg2/java
INFO: Read 0 type definitions
INFO: Reading UCFGs from: /builds/[OBFUSCATED]/[OBFUSCATED]/.scannerwork/ucfg2/java
INFO: No UCFGs have been included for analysis.
INFO: Sensor JavaSecuritySensor [security] (done) | time=10ms
INFO: Sensor CSharpSecuritySensor [security]
INFO: Reading type hierarchy from: /builds/[OBFUSCATED]/[OBFUSCATED]/ucfg_cs2
INFO: Read 0 type definitions
INFO: Reading UCFGs from: /builds/[OBFUSCATED]/[OBFUSCATED]/ucfg_cs2
INFO: No UCFGs have been included for analysis.
INFO: Sensor CSharpSecuritySensor [security] (done) | time=1ms
INFO: Sensor PhpSecuritySensor [security]
INFO: Reading type hierarchy from: /builds/[OBFUSCATED]/[OBFUSCATED]/.scannerwork/ucfg2/php
INFO: Read 0 type definitions
INFO: Reading UCFGs from: /builds/[OBFUSCATED]/[OBFUSCATED]/.scannerwork/ucfg2/php
INFO: No UCFGs have been included for analysis.
INFO: Sensor PhpSecuritySensor [security] (done) | time=0ms
INFO: Sensor PythonSecuritySensor [security]
INFO: Reading type hierarchy from: /builds/[OBFUSCATED]/[OBFUSCATED]/.scannerwork/ucfg2/python
INFO: Read 344 type definitions
INFO: Reading UCFGs from: /builds/[OBFUSCATED]/[OBFUSCATED]/.scannerwork/ucfg2/python
INFO: 18:56:56.390702405 Building Runtime Type propagation graph
INFO: 18:56:56.435900791 Running Tarjan on 4229 nodes
INFO: 18:56:56.460093846 Tarjan found 4229 components
INFO: 18:56:56.503567952 Variable type analysis: done
INFO: 18:56:56.507859603 Building Runtime Type propagation graph
INFO: 18:56:56.546424184 Running Tarjan on 4173 nodes
INFO: 18:56:56.553327305 Tarjan found 4173 components
INFO: 18:56:56.58048793 Variable type analysis: done
INFO: Analyzing 1778 ucfgs to detect vulnerabilities.
INFO: All rules entrypoints : 0 Retained UCFGs : 0
INFO: rule: S5334, entrypoints: 0
INFO: rule: S5334 done
INFO: rule: S5135, entrypoints: 0
INFO: rule: S5135 done
INFO: rule: S3649, entrypoints: 0
INFO: rule: S3649 done
INFO: rule: S5146, entrypoints: 0
INFO: rule: S5146 done
INFO: rule: S2083, entrypoints: 0
INFO: rule: S2083 done
INFO: rule: S2091, entrypoints: 0
INFO: rule: S2091 done
INFO: rule: S2078, entrypoints: 0
INFO: rule: S2078 done
INFO: rule: S5145, entrypoints: 0
INFO: rule: S5145 done
INFO: rule: S5167, entrypoints: 0
INFO: rule: S5167 done
INFO: rule: S5144, entrypoints: 0
INFO: rule: S5144 done
INFO: rule: S2076, entrypoints: 0
INFO: rule: S2076 done
INFO: rule: S5131, entrypoints: 0
INFO: rule: S5131 done
INFO: rule: S2631, entrypoints: 0
INFO: rule: S2631 done
INFO: Sensor PythonSecuritySensor [security] (done) | time=2953ms
INFO: Sensor JsSecuritySensor [security]
INFO: Reading type hierarchy from: /builds/[OBFUSCATED]/[OBFUSCATED]/.scannerwork/ucfg2/js
INFO: Read 0 type definitions
INFO: Reading UCFGs from: /builds/[OBFUSCATED]/[OBFUSCATED]/.scannerwork/ucfg2/js
INFO: 18:56:59.808824496 Building Runtime Type propagation graph
INFO: 18:56:59.958693793 Running Tarjan on 14980 nodes
INFO: 18:56:59.985113158 Tarjan found 14979 components
INFO: 18:57:00.14695674 Variable type analysis: done
INFO: 18:57:00.147475682 Building Runtime Type propagation graph
INFO: 18:57:00.327892565 Running Tarjan on 14980 nodes
INFO: 18:57:00.355869205 Tarjan found 14979 components
INFO: 18:57:00.425599955 Variable type analysis: done
INFO: Analyzing 1895 ucfgs to detect vulnerabilities.
INFO: rule: S2083, entrypoints: 198
INFO: Running symbolic analysis
INFO: rule: S2083 done
INFO: rule: S2076, entrypoints: 198
INFO: Running symbolic analysis
INFO: rule: S2076 done
INFO: rule: S5131, entrypoints: 198
INFO: Running symbolic analysis
INFO: rule: S5131 done
INFO: rule: S3649, entrypoints: 198
INFO: Running symbolic analysis
INFO: rule: S3649 done
INFO: rule: S5696, entrypoints: 198
INFO: Running symbolic analysis
INFO: rule: S5696 done
INFO: rule: S6096, entrypoints: 198
INFO: Running symbolic analysis
INFO: rule: S6096 done
INFO: rule: S5146, entrypoints: 198
INFO: Running symbolic analysis
INFO: rule: S5146 done
INFO: rule: S2631, entrypoints: 198
INFO: Running symbolic analysis
INFO: rule: S2631 done
INFO: rule: S6105, entrypoints: 198
INFO: Running symbolic analysis
INFO: rule: S6105 done
INFO: rule: S5147, entrypoints: 198
INFO: Running symbolic analysis
INFO: rule: S5147 done
INFO: rule: S5144, entrypoints: 198
INFO: Running symbolic analysis
INFO: rule: S5144 done
INFO: rule: S5883, entrypoints: 198
INFO: Running symbolic analysis
INFO: rule: S5883 done
INFO: rule: S5334, entrypoints: 198
INFO: Running symbolic analysis
INFO: rule: S5334 done
INFO: Sensor JsSecuritySensor [security] (done) | time=16091ms
INFO: ------------- Run sensors on project
INFO: Sensor Zero Coverage Sensor
INFO: Sensor Zero Coverage Sensor (done) | time=577ms
INFO: CPD Executor 632 files had no CPD blocks
INFO: CPD Executor Calculating CPD for 1444 files
INFO: CPD Executor CPD calculation finished (done) | time=744ms
INFO: SCM writing changed lines
INFO: SCM writing changed lines (done) | time=166ms
INFO: Analysis report generated in 622ms, dir size=4 MB
INFO: Analysis report compressed in 5866ms, zip size=2 MB
INFO: Analysis report uploaded in 834ms
INFO: ANALYSIS SUCCESSFUL, you can browse https://sq.[OBFUSCATED]
INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
INFO: More about the report processing at https://sq.platform.[OBFUSCATED]
INFO: Analysis total time: 4:23.899 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 4:28.495s
INFO: Final Memory: 165M/486M
INFO: ------------------------------------------------------------------------

Hey @Aaron_Bartell

In your case – you’re using an EOL version of SonarQube. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

xxx → 8.9.10 → 9.9.1 → 10.1 (last step optional)

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

I have a feeling that this has something to do with Java 17 – since that is the common thread here (despite SonarQube version). I’ll tag this for some experts.

@Colin here are the raw logs from GH actions:

2023-09-04T10:40:17.5172882Z Requested labels: ubuntu-latest
2023-09-04T10:40:17.5173172Z Job defined at: ******/.github/workflows/template-sonarcloud.yml@refs/pull/287/merge
2023-09-04T10:40:17.5173471Z Reusable workflow chain:
2023-09-04T10:40:17.5173707Z ******/.github/workflows/development.yml@refs/pull/287/merge (7eda33b61f5230a52d624a1f551dd2b2a25b7431)
2023-09-04T10:40:17.5173990Z -> ******/.github/workflows/template-sonarcloud.yml@refs/pull/287/merge (7eda33b61f5230a52d624a1f551dd2b2a25b7431)
2023-09-04T10:40:17.5174120Z Waiting for a runner to pick up this job...
2023-09-04T10:40:17.7248614Z Job is waiting for a hosted runner to come online.
2023-09-04T10:40:20.0828389Z Job is about to start running on the hosted runner: GitHub Actions 2 (hosted)
2023-09-04T10:40:22.7874630Z Current runner version: '2.308.0'
2023-09-04T10:40:22.7904060Z ##[group]Operating System
2023-09-04T10:40:22.7904602Z Ubuntu
2023-09-04T10:40:22.7905044Z 22.04.3
2023-09-04T10:40:22.7905656Z LTS
2023-09-04T10:40:22.7905982Z ##[endgroup]
2023-09-04T10:40:22.7906300Z ##[group]Runner Image
2023-09-04T10:40:22.7906748Z Image: ubuntu-22.04
2023-09-04T10:40:22.7907113Z Version: 20230821.1.0
2023-09-04T10:40:22.7907679Z Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20230821.1/images/linux/Ubuntu2204-Readme.md
2023-09-04T10:40:22.7908325Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20230821.1
2023-09-04T10:40:22.7908828Z ##[endgroup]
2023-09-04T10:40:22.7909237Z ##[group]Runner Image Provisioner
2023-09-04T10:40:22.7909616Z 2.0.266.1
2023-09-04T10:40:22.7909896Z ##[endgroup]
2023-09-04T10:40:22.7910981Z ##[group]GITHUB_TOKEN Permissions
2023-09-04T10:40:22.7911714Z Actions: write
2023-09-04T10:40:22.7912070Z Checks: write
2023-09-04T10:40:22.7912645Z Contents: write
2023-09-04T10:40:22.7913139Z Deployments: write
2023-09-04T10:40:22.7913516Z Discussions: write
2023-09-04T10:40:22.7913863Z Issues: write
2023-09-04T10:40:22.7914155Z Metadata: read
2023-09-04T10:40:22.7914532Z Packages: write
2023-09-04T10:40:22.7914877Z Pages: write
2023-09-04T10:40:22.7915242Z PullRequests: write
2023-09-04T10:40:22.7915584Z RepositoryProjects: write
2023-09-04T10:40:22.7916006Z SecurityEvents: write
2023-09-04T10:40:22.7916370Z Statuses: write
2023-09-04T10:40:22.7916681Z ##[endgroup]
2023-09-04T10:40:22.7920288Z Secret source: Actions
2023-09-04T10:40:22.7920839Z Prepare workflow directory
2023-09-04T10:40:22.8657761Z Prepare all required actions
2023-09-04T10:40:22.8848560Z Getting action download info
2023-09-04T10:40:23.1446625Z Download action repository 'actions/checkout@v3' (SHA:f43a0e5ff2bd294095638e18286ca9a3d1956744)
2023-09-04T10:40:23.4724079Z Download action repository 'actions/download-artifact@v3' (SHA:9bc31d5ccc31df68ecc42ccf4149144866c47d8a)
2023-09-04T10:40:24.6278923Z Download action repository 'SonarSource/sonarcloud-github-action@master' (SHA:4b4d7634dab97dcee0b75763a54a6dc92a9e6bc1)
2023-09-04T10:40:24.9164440Z Uses: ******/.github/workflows/template-sonarcloud.yml@refs/pull/287/merge (7eda33b61f5230a52d624a1f551dd2b2a25b7431)
2023-09-04T10:40:24.9166173Z Complete job name: sonarcloud / sonarcloud
2023-09-04T10:40:24.9810997Z ##[group]Build container for action use: '/home/runner/work/_actions/SonarSource/sonarcloud-github-action/master/Dockerfile'.
2023-09-04T10:40:24.9883612Z ##[command]/usr/bin/docker build -t ef7d85:8fdf567cd9564e189654284877e773d6 -f "/home/runner/work/_actions/SonarSource/sonarcloud-github-action/master/Dockerfile" "/home/runner/work/_actions/SonarSource/sonarcloud-github-action/master"
2023-09-04T10:40:25.5068705Z #0 building with "default" instance using docker driver
2023-09-04T10:40:25.5069613Z 
2023-09-04T10:40:25.5069759Z #1 [internal] load .dockerignore
2023-09-04T10:40:25.5070563Z #1 transferring context: 2B done
2023-09-04T10:40:25.5087180Z #1 DONE 0.0s
2023-09-04T10:40:25.5088339Z 
2023-09-04T10:40:25.5089104Z #2 [internal] load build definition from Dockerfile
2023-09-04T10:40:25.5089665Z #2 transferring dockerfile: 1.05kB done
2023-09-04T10:40:25.5090238Z #2 DONE 0.0s
2023-09-04T10:40:25.5090873Z 
2023-09-04T10:40:25.5091487Z #3 [auth] sonarsource/sonar-scanner-cli:pull token for registry-1.docker.io
2023-09-04T10:40:25.5091853Z #3 DONE 0.0s
2023-09-04T10:40:25.5092089Z 
2023-09-04T10:40:25.5092406Z #4 [internal] load metadata for docker.io/sonarsource/sonar-scanner-cli:5.0
2023-09-04T10:40:25.7749548Z #4 DONE 0.3s
2023-09-04T10:40:25.7814192Z 
2023-09-04T10:40:25.7816577Z #5 [internal] load build context
2023-09-04T10:40:25.7817694Z #5 transferring context: 779B done
2023-09-04T10:40:25.7818061Z #5 DONE 0.0s
2023-09-04T10:40:25.7818597Z 
2023-09-04T10:40:25.7818969Z #6 [1/4] FROM docker.io/sonarsource/sonar-scanner-cli:5.0@sha256:169a0df74b909128b053d7ae451970c51c1d03fc5897c168de81df41904e8a00
2023-09-04T10:40:25.7819847Z #6 resolve docker.io/sonarsource/sonar-scanner-cli:5.0@sha256:169a0df74b909128b053d7ae451970c51c1d03fc5897c168de81df41904e8a00 done
2023-09-04T10:40:25.7821087Z #6 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done
2023-09-04T10:40:25.7821692Z #6 sha256:6419d960d1aa771f3d3edc241cdff396156914c7a3abe4149028fe483fc363cf 726B / 726B 0.1s done
2023-09-04T10:40:25.7822745Z #6 sha256:169a0df74b909128b053d7ae451970c51c1d03fc5897c168de81df41904e8a00 1.36kB / 1.36kB done
2023-09-04T10:40:25.7823643Z #6 sha256:b5ccc253da9409be335aa6d2004692722a32039b5f00c8017f3569e43d12da46 5.06kB / 5.06kB done
2023-09-04T10:40:25.7824211Z #6 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.1s done
2023-09-04T10:40:25.7825606Z #6 sha256:d82d5f5f3c4950b6292c70c4ac791a93371c3b23360e547653f88a7296b2f80b 7.34MB / 120.23MB 0.1s
2023-09-04T10:40:25.9328093Z #6 sha256:d82d5f5f3c4950b6292c70c4ac791a93371c3b23360e547653f88a7296b2f80b 30.41MB / 120.23MB 0.2s
2023-09-04T10:40:26.0750288Z #6 sha256:d82d5f5f3c4950b6292c70c4ac791a93371c3b23360e547653f88a7296b2f80b 77.59MB / 120.23MB 0.4s
2023-09-04T10:40:26.1731643Z #6 sha256:d82d5f5f3c4950b6292c70c4ac791a93371c3b23360e547653f88a7296b2f80b 99.06MB / 120.23MB 0.5s
2023-09-04T10:40:26.2739114Z #6 sha256:d82d5f5f3c4950b6292c70c4ac791a93371c3b23360e547653f88a7296b2f80b 120.23MB / 120.23MB 0.6s
2023-09-04T10:40:26.7253497Z #6 sha256:d82d5f5f3c4950b6292c70c4ac791a93371c3b23360e547653f88a7296b2f80b 120.23MB / 120.23MB 0.9s done
2023-09-04T10:40:26.7253998Z #6 extracting sha256:d82d5f5f3c4950b6292c70c4ac791a93371c3b23360e547653f88a7296b2f80b
2023-09-04T10:40:31.6688246Z #6 extracting sha256:d82d5f5f3c4950b6292c70c4ac791a93371c3b23360e547653f88a7296b2f80b 5.0s
2023-09-04T10:40:32.0522637Z #6 extracting sha256:d82d5f5f3c4950b6292c70c4ac791a93371c3b23360e547653f88a7296b2f80b 5.4s done
2023-09-04T10:40:33.6590265Z #6 extracting sha256:6419d960d1aa771f3d3edc241cdff396156914c7a3abe4149028fe483fc363cf done
2023-09-04T10:40:33.6590659Z #6 DONE 8.0s
2023-09-04T10:40:33.6590821Z 
2023-09-04T10:40:33.6590920Z #7 [2/4] WORKDIR /opt
2023-09-04T10:40:33.8094707Z #7 DONE 0.0s
2023-09-04T10:40:33.8094907Z 
2023-09-04T10:40:33.8095055Z #8 [3/4] COPY entrypoint.sh /entrypoint.sh
2023-09-04T10:40:33.8095340Z #8 DONE 0.0s
2023-09-04T10:40:33.8095476Z 
2023-09-04T10:40:33.8096005Z #9 [4/4] RUN chmod +x /entrypoint.sh
2023-09-04T10:40:34.2613732Z #9 DONE 0.4s
2023-09-04T10:40:34.2613896Z 
2023-09-04T10:40:34.2613996Z #10 exporting to image
2023-09-04T10:40:34.2614225Z #10 exporting layers
2023-09-04T10:40:35.0112688Z #10 exporting layers 0.9s done
2023-09-04T10:40:35.0285783Z #10 writing image sha256:57c31ee9f2c28b9189fdeeefa017d26928c1cf2a790b607940dd0bda6d562416 done
2023-09-04T10:40:35.0286395Z #10 naming to docker.io/library/ef7d85:8fdf567cd9564e189654284877e773d6 done
2023-09-04T10:40:35.0286703Z #10 DONE 0.9s
2023-09-04T10:40:35.0296674Z ##[endgroup]
2023-09-04T10:40:35.0712976Z ##[group]Run actions/checkout@v3
2023-09-04T10:40:35.0713272Z with:
2023-09-04T10:40:35.0713515Z   fetch-depth: 0
2023-09-04T10:40:35.0713777Z   repository: ******
2023-09-04T10:40:35.0714220Z   token: ***
2023-09-04T10:40:35.0714439Z   ssh-strict: true
2023-09-04T10:40:35.0714689Z   persist-credentials: true
2023-09-04T10:40:35.0714936Z   clean: true
2023-09-04T10:40:35.0715175Z   sparse-checkout-cone-mode: true
2023-09-04T10:40:35.0715442Z   fetch-tags: false
2023-09-04T10:40:35.0715661Z   lfs: false
2023-09-04T10:40:35.0715882Z   submodules: false
2023-09-04T10:40:35.0716113Z   set-safe-directory: true
2023-09-04T10:40:35.0716353Z ##[endgroup]
2023-09-04T10:40:35.3182230Z Syncing repository: ******
2023-09-04T10:40:35.3183860Z ##[group]Getting Git version info
2023-09-04T10:40:35.3184347Z Working directory is '/home/runner/work/******/******'
2023-09-04T10:40:35.3184888Z [command]/usr/bin/git version
2023-09-04T10:40:35.3219459Z git version 2.41.0
2023-09-04T10:40:35.3245069Z ##[endgroup]
2023-09-04T10:40:35.3261270Z Temporarily overriding HOME='/home/runner/work/_temp/86bca5d0-de14-4319-97df-08c57efbd519' before making global git config changes
2023-09-04T10:40:35.3262049Z Adding repository directory to the temporary git global config as a safe directory
2023-09-04T10:40:35.3265936Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/******/******
2023-09-04T10:40:35.3307576Z Deleting the contents of '/home/runner/work/******/******'
2023-09-04T10:40:35.3312106Z ##[group]Initializing the repository
2023-09-04T10:40:35.3315875Z [command]/usr/bin/git init /home/runner/work/******/******
2023-09-04T10:40:35.3396101Z hint: Using 'master' as the name for the initial branch. This default branch name
2023-09-04T10:40:35.3396983Z hint: is subject to change. To configure the initial branch name to use in all
2023-09-04T10:40:35.3397833Z hint: of your new repositories, which will suppress this warning, call:
2023-09-04T10:40:35.3398327Z hint: 
2023-09-04T10:40:35.3399099Z hint: 	git config --global init.defaultBranch <name>
2023-09-04T10:40:35.3399561Z hint: 
2023-09-04T10:40:35.3400306Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
2023-09-04T10:40:35.3400970Z hint: 'development'. The just-created branch can be renamed via this command:
2023-09-04T10:40:35.3401641Z hint: 
2023-09-04T10:40:35.3402072Z hint: 	git branch -m <name>
2023-09-04T10:40:35.3408746Z Initialized empty Git repository in /home/runner/work/******/******/.git/
2023-09-04T10:40:35.3417900Z [command]/usr/bin/git remote add origin https://github.com/******
2023-09-04T10:40:35.3459396Z ##[endgroup]
2023-09-04T10:40:35.3460061Z ##[group]Disabling automatic garbage collection
2023-09-04T10:40:35.3462780Z [command]/usr/bin/git config --local gc.auto 0
2023-09-04T10:40:35.3495152Z ##[endgroup]
2023-09-04T10:40:35.3495733Z ##[group]Setting up auth
2023-09-04T10:40:35.3501490Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2023-09-04T10:40:35.3535625Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2023-09-04T10:40:35.3899757Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2023-09-04T10:40:35.3932068Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2023-09-04T10:40:35.4155095Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
2023-09-04T10:40:35.4193295Z ##[endgroup]
2023-09-04T10:40:35.4194014Z ##[group]Fetching the repository
2023-09-04T10:40:35.4203652Z [command]/usr/bin/git -c protocol.version=2 fetch --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* +refs/tags/*:refs/tags/* +7eda33b61f5230a52d624a1f551dd2b2a25b7431:refs/remotes/pull/287/merge
2023-09-04T10:40:35.7554194Z remote: Enumerating objects: 17534, done.        
2023-09-04T10:40:35.7563669Z remote: Counting objects:   0% (1/3832)        
...      
2023-09-04T10:40:35.7690971Z remote: Counting objects: 100% (3832/3832)        
2023-09-04T10:40:35.7691296Z remote: Counting objects: 100% (3832/3832), done.        
2023-09-04T10:40:35.7691616Z remote: Compressing objects:   0% (1/1336)        
...     
2023-09-04T10:40:35.8485513Z remote: Compressing objects: 100% (1336/1336)        
2023-09-04T10:40:35.8486122Z remote: Compressing objects: 100% (1336/1336), done.        
2023-09-04T10:40:35.8623116Z Receiving objects:   0% (1/17534)
...
2023-09-04T10:40:35.9590073Z Receiving objects: 100% (17534/17534)
2023-09-04T10:40:35.9590723Z Receiving objects: 100% (17534/17534), 2.42 MiB | 22.50 MiB/s, done.
2023-09-04T10:40:35.9633896Z Resolving deltas:   0% (0/11136)
...
2023-09-04T10:40:36.0889968Z Resolving deltas: 100% (11136/11136)
2023-09-04T10:40:36.0892007Z Resolving deltas: 100% (11136/11136), done.
2023-09-04T10:40:36.1374227Z From https://github.com/******
2023-09-04T10:40:36.1375050Z  * [new branch]        as_fix_prod_cov_2                        -> origin/as_fix_prod_cov_2
2023-09-04T10:40:36.1387289Z  * [new branch]        docs                                     -> origin/docs
2023-09-04T10:40:36.1387929Z  * [new branch]        fs_change_structure_of_rights            -> origin/fs_change_structure_of_rights
2023-09-04T10:40:36.1388550Z  * [new branch]        production                               -> origin/production
2023-09-04T10:40:36.1389129Z  * [new ref]           7eda33b61f5230a52d624a1f551dd2b2a25b7431 -> pull/287/merge
2023-09-04T10:40:36.1417176Z ##[endgroup]
2023-09-04T10:40:36.1418795Z ##[group]Determining the checkout info
2023-09-04T10:40:36.1419534Z ##[endgroup]
2023-09-04T10:40:36.1420176Z ##[group]Checking out the ref
2023-09-04T10:40:36.1424758Z [command]/usr/bin/git checkout --progress --force refs/remotes/pull/287/merge
2023-09-04T10:40:36.1877251Z Note: switching to 'refs/remotes/pull/287/merge'.
2023-09-04T10:40:36.1877820Z 
2023-09-04T10:40:36.1878479Z You are in 'detached HEAD' state. You can look around, make experimental
2023-09-04T10:40:36.1879013Z changes and commit them, and you can discard any commits you make in this
2023-09-04T10:40:36.1879529Z state without impacting any branches by switching back to a branch.
2023-09-04T10:40:36.1879799Z 
2023-09-04T10:40:36.1880046Z If you want to create a new branch to retain commits you create, you may
2023-09-04T10:40:36.1880614Z do so (now or later) by using -c with the switch command. Example:
2023-09-04T10:40:36.1880889Z 
2023-09-04T10:40:36.1881091Z   git switch -c <new-branch-name>
2023-09-04T10:40:36.1881295Z 
2023-09-04T10:40:36.1881428Z Or undo this operation with:
2023-09-04T10:40:36.1881606Z 
2023-09-04T10:40:36.1881711Z   git switch -
2023-09-04T10:40:36.1881872Z 
2023-09-04T10:40:36.1882115Z Turn off this advice by setting config variable advice.detachedHead to false
2023-09-04T10:40:36.1882404Z 
2023-09-04T10:40:36.1882694Z HEAD is now at 7eda33b6 Merge 023da07e76a623da5e0a60243be5cadb96437855 into 520c66cef4bf23700d5158f147e30da59b459a6c
2023-09-04T10:40:36.1892972Z ##[endgroup]
2023-09-04T10:40:36.1939833Z [command]/usr/bin/git log -1 --format='%H'
2023-09-04T10:40:36.1970122Z '7eda33b61f5230a52d624a1f551dd2b2a25b7431'
2023-09-04T10:40:36.2376320Z Prepare all required actions
2023-09-04T10:40:36.2376672Z Getting action download info
2023-09-04T10:40:36.3677061Z Download action repository 'pnpm/action-setup@v2' (SHA:0b715c7ebbf3cf2174d1386336c5f6d3d8d5504a)
2023-09-04T10:40:37.6168416Z Download action repository 'actions/setup-node@v3' (SHA:5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d)
2023-09-04T10:40:38.0512537Z ##[group]Run ./.github/actions/node
2023-09-04T10:40:38.0512813Z ##[endgroup]
2023-09-04T10:40:38.0742651Z ##[group]Run pnpm/action-setup@v2
2023-09-04T10:40:38.0742918Z with:
2023-09-04T10:40:38.0743129Z   version: 8.6
2023-09-04T10:40:38.0743367Z   dest: ~/setup-pnpm
2023-09-04T10:40:38.0743601Z   run_install: null
2023-09-04T10:40:38.0743853Z   package_json_file: package.json
2023-09-04T10:40:38.0744100Z ##[endgroup]
2023-09-04T10:40:38.1934643Z ##[group]Running self-installer...
2023-09-04T10:40:38.6599518Z Progress: resolved 1, reused 0, downloaded 0, added 0
2023-09-04T10:40:38.6696637Z Packages: +1
2023-09-04T10:40:38.6697236Z +
2023-09-04T10:40:39.4050142Z Packages are hard linked from the content-addressable store to the virtual store.
2023-09-04T10:40:39.4050715Z   Content-addressable store is at: /home/runner/.pnpm-store/v3
2023-09-04T10:40:39.4051088Z   Virtual store is at:             node_modules/.pnpm
2023-09-04T10:40:39.4385941Z 
2023-09-04T10:40:39.4386585Z dependencies:
2023-09-04T10:40:39.4386960Z + pnpm 8.6.12 (8.7.1 is available)
2023-09-04T10:40:39.4387135Z 
2023-09-04T10:40:39.6612697Z Progress: resolved 1, reused 0, downloaded 1, added 1, done
2023-09-04T10:40:39.6763508Z ##[endgroup]
2023-09-04T10:40:39.6786586Z Installation Completed!
2023-09-04T10:40:39.6904922Z ##[group]Run actions/setup-node@v3
2023-09-04T10:40:39.6905720Z with:
2023-09-04T10:40:39.6905940Z   node-version: 18.13.0
2023-09-04T10:40:39.6906159Z   cache: pnpm
2023-09-04T10:40:39.6906447Z   cache-dependency-path: frontend/pnpm-lock.yaml
2023-09-04T10:40:39.6906746Z   always-auth: false
2023-09-04T10:40:39.6906998Z   check-latest: false
2023-09-04T10:40:39.6907366Z   token: ***
2023-09-04T10:40:39.6907564Z env:
2023-09-04T10:40:39.6907838Z   PNPM_HOME: /home/runner/setup-pnpm/node_modules/.bin
2023-09-04T10:40:39.6908120Z ##[endgroup]
2023-09-04T10:40:39.8857666Z Attempting to download 18.13.0...
2023-09-04T10:40:40.1653900Z Acquiring 18.13.0 - x64 from https://github.com/actions/node-versions/releases/download/18.13.0-3853555232/node-18.13.0-linux-x64.tar.gz
2023-09-04T10:40:40.5242393Z Extracting ...
2023-09-04T10:40:40.5362748Z [command]/usr/bin/tar xz --strip 1 --warning=no-unknown-keyword -C /home/runner/work/_temp/4841c032-6afa-4a4d-9f9f-0f52bcf602df -f /home/runner/work/_temp/22bd45da-7e5d-4e62-9ed2-20152d6d9cb1
2023-09-04T10:40:41.6207788Z Adding to the cache ...
2023-09-04T10:40:42.9834274Z ##[group]Environment details
2023-09-04T10:40:43.3386082Z node: v18.13.0
2023-09-04T10:40:43.3386749Z npm: 8.19.3
2023-09-04T10:40:43.3388347Z yarn: 1.22.19
2023-09-04T10:40:43.3389095Z ##[endgroup]
2023-09-04T10:40:43.3393905Z [command]/home/runner/setup-pnpm/node_modules/.bin/pnpm store path --silent
2023-09-04T10:40:43.8272865Z /home/runner/setup-pnpm/node_modules/.bin/store/v3
2023-09-04T10:40:44.4048073Z Received 61023471 of 61023471 (100.0%), 126.0 MBs/sec
2023-09-04T10:40:44.4049916Z Cache Size: ~58 MB (61023471 B)
2023-09-04T10:40:44.4123322Z [command]/usr/bin/tar -xf /home/runner/work/_temp/6da97a62-a02a-4719-aae3-1237cec80a26/cache.tzst -P -C /home/runner/work/******/****** --use-compress-program unzstd
2023-09-04T10:40:45.2268082Z Cache restored successfully
2023-09-04T10:40:45.2374533Z Cache restored from key: node-cache-Linux-pnpm-46de1924c105ad0c3c188920702a50b4ac8b12f1e01add1a57f3041140d3bcbc
2023-09-04T10:40:45.2564981Z ##[group]Run pnpm install
2023-09-04T10:40:45.2565322Z e[36;1mpnpm installe[0m
2023-09-04T10:40:45.2622874Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2023-09-04T10:40:45.2623196Z env:
2023-09-04T10:40:45.2623497Z   PNPM_HOME: /home/runner/setup-pnpm/node_modules/.bin
2023-09-04T10:40:45.2624103Z ##[endgroup]
2023-09-04T10:40:45.8275823Z Scope: all 11 workspace projects
2023-09-04T10:40:45.9137850Z Lockfile is up to date, resolution step is skipped
2023-09-04T10:40:45.9702110Z Progress: resolved 1, reused 0, downloaded 0, added 0
2023-09-04T10:40:46.0879601Z Packages: +543
2023-09-04T10:40:46.0880949Z ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2023-09-04T10:40:46.3273878Z Packages are copied from the content-addressable store to the virtual store.
2023-09-04T10:40:46.3274607Z   Content-addressable store is at: /home/runner/setup-pnpm/node_modules/.bin/store/v3
2023-09-04T10:40:46.3275062Z   Virtual store is at:             node_modules/.pnpm
2023-09-04T10:40:46.9721249Z Progress: resolved 543, reused 359, downloaded 0, added 359
2023-09-04T10:40:47.6873538Z Progress: resolved 543, reused 537, downloaded 0, added 543, done
2023-09-04T10:40:48.4992826Z 
2023-09-04T10:40:48.4993665Z devDependencies:
2023-09-04T10:40:48.4994525Z + @******/eslint-config-custom <- packages/eslint-config-custom
2023-09-04T10:40:48.4995150Z + prettier 3.0.0
2023-09-04T10:40:48.4995514Z + turbo 1.10.12
2023-09-04T10:40:48.4996436Z 
2023-09-04T10:40:48.5642198Z Done in 3.2s
2023-09-04T10:40:48.5836227Z ##[group]Run actions/download-artifact@v3
2023-09-04T10:40:48.5836684Z with:
2023-09-04T10:40:48.5836909Z   path: ./coverage
2023-09-04T10:40:48.5837129Z env:
2023-09-04T10:40:48.5837410Z   PNPM_HOME: /home/runner/setup-pnpm/node_modules/.bin
2023-09-04T10:40:48.5837692Z ##[endgroup]
2023-09-04T10:40:48.6527265Z No artifact name specified, downloading all artifacts
2023-09-04T10:40:48.6528025Z Creating an extra directory for each artifact that is being downloaded
2023-09-04T10:40:48.6940674Z starting download of artifact e2e-coverage : 1/4
2023-09-04T10:40:48.7400887Z Total number of files that will be downloaded: 1
2023-09-04T10:40:48.7925746Z starting download of artifact frontend-coverage : 2/4
2023-09-04T10:40:48.8512507Z Total number of files that will be downloaded: 8
2023-09-04T10:40:49.0493647Z starting download of artifact rspec-core : 3/4
2023-09-04T10:40:49.0713349Z Total number of files that will be downloaded: 1
2023-09-04T10:40:49.1072760Z starting download of artifact rspec-manage : 4/4
2023-09-04T10:40:49.1426906Z Total number of files that will be downloaded: 1
2023-09-04T10:40:49.1833186Z There were 4 artifacts downloaded
2023-09-04T10:40:49.1834549Z Artifact e2e-coverage was downloaded to /home/runner/work/******/******/coverage/e2e-coverage
2023-09-04T10:40:49.1835680Z Artifact frontend-coverage was downloaded to /home/runner/work/******/******/coverage/frontend-coverage
2023-09-04T10:40:49.1836808Z Artifact rspec-core was downloaded to /home/runner/work/******/******/coverage/rspec-core
2023-09-04T10:40:49.1838444Z Artifact rspec-manage was downloaded to /home/runner/work/******/******/coverage/rspec-manage
2023-09-04T10:40:49.1847930Z Artifact download has finished successfully
2023-09-04T10:40:49.1950279Z ##[group]Run sed -i 's@'$GITHUB_WORKSPACE'@/github/workspace/@g' coverage/rspec-core/coverage.json
2023-09-04T10:40:49.1950818Z e[36;1msed -i 's@'$GITHUB_WORKSPACE'@/github/workspace/@g' coverage/rspec-core/coverage.jsone[0m
2023-09-04T10:40:49.1951286Z e[36;1msed -i 's@'$GITHUB_WORKSPACE'@/github/workspace/@g' coverage/rspec-manage/coverage.jsone[0m
2023-09-04T10:40:49.2003939Z shell: /usr/bin/bash -e {0}
2023-09-04T10:40:49.2004201Z env:
2023-09-04T10:40:49.2004504Z   PNPM_HOME: /home/runner/setup-pnpm/node_modules/.bin
2023-09-04T10:40:49.2004804Z ##[endgroup]
2023-09-04T10:40:49.2168853Z ##[group]Run SonarSource/sonarcloud-github-action@master
2023-09-04T10:40:49.2169160Z with:
2023-09-04T10:40:49.2169396Z   projectBaseDir: .
2023-09-04T10:40:49.2169622Z env:
2023-09-04T10:40:49.2169901Z   PNPM_HOME: /home/runner/setup-pnpm/node_modules/.bin
2023-09-04T10:40:49.2170383Z   GITHUB_TOKEN: ***
2023-09-04T10:40:49.2170683Z   SONAR_TOKEN: ***
2023-09-04T10:40:49.2170914Z ##[endgroup]
2023-09-04T10:40:49.2407302Z ##[command]/usr/bin/docker run --name ef7d858fdf567cd9564e189654284877e773d6_dd56c1 --label ef7d85 --workdir /github/workspace --rm -e "PNPM_HOME" -e "GITHUB_TOKEN" -e "SONAR_TOKEN" -e "INPUT_ARGS" -e "INPUT_PROJECTBASEDIR" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/******/******":"/github/workspace" ef7d85:8fdf567cd9564e189654284877e773d6
2023-09-04T10:40:51.9923974Z INFO: Scanner configuration file: /opt/sonar-scanner/conf/sonar-scanner.properties
2023-09-04T10:40:51.9936222Z INFO: Project root configuration file: /github/workspace/sonar-project.properties
2023-09-04T10:40:52.0205732Z INFO: SonarScanner 5.0.1.3006
2023-09-04T10:40:52.0211895Z INFO: Java 17.0.8 Alpine (64-bit)
2023-09-04T10:40:52.0226867Z INFO: Linux 5.15.0-1041-azure amd64
2023-09-04T10:40:52.2657293Z INFO: User cache: /opt/sonar-scanner/.sonar/cache
2023-09-04T10:40:55.5739629Z INFO: Analyzing on SonarCloud
2023-09-04T10:40:55.5744886Z INFO: Default locale: "en_US", source code encoding: "UTF-8" (analysis is platform dependent)
2023-09-04T10:40:55.9796127Z INFO: Load global settings
2023-09-04T10:40:56.3452114Z INFO: Load global settings (done) | time=368ms
2023-09-04T10:40:56.3488093Z INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu
2023-09-04T10:40:56.3587238Z INFO: User cache: /opt/sonar-scanner/.sonar/cache
2023-09-04T10:40:56.3644560Z INFO: Load/download plugins
2023-09-04T10:40:56.3644953Z INFO: Load plugins index
2023-09-04T10:40:56.7429535Z INFO: Load plugins index (done) | time=379ms
2023-09-04T10:40:58.8556220Z INFO: Load/download plugins (done) | time=2492ms
2023-09-04T10:40:59.5238903Z INFO: Loaded core extensions: developer-scanner
2023-09-04T10:40:59.9549526Z INFO: Found an active CI vendor: 'Github Actions'
2023-09-04T10:40:59.9647844Z INFO: Load project settings for component key: '******-******'
2023-09-04T10:41:00.3595332Z INFO: Load project settings for component key: '******-******' (done) | time=394ms
2023-09-04T10:41:00.3645502Z INFO: Process project properties
2023-09-04T10:41:00.3734493Z INFO: Execute project builders
2023-09-04T10:41:00.3793471Z INFO: Execute project builders (done) | time=6ms
2023-09-04T10:41:00.3824305Z INFO: Project key: ******-******
2023-09-04T10:41:00.3830207Z INFO: Base dir: /github/workspace
2023-09-04T10:41:00.3835935Z INFO: Working dir: /github/workspace/.scannerwork
2023-09-04T10:41:00.4483194Z INFO: Load project branches
2023-09-04T10:41:00.7968193Z INFO: Load project branches (done) | time=349ms
2023-09-04T10:41:00.7998204Z INFO: Check ALM binding of project '******-******'
2023-09-04T10:41:01.1305313Z INFO: Detected project binding: BOUND
2023-09-04T10:41:01.1312094Z INFO: Check ALM binding of project '******-******' (done) | time=331ms
2023-09-04T10:41:01.1334062Z INFO: Load project pull requests
2023-09-04T10:41:01.7926865Z INFO: Load project pull requests (done) | time=659ms
2023-09-04T10:41:01.7980314Z INFO: Load branch configuration
2023-09-04T10:41:01.8007521Z INFO: Github event: pull_request
2023-09-04T10:41:01.8091541Z INFO: Auto-configuring pull request 287
2023-09-04T10:41:02.8852196Z INFO: Load branch configuration (done) | time=1087ms
2023-09-04T10:41:02.9169687Z INFO: Load quality profiles
2023-09-04T10:41:03.3603760Z INFO: Load quality profiles (done) | time=443ms
2023-09-04T10:41:03.3654828Z INFO: Load active rules
2023-09-04T10:41:15.6438834Z INFO: Load active rules (done) | time=12279ms
2023-09-04T10:41:15.6810088Z INFO: Organization key: ******
2023-09-04T10:41:15.6820651Z INFO: Pull request 287 for merge into production from fs_change_structure_of_rights
2023-09-04T10:41:15.7067049Z INFO: Load project repositories
2023-09-04T10:41:16.6304644Z INFO: Load project repositories (done) | time=923ms
2023-09-04T10:41:16.6318509Z INFO: SCM collecting changed files in the branch
2023-09-04T10:41:16.8557047Z INFO: SCM collecting changed files in the branch (done) | time=224ms
2023-09-04T10:41:16.8865602Z INFO: Indexing files...
2023-09-04T10:41:16.8873100Z INFO: Project configuration:
2023-09-04T10:41:16.8886792Z INFO:   Excluded sources: **/build-wrapper-dump.json, backend/packages/**/lib/**/*, backend/packages/**/locales/**/*, backend/packages/**/spec/**/*, frontend/**/__tests__/**/*, frontend/**/*.d.ts, backend/packages/**/spec/**/*_spec.rb, frontend/**/__tests__/**/*
2023-09-04T10:41:16.8893488Z INFO:   Included tests: backend/packages/**/spec/**/*_spec.rb, frontend/**/__tests__/**/*
2023-09-04T10:41:16.8902065Z INFO:   Excluded sources for coverage: frontend/packages/action-status/src/store.ts
2023-09-04T10:41:16.8908339Z INFO:   Excluded sources for duplication: frontend/**/__tests__/**/*, frontend/apps/web/src/routes/index.ts
2023-09-04T10:41:17.6811695Z INFO: 537 files indexed
2023-09-04T10:41:17.6820927Z INFO: 562 files ignored because of inclusion/exclusion patterns
2023-09-04T10:41:17.6826913Z INFO: 0 files ignored because of scm ignore settings
2023-09-04T10:41:17.6840278Z INFO: Quality profile for css: Sonar way
2023-09-04T10:41:17.6845931Z INFO: Quality profile for js: Sonar way
2023-09-04T10:41:17.6852005Z INFO: Quality profile for ruby: Sonar way
2023-09-04T10:41:17.6857529Z INFO: Quality profile for ts: Sonar way
2023-09-04T10:41:17.6862774Z INFO: Quality profile for yaml: Sonar way
2023-09-04T10:41:17.8702959Z INFO: ------------- Run sensors on module ******
2023-09-04T10:41:18.0917311Z INFO: Load metrics repository
2023-09-04T10:41:18.4546192Z INFO: Load metrics repository (done) | time=363ms
2023-09-04T10:41:18.4933368Z INFO: Sensor cache enabled
2023-09-04T10:41:18.4984179Z INFO: Load sensor cache
2023-09-04T10:41:19.9742858Z INFO: Load sensor cache (338 KB) | time=1476ms
2023-09-04T10:41:22.5109129Z INFO: Sensor IaC CloudFormation Sensor [iac]
2023-09-04T10:41:22.5331038Z INFO: 0 source files to be analyzed
2023-09-04T10:41:22.5421156Z INFO: 0/0 source files have been analyzed
2023-09-04T10:41:22.5421903Z INFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=31ms
2023-09-04T10:41:22.5427956Z INFO: Sensor IaC Kubernetes Sensor [iac]
2023-09-04T10:41:22.5486004Z INFO: 0 source files to be analyzed
2023-09-04T10:41:22.5504667Z INFO: 0/0 source files have been analyzed
2023-09-04T10:41:22.5505431Z INFO: Sensor IaC Kubernetes Sensor [iac] (done) | time=8ms
2023-09-04T10:41:22.5512146Z INFO: Sensor C# Project Type Information [csharp]
2023-09-04T10:41:22.5560664Z INFO: Sensor C# Project Type Information [csharp] (done) | time=5ms
2023-09-04T10:41:22.5564620Z INFO: Sensor C# Analysis Log [csharp]
2023-09-04T10:41:22.5690000Z INFO: Sensor C# Analysis Log [csharp] (done) | time=13ms
2023-09-04T10:41:22.5697059Z INFO: Sensor C# Properties [csharp]
2023-09-04T10:41:22.5698527Z INFO: Sensor C# Properties [csharp] (done) | time=0ms
2023-09-04T10:41:22.5703004Z INFO: Sensor HTML [web]
2023-09-04T10:41:22.5705019Z INFO: Sensor HTML is restricted to changed files only
2023-09-04T10:41:22.5748888Z INFO: Sensor HTML [web] (done) | time=4ms
2023-09-04T10:41:22.5756964Z INFO: Sensor TextAndSecretsSensor [text]
2023-09-04T10:41:22.5757498Z INFO: Sensor TextAndSecretsSensor is restricted to changed files only
2023-09-04T10:41:23.0317099Z INFO: 63 source files to be analyzed
2023-09-04T10:41:23.1682438Z INFO: 63/63 source files have been analyzed
2023-09-04T10:41:23.1688221Z INFO: Sensor TextAndSecretsSensor [text] (done) | time=593ms
2023-09-04T10:41:23.1698388Z INFO: Sensor VB.NET Project Type Information [vbnet]
2023-09-04T10:41:23.1714271Z INFO: Sensor VB.NET Project Type Information [vbnet] (done) | time=2ms
2023-09-04T10:41:23.1719144Z INFO: Sensor VB.NET Analysis Log [vbnet]
2023-09-04T10:41:23.1846892Z INFO: Sensor VB.NET Analysis Log [vbnet] (done) | time=13ms
2023-09-04T10:41:23.1851631Z INFO: Sensor VB.NET Properties [vbnet]
2023-09-04T10:41:23.1855581Z INFO: Sensor VB.NET Properties [vbnet] (done) | time=1ms
2023-09-04T10:41:23.1865927Z INFO: Sensor JaCoCo XML Report Importer [jacoco]
2023-09-04T10:41:23.1878813Z INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
2023-09-04T10:41:23.1887285Z INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
2023-09-04T10:41:23.1896195Z INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms
2023-09-04T10:41:23.1901117Z INFO: Sensor JavaScript/TypeScript analysis [javascript]
2023-09-04T10:41:27.6685464Z INFO: Found 8 tsconfig.json file(s): [/github/workspace/frontend/apps/web/tsconfig.json, /github/workspace/frontend/packages/ui/tsconfig.json, /github/workspace/frontend/packages/action-status/tsconfig.json, /github/workspace/frontend/packages/locale/tsconfig.json, /github/workspace/frontend/packages/jsonapi/tsconfig.json, /github/workspace/frontend/packages/api/tsconfig.json, /github/workspace/frontend/packages/loading/tsconfig.json, /github/workspace/frontend/apps/web/tests/tsconfig.json]
2023-09-04T10:41:27.9302055Z INFO: Analyzing 75 files using tsconfig: /github/workspace/frontend/apps/web/tsconfig.app.json
2023-09-04T10:41:27.9365714Z INFO: 199 source files to be analyzed
2023-09-04T10:41:28.1856481Z INFO: Analyzing 7 files using tsconfig: /github/workspace/frontend/packages/action-status/tsconfig.vitest.json
2023-09-04T10:41:28.2008192Z INFO: Analyzing 21 files using tsconfig: /github/workspace/frontend/packages/ui/tsconfig.app.json
2023-09-04T10:41:28.2471560Z INFO: Analyzing 42 files using tsconfig: /github/workspace/frontend/apps/web/tsconfig.vitest.json
2023-09-04T10:41:28.3376737Z INFO: Analyzing 7 files using tsconfig: /github/workspace/frontend/packages/jsonapi/tsconfig.vitest.json
2023-09-04T10:41:28.3517976Z INFO: Analyzing 2 files using tsconfig: /github/workspace/frontend/packages/locale/tsconfig.vitest.json
2023-09-04T10:41:28.3572632Z INFO: Analyzing 8 files using tsconfig: /github/workspace/frontend/packages/jsonapi/tsconfig.app.json
2023-09-04T10:41:28.3843633Z INFO: Analyzing 9 files using tsconfig: /github/workspace/frontend/packages/api/tsconfig.app.json
2023-09-04T10:41:28.4045024Z INFO: Analyzing 9 files using tsconfig: /github/workspace/frontend/packages/action-status/tsconfig.app.json
2023-09-04T10:41:28.4227788Z INFO: Analyzing 6 files using tsconfig: /github/workspace/frontend/packages/ui/tsconfig.vitest.json
2023-09-04T10:41:28.4341478Z INFO: Analyzing 8 files using tsconfig: /github/workspace/frontend/packages/api/tsconfig.vitest.json
2023-09-04T10:41:28.4484194Z INFO: Analyzing 3 files using tsconfig: /github/workspace/frontend/packages/locale/tsconfig.app.json
2023-09-04T10:41:28.4553726Z INFO: Analyzing 2 files using tsconfig: /github/workspace/frontend/packages/loading/tsconfig.app.json
2023-09-04T10:41:28.4606947Z INFO: 199/199 source files have been analyzed
2023-09-04T10:41:28.4609869Z INFO: Hit the cache for 199 out of 199
2023-09-04T10:41:28.4623600Z INFO: Miss the cache for 0 out of 199
2023-09-04T10:41:28.4625742Z INFO: Sensor JavaScript/TypeScript analysis [javascript] (done) | time=5273ms
2023-09-04T10:41:28.4632459Z INFO: Sensor JavaScript inside YAML analysis [javascript]
2023-09-04T10:41:28.4652768Z INFO: No input files found for analysis
2023-09-04T10:41:28.4658365Z INFO: Hit the cache for 0 out of 0
2023-09-04T10:41:28.4660118Z INFO: Miss the cache for 0 out of 0
2023-09-04T10:41:28.4661936Z INFO: Sensor JavaScript inside YAML analysis [javascript] (done) | time=3ms
2023-09-04T10:41:28.4668214Z INFO: Sensor CSS Rules [javascript]
2023-09-04T10:41:28.4669960Z INFO: Sensor CSS Rules is restricted to changed files only
2023-09-04T10:41:28.4683620Z INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
2023-09-04T10:41:28.4684240Z INFO: Sensor CSS Rules [javascript] (done) | time=1ms
2023-09-04T10:41:28.4689155Z INFO: Sensor JavaScript/TypeScript Coverage [javascript]
2023-09-04T10:41:29.3229711Z INFO: Analysing [/github/workspace/coverage/frontend-coverage/apps/web/coverage/lcov.info, /github/workspace/coverage/frontend-coverage/packages/ui/test-results/coverage/lcov.info, /github/workspace/coverage/frontend-coverage/packages/ui/coverage/lcov.info, /github/workspace/coverage/frontend-coverage/packages/action-status/coverage/lcov.info, /github/workspace/coverage/frontend-coverage/packages/locale/coverage/lcov.info, /github/workspace/coverage/frontend-coverage/packages/jsonapi/coverage/lcov.info, /github/workspace/coverage/frontend-coverage/packages/api/coverage/lcov.info, /github/workspace/coverage/frontend-coverage/packages/loading/coverage/lcov.info, /github/workspace/coverage/e2e-coverage/lcov.info]
2023-09-04T10:41:29.4940161Z INFO: Sensor JavaScript/TypeScript Coverage [javascript] (done) | time=1025ms
2023-09-04T10:41:29.4956838Z INFO: Sensor CSS Metrics [javascript]
2023-09-04T10:41:29.4957392Z INFO: Sensor CSS Metrics is restricted to changed files only
2023-09-04T10:41:29.4963238Z INFO: Sensor CSS Metrics [javascript] (done) | time=2ms
2023-09-04T10:41:29.4977687Z INFO: Sensor Ruby Sensor [ruby]
2023-09-04T10:41:29.5192948Z INFO: Sensor Ruby Sensor is restricted to changed files only
2023-09-04T10:41:29.5193443Z INFO: 6 source files to be analyzed
2023-09-04T10:41:30.3607804Z java.io.IOException: Resource not found: "org/joda/time/tz/data/ZoneInfoMap" ClassLoader: ClassRealm{ruby}
2023-09-04T10:41:30.3610575Z 	at org.joda.time.tz.ZoneInfoProvider.openResource(ZoneInfoProvider.java:225)
2023-09-04T10:41:30.3611365Z 	at org.joda.time.tz.ZoneInfoProvider.<init>(ZoneInfoProvider.java:138)
2023-09-04T10:41:30.3612072Z 	at org.joda.time.tz.ZoneInfoProvider.<init>(ZoneInfoProvider.java:97)
2023-09-04T10:41:30.3612843Z 	at org.joda.time.DateTimeZone.getDefaultProvider(DateTimeZone.java:555)
2023-09-04T10:41:30.3613499Z 	at org.joda.time.DateTimeZone.getProvider(DateTimeZone.java:449)
2023-09-04T10:41:30.3614129Z 	at org.joda.time.DateTimeZone.forID(DateTimeZone.java:234)
2023-09-04T10:41:30.3614764Z 	at org.joda.time.DateTimeZone.getDefault(DateTimeZone.java:169)
2023-09-04T10:41:30.3615513Z 	at org.joda.time.chrono.ISOChronology.getInstance(ISOChronology.java:79)
2023-09-04T10:41:30.3616208Z 	at org.joda.time.base.BaseDateTime.<init>(BaseDateTime.java:97)
2023-09-04T10:41:30.3616779Z 	at org.joda.time.DateTime.<init>(DateTime.java:209)
2023-09-04T10:41:30.3617473Z 	at org.jruby.util.log.OutputStreamLogger.formatMessage(OutputStreamLogger.java:146)
2023-09-04T10:41:30.3618323Z 	at org.jruby.util.log.StandardErrorLogger.write(StandardErrorLogger.java:58)
2023-09-04T10:41:30.3619066Z 	at org.jruby.util.log.OutputStreamLogger.warn(OutputStreamLogger.java:67)
2023-09-04T10:41:30.3628015Z 	at org.jruby.util.io.FilenoUtil$ReflectiveAccess.<clinit>(FilenoUtil.java:278)
2023-09-04T10:41:30.3629076Z 	at org.jruby.util.io.FilenoUtil.getFilenoUsingReflection(FilenoUtil.java:143)
2023-09-04T10:41:30.3629783Z 	at org.jruby.util.io.FilenoUtil.filenoFrom(FilenoUtil.java:139)
2023-09-04T10:41:30.3630533Z 	at org.jruby.util.io.ChannelFD.initFileno(ChannelFD.java:51)
2023-09-04T10:41:30.3631150Z 	at org.jruby.util.io.ChannelFD.<init>(ChannelFD.java:37)
2023-09-04T10:41:30.3631730Z 	at org.jruby.util.io.ChannelFD.<init>(ChannelFD.java:47)
2023-09-04T10:41:30.3632357Z 	at org.jruby.util.io.OpenFile.setChannel(OpenFile.java:195)
2023-09-04T10:41:30.3632961Z 	at org.jruby.RubyIO.prepIO(RubyIO.java:263)
2023-09-04T10:41:30.3633496Z 	at org.jruby.RubyIO.prepStdio(RubyIO.java:192)
2023-09-04T10:41:30.3634086Z 	at org.jruby.RubyGlobal.initSTDIO(RubyGlobal.java:314)
2023-09-04T10:41:30.3634705Z 	at org.jruby.RubyGlobal.createGlobals(RubyGlobal.java:228)
2023-09-04T10:41:30.3635226Z 	at org.jruby.Ruby.<init>(Ruby.java:513)
2023-09-04T10:41:30.3635726Z 	at org.jruby.Ruby.newInstance(Ruby.java:716)
2023-09-04T10:41:30.3636382Z 	at org.jruby.javasupport.JavaEmbedUtils.initialize(JavaEmbedUtils.java:79)
2023-09-04T10:41:30.3637170Z 	at org.jruby.javasupport.JavaEmbedUtils.initialize(JavaEmbedUtils.java:69)
2023-09-04T10:41:30.3638083Z 	at org.sonarsource.ruby.converter.RubyConverter.initializeRubyRuntime(RubyConverter.java:182)
2023-09-04T10:41:30.3638945Z 	at org.sonarsource.ruby.converter.RubyConverter.<init>(RubyConverter.java:75)
2023-09-04T10:41:30.3639698Z 	at org.sonarsource.ruby.converter.RubyConverter.<init>(RubyConverter.java:82)
2023-09-04T10:41:30.3640484Z 	at org.sonarsource.ruby.plugin.RubySensor.astConverter(RubySensor.java:45)
2023-09-04T10:41:30.3641492Z 	at org.sonarsource.slang.plugin.SlangSensor.execute(SlangSensor.java:201)
2023-09-04T10:41:30.3642331Z 	at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:62)
2023-09-04T10:41:30.3643233Z 	at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:75)
2023-09-04T10:41:30.3711363Z 	at org.sonar.scanner.sensor.ModuleSensorsExecutor.lambda$execute$1(ModuleSensorsExecutor.java:48)
2023-09-04T10:41:30.3712343Z 	at org.sonar.scanner.sensor.ModuleSensorsExecutor.withModuleStrategy(ModuleSensorsExecutor.java:66)
2023-09-04T10:41:30.3713111Z 	at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:48)
2023-09-04T10:41:30.3713825Z 	at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:64)
2023-09-04T10:41:30.3714536Z 	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
2023-09-04T10:41:30.3715228Z 	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
2023-09-04T10:41:30.3724316Z 	at org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer.java:468)
2023-09-04T10:41:30.3725080Z 	at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:464)
2023-09-04T10:41:30.3725831Z 	at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:420)
2023-09-04T10:41:30.3726561Z 	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
2023-09-04T10:41:30.3727251Z 	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
2023-09-04T10:41:30.3727922Z 	at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart(GlobalContainer.java:128)
2023-09-04T10:41:30.3776610Z 	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
2023-09-04T10:41:30.3777338Z 	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
2023-09-04T10:41:30.3777927Z 	at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:57)
2023-09-04T10:41:30.3778463Z 	at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:51)
2023-09-04T10:41:30.3779391Z 	at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
2023-09-04T10:41:30.3780162Z 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2023-09-04T10:41:30.3780872Z 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
2023-09-04T10:41:30.3781666Z 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2023-09-04T10:41:30.3782291Z 	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
2023-09-04T10:41:30.3783003Z 	at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
2023-09-04T10:41:30.3783610Z 	at jdk.proxy1/jdk.proxy1.$Proxy0.execute(Unknown Source)
2023-09-04T10:41:30.3784168Z 	at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
2023-09-04T10:41:30.3784831Z 	at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
2023-09-04T10:41:30.3816394Z 	at org.sonarsource.scanner.cli.Main.execute(Main.java:126)
2023-09-04T10:41:30.3817010Z 	at org.sonarsource.scanner.cli.Main.execute(Main.java:81)
2023-09-04T10:41:30.3817494Z 	at org.sonarsource.scanner.cli.Main.main(Main.java:62)

@Colin are the logs helpful? Please reach out to me, in case you need anything else, happy to support :pray:

+1, I too just encountered this error in GitHub Actions. Logs, for comparison/additional bug identification:

Run sonarsource/sonarqube-scan-action@master
  with:
    projectBaseDir: /github/workspace/backend
    args: -Dsonar.projectKey=[REDACTED]
  
  env:
    BRANCH_NAME: [REDACTED]
    TAG: [REDACTED]
    REGION: us-east-1
    CLUSTER_NAME: [REDACTED]
    pythonLocation: /opt/hostedtoolcache/Python/3.7.17/x64
    SONAR_TOKEN: ***
    SONAR_HOST_URL: ***
/usr/bin/docker run --name [REDACTED] --label [REDACTED] --workdir /github/workspace --rm -e "BRANCH_NAME" -e "TAG" -e "REGION" -e "CLUSTER_NAME" -e "pythonLocation" -e "SONAR_TOKEN" -e "SONAR_HOST_URL" -e "INPUT_PROJECTBASEDIR" -e "INPUT_ARGS" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e "ACTIONS_ID_TOKEN_REQUEST_URL" -e "ACTIONS_ID_TOKEN_REQUEST_TOKEN" -e GITHUB_ACTIONS=true -e CI=true --entrypoint "/entrypoint.sh" -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/[REDACTED]/[REDACTED]":"/github/workspace" [REDACTED]:[REDACTED] -Dsonar.projectKey=[REDACTED]
INFO: Scanner configuration file: /opt/sonar-scanner/conf/sonar-scanner.properties
INFO: Project root configuration file: /github/workspace/backend/sonar-project.properties
INFO: SonarScanner 5.0.1.3006
INFO: Java 17.0.8 Alpine (64-bit)
INFO: Linux 5.15.0-1041-azure amd64
INFO: User cache: /opt/sonar-scanner/.sonar/cache
INFO: Analyzing on SonarQube server 9.9.2.77730
INFO: Default locale: "en_US", source code encoding: "UTF-8" (analysis is platform dependent)
INFO: Load global settings
INFO: Load global settings (done) | time=359ms
INFO: Server id: 5E88ACF1-AYck0lJi8l5B-4CkmToh
INFO: User cache: /opt/sonar-scanner/.sonar/cache
INFO: Load/download plugins
INFO: Load plugins index
INFO: Load plugins index (done) | time=94ms
INFO: Load/download plugins (done) | time=5787ms
INFO: Loaded core extensions: developer-scanner
INFO: Process project properties
INFO: Process project properties (done) | time=11ms
INFO: Execute project builders
INFO: Execute project builders (done) | time=3ms
INFO: Project key: [REDACTED]
INFO: Base dir: /github/workspace/backend
INFO: Working dir: /github/workspace/backend/.scannerwork
INFO: Load project settings for component key: '[REDACTED]'
INFO: Load project settings for component key: '[REDACTED]' (done) | time=65ms
INFO: Load project branches
INFO: Load project branches (done) | time=58ms
INFO: Load branch configuration
INFO: Detected branch/PR in 'GitHub Action'
INFO: Auto-configuring pull request '208'
INFO: Load branch configuration (done) | time=6ms
INFO: Auto-configuring with CI 'Github Actions'
INFO: Load quality profiles
INFO: Load quality profiles (done) | time=98ms
INFO: Load active rules
INFO: Load active rules (done) | time=2959ms
INFO: Load analysis cache
INFO: Load analysis cache (404) | time=47ms
INFO: Pull request 208 for merge into [REDACTED]
INFO: Load project repositories
INFO: Load project repositories (done) | time=75ms
INFO: SCM collecting changed files in the branch
INFO: Merge base sha1: [REDACTED]
INFO: SCM collecting changed files in the branch (done) | time=263ms
INFO: Indexing files...
INFO: Project configuration:
INFO:   Excluded sources for duplication: spec/, lib/, config/
INFO: 1071 files indexed
INFO: 0 files ignored because of scm ignore settings
INFO: Quality profile for css: Sonar way
INFO: Quality profile for js: Sonar way
INFO: Quality profile for ruby: Sonar way
INFO: Quality profile for ts: Sonar way
INFO: Quality profile for web: Sonar way
INFO: ------------- Run sensors on module [REDACTED]
INFO: Load metrics repository
INFO: Load metrics repository (done) | time=79ms
INFO: Sensor C# Project Type Information [csharp]
INFO: Sensor C# Project Type Information [csharp] (done) | time=6ms
INFO: Sensor C# Analysis Log [csharp]
INFO: Sensor C# Analysis Log [csharp] (done) | time=14ms
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (done) | time=0ms
INFO: Sensor HTML [web]
INFO: Sensor HTML is restricted to changed files only
INFO: Sensor HTML [web] (done) | time=107ms
INFO: Sensor TextAndSecretsSensor [text]
INFO: Sensor TextAndSecretsSensor is restricted to changed files only
INFO: 8 source files to be analyzed
INFO: 8/8 source files have been analyzed
INFO: Sensor TextAndSecretsSensor [text] (done) | time=286ms
INFO: Sensor VB.NET Project Type Information [vbnet]
INFO: Sensor VB.NET Project Type Information [vbnet] (done) | time=5ms
INFO: Sensor VB.NET Analysis Log [vbnet]
INFO: Sensor VB.NET Analysis Log [vbnet] (done) | time=26ms
INFO: Sensor VB.NET Properties [vbnet]
INFO: Sensor VB.NET Properties [vbnet] (done) | time=1ms
INFO: Sensor JaCoCo XML Report Importer [jacoco]
INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=26ms
INFO: Sensor JavaScript analysis [javascript]
INFO: 8 source files to be analyzed
INFO: 8/8 source files have been analyzed
INFO: Hit the cache for 0 out of 8
INFO: Miss the cache for 8 out of 8: FILE_CHANGED [8/8]
INFO: Sensor JavaScript analysis [javascript] (done) | time=7362ms
INFO: Sensor TypeScript analysis [javascript]
INFO: Found 1 tsconfig.json file(s): [/github/workspace/backend/tsconfig.json]
INFO: Creating TypeScript program
INFO: TypeScript configuration file /github/workspace/backend/tsconfig.json
INFO: 35 source files to be analyzed
INFO: Creating TypeScript program (done) | time=553ms
INFO: Starting analysis with current program
INFO: Analyzed 35 file(s) with current program
INFO: 35/35 source files have been analyzed
INFO: Hit the cache for 0 out of 35
INFO: Miss the cache for 35 out of 35: FILE_CHANGED [35/35]
INFO: Sensor TypeScript analysis [javascript] (done) | time=2585ms
INFO: Sensor CSS Rules [javascript]
INFO: Sensor CSS Rules is restricted to changed files only
INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
INFO: Sensor CSS Rules [javascript] (done) | time=2ms
INFO: Sensor CSS Metrics [javascript]
INFO: Sensor CSS Metrics is restricted to changed files only
INFO: Sensor CSS Metrics [javascript] (done) | time=1ms
INFO: Sensor Ruby Sensor [ruby]
INFO: Sensor Ruby Sensor is restricted to changed files only
INFO: 8 source files to be analyzed
java.io.IOException: Resource not found: "org/joda/time/tz/data/ZoneInfoMap" ClassLoader: ClassRealm{ruby}
	at org.joda.time.tz.ZoneInfoProvider.openResource(ZoneInfoProvider.java:225)
	at org.joda.time.tz.ZoneInfoProvider.<init>(ZoneInfoProvider.java:138)
	at org.joda.time.tz.ZoneInfoProvider.<init>(ZoneInfoProvider.java:97)
	at org.joda.time.DateTimeZone.getDefaultProvider(DateTimeZone.java:555)
	at org.joda.time.DateTimeZone.getProvider(DateTimeZone.java:449)
	at org.joda.time.DateTimeZone.forID(DateTimeZone.java:234)
	at org.joda.time.DateTimeZone.getDefault(DateTimeZone.java:169)
	at org.joda.time.chrono.ISOChronology.getInstance(ISOChronology.java:79)
	at org.joda.time.base.BaseDateTime.<init>(BaseDateTime.java:97)
	at org.joda.time.DateTime.<init>(DateTime.java:209)
	at org.jruby.util.log.OutputStreamLogger.formatMessage(OutputStreamLogger.java:146)
	at org.jruby.util.log.StandardErrorLogger.write(StandardErrorLogger.java:58)
	at org.jruby.util.log.OutputStreamLogger.warn(OutputStreamLogger.java:67)
	at org.jruby.util.io.FilenoUtil$ReflectiveAccess.<clinit>(FilenoUtil.java:278)
	at org.jruby.util.io.FilenoUtil.getFilenoUsingReflection(FilenoUtil.java:143)
	at org.jruby.util.io.FilenoUtil.filenoFrom(FilenoUtil.java:139)
	at org.jruby.util.io.ChannelFD.initFileno(ChannelFD.java:51)
	at org.jruby.util.io.ChannelFD.<init>(ChannelFD.java:37)
	at org.jruby.util.io.ChannelFD.<init>(ChannelFD.java:47)
	at org.jruby.util.io.OpenFile.setChannel(OpenFile.java:195)
	at org.jruby.RubyIO.prepIO(RubyIO.java:263)
	at org.jruby.RubyIO.prepStdio(RubyIO.java:192)
	at org.jruby.RubyGlobal.initSTDIO(RubyGlobal.java:314)
	at org.jruby.RubyGlobal.createGlobals(RubyGlobal.java:228)
	at org.jruby.Ruby.<init>(Ruby.java:513)
	at org.jruby.Ruby.newInstance(Ruby.java:716)
	at org.jruby.javasupport.JavaEmbedUtils.initialize(JavaEmbedUtils.java:79)
	at org.jruby.javasupport.JavaEmbedUtils.initialize(JavaEmbedUtils.java:69)
	at org.sonarsource.ruby.converter.RubyConverter.initializeRubyRuntime(RubyConverter.java:182)
	at org.sonarsource.ruby.converter.RubyConverter.<init>(RubyConverter.java:75)
	at org.sonarsource.ruby.converter.RubyConverter.<init>(RubyConverter.java:82)
	at org.sonarsource.ruby.plugin.RubySensor.astConverter(RubySensor.java:45)
	at org.sonarsource.slang.plugin.SlangSensor.execute(SlangSensor.java:201)
	at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:64)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:88)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.lambda$execute$1(ModuleSensorsExecutor.java:61)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.withModuleStrategy(ModuleSensorsExecutor.java:79)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:61)
	at org.sonar.scanner.scan.SpringModuleScanContainer.doAfterStart(SpringModuleScanContainer.java:82)
	at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:188)
	at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:167)
	at org.sonar.scanner.scan.SpringProjectScanContainer.scan(SpringProjectScanContainer.java:403)
	at org.sonar.scanner.scan.SpringProjectScanContainer.scanRecursively(SpringProjectScanContainer.java:399)
	at org.sonar.scanner.scan.SpringProjectScanContainer.doAfterStart(SpringProjectScanContainer.java:368)
	at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:188)
	at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:167)
	at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:137)
	at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:188)
	at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:167)
	at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:72)
	at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:66)
	at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
	at jdk.proxy1/jdk.proxy1.$Proxy0.execute(Unknown Source)
	at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
	at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
	at org.sonarsource.scanner.cli.Main.execute(Main.java:126)
	at org.sonarsource.scanner.cli.Main.execute(Main.java:81)
	at org.sonarsource.scanner.cli.Main.main(Main.java:62)
2023-09-12T17:19:34.169Z [main] WARN FilenoUtil : Native subprocess control requires open access to the JDK IO subsystem
Pass '--add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED' to enable.
INFO: 8/8 source files have been analyzed
INFO: Sensor Ruby Sensor [ruby] (done) | time=5411ms
INFO: Sensor SimpleCov Sensor for Ruby coverage [ruby]
INFO: Sensor SimpleCov Sensor for Ruby coverage [ruby] (done) | time=2ms
INFO: Sensor ThymeLeaf template sensor [securityjavafrontend]
INFO: Sensor ThymeLeaf template sensor [securityjavafrontend] (done) | time=3ms
INFO: Sensor IaC Docker Sensor [iac]
INFO: Sensor IaC Docker Sensor is restricted to changed files only
INFO: 0 source files to be analyzed
INFO: 0/0 source files have been analyzed
INFO: Sensor IaC Docker Sensor [iac] (done) | time=86ms
INFO: Sensor Serverless configuration file sensor [security]
INFO: 0 Serverless function entries were found in the project
INFO: 0 Serverless function handlers were kept as entrypoints
INFO: Sensor Serverless configuration file sensor [security] (done) | time=6ms
INFO: Sensor AWS SAM template file sensor [security]
INFO: Sensor AWS SAM template file sensor [security] (done) | time=1ms
INFO: Sensor AWS SAM Inline template file sensor [security]
INFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=1ms
INFO: Sensor javabugs [dbd]
INFO: Reading IR files from: /github/workspace/backend/.scannerwork/ir/java
INFO: No IR files have been included for analysis.
INFO: Sensor javabugs [dbd] (done) | time=2ms
INFO: Sensor pythonbugs [dbd]
INFO: Reading IR files from: /github/workspace/backend/.scannerwork/ir/python
INFO: No IR files have been included for analysis.
INFO: Sensor pythonbugs [dbd] (done) | time=3ms
INFO: Sensor JavaSecuritySensor [security]
INFO: Reading type hierarchy from: /github/workspace/backend/.scannerwork/ucfg2/java
INFO: Read 0 type definitions
INFO: No UCFGs have been included for analysis.
INFO: Sensor JavaSecuritySensor [security] (done) | time=4ms
INFO: Sensor CSharpSecuritySensor [security]
INFO: Reading type hierarchy from: /github/workspace/backend/ucfg_cs2
INFO: Read 0 type definitions
INFO: No UCFGs have been included for analysis.
INFO: Sensor CSharpSecuritySensor [security] (done) | time=1ms
INFO: Sensor PhpSecuritySensor [security]
INFO: Reading type hierarchy from: /github/workspace/backend/.scannerwork/ucfg2/php
INFO: Read 0 type definitions
INFO: No UCFGs have been included for analysis.
INFO: Sensor PhpSecuritySensor [security] (done) | time=1ms
INFO: Sensor PythonSecuritySensor [security]
INFO: Reading type hierarchy from: /github/workspace/backend/.scannerwork/ucfg2/python
INFO: Read 0 type definitions
INFO: No UCFGs have been included for analysis.
INFO: Sensor PythonSecuritySensor [security] (done) | time=2ms
INFO: Sensor JsSecuritySensor [security]
INFO: Reading type hierarchy from: /github/workspace/backend/.scannerwork/ucfg2/js
INFO: Read 0 type definitions
INFO: Reading UCFGs from: /github/workspace/backend/.scannerwork/ucfg2/js
INFO: 17:19:39.047332574 Building Runtime Type propagation graph
INFO: 17:19:39.082096058 Running Tarjan on 1358 nodes
INFO: 17:19:39.092990905 Tarjan found 1358 components
INFO: 17:19:39.104102867 Variable type analysis: done
INFO: 17:19:39.107145876 Building Runtime Type propagation graph
INFO: 17:19:39.129106982 Running Tarjan on 1358 nodes
INFO: 17:19:39.131503247 Tarjan found 1358 components
INFO: 17:19:39.134489252 Variable type analysis: done
INFO: Analyzing 207 ucfgs to detect vulnerabilities.
INFO: Taint analysis starting. Entrypoints: 44
INFO: Running symbolic analysis for 'JS'
INFO: Taint analysis: done.
INFO: Sensor JsSecuritySensor [security] (done) | time=1922ms
INFO: ------------- Run sensors on project
INFO: Sensor Analysis Warnings import [csharp]
INFO: Sensor Analysis Warnings import [csharp] (done) | time=1ms
INFO: Sensor Zero Coverage Sensor
INFO: Sensor Zero Coverage Sensor (done) | time=38ms
INFO: SCM Publisher SCM provider for this project is: git
INFO: SCM Publisher 8 source files to be analyzed
INFO: SCM Publisher 8/8 source files have been analyzed (done) | time=202ms
INFO: CPD Executor 13 files had no CPD blocks
INFO: CPD Executor Calculating CPD for 38 files
INFO: CPD Executor CPD calculation finished (done) | time=31ms
INFO: SCM writing changed lines
INFO: Merge base sha1: [REDACTED]
INFO: SCM writing changed lines (done) | time=140ms
INFO: Analysis report generated in 402ms, dir size=313.9 kB
INFO: Analysis report compressed in 425ms, zip size=266.5 kB
INFO: Analysis report uploaded in 328ms
INFO: ANALYSIS SUCCESSFUL, you can find the results at: ***dashboard?id=[REDACTED]&pullRequest=208
INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
INFO: More about the report processing at ***api/ce/task?id=AYqKZ_BFLoG77O45BdB3
INFO: Time spent writing ucfgs 299ms
INFO: Analysis total time: 34.443 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 43.819s
INFO: Final Memory: 91M/303M
INFO: ------------------------------------------------------------------------
1 Like

Hi Jacob! Good to see you again!

I just wanted to add to this by saying that I’m seeing the same thing with the Docker version of SonarQube, analyzing on SonarQube server 9.9.1.69595, and yes, using Java 17. I’ll post my details elsewhere since we’re not using SonarCloud. It’s good to note, however, that the same thing crops up in multiple products.

1 Like

I’d like to call everyone’s attention to the line immediately following the exception message:

[main] WARN FilenoUtil : Native subprocess control requires open access to the JDK IO subsystem
Pass '--add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED' to enable.
INFO: 8/8 source files have been analyzed

I followed that advice and the entire problem just disappeared. I added those parameters to the SONAR_SCANNER_OPTS environment variable.

SONAR_SCANNER_OPTS=–add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED

In case it isn’t clear or gets obfuscated by the editor, preceding the “add-opens” there are two ordinary hyphens, “-”. My VSCode tried to combine them into an emdash, which causes more problems.

1 Like

Thanks @Erick_Hagstrom for the new input :pray:

@Colin can you confirm that this is the way to go? How would we add this parameter? We still use GH Actions.

Hi all,

Thank you for posting, and @Erick_Hagstrom, thank you for suggesting a solution.
After looking into this, this is a known JRuby issue. You can find more information here.

The approach Erick suggested is indeed the way to go.

If you need any help, feel free to reach out.

All the best,

Irina

1 Like

Hi @irina.batinic thanks for confirming.

How would we add this to our setup with a sonar-project.properties file and Github actions? Already tried adding a GH repository Secret with that value but it still shows the exception.

We also tried adding it directly inside the job like this:

jobs:
  sonarcloud:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout
        uses: actions/checkout@v3
        with:
          fetch-depth: 0

      - name: Download all artifacts
        uses: actions/download-artifact@v3
        with:
          path: ./coverage

      - name: SonarCloud Scan
        uses: SonarSource/sonarcloud-github-action@master
        env:
          GITHUB_TOKEN: ${{ secrets.github-token }}
          SONAR_TOKEN: ${{ secrets.sonar-token }}
          SONAR_SCANNER_OPTS: –add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED

which led to an exception:

Error: Could not find or load main class –add-opens
Caused by: java.lang.ClassNotFoundException: –add-opens

Do you have a working example?

It looks like the -- has collapsed to - (double dash vs. single dash).

So it should be:

          SONAR_SCANNER_OPTS: --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED
2 Likes

@Colin thanks, that was it :+1:

So a working solution on Github actions looks like this:

jobs:
  sonarcloud:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout
        uses: actions/checkout@v3
        with:
          fetch-depth: 0

      - name: Download all artifacts
        uses: actions/download-artifact@v3
        with:
          path: ./coverage

      - name: SonarCloud Scan
        uses: SonarSource/sonarcloud-github-action@master
        env:
          GITHUB_TOKEN: ${{ secrets.github-token }}
          SONAR_TOKEN: ${{ secrets.sonar-token }}
          SONAR_SCANNER_OPTS: --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED