[PKG-Openstack-devel] Bug#835179: zaqar: FTBFS with eatmydata (build hangs)

Santiago Vila sanvila at unex.es
Tue Aug 23 10:57:29 UTC 2016


Package: src:zaqar
Version: 2.0.0-2
Severity: wishlist

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
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-indep --buildsystem=python_distutils --with python2,systemd
   dh_testdir -i -O--buildsystem=python_distutils
   dh_update_autotools_config -i -O--buildsystem=python_distutils
   dh_auto_configure -i -O--buildsystem=python_distutils
   debian/rules override_dh_auto_build
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

[... snipped ...]

	rm -rf .testrepository ; \
	testr-python$PYMAJOR init ; \
	TEMP_REZ=`mktemp -t` ; \
	bash -x ./debian/setup-test-env-mongodb.sh testr-python$PYMAJOR run --subunit 'zaqar\.tests\.unit\.(?!.*transport\.websocket\.v2\.test_subscriptions\.SubscriptionTest\.test_subscription_sustainable_notifications_format.*)' | tee $TEMP_REZ | subunit2pyunit ; \
	cat $TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats ; \
	rm -f $TEMP_REZ ; \
	testr-python$PYMAJOR slowest ; \
done
+ cut -d. -f1
+ echo 2.7
+ 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.8MNxXLKBbJ
+ subunit2pyunit
+ tee /tmp/tmp.8MNxXLKBbJ
+ bash -x ./debian/setup-test-env-mongodb.sh testr-python2 run --subunit zaqar\.tests\.unit\.(?!.*transport\.websocket\.v2\.test_subscriptions\.SubscriptionTest\.test_subscription_sustainable_notifications_format.*)
+ set -e
+ '[' testr-python2 = --coverage ']'
+ export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/sbin:/usr/sbin
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/sbin:/usr/sbin
+ check_for_cmd mongod
+ which mongod
++ mktemp -d /tmp/CEILO-MONGODB-XXXXX
+ MONGO_DATA=/tmp/CEILO-MONGODB-JDHr9
+ MONGO_PORT=27011
+ trap 'clean_exit /tmp/CEILO-MONGODB-JDHr9' EXIT
+ mkfifo /tmp/CEILO-MONGODB-JDHr9/out
+ wait_for_line 'waiting for connections on port 27011' /tmp/CEILO-MONGODB-JDHr9/out
+ mongod --maxConns 32 --nojournal --noprealloc --smallfiles --quiet --noauth --port 27011 --dbpath /tmp/CEILO-MONGODB-JDHr9 --bind_ip localhost --config /dev/null
+ read line
./debian/setup-test-env-mongodb.sh: line 1: 25295 Terminated              mongod --maxConns 32 --nojournal --noprealloc --smallfiles --quiet --noauth --port ${MONGO_PORT} --dbpath "${MONGO_DATA}" --bind_ip localhost --config /dev/null &> ${MONGO_DATA}/out
++ clean_exit /tmp/CEILO-MONGODB-JDHr9
++ local error_code=0
++ rm -rf /tmp/CEILO-MONGODB-JDHr9
make[1]: *** wait: No child processes.  Stop.
make[1]: *** Waiting for unfinished jobs....
make[1]: *** wait: No child processes.  Stop.
make: *** wait: No child processes.  Stop.
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes.  Stop.
+++ jobs -p
++ kill
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
E: Build killed with signal TERM after 60 minutes of inactivity
--------------------------------------------------------------------------------

The build was made with eatmydata. When I don't use eatmydata, it builds ok
(but it takes a lot more time to build).

Can you confirm that eatmydata is the reason for the failures
and / or forward this upstream?

I'm currently checking that "dpkg-buildpackage -A" always work, and
the ability to use eatmydata is a real time and disk I/O saver.

Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zaqar_2.0.0-2_amd64-20160813T0952Z.gz
Type: application/gzip
Size: 23492 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20160823/44c078c0/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zaqar_2.0.0-2_amd64-20160817T2006Z.gz
Type: application/gzip
Size: 24674 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20160823/44c078c0/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zaqar_2.0.0-2_amd64-20160822T231443Z.gz
Type: application/gzip
Size: 23802 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20160823/44c078c0/attachment-0005.bin>


More information about the Openstack-devel mailing list