summaryrefslogtreecommitdiff
path: root/round-robin-bisect.sh
AgeCommit message (Collapse)Author
2021-07-20round-robin-bisect.sh: Integrate workaround for creating new branchesMaxim Kuvyrkov
... from round-robin.sh:push_baseline(). Change-Id: Ie2b132f7b912e6d3dfa2cbf931ff70b6e08b06e3
2021-07-20round-robin-bisect.sh: Move handling of one of the edge case hereMaxim Kuvyrkov
... so that we do not need to initialize baseline remote in normal builds. Change-Id: Ifd91af394b5e1c2db59cede4c5b03e0328520ea2
2021-07-20round-robin-bisect.sh: Update commentMaxim Kuvyrkov
Change-Id: I8005b57a6aa1e073dfd83e259820a95b4afef37d
2021-07-20round-robin-bisect.sh: Update jira settingsMaxim Kuvyrkov
... to use cloud jira. Change-Id: Ia736329d99c490c9ba27d95ad1eae7056cf14222
2021-07-19round-robin-bisect.sh: Fix rsync --exclude patternsMaxim Kuvyrkov
This problem was affecting bisects with $current_project=gcc. Without leading "/" rsync was excluding all occurences of gcc/ from transfers, including abe/builds/.../gcc-gcc.git~master-stage1/gcc, which caused bisect builds to fail. Change-Id: I7444abd0f2635904c8fbf12cf8936e09a41422ce
2021-07-19round-robin-bisect.sh: Handle flaky tests for more check_* ci_configsMaxim Kuvyrkov
Change-Id: I7e5f04d6e5279e7e33b235f0717137947492d406
2021-07-19round-robin-bisect.sh: Update formattingMaxim Kuvyrkov
Change-Id: Id977cace015d082a518aa641ef90a6672b3fbec3
2021-07-16round-robin-bisect.sh: Fix pushes to interesting-commitsMaxim Kuvyrkov
Change-Id: I77567cdf51e2187dbd4c204cecb50aa874d6e30a
2021-07-15round-robin-bisect.sh: Use gerrit to push to reposMaxim Kuvyrkov
... so that we can push to refs/heads/master. Gitolite is configured to accept pushes only under refs/heads/linaro-local/. Change-Id: I70bf0c0407be488fe1b07caa93474c3221322e76
2021-07-13tcwg_gnu-build.sh, round-robin-bisect.sh: Ignore ERRORs in partial test runsMaxim Kuvyrkov
Change-Id: Id979f643fdda0fe25a4d94a1d49e8fdb7023d354
2021-07-12round-robin-bisect.sh: Fix detection of xfailsMaxim Kuvyrkov
Change-Id: I070d60453fc07cc48f90f490a23d5c4d1a274edd
2021-07-12round-robin-bisect.sh: Fix $occurencesMaxim Kuvyrkov
Change-Id: I1ca715a8c6898e85f1f7e02262933fdeb717e0d7
2021-07-12round-robin-bisect.sh: Auto-generate lists of flaky GCC testsMaxim Kuvyrkov
Change-Id: I8a5ee863981c461fdb29719ab8f60e671a918294
2021-07-12round-robin-bisect.sh: Re-enable email notifications for tcwg_gnu/tcwg_cross.Maxim Kuvyrkov
Change-Id: I6e7299597a2ff14bbba05493dbee07bf696c642f
2021-07-12round-robin-bisect.sh: Fix path to interesting-commitsMaxim Kuvyrkov
Change-Id: Ic62f2682fc51af92ffcb70be6e47df213173a66b
2021-07-12round-robin-bisect.sh: Fix shellcheck warningMaxim Kuvyrkov
Change-Id: I76bec933a857d4e087c56e5475f53f9fd558a2da
2021-07-12round-robin-bisect.sh: Fix quotingMaxim Kuvyrkov
Change-Id: Iefb3f45baca6857bc57f84899beb2d299aa8bd0c
2021-07-12round-robin-bisect.sh: Update email preferencesMaxim Kuvyrkov
Change-Id: I015212839bb692b9e543eecf521cb9e57e64c40d
2021-07-12round-robin-bisect.sh: Fix line breaksMaxim Kuvyrkov
Change-Id: I720d4caf862b5a6dd90c89ee5d6995ebc2e29928
2021-07-11round-robin-bisect.sh: Save/restore baseline stateMaxim Kuvyrkov
... to avoid bisect tests cloberring shared state. Change-Id: Ibd8059d513df9ec5cf5fe49777c020c655a46fd4
2021-07-10round-robin-bisect.sh: Update email preferencesMaxim Kuvyrkov
Change-Id: Ibcad05edb85d853ab70b723fb767ddb4389059ea
2021-06-28round-robin-bisect.sh: Don't send out an empty emailMaxim Kuvyrkov
Change-Id: I0fe99bac52b117e90ac313cc2949159d0dbab600
2021-06-26round-robin-bisect.sh: Temporarily disable emailing patch authorsMaxim Kuvyrkov
... while CI is churning through old commits. Change-Id: I2a349b65f9b89d1e5e13df475d86b0f6e76e5a5e
2021-06-22round-robin-bisect.sh: Fix patch author queryMaxim Kuvyrkov
Change-Id: I3542976daf53f3e00356aba9bb6433c48db4d992
2021-06-21round-robin-bisect.sh: Notify patch authors on regressionsMaxim Kuvyrkov
Change-Id: Idaab0c7bfd1c37e2d855ecfb4735352d4fab0f9d
2021-04-07round-robin-bisect.sh: Handle another edge caseMaxim Kuvyrkov
... in bisection of merge history. We can detect first_bad commit with a good parent that is outside of bisection range. E.g., BAD | \ BASE \ | FIRST BAD | / PARENT In this case PARENT is the last good revision, but falls outside of bisection range. Change-Id: I4b88b6c7a245f390705df70943cccd70964fd7f6
2021-04-01round-robin-bisect.sh: Fix handling of an edge caseMaxim Kuvyrkov
... when first_bad commit is the child of baseline_rev. In this case baseline_rev was not in orig_commits_to_test and we failed on "Broken bisection range" assert. Fix by adding all previously tested revisions to orig_commits_to_test, which is renamed to commits_in_range. Change-Id: Iad37dbdb24bcddf42721dc8526b5b63a64653624
2021-02-01round-robin-bisect.sh: Go through interesting-commit in forward orderMaxim Kuvyrkov
It seems that going backwards extends the bisect effort. Change-Id: Ie77d101573f65ef53b1b5ece970489cf410d73e7
2021-02-01round-robin-bisect.sh: Fix exiting a subshellMaxim Kuvyrkov
In newer bash versions "continue", apparently, doesn't have a side-effect of ending a subshell. Use proper "exit" instead. Change-Id: I7fc458442b6da04ad11c9e7b44d9189cfbe5bc23
2021-02-01round-robin-bisect.sh: Update Jira card for GNU CIMaxim Kuvyrkov
Change-Id: Ib2f6195b2258011953756df1f4f9fedfee3d0f80
2021-02-01round-robin-bisect.sh: Update jira card numbers for reportsMaxim Kuvyrkov
Change-Id: Ib244bd097316e635ae8f977fddbe4ee3881bda2c
2021-01-28round-robin-bisect.sh: Update Jira cards for tcwg_kernel regressionsMaxim Kuvyrkov
Change-Id: Ie02589528334b6a97edda88a3411c0d3fb67df61
2021-01-14round-robin-bisect.sh: Fix variable reference after refactoringMaxim Kuvyrkov
Change-Id: I63eeb730bcf5b3923d51ac0a24dd3a355db4cbad
2021-01-13round-robin-bisect.sh: Use print_tracebackMaxim Kuvyrkov
Change-Id: Ie41b6a666f87311813f246d927b9fd77a344fe95
2021-01-13round-robin-bisect.sh: Remove obsolete markerMaxim Kuvyrkov
We used to rely on $artifacts/first-bad file as a marker in our CI round-robin loops, but have switched to trigger-* files many moons ago. Change-Id: I5039827b2a24543d1088fae5bf11a7e50a78b3b6
2021-01-13round-robin-bisect.sh: Generalize logic of handling "reset" commitMaxim Kuvyrkov
We overloaded meaning of "$first_bad" revision to be also the reset commit, and this change splits off meaning of "reset" commit from "first_bad" commit. Change-Id: I62d9adc5fcd0d7d03f8b4cc33a2699f993aa5e8a
2021-01-05round-robin-bisect.sh: Make handling of unsuccessful bisects more robustMaxim Kuvyrkov
Now we either advance baseline to a more recent commits, which helps with benchmarking tracking, which can have "skipped" commits due to problems with benchmarking infra, or we reset baseline to the last-tested bad commit (which was, in essence, previous behavior). Change-Id: I9eaa473504d33e5af4dfa4500578110bddfb35f9
2021-01-05round-robin-bisect.sh: Make code to trigger follow-up builds more robustMaxim Kuvyrkov
... and with better comments. Change-Id: I9e61b94e382d265daeae6cc8fd4ba5ab9f83bb68
2021-01-05round-robin-bisect.sh: Make logic of handling successful bisects more robustMaxim Kuvyrkov
Now on successful bisects we always have either a confirmed regression or a restarted bisect. Change-Id: Ic8600fa85c7b511063ddf5bbbbff31021a8b9535
2021-01-05round-robin-bisect.sh: Simplify filtering of interesting commitsMaxim Kuvyrkov
Turns out "git bisect view --pretty=%H" does most of this work for us, so no need to check ancestors of good/bad commits. Change-Id: I405c8e29810da11ff65e0605be5b2dd6bb61ca3e
2021-01-04round-robin-bisect.sh: Don't retry on spurious failuresMaxim Kuvyrkov
We used this retry to detect problems in round-robin jobs by investigating long jenkins job queues, which would form on most problems. We will now implement a dedicated job to monitor git.linaro.org/toolchain/ci/*.git repos, which is a better way of detecting problems in round-robin jobs. Change-Id: I0a25d9db11fdad5e99ef016af1f00cd9417fa728
2020-12-19Optimize testing of interesting commitsMaxim Kuvyrkov
It's now taking 1 hour (!) to check all entries in interesting-commits/linux. This time is spent in --is-ancestor checks. With the list of interesting commits growing over time we either need to trim it from time to time, so optimize processing. This patch does 2 optimizations: - the obvious optimization to break from loop on first match - the optimization to quickly check whether commit is inside the bisict range. Change-Id: I712e08970a65e26a517571240e2a513878c907bb
2020-12-12round-robin-bisect.sh: Process interesting commits in reverse orderMaxim Kuvyrkov
Checking more recent bad/good commits first should cut down on bisection time. Change-Id: I97899c569eae5ea6679d152f630b5383089a6282
2020-12-09round-robin-bisect.sh: Fix thinkoMaxim Kuvyrkov
Change-Id: I8a694dd74be2af33d9fc35d8a22fbeb3923257fc
2020-11-26round-robin-bisect.sh: Don't repeatedly report regressions for same configsMaxim Kuvyrkov
... which is happening when linux-next catches a regression, and we daily send out regression reports to developers. Now this will be restricted to 1 report per configuration per regressing commit. Change-Id: If0489a49edc52a551d4460afa75c040497929710
2020-10-27round-robin-bisect.sh: Add support for newlibChristophe Lyon
Update the email recipients list when the updated project is newlib, like we do for glibc. Change-Id: I83b6e3499b6b5fe16cb5a0840e3c80af6456a1d6
2020-09-11round-robin-bisect.sh: Fetch $bad_branch/$bad_rev from $bad_urlMaxim Kuvyrkov
... so far we were lucky that $bad_rev happened to be fetched in the workspace's clone. Change-Id: I3ecf57806607d2da3fc1d8229ccef1eace938ccf
2020-07-08round-robin-bisect.sh: Post jira comments for tcwg_{binutils, cross, gnu}Maxim Kuvyrkov
Change-Id: I9fd245d77848f0d8d1d2117ed117b1f17e2bcdd5
2020-05-31round-robin-bisect.sh: Fix more missing instance of passing $bad_urlMaxim Kuvyrkov
Change-Id: Iffa2dff5d9a937c94e9c69a4102c4739788ddefb
2020-05-31round-robin-bisect.sh: Fix linux-next rebase workaroundMaxim Kuvyrkov
Change-Id: I472bf099af6d2ab6fb9dbb70c939634aaefafd48