[Bug 1373441] Re: log files sometimes scramble test results and stderr
Launchpad Bug Tracker
1373441 at bugs.launchpad.net
Mon Sep 29 15:50:24 UTC 2014
This bug was fixed in the package autopkgtest - 3.5.3
---------------
autopkgtest (3.5.3) unstable; urgency=medium
* ssh-setup/adb: Use the new "phablet-config network" to save/restore wifi
connections, which also works with non-root adb.
* Give adt-run's tee processes some time to catch up between printing
results and stderr, to avoid scrambled logs. (LP: #1373441)
* Fix NullRunner.test_timeout_no_output for older Python versions.
* tests/pyflakes: Skip test if pyflakes3 is not available (for backports).
* Bump Standards version to 3.9.6 (no changes necessary).
* NullRunner.test_timeout_no_output: Slightly relax time bound to make
failures less likely on loaded/slow machines.
* Install clicks with --allow-unauthenticated to support local developer
generated packages. (LP: #1372640)
-- Martin Pitt <mpitt at debian.org> Sun, 28 Sep 2014 12:16:16 +0200
** Changed in: autopkgtest (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1373441
Title:
log files sometimes scramble test results and stderr
Status in “autopkgtest” package in Ubuntu:
Fix Released
Bug description:
Seen in Christopher Berg's builds:
15:31:01 ======================================================================
15:31:01 FAIL: test_logfile_failure (__main__.NullRunner)
15:31:01 --log-file option, failure
15:31:01 ----------------------------------------------------------------------
15:31:01 Traceback (most recent call last):
15:31:01 File "tests/adt-run", line 618, in test_logfile_failure
15:31:01 self.assertRegex(log, 'stderr [ -]+\nI am sick\n')
15:31:01 AssertionError: Regex didn't match: 'stderr [ -]+\nI am sick\n' not found in
'[...]
test nz: - - - - - - - - - - results - - - - - - - - - -\nadt-run [13:29:27]: test nz: - - - - - - - - - - stderr - - - - - - - - - -\nnz FAIL non-zero exit status 7\nI am sick[...]\n'
I. e. the stdout/err merging into the log file is wrongly sorted.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1373441/+subscriptions
More information about the foundations-bugs
mailing list