Repository navigation
AZP/RELEASE: Fix race condition that skips the release Build stages - v1.23.x - #12309
Conversation
With set -x bash also prints the ##vso line to stderr. The agent parses both copies, the stderr one ends with a quote, and when it wins the Launch condition fails and the Build stages are skipped. Split the ##vso prefix in a printf so the trace never contains "##vso[". Backport of openucx#12246. Signed-off-by: Alexey Rivkin <arivkin@nvidia.com>
|
🤖 Starting review — findings will be posted here when done. |
|
|
Confirmed in the release pipeline run for this PR: https://dev.azure.com/ucfconsort/ucx/_build/results?buildId=144453. The trace line is |
|
🤖 CI Triage Agent — TL;DR: The only failing test in this BlueField run is Full analysisSummary: gtest stage failed with Root cause: Note the same anti-pattern was already fixed once for a sibling test by commit Implicated commit: Test expectation introduced/unmaintained in File: Suggested fix: Backport PR #12293 ("UCP/GTEST: Fix expected rkey config count in port speed change test") to Related: #12293 (upstream fix, not on v1.23.x), #11816 (same fragility fixed in a sibling mock test), #11901 ("TEST/UCP: Make |
What?
Backport of #12246 to
v1.23.x: fix a race incheck_release_buildthat randomly skips the release Build stages.Why?
Tag builds use the branch's own
az-helpers.sh, so the next tag onv1.23.xcan come out with no assets, as v1.23.2 did: https://dev.azure.com/ucfconsort/ucx/_build/results?buildId=142661.How?
printfwith the##vsoprefix split, so theset -xtrace is not parsed by the agent. Same change as on master.