Data in Race in github.com/juju/testing/cleanup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Tim Penhey |
Bug Description
There is a data race in TestLogOutput.
As seen here:
http://
Starting with revision build 4268 (5c126b0) we have seen it consistently, not intermittently.
Full log:
==================
WARNING: DATA RACE
Write by goroutine 34:
reflect.
/
github.
/
github.
/
github.
/
runtime.call32()
/
reflect.
/
gopkg.
/
gopkg.
/
Previous read by goroutine 28:
time.Now()
/
time.sendTime()
/
Goroutine 34 (running) created at:
gopkg.
/
gopkg.
/
gopkg.
/
gopkg.
/
gopkg.
/
gopkg.
/
gopkg.
/
github.
/
github.
/
github.
/
testing.tRunner()
/
Goroutine 28 (running) created at:
runtime.
/
testing.
/
testing.
/
main.main()
github.
==================
OK: 190 passed
PASS
Found 1 data race(s)
Changed in juju-core: | |
status: | Triaged → In Progress |
Changed in juju-core: | |
assignee: | Richard Harding (rharding) → Reed O'Brien (reedobrien) |
affects: | juju-core → juju |
Changed in juju: | |
milestone: | 2.0-beta16 → none |
milestone: | none → 2.0-beta16 |
Changed in juju: | |
assignee: | Reed O'Brien (reedobrien) → Tim Penhey (thumper) |
Changed in juju: | |
milestone: | 2.0-beta16 → 2.0-beta17 |
Changed in juju: | |
status: | Fix Committed → Fix Released |
summary: |
- Data race: TestLogOutput + Data in Race in github.com/juju/testing/cleanup |
https:/ /github. com/juju/ juju/pull/ 6089