Skip to content

{2025.06, 2023.06} Rebuild EESSI-extend to fix 'module show' issue and use default EESSI version dependent on initialized EESSI version#108

Closed
trz42 wants to merge 1 commit intoEESSI:mainfrom
trz42:check_if_easybuild_version_is_defined
Closed

{2025.06, 2023.06} Rebuild EESSI-extend to fix 'module show' issue and use default EESSI version dependent on initialized EESSI version#108
trz42 wants to merge 1 commit intoEESSI:mainfrom
trz42:check_if_easybuild_version_is_defined

Conversation

@trz42
Copy link
Copy Markdown
Contributor

@trz42 trz42 commented Oct 12, 2025

Running module show EESSI-extend in EESSI/2025.06 throws the following error

Lmod Warning:  Syntax error in file:
/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/intel/haswell/modules/all/EESSI-extend/2025.06-easybuild.lua
 with command: convertToCanonical, one or more arguments are not strings.

While processing the following module(s):
    Module fullname                 Module Filename
    ---------------                 ---------------
    EESSI-extend/2025.06-easybuild  /cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/intel/haswell/modules/all/EESSI-extend/2025.06-easybuild.lua

Lmod has detected the following error:  Unable to load module because of error when evaluating modulefile:
     /cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/intel/haswell/modules/all/EESSI-extend/2025.06-easybuild.lua:
[string "help([==[..."]:239: attempt to compare string with nil
     Please check the modulefile and especially if there is a line number specified in the above message
While processing the following module(s):
    Module fullname                 Module Filename
    ---------------                 ---------------
    EESSI-extend/2025.06-easybuild  /cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/intel/haswell/modules/all/EESSI-extend/2025.06-easybuild.lua

It looks like easybuild_version is not defined when the conditional expression in line 239 (see below) is evaluated

if mode() == "unload" or mode() == "dependencyCk" or convertToCanonical(easybuild_version) >= convertToCanonical("5.1") then

Also, it seems not correct to set eessi_version to 2023.06 for EESSI/2025.06 in case $EESSI_VERSION is undefined. See line 232 below

eessi_version = os.getenv("EESSI_VERSION") or "2023.06"

@trz42 trz42 added bug Something isn't working 2025.06-software.eessi.io 2025.06 version of software.eessi.io labels Oct 12, 2025
@trz42
Copy link
Copy Markdown
Contributor Author

trz42 commented Oct 12, 2025

bot: build repo:eessi.io-2025.06-software instance:eessi-bot-jsc for:arch=aarch64/nvidia/grace
bot: build repo:eessi.io-2025.06-software instance:eessi-bot-deucalion for:arch=aarch64/a64fx
bot: build repo:eessi.io-2025.06-software instance:eessi-bot-mc-aws for:arch=x86_64/amd/zen2

@eessi-bot-jsc
Copy link
Copy Markdown

eessi-bot-jsc bot commented Oct 12, 2025

New job on instance eessi-bot-jsc for repository eessi.io-2025.06-software
Building on: nvidia-grace
Building for: aarch64/nvidia/grace
Job dir: /p/project1/ceasybuilders/eessibot/jobs/2025.10/pr_108/14112686

date job status comment
Oct 12 19:47:50 UTC 2025 submitted job id 14112686 awaits release by job manager
Oct 12 19:48:10 UTC 2025 released job awaits launch by Slurm scheduler
Oct 12 19:49:14 UTC 2025 running job 14112686 is running
Oct 12 19:51:17 UTC 2025 finished
😢 FAILURE (click triangle for details)
Details
✅ job output file slurm-14112686.out
✅ no message matching FATAL:
❌ found message matching ERROR:
❌ found message matching FAILED:
✅ no message matching required modules missing:
✅ found message(s) matching No missing installations
✅ found message matching .tar.gz created!
Artefacts
eessi-2025.06-software-linux-aarch64-nvidia-grace-17602985990.tar.gzsize: 0 MiB (82559 bytes)
entries: 25
modules under 2025.06/software/linux/aarch64/nvidia/grace/modules/all
EESSI-extend/2025.06-easybuild.lua
software under 2025.06/software/linux/aarch64/nvidia/grace/software
EESSI-extend/2025.06-easybuild
reprod directories under 2025.06/software/linux/aarch64/nvidia/grace/reprod
EESSI-extend/2025.06-easybuild/20251012_194943UTC
other under 2025.06/software/linux/aarch64/nvidia/grace
no other files in tarball
Oct 12 19:51:17 UTC 2025 test result
😁 SUCCESS (click triangle for details)
ReFrame Summary
[ PASSED ] Ran 0/0 test case(s) from 0 check(s) (0 failure(s), 0 skipped, 0 aborted)
Details
✅ job output file slurm-14112686.out
❌ found message matching ERROR:
✅ no message matching [\s*FAILED\s*].*Ran .* test case

@eessi-bot-aws
Copy link
Copy Markdown

eessi-bot-aws bot commented Oct 12, 2025

New job on instance eessi-bot-mc-aws for repository eessi.io-2025.06-software
Building on: amd-zen2
Building for: x86_64/amd/zen2
Job dir: /project/def-users/SHARED/jobs/2025.10/pr_108/96254

date job status comment
Oct 12 19:47:51 UTC 2025 submitted job id 96254 awaits release by job manager
Oct 12 19:48:38 UTC 2025 released job awaits launch by Slurm scheduler
Oct 12 19:53:40 UTC 2025 running job 96254 is running
Oct 12 19:55:42 UTC 2025 finished
😢 FAILURE (click triangle for details)
Details
✅ job output file slurm-96254.out
✅ no message matching FATAL:
❌ found message matching ERROR:
❌ found message matching FAILED:
✅ no message matching required modules missing:
✅ found message(s) matching No missing installations
✅ found message matching .tar.gz created!
Artefacts
eessi-2025.06-software-linux-x86_64-amd-zen2-17602988920.tar.gzsize: 0 MiB (84654 bytes)
entries: 25
modules under 2025.06/software/linux/x86_64/amd/zen2/modules/all
EESSI-extend/2025.06-easybuild.lua
software under 2025.06/software/linux/x86_64/amd/zen2/software
EESSI-extend/2025.06-easybuild
reprod directories under 2025.06/software/linux/x86_64/amd/zen2/reprod
EESSI-extend/2025.06-easybuild/20251012_195442UTC
other under 2025.06/software/linux/x86_64/amd/zen2
no other files in tarball
Oct 12 19:55:42 UTC 2025 test result
😁 SUCCESS (click triangle for details)
ReFrame Summary
[ PASSED ] Ran 0/0 test case(s) from 0 check(s) (0 failure(s), 0 skipped, 0 aborted)
Details
✅ job output file slurm-96254.out
❌ found message matching ERROR:
✅ no message matching [\s*FAILED\s*].*Ran .* test case

@eessi-bot-deucalion
Copy link
Copy Markdown

eessi-bot-deucalion bot commented Oct 12, 2025

New job on instance eessi-bot-deucalion for repository eessi.io-2025.06-software
Building on: a64fx
Building for: aarch64/a64fx
Job dir: /home/eessibot/new-bot/jobs/2025.10/pr_108/583229

date job status comment
Oct 12 19:47:52 UTC 2025 submitted job id 583229 awaits release by job manager
Oct 12 19:48:02 UTC 2025 released job awaits launch by Slurm scheduler
Oct 12 19:49:06 UTC 2025 running job 583229 is running
Oct 12 19:56:24 UTC 2025 finished
😢 FAILURE (click triangle for details)
Details
✅ job output file slurm-583229.out
✅ no message matching FATAL:
❌ found message matching ERROR:
❌ found message matching FAILED:
✅ no message matching required modules missing:
✅ found message(s) matching No missing installations
✅ found message matching .tar.gz created!
Artefacts
eessi-2025.06-software-linux-aarch64-a64fx-17602987640.tar.gzsize: 0 MiB (81259 bytes)
entries: 25
modules under 2025.06/software/linux/aarch64/a64fx/modules/all
EESSI-extend/2025.06-easybuild.lua
software under 2025.06/software/linux/aarch64/a64fx/software
EESSI-extend/2025.06-easybuild
reprod directories under 2025.06/software/linux/aarch64/a64fx/reprod
EESSI-extend/2025.06-easybuild/20251012_195224UTC
other under 2025.06/software/linux/aarch64/a64fx
no other files in tarball
Oct 12 19:56:24 UTC 2025 test result
😁 SUCCESS (click triangle for details)
ReFrame Summary
[ PASSED ] Ran 0/0 test case(s) from 0 check(s) (0 failure(s), 0 skipped, 0 aborted)
Details
✅ job output file slurm-583229.out
❌ found message matching ERROR:
✅ no message matching [\s*FAILED\s*].*Ran .* test case

@trz42 trz42 changed the title fix 'module show' issue and use default EESSI version dependent on initialized EESSI version {2025.06} Rebuild EESSI-extend to fix 'module show' issue and use default EESSI version dependent on initialized EESSI version Oct 12, 2025
Copy link
Copy Markdown
Contributor

@boegel boegel left a comment

Choose a reason for hiding this comment

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

lgtm

@boegel
Copy link
Copy Markdown
Contributor

boegel commented Oct 14, 2025

Hmm, why are the builds marked as failing?

# evaluated. Also, it seems not correct that the eessi_version is set to
# "2023.06" if the environment variable EESSI_VERSION is not set.
easyconfigs:
- EESSI-extend-easybuild.eb
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you remove this file, you don't need it

@ocaisa
Copy link
Copy Markdown
Member

ocaisa commented Oct 23, 2025

For EESSI-extend you don't need an easystack, but you need to deploy this for all architectures for 2023.06 and 2025.06 ... but first wait on #108 and sync the PR once that is merged

@ocaisa
Copy link
Copy Markdown
Member

ocaisa commented Oct 23, 2025

@trz42 Can you add CI to ensure that this is actually fixed, for example just before L53 in

module use $MY_INSTALLATION_PATH/modules/all
module load EESSI-extend/${{matrix.EESSI_VERSION}}-easybuild

module show EESSI-extend/${{matrix.EESSI_VERSION}}-easybuild

@ocaisa ocaisa changed the title {2025.06} Rebuild EESSI-extend to fix 'module show' issue and use default EESSI version dependent on initialized EESSI version {2025.06, 2023.06} Rebuild EESSI-extend to fix 'module show' issue and use default EESSI version dependent on initialized EESSI version Oct 23, 2025
@trz42
Copy link
Copy Markdown
Contributor Author

trz42 commented Mar 31, 2026

Seems no one is really missing this or complaining about the issue.

@trz42 trz42 closed this Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2025.06-software.eessi.io 2025.06 version of software.eessi.io bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants