software-layer
software-layer copied to clipboard
Add new init scritps for new initialization module
This is a followup PR for https://github.com/EESSI/software-layer/pull/667
After successful merge of #667 I have some test cases prepared, to test against the different shell.
For the moment, I struggle with an implementation for csh. It only seems to happen when I try to load the module inside csh. Error response of csh is not the brightest I've seen.
Instance eessi-bot-mc-aws is configured to build for:
- architectures:
x86_64/generic,x86_64/intel/haswell,x86_64/intel/skylake_avx512,x86_64/amd/zen2,x86_64/amd/zen3,aarch64/generic,aarch64/neoverse_n1,aarch64/neoverse_v1 - repositories:
eessi.io-2023.06-compat,eessi-hpc.org-2023.06-software,eessi-hpc.org-2023.06-compat,eessi.io-2023.06-software
Instance boegel-bot-deucalion is configured to build for:
- architectures:
aarch64/a64fx - repositories:
eessi.io-2023.06-software
Instance eessi-bot-mc-azure is configured to build for:
- architectures:
x86_64/amd/zen4 - repositories:
eessi.io-2023.06-compat,eessi-hpc.org-2023.06-compat,eessi-hpc.org-2023.06-software,eessi.io-2023.06-software
Ok it expanded the PS1 inside the git commit message :smiling_face_with_tear:
module load $LMOD_SYSTEM_DEFAULT_MODULES is a little brittle as this won't work if there is more than module in the variable (I think). It's probably best to take the official route as per the Lmod docs (shell dependent):
Implemented in last commit. Works as expected, with exclusion for csh.
Pushed tests are expected to fail for now (getting interesting after merge of #667)
We never included PS1 in #667 so your tests will fail for that currently. If you are keen to have that, it could be part of this PR or a follow-up after this is merged (this PR has higher priority in my opinion)
We never included PS1 in #667 so your tests will fail for that currently. If you are keen to have that, it could be part of this PR or a follow-up after this is merged (this PR has higher priority in my opinion)
Yes I was following the complete process and agree. The commits are reverted and can easily be reactivated later.
I still struggle with correctly testing the csh. It seems the script is working correctly, but redirecting is a pain and I rely on redirecting in the tests a lot.
No matter If I use x86_64/generic or the correct arch of the system, the Path will always point on the correct arch. Fixed this now by testing against a simple regex group.
bot: build repo:eessi.io-2023.06-software arch:x86_64/generic
Updates by the bot instance eessi-bot-mc-aws
(click for details)
-
received bot command
build repo:eessi.io-2023.06-software arch:x86_64/genericfromocaisa- expanded format:
build repository:eessi.io-2023.06-software architecture:x86_64/generic
- expanded format:
-
handling command
build repository:eessi.io-2023.06-software architecture:x86_64/genericresulted in:- submitted job
18438, for details & status see https://github.com/EESSI/software-layer/pull/668#issuecomment-2346791729
- submitted job
Updates by the bot instance eessi-bot-mc-azure
(click for details)
-
received bot command
build repo:eessi.io-2023.06-software arch:x86_64/genericfromocaisa- expanded format:
build repository:eessi.io-2023.06-software architecture:x86_64/generic
- expanded format:
-
handling command
build repository:eessi.io-2023.06-software architecture:x86_64/genericresulted in:- no jobs were submitted
New job on instance eessi-bot-mc-aws for architecture x86_64-generic for repository eessi.io-2023.06-software in job dir /project/def-users/SHARED/jobs/2024.09/pr_668/18438
| date | job status | comment |
|---|---|---|
| Sep 12 16:50:38 UTC 2024 | submitted | job id 18438 awaits release by job manager |
| Sep 12 16:51:12 UTC 2024 | released | job awaits launch by Slurm scheduler |
| Sep 12 16:57:14 UTC 2024 | running | job 18438 is running |
| Sep 12 17:16:35 UTC 2024 | finished | :cry: FAILURE (click triangle for details)
|
| Sep 12 17:16:35 UTC 2024 | test result | :grin: SUCCESS (click triangle for details)
|
Updates by the bot instance boegel-bot-deucalion
(click for details)
- account
ocaisahas NO permission to send commands to the bot
You need something similar to https://github.com/EESSI/software-layer/blob/2023.06-software.eessi.io/install_scripts.sh#L94-L97 so that the new scripts are actually deployed
bot: build repo:eessi.io-2023.06-software arch:x86_64/generic
Updates by the bot instance eessi-bot-mc-aws
(click for details)
-
received bot command
build repo:eessi.io-2023.06-software arch:x86_64/genericfromocaisa- expanded format:
build repository:eessi.io-2023.06-software architecture:x86_64/generic
- expanded format:
-
handling command
build repository:eessi.io-2023.06-software architecture:x86_64/genericresulted in:- submitted job
18439, for details & status see https://github.com/EESSI/software-layer/pull/668#issuecomment-2347211038
- submitted job
Updates by the bot instance eessi-bot-mc-azure
(click for details)
-
received bot command
build repo:eessi.io-2023.06-software arch:x86_64/genericfromocaisa- expanded format:
build repository:eessi.io-2023.06-software architecture:x86_64/generic
- expanded format:
-
handling command
build repository:eessi.io-2023.06-software architecture:x86_64/genericresulted in:- no jobs were submitted
Updates by the bot instance boegel-bot-deucalion
(click for details)
- account
ocaisahas NO permission to send commands to the bot
New job on instance eessi-bot-mc-aws for architecture x86_64-generic for repository eessi.io-2023.06-software in job dir /project/def-users/SHARED/jobs/2024.09/pr_668/18439
| date | job status | comment |
|---|---|---|
| Sep 12 20:48:12 UTC 2024 | submitted | job id 18439 awaits release by job manager |
| Sep 12 20:48:54 UTC 2024 | released | job awaits launch by Slurm scheduler |
| Sep 12 20:54:57 UTC 2024 | running | job 18439 is running |
| Sep 12 21:14:17 UTC 2024 | finished | :grin: SUCCESS (click triangle for details)
|
| Sep 12 21:14:17 UTC 2024 | test result | :grin: SUCCESS (click triangle for details)
|
| Sep 12 22:31:36 UTC 2024 | uploaded | transfer of eessi-2023.06-software-linux-x86_64-generic-1726174458.tar.gz to S3 bucket succeeded |
bot: build repo:eessi.io-2023.06-software arch:x86_64/generic
Updates by the bot instance eessi-bot-mc-aws
(click for details)
- account
MaKaNuhas NO permission to send commands to the bot
Updates by the bot instance eessi-bot-mc-azure
(click for details)
- account
MaKaNuhas NO permission to send commands to the bot
Updates by the bot instance boegel-bot-deucalion
(click for details)
- account
MaKaNuhas NO permission to send commands to the bot
Label bot:deploy has been set by user ocaisa, but this person does not have permission to trigger deployments
Staging PR merged, this is now in the wild!