[PKG-Openstack-devel] Bug#759977: oslo.rootwrap: FTBFS: tests failed

Lucas Nussbaum lucas at lucas-nussbaum.net
Sat Aug 30 21:52:29 UTC 2014


Source: oslo.rootwrap
Version: 1.2.0-2
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140830 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/«PKGBUILDDIR»'
> 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 -ex && for i in 2.7 3.4 ; 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=/«PKGBUILDDIR» PYTHON=python$i testr run --subunit 'tests\.(?!.*test_RootwrapConfig.*)' | tee $TEMP_REZ | subunit2pyunit ; \
> 	cat $TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats ; \
> 	rm -f $TEMP_REZ ; \
> 	testr 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.rwoBFWjRp4
> + PYTHONPATH=/«PKGBUILDDIR» PYTHON=python2.7 testr run --subunit tests\.(?!.*test_RootwrapConfig.*)
> + tee /tmp/tmp.rwoBFWjRp4
> + subunit2pyunit
> running=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=60 ${PYTHON:-python} -m subunit.run discover -t ./ . --list 
> running=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=60 ${PYTHON:-python} -m subunit.run discover -t ./ .  --load-list /tmp/tmpr3LM1l
> tests.test_rootwrap.PathFilterTestCase.test_argument_equality_constraint
> tests.test_rootwrap.PathFilterTestCase.test_argument_equality_constraint ... ok
> tests.test_rootwrap.PathFilterTestCase.test_argument_pass_constraint
> tests.test_rootwrap.PathFilterTestCase.test_argument_pass_constraint ... ok
> tests.test_rootwrap.PathFilterTestCase.test_empty_args
> tests.test_rootwrap.PathFilterTestCase.test_empty_args ... ok
> tests.test_rootwrap.PathFilterTestCase.test_get_command
> tests.test_rootwrap.PathFilterTestCase.test_get_command ... ok
> tests.test_rootwrap.PathFilterTestCase.test_get_command_symlink
> tests.test_rootwrap.PathFilterTestCase.test_get_command_symlink ... ok
> tests.test_rootwrap.PathFilterTestCase.test_get_command_traversal
> tests.test_rootwrap.PathFilterTestCase.test_get_command_traversal ... ok
> tests.test_rootwrap.PathFilterTestCase.test_get_command_traversal_symlink
> tests.test_rootwrap.PathFilterTestCase.test_get_command_traversal_symlink ... ok
> tests.test_rootwrap.PathFilterTestCase.test_match
> tests.test_rootwrap.PathFilterTestCase.test_match ... ok
> tests.test_rootwrap.PathFilterTestCase.test_match_symlink
> tests.test_rootwrap.PathFilterTestCase.test_match_symlink ... ok
> tests.test_rootwrap.PathFilterTestCase.test_match_traversal
> tests.test_rootwrap.PathFilterTestCase.test_match_traversal ... ok
> tests.test_rootwrap.PathFilterTestCase.test_match_traversal_symlink
> tests.test_rootwrap.PathFilterTestCase.test_match_traversal_symlink ... ok
> tests.test_rootwrap.PathFilterTestCase.test_reject
> tests.test_rootwrap.PathFilterTestCase.test_reject ... ok
> tests.test_rootwrap.PathFilterTestCase.test_reject_symlink
> tests.test_rootwrap.PathFilterTestCase.test_reject_symlink ... ok
> tests.test_rootwrap.PathFilterTestCase.test_reject_traversal
> tests.test_rootwrap.PathFilterTestCase.test_reject_traversal ... ok
> tests.test_rootwrap.PathFilterTestCase.test_reject_traversal_symlink
> tests.test_rootwrap.PathFilterTestCase.test_reject_traversal_symlink ... ok
> tests.test_rootwrap.PathFilterTestCase.test_wrong_arguments_number
> tests.test_rootwrap.PathFilterTestCase.test_wrong_arguments_number ... ok
> tests.test_rootwrap.PathFilterTestCase.test_wrong_exec_command
> tests.test_rootwrap.PathFilterTestCase.test_wrong_exec_command ... ok
> tests.test_rootwrap.RootwrapTestCase.test_CommandFilter
> tests.test_rootwrap.RootwrapTestCase.test_CommandFilter ... ok
> tests.test_rootwrap.RootwrapTestCase.test_EnvFilter
> tests.test_rootwrap.RootwrapTestCase.test_EnvFilter ... ok
> tests.test_rootwrap.RootwrapTestCase.test_EnvFilter_without_leading_env
> tests.test_rootwrap.RootwrapTestCase.test_EnvFilter_without_leading_env ... ok
> tests.test_rootwrap.RootwrapTestCase.test_IpFilter_netns
> tests.test_rootwrap.RootwrapTestCase.test_IpFilter_netns ... ok
> tests.test_rootwrap.RootwrapTestCase.test_IpFilter_netns_add
> tests.test_rootwrap.RootwrapTestCase.test_IpFilter_netns_add ... ok
> tests.test_rootwrap.RootwrapTestCase.test_IpFilter_netns_delete
> tests.test_rootwrap.RootwrapTestCase.test_IpFilter_netns_delete ... ok
> tests.test_rootwrap.RootwrapTestCase.test_IpFilter_netns_list
> tests.test_rootwrap.RootwrapTestCase.test_IpFilter_netns_list ... ok
> tests.test_rootwrap.RootwrapTestCase.test_IpFilter_non_netns
> tests.test_rootwrap.RootwrapTestCase.test_IpFilter_non_netns ... ok
> tests.test_rootwrap.RootwrapTestCase.test_IpNetnsExecFilter_match
> tests.test_rootwrap.RootwrapTestCase.test_IpNetnsExecFilter_match ... ok
> tests.test_rootwrap.RootwrapTestCase.test_IpNetnsExecFilter_nomatch
> tests.test_rootwrap.RootwrapTestCase.test_IpNetnsExecFilter_nomatch ... ok
> tests.test_rootwrap.RootwrapTestCase.test_IpNetnsExecFilter_nomatch_nonroot
> tests.test_rootwrap.RootwrapTestCase.test_IpNetnsExecFilter_nomatch_nonroot ... ok
> tests.test_rootwrap.RootwrapTestCase.test_KillFilter
> tests.test_rootwrap.RootwrapTestCase.test_KillFilter ... ok
> tests.test_rootwrap.RootwrapTestCase.test_KillFilter_deleted_exe
> tests.test_rootwrap.RootwrapTestCase.test_KillFilter_deleted_exe ... ok
> tests.test_rootwrap.RootwrapTestCase.test_KillFilter_no_raise
> tests.test_rootwrap.RootwrapTestCase.test_KillFilter_no_raise ... ok
> tests.test_rootwrap.RootwrapTestCase.test_KillFilter_upgraded_exe
> tests.test_rootwrap.RootwrapTestCase.test_KillFilter_upgraded_exe ... ok
> tests.test_rootwrap.RootwrapTestCase.test_ReadFileFilter
> tests.test_rootwrap.RootwrapTestCase.test_ReadFileFilter ... ok
> tests.test_rootwrap.RootwrapTestCase.test_ReadFileFilter_empty_args
> tests.test_rootwrap.RootwrapTestCase.test_ReadFileFilter_empty_args ... ok
> tests.test_rootwrap.RootwrapTestCase.test_RegExpFilter_match
> tests.test_rootwrap.RootwrapTestCase.test_RegExpFilter_match ... ok
> tests.test_rootwrap.RootwrapTestCase.test_RegExpFilter_reject
> tests.test_rootwrap.RootwrapTestCase.test_RegExpFilter_reject ... ok
> tests.test_rootwrap.RootwrapTestCase.test_empty_commandfilter
> tests.test_rootwrap.RootwrapTestCase.test_empty_commandfilter ... ok
> tests.test_rootwrap.RootwrapTestCase.test_empty_invalid_regexpfilter
> tests.test_rootwrap.RootwrapTestCase.test_empty_invalid_regexpfilter ... ok
> tests.test_rootwrap.RootwrapTestCase.test_empty_regexpfilter
> tests.test_rootwrap.RootwrapTestCase.test_empty_regexpfilter ... ok
> tests.test_rootwrap.RootwrapTestCase.test_exec_dirs_search
> tests.test_rootwrap.RootwrapTestCase.test_exec_dirs_search ... ok
> tests.test_rootwrap.RootwrapTestCase.test_getlogin
> tests.test_rootwrap.RootwrapTestCase.test_getlogin ... ok
> tests.test_rootwrap.RootwrapTestCase.test_getlogin_bad
> tests.test_rootwrap.RootwrapTestCase.test_getlogin_bad ... ok
> tests.test_rootwrap.RootwrapTestCase.test_match_filter_recurses_exec_command_filter_does_not_match
> tests.test_rootwrap.RootwrapTestCase.test_match_filter_recurses_exec_command_filter_does_not_match ... ok
> tests.test_rootwrap.RootwrapTestCase.test_match_filter_recurses_exec_command_filter_matches
> tests.test_rootwrap.RootwrapTestCase.test_match_filter_recurses_exec_command_filter_matches ... FAIL
> tests.test_rootwrap.RootwrapTestCase.test_match_filter_recurses_exec_command_matches_user
> tests.test_rootwrap.RootwrapTestCase.test_match_filter_recurses_exec_command_matches_user ... ok
> tests.test_rootwrap.RootwrapTestCase.test_missing_command
> tests.test_rootwrap.RootwrapTestCase.test_missing_command ... ok
> tests.test_rootwrap.RootwrapTestCase.test_skips
> tests.test_rootwrap.RootwrapTestCase.test_skips ... ok
> 
> process-returncode
> process-returncode ... FAIL
> 
> ======================================================================
> FAIL: tests.test_rootwrap.RootwrapTestCase.test_match_filter_recurses_exec_command_filter_matches
> tests.test_rootwrap.RootwrapTestCase.test_match_filter_recurses_exec_command_filter_matches
> ----------------------------------------------------------------------
> _StringException: Traceback (most recent call last):
>   File "tests/test_rootwrap.py", line 298, in test_match_filter_recurses_exec_command_filter_matches
>     self.assertIsNotNone(wrapper.match_filter(filter_list, args))
>   File "oslo/rootwrap/wrapper.py", line 153, in match_filter
>     args, exec_dirs=exec_dirs)):
>   File "oslo/rootwrap/wrapper.py", line 166, in match_filter
>     raise FilterMatchNotExecutable(match=first_not_executable_filter)
> FilterMatchNotExecutable
> 
> 
> ======================================================================
> FAIL: process-returncode
> process-returncode
> ----------------------------------------------------------------------
> _StringException: Binary content:
>   traceback (test/plain; charset="utf8")
> 
> 
> ----------------------------------------------------------------------
> Ran 48 tests in 0.405s
> 
> FAILED (failures=2)
> make[1]: *** [override_dh_auto_test] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/08/30/oslo.rootwrap_1.2.0-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures. The build
was done with DEB_BUILD_OPTIONS="parallel=4", so if your packaging tries
to support this, it might be a good idea to explore whether this might
be the cause of the failure.



More information about the Openstack-devel mailing list