[hermes] bstein-dev-home #576: sonarqube_nodejs_missing #808
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hermes auto-triage classified incident
bstein-dev-home/576as sonarqube_nodejs_missing (confidence 0.6); first failed gate:sonarqube.Why a human is needed
Build #576 failed in the stage named 'Publish test metrics', which runs after the test suites and handles the SonarQube scan plus metrics publishing. The backend Python suite itself is fine: all 128 tests passed and coverage/JUnit artifacts were written. The concrete error in the logs happened inside the SonarQube scan: its JavaScript/TypeScript analyzer tried to run 'node -v' to start, and failed with 'Cannot run program "node": error=2, No such file or directory' — the Node.js runtime it depends on simply isn't present in the environment the scan ran in. That error is immediately followed, later in the log, by the pipeline exiting with status 1 and skipping the backend build/push stage (and presumably the frontend one too), so no release assets were published for this build. This isn't a bug in your application code or tests — the test suite ran and passed — it's a gap in the CI environment for the Sonar step. The fix is to make sure Node.js is actually installed and on PATH in whatever image/container runs the SonarQube scan (or, if JS/TS analysis isn't meant to run there, turn that sensor off in the Sonar configuration). One caveat: the centralized log lookup for this build window couldn't be reached (connection refused), so this conclusion is based on the Jenkins console output alone rather than being cross-checked against another log source.
Ariadne did not authorize automated remediation:
classification_not_supported: 'sonarqube_nodejs_missing'.Facts
jenkins.result, jenkins.first_failed_stage)jenkins.console_failures[0] line 322 and console_failures[1] line 358)jenkins.console_failures[2] line 683)jenkins.failed_tests)jenkins.console_tail)log_evidence.error)Evidence
The earliest failure region of the build console:
Inferences
Suggested remediation (not available)
No automated remediation exists for this failure. Hermes proposes one; it was not performed, and Ariadne cannot perform it until a person builds and deploys it.
ensure_nodejs_in_sonar_scanner_imageLinks
/api/admin/audit/events, event typeshermes_autotriage_incidentandhermes_autotriage_diagnosis.Filed automatically by Ariadne from a Hermes Agent diagnosis (run run_65ac83556f4a4b879c25f043ec3cbe6e). Hermes has no write access to this repository; no files or infrastructure were changed.