Getting 404 Error and report not generating

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension): 9.9.3
  • how is SonarQube deployed: zip, Docker, Helm: Docker

When trying to run the build, getting the below error:

[2024-01-31 13:10:22:INFO:/automation-framework/pipeline/secops/unit_testing_coverage_analysis.py:detect_sonar_reports_file:36] Checking for SonarQube generated report name...
[2024-01-31 13:10:22:INFO:/automation-framework/pipeline/secops/unit_testing_coverage_analysis.py:detect_sonar_reports_file:41] Found the following generated report for SonarQube: npm-coverage-summary.json
[2024-01-31 13:10:22:DEBUG:/automation-framework/common/helper.py:ch_dir:37] Entered directory /builds/pearsontechnology/gpt/gradebook/applications/vizards/etext/etextbundle/code-coverage-reports
[2024-01-31 13:10:23:INFO:/automation-framework/pipeline/secops/unit_testing_coverage_analysis.py:retrieve_sonar_coverage_metrics:72] Performing API call with GET Method on URL: https://sonarqube.pearson.com/api/measures/component?metricKeys=coverage&component=com.pearson.pla.etext_bundled&branch=feature/GBST-4119_bundle
[2024-01-31 13:10:23:ERROR:/automation-framework/pipeline/secops/unit_testing_coverage_analysis.py:main:277] Request failed with following error: 404 Client Error:  for url: https://sonarqube.pearson.com/api/measures/component?metricKeys=coverage&component=com.pearson.pla.etext_bundled&branch=feature/GBST-4119_bundle
[2024-01-31 13:10:23:ERROR:/automation-framework/pipeline/secops/unit_testing_coverage_analysis.py:main:278] Please refer to the following documentation for more info: https://one-confluence.pearson.com/x/YWlVEg
[2024-01-31 13:10:23:INFO:/automation-framework/pipeline/__main__.py:main:173] Job State: FAILED```
Any help is highly appreciated!

Hey there

It looks like there’s some custom script running in your pipeline and making queries to SonarQube. Who maintains this script? You should probably get in touch with them.