[Bug 2109340] Re: Test suite failures: stderr confusion

Julian Andres Klode 2109340 at bugs.launchpad.net
Fri Apr 25 10:44:41 UTC 2025


** Description changed:

  [Impact]
- plucky+:
+ After fixing bug 2109339, tests in plucky fail due to a change in xvfb-run that now causes stderr to remain on stderr, and hence a Testsuite-Restriction: allow-stderr needs to be added.
  
- After fixing bug 2109339, tests in plucky fail due to a change in xvfb-
- run that now causes stderr to remain on stderr, and hence a Testsuite-
- Restriction: allow-stderr needs to be added.
- 
- plucky and oracular:
- Also there are annoying "TestResult has no addDuration method" warnings that we should be fixing, these are really in nosetests, but let's just disable the warnings using:
- 
- PYTHONWARNINGS="ignore:TestResult has no addDuration
- method:RuntimeWarning"
- 
- so the log is easier to read.
  
  [Test plan]
  autopkgtests should succeed after upload, and not show warnings about addDuration missing anymore.
  
  [Where problems could occur]
  By allowing stderr we could not see regressions in new warnings, however that is not a regression, the tests did not work before, and when they worked, they were inadvertently rendered to stdout :D
+ 
+ [Other information]
+ Also there are annoying "TestResult has no addDuration method" warnings that we should be fixing, these are really in nose, see bug 2109342 for details.

** Description changed:

  [Impact]
  After fixing bug 2109339, tests in plucky fail due to a change in xvfb-run that now causes stderr to remain on stderr, and hence a Testsuite-Restriction: allow-stderr needs to be added.
  
- 
  [Test plan]
- autopkgtests should succeed after upload, and not show warnings about addDuration missing anymore.
+ autopkgtests should succeed after upload.
  
  [Where problems could occur]
  By allowing stderr we could not see regressions in new warnings, however that is not a regression, the tests did not work before, and when they worked, they were inadvertently rendered to stdout :D
  
  [Other information]
  Also there are annoying "TestResult has no addDuration method" warnings that we should be fixing, these are really in nose, see bug 2109342 for details.

** No longer affects: update-manager (Ubuntu Oracular)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/2109340

Title:
  Test suite failures: stderr confusion

Status in update-manager package in Ubuntu:
  New
Status in update-manager source package in Plucky:
  New
Status in update-manager source package in Questing:
  New

Bug description:
  [Impact]
  After fixing bug 2109339, tests in plucky fail due to a change in xvfb-run that now causes stderr to remain on stderr, and hence a Testsuite-Restriction: allow-stderr needs to be added.

  [Test plan]
  autopkgtests should succeed after upload.

  [Where problems could occur]
  By allowing stderr we could not see regressions in new warnings, however that is not a regression, the tests did not work before, and when they worked, they were inadvertently rendered to stdout :D

  [Other information]
  Also there are annoying "TestResult has no addDuration method" warnings that we should be fixing, these are really in nose, see bug 2109342 for details.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/2109340/+subscriptions




More information about the foundations-bugs mailing list