You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fix CI job Generate coverage data / Generate coverage and push to Coveralls.io #611
@diptorupd was investigating this, I looked it up too.
From the log, it appears somehow python setup.py develop --coverage silently crashes after coverage collection completes and never gets to build Python extension. Then it launches pytest, which fails at collection stage.
This started with api 2021.4 appearance on APT servers.
@oleksandr-pavlyk most probably the issue is related to the bug/feature in 2021.4's dpcpp_cpp_rt's prefetch call. Once your workaround is merged, I expect tests and coverage to start working again.
Activity
PokhodenkoSA commentedon Sep 30, 2021
@diptorupd
Could you please check why it fails?
oleksandr-pavlyk commentedon Sep 30, 2021
@diptorupd was investigating this, I looked it up too.
From the log, it appears somehow
python setup.py develop --coveragesilently crashes after coverage collection completes and never gets to build Python extension. Then it launches pytest, which fails at collection stage.This started with api 2021.4 appearance on APT servers.
diptorupd commentedon Sep 30, 2021
@oleksandr-pavlyk most probably the issue is related to the bug/feature in 2021.4's dpcpp_cpp_rt's
prefetchcall. Once your workaround is merged, I expect tests and coverage to start working again.diptorupd commentedon Sep 30, 2021
The issue is some change in how
llvm-profdatais generating the profile.Bare bones reproducer:
I can reproduce the failure by doing just this much:
diptorupd commentedon Sep 30, 2021
Or it might be that dpcpp's clang some how is embedding the mangled filename information into the profile.
oleksandr-pavlyk commentedon Oct 1, 2021
Filed as XDEPS-2775.
By the way, I tried reproducing it with OS compiler, but got:
I would love to know how to build the open source compiler with profile clang_rt.
Coverage workflow is to use oneAPI 2021.3
Coverage workflow is to use oneAPI 2021.3
Coverage workflow is to use oneAPI 2021.3
Coverage workflow is to use oneAPI 2021.3
Coverage workflow is to use oneAPI 2021.3 (#614)
diptorupd commentedon Oct 5, 2021
Fixed by #614. We can revisit once 2022.1 (gold) is out or else keep using 2021.3 to generate coverage.