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

JS-537 - Coverage is with LCOV report that contains relative paths #5083

Closed
wants to merge 1 commit into from

JS-537 - Coverage is with LCOV report that contains relative paths

901b326
Select commit
Loading
Failed to load commit list.
Closed

JS-537 - Coverage is with LCOV report that contains relative paths #5083

JS-537 - Coverage is with LCOV report that contains relative paths
901b326
Select commit
Loading
Failed to load commit list.
Cirrus CI / build failed Jan 28, 2025 in 5m 36s

Task Summary

Instruction build_and_deploy failed in 05:03

Details

✅ 00:09 clone
✅ 00:01 maven
✅ 00:12 runtime
✅ 00:01 npmrc
❌ 05:03 build_and_deploy

[INFO] Running org.sonar.plugins.javascript.rules.TslintRulesDefinitionTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s -- in org.sonar.plugins.javascript.rules.TslintRulesDefinitionTest
[INFO] Running org.sonar.plugins.javascript.analysis.TsConfigCacheTest
[INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.035 s -- in org.sonar.plugins.javascript.analysis.TsConfigCacheTest
[INFO] Running org.sonar.plugins.javascript.filter.MinificationAssessorTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s -- in org.sonar.plugins.javascript.filter.MinificationAssessorTest
[INFO] Running org.sonar.plugins.javascript.external.EslintReportSensorTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s -- in org.sonar.plugins.javascript.external.EslintReportSensorTest
[INFO] Running org.sonar.plugins.javascript.utils.RulesMetadataForSonarLintTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.214 s -- in org.sonar.plugins.javascript.utils.RulesMetadataForSonarLintTest
[INFO] Running org.sonar.plugins.javascript.filter.JavaScriptExclusionsFileFilterTest
[INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.586 s -- in org.sonar.plugins.javascript.filter.JavaScriptExclusionsFileFilterTest
[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   CoverageSensorTest.should_resolve_relative_path_and_outside_base_dir:287 
Expecting actual not to be null
[ERROR]   CoverageSensorTest.test_relative_path:207 
Expecting empty but was: ["No coverage information will be saved because all LCOV files cannot be found."]
[INFO] 
[ERROR] Tests run: 258, Failures: 2, Errors: 0, Skipped: 1
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for SonarJS 10.21.0-SNAPSHOT:
[INFO] 
[INFO] SonarJS ............................................ SUCCESS [  2.367 s]
[INFO] SonarQube JavaScript ............................... SUCCESS [  0.018 s]
[INFO] SonarQube JavaScript :: API ........................ SUCCESS [  1.641 s]
[INFO] SonarQube JavaScript :: Bridge ..................... SUCCESS [ 36.376 s]
[INFO] SonarQube JavaScript :: CSS ........................ SUCCESS [  2.494 s]
[INFO] SonarQube JavaScript :: Checks ..................... SUCCESS [  1.605 s]
[INFO] SonarQube JavaScript :: Plugin ..................... FAILURE [  6.762 s]
[INFO] SonarQube JavaScript :: Standalone ................. SKIPPED
[INFO] SonarQube JavaScript :: Tools ...................... SKIPPED
[INFO] SonarQube JavaScript :: Fetch-node ................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  51.736 s
[INFO] Finished at: 2025-01-28T14:13:46Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.1.2:test (default-test) on project sonar-javascript-plugin: There are test failures.
[ERROR] 
[ERROR] Please refer to /tmp/cirrus-ci-build/sonar-plugin/sonar-javascript-plugin/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :sonar-javascript-plugin