find: unknown predicate `-not -path './bower_components/**' -not -path './node_modules/**' -not -path './vendor/**''
Error running `['find', '/home/circleci/zulip', "-not -path './bower_components/**' -not -path './node_modules/**' -not -path './vendor/**'", '-type', 'f', '-name', '*.gcno', '', '-exec', 'gcov', '-pb', '', '{}', '+']`: Command '['find', '/home/circleci/zulip', "-not -path './bower_components/**' -not -path './node_modules/**' -not -path './vendor/**'", '-type', 'f', '-name', '*.gcno', '', '-exec', 'gcov', '-pb', '', '{}', '+']' returned non-zero exit status 1.
pip install codecov && codecov
Let me know if you need any more details to debug this.
We see this error on CircleCI builds: eg: https://app.circleci.com/pipelines/github/zulip/zulip/7488/workflows/7906c5d1-5032-47a1-88f3-60e79a9631d1/jobs/43293/parallel-runs/0/steps/0-114
When running:
Pinning the version of
codecov==2.0.15fixes this (since it doesn't usefind.)We use
buildpack-deps:bionic-scmas our base image for CI builds.Our CI config file - https://github.com/zulip/zulip/blob/master/.circleci/config.yml
Let me know if you need any more details to debug this.