diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2019-02-19 10:11:52 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2019-02-19 10:11:52 +0000 |
commit | fafb6d725bdfaac632ab0ff31c468b1665da1d91 (patch) | |
tree | ec9b25135662c1583ba1fcde082c0d7e524f31a1 | |
parent | 84ddec275438d5460a1b16048941f328e6c6ece3 (diff) |
tcwg_kernel-bisect.sh: Fix handling of spurious failures
For linux-next rebase workaround we reset baseline to linux-next:stable,
and for spurious failures we re-trigger build with default parameters.
Change-Id: I448870d101b7dfd554ecc4a91e71ce74538ecec6
-rwxr-xr-x | tcwg_kernel-bisect.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tcwg_kernel-bisect.sh b/tcwg_kernel-bisect.sh index dee14845..7fb28b17 100755 --- a/tcwg_kernel-bisect.sh +++ b/tcwg_kernel-bisect.sh @@ -143,11 +143,17 @@ if [ x"$res" = x"0" ]; then if $rebase_workaround; then echo "Rebase workaround: no regression between $baseline_rev and $bad_rev" sed -i -e "s/\$/-bad_rev-good/" $artifacts/jenkins/build-name + cat > $artifacts/trigger-build-rebase <<EOF +llvm_branch=baseline +linux_branch=$baseline_rev +reset_baseline=true +EOF else echo "WARNING: build for bad_rev $bad_rev succeeded" - # Build job had a spurious failure. Re-try. - cp $artifacts/build-$bad_rev/trigger-build-$current_project $artifacts/trigger-build-spurious sed -i -e "s/\$/-spurious/" $artifacts/jenkins/build-name + # Retry build with default parameters + cat > $artifacts/trigger-build-retry <<EOF +EOF fi echo > $artifacts/jenkins/mail-recipients.txt trap "" EXIT |