[PKG-Openstack-devel] Bug#765348: openstack-trove: FTBFS - AttributeError: 'spawn' object has no attribute 'match'
Michael Tautschnig
mt at debian.org
Tue Oct 14 11:26:26 UTC 2014
Package: openstack-trove
Version: 2014.1.3-1
Severity: serious
Usertags: goto-cc
During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and pbuilder) the build failed with the following error.
[...]
======================================================================
FAIL: guestagent.test_pkg.PkgRPMRemoveTestCase.test_package_not_found
guestagent.test_pkg.PkgRPMRemoveTestCase.test_package_not_found
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
File "/srv/jenkins-slave/workspace/sid-goto-cc-openstack-trove/openstack-trove-2014.1.3/trove/tests/unittests/guestagent/test_pkg.py", line 445, in test_package_not_found
self.pkgName, 5000)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 410, in assertRaises
self.assertThat(our_callable, matcher)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 421, in assertThat
mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 471, in _matchHelper
mismatch = matcher.match(matchee)
File "/usr/lib/python2.7/dist-packages/testtools/matchers/_exception.py", line 108, in match
mismatch = self.exception_matcher.match(exc_info)
File "/usr/lib/python2.7/dist-packages/testtools/matchers/_higherorder.py", line 62, in match
mismatch = matcher.match(matchee)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 402, in match
reraise(*matchee)
File "/usr/lib/python2.7/dist-packages/testtools/matchers/_exception.py", line 101, in match
result = matchee()
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 932, in __call__
return self._callable_object(*self._args, **self._kwargs)
File "trove/guestagent/pkg.py", line 214, in pkg_remove
result = self._remove(package_name, time_out)
File "trove/guestagent/pkg.py", line 164, in _remove
i, match = self.pexpect_run(cmd, output_expects, time_out)
File "trove/guestagent/pkg.py", line 91, in pexpect_run
match = child.match
AttributeError: 'spawn' object has no attribute 'match'
======================================================================
FAIL: process-returncode
process-returncode
----------------------------------------------------------------------
_StringException: returncode 1
----------------------------------------------------------------------
Ran 639 tests in 12.443s
FAILED (failures=17, skipped=1)
debian/rules:57: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/srv/jenkins-slave/workspace/sid-goto-cc-openstack-trove/openstack-trove-2014.1.3'
debian/rules:11: recipe for target 'build' failed
make: *** [build] Error 2
The full build log is attached; please do let me know if the problem is
unreproducible, in which case I shall try to investigate further.
Best,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openstack-trove-build-log.txt.gz
Type: application/x-gunzip
Size: 27070 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20141014/424116ba/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 859 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20141014/424116ba/attachment-0001.sig>
More information about the Openstack-devel
mailing list