[Bug 1663497] Re: check for common issues on Failed tests

ChristianEhrhardt 1663497 at bugs.launchpad.net
Fri Feb 10 09:34:33 UTC 2017


*** This bug is a duplicate of bug 1288529 ***
    https://bugs.launchpad.net/bugs/1288529

Yes Bug 1288529 is an evolved version of my 1) and I like it.
The extensibility is good as well and once implemented we could discuss what would be a reasonable --teardown when running on autopkgtest infrastructure.

I agree that collecting huge logs has to be default off, but would be great if configurable.
--teardown would provide that.

Maybe once done another parameter to the retest URL, &teardown="you-
command"

Closing mine and subscribing to the dup!


** This bug has been marked a duplicate of bug 1288529
   Add --teardown-commands to collect additional logs

-- 
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/1663497

Title:
  check for common issues on Failed tests

Status in autopkgtest package in Ubuntu:
  New

Bug description:
  Hi,
  as all packagers every now and then I debug cases that unexpectedly fail dep8 tests.
  All of us especially love issues that at first seems unreproducible locally but always (or even only sometimes) trigger on Launchpad.

  In at least two occasions I had OOM killers kick in and I wondered how
  much easier I could have found that if there would be something in the
  logs about that.

  So I wanted to ask if any of the following would appear reasonable to implement:
  1) In the FAIL case making a few default checks and put it to the logs (can be a dmesg | grep -i oom to start, but I'm sure over time people would come up with more).

  2) dmesg as default test artifact for every Test; run after the test
  is over (maybe only on FAIL) and added to artifacts.

  3) Now a bit hardcore, but maybe the de-facto super-debug-artifact for
  FAIL cases could be to (in that case) install and run sosreport and
  add the generated tgz as artifact.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1663497/+subscriptions



More information about the foundations-bugs mailing list