mozregression aborts when bisecting with: "'FirefoxRunner' object has no attribute 'process_handler'

Clemens Eisserer linuxhippy at gmail.com
Thu Oct 20 20:01:32 UTC 2011


Hi,

I try to hunt down a bug introduced between 2011-06-22 and 2011-06-23,
and using mozregression to find the exact date worked fine.
However when it comes to bisecting to find the actual commit,
everything succeeds up to the point where mozregression should start
the compiled binary.

Any idea how to fix that? A maually compiled build works without any problems.

Thank you in advance, Clemens

Building...
Build complete!
Exception AttributeError: "'FirefoxRunner' object has no attribute
'process_handler'" in <bound method FirefoxRunner.cleanup of
<mozrunner.runner.FirefoxRunner object at 0x9d41e8c>> ignored
Traceback (most recent call last):
  File "/usr/bin/mozregression", line 9, in <module>
    load_entry_point('mozregression==0.5.3', 'console_scripts',
'mozregression')()
  File "/usr/lib/python2.7/site-packages/mozregression/regression.py",
line 178, in cli
    bisector.bisect(get_date(options.good_date), get_date(options.bad_date))
  File "/usr/lib/python2.7/site-packages/mozregression/regression.py",
line 105, in bisect
    self.printRange(goodDate, badDate)
  File "/usr/lib/python2.7/site-packages/mozregression/regression.py",
line 96, in printRange
    self.build(goodDate, badDate)
  File "/usr/lib/python2.7/site-packages/mozregression/regression.py",
line 87, in build
    self.findRegressionChset(goodDate, badDate)
  File "/usr/lib/python2.7/site-packages/mozregression/regression.py",
line 81, in findRegressionChset
    commitBuilder.bisect(lastGoodChangeset, firstBadChangeset)
  File "/usr/lib/python2.7/site-packages/mozcommitbuilder/builder.py",
line 275, in bisect
    self.bisectRecurse(testcondition=testcondition,
args_for_condition=args_for_condition)
  File "/usr/lib/python2.7/site-packages/mozcommitbuilder/builder.py",
line 393, in bisectRecurse
    self.run()
  File "/usr/lib/python2.7/site-packages/mozcommitbuilder/builder.py",
line 465, in run
    runner = FirefoxRunner(binary=os.path.join(self.shellCacheDir,"mozbuild-trunk","obj-ff-dbg","dist","bin")
+ "/firefox")
TypeError: __init__() takes exactly 2 arguments (1 given)



More information about the build-dev mailing list