-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add helper script for bisecting regressions #3214
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3214 +/- ##
=========================================
Coverage ? 84.76%
=========================================
Files ? 687
Lines ? 336051
Branches ? 0
=========================================
Hits ? 284856
Misses ? 51195
Partials ? 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a very useful idea.
When trying to test the script, I found the following problems.
- I entered
git bisect bad master
, and git told me that I have to start withgit bisect start
. - I entered
git bisect good stable-4.9
, and git told mefatal: Needed a single version
andBad rev input: stable-4.9
.
Perhaps git expects that I have fetched thestable-4.9
branch before? - I fetched the
stable-4.9
branch, enteredgit bisect good stable-4.9
again,
and git told meBisecting: a merge base must be tested
.
This is irritating if one is not aware that it might happen. - I entered
git bisect run ...
, got a lot of output lines, and then messages
thatetc/bisect.sh
was not found, andbisect run failed
.
Apparentlyetc/bisect.sh
is not available in that situation because a version is checked out
where this file does not yet exist.
@ThomasBreuer Thanks for the feedback. I will add
And yes, all refs (such as Regarding the "a mege base must be tested": I'll add a comment that Finally, on the error about |
I tried to improve the text, please take another look and let me know what you think! There is another issue that should be addressed, though: there is a range of ~200 commits (from f3da6b3 to d2ea52e) in which GAP does not start for me, because it already requires
I need to come up with a way to workaround this: either by somehow convincing GAP to start anyway (e.g. apply a temporary fix to Another idea for making GAP start with option Any other (better) ideas? |
OK, I think I came up with a working (although still ugly) solution for the |
Seems to work fine now. As a concrete example, this is how one can reproduce my manual bisection of issue #3205: go to the GAP repository root dir, add a file
Then, initiate the bisection (you may need to run
This runs for a while, and eventually ends this way:
|
@fingolfin I am still running into error messages when my configure options include |
@ThomasBreuer running |
Added a warning to the doc comment about rebuilding and configure options |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no more general ideas for improving the documentation.
Thank you very much.
This script makes it quite convenient to track down regression as in issue #3212 or #3205.