git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Git Bug Report: bisect run failed to locate the right commit, detail testing

From
李李祐棠 <r01942008@ntu.edu.tw>
Date
Aug 28, 2014, 01:49 UTC
Message-ID
<C40A01C66E914D4EB90E1B40564B0E56CBFE30C9@MBOX2-4.ntu.internal>
Dear git developers:
Allow me to describe the testing situation more detail:

First the testing repository is in  https://github.com/gawel/pyquery my git version is 1.9.2 running on Archlinux 3.14.2

I try to track issue #74(which is closed now) It give result False/True in version 1.2.8(good), and result False/False in version 1.2.9(bad).

The testing script are manualscript.py and autoscript.py Both of them implement the test case describe in issue #74. Th only difference is that autoscript.py call sys.exit() to return the testing value.

First we test with git-bisect manually with manualscript.py: The testing result is shown in 'bisectmanual_manualscript'

Then we test with git-bisect manually with autoscript.py This time we echo $? every time we execute autoscript.py, and the testing result is shown in 'bisectmanual_autoscript'

In both situation the script give the same result, and the return value of autoscript.py is correct, too.

However, if we use git-bisect-run with autoscript.py, it will show a different result. The testing result is shown in 'bisectrun'. The log shows that autoscript.py output False/False all the way. As Mr. Couder said, there is some checkout commit that autoscript.py and manualscript.py give different result, for example commit d22159bb32510e9eacf6c5c2408a79792e99fe76. If I checkout this commit outside bisect state and run manualscript.py and autoscript.py, they both give False/True result. So, I guess there is some problem in the checkout procedure in bisect-run, so the commit didn't successfully checkout.

ps. I found this time the bisect run give me another version of output compared to the last version I sent to everybody OAO. That is weird.

Thank for helping. Sincerely YodaLee 20140828

Next: Christian Couder
Message 1 of 2 in “Git Bug Report: bisect run failed to locate the right commit, detail testing”
  1. 李祐棠Aug 28, 2014
  2. Christian CouderAug 28, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.