You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I saw the following in a Slurm log of a failed build, done with EB 4.9.x:
cp: cannot stat '==': No such file or directory
cp: cannot stat 'Not': No such file or directory
cp: cannot stat 'enabling': No such file or directory
cp: cannot stat 'the': No such file or directory
cp: cannot stat 'post_easybuild_hook,': No such file or directory
cp: cannot stat 'as': No such file or directory
cp: cannot stat 'it': No such file or directory
cp: cannot stat 'requires': No such file or directory
cp: cannot stat 'EasyBuild': No such file or directory
cp: cannot stat '5.1.1': No such file or directory
cp: cannot stat 'or': No such file or directory
cp: cannot stat 'newer.': No such file or directory
Last EasyBuild log file copied from == Not enabling the post_easybuild_hook, as it requires EasyBuild 5.1.1 or newer.
This is because eb --last-log also prints Not enabling the post_easybuild_hook, as it requires EasyBuild 5.1.1 or newer., because it's not inside a hook function. By printing it to stderr, the issue is solved, as can be easily tested with EESSI-extend:
$ ml EasyBuild/5.0.0 EESSI-extend
$ eb --last-log
== Not enabling the post_easybuild_hook, as it requires EasyBuild 5.1.1 or newer.
/tmp/eb-mvh76a14/easybuild-dv862upj.log
$ echo $l
== Not enabling the post_easybuild_hook, as it requires EasyBuild 5.1.1 or newer. /tmp/eb-mvh76a14/easybuild-dv862upj.log
# use the hooks file from this PR
$ export EASYBUILD_HOOKS=./eb_hooks.py
$ l=$(eb --last-log)
WARNING: Not enabling the post_easybuild_hook, as it requires EasyBuild 5.1.1 or newer (you are using 5.0.0).
$ echo $l
/tmp/eb-mvh76a14/easybuild-dv862upj.log
New job on instance eessi-bot-mc-aws for CPU micro-architecture x86_64-amd-zen2 for repository eessi.io-2023.06-software in job dir /project/def-users/SHARED/jobs/2025.07/pr_39/76530
date
job status
comment
Jul 16 15:04:27 UTC 2025
submitted
job id 76530 awaits release by job manager
Jul 16 15:05:08 UTC 2025
released
job awaits launch by Slurm scheduler
Jul 16 15:10:11 UTC 2025
running
job 76530 is running
Jul 16 15:14:18 UTC 2025
finished
😁 SUCCESS (click triangle for details)
Details
✅ job output file slurm-76530.out ✅ no message matching FATAL: ✅ no message matching ERROR: ✅ no message matching FAILED: ✅ no message matching required modules missing: ✅ found message(s) matching No missing installations ✅ found message matching .tar.gz created!
Artefacts
eessi-2023.06-software-linux-x86_64-amd-zen2-17526786480.tar.gzsize: 0 MiB (18065 bytes) entries: 1 modules under 2023.06/software/linux/x86_64/amd/zen2/modules/all
no module files in tarball
software under 2023.06/software/linux/x86_64/amd/zen2/software
no software packages in tarball
reprod directories under 2023.06/software/linux/x86_64/amd/zen2/reprod
no reprod directories in tarball
other under 2023.06/software/linux/x86_64/amd/zen2
New job on instance eessi-bot-mc-aws for CPU micro-architecture x86_64-amd-zen2 for repository eessi.io-2025.06-software in job dir /project/def-users/SHARED/jobs/2025.07/pr_39/76531
date
job status
comment
Jul 16 15:04:31 UTC 2025
submitted
job id 76531 awaits release by job manager
Jul 16 15:05:06 UTC 2025
released
job awaits launch by Slurm scheduler
Jul 16 15:11:13 UTC 2025
running
job 76531 is running
Jul 16 15:12:15 UTC 2025
finished
😁 SUCCESS (click triangle for details)
Details
✅ job output file slurm-76531.out ✅ no message matching FATAL: ✅ no message matching ERROR: ✅ no 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-17526786490.tar.gzsize: 0 MiB (18063 bytes) entries: 1 modules under 2025.06/software/linux/x86_64/amd/zen2/modules/all
no module files in tarball
software under 2025.06/software/linux/x86_64/amd/zen2/software
no software packages in tarball
reprod directories under 2025.06/software/linux/x86_64/amd/zen2/reprod
no reprod directories in tarball
other under 2025.06/software/linux/x86_64/amd/zen2
2025.06/init/easybuild/eb_hooks.py
Jul 16 15:12:15 UTC 2025
test result
😢 FAILURE (click triangle for details)
Reason
EESSI test suite was not run, test step itself failed to execute.
Details
✅ job output file slurm-76531.out ❌ found message matching ERROR: ✅ no message matching [\s*FAILED\s*].*Ran .* test case
New job on instance eessi-bot-mc-aws for CPU micro-architecture x86_64-amd-zen2 for repository eessi.io-2023.06-software in job dir /project/def-users/SHARED/jobs/2025.07/pr_39/76532
date
job status
comment
Jul 16 19:15:09 UTC 2025
submitted
job id 76532 awaits release by job manager
Jul 16 19:15:40 UTC 2025
released
job awaits launch by Slurm scheduler
Jul 16 19:20:42 UTC 2025
running
job 76532 is running
Jul 16 19:25:47 UTC 2025
finished
😁 SUCCESS (click triangle for details)
Details
✅ job output file slurm-76532.out ✅ no message matching FATAL: ✅ no message matching ERROR: ✅ no message matching FAILED: ✅ no message matching required modules missing: ✅ found message(s) matching No missing installations ✅ found message matching .tar.gz created!
Artefacts
eessi-2023.06-software-linux-x86_64-amd-zen2-17526936970.tar.gzsize: 0 MiB (91596 bytes) entries: 80 modules under 2023.06/software/linux/x86_64/amd/zen2/modules/all
cowsay/3.04.lua
software under 2023.06/software/linux/x86_64/amd/zen2/software
cowsay/3.04
reprod directories under 2023.06/software/linux/x86_64/amd/zen2/reprod
no reprod directories in tarball
other under 2023.06/software/linux/x86_64/amd/zen2
Launching another build, this one is expected to fail, as I'm using an invalid version number. This allows us to check if the actual issue (see #39 (comment)) is solved.
New job on instance eessi-bot-mc-aws for CPU micro-architecture x86_64-amd-zen2 for repository eessi.io-2023.06-software in job dir /project/def-users/SHARED/jobs/2025.07/pr_39/76741
date
job status
comment
Jul 17 08:03:53 UTC 2025
submitted
job id 76741 awaits release by job manager
Jul 17 08:04:51 UTC 2025
released
job awaits launch by Slurm scheduler
Jul 17 08:10:53 UTC 2025
running
job 76741 is running
Jul 17 08:15:58 UTC 2025
finished
😢 FAILURE (click triangle for details)
Details
✅ job output file slurm-76741.out ✅ no message matching FATAL: ❌ found message matching ERROR: ❌ found message matching FAILED: ❌ found message matching required modules missing: ❌ no message matching No missing installations ✅ found message matching .tar.gz created!
Artefacts
eessi-2023.06-software-linux-x86_64-amd-zen2-17527398960.tar.gzsize: 0 MiB (18066 bytes) entries: 1 modules under 2023.06/software/linux/x86_64/amd/zen2/modules/all
no module files in tarball
software under 2023.06/software/linux/x86_64/amd/zen2/software
no software packages in tarball
reprod directories under 2023.06/software/linux/x86_64/amd/zen2/reprod
no reprod directories in tarball
other under 2023.06/software/linux/x86_64/amd/zen2
This is working fine now, the easybuild log of the failed installation is being copied to the shared dir again:
Feeding easystack file easystacks/software.eessi.io/2023.06/eessi-2023.06-eb-4.9.4-001-system.yml to EasyBuild...
WARNING: Not enabling the post_easybuild_hook, as it requires EasyBuild 5.1.1 or newer (you are using 4.9.4).
== Temporary log file in case of crash /tmp/eb-7ap2kccf/easybuild-7s_0yuix.log
== found valid index for /cvmfs/software.eessi.io/versions/2023.06/software/linux/x86_64/amd/zen2/software/EasyBuild/4.9.4/easybuild/easyconfigs, so using it...
== Running parse hook for cowsay-3.04.eb...
== Running parse hook for tmplzh9z892...
== Running parse hook for cowsay-999.eb...
== resolving dependencies ...
== processing EasyBuild easyconfig /tmp/eb-7ap2kccf/eb-sc2rbqyt/tweaked_easyconfigs/cowsay-999.eb
== building and installing cowsay/999...
>> installation prefix: /cvmfs/software.eessi.io/versions/2023.06/software/linux/x86_64/amd/zen2/software/cowsay/999
== fetching files...
== Running pre-fetch hook...
>> download failed: https://github.com/tnalpgge/rank-amateur-cowsay/archive/cowsay-999.tar.gz
>> download failed: https://sources.easybuild.io/c/cowsay/cowsay-999.tar.gz
== ... (took < 1 sec)
== FAILED: Installation ended unsuccessfully (build directory: /tmp/bot/easybuild/build/cowsay/999/system-system): build failed (first 300 chars): Couldn't find file cowsay-999.tar.gz anywhere, and downloading it didn't work eith
er... Paths attempted (in order): /tmp/eb-7ap2kccf/eb-sc2rbqyt/tweaked_easyconfigs/c/cowsay/cowsay-999.tar.gz, /tmp/eb-7ap2kccf/eb-sc2rbqyt/tweaked_easyconfigs/cowsay/cowsay-999.tar.gz, /tmp/eb-7ap2kccf/eb-sc2rbqyt/twe (took 0 se
cs)
== Results of the build can be found in the log file(s) /tmp/eb-7ap2kccf/eb-sc2rbqyt/easybuild-cowsay-999-20250717.081111.IFORe.log
ERROR: Build of /tmp/eb-7ap2kccf/eb-sc2rbqyt/tweaked_easyconfigs/cowsay-999.eb failed (err: "build failed (first 300 chars): Couldn't find file cowsay-999.tar.gz anywhere, and downloading it didn't work either... Paths attempted
(in order): /tmp/eb-7ap2kccf/eb-sc2rbqyt/tweaked_easyconfigs/c/cowsay/cowsay-999.tar.gz, /tmp/eb-7ap2kccf/eb-sc2rbqyt/tweaked_easyconfigs/cowsay/cowsay-999.tar.gz, /tmp/eb-7ap2kccf/eb-sc2rbqyt/twe")
WARNING: Not enabling the post_easybuild_hook, as it requires EasyBuild 5.1.1 or newer (you are using 4.9.4).
Last EasyBuild log file copied from /tmp/eb-7ap2kccf/easybuild-7s_0yuix.log to /eessi_bot_job
EasyBuild log file /tmp/eb-7ap2kccf/easybuild-7s_0yuix.log copied to /project/def-users/SHARED/build-logs/jobs/76741/easybuild-7s_0yuix.log (with context appended)
New job on instance eessi-bot-mc-aws for CPU micro-architecture x86_64-amd-zen2 for repository eessi.io-2023.06-software in job dir /project/def-users/SHARED/jobs/2025.07/pr_39/76742
date
job status
comment
Jul 17 17:37:28 UTC 2025
submitted
job id 76742 awaits release by job manager
Jul 17 17:37:49 UTC 2025
released
job awaits launch by Slurm scheduler
Jul 17 17:42:53 UTC 2025
running
job 76742 is running
Jul 17 17:46:58 UTC 2025
finished
😁 SUCCESS (click triangle for details)
Details
✅ job output file slurm-76742.out ✅ no message matching FATAL: ✅ no message matching ERROR: ✅ no message matching FAILED: ✅ no message matching required modules missing: ✅ found message(s) matching No missing installations ✅ found message matching .tar.gz created!
Artefacts
eessi-2023.06-software-linux-x86_64-amd-zen2-17527741990.tar.gzsize: 0 MiB (18065 bytes) entries: 1 modules under 2023.06/software/linux/x86_64/amd/zen2/modules/all
no module files in tarball
software under 2023.06/software/linux/x86_64/amd/zen2/software
no software packages in tarball
reprod directories under 2023.06/software/linux/x86_64/amd/zen2/reprod
no reprod directories in tarball
other under 2023.06/software/linux/x86_64/amd/zen2
New job on instance eessi-bot-mc-aws for CPU micro-architecture x86_64-amd-zen2 for repository eessi.io-2025.06-software in job dir /project/def-users/SHARED/jobs/2025.07/pr_39/76743
date
job status
comment
Jul 17 17:37:31 UTC 2025
submitted
job id 76743 awaits release by job manager
Jul 17 17:37:47 UTC 2025
released
job awaits launch by Slurm scheduler
Jul 17 17:42:51 UTC 2025
running
job 76743 is running
Jul 17 17:43:55 UTC 2025
finished
😁 SUCCESS (click triangle for details)
Details
✅ job output file slurm-76743.out ✅ no message matching FATAL: ✅ no message matching ERROR: ✅ no 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-17527741720.tar.gzsize: 0 MiB (18065 bytes) entries: 1 modules under 2025.06/software/linux/x86_64/amd/zen2/modules/all
no module files in tarball
software under 2025.06/software/linux/x86_64/amd/zen2/software
no software packages in tarball
reprod directories under 2025.06/software/linux/x86_64/amd/zen2/reprod
no reprod directories in tarball
other under 2025.06/software/linux/x86_64/amd/zen2
2025.06/init/easybuild/eb_hooks.py
Jul 17 17:43:55 UTC 2025
test result
😢 FAILURE (click triangle for details)
Reason
EESSI test suite was not run, test step itself failed to execute.
Details
✅ job output file slurm-76743.out ❌ found message matching ERROR: ✅ no message matching [\s*FAILED\s*].*Ran .* test case
Jul 17 19:19:14 UTC 2025
uploaded
transfer of eessi-2025.06-software-linux-x86_64-amd-zen2-17527741720.tar.gz to S3 bucket succeeded
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I saw the following in a Slurm log of a failed build, done with EB 4.9.x:
This is because
eb --last-logalso printsNot enabling the post_easybuild_hook, as it requires EasyBuild 5.1.1 or newer., because it's not inside a hook function. By printing it to stderr, the issue is solved, as can be easily tested withEESSI-extend: