Skip to content

add check for reframe version - #357

Merged
casparvl merged 5 commits into
EESSI:mainfrom
smoors:check-version
Sep 30, 2026
Merged

casparvl merged 5 commits into
EESSI:mainfrom
smoors:check-version

Conversation

@smoors

@smoors smoors commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

check if ReFrame can validate a small test config file before running the tests.

see also reframe-hpc/reframe#3723

Comment thread eessi/testsuite/common_config.py Resolved
Comment thread eessi/testsuite/common_config.py Resolved
Comment thread eessi/testsuite/utils.py Resolved

@casparvl casparvl left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as intended:

ReFrame 4.7.0

(eessi_test_venv) [casparl@tcn212 EESSI]$ reframe --list
/gpfs/home4/casparl/EESSI/eessi_test_venv/lib64/python3.9/site-packages/setuptools_scm/_integration/setuptools.py:31: RuntimeWarning:
ERROR: setuptools==53.0.0 is used in combination with setuptools_scm>=8.x

Your build configuration is incomplete and previously worked by accident!
setuptools_scm requires setuptools>=61

Suggested workaround if applicable:
 - migrating from the deprecated setup_requires mechanism to pep517/518
   and using a pyproject.toml to declare build dependencies
   which are reliably pre-installed before running the build tools

  warnings.warn(
== Temporary log file in case of crash /scratch-local/casparl.27410417/eb-8y6gpmum/easybuild-otsen_ie.log
[ReFrame Setup]
  version:           4.7.0
  command:           '/gpfs/home4/casparl/EESSI/eessi_test_venv/bin/reframe --list'
  launched by:       [email protected]
  working directory: '/gpfs/home4/casparl/EESSI'
  settings files:    '<builtin>', '/home/casparl/EESSI/test-suite/config/surf_snellius.py'
  selected system:   'snellius'
  check search path: (R) '/gpfs/home4/casparl/EESSI/test-suite/eessi/testsuite/tests'
  stage directory:   '/scratch-shared/casparl/reframe_output/staging'
  output directory:  '/home/casparl/EESSI/reframe_runs/output'
  log files:         '/home/casparl/EESSI/reframe_runs/logs/reframe_20260930_163004.log'
  results database:  '/home/casparl/.reframe/reports/results.db'

...

Found 3920 check(s)

Log file(s) saved in '/home/casparl/EESSI/reframe_runs/logs/reframe_20260930_163004.log'

ReFrame 4.10.2 (from EESSI)

[casparl@tcn212 EESSI]$ reframe --list
/home/casparl/EESSI/test-suite/eessi/__init__.py:7: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  __import__("pkg_resources").declare_namespace(__name__)
eessi.testsuite.utils.EESSIError: The EESSI test suite does not support this ReFrame version due to feature name and environment name restrictions. Unsupported versions: >=4.10.1,<4.11 See https://github.com/reframe-hpc/reframe/issues/3723 for details.
Rerun with `TRACEBACK=1 reframe ...` to show the full traceback.

@casparvl
casparvl merged commit 4d4f41c into EESSI:main Sep 30, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants