Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spack test run not loading dependencies, causing tests to fail #43714

Open
3 tasks done
jordialcaraz opened this issue Apr 18, 2024 · 0 comments
Open
3 tasks done

spack test run not loading dependencies, causing tests to fail #43714

jordialcaraz opened this issue Apr 18, 2024 · 0 comments
Labels
bug Something isn't working impact-low stand-alone-tests Stand-alone (or smoke) tests for installed packages

Comments

@jordialcaraz
Copy link
Contributor

Steps to reproduce

$ spack install tau +python
$ spack test run tau

Error message

Command exited with status 127:
    '/storage/users/jalcaraz/spackkkk/spack/opt/spack/linux-ubuntu22.04-icelake/gcc-11.4.0/tau-2.33.1-ggggksjrkfjep3mn6tk2gbh2enruv4jn/bin/tau_python' '-T' 'serial' 'firstprime.py'
/storage/users/jalcaraz/spackkkk/spack/opt/spack/linux-ubuntu22.04-icelake/gcc-11.4.0/tau-2.33.1-ggggksjrkfjep3mn6tk2gbh2enruv4jn/bin/tau_python: line 1388: python: command not found

Information on your system

There is no python in PATH.

If I load python before spack test run, it works as it can use the loaded python. However, I expected that the dependencies would be loaded when I run the tests.

  • Spack: 0.22.0.dev0 (c5a3e36)
  • Python: 3.10.12
  • Platform: linux-ubuntu22.04-icelake
  • Concretizer: clingo

General information

  • I have run spack debug report and reported the version of Spack/Python/Platform
  • I have searched the issues of this repo and believe this is not a duplicate
  • I have run the failing commands in debug mode and reported the output
@jordialcaraz jordialcaraz added bug Something isn't working triage The issue needs to be prioritized labels Apr 18, 2024
@alalazo alalazo added impact-low stand-alone-tests Stand-alone (or smoke) tests for installed packages and removed triage The issue needs to be prioritized labels Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working impact-low stand-alone-tests Stand-alone (or smoke) tests for installed packages
Projects
Status: Todo
Development

No branches or pull requests

2 participants