Skip to content

copy used hpctestlib files into eessi test suite - #328

Merged
casparvl merged 11 commits into
EESSI:mainfrom
smoors:hpctestlib
Apr 29, 2026
Merged

casparvl merged 11 commits into
EESSI:mainfrom
smoors:hpctestlib

Conversation

@smoors

@smoors smoors commented Mar 21, 2026 •

Copy link
Copy Markdown
Collaborator

this PR copies the hpctestlib files that are used by the tests into the test suite, and adjusts the imports accordingly.

my original plan was to copy the full hpctestlib, but that caused problems with linting, and it would result in adding unsupported tests to the API documentation.

if desired, we can integrate those files in our tests in a follow-up PR.

required for fixing #263

@smoors smoors changed the title merge hpctestlib into eessi test suite copy used hpctestlib files into eessi test suite Mar 21, 2026
Comment thread eessi/testsuite/hpctestlib/README.md 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.

Change CI script so that it no longer pulls in the HPCtestlib from upstream

Comment thread .github/workflows/pip_install.yml Dismissed
@casparvl

Copy link
Copy Markdown
Collaborator

Tested on Vega, got some weird:

FAILURE INFO for EESSI_GROMACS %benchmark_info=HECBioSim/Crambin %nb_impl=cpu %scale=1_8_node %module_name=GROMACS/2024.4-foss-2023b (run: 1/1)
  * Description: GROMACS HECBioSim/Crambin benchmark (NB: cpu)
  * System partition: vega:cpu
  * Environment: default
  * Stage directory: /ceph/hpc/home/eucasparvl/EESSI/reframe_runs/stage/vega/cpu/default/EESSI_GROMACS_1be3c0ff
  * Node list:
  * Job type: batch job (id=None)
  * Dependencies (conceptual): []
  * Dependencies (actual): []
  * Maintainers: []
  * Failing phase: run
  * Rerun with '-n /1be3c0ff -p default --system vega:cpu -r'
  * Reason: environ error: could not execute module operation: command '/usr/share/lmod/lmod/libexec/lmod python load GROMACS/2024.4-foss-2023b' failed with exit code 1:
--- stdout ---
_mlstatus = False

--- stdout ---
--- stderr ---
Lmod has detected the following error: The following module(s) are unknown: "binutils/2.40-GCCcore-13.2.0" "XZ/5.4.4-GCCcore-13.2.0" "zlib/1.2.13-GCCcore-13.2.0"

Please check the spelling or version number. Also try "module spider ..."
It is also possible your cache file is out-of-date; it may help to try:
  $ module --ignore_cache load "binutils/2.40-GCCcore-13.2.0" "XZ/5.4.4-GCCcore-13.2.0" "zlib/1.2.13-GCCcore-13.2.0"

Also make sure that all modulefiles written in TCL start with the string #%Module

Failures for GROMACS. These don't make sense to me, as these deps are filtered in EESSI. It might be picking up on system modules. But: the rest of the tests succeeded. Also, failure is not specific to this feature branch, it also happened on the main branch, so no blocker. Also tried specifically the GROMACS tests on the AWS cluster, that worked fine.

@casparvl
casparvl merged commit 31f911a into EESSI:main Apr 29, 2026
16 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