Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update script for building for software.eessi.io (version 2023.06) #383

Closed

Conversation

boegel
Copy link
Contributor

@boegel boegel commented Nov 15, 2023

  • change to /cvmfs/software.eessi.io as default target repo
  • get rid of "pilot" (rename EESSI_PILOT_VERSION to EESSI_VERSION, etc.)

marked as WIP because i) untested, ii) maybe we want to introduce a new 2023.06-eessi.io branch, or fork off 2023.06-pilot first to retain possibility for building for EESSI pilot repo

edit: as requested, I will break up this PR into smaller ones that are easier to review & merge:

Extra PRs beyond what's changed in this one:

Copy link

eessi-bot bot commented Nov 15, 2023

Instance eessi-bot-mc-aws is configured to build:

  • arch x86_64/generic for repo eessi-hpc.org-2023.06-compat
  • arch x86_64/generic for repo eessi-hpc.org-2023.06-software
  • arch x86_64/generic for repo eessi.io-2023.06-compat
  • arch x86_64/generic for repo eessi.io-2023.06-software
  • arch x86_64/intel/haswell for repo eessi-hpc.org-2023.06-compat
  • arch x86_64/intel/haswell for repo eessi-hpc.org-2023.06-software
  • arch x86_64/intel/haswell for repo eessi.io-2023.06-compat
  • arch x86_64/intel/haswell for repo eessi.io-2023.06-software
  • arch x86_64/intel/skylake_avx512 for repo eessi-hpc.org-2023.06-compat
  • arch x86_64/intel/skylake_avx512 for repo eessi-hpc.org-2023.06-software
  • arch x86_64/intel/skylake_avx512 for repo eessi.io-2023.06-compat
  • arch x86_64/intel/skylake_avx512 for repo eessi.io-2023.06-software
  • arch x86_64/amd/zen2 for repo eessi-hpc.org-2023.06-compat
  • arch x86_64/amd/zen2 for repo eessi-hpc.org-2023.06-software
  • arch x86_64/amd/zen2 for repo eessi.io-2023.06-compat
  • arch x86_64/amd/zen2 for repo eessi.io-2023.06-software
  • arch x86_64/amd/zen3 for repo eessi-hpc.org-2023.06-compat
  • arch x86_64/amd/zen3 for repo eessi-hpc.org-2023.06-software
  • arch x86_64/amd/zen3 for repo eessi.io-2023.06-compat
  • arch x86_64/amd/zen3 for repo eessi.io-2023.06-software
  • arch aarch64/generic for repo eessi-hpc.org-2023.06-compat
  • arch aarch64/generic for repo eessi-hpc.org-2023.06-software
  • arch aarch64/generic for repo eessi.io-2023.06-compat
  • arch aarch64/generic for repo eessi.io-2023.06-software
  • arch aarch64/neoverse_n1 for repo eessi-hpc.org-2023.06-compat
  • arch aarch64/neoverse_n1 for repo eessi-hpc.org-2023.06-software
  • arch aarch64/neoverse_n1 for repo eessi.io-2023.06-compat
  • arch aarch64/neoverse_n1 for repo eessi.io-2023.06-software
  • arch aarch64/neoverse_v1 for repo eessi-hpc.org-2023.06-compat
  • arch aarch64/neoverse_v1 for repo eessi-hpc.org-2023.06-software
  • arch aarch64/neoverse_v1 for repo eessi.io-2023.06-compat
  • arch aarch64/neoverse_v1 for repo eessi.io-2023.06-software

Copy link
Collaborator

@trz42 trz42 left a comment

Choose a reason for hiding this comment

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

Huh, lots of changes:

  • we probably need to change the container images (build containers) $\rightarrow$ different repo though
  • the GHA workflows need to be changes accordingly
  • we should double-check if the bot has any mentioning of "pilot", pilot.eessi-hpc.org and the like; if we create new container images, the repo config for the bot has to be changed $\rightarrow$ just noted here, changes may need to be done in other repositories

@@ -79,7 +79,7 @@ display_help() {
echo " -m | --mode MODE - with MODE==shell (launch interactive shell) or"
echo " MODE==run (run a script or command) [default: shell]"
echo " -r | --repository CFG - configuration file or identifier defining the"
echo " repository to use [default: EESSI-pilot via"
echo " repository to use [default: EESSI via"
echo " default container, see --container]"
Copy link
Collaborator

Choose a reason for hiding this comment

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

The container images we use should probably be updated with the new configuration too.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well, yes and no.

Once cvmfs-contrib/config-repo#206 is merged, software.eessi.io should become automatically available with the current build (and client) container, I think.

So I prefer to try and see if that's the case first before we update the build container (which may be wise anyway, to sync up with the latest CernVM-FS for example).

Copy link
Collaborator

Choose a reason for hiding this comment

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

If we want to make use of the configuration provided by cvmfs-config-default, we do have to make sure to also mount /cvmfs/cvmfs-config.cern.ch in the container, as that provides the configuration files. So, we need to add a --fusemount container:cvmfs2 cvmfs-config.cern.ch /cvmfs/cvmfs-config.cern.ch to the apptainer command.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

When trying interactively, for some reason accessing /cvmfs/cvmfs-config.cern.ch just works even without the extra --fusemount option, and hence so does accessing /cvmfs/software.eessi.io:

Apptainer> find /etc/cvmfs | grep eessi
/etc/cvmfs/domain.d/eessi-hpc.org.conf
/etc/cvmfs/keys/eessi-hpc.org
/etc/cvmfs/keys/eessi-hpc.org/pilot.eessi-hpc.org.pub
/etc/cvmfs/keys/eessi-hpc.org/cvmfs-config.eessi-hpc.org.pub
/etc/cvmfs/keys/eessi-hpc.org/ci.eessi-hpc.org.pub

Apptainer> find /etc/cvmfs | grep eessi.io
Apptainer>

Apptainer> ls /cvmfs/cvmfs-config.cern.ch
etc


Apptainer> find /cvmfs/cvmfs-config.cern.ch -type f  grep eessi.io | xargs sha256sum
find: paths must precede expression: `grep'
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855  -
Apptainer> find /cvmfs/cvmfs-config.cern.ch -type f | grep eessi.io | xargs sha256sum
7d484216c59c00b81c9eb89e5ac511930d0e601a36cc2bdb106f51d148b19f14  /cvmfs/cvmfs-config.cern.ch/etc/cvmfs/domain.d/eessi.io.conf
d86b2190859f5124e78e0ff711c5a042be10d569350130a0f10a537eaacbc86b  /cvmfs/cvmfs-config.cern.ch/etc/cvmfs/keys/eessi.io/eessi.io.pub

Apptainer>
Apptainer> ls /cvmfs/software.eessi.io
host_injections  versions

Apptainer> attr -g revision /cvmfs/software.eessi.io
Attribute "revision" had a 2 byte value for /cvmfs/software.eessi.io:
25

Maybe loading one CernVM-FS repo is enough to also trigger a mount of the cvmfs-config.cern.ch?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

To clarify: accessing /cvmfs/software.eessi.io was working for me because we have CernVM-FS installed system-wide as well, so I guess the mount picks up on /cvmfs/cvmfs-config.cern.ch from the host OS.

If CernVM-FS is not installed in the host OS, then it doesn't work, so we do indeed need to explicitly mount /cvmfs/cvmfs-config.cern.ch via --fusemount.

…nfig' command to where eb command is available
@boegel
Copy link
Contributor Author

boegel commented Nov 17, 2023

bot: build repo:eessi.io-2023.06-software arch:x86_64/generic

Copy link

eessi-bot bot commented Nov 17, 2023

Updates by the bot instance eessi-bot-mc-aws (click for details)

Copy link

eessi-bot bot commented Nov 17, 2023

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/2023.11/pr_383/845

date job status comment
Nov 17 21:19:11 UTC 2023 submitted job id 845 awaits release by job manager
Nov 17 21:19:15 UTC 2023 released job awaits launch by Slurm scheduler
Nov 17 21:22:17 UTC 2023 running job 845 is running
Nov 17 21:25:21 UTC 2023 finished
😁 SUCCESS (click triangle for details)
Details
✅ job output file slurm-845.out
✅ 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-generic-1700256274.tar.gzsize: 19 MiB (19990361 bytes)
entries: 31127
modules under 2023.06/software/linux/x86_64/generic/modules/all
EasyBuild/4.8.2.lua
software under 2023.06/software/linux/x86_64/generic/software
EasyBuild/4.8.2
other under 2023.06/software/linux/x86_64/generic
.lmod/cache/spiderT.lua
.lmod/cache/spiderT.luac_5.1
.lmod/cache/timestamp
.lmod/lmodrc.lua

@boegel boegel marked this pull request as ready for review November 17, 2023 21:30
@boegel boegel changed the title [WIP] update script for building for software.eessi.io (version 2023.06) update script for building for software.eessi.io (version 2023.06) Nov 17, 2023
@boegel
Copy link
Contributor Author

boegel commented Nov 17, 2023

bot: build repo:eessi.io-2023.06-software arch:x86_64/intel/haswell
bot: build repo:eessi.io-2023.06-software arch:x86_64/intel/skylake_avx512
bot: build repo:eessi.io-2023.06-software arch:x86_64/amd/zen2
bot: build repo:eessi.io-2023.06-software arch:x86_64/amd/zen3
bot: build repo:eessi.io-2023.06-software arch:aarch64/generic
bot: build repo:eessi.io-2023.06-software arch:aarch64/neoverse_n1
bot: build repo:eessi.io-2023.06-software arch:aarch64/neoverse_v1

Copy link

eessi-bot bot commented Nov 17, 2023

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/intel/haswell from boegel

    • expanded format: build repository:eessi.io-2023.06-software architecture:x86_64/intel/haswell
  • received bot command build repo:eessi.io-2023.06-software arch:x86_64/intel/skylake_avx512 from boegel

    • expanded format: build repository:eessi.io-2023.06-software architecture:x86_64/intel/skylake_avx512
  • received bot command build repo:eessi.io-2023.06-software arch:x86_64/amd/zen2 from boegel

    • expanded format: build repository:eessi.io-2023.06-software architecture:x86_64/amd/zen2
  • received bot command build repo:eessi.io-2023.06-software arch:x86_64/amd/zen3 from boegel

    • expanded format: build repository:eessi.io-2023.06-software architecture:x86_64/amd/zen3
  • received bot command build repo:eessi.io-2023.06-software arch:aarch64/generic from boegel

    • expanded format: build repository:eessi.io-2023.06-software architecture:aarch64/generic
  • received bot command build repo:eessi.io-2023.06-software arch:aarch64/neoverse_n1 from boegel

    • expanded format: build repository:eessi.io-2023.06-software architecture:aarch64/neoverse_n1
  • received bot command build repo:eessi.io-2023.06-software arch:aarch64/neoverse_v1 from boegel

    • expanded format: build repository:eessi.io-2023.06-software architecture:aarch64/neoverse_v1
  • handling command build repository:eessi.io-2023.06-software architecture:x86_64/intel/haswell resulted in:

  • handling command build repository:eessi.io-2023.06-software architecture:x86_64/intel/skylake_avx512 resulted in:

  • handling command build repository:eessi.io-2023.06-software architecture:x86_64/amd/zen2 resulted in:

  • handling command build repository:eessi.io-2023.06-software architecture:x86_64/amd/zen3 resulted in:

  • handling command build repository:eessi.io-2023.06-software architecture:aarch64/generic resulted in:

  • handling command build repository:eessi.io-2023.06-software architecture:aarch64/neoverse_n1 resulted in:

  • handling command build repository:eessi.io-2023.06-software architecture:aarch64/neoverse_v1 resulted in:

Copy link

eessi-bot bot commented Nov 17, 2023

New job on instance eessi-bot-mc-aws for architecture x86_64-intel-haswell for repository eessi.io-2023.06-software in job dir /project/def-users/SHARED/jobs/2023.11/pr_383/846

date job status comment
Nov 17 21:37:40 UTC 2023 submitted job id 846 awaits release by job manager
Nov 17 21:38:34 UTC 2023 released job awaits launch by Slurm scheduler
Nov 17 21:44:55 UTC 2023 running job 846 is running
Nov 17 21:48:11 UTC 2023 finished
😁 SUCCESS (click triangle for details)
Details
✅ job output file slurm-846.out
✅ 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-intel-haswell-1700257654.tar.gzsize: 19 MiB (20016830 bytes)
entries: 31127
modules under 2023.06/software/linux/x86_64/intel/haswell/modules/all
EasyBuild/4.8.2.lua
software under 2023.06/software/linux/x86_64/intel/haswell/software
EasyBuild/4.8.2
other under 2023.06/software/linux/x86_64/intel/haswell
.lmod/cache/spiderT.lua
.lmod/cache/spiderT.luac_5.1
.lmod/cache/timestamp
.lmod/lmodrc.lua

Copy link

eessi-bot bot commented Nov 17, 2023

New job on instance eessi-bot-mc-aws for architecture x86_64-intel-skylake_avx512 for repository eessi.io-2023.06-software in job dir /project/def-users/SHARED/jobs/2023.11/pr_383/847

date job status comment
Nov 17 21:37:44 UTC 2023 submitted job id 847 awaits release by job manager
Nov 17 21:38:36 UTC 2023 released job awaits launch by Slurm scheduler
Nov 17 21:44:57 UTC 2023 running job 847 is running
Nov 17 21:47:09 UTC 2023 finished
😁 SUCCESS (click triangle for details)
Details
✅ job output file slurm-847.out
✅ 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-intel-skylake_avx512-1700257576.tar.gzsize: 19 MiB (19954795 bytes)
entries: 31127
modules under 2023.06/software/linux/x86_64/intel/skylake_avx512/modules/all
EasyBuild/4.8.2.lua
software under 2023.06/software/linux/x86_64/intel/skylake_avx512/software
EasyBuild/4.8.2
other under 2023.06/software/linux/x86_64/intel/skylake_avx512
.lmod/cache/spiderT.lua
.lmod/cache/spiderT.luac_5.1
.lmod/cache/timestamp
.lmod/lmodrc.lua

Copy link

eessi-bot bot commented Nov 17, 2023

New job on instance eessi-bot-mc-aws for architecture x86_64-amd-zen2 for repository eessi.io-2023.06-software in job dir /project/def-users/SHARED/jobs/2023.11/pr_383/848

date job status comment
Nov 17 21:37:47 UTC 2023 submitted job id 848 awaits release by job manager
Nov 17 21:38:30 UTC 2023 released job awaits launch by Slurm scheduler
Nov 17 21:43:48 UTC 2023 running job 848 is running
Nov 17 21:47:08 UTC 2023 finished
😁 SUCCESS (click triangle for details)
Details
✅ job output file slurm-848.out
✅ 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-1700257558.tar.gzsize: 19 MiB (19934131 bytes)
entries: 31127
modules under 2023.06/software/linux/x86_64/amd/zen2/modules/all
EasyBuild/4.8.2.lua
software under 2023.06/software/linux/x86_64/amd/zen2/software
EasyBuild/4.8.2
other under 2023.06/software/linux/x86_64/amd/zen2
.lmod/cache/spiderT.lua
.lmod/cache/spiderT.luac_5.1
.lmod/cache/timestamp
.lmod/lmodrc.lua

Copy link

eessi-bot bot commented Nov 17, 2023

New job on instance eessi-bot-mc-aws for architecture x86_64-amd-zen3 for repository eessi.io-2023.06-software in job dir /project/def-users/SHARED/jobs/2023.11/pr_383/849

date job status comment
Nov 17 21:37:51 UTC 2023 submitted job id 849 awaits release by job manager
Nov 17 21:38:32 UTC 2023 released job awaits launch by Slurm scheduler
Nov 17 21:43:50 UTC 2023 running job 849 is running
Nov 17 21:46:05 UTC 2023 finished
😁 SUCCESS (click triangle for details)
Details
✅ job output file slurm-849.out
✅ 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-zen3-1700257535.tar.gzsize: 18 MiB (19895028 bytes)
entries: 31127
modules under 2023.06/software/linux/x86_64/amd/zen3/modules/all
EasyBuild/4.8.2.lua
software under 2023.06/software/linux/x86_64/amd/zen3/software
EasyBuild/4.8.2
other under 2023.06/software/linux/x86_64/amd/zen3
.lmod/cache/spiderT.lua
.lmod/cache/spiderT.luac_5.1
.lmod/cache/timestamp
.lmod/lmodrc.lua

Copy link

eessi-bot bot commented Nov 17, 2023

New job on instance eessi-bot-mc-aws for architecture aarch64-generic for repository eessi.io-2023.06-software in job dir /project/def-users/SHARED/jobs/2023.11/pr_383/850

date job status comment
Nov 17 21:37:55 UTC 2023 submitted job id 850 awaits release by job manager
Nov 17 21:38:24 UTC 2023 released job awaits launch by Slurm scheduler
Nov 17 21:43:45 UTC 2023 running job 850 is running
Nov 17 21:46:03 UTC 2023 finished
😁 SUCCESS (click triangle for details)
Details
✅ job output file slurm-850.out
✅ 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-aarch64-generic-1700257535.tar.gzsize: 18 MiB (19913859 bytes)
entries: 31127
modules under 2023.06/software/linux/aarch64/generic/modules/all
EasyBuild/4.8.2.lua
software under 2023.06/software/linux/aarch64/generic/software
EasyBuild/4.8.2
other under 2023.06/software/linux/aarch64/generic
.lmod/cache/spiderT.lua
.lmod/cache/spiderT.luac_5.1
.lmod/cache/timestamp
.lmod/lmodrc.lua

Copy link

eessi-bot bot commented Nov 17, 2023

New job on instance eessi-bot-mc-aws for architecture aarch64-neoverse_n1 for repository eessi.io-2023.06-software in job dir /project/def-users/SHARED/jobs/2023.11/pr_383/851

date job status comment
Nov 17 21:37:58 UTC 2023 submitted job id 851 awaits release by job manager
Nov 17 21:38:26 UTC 2023 released job awaits launch by Slurm scheduler
Nov 17 21:39:38 UTC 2023 running job 851 is running
Nov 17 21:41:40 UTC 2023 finished
😁 SUCCESS (click triangle for details)
Details
✅ job output file slurm-851.out
✅ 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-aarch64-neoverse_n1-1700257260.tar.gzsize: 19 MiB (19942482 bytes)
entries: 31127
modules under 2023.06/software/linux/aarch64/neoverse_n1/modules/all
EasyBuild/4.8.2.lua
software under 2023.06/software/linux/aarch64/neoverse_n1/software
EasyBuild/4.8.2
other under 2023.06/software/linux/aarch64/neoverse_n1
.lmod/cache/spiderT.lua
.lmod/cache/spiderT.luac_5.1
.lmod/cache/timestamp
.lmod/lmodrc.lua

Copy link

eessi-bot bot commented Nov 17, 2023

New job on instance eessi-bot-mc-aws for architecture aarch64-neoverse_v1 for repository eessi.io-2023.06-software in job dir /project/def-users/SHARED/jobs/2023.11/pr_383/852

date job status comment
Nov 17 21:38:02 UTC 2023 submitted job id 852 awaits release by job manager
Nov 17 21:38:28 UTC 2023 released job awaits launch by Slurm scheduler
Nov 17 21:42:43 UTC 2023 running job 852 is running
Nov 17 21:44:58 UTC 2023 finished
😁 SUCCESS (click triangle for details)
Details
✅ job output file slurm-852.out
✅ 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-aarch64-neoverse_v1-1700257467.tar.gzsize: 18 MiB (19894841 bytes)
entries: 31127
modules under 2023.06/software/linux/aarch64/neoverse_v1/modules/all
EasyBuild/4.8.2.lua
software under 2023.06/software/linux/aarch64/neoverse_v1/software
EasyBuild/4.8.2
other under 2023.06/software/linux/aarch64/neoverse_v1
.lmod/cache/spiderT.lua
.lmod/cache/spiderT.luac_5.1
.lmod/cache/timestamp
.lmod/lmodrc.lua

@boegel
Copy link
Contributor Author

boegel commented Nov 17, 2023

This PR should be ready to go.

The tests will keep failing until the configuration for software.eessi.io is live in the default cvmfs-config repo (see cvmfs-contrib/config-repo#206 + cvmfs-contrib/config-repo#207).

So we should probably wait with deploying + merging until that's the case (should be on Mon 20 Nov'23).

We may also need to make a change before the deploy works correctly (to the right S3 bucket).
Right @trz42 ?

@boegel boegel changed the base branch from 2023.06 to software.eessi.io-2023.06 November 21, 2023 21:21
@boegel boegel added the 2023.06-software.eessi.io 2023.06 version of software.eessi.io label Nov 22, 2023
@boegel boegel marked this pull request as draft November 24, 2023 21:22
@boegel
Copy link
Contributor Author

boegel commented Nov 24, 2023

First smaller PR that works towards getting these changes in place in the 2023.06-software.eessi.io branch:

@boegel
Copy link
Contributor Author

boegel commented Nov 27, 2023

closing this, superseded by list of PRs mentioned in description

@boegel boegel closed this Nov 27, 2023
@boegel boegel deleted the 2023.06-eessi.io branch November 27, 2023 16:34
TopRichard added a commit to TopRichard/bot-software-layer1 that referenced this pull request May 29, 2024
…-gfbf/2022b

{2023.06}[gfbf/2022b] ASE V3.22.1
@boegel boegel restored the 2023.06-eessi.io branch September 17, 2024 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2023.06-software.eessi.io 2023.06 version of software.eessi.io
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants