Failing tests in test_do when run from bzr selftest
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzr-builddeb |
Fix Released
|
Medium
|
Jelmer Vernooij |
Bug Description
affects bzr-builddeb
Several tests are failing for me at the moment when run from "bzr
selftest". I'll see if I can look into fixing them this weekend, unless
somebody else already knows what's happening. Below is the subunit
output:
FAIL:
bzrlib.
-------
Text attachment: log
------------
5.173 creating repository in
file://
5.175 creating branch <bzrlib.
0x5bf3a50> in
file://
5.182 trying to create missing lock
'/tmp/testbzr-
5.182 opening working tree
'/tmp/testbzr-
5.192 run bzr: ['bd-do', 'echo a > debian/changelog']
5.193 bazaar version: 2.3.0dev1
5.193 bzr arguments: ['bd-do', 'echo a > debian/changelog']
5.198 encoding stdout as sys.stdout encoding 'UTF-8'
5.202 opening working tree
'/tmp/testbzr-
5.206 Using True for merge, taken from default.conf
5.206 Using 'debian/changelog' to get package information
5.211 Using ../tarballs for orig-dir, taken
from /home/jelmer/
INFO Looking for a way to retrieve the upstream tarball
INFO Using apt to look for the upstream tarball.
INFO apt could not find the needed tarball.
INFO No debian/rules file to try and use for a get-orig-source rule
INFO No watch file to use to retrieve upstream tarball.
5.256 Traceback (most recent call last):
File "/home/
run_bzr_
return run_bzr(argv)
File "/home/
run_bzr
ret = run(*run_argv)
File "/home/
run_argv_aliases
return self.run(
File "/home/
run
return self._operation
File "/home/
run_simple
self.cleanups, self.func, *args, **kwargs)
File "/home/
_do_with_cleanups
result = func(*args, **kwargs)
File "/home/
builder.
File "/home/
export
self.
File "/home/
83, in distill
self.
File "/home/
124, in _distill
tarball = self.upstream_
File "/home/
provide
raise MissingUpstream
MissingUpstream
test_0.
5.256 errors:
'Looking for a way to retrieve the upstream tarball\nUsing apt to look
for the upstream tarball.\napt could not find the needed tarball.\nNo
debian/rules file to try and use for a get-orig-source rule\nNo watch
file to use to retrieve upstream tarball.\nbzr: ERROR: Unable to find
the needed upstream tarball: test_0.
------------
Text attachment: traceback
------------
Traceback (most recent call last):
File "/usr/lib/
128, in _run_user
return fn(*args)
File "/usr/lib/
368, in _run_test_method
testMethod()
File
"/home/
160, in test_contents_
self.
AssertionError: Unexpected return code
not equal:
a = 0
b = 3
------------
=======
FAIL:
bzrlib.
-------
Text attachment: log
------------
5.269 creating repository in
file://
5.272 creating branch <bzrlib.
0x5eaefd0> in
file://
5.279 trying to create missing lock
'/tmp/testbzr-
5.279 opening working tree
'/tmp/testbzr-
5.288 run bzr: ['bd-do', 'touch debian/do']
5.288 bazaar version: 2.3.0dev1
5.288 bzr arguments: ['bd-do', 'touch debian/do']
5.289 encoding stdout as sys.stdout encoding 'UTF-8'
5.292 opening working tree
'/tmp/testbzr-
5.296 Using True for merge, taken from default.conf
5.297 Using 'debian/changelog' to get package information
5.297 Using ../tarballs for orig-dir, taken
from /home/jelmer/
INFO Looking for a way to retrieve the upstream tarball
INFO Using apt to look for the upstream tarball.
INFO apt could not find the needed tarball.
INFO No debian/rules file to try and use for a get-orig-source rule
INFO No watch file to use to retrieve upstream tarball.
5.348 Traceback (most recent call last):
File "/home/
run_bzr_
return run_bzr(argv)
File "/home/
run_bzr
ret = run(*run_argv)
File "/home/
run_argv_aliases
return self.run(
File "/home/
run
return self._operation
File "/home/
run_simple
self.cleanups, self.func, *args, **kwargs)
File "/home/
_do_with_cleanups
result = func(*args, **kwargs)
File "/home/
builder.
File "/home/
export
self.
File "/home/
83, in distill
self.
File "/home/
124, in _distill
tarball = self.upstream_
File "/home/
provide
raise MissingUpstream
MissingUpstream
test_0.
5.348 errors:
'Looking for a way to retrieve the upstream tarball\nUsing apt to look
for the upstream tarball.\napt could not find the needed tarball.\nNo
debian/rules file to try and use for a get-orig-source rule\nNo watch
file to use to retrieve upstream tarball.\nbzr: ERROR: Unable to find
the needed upstream tarball: test_0.
------------
Text attachment: traceback
------------
Traceback (most recent call last):
File "/usr/lib/
128, in _run_user
return fn(*args)
File "/usr/lib/
368, in _run_test_method
testMethod()
File
"/home/
136, in test_copy_
self.
AssertionError: Unexpected return code
not equal:
a = 0
b = 3
------------
=======
FAIL:
bzrlib.
-------
Text attachment: log
------------
5.362 creating repository in
file://
5.366 creating branch <bzrlib.
0x58fb510> in
file://
5.375 trying to create missing lock
'/tmp/testbzr-
5.375 opening working tree
'/tmp/testbzr-
5.387 run bzr: ['bd-do', 'echo a > debian/changelog']
5.387 bazaar version: 2.3.0dev1
5.387 bzr arguments: ['bd-do', 'echo a > debian/changelog']
5.389 encoding stdout as sys.stdout encoding 'UTF-8'
5.393 opening working tree
'/tmp/testbzr-
5.398 Using True for merge, taken from default.conf
5.399 Using 'debian/changelog' to get package information
5.399 Using ../tarballs for orig-dir, taken
from /home/jelmer/
INFO Looking for a way to retrieve the upstream tarball
INFO Using apt to look for the upstream tarball.
INFO apt could not find the needed tarball.
INFO No debian/rules file to try and use for a get-orig-source rule
INFO No watch file to use to retrieve upstream tarball.
5.455 Traceback (most recent call last):
File "/home/
run_bzr_
return run_bzr(argv)
File "/home/
run_bzr
ret = run(*run_argv)
File "/home/
run_argv_aliases
return self.run(
File "/home/
run
return self._operation
File "/home/
run_simple
self.cleanups, self.func, *args, **kwargs)
File "/home/
_do_with_cleanups
result = func(*args, **kwargs)
File "/home/
builder.
File "/home/
export
self.
File "/home/
83, in distill
self.
File "/home/
124, in _distill
tarball = self.upstream_
File "/home/
provide
raise MissingUpstream
MissingUpstream
test_0.
5.455 errors:
'Looking for a way to retrieve the upstream tarball\nUsing apt to look
for the upstream tarball.\napt could not find the needed tarball.\nNo
debian/rules file to try and use for a get-orig-source rule\nNo watch
file to use to retrieve upstream tarball.\nbzr: ERROR: Unable to find
the needed upstream tarball: test_0.
------------
Text attachment: traceback
------------
Traceback (most recent call last):
File "/usr/lib/
128, in _run_user
return fn(*args)
File "/usr/lib/
368, in _run_test_method
testMethod()
File
"/home/
167, in test_export_purged
self.
AssertionError: Unexpected return code
not equal:
a = 0
b = 3
------------
=======
FAIL:
bzrlib.
-------
Text attachment: log
------------
5.470 creating repository in
file://
5.475 creating branch <bzrlib.
0x571f190> in
file://
5.486 trying to create missing lock
'/tmp/testbzr-
5.486 opening working tree
'/tmp/testbzr-
5.500 run bzr: ['bd-do', 'mkdir debian/dir']
5.500 bazaar version: 2.3.0dev1
5.500 bzr arguments: ['bd-do', 'mkdir debian/dir']
5.502 encoding stdout as sys.stdout encoding 'UTF-8'
5.508 opening working tree
'/tmp/testbzr-
5.513 Using True for merge, taken from default.conf
5.514 Using 'debian/changelog' to get package information
5.515 Using ../tarballs for orig-dir, taken
from /home/jelmer/
INFO Looking for a way to retrieve the upstream tarball
INFO Using apt to look for the upstream tarball.
INFO apt could not find the needed tarball.
INFO No debian/rules file to try and use for a get-orig-source rule
INFO No watch file to use to retrieve upstream tarball.
5.573 Traceback (most recent call last):
File "/home/
run_bzr_
return run_bzr(argv)
File "/home/
run_bzr
ret = run(*run_argv)
File "/home/
run_argv_aliases
return self.run(
File "/home/
run
return self._operation
File "/home/
run_simple
self.cleanups, self.func, *args, **kwargs)
File "/home/
_do_with_cleanups
result = func(*args, **kwargs)
File "/home/
builder.
File "/home/
export
self.
File "/home/
83, in distill
self.
File "/home/
124, in _distill
tarball = self.upstream_
File "/home/
provide
raise MissingUpstream
MissingUpstream
test_0.
5.573 errors:
'Looking for a way to retrieve the upstream tarball\nUsing apt to look
for the upstream tarball.\napt could not find the needed tarball.\nNo
debian/rules file to try and use for a get-orig-source rule\nNo watch
file to use to retrieve upstream tarball.\nbzr: ERROR: Unable to find
the needed upstream tarball: test_0.
------------
Text attachment: traceback
------------
Traceback (most recent call last):
File "/usr/lib/
128, in _run_user
return fn(*args)
File "/usr/lib/
368, in _run_test_method
testMethod()
File
"/home/
153, in test_new_
self.
AssertionError: Unexpected return code
not equal:
a = 0
b = 3
------------
=======
FAIL:
bzrlib.
-------
Text attachment: log
------------
5.588 creating repository in
file://
5.592 creating branch <bzrlib.
0x5a35290> in
file://
5.603 trying to create missing lock
'/tmp/testbzr-
5.604 opening working tree
'/tmp/testbzr-
5.618 run bzr: ['bd-do', 'touch debian/do && false']
5.618 bazaar version: 2.3.0dev1
5.618 bzr arguments: ['bd-do', 'touch debian/do && false']
5.619 encoding stdout as sys.stdout encoding 'UTF-8'
5.625 opening working tree
'/tmp/testbzr-
5.630 Using True for merge, taken from default.conf
5.631 Using 'debian/changelog' to get package information
5.632 Using ../tarballs for orig-dir, taken
from /home/jelmer/
INFO Looking for a way to retrieve the upstream tarball
INFO Using apt to look for the upstream tarball.
INFO apt could not find the needed tarball.
INFO No debian/rules file to try and use for a get-orig-source rule
INFO No watch file to use to retrieve upstream tarball.
5.679 Traceback (most recent call last):
File "/home/
run_bzr_
return run_bzr(argv)
File "/home/
run_bzr
ret = run(*run_argv)
File "/home/
run_argv_aliases
return self.run(
File "/home/
run
return self._operation
File "/home/
run_simple
self.cleanups, self.func, *args, **kwargs)
File "/home/
_do_with_cleanups
result = func(*args, **kwargs)
File "/home/
builder.
File "/home/
export
self.
File "/home/
83, in distill
self.
File "/home/
124, in _distill
tarball = self.upstream_
File "/home/
provide
raise MissingUpstream
MissingUpstream
test_0.
5.679 errors:
'Looking for a way to retrieve the upstream tarball\nUsing apt to look
for the upstream tarball.\napt could not find the needed tarball.\nNo
debian/rules file to try and use for a get-orig-source rule\nNo watch
file to use to retrieve upstream tarball.\nbzr: ERROR: Unable to find
the needed upstream tarball: test_0.
------------
Text attachment: traceback
------------
Traceback (most recent call last):
File "/usr/lib/
128, in _run_user
return fn(*args)
File "/usr/lib/
368, in _run_test_method
testMethod()
File
"/home/
129, in test_no_
'failed.'], ['bd-do', 'touch debian/do && false'])
AssertionError: pattern "Not updating the working tree as the command
failed." not found in
"""\
Looking for a way to retrieve the upstream tarball
Using apt to look for the upstream tarball.
apt could not find the needed tarball.
No debian/rules file to try and use for a get-orig-source rule
No watch file to use to retrieve upstream tarball.
bzr: ERROR: Unable to find the needed upstream tarball:
test_0.
"""
------------
=======
FAIL:
bzrlib.
-------
Text attachment: log
------------
5.688 creating repository in
file://
5.691 creating branch <bzrlib.
0x5ec9710> in
file://
5.698 trying to create missing lock
'/tmp/testbzr-
5.698 opening working tree
'/tmp/testbzr-
5.707 run bzr: ['bd-do', 'rm debian/changelog']
5.707 bazaar version: 2.3.0dev1
5.707 bzr arguments: ['bd-do', 'rm debian/changelog']
5.708 encoding stdout as sys.stdout encoding 'UTF-8'
5.712 opening working tree
'/tmp/testbzr-
5.715 Using True for merge, taken from default.conf
5.716 Using 'debian/changelog' to get package information
5.716 Using ../tarballs for orig-dir, taken
from /home/jelmer/
INFO Looking for a way to retrieve the upstream tarball
INFO Using apt to look for the upstream tarball.
INFO apt could not find the needed tarball.
INFO No debian/rules file to try and use for a get-orig-source rule
INFO No watch file to use to retrieve upstream tarball.
5.757 Traceback (most recent call last):
File "/home/
run_bzr_
return run_bzr(argv)
File "/home/
run_bzr
ret = run(*run_argv)
File "/home/
run_argv_aliases
return self.run(
File "/home/
run
return self._operation
File "/home/
run_simple
self.cleanups, self.func, *args, **kwargs)
File "/home/
_do_with_cleanups
result = func(*args, **kwargs)
File "/home/
builder.
File "/home/
export
self.
File "/home/
83, in distill
self.
File "/home/
124, in _distill
tarball = self.upstream_
File "/home/
provide
raise MissingUpstream
MissingUpstream
test_0.
5.758 errors:
'Looking for a way to retrieve the upstream tarball\nUsing apt to look
for the upstream tarball.\napt could not find the needed tarball.\nNo
debian/rules file to try and use for a get-orig-source rule\nNo watch
file to use to retrieve upstream tarball.\nbzr: ERROR: Unable to find
the needed upstream tarball: test_0.
------------
Text attachment: traceback
------------
Traceback (most recent call last):
File "/usr/lib/
128, in _run_user
return fn(*args)
File "/usr/lib/
368, in _run_test_method
testMethod()
File
"/home/
143, in test_removed_
self.
AssertionError: Unexpected return code
not equal:
a = 0
b = 3
------------
=======
FAIL:
bzrlib.
-------
Text attachment: log
------------
5.767 creating repository in
file://
5.770 creating branch <bzrlib.
0x5ee5750> in
file://
5.777 trying to create missing lock
'/tmp/testbzr-
5.777 opening working tree
'/tmp/testbzr-
5.786 run bzr: ['bd-do']
5.786 bazaar version: 2.3.0dev1
5.786 bzr arguments: ['bd-do']
5.787 encoding stdout as sys.stdout encoding 'UTF-8'
5.790 opening working tree
'/tmp/testbzr-
5.794 Using True for merge, taken from default.conf
5.795 Using 'debian/changelog' to get package information
5.795 Using ../tarballs for orig-dir, taken
from /home/jelmer/
INFO Looking for a way to retrieve the upstream tarball
INFO Using apt to look for the upstream tarball.
INFO apt could not find the needed tarball.
INFO No debian/rules file to try and use for a get-orig-source rule
INFO No watch file to use to retrieve upstream tarball.
5.836 Traceback (most recent call last):
File "/home/
run_bzr_
return run_bzr(argv)
File "/home/
run_bzr
ret = run(*run_argv)
File "/home/
run_argv_aliases
return self.run(
File "/home/
run
return self._operation
File "/home/
run_simple
self.cleanups, self.func, *args, **kwargs)
File "/home/
_do_with_cleanups
result = func(*args, **kwargs)
File "/home/
builder.
File "/home/
export
self.
File "/home/
83, in distill
self.
File "/home/
124, in _distill
tarball = self.upstream_
File "/home/
provide
raise MissingUpstream
MissingUpstream
test_0.
5.836 errors:
'Looking for a way to retrieve the upstream tarball\nUsing apt to look
for the upstream tarball.\napt could not find the needed tarball.\nNo
debian/rules file to try and use for a get-orig-source rule\nNo watch
file to use to retrieve upstream tarball.\nbzr: ERROR: Unable to find
the needed upstream tarball: test_0.
------------
Text attachment: traceback
------------
Traceback (most recent call last):
File "/usr/lib/
128, in _run_user
return fn(*args)
File "/usr/lib/
368, in _run_test_method
testMethod()
File
"/home/
177, in test_uses_shell
self.
AssertionError: Unexpected return code
not equal:
a = 0
b = 3
Related branches
- Bzr-builddeb-hackers: Pending (code) requested
-
Diff: 143 lines (+40/-37)1 file modifiedtests/blackbox/test_do.py (+40/-37)
- Bzr-builddeb-hackers: Pending (code) requested
-
Diff: 74 lines (+12/-5)4 files modified__init__.py (+3/-1)
debian/changelog (+5/-1)
launchpad.py (+2/-1)
util.py (+2/-2)
Changed in bzr-builddeb: | |
status: | New → Fix Committed |
importance: | Undecided → Medium |
assignee: | nobody → Jelmer Vernooij (jelmer) |
Changed in bzr-builddeb: | |
status: | Fix Committed → Fix Released |
On Fri, 06 Aug 2010 00:24:52 -0000, Jelmer Vernooij <email address hidden> wrote:
> Public bug reported:
>
> affects bzr-builddeb
>
> Several tests are failing for me at the moment when run from "bzr
> selftest". I'll see if I can look into fixing them this weekend, unless
> somebody else already knows what's happening. Below is the subunit
> output:
I've not seen this one, so I don't know what it is. I don't use do
myself, so it's quite possibly regressed due to other changes.
Thanks,
James