diff mbox series

[OSSTEST] cr-daily-branch: Sort out retest build reuse

Message ID 20201113173952.29800-1-iwj@xenproject.org (mailing list archive)
State New, archived
Headers show
Series [OSSTEST] cr-daily-branch: Sort out retest build reuse | expand

Commit Message

Ian Jackson Nov. 13, 2020, 5:39 p.m. UTC
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.

Signed-off-by: Ian Jackson <iwj@xenproject.org>
---
 cr-daily-branch | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/cr-daily-branch b/cr-daily-branch
index e54ca227..6ec3aa62 100755
--- a/cr-daily-branch
+++ b/cr-daily-branch
@@ -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}"