github.com/juju/juju/state go test timeout
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Medium
|
Andrew Wilkins | ||
juju-core |
Won't Fix
|
Undecided
|
Unassigned | ||
1.25 |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
As seen at
http://
there is a spike in timeouts within the unit tests. We expect to see 1 every other day. we now see 10+ a day!
The time out is seen in xenial across several architectures. The go test is using a 20 minute timeout except for race tests which has a 40 minute timeout. There appears to be a lock being held in github.
An example looks like
goroutine 1 [chan receive, 20 minutes]:
testing.
/usr/
testing.
/usr/
main.main()
github.
goroutine 17 [syscall, 20 minutes, locked to thread]:
runtime.goexit()
/usr/
...
goroutine 13 [syscall, 20 minutes]:
os/signal.
/usr/
os/signal.loop()
/usr/
created by os/signal.init.1
/usr/
..
We have a sample of recent failures
http://
http://
http://
description: | updated |
Changed in juju: | |
assignee: | nobody → Tim Penhey (thumper) |
Changed in juju: | |
assignee: | Tim Penhey (thumper) → Alexis Bruemmer (alexis-bruemmer) |
Changed in juju: | |
assignee: | Alexis Bruemmer (alexis-bruemmer) → Tim Penhey (thumper) |
Changed in juju: | |
milestone: | 2.0-rc2 → none |
Changed in juju: | |
milestone: | none → 2.0.0 |
Changed in juju: | |
status: | In Progress → Triaged |
importance: | Critical → High |
assignee: | Tim Penhey (thumper) → Alexis Bruemmer (alexis-bruemmer) |
milestone: | 2.0.0 → 2.1.0 |
Changed in juju-core: | |
status: | New → Won't Fix |
Changed in juju: | |
milestone: | 2.1.0 → 2.2.0-alpha1 |
Changed in juju: | |
status: | In Progress → Fix Committed |
assignee: | Tim Penhey (thumper) → Andrew Wilkins (axwalk) |
milestone: | 2.2.0-alpha1 → 2.1.0 |
Changed in juju: | |
milestone: | none → 2.1-rc2 |
status: | Triaged → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
https:/ /github. com/juju/ juju/pull/ 6296
I've addressed the slowest three state tests. Given how incredibly slow they were, I'm hoping this addresses this issue.