Add --teardown-commands to collect additional logs

Bug #1288529 reported by Paul Larson
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Auto Package Testing
Wishlist
Unassigned
autopkgtest (Ubuntu)
Wishlist
Unassigned

Bug Description

I think this is already planned, but asac asked to make sure that it's recorded. We should make sure that there are additional logs from the testbed for things like dmesg and crash files.

Revision history for this message
Vincent Ladeuil (vila) wrote :

This fits into embedding testbed setup and teardown fake tests in the subunit stream but may be a bit awkward when multiple packages are tested and lead to several subunit streams being produced.

Changed in ubuntu-ci-services-itself:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Vincent Ladeuil (vila)
milestone: none → backlog
Andy Doan (doanac)
Changed in ubuntu-ci-services-itself:
milestone: backlog → phase-1
Ursula Junque (ursinha)
Changed in uci-engine:
assignee: nobody → Vincent Ladeuil (vila)
importance: Undecided → High
milestone: none → phase-1
status: New → Confirmed
Evan (ev)
no longer affects: ubuntu-ci-services-itself
Vincent Ladeuil (vila)
Changed in uci-engine:
milestone: phase-1 → uce-0
Revision history for this message
Martin Pitt (pitti) wrote :

For autopkgtest we need something like --copy-after or --teardown-commands to put extra stuff like /var/log/syslog/ or /var/crash into $ADT_ARTIFACTS. --teardown-commands is more generic as it would also allow us to call programs like "dmesg" or "journalctl -a".

Changed in autopkgtest (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → Medium
status: New → Triaged
Martin Pitt (pitti)
affects: uci-engine → auto-package-testing
Changed in auto-package-testing:
milestone: uce-0 → none
status: Confirmed → Triaged
assignee: Vincent Ladeuil (vila) → nobody
importance: High → Wishlist
Changed in autopkgtest (Ubuntu):
importance: Medium → Wishlist
summary: - Test runner should store artifacts for more logs in the testbed
+ Add --teardown-commands to collect additional logs
Martin Pitt (pitti)
Changed in autopkgtest (Ubuntu):
assignee: Martin Pitt (pitti) → nobody
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers