Testing issue: libpressio
Open
Nobody has claimed this yet.
test-error
- Dominant language
- Python
- Stars
- 5.1k
- Forks
- 2.5k
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 82
Description
Steps to reproduce the failure(s) or link(s) to test output(s)
$ spack test run libpressio
...
Error message
Error message
...
==> Testing package libpressio-0.99.4-w2aykpz
==> Error: TestFailure: 2 tests failed.
Command exited with status 2:
'/usr/tce/bin/cmake' '--build' '.'
[ 50%] Building CXX object CMakeFiles/pressio_smoke_tests.dir/smoke_test.cc.o
In file included from /usr/WS2/lawrence31/spack/opt/spack/linux-rhel8-broadwell/gcc-10.3.1/libpressio-0.99.4-w2aykpzndxfkfgumx62ahr27ceo27ern/include/libpressio/libpressio_ext/cpp/metrics.h:7,
from /usr/WS2/lawrence31/spack/opt/spack/linux-rhel8-broadwell/gcc-10.3.1/libpressio-0.99.4-w2aykpzndxfkfgumx62ahr27ceo27ern/include/libpressio/libpressio_ext/cpp/compressor.h:5,
from /usr/WS2/lawrence31/spack/opt/spack/linux-rhel8-broadwell/gcc-10.3.1/libpressio-0.99.4-w2aykpzndxfkfgumx62ahr27ceo27ern/include/libpressio/libpressio_ext/cpp/libpressio.h:5,
from /g/g16/lawrence31/.spack/test/cdmofmmsapsjdmk3dd4advz622o3u7f3/libpressio-0.99.4-w2aykpz/cache/libpressio/test/smoke_test/smoke_test.cc:7:
/usr/WS2/lawrence31/spack/opt/spack/linux-rhel8-broadwell/gcc-10.3.1/libstdcompat-0.0.21-ng7ynaowixvjjmy5g3vrqveka5o6tf7o/include/std_compat/span.h:46:10: fatal error: span: No such file or directory
#include
^~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/pressio_smoke_tests.dir/build.make:76: CMakeFiles/pressio_smoke_tests.dir/smoke_test.cc.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/pressio_smoke_tests.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2
1 error found in test log:
95 /usr/WS2/lawrence31/spack/opt/spack/linux-rhel8-broadwell/gcc-10.3.1/libstdcompat-0.0.21-ng7ynaowixvjjmy5g3vrq
veka5o6tf7o/include/std_compat/span.h:46:10: fatal error: span: No such file or directory
96 #include
97 ^~~~~~
98 compilation terminated.
99 gmake[2]: *** [CMakeFiles/pressio_smoke_tests.dir/build.make:76: CMakeFiles/pressio_smoke_tests.dir/smoke_test
.cc.o] Error 1
100 gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/pressio_smoke_tests.dir/all] Error 2
>> 101 gmake: *** [Makefile:136: all] Error 2
102
103 File "/usr/WS2/lawrence31/spack/bin/spack", line 52, in
Failed to find executable './pressio_smoke_tests'
See test log for details:
/g/g16/lawrence31/.spack/test/cdmofmmsapsjdmk3dd4advz622o3u7f3/libpressio-0.99.4-w2aykpz-test-out.txt
============================== 1 failed of 1 spec ==============================
Information on your system or the test runner
- Spack: 0.23.0.dev0 (f9a46d61fa78343e5f46aa56f3cda24467bf9e62)
- Python: 3.9.12
- Platform: linux-rhel8-broadwell
- Concretizer: clingo
Additional information
No response
General information
- I have reported the version of Spack/Python/Platform/Runner
- I have run
spack maintainers <name-of-the-package>and @mentioned any maintainers - I have uploaded any available logs
- I have searched the issues of this repo and believe this is not a duplicate
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with spack test run libpressio and read the referenced libpressio test log. Trace the CMake smoke-test build and the missing <span> include, then confirm that the test executable builds and the package test completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, cpp
- Domain
- build-system, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100