dump_logs routine in test framework is fragile

Bug #1860783 reported by Pen Gale
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MicroStack
Confirmed
Low
Unassigned

Bug Description

Host.dump_logs is fragile. It breaks, for example, if we weren't able to install the snap, and don't have snap log dirs.

I've commented it out from the testing framework for now. (We get a lot of what we need from the captured stdout, or local testing, anyway.)

We need to loop back and make dump_logs better. Possibly by just grabbing the `systemctl status snap.microstack.* --no-pager` and `journalctl -xe --no-pager`, instead of trying to round up stray logs in the snap common dir.

Pen Gale (pengale)
Changed in microstack:
status: New → Confirmed
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.