[Bug 1373441] [NEW] log files sometimes scramble test results and stderr

Martin Pitt martin.pitt at ubuntu.com
Wed Sep 24 14:00:55 UTC 2014


Public bug reported:

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.

** Affects: autopkgtest (Ubuntu)
     Importance: Medium
         Status: Triaged

** Changed in: autopkgtest (Ubuntu)
   Importance: Undecided => Medium

** Changed in: autopkgtest (Ubuntu)
       Status: New => Triaged

-- 
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:
  Triaged

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