easybuild-framework
easybuild-framework copied to clipboard
Duplicate error message on installation
When an installation fails it currently looks like:
== sanity checking...
== ... (took 20 secs)
== FAILED: Installation ended unsuccessfully: `/software/Python/3.11.5-GCCcore-13.2.0/bin/python -m pip check` failed:
msg1
msg2
msg3
(took 2 mins 13 secs)
== Results of the build can be found in the log file(s) /tmp/easybuild-tmplog/easybuild-OmniOpt2-2025.3.26.post5-20250401.181635.CNmED.log
ERROR: Installation of OmniOpt2-2025.3.26.post5-foss-2023b.eb failed: '`/software/Python/3.11.5-GCCcore-13.2.0/bin/python -m pip check` failed:\nmsg1\nmsg2\nmsg3.\n'
I.e. we have the "FAILED:" message with the error nicely reported and then again "ERROR:" with the same message but "unresolved" newlines.
- Do we really need both or would "ERROR: Installation of X failed:reason-with-newlines" suffice?
- Could the reason from either be removed as it is reported in the other?
- What is the reason for the escaped newlines in the "ERROR", or is this on purpose?