[Reproducible-builds] Bug#820344: python-oslo.privsep: FTBFS: _StringException: Empty attachments:
Chris Lamb
lamby at debian.org
Thu Apr 7 15:54:55 UTC 2016
Source: python-oslo.privsep
Version: 1.3.0-2
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-oslo.privsep fails to build from source in unstable/amd64:
[..]
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
py3versions: no X-Python3-Version in control file, using supported versions
dh build --buildsystem=python_distutils --with python2,python3,sphinxdoc
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/oslo_privsep
creating build/lib.linux-x86_64-2.7/oslo_privsep/tests
copying oslo_privsep/tests/__init__.py -> build/lib.linux-x86_64-2.7/oslo_privsep/tests
copying oslo_privsep/tests/test_priv_context.py -> build/lib.linux-x86_64-2.7/oslo_privsep/tests
copying oslo_privsep/tests/test_capabilities.py -> build/lib.linux-x86_64-2.7/oslo_privsep/tests
copying oslo_privsep/tests/test_daemon.py -> build/lib.linux-x86_64-2.7/oslo_privsep/tests
copying oslo_privsep/tests/fixture.py -> build/lib.linux-x86_64-2.7/oslo_privsep/tests
copying oslo_privsep/tests/testctx.py -> build/lib.linux-x86_64-2.7/oslo_privsep/tests
copying oslo_privsep/tests/test_comm.py -> build/lib.linux-x86_64-2.7/oslo_privsep/tests
copying oslo_privsep/comm.py -> build/lib.linux-x86_64-2.7/oslo_privsep
copying oslo_privsep/__init__.py -> build/lib.linux-x86_64-2.7/oslo_privsep
copying oslo_privsep/capabilities.py -> build/lib.linux-x86_64-2.7/oslo_privsep
copying oslo_privsep/_i18n.py -> build/lib.linux-x86_64-2.7/oslo_privsep
copying oslo_privsep/priv_context.py -> build/lib.linux-x86_64-2.7/oslo_privsep
copying oslo_privsep/daemon.py -> build/lib.linux-x86_64-2.7/oslo_privsep
running egg_info
creating oslo.privsep.egg-info
writing requirements to oslo.privsep.egg-info/requires.txt
writing oslo.privsep.egg-info/PKG-INFO
writing top-level names to oslo.privsep.egg-info/top_level.txt
writing dependency_links to oslo.privsep.egg-info/dependency_links.txt
writing entry points to oslo.privsep.egg-info/entry_points.txt
[pbr] Processing SOURCES.txt
writing manifest file 'oslo.privsep.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
writing manifest file 'oslo.privsep.egg-info/SOURCES.txt'
debian/rules override_dh_auto_test
make[1]: Entering directory '/home/lamby/temp/cdt.20160407164510.iV6NO9rTEo/python-oslo.privsep-1.3.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
py3versions: no X-Python3-Version in control file, using supported versions
===> Running tests
set -e ; set -x ; for i in 2.7 3.5 ; 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.20160407164510.iV6NO9rTEo/python-oslo.privsep-1.3.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.SZ3M04pSU7
+ + teePYTHONPATH=/home/lamby/temp/cdt.20160407164510.iV6NO9rTEo/python-oslo.privsep-1.3.0 PYTHON=python2.7 testr-python2 run --subunit
/tmp/tmp.SZ3M04pSU7
+ subunit2pyunit
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
${PYTHON:-python} -m subunit.run discover -t ./ ./oslo_privsep
oslo_privsep.tests.test_capabilities.TestCapabilities.test_drop_all_caps_except
oslo_privsep.tests.test_capabilities.TestCapabilities.test_drop_all_caps_except ... ok
oslo_privsep.tests.test_capabilities.TestCapabilities.test_drop_all_caps_except_error
oslo_privsep.tests.test_capabilities.TestCapabilities.test_drop_all_caps_except_error ... ok
oslo_privsep.tests.test_capabilities.TestCapabilities.test_get_caps
oslo_privsep.tests.test_capabilities.TestCapabilities.test_get_caps ... ok
oslo_privsep.tests.test_capabilities.TestCapabilities.test_get_caps_error
oslo_privsep.tests.test_capabilities.TestCapabilities.test_get_caps_error ... ok
oslo_privsep.tests.test_capabilities.TestCapabilities.test_set_keepcaps
oslo_privsep.tests.test_capabilities.TestCapabilities.test_set_keepcaps ... ok
oslo_privsep.tests.test_capabilities.TestCapabilities.test_set_keepcaps_error
oslo_privsep.tests.test_capabilities.TestCapabilities.test_set_keepcaps_error ... ok
oslo_privsep.tests.test_comm.TestSerialization.test_badobj
oslo_privsep.tests.test_comm.TestSerialization.test_badobj ... ok
oslo_privsep.tests.test_comm.TestSerialization.test_bool
oslo_privsep.tests.test_comm.TestSerialization.test_bool ... ok
oslo_privsep.tests.test_comm.TestSerialization.test_bytes
oslo_privsep.tests.test_comm.TestSerialization.test_bytes ... ok
oslo_privsep.tests.test_comm.TestSerialization.test_dict
oslo_privsep.tests.test_comm.TestSerialization.test_dict ... ok
oslo_privsep.tests.test_comm.TestSerialization.test_eof
oslo_privsep.tests.test_comm.TestSerialization.test_eof ... ok
oslo_privsep.tests.test_comm.TestSerialization.test_int
oslo_privsep.tests.test_comm.TestSerialization.test_int ... ok
oslo_privsep.tests.test_comm.TestSerialization.test_list
oslo_privsep.tests.test_comm.TestSerialization.test_list ... ok
oslo_privsep.tests.test_comm.TestSerialization.test_none
oslo_privsep.tests.test_comm.TestSerialization.test_none ... ok
oslo_privsep.tests.test_comm.TestSerialization.test_tuple
oslo_privsep.tests.test_comm.TestSerialization.test_tuple ... ok
oslo_privsep.tests.test_comm.TestSerialization.test_unicode
oslo_privsep.tests.test_comm.TestSerialization.test_unicode ... ok
oslo_privsep.tests.test_daemon.LogTest.test_priv_log
oslo_privsep.tests.test_daemon.LogTest.test_priv_log ... ok
oslo_privsep.tests.test_daemon.TestDaemon.test_drop_privs
oslo_privsep.tests.test_daemon.TestDaemon.test_drop_privs ... FAIL
oslo_privsep.tests.test_daemon.TestWithContext.test_helper_command
oslo_privsep.tests.test_daemon.TestWithContext.test_helper_command ... ok
oslo_privsep.tests.test_daemon.TestWithContext.test_helper_command_default
oslo_privsep.tests.test_daemon.TestWithContext.test_helper_command_default ... ok
oslo_privsep.tests.test_daemon.TestWithContext.test_helper_command_default_dirtoo
oslo_privsep.tests.test_daemon.TestWithContext.test_helper_command_default_dirtoo ... ok
oslo_privsep.tests.test_daemon.TestWithContext.test_unexported
oslo_privsep.tests.test_daemon.TestWithContext.test_unexported ... ok
oslo_privsep.tests.test_priv_context.RootwrapTest.test_getpid
oslo_privsep.tests.test_priv_context.RootwrapTest.test_getpid ... ok
oslo_privsep.tests.test_priv_context.TestSeparation.test_client_mode
oslo_privsep.tests.test_priv_context.TestSeparation.test_client_mode ... ok
oslo_privsep.tests.test_priv_context.TestSeparation.test_getpid
oslo_privsep.tests.test_priv_context.TestSeparation.test_getpid ... ok
oslo_privsep.tests.test_priv_context.TestSerialization.test_basic_functionality
oslo_privsep.tests.test_priv_context.TestSerialization.test_basic_functionality ... ok
oslo_privsep.tests.test_priv_context.TestSerialization.test_raises_custom
oslo_privsep.tests.test_priv_context.TestSerialization.test_raises_custom ... ok
oslo_privsep.tests.test_priv_context.TestSerialization.test_raises_standard
oslo_privsep.tests.test_priv_context.TestSerialization.test_raises_standard ... ok
======================================================================
FAIL: oslo_privsep.tests.test_daemon.TestDaemon.test_drop_privs
oslo_privsep.tests.test_daemon.TestDaemon.test_drop_privs
----------------------------------------------------------------------
_StringException: Empty attachments:
stderr
stdout
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in patched
return func(*args, **keywargs)
File "oslo_privsep/tests/test_daemon.py", line 83, in test_drop_privs
d._drop_privs()
File "oslo_privsep/daemon.py", line 427, in _drop_privs
'inh': fmt_caps(inh),
File "oslo_privsep/daemon.py", line 418, in fmt_caps
for c in capset))
File "oslo_privsep/daemon.py", line 418, in <genexpr>
for c in capset))
KeyError: 4
----------------------------------------------------------------------
Ran 28 tests in 0.806s
FAILED (failures=1)
debian/rules:29: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/home/lamby/temp/cdt.20160407164510.iV6NO9rTEo/python-oslo.privsep-1.3.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-oslo.privsep.1.3.0-2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 2183 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160407/6ac7c4b7/attachment.obj>
More information about the Reproducible-builds
mailing list