easybuild-framework icon indicating copy to clipboard operation
easybuild-framework copied to clipboard

Duplicate error message on installation

Open Flamefire opened this issue 7 months ago • 0 comments

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.

  1. Do we really need both or would "ERROR: Installation of X failed:reason-with-newlines" suffice?
  2. Could the reason from either be removed as it is reported in the other?
  3. What is the reason for the escaped newlines in the "ERROR", or is this on purpose?

Flamefire avatar Apr 02 '25 07:04 Flamefire