404 Error when running an analysis

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
  • how is SonarQube deployed: zip, Docker, Helm: Docker
  • what are you trying to achieve: When trying to run the analysis, its giving 404 error, can you please confirm why?

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!:

[2024-11-04 02:34:52:INFO:/automation-framework/pipeline/secops/unit_testing_coverage_analysis.py:retrieve_sonar_coverage_metrics:73] Performing API call with GET Method on URL: https://sonarqube.pearson.com/api/measures/component?metricKeys=coverage&component=demoapiserver&branch=feature/sv/GBST-4845-1
[2024-11-04 02:34:52:ERROR:/automation-framework/pipeline/secops/unit_testing_coverage_analysis.py:main:271] Request failed with following error: 404 Client Error:  for url: https://sonarqube.pearson.com/api/measures/component?metricKeys=coverage&component=demoapiserver&branch=feature/sv/GBST-4845-1
[2024-11-04 02:34:52:ERROR:/automation-framework/pipeline/secops/unit_testing_coverage_analysis.py:main:272] Please refer to the following documentation for more info: https://one-confluence.pearson.com/x/YWlVEg
[2024-11-04 02:34:52:INFO:/automation-framework/pipeline/__main__.py:main:168] Job State: FAILED
[2024-11-04 02:34:52:INFO:/automation-framework/pipeline/__main__.py:main:169] Starting to collect scorecard
[2024-11-04 02:34:52:DEBUG:/automation-framework/pipeline/__main__.py:main:170] Printing collected job outputs
[2024-11-04 02:34:52:DEBUG:/automation-framework/pipeline/__main__.py:main:171] {}
[2024-11-04 02:34:52:INFO:/automation-framework/pipeline/__main__.py:main:172] NOTE: Any errors in regards to scorecard wont affect the pipeline
[2024-11-04 02:34:52:DEBUG:/automation-framework/scorecard/scorecard.py:collect_and_publish_scorecard:250] Scorecard dict Start
[2024-11-04 02:34:52:DEBUG:/automation-framework/scorecard/scorecard.py:collect_and_publish_scorecard:251] {'adf_template_version': '5.2.6',
'status': 'FAILED',
 'version': '1.1',
 'version_major': 1,
 'version_minor': 1}
[2024-11-04 02:34:53:DEBUG:/automation-framework/scorecard/scorecard.py:make_scorecard_request:348] Sending request to https://scorecard-api-v2.pdppif-dev.pearsondev.tech/api/v1/scorecard
[2024-11-04 02:34:54:DEBUG:/automation-framework/scorecard/scorecard.py:make_scorecard_request:351] START - Scorecard request response
[2024-11-04 02:34:54:DEBUG:/automation-framework/scorecard/scorecard.py:make_scorecard_request:352] {'message': 'Record Stored'}
[2024-11-04 02:34:54:DEBUG:/automation-framework/scorecard/scorecard.py:make_scorecard_request:353] END - Scorecard request response
[2024-11-04 02:34:54:INFO:/automation-framework/scorecard/scorecard.py:collect_and_publish_scorecard:253] Scorecard collected and published
[2024-11-04 02:34:54:DEBUG:/automation-framework/lib/msteams_notifier.py:_collect_webhook:112] Trying to retrieve notification webhook from source /PDP/WEBHOOKS/MS_TEAMS
[2024-11-04 02:34:54:WARNING:/automation-framework/lib/msteams_notifier.py:_get_webhook_from_ssm:86] Error occured trying to get 'Notification Webhook' from the /PDP/WEBHOOKS/MS_TEAMS parameter in the us-east-1 region
[2024-11-04 02:34:54:DEBUG:/automation-framework/lib/msteams_notifier.py:_get_webhook_from_ssm:87] An error occurred (ParameterNotFound) when calling the GetParameter operation: 
[2024-11-04 02:34:54:DEBUG:/automation-framework/lib/msteams_notifier.py:_collect_webhook:112] Trying to retrieve notification webhook from source /PDP/NOTIFICATION/WEBHOOK
[2024-11-04 02:34:54:WARNING:/automation-framework/lib/msteams_notifier.py:_get_webhook_from_asm:94] Usage of secrets manager for storing notification webhook is deprecated. Support will be dropped in the future. Consider using SSM parameter store with name '/PDP/WEBHOOKS/MS_TEAMS'

Hi,

This is coming from your own systems, not from us.

 
HTH,
Ann