Test tests/main/lxd-try is flaky

Bug #1952815 reported by Ian Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Fix Released
Medium
Unassigned

Bug Description

See:

retry: command sh -c lxd.lxc exec ubuntu -- systemctl is-system-running | MATCH "(running|degraded)" failed with code 1
retry: next attempt in 1 second(s) (attempt 25 of 30)
grep error: pattern not found, got:
initializing
retry: command sh -c lxd.lxc exec ubuntu -- systemctl is-system-running | MATCH "(running|degraded)" failed with code 1
retry: next attempt in 1 second(s) (attempt 26 of 30)
grep error: pattern not found, got:
starting
retry: command sh -c lxd.lxc exec ubuntu -- systemctl is-system-running | MATCH "(running|degraded)" failed with code 1
retry: next attempt in 1 second(s) (attempt 27 of 30)
grep error: pattern not found, got:
starting
retry: command sh -c lxd.lxc exec ubuntu -- systemctl is-system-running | MATCH "(running|degraded)" failed with code 1
retry: next attempt in 1 second(s) (attempt 28 of 30)
grep error: pattern not found, got:
starting
retry: command sh -c lxd.lxc exec ubuntu -- systemctl is-system-running | MATCH "(running|degraded)" failed with code 1
retry: next attempt in 1 second(s) (attempt 29 of 30)
grep error: pattern not found, got:
starting
retry: command sh -c lxd.lxc exec ubuntu -- systemctl is-system-running | MATCH "(running|degraded)" failed with code 1
retry: command sh -c lxd.lxc exec ubuntu -- systemctl is-system-running | MATCH "(running|degraded)" keeps failing after 30 attempts

Perhaps we just need to make the timeout longer, since it did transition from "initializing" to "starting".

Full log available at https://pastebin.ubuntu.com/p/955C7GkKYj/

Tags: flaky-tests
description: updated
Revision history for this message
Ian Johnson (anonymouse67) wrote :
Changed in snapd:
status: New → Fix Released
importance: Undecided → Medium
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.