ci minimization is broken due to change in format of reporting results
Closed this issue · 4 comments
Did the CI recently stop reporting on job configuration information?
https://github.com/coq/coq/pull/17937/checks?check_run_id=16164573704
Compare with
https://github.com/coq/coq/pull/17811/checks?check_run_id=14777475244
I was unable to minimize any of the CI targets that you requested.
library:ci-fiat_crypto could not be minimized (Could not find needed parameters for job library:ci-fiat_crypto in summary:
Summary
This job has failed. If you need to, you can restart it directly in the GitHub interface using the "Re-run" button.
We show below an excerpt from the trace from GitLab starting around the last detected "Error" (the complete trace is available here).
)
Originally posted by @coqbot-app[bot] in coq/coq#17937 (comment)
Looking at the code constructing the missing message, it parses the trace of the job to find the information it needs, and it prints the missing line only if it finds it all, so as soon as some information is missing, none is printed:
Lines 74 to 130 in 7c4fbb6
I have one very likely candidate responsible for breaking this trace parsing: coq/coq#17785
EDIT: I confirm that the missing line started missing when this PR was merged (August 4th).
Indeed, this PR removed the OPAM_SWITCH
and the COMPILER_EDGE
variables. So not just the parsing will need to be adapted, but also the run-bug-minimizer scripts. EDIT: no, they didn't use these variables directly.
Now the script should always use: "${COMPILER}${OPAM_VARIANT}"
. See coq/coq@6072527#diff-037ea159eb0a7cb0ac23b851e66bee30fb838ee8d0d99fa331a1ba65283d37f7L53-L56.
I believe this issue to be entirely resolved, but this will need to be confirmed in the next minimization attempts. At least, the reporting of where jobs ran is back to normal.