Skip to content
This repository was archived by the owner on May 21, 2025. It is now read-only.
This repository was archived by the owner on May 21, 2025. It is now read-only.

find: unknown predicate `-not -path ' #250

@amanagr

Description

@amanagr

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

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.

When running:

pip install codecov && codecov

Pinning the version of codecov==2.0.15 fixes this (since it doesn't use find.)

We use buildpack-deps:bionic-scm as 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions