NERSC / buildtest-nersc

MIT License
8 stars 16 forks source link

[Bug]: false positive test in e4s_22.05_dev_workflow #165

Closed shahzebsiddiqui closed 1 year ago

shahzebsiddiqui commented 1 year ago

CDASH Build

https://my.cdash.org/test/75772795

Link to buildspec file

https://github.com/buildtesters/buildtest-nersc/blob/devel/buildspecs/apps/e4s/22.05/developer_workflow.yml

Please describe the issue?

we need to rewrite the test based on documentation in https://docs.nersc.gov/applications/e4s/spack/#developer-workflow. Now thinking about this we don't need to run despactivate first since we are not in an active spack environment upon loading module load e4s/22.05.

Relevant log output

_______________________________________________________________________________________________________
     The Extreme-Scale Scientific Software Stack (E4S) is accessible via the
Spack package manager.
     In order to access the production stack, you will need to load a spack
environment. Here are some tips to get started:

     'spack env list' - List all spack environments
     'spack env activate -V gcc' - Activate spack environment 'gcc' without
spack view
     'spack env activate gcc' - Activate spack environment 'gcc' with spack
view
     'spack env status' - Display which spack environment is activated
     'spack load amrex' - Load spack package 'amrex' into user environment
     For additional support, please refer to the following references:

       NERSC E4S Documentation: https://docs.nersc.gov/applications/e4s/
       E4S Documentation: https://e4s.readthedocs.io
       Spack Documentation: https://spack.readthedocs.io/en/latest/
       Spack Slack: https://spackpm.slack.com
______________________________________________________________________________________________________

Error: [Errno 13] Permission denied: '/global/homes/e/e4s/.spack-pyenv/bin/activate.csh'
WARNING: You are using pip version 21.2.3; however, version 23.0.1 is available.
You should consider upgrading via the '/tmp/m3503/ci/siddiq90/static/00199134/NERSC/buildtest-nersc/pyenv/bin/python -m pip install --upgrade pip' command.
WARNING: You are using pip version 21.2.3; however, version 23.0.1 is available.
You should consider upgrading via the '/tmp/m3503/ci/siddiq90/static/00199134/NERSC/buildtest-nersc/pyenv/bin/python -m pip install --upgrade pip' command.
/global/cfs/cdirs/m3503/buildtest/runs/perlmutter_scheduled_test/2023-03-17/perlmutter.local.bash/developer_workflow/e4s_22.05_dev_workflow/2047eead/stage/e4s_22.05_dev_workflow.sh: line 7: despacktivate: command not found
==> Error: Package 'libllvm' not found.
==> Error: Spec 'papi' matches no installed packages.
==> Error: the constraint '['papi']' matches no package.
==> Error: In this context exactly **one** match is needed: please specify your constraints better.
/opt/cray/pe/lmod/modulefiles/core:
papi/6.0.0.16
papi/7.0.0.1
shahzebsiddiqui commented 1 year ago

addressed in MR: https://software.nersc.gov/NERSC/buildtest-nersc/-/merge_requests/163