[Reproducible-builds] Bug#825167: python-shotgun: FTBFS: ImportError: No module named oslotest
Chris Lamb
lamby at debian.org
Tue May 24 09:14:02 UTC 2016
Source: python-shotgun
Version: 9.0-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
python-shotgun fails to build from source in unstable/amd64:
[..]
Processing triggers for libc-bin (2.22-9) ...
Setting up python3-pkg-resources (20.10.1-1) ...
Setting up python3-chardet (2.3.0-2) ...
Setting up python3-six (1.10.0-3) ...
Setting up python3-debian (0.1.27) ...
Setting up libapt-inst2.0:amd64 (1.2.12) ...
Setting up apt-utils (1.2.12) ...
Setting up autopkgtest (3.20.6) ...
Setting up openssl (1.0.2h-1) ...
Setting up ca-certificates (20160104) ...
Setting up libencode-locale-perl (1.05-1) ...
Setting up libhttp-date-perl (6.02-1) ...
Setting up libfile-listing-perl (6.04-1) ...
Setting up libhtml-tree-perl (5.03-2) ...
Setting up libio-html-perl (1.001-1) ...
Setting up liblwp-mediatypes-perl (6.02-1) ...
Setting up libhttp-message-perl (6.11-1) ...
Setting up libhttp-cookies-perl (6.01-1) ...
Setting up libhttp-negotiate-perl (6.00-2) ...
Setting up libnet-http-perl (6.09-1) ...
Setting up libwww-robotrules-perl (6.01-1) ...
Setting up madison-lite (0.21) ...
Setting up python-all (2.7.11-1) ...
Setting up python-setuptools (20.10.1-1) ...
Setting up python-nose (1.3.7-1) ...
Setting up python-crypto (2.6.1-6+b1) ...
Setting up python-ecdsa (0.13-2) ...
Setting up python-paramiko (1.16.0-1) ...
Setting up libjs-jquery (1.12.3-1) ...
Setting up libjs-underscore (1.7.0~dfsg-1) ...
Setting up libjs-sphinxdoc (1.3.6-2) ...
Setting up fabric (1.10.2-1) ...
Setting up python-pyparsing (2.1.4+dfsg1-1) ...
Setting up python-cmd2 (0.6.8-1) ...
Setting up python-pbr (1.8.0-4.1) ...
update-alternatives: using /usr/bin/python2-pbr to provide /usr/bin/pbr (pbr) in auto mode
Setting up python-prettytable (0.7.2-3) ...
Setting up python-stevedore (1.12.0-1) ...
Setting up python-unicodecsv (0.14.1-1) ...
Setting up libyaml-0-2:amd64 (0.1.6-3) ...
Setting up python-yaml (3.11-3+b1) ...
Setting up python-cliff (1.15.0-4) ...
Setting up python-funcsigs (0.4-2) ...
Setting up python-mock (1.3.0-2.1) ...
Setting up python-linecache2 (1.0.0-2) ...
Setting up python-traceback2 (1.4.0-3) ...
Setting up python-unittest2 (1.1.0-6.1) ...
update-alternatives: using /usr/bin/python2-unit2 to provide /usr/bin/unit2 (unit2) in auto mode
Setting up libsubunit-perl (1.1.0-3) ...
Setting up python-extras (0.0.3-3) ...
Setting up python-mimeparse (0.1.4-1) ...
Setting up python-testtools (1.8.0-3) ...
Setting up python-subunit (1.1.0-3) ...
Setting up python3-extras (0.0.3-3) ...
Setting up python3-linecache2 (1.0.0-2) ...
Setting up python3-mimeparse (0.1.4-1) ...
Setting up python3-pbr (1.8.0-4.1) ...
Setting up python3-traceback2 (1.4.0-3) ...
Setting up python3-unittest2 (1.1.0-6.1) ...
Setting up python3-testtools (1.8.0-3) ...
Setting up python3-subunit (1.1.0-3) ...
Setting up subunit (1.1.0-3) ...
Setting up python-fixtures (1.3.1-2) ...
Setting up python-testrepository (0.0.20-2) ...
update-alternatives: using /usr/bin/testr-python2 to provide /usr/bin/testr (testr) in auto mode
Setting up python3-fixtures (1.3.1-2) ...
Setting up python3-testrepository (0.0.20-2) ...
Setting up testrepository (0.0.20-2) ...
Setting up libwww-perl (6.15-1) ...
Setting up libxml-parser-perl (2.44-1+b1) ...
Setting up libxml-xpath-perl (1.36-1) ...
Setting up openstack-pkg-tools (44) ...
Setting up python-shotgun-build-deps (9.0-1) ...
Setting up liblwp-protocol-https-perl (6.06-2) ...
Processing triggers for libc-bin (2.22-9) ...
Processing triggers for ca-certificates (20160104) ...
Updating certificates in /etc/ssl/certs...
173 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
dpkg-buildpackage -rfakeroot -D -us -uc -b
dpkg-buildpackage: info: source package python-shotgun
dpkg-buildpackage: info: source version 9.0-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Thomas Goirand <zigo at debian.org>
dpkg-source --before-build python-shotgun-9.0
dpkg-buildpackage: info: host architecture amd64
dpkg-source: info: using options from python-shotgun-9.0/debian/source/options: --extend-diff-ignore=^[^/]*[.]egg-info/
fakeroot debian/rules clean
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
dh clean --buildsystem=python_distutils --with python2
dh_testdir -O--buildsystem=python_distutils
dh_auto_clean -O--buildsystem=python_distutils
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
python setup.py clean -a
running clean
'build/lib.linux-x86_64-2.7' does not exist -- can't clean it
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
find . -name \*.pyc -exec rm {} \+
debian/rules override_dh_clean
make[1]: Entering directory '/home/lamby/temp/cdt.20160524094450.kCvmibuNLZ.python-shotgun/python-shotgun-9.0'
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
rm -rf build
dh_clean -O--buildsystem=python_distutils
make[1]: Leaving directory '/home/lamby/temp/cdt.20160524094450.kCvmibuNLZ.python-shotgun/python-shotgun-9.0'
debian/rules build
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
dh build --buildsystem=python_distutils --with python2
dh_testdir -O--buildsystem=python_distutils
dh_update_autotools_config -O--buildsystem=python_distutils
dh_auto_configure -O--buildsystem=python_distutils
dh_auto_build -O--buildsystem=python_distutils
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
python setup.py build --force
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/shotgun
copying shotgun/utils.py -> build/lib.linux-x86_64-2.7/shotgun
copying shotgun/__init__.py -> build/lib.linux-x86_64-2.7/shotgun
copying shotgun/hooks.py -> build/lib.linux-x86_64-2.7/shotgun
copying shotgun/manager.py -> build/lib.linux-x86_64-2.7/shotgun
copying shotgun/settings.py -> build/lib.linux-x86_64-2.7/shotgun
copying shotgun/config.py -> build/lib.linux-x86_64-2.7/shotgun
copying shotgun/logger.py -> build/lib.linux-x86_64-2.7/shotgun
copying shotgun/cli2.py -> build/lib.linux-x86_64-2.7/shotgun
copying shotgun/driver.py -> build/lib.linux-x86_64-2.7/shotgun
copying shotgun/cli.py -> build/lib.linux-x86_64-2.7/shotgun
creating build/lib.linux-x86_64-2.7/shotgun/test
copying shotgun/test/__init__.py -> build/lib.linux-x86_64-2.7/shotgun/test
copying shotgun/test/test_driver.py -> build/lib.linux-x86_64-2.7/shotgun/test
copying shotgun/test/base.py -> build/lib.linux-x86_64-2.7/shotgun/test
copying shotgun/test/test_config.py -> build/lib.linux-x86_64-2.7/shotgun/test
copying shotgun/test/test_manager.py -> build/lib.linux-x86_64-2.7/shotgun/test
copying shotgun/test/test_utils.py -> build/lib.linux-x86_64-2.7/shotgun/test
running egg_info
creating shotgun.egg-info
writing requirements to shotgun.egg-info/requires.txt
writing shotgun.egg-info/PKG-INFO
writing top-level names to shotgun.egg-info/top_level.txt
writing dependency_links to shotgun.egg-info/dependency_links.txt
writing entry points to shotgun.egg-info/entry_points.txt
[pbr] Processing SOURCES.txt
writing manifest file 'shotgun.egg-info/SOURCES.txt'
warning: no files found matching 'AUTHORS'
warning: no files found matching 'ChangeLog'
warning: no previously-included files found matching '.gitignore'
warning: no previously-included files found matching '.gitreview'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
reading manifest template 'MANIFEST.in'
warning: no files found matching 'AUTHORS'
warning: no files found matching 'ChangeLog'
warning: no previously-included files found matching '.gitignore'
warning: no previously-included files found matching '.gitreview'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
writing manifest file 'shotgun.egg-info/SOURCES.txt'
debian/rules override_dh_auto_test
make[1]: Entering directory '/home/lamby/temp/cdt.20160524094450.kCvmibuNLZ.python-shotgun/python-shotgun-9.0'
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
===> Running tests
set -e ; set -x ; for i in 2.7 ; do \
PYMAJOR=`echo $i | cut -d'.' -f1` ; \
echo "===> Testing with python$i (python$PYMAJOR)" ; \
rm -rf .testrepository ; \
testr-python$PYMAJOR init ; \
TEMP_REZ=`mktemp -t` ; \
PYTHONPATH=/home/lamby/temp/cdt.20160524094450.kCvmibuNLZ.python-shotgun/python-shotgun-9.0 PYTHON=python$i testr-python$PYMAJOR run --subunit | tee $TEMP_REZ | subunit2pyunit ; \
cat $TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats ; \
rm -f $TEMP_REZ ; \
testr-python$PYMAJOR slowest ; \
done
+ + echo 2.7
cut -d. -f1
+ PYMAJOR=2
+ echo ===> Testing with python2.7 (python2)
===> Testing with python2.7 (python2)
+ rm -rf .testrepository
+ testr-python2 init
+ mktemp -t
+ TEMP_REZ=/tmp/tmp.VXax4veL11
+ PYTHONPATH=/home/lamby/temp/cdt.20160524094450.kCvmibuNLZ.python-shotgun/python-shotgun-9.0 PYTHON=python2.7 testr-python2 run --subunit
+ subunit2pyunit
+ tee /tmp/tmp.VXax4veL11
running=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=60 ${PYTHON:-python} -m subunit.run discover -s shotgun/test/ -p "*.py"
unittest2.loader._FailedTest.base
unittest2.loader._FailedTest.base ... FAIL
unittest2.loader._FailedTest.test_config
unittest2.loader._FailedTest.test_config ... FAIL
unittest2.loader._FailedTest.test_driver
unittest2.loader._FailedTest.test_driver ... FAIL
unittest2.loader._FailedTest.test_manager
unittest2.loader._FailedTest.test_manager ... FAIL
unittest2.loader._FailedTest.test_utils
unittest2.loader._FailedTest.test_utils ... FAIL
======================================================================
FAIL: unittest2.loader._FailedTest.base
unittest2.loader._FailedTest.base
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
ImportError: Failed to import test module: base
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 456, in _find_test_path
module = self._get_module_from_name(name)
File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name
__import__(name)
File "/home/lamby/temp/cdt.20160524094450.kCvmibuNLZ.python-shotgun/python-shotgun-9.0/shotgun/test/base.py", line 15, in <module>
from oslotest import base as oslo_base
ImportError: No module named oslotest
======================================================================
FAIL: unittest2.loader._FailedTest.test_config
unittest2.loader._FailedTest.test_config
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
ImportError: Failed to import test module: test_config
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 456, in _find_test_path
module = self._get_module_from_name(name)
File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name
__import__(name)
File "/home/lamby/temp/cdt.20160524094450.kCvmibuNLZ.python-shotgun/python-shotgun-9.0/shotgun/test/test_config.py", line 20, in <module>
from shotgun.test import base
File "shotgun/test/base.py", line 15, in <module>
from oslotest import base as oslo_base
ImportError: No module named oslotest
======================================================================
FAIL: unittest2.loader._FailedTest.test_driver
unittest2.loader._FailedTest.test_driver
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
ImportError: Failed to import test module: test_driver
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 456, in _find_test_path
module = self._get_module_from_name(name)
File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name
__import__(name)
File "/home/lamby/temp/cdt.20160524094450.kCvmibuNLZ.python-shotgun/python-shotgun-9.0/shotgun/test/test_driver.py", line 24, in <module>
from shotgun.test import base
File "shotgun/test/base.py", line 15, in <module>
from oslotest import base as oslo_base
ImportError: No module named oslotest
======================================================================
FAIL: unittest2.loader._FailedTest.test_manager
unittest2.loader._FailedTest.test_manager
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
ImportError: Failed to import test module: test_manager
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 456, in _find_test_path
module = self._get_module_from_name(name)
File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name
__import__(name)
File "/home/lamby/temp/cdt.20160524094450.kCvmibuNLZ.python-shotgun/python-shotgun-9.0/shotgun/test/test_manager.py", line 23, in <module>
from shotgun.test import base
File "shotgun/test/base.py", line 15, in <module>
from oslotest import base as oslo_base
ImportError: No module named oslotest
======================================================================
FAIL: unittest2.loader._FailedTest.test_utils
unittest2.loader._FailedTest.test_utils
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
ImportError: Failed to import test module: test_utils
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 456, in _find_test_path
module = self._get_module_from_name(name)
File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name
__import__(name)
File "/home/lamby/temp/cdt.20160524094450.kCvmibuNLZ.python-shotgun/python-shotgun-9.0/shotgun/test/test_utils.py", line 21, in <module>
from shotgun.test import base
File "shotgun/test/base.py", line 15, in <module>
from oslotest import base as oslo_base
ImportError: No module named oslotest
----------------------------------------------------------------------
Ran 5 tests in 0.238s
FAILED (failures=5)
debian/rules:23: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/home/lamby/temp/cdt.20160524094450.kCvmibuNLZ.python-shotgun/python-shotgun-9.0'
debian/rules:12: recipe for target 'build' failed
make: *** [build] Error 2
[..]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-shotgun.9.0-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 5997 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160524/c93041c3/attachment.obj>
More information about the Reproducible-builds
mailing list