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

Feature archdetect rpi #223

Closed
wants to merge 999 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
999 commits
Select commit Hold shift + click to select a range
34f3be0
Merge pull request #481 from TopRichard/eessi-2023.06-dask/9.2-foss/2…
ocaisa Mar 1, 2024
5e7c6bb
Merge pull request #486 from ocaisa/tweak_check_missing
boegel Mar 1, 2024
78ba8d8
Adding OSU microbenchmarks with GPU support for 2023a, and one withou…
Mar 1, 2024
e666e2c
launch with --fakeroot for build jobs triggered by bot
bedroge Mar 1, 2024
34bc1c2
remove existing dirs for rebuilds
bedroge Mar 1, 2024
46e7532
rebuild all OpenMPI 4.1.x versions
bedroge Mar 1, 2024
21959d6
add some comments/links
bedroge Mar 1, 2024
7054a58
fix syntax, add missing parentheses
bedroge Mar 1, 2024
1fd1609
'which' is not working in the container, command -v is
Mar 1, 2024
7b78861
remove spaces from blank lines
bedroge Mar 1, 2024
87e5ff0
rename file to be able to find EB version
bedroge Mar 1, 2024
d07879f
clarify comment about fakeroot
bedroge Mar 1, 2024
135c3c8
add --allow-use-as-root-and-accept-consequences
bedroge Mar 1, 2024
f1831b4
add missing $
bedroge Mar 1, 2024
68212a4
fix app_dir variable
bedroge Mar 1, 2024
6bcd0e3
split loop, first remove everything that needs to be removed, then dr…
bedroge Mar 1, 2024
c81c0de
add missing else and fi
bedroge Mar 1, 2024
f994583
su without hypen
bedroge Mar 1, 2024
21e3735
rerun the script with a regular user after removing installations
bedroge Mar 1, 2024
4f436b3
fix typo and add missing quote
bedroge Mar 1, 2024
0676fda
fix syntax
bedroge Mar 1, 2024
95d6aaa
fix typo in app_dir variable
bedroge Mar 1, 2024
3141789
Workaround for 'PSM3 can't open nic unit' error
Mar 1, 2024
e52afc1
run removal step without Prefix
bedroge Mar 1, 2024
be4c592
move removal part to its own script, at least for now
bedroge Mar 1, 2024
a28e5ee
Merge pull request #487 from casparvl/osu_gpu
ocaisa Mar 1, 2024
efbeb56
Use LMOD_CONFIG_DIR instead of LMOD_RC to allow user overrides of wha…
Mar 4, 2024
590cabd
Combine functions into a single function, before registering this as …
Mar 5, 2024
340b833
remove su, add error message
bedroge Mar 5, 2024
88d21d9
first run the EESSI-remove-software.sh script in a separate container…
bedroge Mar 5, 2024
499328d
undo
bedroge Mar 5, 2024
8100fed
dont use TMPDIR
bedroge Mar 5, 2024
c758d74
use EUID instead of UID
bedroge Mar 5, 2024
78cc503
do set/override TMPDIR
bedroge Mar 5, 2024
0de249e
Look for site-specific lmodrc file in host_injections. If present, se…
Mar 5, 2024
c1840dd
Next the local lmodrc within the versioned directory, e.g. /cvmfs/sof…
Mar 6, 2024
df4140a
Update init/eessi_environment_variables
ocaisa Mar 6, 2024
78e582b
Update init/eessi_environment_variables
ocaisa Mar 6, 2024
77c9723
Update init/eessi_environment_variables
ocaisa Mar 6, 2024
276a64c
{2023.06}[gompi/2023b] CDO v2.2.2
Mar 7, 2024
4c22e55
Merge pull request #492 from TopRichard/eessi-2023.06-CDO/2.2.2-gompi…
ocaisa Mar 7, 2024
e33938f
Revert changes in eessi_environment_variables. Limit this PR to the b…
Mar 7, 2024
8dc4d2a
Merge pull request #490 from casparvl/change_lmodrc_setup
ocaisa Mar 7, 2024
c660a42
dont set fakeroot here
bedroge Mar 8, 2024
be5aa37
run build step with fakeroot
bedroge Mar 8, 2024
4946b08
if run as root, run the removal script
bedroge Mar 8, 2024
123c47a
add fakeroot option
bedroge Mar 8, 2024
93ccf68
add echo
bedroge Mar 8, 2024
017803b
add echo
bedroge Mar 8, 2024
c492406
add removal step
bedroge Mar 8, 2024
7b57e81
remove removal step
bedroge Mar 8, 2024
485ff46
call EESSI-remove-software.sh for removal step
bedroge Mar 8, 2024
8204a52
remove echo command
bedroge Mar 8, 2024
15eb765
remove unused code
bedroge Mar 8, 2024
1f7501f
rename remove to removal, resume tarball step from removal dir
bedroge Mar 8, 2024
45022b6
Allow for open PRs when checking missing installations in build script
ocaisa Mar 8, 2024
723fce8
Check for unmerged EasyConfig output pattern
Mar 9, 2024
5cd559e
Merge branch 'tweak_missing_installs' into improve_error_on_unmerged_pr
Mar 9, 2024
f4f2776
First, try without --from-pr. If that fails, try with --from-pr, but …
Mar 9, 2024
b789108
Add CFITSIO as a test example, see if we can get a clear error messag…
Mar 9, 2024
d178a8f
Added clarifying comment
Mar 9, 2024
9123c9c
Correct mistake: I meant to _move_ the awk part, not duplicate it
Mar 9, 2024
7e44223
Now actually check against the exit code of the pipe...
Mar 9, 2024
da749a1
Make seperate exit code for the run that allows --from-pr
Mar 9, 2024
86d8a36
Remove ineffective DP3 hook
Mar 11, 2024
790756b
Merge upstream changes into branch
Mar 11, 2024
f8816ac
{2023.06}[2023a] JupyterNotebook v7.0.2
boegel Mar 11, 2024
310e1e3
Initial attempt at splitting off the LMOD hooks into a seperate SiteP…
Mar 11, 2024
a8c2883
Correct typo
casparvl Mar 11, 2024
6553e29
Skip the if-condition also if pr_exceptions is empty. There is no poi…
Mar 11, 2024
8990e37
Merge branch 'improve_error_on_unmerged_pr' of github.com:casparvl/so…
Mar 11, 2024
27a12bd
Added missing quote
Mar 11, 2024
81e544f
Cant add to a variable that doesnt exist... We don't need this interm…
Mar 11, 2024
333762b
determine whether or not the removal step has to be run
bedroge Mar 11, 2024
8fc3fc4
Merge pull request #495 from boegel/2023.06-software.eessi.io_Jupyter…
bedroge Mar 12, 2024
6fee4c9
Merge pull request #479 from t1mk1k/new_pr_wsclean_dp3_2023b
ocaisa Mar 12, 2024
0343684
{2023.06}[foss/2023b] python-casacore 3.5.2 + libspatialindex 1.9.3
Mar 12, 2024
af55c71
Merge branch '2023.06-software.eessi.io' into 2023.06-software-imagem…
bedroge Mar 12, 2024
3e43b06
add ImageMagick-7.1.1-15-GCCcore-12.3.0.eb
bedroge Mar 12, 2024
0b826ae
remove proxy arguments
bedroge Mar 12, 2024
0ed1249
remove code for setting http(s)_proxy
bedroge Mar 12, 2024
bc4fd89
no need to set build logs dir
bedroge Mar 12, 2024
fd7a9ea
remove commented code
bedroge Mar 12, 2024
994d573
fix comment about purpose of script
bedroge Mar 12, 2024
3d7a959
remove code and parameter for setting shared fs path
bedroge Mar 12, 2024
75735ac
Merge pull request #470 from trz42/2023.06-software-imagemagick-foss-…
boegel Mar 12, 2024
25917ba
Merge pull request #498 from bedroge/imagemagick_2023a
boegel Mar 12, 2024
85f80d4
Merge branch '2023.06-software.eessi.io' into eessi-2023.06-R/4.2.2-f…
bedroge Mar 12, 2024
447a473
Merge branch '2023.06-software.eessi.io' into 2023.06-sw-R-bundle-CRA…
bedroge Mar 12, 2024
0295571
Use PR that sets LD_LIBRARY_PATH for python-casacore
Mar 12, 2024
dab1ac0
Create generic function to compare (and if needed copy) files based o…
Mar 12, 2024
0abedef
An expanded bash array counts as extra arguments. Thus, we cannot che…
Mar 12, 2024
11c7525
Forgot to check the diff if the create_lmodsitepackage.py actually ch…
Mar 12, 2024
a07b8a8
Is quoting the problem
Mar 12, 2024
90b3ce0
Try quoting
Mar 12, 2024
9c707e4
Correct prefix for the gpu_support scripts
Mar 12, 2024
222d929
Merge pull request #497 from t1mk1k/new_pr_python_casacore_libspatial…
bedroge Mar 12, 2024
bc84aec
Merge pull request #475 from ocaisa/always_lmod_rc
boegel Mar 13, 2024
b52db4b
Merge branch '2023.06-software.eessi.io' into improve_error_on_unmerg…
boegel Mar 13, 2024
c08831e
Update bot/check-build.sh
ocaisa Mar 13, 2024
992b11d
Remove PR to trigger comment
ocaisa Mar 13, 2024
8d6493e
Trigger on any non-zero exit code
ocaisa Mar 13, 2024
1dee560
Merge pull request #494 from casparvl/improve_error_on_unmerged_pr
boegel Mar 13, 2024
6d49425
Merge branch '2023.06-software.eessi.io' into software_rebuilds
bedroge Mar 13, 2024
a148920
remove openmpi hook that provided a temporary workaround
bedroge Mar 13, 2024
2a7629c
solve merge conflict, remove openmpi hook that provided a temporary w…
bedroge Mar 13, 2024
5d4542e
remove hook.register for cuda hook
bedroge Mar 13, 2024
54bb3ec
Make sure the changed init scripts also end up in the tarball
Mar 14, 2024
3e00ce1
Merge branch '2023.06-software.eessi.io' into replace_lmodrc_with_sit…
casparvl Mar 14, 2024
0fdbd3a
Add Z3 with new module name
ocaisa Mar 14, 2024
dd75723
Merge pull request #502 from EESSI/ocaisa-patch-6
bedroge Mar 14, 2024
5a6bfd1
Remove whitspace
Mar 14, 2024
7618fac
Merge branch 'replace_lmodrc_with_site_package' of github.com:casparv…
Mar 14, 2024
d097189
{2023.06}[2023a] PyOpenGL 3.1.7
boegel Mar 14, 2024
8245aff
add from-pr=20007
bedroge Mar 14, 2024
06a0413
Merge pull request #503 from boegel/2023.06-software.eessi.io_2023a_P…
bedroge Mar 15, 2024
af58e1a
{2023.06}[2023a] ipympl 0.9.3
boegel Mar 15, 2024
a12b9a3
fix check_missing_installations.sh when unmerged PR is used
boegel Mar 15, 2024
20c5c98
Merge pull request #506 from boegel/2023.06-software.eessi.io_fix-che…
ocaisa Mar 15, 2024
f4e1656
Merge branch '2023.06-software.eessi.io' into 2023.06-software.eessi.…
boegel Mar 15, 2024
974181d
Merge pull request #505 from boegel/2023.06-software.eessi.io_ipympl
bedroge Mar 16, 2024
54e3085
Add libxc and ELPA
ocaisa Mar 20, 2024
536d323
Merge branch '2023.06-software.eessi.io' into run_test_suite_based_on…
casparvl Mar 22, 2024
9d62787
source init/bash instead of minimal eessi env
bedroge Mar 26, 2024
229ce93
remove GENERIC variable
bedroge Mar 26, 2024
977bcaa
clean up eb optarch=generic settings
bedroge Mar 26, 2024
f1cfc1b
source init/bash and clean up redundant code
bedroge Mar 26, 2024
aa4a82d
set EB variable
bedroge Mar 26, 2024
6ca6a70
remove build-dir argument from display_help
bedroge Mar 26, 2024
e89cb05
export the EASYBUILD_OPTARCH variable
bedroge Mar 26, 2024
502c023
remove EASYBUILD_OPTARCH
bedroge Mar 26, 2024
3206a0f
remove echo_yellow call for generic builds
bedroge Mar 26, 2024
ee1c2ce
use separate variable for removal script arguments
bedroge Mar 26, 2024
330db7a
also dump status to test result file
boegel Mar 26, 2024
f3c6207
add Caspar as author in `bot/test.sh` script
boegel Mar 26, 2024
c55ee6b
clarify why we need fakeroot, add link to issue
bedroge Mar 26, 2024
13072df
use read-only mode to access software installations via container
boegel Mar 26, 2024
1fa323a
fix typo: build -> test
boegel Mar 26, 2024
8d05473
disable CPU auto-detection in template ReFrame configuration script u…
boegel Mar 26, 2024
c53f578
pass down --generic to script used for running test suite, so tests a…
boegel Mar 26, 2024
784df83
Merge pull request #496 from casparvl/replace_lmodrc_with_site_package
trz42 Mar 26, 2024
85a6749
Merge branch '2023.06-software.eessi.io' into software_rebuilds
bedroge Mar 26, 2024
57d8b6f
remove openmpi hook for smcuda workaround
bedroge Mar 26, 2024
bef38ba
{2023.06}[2023a] OpenJPEG 2.5.0
boegel Mar 26, 2024
a0dc281
fix comment for creating lmod rc code block
bedroge Mar 26, 2024
b2570ed
don't update lmod cache here anymore
bedroge Mar 26, 2024
f94b631
bumped Qt5 to version 5.5.13
Mar 26, 2024
56e4b87
add LittleCMS, giflib, OpenJPEG to fix check_missing CI
bedroge Mar 26, 2024
32f0402
also add libwebp-1.3.2-GCCcore-13.2.0.eb
bedroge Mar 26, 2024
f2844fb
remove OpenMPI, which has been rebuilt in #488
bedroge Mar 26, 2024
c17d9a1
Merge pull request #513 from bedroge/2023.06-software.eessi.io_OpenJP…
casparvl Mar 26, 2024
5988cb8
Merge pull request #511 from boegel/2023.06-software.eessi.io_OpenJPEG
casparvl Mar 26, 2024
02aa609
sync local branch with remote
Mar 26, 2024
5a43f9e
Don't need gnuplot, install with EasyBuild 4.9.0
Neves-P Mar 26, 2024
7b0cf22
Merge branch '2023.06-software.eessi.io' into 2023.06-software.eessi.io
Neves-P Mar 26, 2024
7c7e1b1
use older apptainer (1.2.4)
truib Mar 26, 2024
deb12e9
clean up downloading RPM for Apptainer < 1.3.0 RPM from EPEL 8.8 arch…
boegel Mar 26, 2024
b9d32f0
Merge pull request #516 from boegel/2023.06-software.eessi.io_apptainer
trz42 Mar 26, 2024
bde75ee
Merge branch '2023.06-software.eessi.io' of github.com:EESSI/software…
bedroge Mar 26, 2024
73905db
Merge pull request #467 from casparvl/run_test_suite_based_on_pr366
boegel Mar 26, 2024
d8867be
Merge branch '2023.06-software.eessi.io' into elpa_libxc
bedroge Mar 26, 2024
f349fde
Merge pull request #488 from bedroge/software_rebuilds
casparvl Mar 26, 2024
36da7b8
Merge branch '2023.06-software.eessi.io' of github.com:EESSI/software…
bedroge Mar 26, 2024
2803c63
Merge pull request #512 from bedroge/remove_lmod_cache_update_code
trz42 Mar 26, 2024
cd5ff57
Merge pull request #404 from Neves-P/2023.06-software.eessi.io
bedroge Mar 26, 2024
547386f
dont fail if grep doesnt find rebuild easystack files
bedroge Mar 27, 2024
c2fad00
add quotes around variable in if statement
bedroge Mar 27, 2024
bce1067
use proper tmp dir for removal step
bedroge Mar 27, 2024
4a9d9ae
let the tarball step resume from the right directory
bedroge Mar 27, 2024
2ba8513
group grep and true commands
bedroge Mar 27, 2024
0e38a47
add comment about true command
bedroge Mar 27, 2024
e9bb5b8
{2023.06}[GCCcore/13.2.0] Wayland v1.22.0
Mar 27, 2024
8060966
add quotes around changed_easystacks variable
bedroge Mar 27, 2024
70935ea
first process rebuilds, then new installations
bedroge Mar 27, 2024
ae65221
Merge pull request #518 from bedroge/fix_bot_build_script
trz42 Mar 27, 2024
937f7cb
Merge branch '2023.06-software.eessi.io' of gh-nessi:EESSI/software-l…
Mar 27, 2024
005c02c
Rebuild GCCcore-12.3.0 and 13.2.0 to fix aarch64 vectorization issue
Mar 27, 2024
3c9b6cd
Merge pull request #520 from TopRichard/eessi-2023.06-Wayland/1.22.0-…
bedroge Mar 27, 2024
d644440
sync local branch with remote
Mar 28, 2024
1c1dd06
Added Modflow and deps
Mar 28, 2024
1489742
use easyconfigs PR #20238 for R 4.2.2
bedroge Mar 28, 2024
834786e
Merge pull request #462 from TopRichard/eessi-2023.06-Qt5/5.15.11/GCC…
bedroge Mar 29, 2024
6e806fa
Make sure EESSI's SitePackage.lua loads host's SitePackage.lua's if t…
Mar 29, 2024
4bc0369
Forgot 'then'
Mar 29, 2024
cd9b206
Don't set LMOD_RC any longer, we set LMOD_CONFIG_DIR now, so that sit…
Mar 29, 2024
d2c5dab
Add some comment, the lmodrc file did not get properly deployed in ht…
Mar 29, 2024
58e57f2
Merge pull request #452 from TopRichard/eessi-2023.06-R/4.2.2-foss/2022b
bedroge Mar 30, 2024
b1508b5
Merge pull request #521 from casparvl/rebuild_gcc_fix_vectorization_a…
bedroge Apr 1, 2024
173332f
Try to retrigger issue 517
Apr 2, 2024
2ace856
Undo change
Apr 2, 2024
dc986ad
Retrigger 517
Apr 2, 2024
6d5a6ae
Add option to skip CUDA SDK installation, e.g. for CI environments
Apr 2, 2024
6155e02
Make sure the install_software_layer.sh test skips installing the CUD…
Apr 2, 2024
877f364
Fix logic in EESSI-install-software.sh and prove that logic is ok by …
Apr 2, 2024
ba142ca
Now make sure CI skips CUDA SDK installation, to prove that this fixe…
Apr 2, 2024
dc915fb
Print sensible message to log when the cuda installation is skipped
Apr 2, 2024
4cf4d76
Issue is resolved, so we can use Apptainer 1.3.0
Apr 2, 2024
c92ceb2
Revert changes to utils.sh
Apr 2, 2024
3bca5b7
Merge pull request #524 from casparvl/fix_lmodrc
bedroge Apr 2, 2024
14a3cc5
Merge branch '2023.06-software.eessi.io' into modflow644
casparvl Apr 2, 2024
b59d327
Changed isDir to isFile
Apr 2, 2024
9ff3cfa
Account for the possibility that EESSI_PREFIX isn't set
Apr 2, 2024
f25bfe0
Corrected function name
Apr 2, 2024
e479236
Merge pull request #528 from casparvl/skip_cuda_sdk_host_injections_i…
boegel Apr 2, 2024
12d17a4
also test create_lmodsitepackage.py in CI
boegel Apr 2, 2024
60c46ce
Make sure export is done inside test script, as environment is lost w…
Apr 2, 2024
d59238b
Change expected output - we need to account for the fact that this is…
Apr 2, 2024
1e8eb6e
Output variable was undefined
Apr 2, 2024
1eeb8ab
Merge pull request #525 from casparvl/allow_lmod_hook_host_injections
boegel Apr 2, 2024
542022c
add hook that disables tests for Highway 1.0.4 on neoverse_v1
bedroge Apr 3, 2024
a770536
add Highway-1.0.4-GCCcore-12.3.0.eb
bedroge Apr 3, 2024
3cc125d
add known issue about Highway 1.0.4 on neoverse_v1
bedroge Apr 3, 2024
098d525
Update eb_hooks.py
ocaisa Apr 3, 2024
10e1d00
fix syntax, remove (
bedroge Apr 3, 2024
941aa2a
Merge branch 'highway_1.0.4_gcccore_12.3.0' of github.com:bedroge/sof…
bedroge Apr 3, 2024
24d5bcf
Move software builds to the easystack file for the right toolchain...
Apr 3, 2024
5509f6c
Remove stray blank line
Apr 3, 2024
abfe1bf
add toolchain and version check to Highway hook that disables the tests
bedroge Apr 3, 2024
ae74707
syntax fix
bedroge Apr 3, 2024
92aad04
also disable Highway 1.0.4 tests for neoverse_n1
bedroge Apr 3, 2024
f2954ef
oops, changed the wrong hook... fixed
bedroge Apr 3, 2024
11b7bc2
different actions for neoverse_n1 and _v1 in highway hook
bedroge Apr 3, 2024
69d0e9d
update docstring of parse_hook_highway_handle_test_compilation_issues
bedroge Apr 4, 2024
7dba052
add issue with Highway 1.0.4 on neoverse_n1
bedroge Apr 4, 2024
889718e
Merge branch '2023.06-software.eessi.io' into elpa_libxc
ocaisa Apr 4, 2024
6b73b8a
Merge pull request #529 from bedroge/highway_1.0.4_gcccore_12.3.0
ocaisa Apr 4, 2024
a2669eb
Merge branch '2023.06-software.eessi.io' into 2023.06-sw-R-bundle-CRA…
bedroge Apr 4, 2024
6fa335b
change Highway hook in pre_prepare hook, and reset optarch in a post-…
bedroge Apr 4, 2024
42e580b
Update eb_hooks.py
bedroge Apr 4, 2024
3c4572c
Update eb_hooks.py
bedroge Apr 4, 2024
13093d1
Merge branch '2023.06-software.eessi.io' into elpa_libxc
ocaisa Apr 4, 2024
ababa60
Merge pull request #532 from bedroge/fix_highway_optarch_hook
boegel Apr 4, 2024
7283d08
add from-pr 20238 for R-bundle-CRAN
bedroge Apr 4, 2024
dc69ba2
Merge branch '2023.06-software.eessi.io' into modflow644
bedroge Apr 4, 2024
cd488b5
Merge pull request #508 from ocaisa/elpa_libxc
bedroge Apr 5, 2024
88448a5
Merge branch '2023.06-software.eessi.io' into 2023.06-sw-R-bundle-CRA…
bedroge Apr 5, 2024
23b400a
Merge branch '2023.06-software.eessi.io' into modflow644
bedroge Apr 5, 2024
3371bc2
Merge pull request #522 from casparvl/modflow644
bedroge Apr 5, 2024
7b4d8a5
Merge branch '2023.06-software.eessi.io' into 2023.06-sw-R-bundle-CRA…
bedroge Apr 5, 2024
f6012f7
add comment, retrigger CI
bedroge Apr 5, 2024
8bc14b9
Merge pull request #428 from trz42/2023.06-sw-R-bundle-CRAN-2023.12-f…
boegel Apr 5, 2024
1998a7c
add EB 4.9.1
bedroge Apr 8, 2024
e54ae92
Merge pull request #537 from bedroge/easybuild_4.9.1
ocaisa Apr 8, 2024
1c3dc26
Merge branch 'main' into feature-archdetect-rpi
ocaisa Apr 12, 2024
68632f3
Update eessi_arch_arm_part.spec
ocaisa Apr 12, 2024
31ad134
Update debian-rpi4.output
ocaisa Apr 12, 2024
8c4e9e2
Merge remote-tracking branch 'upstream/2023.06-software.eessi.io' int…
ocaisa Apr 12, 2024
576738f
Sync with upstream and add missing output file
ocaisa Apr 12, 2024
e0421c1
Use _ instead of -
ocaisa Apr 12, 2024
d687be5
Reference updated file in tests
ocaisa Apr 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

steps:
- name: "Checkout code"
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
persist-credentials: false

Expand Down
85 changes: 85 additions & 0 deletions .github/workflows/test-software.eessi.io.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# documentation: https://help.github.com/en/articles/workflow-syntax-for-github-actions
name: Check for missing software installations in software.eessi.io
on: [push, pull_request, workflow_dispatch]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
check_missing:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
EESSI_VERSION:
- 2023.06
EESSI_SOFTWARE_SUBDIR_OVERRIDE:
- aarch64/generic
- aarch64/neoverse_n1
- aarch64/neoverse_v1
- x86_64/amd/zen2
- x86_64/amd/zen3
- x86_64/intel/haswell
- x86_64/intel/skylake_avx512
- x86_64/generic
steps:
- name: Check out software-layer repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Mount EESSI CernVM-FS pilot repository
uses: cvmfs-contrib/github-action-cvmfs@55899ca74cf78ab874bdf47f5a804e47c198743c # v4.0
with:
cvmfs_config_package: https://github.com/EESSI/filesystem-layer/releases/download/latest/cvmfs-config-eessi_latest_all.deb
cvmfs_http_proxy: DIRECT
cvmfs_repositories: software.eessi.io

- name: Test check_missing_installations.sh script
run: |
export EESSI_SOFTWARE_SUBDIR_OVERRIDE=${{matrix.EESSI_SOFTWARE_SUBDIR_OVERRIDE}}
source /cvmfs/software.eessi.io/versions/${{matrix.EESSI_VERSION}}/init/bash
# set $EESSI_CPU_FAMILY to the CPU architecture that corresponds to $EESSI_SOFTWARE_SUBDIR_OVERRIDE (part before the first slash),
# to prevent issues with checks in the Easybuild configuration that use this variable
export EESSI_CPU_FAMILY=${EESSI_SOFTWARE_SUBDIR_OVERRIDE%%/*}
module load EasyBuild
which eb
eb --version
export EESSI_PREFIX=/cvmfs/software.eessi.io/versions/${{matrix.EESSI_VERSION}}
export EESSI_OS_TYPE=linux
env | grep ^EESSI | sort
echo "just run check_missing_installations.sh (should use easystacks/software.eessi.io/${{matrix.EESSI_VERSION}}/eessi-${{matrix.EESSI_VERSION}}-*.yml)"
for easystack_file in $(ls easystacks/software.eessi.io/${{matrix.EESSI_VERSION}}/eessi-${{matrix.EESSI_VERSION}}-eb-*.yml); do
echo "check missing installations for ${easystack_file}..."
./check_missing_installations.sh ${easystack_file}
ec=$?
if [[ ${ec} -ne 0 ]]; then echo "missing installations found for ${easystack_file}!" >&2; exit ${ec}; fi
done

- name: Test check_missing_installations.sh with missing package (GCC/8.3.0)
run: |
export EESSI_SOFTWARE_SUBDIR_OVERRIDE=${{matrix.EESSI_SOFTWARE_SUBDIR_OVERRIDE}}
source /cvmfs/software.eessi.io/versions/${{matrix.EESSI_VERSION}}/init/bash
# set $EESSI_CPU_FAMILY to the CPU architecture that corresponds to $EESSI_SOFTWARE_SUBDIR_OVERRIDE (part before the first slash),
# to prevent issues with checks in the Easybuild configuration that use this variable
export EESSI_CPU_FAMILY=${EESSI_SOFTWARE_SUBDIR_OVERRIDE%%/*}
module load EasyBuild
which eb
eb --version
export EESSI_PREFIX=/cvmfs/software.eessi.io/versions/${{matrix.EESSI_VERSION}}
export EESSI_OS_TYPE=linux
env | grep ^EESSI | sort
# create dummy easystack file with a single entry (something that is not installed in EESSI)
easystack_file="test.yml"
echo "easyconfigs:" > ${easystack_file}
echo " - GCC-8.3.0:" >> ${easystack_file}
echo "created easystack file '${easystack_file}' with a missing installation (GCC/8.3.0):"
cat ${easystack_file}
# note, check_missing_installations.sh exits 1 if a package was
# missing, which is intepreted as false (exit code based, not
# boolean logic), hence when the script exits 0 if no package was
# missing it is interpreted as true, thus the test did not capture
# the missing package
if ./check_missing_installations.sh ${easystack_file}; then
echo "did NOT capture missing package; test FAILED"
exit 1
else
echo "captured missing package; test PASSED"
exit 0
fi
72 changes: 0 additions & 72 deletions .github/workflows/test_eessi.yml

This file was deleted.

18 changes: 9 additions & 9 deletions .github/workflows/test_eessi_container_script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
#- save
steps:
- name: Check out software-layer repository
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: install Apptainer
run: |
Expand All @@ -45,7 +45,7 @@ jobs:
elif [[ ${{matrix.SCRIPT_TEST}} == 'listrepos_default' ]]; then
outfile=out_listrepos.txt
./eessi_container.sh --verbose --list-repos | tee ${outfile}
grep "EESSI-pilot" ${outfile}
grep "EESSI" ${outfile}

# test use of --list-repos with custom repos.cfg
elif [[ ${{matrix.SCRIPT_TEST}} == 'listrepos_custom' ]]; then
Expand All @@ -57,7 +57,7 @@ jobs:
echo "[EESSI/20HT.TP]" >> cfg/repos.cfg
echo "repo_version = 20HT.TP" >> cfg/repos.cfg
./eessi_container.sh --verbose --list-repos | tee ${outfile}
grep "EESSI-pilot" ${outfile}
grep "EESSI" ${outfile}

export EESSI_REPOS_CFG_DIR_OVERRIDE=${PWD}/cfg
./eessi_container.sh --verbose --list-repos | tee ${outfile2}
Expand Down Expand Up @@ -90,15 +90,15 @@ jobs:
elif [[ ${{matrix.SCRIPT_TEST}} == 'readwrite' ]]; then
outfile=out_readwrite.txt
fn="test_${RANDOM}.txt"
echo "touch /cvmfs/pilot.eessi-hpc.org/${fn}" > test_script.sh
echo "touch /cvmfs/software.eessi.io/${fn}" > test_script.sh
chmod u+x test_script.sh
export SINGULARITY_BIND="$PWD:/test"
./eessi_container.sh --verbose --access rw --mode run /test/test_script.sh > ${outfile}

tmpdir=$(grep "\-\-resume" ${outfile} | sed "s/.*--resume \([^']*\).*/\1/g")
# note: must use '--access rw' again here, since touched file is in overlay upper dir
./eessi_container.sh --verbose --resume ${tmpdir} --access rw --mode shell <<< "ls -l /cvmfs/pilot.eessi-hpc.org/${fn}" > ${outfile}
grep "/cvmfs/pilot.eessi-hpc.org/${fn}$" $outfile
./eessi_container.sh --verbose --resume ${tmpdir} --access rw --mode shell <<< "ls -l /cvmfs/software.eessi.io/${fn}" > ${outfile}
grep "/cvmfs/software.eessi.io/${fn}$" $outfile

# test use of --resume
elif [[ ${{matrix.SCRIPT_TEST}} == 'resume' ]]; then
Expand All @@ -120,12 +120,12 @@ jobs:
elif [[ ${{matrix.SCRIPT_TEST}} == 'save' ]]; then
outfile=out_save.txt
fn="test_${RANDOM}.txt"
test_cmd="touch /cvmfs/pilot.eessi-hpc.org/${fn}"
test_cmd="touch /cvmfs/software.eessi.io/${fn}"
./eessi_container.sh --verbose --mode shell --access rw --save test-save.tar <<< "${test_cmd}" 2>&1 | tee ${outfile}
rm -f ${outfile}

./eessi_container.sh --verbose --mode shell --access rw --resume test-save.tar <<< "ls -l /cvmfs/pilot.eessi-hpc.org/${fn}" > ${outfile}
grep "/cvmfs/pilot.eessi-hpc.org/${fn}$" $outfile
./eessi_container.sh --verbose --mode shell --access rw --resume test-save.tar <<< "ls -l /cvmfs/software.eessi.io/${fn}" > ${outfile}
grep "/cvmfs/software.eessi.io/${fn}$" $outfile

tar tfv test-save.tar | grep "overlay-upper/${fn}"

Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/test_licenses.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# documentation: https://help.github.com/en/articles/workflow-syntax-for-github-actions
name: Test software licenses
on: [push, pull_request]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Check out software-layer repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: set up Python
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
with:
python-version: '3.9'

- name: Check software licenses
run: |
python licenses/spdx.py licenses/licenses.json
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ jobs:
fail-fast: false
steps:
- name: checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: set up Python
uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # v4.3.0
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
with:
python-version: ${{matrix.python}}
architecture: x64

- name: install Python packages
run: |
pip install archspec
pip install archspec==0.2.2

- name: test eessi_software_subdir.py script
run: |
Expand Down
45 changes: 34 additions & 11 deletions .github/workflows/tests_archdetect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,37 +13,60 @@ jobs:
- x86_64/intel/skylake_avx512/archspec-linux-6132
- x86_64/amd/zen2/Azure-CentOS7-7V12
- x86_64/amd/zen3/Azure-CentOS7-7V73X
- ppc64le/power9le/unknown-power9le
- aarch64/neoverse_n1/Azure-Ubuntu20-Altra
- aarch64/neoverse_n1/AWS-awslinux-graviton2
- aarch64/neoverse_v1/AWS-awslinux-graviton3
- aarch64/cortex_a72/debian-rpi4
# commented out since these targets are currently not supported in software.eessi.io repo
# (and some tests assume that the corresponding subdirectory in software layer is there)
# - ppc64le/power9le/unknown-power9le
fail-fast: false
steps:
- name: checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
- name: Enable EESSI
uses: eessi/github-action-eessi@58b50fd2eead2162c2b9ac258d4fb60cc9f30503 # v2.0.13
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Mount EESSI CernVM-FS pilot repository
uses: cvmfs-contrib/github-action-cvmfs@55899ca74cf78ab874bdf47f5a804e47c198743c # v4.0
with:
cvmfs_config_package: https://github.com/EESSI/filesystem-layer/releases/download/latest/cvmfs-config-eessi_latest_all.deb
cvmfs_http_proxy: DIRECT
cvmfs_repositories: software.eessi.io

- name: test eessi_archdetect.sh
run: |
export EESSI_MACHINE_TYPE=${{matrix.proc_cpuinfo}}
export EESSI_MACHINE_TYPE=${EESSI_MACHINE_TYPE%%/*}
export EESSI_PROC_CPUINFO=./tests/archdetect/${{matrix.proc_cpuinfo}}.cpuinfo
# check that printing of best match works correctly
CPU_ARCH=$(./init/eessi_archdetect.sh cpupath)
if [[ $CPU_ARCH == "$( cat ./tests/archdetect/${{matrix.proc_cpuinfo}}.output )" ]]; then
echo "Test for ${{matrix.proc_cpuinfo}} PASSED: $CPU_ARCH" >&2
echo "Test for ${{matrix.proc_cpuinfo}} PASSED: $CPU_ARCH"
else
echo "Test for ${{matrix.proc_cpuinfo}} FAILED: $CPU_ARCH" >&2
exit 1
fi
# check that $EESSI_SOFTWARE_SUBDIR_OVERRIDE is honored
export EESSI_SOFTWARE_SUBDIR_OVERRIDE='dummy/cpu'
CPU_ARCH=$(./init/eessi_archdetect.sh cpupath)
if [[ $CPU_ARCH == "${EESSI_SOFTWARE_SUBDIR_OVERRIDE}" ]]; then
echo "Test for picking up on \$EESSI_SOFTWARE_SUBDIR_OVERRIDE PASSED"
else
echo "Test for picking up on \$EESSI_SOFTWARE_SUBDIR_OVERRIDE FAILED" >&2
exit 1
fi
unset EESSI_SOFTWARE_SUBDIR_OVERRIDE
# check that printing of all matches works correctly (-a option for cpupath action)
CPU_ARCHES=$(./init/eessi_archdetect.sh -a cpupath)
if [[ $CPU_ARCHES == "$( cat ./tests/archdetect/${{matrix.proc_cpuinfo}}.all.output )" ]]; then
echo "Test for ${{matrix.proc_cpuinfo}} PASSED: $CPU_ARCHES" >&2
echo "Test for ${{matrix.proc_cpuinfo}} PASSED: $CPU_ARCHES"
else
echo "Test for ${{matrix.proc_cpuinfo}} FAILED: $CPU_ARCHES" >&2
exit 1
fi
# Check all those architectures actually exist
for dir in $(echo "$CPU_ARCHES" | tr ':' '\n'); do
# Search all EESSI versions as we may drop support at some point
ls -d "$EESSI_PREFIX"/../*/software/linux/"$dir"
done
# Check all those architectures actually exist (if this EESSI version has been populated already)
if [ -d ${EESSI_PREFIX}/software/linux ]; then
for dir in $(echo "$CPU_ARCHES" | tr ':' '\n'); do
# Search all EESSI versions as we may drop support at some point
ls -d ${EESSI_PREFIX}/software/linux/${dir}
done
fi
6 changes: 3 additions & 3 deletions .github/workflows/tests_init.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ jobs:
fail-fast: false
steps:
- name: checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: set up Python
uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # v4.3.0
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
with:
python-version: ${{matrix.python}}
architecture: x64

- name: install Python packages
run: |
pip install archspec pytest
pip install archspec==0.2.2 pytest

- name: unit tests for eessi_software_subdir_for_host.py script
run:
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/tests_readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ on:
- init/eessi_defaults

pull_request:
branches:
- main
paths:
- README.md
- init/eessi_defaults
Expand All @@ -19,12 +17,12 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Check out software-layer repository
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: verify if README.md is consistent with EESSI_PILOT_VERSION from init/eessi_defaults
- name: verify if README.md is consistent with EESSI_VERSION from init/eessi_defaults
run: |
source init/eessi_defaults
grep "${EESSI_PILOT_VERSION}" README.md
grep "${EESSI_VERSION}" README.md

- name: verify if README.md is consistent with EESSI_CVMFS_REPO from init/eessi_defaults
run: |
Expand Down
Loading
Loading