Seems that check-missing-installations.sh in combination with EESSI-pilot-install-software.sh fails to capture missing installations correctly:
[foo ~]$ cat fake-stack.yml
easyconfigs:
- EasyBuild-4.6.2.eb
- xxd-8.2.4220-GCCcore-10.2.0.eb
- Nextflow-22.10.1.eb
[foo ~]$ ml --show-hidden av EasyBuild/4.6.2
--------------------------------------------------------------------------------------------------------- /cluster/modulefiles/all ----------------------------------------------------------------------------------------------------------
EasyBuild/4.6.2 (H)
Where:
H: Hidden Module
Use "module spider" to find all possible modules.
Use "module keyword key1 key2 ..." to search for all possible modules matching any of the "keys".
[foo ~]$ ml --show-hidden av xxd/8.2.4220-GCCcore-10.2.0
--------------------------------------------------------------------------------------------------------- /cluster/modulefiles/all ----------------------------------------------------------------------------------------------------------
xxd/8.2.4220-GCCcore-10.2.0
Use "module spider" to find all possible modules.
Use "module keyword key1 key2 ..." to search for all possible modules matching any of the "keys".
[foo ~]$ ml --show-hidden av Nextflow/22.10.1
No modules found!
Use "module spider" to find all possible modules.
Use "module keyword key1 key2 ..." to search for all possible modules matching any of the "keys".
[foo ~]$ eb --easystack fake-stack.yml --missing --experimental
== Temporary log file in case of crash /tmp/eb-7g6d1dfs/easybuild-_5z6vudw.log
== found valid index for /cluster/software/EasyBuild/4.7.0/easybuild/easyconfigs, so using it...
No missing modules!
== found valid index for /cluster/software/EasyBuild/4.7.0/easybuild/easyconfigs, so using it...
== found valid index for /cluster/software/EasyBuild/4.7.0/easybuild/easyconfigs, so using it...
No missing modules!
== found valid index for /cluster/software/EasyBuild/4.7.0/easybuild/easyconfigs, so using it...
2 out of 3 required modules missing:
* Java/11.0.16 (Java-11.0.16.eb)
* Nextflow/22.10.1 (Nextflow-22.10.1.eb)
== Temporary log file(s) /tmp/eb-7g6d1dfs/easybuild-_5z6vudw.log* have been removed.
== Temporary directory /tmp/eb-7g6d1dfs has been removed.
For each line (easyconfig file) in the easystack file the test is run (probably fine), which then prints several No missing modules! lines (also fine), but check_missing_installations.sh just greps for this line in the output of the command eb --easystack fake-stack.yml --missing --experimental and therefore does not catch the missing installation.
Seems that
check-missing-installations.shin combination withEESSI-pilot-install-software.shfails to capture missing installations correctly:For each line (easyconfig file) in the easystack file the test is run (probably fine), which then prints several
No missing modules!lines (also fine), butcheck_missing_installations.shjust greps for this line in the output of the commandeb --easystack fake-stack.yml --missing --experimentaland therefore does not catch the missing installation.