Skip to content

[Bug]: spack test results with suite name not expected  #1434

@shahzebsiddiqui

Description

@shahzebsiddiqui

Bug Description

the problem is best described in test result https://my.cdash.org/test/67729705?graph=status

The test failure reports

Lmod has detected the following error: Swap failed: "PrgEnv-nvidia" is not
loaded.
==> Error: Test suite "spack_test_hdf5_e4s_21.11" already exists. Try another alias.

for this buildspec

buildspecs:
  spack_test_hdf5_e4s_21.11:
    type: spack
    executor: '(perlmutter|muller).local.sh'
    description: "Test [email protected] for e4s/21.11 stack for Perlmutter via spack test"
    tags: e4s
    pre_cmds: |
      module load e4s/21.11
      module swap PrgEnv-nvidia PrgEnv-gnu
    spack:
      root: /global/common/software/spackecp/perlmutter/e4s-21.11/spack/
      verify_spack: false
      test:
        run:
          specs: ['[email protected]']
        results:
          option: '-l'
          specs: ['[email protected]']

The issue is that we auto-generate the suite name and since the suite name is taken when rerunning the test this test never ran.

Steps to reproduce the error

Just run buildtest build against any spec in this directory https://github.com/buildtesters/buildtest-nersc/tree/devel/buildspecs/e4s/spack_test/perlmutter

Version and HEAD commit

devel branch

Relevant log output

No response

Post question in Slack

  • I agree that I posted my question in slack before creating this issue

Is there an existing issue

  • I confirm there is no existing issue for this issue

Metadata

Metadata

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions