Update error JSON handling #3654
Open
coqbot-app / GitLab CI job test:unit:core (branch)
failed
Nov 7, 2024 in 0s
Test has failed on GitLab CI
This job has failed. If you need to, you can restart it directly in the GitHub interface using the "Re-run" button.
We show below an excerpt from the trace from GitLab starting around the last detected "Error" (the complete trace is available here).
Details
time="2024-11-07T15:27:32Z" level=error msg="could not find coverage file coverage/lcov.info\ncould not find any files in search paths for lcov. search paths were: coverage/lcov.info, coverage/lcov.info"
Error: could not find any files in search paths for lcov. search paths were: coverage/lcov.info, coverage/lcov.info
Usage:
cc-test-reporter format-coverage [coverage file] [flags]
Flags:
--add-prefix string add this prefix to file paths
-t, --input-type string type of input source to use [clover, cobertura, coverage.py, excoveralls, gcov, gocov, jacoco, lcov, lcov-json, simplecov, xccov, dotcover]
-o, --output string output path (default "coverage/codeclimate.json")
-p, --prefix string the root directory where the coverage analysis was performed (default "/builds/jdalrymple/gitbeaker/packages/core")
Global Flags:
-d, --debug run in debug mode
WARNING: after_script failed, but job will continue unaffected: exit code 255
Uploading artifacts for failed job
Uploading artifacts...
WARNING: packages/core/coverage/cc-coverage.json: no matching files. Ensure that the artifact path is relative to the working directory (/builds/jdalrymple/gitbeaker)
ERROR: No files to upload
Uploading artifacts...
packages/core/reports/*junit.xml: found 1 matching artifact files and directories
WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/8297549283/artifacts?artifact_format=gzip&artifact_type=junit new-url=https://gitlab.com
WARNING: Retrying... context=artifacts-uploader error=request redirected
Uploading artifacts as "junit" to coordinator... 201 Created id=8297549283 responseStatus=201 Created token=glcbt-66
Uploading artifacts...
WARNING: packages/core/coverage/cobertura-coverage.xml: no matching files. Ensure that the artifact path is relative to the working directory (/builds/jdalrymple/gitbeaker)
ERROR: No files to upload
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1
Loading