[Reproducible-builds] Bug#793509: FTBFS: test_leftover and test_one_newline fail when stdin is closed(?)
Chris West (Faux)
solo-debianbugs at goeswhere.com
Fri Jul 24 18:49:52 UTC 2015
Source: exabgp
Version: 3.4.12-1
Severity: important
Tags: sid
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
Dear Maintainer,
When stdin is closed (e.g. when the build is being run automatically by a builder)
the some of the tests fail:
env INTERPRETER=python ETC=/tmp/buildd/exabgp-3.4.12/etc/exabgp exabgp_log_enable=false nosetests ./qa/tests/*_test.py
....F.F..........
======================================================================
FAIL: test_leftover (control_test.TestControl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/buildd/exabgp-3.4.12/qa/tests/control_test.py", line 76, in test_leftover
self.validate('-\nx\n-','x')
File "/tmp/buildd/exabgp-3.4.12/qa/tests/control_test.py", line 59, in validate
self.assertEqual(string, check)
AssertionError: '' != 'x'
======================================================================
FAIL: test_one_newline (control_test.TestControl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/buildd/exabgp-3.4.12/qa/tests/control_test.py", line 69, in test_one_newline
self.validate('x\n','x')
File "/tmp/buildd/exabgp-3.4.12/qa/tests/control_test.py", line 59, in validate
self.assertEqual(string, check)
AssertionError: '' != 'x'
You can reproduce this with some:
$ :|dpkg-buildpackage
....
Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/exabgp.html
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.19.0-22-generic (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
More information about the Reproducible-builds
mailing list