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

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


Package: src:ceilometer
Version: 1:6.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 ...]

writing manifest file 'ceilometer.egg-info/SOURCES.txt'
/usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func ceilometer-common.config
/usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func ceilometer-common.postinst
/usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func ceilometer-api.config
/usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func ceilometer-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 'tests\.(?!(.*test_bin.*|.*functional.*|.*gabbi\.test_gabbi_prefix.*|.*meter\.test_notifications\.TestMeterProcessing\.test_fallback_meter_path.*))' | 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/CEILO-MONGODB-XXXXX
+ MONGO_DATA=/tmp/CEILO-MONGODB-1S3cW
+ MONGO_PORT=29000
+ trap 'clean_exit /tmp/CEILO-MONGODB-1S3cW' EXIT
+ mkfifo /tmp/CEILO-MONGODB-1S3cW/out
+ wait_for_line 'waiting for connections on port 29000' /tmp/CEILO-MONGODB-1S3cW/out
+ exit_code=1
+ mongod --maxConns 32 --nojournal --noprealloc --smallfiles --quiet --noauth --port 29000 --dbpath /tmp/CEILO-MONGODB-1S3cW --bind_ip localhost --config /dev/null
+ read line
functions.sh: line 1: 23924 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-1S3cW
++ local error_code=0
++ rm -rf /tmp/CEILO-MONGODB-1S3cW
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: ceilometer_6.0.0-2_amd64-20160809T1542Z.gz
Type: application/gzip
Size: 33828 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20160823/76958463/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ceilometer_6.0.0-2_amd64-20160817T1803Z.gz
Type: application/gzip
Size: 33502 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20160823/76958463/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ceilometer_6.0.0-2_amd64-20160822T225305Z.gz
Type: application/gzip
Size: 31721 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20160823/76958463/attachment-0005.bin>


More information about the Openstack-devel mailing list