Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codecov in GitHub Actions fails #2229

Closed
sebix opened this issue Aug 2, 2022 · 1 comment · Fixed by #2237
Closed

Codecov in GitHub Actions fails #2229

sebix opened this issue Aug 2, 2022 · 1 comment · Fixed by #2237
Assignees
Labels
bug Indicates an unexpected problem or unintended behavior component: tests
Milestone

Comments

@sebix
Copy link
Member

sebix commented Aug 2, 2022

All "full" unittest workflows fail currently in the codecov step with:

[2022-08-01T07:49:28.945Z] ['info'] => Project root located at: /home/runner/work/intelmq/intelmq
[2022-08-01T07:49:28.949Z] ['info'] -> No token specified or token is empty
[2022-08-01T07:49:29.144Z] ['info'] Running coverage xml...
[2022-08-01T07:49:35.848Z] ['info'] Searching for coverage files...
[2022-08-01T07:49:36.018Z] ['info'] Warning: Some files located via search were excluded from upload.
[2022-08-01T07:49:36.018Z] ['info'] If Codecov did not locate your files, please review https://docs.codecov.com/docs/supported-report-formats
[2022-08-01T07:49:36.019Z] ['info'] => Found 1 possible coverage files:
  coverage.xml
[2022-08-01T07:49:36.019Z] ['info'] Processing /home/runner/work/intelmq/intelmq/coverage.xml...
[2022-08-01T07:49:36.042Z] ['info'] Detected GitHub Actions as the CI provider.
[2022-08-01T07:49:36.045Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=github-action-2.1.0-uploader-0.2.4&token=*******&branch=develop&build=2773076784&build_url=https%3A%2F%2Fgithub.com%2Fcerttools%2Fintelmq%2Factions%2Fruns%2F2773076784&commit=f1ec7b77331d37a6b11d15a254617a289d436da5&job=Unit+tests&pr=&service=github-actions&slug=certtools%2Fintelmq&name=&tag=&flags=&parent=
[2022-08-01T07:49:36.419Z] ['error'] There was an error running the uploader: Error uploading to [https://codecov.io:](https://codecov.io/) Error: There was an error fetching the storage URL during POST: 404 - {'detail': ErrorDetail(string='Unable to locate build via Github Actions API. Please upload with the Codecov repository upload token to resolve issue.', code='not_found')}
@sebix sebix added bug Indicates an unexpected problem or unintended behavior component: tests labels Aug 2, 2022
@sebix
Copy link
Member Author

sebix commented Aug 16, 2022

That currently prevents merges, as the unittest check is required.

@sebix sebix added this to the 3.1.0 milestone Aug 16, 2022
sebix pushed a commit that referenced this issue Aug 16, 2022
sebix pushed a commit that referenced this issue Aug 16, 2022
wagner-intevation added a commit to wagner-intevation/intelmq that referenced this issue Aug 16, 2022
sebix pushed a commit that referenced this issue Aug 16, 2022
@sebix sebix self-assigned this Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior component: tests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant