Title: Failure in the `gcov` processing `find` command, whose test is AWOL · Issue #247 · codecov/codecov-python · GitHub
Open Graph Title: Failure in the `gcov` processing `find` command, whose test is AWOL · Issue #247 · codecov/codecov-python
X Title: Failure in the `gcov` processing `find` command, whose test is AWOL · Issue #247 · codecov/codecov-python
Description: The gcov processing command issued by codecov contains malformed find predicates, and always fails. The failure looks like this: … this is on macOS, which offers BSD find as the default. I verified the failure by installing GNU findutils...
Open Graph Description: The gcov processing command issued by codecov contains malformed find predicates, and always fails. The failure looks like this: … this is on macOS, which offers BSD find as the default. I verified...
X Description: The gcov processing command issued by codecov contains malformed find predicates, and always fails. The failure looks like this: … this is on macOS, which offers BSD find as the default. I verified...
Opengraph URL: https://github.com/codecov/codecov-python/issues/247
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Failure in the `gcov` processing `find` command, whose test is AWOL","articleBody":"The `gcov` processing command issued by `codecov` contains malformed `find` predicates, and always fails. The failure looks like this:\r\n\r\n\r\n\r\n… this is on macOS, which offers BSD `find` as the default. I verified the failure by [installing GNU `findutils` with Homebrew](https://formulae.brew.sh/formula/findutils#default) and changing a local clone of `codecov` to use that (as `/usr/local/bin/gfind`) – the error message is slightly more helpful:\r\n\r\n```bash\r\n`/usr/local/bin/gfind /Users/fish/Dropbox/CLU/clu -not -path './bower_components/**' -not -path './node_modules/**' -not -path './vendor/**' -type f -name *.gcno -exec gcov -pb {} +` exited with status 1, error: “gfind: paths must precede expression: `'”\r\n```\r\n\r\n… the relevant `gcov`-related test is, I think, the only test in the `codecov` suite that is [completely commented out and skipped](https://github.com/codecov/codecov-python/blob/800d1ad035e65987b094781bb328fb06e1c0e8a1/tests/test.py#L250-L259):\r\n\r\n```python\r\n def test_gcov(self):\r\n self.skipTest(\"Need to fix this test...\")\r\n # if self._env.get('TRAVIS') == 'true':\r\n # self.write_c()\r\n # output = self.run_cli(token='a', branch='b', commit='c')\r\n # self.assertEqual(os.path.exists('hello.c.gcov'), True)\r\n # report = output['reports'].split('\u003c\u003c\u003c\u003c\u003c\u003c network\\n')[1].splitlines()\r\n # self.assertIn('hello.c.gcov', report[0])\r\n # else:\r\n # self.skipTest(\"Skipped, works on Travis only.\")\r\n```\r\n\r\n… which suggests at least an acknowledgement of the problem, if not a genesis of same.","author":{"url":"https://github.com/fish2000","@type":"Person","name":"fish2000"},"datePublished":"2020-04-08T05:59:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/247/codecov-python/issues/247"}
| 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:935b7ed4-91f1-5aa1-2a66-972a54553bca |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8104:2E0B3C:4B67D3:6EE868:6A4E0ADC |
| html-safe-nonce | 5caea5065155e9b5de4b55e151d63231c108dd149a5dfb5da3735b3c1d2e51cb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTA0OjJFMEIzQzo0QjY3RDM6NkVFODY4OjZBNEUwQURDIiwidmlzaXRvcl9pZCI6IjUxNDkxNDE3ODIyMDI1NTEwMDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b689d79c9c02f5b521e63bd97776df3de17b23e8597f9a2e66f232dc586a576b |
| hovercard-subject-tag | issue:596328851 |
| 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/247/issue_layout |
| twitter:image | https://opengraph.githubassets.com/114c5c6534c5b90ce66a6be70f2664f9bfd1e988099af71527b2da9d82c67bc8/codecov/codecov-python/issues/247 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/114c5c6534c5b90ce66a6be70f2664f9bfd1e988099af71527b2da9d82c67bc8/codecov/codecov-python/issues/247 |
| og:image:alt | The gcov processing command issued by codecov contains malformed find predicates, and always fails. The failure looks like this: … this is on macOS, which offers BSD find as the default. I verified... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | fish2000 |
| hostname | github.com |
| expected-hostname | github.com |
| None | df0492960db29b4938cb72070351d6b1d0c6c0767b27ceb8394bbf4fcc0223c6 |
| 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 | 51470c353b8a1f52a88d3e3cc2014b17ab8cc1ce |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width