Title: Version 2.1.3 fails to find gcov files · Issue #261 · codecov/codecov-python · GitHub
Open Graph Title: Version 2.1.3 fails to find gcov files · Issue #261 · codecov/codecov-python
X Title: Version 2.1.3 fails to find gcov files · Issue #261 · codecov/codecov-python
Description: Recently codecov stopped uploading my C code coverage on a Python C extension I have written. In this job, tox is using codecov==2.1.1, and the upload succeeds. In this job, tox is using codecov==2.1.3 and I see the following error: ==> ...
Open Graph Description: Recently codecov stopped uploading my C code coverage on a Python C extension I have written. In this job, tox is using codecov==2.1.1, and the upload succeeds. In this job, tox is using codecov==2...
X Description: Recently codecov stopped uploading my C code coverage on a Python C extension I have written. In this job, tox is using codecov==2.1.1, and the upload succeeds. In this job, tox is using codecov==2...
Opengraph URL: https://github.com/codecov/codecov-python/issues/261
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Version 2.1.3 fails to find gcov files","articleBody":"Recently codecov stopped uploading my C code coverage on a Python C extension I have written.\r\n\r\nIn [this job](https://github.com/pganssle/zoneinfo/runs/696921785?check_suite_focus=true), `tox` is using `codecov==2.1.1`, and the upload succeeds.\r\n\r\nIn [this job](https://github.com/pganssle/zoneinfo/runs/697452420?check_suite_focus=true), `tox` is using `codecov==2.1.3` and I see the following error:\r\n\r\n```\r\n==\u003e Detecting CI provider\r\n -\u003e Got branch from git/hg\r\n -\u003e Got sha from git/hg\r\n==\u003e Preparing upload\r\n==\u003e Processing gcov (disable by -X gcov)\r\n Executing gcov (gcov -pb .../zoneinfo/.tox/gcov/coverage/build/temp.linux-x86_64-3.8/lib/zoneinfo_module.gcno)\r\n Error running `gcov -pb .../zoneinfo/.tox/gcov/coverage/build/temp.linux-x86_64-3.8/lib/zoneinfo_module.gcno`: \r\n [Errno 2] No such file or directory: 'gcov -pb .../zoneinfo/.tox/gcov/coverage/build/temp.linux-x86_64-3.8/lib/zoneinfo_module.gcno'\r\nError: 'NoneType' object has no attribute 'replace'\r\n```\r\n\r\n(I've modified this slightly to make it a bit easier to read by shortening some paths and breaking up one extra long line).\r\n\r\nUnfortunately I don't have time to create a minimal reproducer, but if you clone [the zoneinfo repository](https://github.com/pganssle/zoneinfo) and run `tox -e gcov`, that should generate the coverage files, and I'm using `scripts/upload_codecov.py` to upload the coverage files — it is just a script that finds the XML file output that `gcovr` emits, and passes that to `codecov -f`.\r\n\r\nI'm guessing https://github.com/codecov/codecov-python/issues/167 is the culprit.","author":{"url":"https://github.com/pganssle","@type":"Person","name":"pganssle"},"datePublished":"2020-05-22T16:25:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/261/codecov-python/issues/261"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:dd8795c6-051f-59a5-e06c-eb303ac7f97c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AB50:2E1FD9:13E6A59:1BB35B0:6A4DEFC6 |
| html-safe-nonce | e3dfd3c16a0eb5894cd80a344a19fec9f784cbe52023cc43412117bb2af67828 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjUwOjJFMUZEOToxM0U2QTU5OjFCQjM1QjA6NkE0REVGQzYiLCJ2aXNpdG9yX2lkIjoiNjU4MzI4NjI3Nzc4ODc5MDcyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | eec4763780e24d97d3eefc9b3b88fa392e044a36f777a90d4f8f7082e66f0325 |
| hovercard-subject-tag | issue:623328299 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/codecov/codecov-python/261/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f2fb6031da1957ad4a5f80be0ce047fd6ca5bbb43fc199a2045dd76d82d57b3d/codecov/codecov-python/issues/261 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f2fb6031da1957ad4a5f80be0ce047fd6ca5bbb43fc199a2045dd76d82d57b3d/codecov/codecov-python/issues/261 |
| og:image:alt | Recently codecov stopped uploading my C code coverage on a Python C extension I have written. In this job, tox is using codecov==2.1.1, and the upload succeeds. In this job, tox is using codecov==2... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pganssle |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5818716c93c6a2925b815402541a32814e43a7b1261c322b0c2df75224289566 |
| turbo-cache-control | no-preview |
| go-import | github.com/codecov/codecov-python git https://github.com/codecov/codecov-python.git |
| octolytics-dimension-user_id | 8226205 |
| octolytics-dimension-user_login | codecov |
| octolytics-dimension-repository_id | 22685735 |
| octolytics-dimension-repository_nwo | codecov/codecov-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 22685735 |
| octolytics-dimension-repository_network_root_nwo | codecov/codecov-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f4bb89367ca678f057d79b1abc45d6675b1bd5b2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width