Skip to contentSkip to conversation

cr-daily-branch: Sort out retest build reuse

PATCH New Ian Jackson 1 participant 1 message Nov 13, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cr-daily-branch: Sort out retest build reuse

Retest flights ought to reuse precisely the builds from the flight which prompts the retests.

mg-adjust-flight-makexrefs is the wrong tool for this job. It can often leave the retry flights with no build jobs and no references to the main flights' build jobs, so the results are just broken jobs.

---
 cr-daily-branch | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
cr-daily-branch +2 -3
index e54ca227..6ec3aa62 100755
@@ -529,9 +529,8 @@ END
 			$retry_jobs
 	)
 
-	./mg-adjust-flight-makexrefs -v $rflight \
-		--branch=$branch --revision-osstest=$narness_rev \
-		'^build-*' --debug --blessings=real
+	./cs-adjust-flight -D $rflight \
+			runvar-build-set . . "^$rflight\\." $flight.
 
 	if [ "${OSSTEST_SIMULATE_FAIL_RETRY+y}" = y ]; then
 		export OSSTEST_SIMULATE_FAIL="${OSSTEST_SIMULATE_FAIL_RETRY}"
Signature · 1 line
2.20.1