tmt icon indicating copy to clipboard operation
tmt copied to clipboard

improve logging of requires

Open martinky82 opened this issue 3 months ago • 2 comments

It would be very handy, it tmt logged processing of requires for individual tests. The information is present in artifacts, in the tests.yaml file but that's quite an obsure location and in my opinion, such a vital piece of information: link between a test and a package that is to get installed - shall be present at least in tmt-verbose-log if not in tmt-log.

It would alleviate impact of https://github.com/teemtee/tmt/issues/4196 a bit while being fairly easy to fix.

martinky82 avatar Nov 10 '25 11:11 martinky82

So from the hacking session, what we would like to do is to report as text in the results.yaml of the phase (and automatically printed if failed) about the source of where the requires etc. that created the prepare install phase and you could see the test sets that required all of those test, we could try to make it know for individual tests that required those.

LecrisUT avatar Nov 18 '25 12:11 LecrisUT

how about: when the metadata are getting processed, just output sth like:

processing test: /blah/blah requires: pack1 pack2 pack3

preferably in an actual LOG, not a yaml buried deep in artifacts (where this information actually IS, only almost no one seems to know)

martinky82 avatar Nov 21 '25 14:11 martinky82