git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
To: git@vger.kernel.org
Subject: [BUG] Git bisect extends bisecting range on repeated good/bad data
Date: Fri, 13 Dec 2019 19:38:05 +0300	[thread overview]
Message-ID: <473FE927-FC11-46A0-8ABB-7A1FDC8C1A6C@linaro.org> (raw)

Hi,

Git bisect may /extend/ bisection range on repeated good/bad data.  Is this expected?

E.g., try in gcc-mirror repository (tested with git:master and Ubuntu 18.04 git 2.17.1):

git clone https://github.com/gcc-mirror/gcc.git
cd gcc
git bisect start
git bisect bad 81018e27c829e3f09bfe7ce331f14d9fdc995073
git bisect good ab9c3f0f3cabc7069ff0edc040206f1b82eef4ef
git bisect bad 6dc6f6c30298f89e725b0e9328775ed43e08e007

... says there are 0 revisions left to test after this (roughly 1 step).

But if we re-run:

git bisect bad 81018e27c829e3f09bfe7ce331f14d9fdc995073

... suddenly -- 15 revisions left to test after this (roughly 4 steps).

This is reduced from a real-world bisection between GCC's gcc-8-branch and gcc-9-branch:
===
git bisect start 
git bisect good 2127e4096ab452a8f0d3e878cb3a4081b3402f1f
git bisect bad 81018e27c829e3f09bfe7ce331f14d9fdc995073
git bisect skip 941fafa56b52ee2328a8695c22e66301b8d30d5e
git bisect good 4c0c3d1029e79b6709b43fed8c5a5944f245516d
git bisect good d9c42406016fee5c0593b7e584135cf40342308d
git bisect good 6f9d77939fc5b55f4c50122b8dc06e6305480bd0
git bisect good 01b38cb1143f17e7ad5b4e863dd60ff42b64c9fd
git bisect good 28e329000fe8a36f059a9b30096a5d226231b4a5
git bisect good 44b2b4ce5d18e915e23f474a64a1a96490d48e82
git bisect good 22bf0cb640189880b683180d50b1e5b4b93e1fd9
git bisect good ab9c3f0f3cabc7069ff0edc040206f1b82eef4ef
git bisect bad 0f18417db316878818d997ae4e9d4e2f8520b2aa
git bisect bad 76c09fb0bcb5785830a24f1f0bec6a6d4f22949d
git bisect bad 6dc6f6c30298f89e725b0e9328775ed43e08e007

git bisect bad 81018e27c829e3f09bfe7ce331f14d9fdc995073
===

Regards,

--
Maxim Kuvyrkov
https://www.linaro.org





             reply	other threads:[~2019-12-13 16:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-13 16:38 Maxim Kuvyrkov [this message]
2019-12-13 18:58 ` [BUG] Git bisect extends bisecting range on repeated good/bad data Junio C Hamano
2019-12-16 13:22   ` Maxim Kuvyrkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=473FE927-FC11-46A0-8ABB-7A1FDC8C1A6C@linaro.org \
    --to=maxim.kuvyrkov@linaro.org \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).