Codecov report uploader 0.1.5
[2021-10-13T15:30:53.637Z] ['info'] => Project root located at: /home/runner/work/boinc/boinc
[2021-10-13T15:30:53.640Z] ['info'] -> No token specified or token is empty
[2021-10-13T15:30:53.650Z] ['info'] Searching for coverage files...
[2021-10-13T15:30:53.895Z] ['error'] There was an error running the uploader: No coverage files located, please try use `-f`, or change the project root with `-R`
Error: Codecov: Failed to properly upload: The process '/home/runner/work/_actions/codecov/codecov-action/v2/dist/codecov' failed with exit code 255
Full log
tom
October 13, 2021, 4:56pm
2
@AenBleidd you will likely need to run gcov
in a step before the uploader
Why this was not needed before?
Looks like, some extended guide is required to migrate from v1 to v2, as there is a significant behavior change
tom
October 14, 2021, 1:21pm
5
@AenBleidd @jwillemsen thanks here. The bash
(v1) uploader was doing more things under the covers that were not particularly well understood. We had decided to have v2 be more direct, less magic.
The product team is now re-evaluating this strategy thanks to your posts.
1 Like
I ran into this too, was able to figure it out but only after digging through the new uploader’s source code.
I’d be happy with just a sentence or two at Deprecated Uploader Migration Guide saying that you’ll need to run gcov yourself if you’ve been using the bash uploader with default options and *.gcno files. Would’ve saved me a ton of time.
1 Like
tom
December 27, 2021, 3:45pm
7
Thanks @gknowles I missed updating the docs here.
tom
February 9, 2022, 4:46pm
8
@AenBleidd @jwillemsen we have added in gcov
support into v2
as exists in v1
.
@tom , thank you for the update!
What version does include this change?
I tried with Codecov report uploader 0.1.17
and looks like it doesn’t contain it yet.
tom
February 9, 2022, 6:17pm
10
@AenBleidd happy cake day, do you mind sharing the output from Codecov?
Without running gcov manually in the github action CI it still doesn’t work, see https://pipelines.actions.githubusercontent.com/Fq4aLn43zJMUd2UMPmTH60dIO8edT3ru6RUxiAM1dfiR3xOZXI/_apis/pipelines/1/runs/1547/signedlogcontent/7?urlExpires=2022-02-10T07%3A47%3A58.9882307Z&urlSigningMethod=HMACV1&urlSignature=jbqZQ5qXaZe1GHvzuRbxBTqZnqENvwFwyD84UUBDQOk%3D for the full log,
RemedyIT:master
← RemedyIT:dependabot/github_actions/codecov/codecov-action-2.1.0
opened 01:13PM - 13 Sep 21 UTC
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1… to 2.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/codecov/codecov-action/releases">codecov/codecov-action's releases</a>.</em></p>
<blockquote>
<h2>v2.1.0</h2>
<h2>2.1.0</h2>
<h3>Features</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/515">#515</a> Allow specifying version of Codecov uploader</li>
</ul>
<h3>Dependencies</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/499">#499</a> build(deps-dev): bump <code>@vercel/ncc</code> from 0.29.0 to 0.30.0</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/508">#508</a> build(deps): bump openpgp from 5.0.0-5 to 5.0.0</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/514">#514</a> build(deps-dev): bump <code>@types/node</code> from 16.6.0 to 16.9.0</li>
</ul>
<h2>v2.0.3</h2>
<h2>2.0.3</h2>
<h3>Fixes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/464">#464</a> Fix wrong link in the readme</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/485">#485</a> fix: Add override OS and linux default to platform</li>
</ul>
<h3>Dependencies</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/447">#447</a> build(deps): bump openpgp from 5.0.0-4 to 5.0.0-5</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/458">#458</a> build(deps-dev): bump eslint from 7.31.0 to 7.32.0</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/465">#465</a> build(deps-dev): bump <code>@typescript-eslint/eslint-plugin</code> from 4.28.4 to 4.29.1</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/466">#466</a> build(deps-dev): bump <code>@typescript-eslint/parser</code> from 4.28.4 to 4.29.1</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/468">#468</a> build(deps-dev): bump <code>@types/jest</code> from 26.0.24 to 27.0.0</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/470">#470</a> build(deps-dev): bump <code>@types/node</code> from 16.4.0 to 16.6.0</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/472">#472</a> build(deps): bump path-parse from 1.0.6 to 1.0.7</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/473">#473</a> build(deps-dev): bump <code>@types/jest</code> from 27.0.0 to 27.0.1</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/478">#478</a> build(deps-dev): bump <code>@typescript-eslint/parser</code> from 4.29.1 to 4.29.2</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/479">#479</a> build(deps-dev): bump <code>@typescript-eslint/eslint-plugin</code> from 4.29.1 to 4.29.2</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/481">#481</a> build(deps-dev): bump <code>@types/node</code> from 16.6.0 to 16.6.2</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/483">#483</a> build(deps-dev): bump <code>@vercel/ncc</code> from 0.29.0 to 0.29.2</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/484">#484</a> build(deps): bump <code>@actions/core</code> from 1.4.0 to 1.5.0</li>
</ul>
<h2>v2.0.2</h2>
<h3>Fixes</h3>
<ul>
<li>Underlying uploader fixes issues with tokens not being sent properly for users seeing
<code>Error!: Error: Error uploading to https://codecov.io: Error: Error uploading to Codecov: Error: Not Found</code></li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/432">#432</a> fix: use import to destructure package.json</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/434">#434</a> fix: openpgp and asn1.js</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/440">#440</a> 2.0.2 token fixes</li>
</ul>
<h3>Dependencies</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/420">#420</a> Bump eslint from 7.30.0 to 7.31.0</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/433">#433</a> build(deps-dev): bump <code>@types/node</code> from 16.3.3 to 16.4.0</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/425">#425</a> build(deps-dev): bump <code>@typescript-eslint/eslint-plugin</code> from 4.28.3 to 4.28.4</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/426">#426</a> build(deps-dev): bump <code>@typescript-eslint/parser</code> from 4.28.3 to 4.28.4</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/438">#438</a> Set up Dependabot for github-actions dependencies</li>
</ul>
<h2>v2.0.1</h2>
<h3>Fixes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/424">#424</a> fix: Issue in building all deep dependencies</li>
</ul>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md">codecov/codecov-action's changelog</a>.</em></p>
<blockquote>
<h2>2.1.0</h2>
<h3>Features</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/515">#515</a> Allow specifying version of Codecov uploader</li>
</ul>
<h3>Dependencies</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/499">#499</a> build(deps-dev): bump <code>@vercel/ncc</code> from 0.29.0 to 0.30.0</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/508">#508</a> build(deps): bump openpgp from 5.0.0-5 to 5.0.0</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/514">#514</a> build(deps-dev): bump <code>@types/node</code> from 16.6.0 to 16.9.0</li>
</ul>
<h2>2.0.3</h2>
<h3>Fixes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/464">#464</a> Fix wrong link in the readme</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/485">#485</a> fix: Add override OS and linux default to platform</li>
</ul>
<h3>Dependencies</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/447">#447</a> build(deps): bump openpgp from 5.0.0-4 to 5.0.0-5</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/458">#458</a> build(deps-dev): bump eslint from 7.31.0 to 7.32.0</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/465">#465</a> build(deps-dev): bump <code>@typescript-eslint/eslint-plugin</code> from 4.28.4 to 4.29.1</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/466">#466</a> build(deps-dev): bump <code>@typescript-eslint/parser</code> from 4.28.4 to 4.29.1</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/468">#468</a> build(deps-dev): bump <code>@types/jest</code> from 26.0.24 to 27.0.0</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/470">#470</a> build(deps-dev): bump <code>@types/node</code> from 16.4.0 to 16.6.0</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/472">#472</a> build(deps): bump path-parse from 1.0.6 to 1.0.7</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/473">#473</a> build(deps-dev): bump <code>@types/jest</code> from 27.0.0 to 27.0.1</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/478">#478</a> build(deps-dev): bump <code>@typescript-eslint/parser</code> from 4.29.1 to 4.29.2</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/479">#479</a> build(deps-dev): bump <code>@typescript-eslint/eslint-plugin</code> from 4.29.1 to 4.29.2</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/481">#481</a> build(deps-dev): bump <code>@types/node</code> from 16.6.0 to 16.6.2</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/483">#483</a> build(deps-dev): bump <code>@vercel/ncc</code> from 0.29.0 to 0.29.2</li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/484">#484</a> build(deps): bump <code>@actions/core</code> from 1.4.0 to 1.5.0</li>
</ul>
<h2>2.0.2</h2>
<h3>Fixes</h3>
<ul>
<li>Underlying uploader fixes issues with tokens not being sent properly for users seeing
<code>Error!: Error: Error uploading to https://codecov.io: Error: Error uploading to Codecov: Error: Not Found</code></li>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/440">#440</a> fix: Validation ordering</li>
</ul>
<h2>2.0.1</h2>
<h3>Fixes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/424">#424</a> fix: Issue in building all deep dependencies</li>
</ul>
<h2>2.0.0</h2>
<p>On February 1, 2022, the <code>v1</code> uploader will be full sunset and no longer function. This is due
to the deprecation of the underlying bash uploader. This version uses the new <a href="https://github.com/codecov/uploader">uploader</a>.</p>
<p>The <code>v2</code> Action downloads, verifies, and runs the Codecov binary.</p>
<h3>Breaking Changes</h3>
<ul>
<li>Multiple fields have not been transferred from the bash uploader or have been deprecated. Notably
many of the <code>functionalities</code> and <code>gcov_</code> arguments have been removed. Please check the documentation
for the full list.</li>
</ul>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/codecov/codecov-action/commit/f32b3a3741e1053eb607407145bc9619351dc93b"><code>f32b3a3</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/515">#515</a> from codecov/specify-version</li>
<li><a href="https://github.com/codecov/codecov-action/commit/72dfd4782ebb39e122c34a1c156c26573f9b412e"><code>72dfd47</code></a> Allow specifying version of Codecov uploader</li>
<li><a href="https://github.com/codecov/codecov-action/commit/46edaeda0ce748dd0d8545e755226bd7d09d57bd"><code>46edaed</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/499">#499</a> from codecov/dependabot/npm_and_yarn/vercel/ncc-0.30.0</li>
<li><a href="https://github.com/codecov/codecov-action/commit/b6fd8cc98b58344afa1069a491dbceae20ea9ed0"><code>b6fd8cc</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/508">#508</a> from codecov/dependabot/npm_and_yarn/openpgp-5.0.0</li>
<li><a href="https://github.com/codecov/codecov-action/commit/07a4e975bb0a7b708fd8c7100cfc330af5857bba"><code>07a4e97</code></a> build(deps-dev): bump <code>@vercel/ncc</code> from 0.29.0 to 0.30.0</li>
<li><a href="https://github.com/codecov/codecov-action/commit/c071c7087fd09c2f7de288160514795d076f4e1d"><code>c071c70</code></a> build(deps): bump openpgp from 5.0.0-5 to 5.0.0</li>
<li><a href="https://github.com/codecov/codecov-action/commit/f6d4366a4c53a2980bd8577dd75fd2420322c647"><code>f6d4366</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/514">#514</a> from codecov/dependabot/npm_and_yarn/types/node-16.9.0</li>
<li><a href="https://github.com/codecov/codecov-action/commit/2bbefc9105ffc55315a3982cc3c8c0ab019fcace"><code>2bbefc9</code></a> build(deps-dev): bump <code>@types/node</code> from 16.6.0 to 16.9.0</li>
<li><a href="https://github.com/codecov/codecov-action/commit/5a8bb4701eca7ba3673f21664b887f652c58d0a3"><code>5a8bb47</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/485">#485</a> from codecov/alternate-os</li>
<li><a href="https://github.com/codecov/codecov-action/commit/3e9a2814f275c203e54e7d52a37d6510f7b927c0"><code>3e9a281</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/481">#481</a> from codecov/dependabot/npm_and_yarn/types/node-16.6.2</li>
<li>Additional commits viewable in <a href="https://github.com/codecov/codecov-action/compare/v1...v2.1.0">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=codecov/codecov-action&package-manager=github_actions&previous-version=1&new-version=2.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
tom
February 11, 2022, 11:42pm
14
@AenBleidd @jwillemsen looks like I spoke too early. I’ll put out a new version of the Action which should have the new functionality (but you will need to add arguments)
2 Likes
tom
March 14, 2022, 5:54pm
15
@AenBleidd @jwillemsen thanks for being patient here. We’ve pushed a new version of the uploader. Can you try again?
@tom I can try again, but do you have a link to some documentation describing which new argument I should add?
@tom , hm, it’s failing now if I just remove manual gcov run: [Codecov] Test by AenBleidd · Pull Request #4668 · BOINC/boinc · GitHub
Anything I’m missing?
As @jwillemsen posted above, documentation would be nice to have
tom
March 16, 2022, 7:31pm
19
@jwillemsen @AenBleidd this is really embarassing, and I misspoke. We are still deploying that fix. I’ll write up some documentation before pinging back here, and I’m sorry for throwing you both back and forth.
1 Like
@tom , Ok, that’s fine. Please when done, tell us version number also to check that Action uses it. Thanks in advance
tom
April 5, 2022, 2:38pm
21
@jwillemsen @AenBleidd ok I think it’s actually ready now.
If you are using the Codecov Action, you will need to bump from v2
to v3
and specify gcov: true
in the arguments.
@AenBleidd , I used your repo as my guinea pig, so here is a PR with the change.
1 Like