git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* bisect ends with a commit marked good and bad
@ 2006-02-15  7:19 Sanjoy Mahajan
  2006-02-15  8:01 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Sanjoy Mahajan @ 2006-02-15  7:19 UTC (permalink / raw)
  To: Git Mailing List

In doing a huge bisect (from 1875 or so revisions but fortunately
log(anything) is not too big) to chase a S3 sleep bug (bugme #5989), I
also noticed another problem.  In several 'good' kernels, where S3
sleep-wake worked twice, the fan would not turn on despite the
temperature getting high, after the system went through two sleep-wake
cycles.  [In the 'bad' kernels the system hangs on the second sleep, so
I couldn't collect any data about the fan.]

The result is that, for several kernels, I got free bisect data about
this second bug.  I tried feeding this data to a fresh bisect, but
bisect says that one particular commit is good and bad.  Here's the
script to run bisect:

  #!/bin/bash -x
  bad="a2d823bf ee408c79 d1138cf0"
  good="0f442aa2 49799291 4a90c7e8"
  git bisect start
  for r in $bad  ; do git-bisect bad  $r ; done
  for r in $good ; do git-bisect good $r ; done

The output:

  + bad='a2d823bf ee408c79 d1138cf0'
  + good='0f442aa2 49799291 4a90c7e8'
  + git bisect start
  + for r in '$bad'
  + git-bisect bad a2d823bf
  + for r in '$bad'
  + git-bisect bad ee408c79
  + for r in '$bad'
  + git-bisect bad d1138cf0
  + for r in '$good'
  + git-bisect good 0f442aa2
  d1138cf035ad5a8dc0796b213bd078a2fb92eb7c was both good and bad
  + for r in '$good'
  + git-bisect good 49799291
  d1138cf035ad5a8dc0796b213bd078a2fb92eb7c was both good and bad
  + for r in '$good'
  + git-bisect good 4a90c7e8
  d1138cf035ad5a8dc0796b213bd078a2fb92eb7c was both good and bad

At first I thought it was impossible for a bug to behave this way, and
concluded that my data must be corrupt, since d1138cf0 is marked bad.
But on further thought, I'm not sure.  Maybe there are quadratic
interactions between patches.  For example, if a particular bug happens
only when two patches occur together?  No, that would result in the
merge of their branches being the problematic commit.  So I'm stuck.
Before I conclude that the data is corrupt and spend several hours
retesting several kernels, I thought I'd ask for advice from the
entomologists and bisectors.

How would I use gitk to show the those three good and three bad commits,
and their spanning tree?  Neither the man entry nor the examples of its
use in git-bisect taught me enough to use it properly.

-Sanjoy

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-02-15  8:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-15  7:19 bisect ends with a commit marked good and bad Sanjoy Mahajan
2006-02-15  8:01 ` Junio C Hamano

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 NNTP newsgroup(s).