Skip to content

Ignore gcovr no_working_dir_found errors

Leo P. Singer requested to merge leo-singer/ligo.skymap:gcovr-ignore-errors into main

The CI pipeline was failing with the following error message after gcovr 6.0 was released:

(ERROR) GCOV produced the following errors processing /tmp/tmp.SkaXw2okFL/build/temp.linux-x86_64-cpython-39/src/core.gcda:
	Cannot open source file /tmp/pip-build-env-ez2kjx2c/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/ndarraytypes.h
Cannot open source file /tmp/pip-build-env-ez2kjx2c/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/__ufunc_api.h
Cannot open source file /tmp/pip-build-env-ez2kjx2c/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/__multiarray_api.h

	Cannot open source file src/core.c
Cannot open source file /tmp/pip-build-env-ez2kjx2c/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/ndarraytypes.h
Cannot open source file src/omp_interruptible.h
Cannot open source file /tmp/pip-build-env-ez2kjx2c/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/__ufunc_api.h
Cannot open source file /tmp/pip-build-env-ez2kjx2c/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/__multiarray_api.h

	Cannot open source file src/core.c
Cannot open source file /tmp/pip-build-env-ez2kjx2c/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/ndarraytypes.h
Cannot open source file src/omp_interruptible.h
Cannot open source file /tmp/pip-build-env-ez2kjx2c/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/__ufunc_api.h
Cannot open source file /tmp/pip-build-env-ez2kjx2c/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/__multiarray_api.h

	Cannot open source file src/core.c
Cannot open source file /tmp/pip-build-env-ez2kjx2c/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/ndarraytypes.h
Cannot open source file src/omp_interruptible.h
Cannot open source file /tmp/pip-build-env-ez2kjx2c/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/__ufunc_api.h
Cannot open source file /tmp/pip-build-env-ez2kjx2c/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/__multiarray_api.h

	Cannot open source file /tmp/pip-build-env-ez2kjx2c/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/ndarraytypes.h
Cannot open source file /tmp/pip-build-env-ez2kjx2c/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/__ufunc_api.h
Cannot open source file /tmp/pip-build-env-ez2kjx2c/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/__multiarray_api.h

	Cannot open source file src/core.c
Cannot open source file /tmp/pip-build-env-ez2kjx2c/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/ndarraytypes.h
Cannot open source file src/omp_interruptible.h
Cannot open source file /tmp/pip-build-env-ez2kjx2c/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/__ufunc_api.h
Cannot open source file /tmp/pip-build-env-ez2kjx2c/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/__multiarray_api.h

	Cannot open source file src/core.c
Cannot open source file /tmp/pip-build-env-ez2kjx2c/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/ndarraytypes.h
Cannot open source file src/omp_interruptible.h
Cannot open source file /tmp/pip-build-env-ez2kjx2c/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/__ufunc_api.h
Cannot open source file /tmp/pip-build-env-ez2kjx2c/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/__multiarray_api.h

	(gcovr could not infer a working directory that resolved it.)
To ignore this error use option --gcov-ignore-errors=no_working_dir_found.

Merge request reports

Loading