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

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


Package: src:aodh
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  --with python2,systemd,sphinxdoc
   dh_testdir -i
   dh_update_autotools_config -i
   dh_auto_configure -i
   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 ...]

warning: no previously-included files matching '*.pyc' found anywhere in distribution
writing manifest file 'aodh.egg-info/SOURCES.txt'
/usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func aodh-common.config
/usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func aodh-common.postinst
/usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func aodh-api.config
/usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func aodh-api.postinst
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_test
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
rm -rf .testrepository
testr init
set -e ; \
	TEMP_REZ=`mktemp -t` ; \
	bash -x ./debian/setup-test-env-mongodb.sh testr run --subunit 'aodh\.tests\.unit\.(?!.*test_bin.*)' | tee $TEMP_REZ | subunit2pyunit ; \
	cat $TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats ; \
	rm -f $TEMP_REZ ;
+ set -e
+ source functions.sh
+ '[' testr = --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/AODH-MONGODB-XXXXX
+ MONGO_DATA=/tmp/AODH-MONGODB-GzbuK
+ MONGO_PORT=29000
+ trap 'clean_exit /tmp/AODH-MONGODB-GzbuK' EXIT
+ mkfifo /tmp/AODH-MONGODB-GzbuK/out
+ wait_for_line 'waiting for connections on port 29000' /tmp/AODH-MONGODB-GzbuK/out
+ mongod --maxConns 32 --nojournal --noprealloc --smallfiles --quiet --noauth --port 29000 --dbpath /tmp/AODH-MONGODB-GzbuK --bind_ip localhost --config /dev/null
+ read line
functions.sh: line 1: 30608 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/AODH-MONGODB-GzbuK
++ local error_code=0
++ rm -rf /tmp/AODH-MONGODB-GzbuK
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.

I attach three different build logs.

Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aodh_2.0.0-2_amd64-20160809T1459Z.gz
Type: application/gzip
Size: 28293 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20160823/aa140a7b/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aodh_2.0.0-2_amd64-20160817T2002Z.gz
Type: application/gzip
Size: 28153 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20160823/aa140a7b/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aodh_2.0.0-2_amd64-20160822T225302Z.gz
Type: application/gzip
Size: 25123 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20160823/aa140a7b/attachment-0005.bin>


More information about the Openstack-devel mailing list