log files sometimes scramble test results and stderr
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autopkgtest (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Seen in Christopher Berg's builds:
15:31:01 =======
15:31:01 FAIL: test_logfile_
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_
15:31:01 self.assertRege
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.
Related branches
Changed in autopkgtest (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in autopkgtest (Ubuntu): | |
status: | Triaged → Fix Committed |
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 test_timeout_ no_output for older Python versions. test_timeout_ no_output: Slightly relax time bound to make unauthenticated to support local developer
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.
* tests/pyflakes: Skip test if pyflakes3 is not available (for backports).
* Bump Standards version to 3.9.6 (no changes necessary).
* NullRunner.
failures less likely on loaded/slow machines.
* Install clicks with --allow-
generated packages. (LP: #1372640)
-- Martin Pitt <email address hidden> Sun, 28 Sep 2014 12:16:16 +0200