-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Problem sending coverity report #3343
Comments
Not sure how big our tarball is currently, but other projects have run into the same issue within the last month:
We may need to contact support. Separately we might also want to make these failures fail the build. |
Send this email to
|
Emailed again as follow up. |
Also trying to register in the Synopsys community to be able to report there as well. |
From coverity team Hi Michael, We will have the API in place by the end of next week. We will keep you posted. Regards, Alex Johnson |
URL to upload manually - https://scan.coverity.com/projects/node/builds/new |
Correct URL to upload - https://scan.coverity.com/projects/node-js/builds/new |
Uploaded a build manually last week, and uploading one today |
There's a new API on https://scan.coverity.com/projects/node-js/builds/new?tab=url but it looks like we'd need to make the tarball available on a publicly accessible URL to use it. |
Ah there's also more instructions on https://scan.coverity.com/projects/node-js/builds/new in the section
|
I've edited the job to use the new API documented on https://scan.coverity.com/projects/node-js/builds/new. This requires adding The job edits for using the new API are recorded in
Kicked off a new build: https://ci.nodejs.org/job/node-daily-coverity/2680/ |
This looks like it has worked and the scan and analysis for v21.0.0-pre-b352e0c36a is on https://scan.coverity.com/projects/node-js. Since we're limited to one build submission per 24 hours, the next scheduled run of https://ci.nodejs.org/job/node-daily-coverity/ is expected to fail to upload as it will occur within the 24 hour period. |
https://ci.nodejs.org/job/node-daily-coverity/2681/console failed as expected (which is good because previously the failed uploads were not failing the build) The build submission quota for this project has been reached. Next submission permitted on or after 2023-Jun-23 7:56 PM UTC
parse error: Invalid numeric literal at line 1, column 4
Build step 'Execute shell' marked build as failure Let's check the next scheduled build succeeds, and then we can probably close this out. |
The new upload method for Coverity requires parsing a JSON response from the new Coverity API. Refs: #3343
I received an email saying the new API was ready and we'd have to update the endpoint we use. Interestingly the scan on the 22nd passed without me doing anything. The scan for the 23rd failed with this message: The build submission quota for this project has been reached. Next submission permitted on or after 2023-Jun-23 7:56 PM UTC
parse error: Invalid numeric literal at line 1, column 4
Build step 'Execute shell' marked build as failure
Collecting metadata...
Metadata collection done.
Notifying upstream projects of job completion
Finished: FAILURE I plan to look at the new instructions for uploading next week to see how easy it will be to update. |
@mhdawson See my posts above yours -- I've switched the CI job to use the new API which is how the scan from the 22nd got uploaded. |
ah ok, I just got the scan email but did not read through the history. Great to see you have already adjusted it to use the new API, explains why it started working :) |
Builds over the weekend look good and https://scan.coverity.com/projects/node-js is showing the build from https://ci.nodejs.org/job/node-daily-coverity/2684/. We're also now getting emails through to the build alias when the scan completes (i.e. after the upload is done and analyzed). This is via the |
https://ci.nodejs.org/view/All/job/node-daily-coverity/2626/console
The text was updated successfully, but these errors were encountered: