Data Race github.com/juju/juju/environs/tools/build.g

Bug #1575472 reported by Curtis Hovey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Critical
Dave Cheney

Bug Description

As seen in this example:
    http://reports.vapour.ws/releases/3926/job/run-unit-tests-race/attempt/1374#highlight

Goroutine 4 (running) created at:
  os/exec.(*Cmd).Start()
      /usr/lib/go/src/pkg/os/exec/exec.go:278 +0xfc9
  os/exec.(*Cmd).Run()
      /usr/lib/go/src/pkg/os/exec/exec.go:230 +0x34
  github.com/juju/juju/environs/tools.getVersionFromJujud()
      /home/ubuntu/juju-core_2.0-beta7/src/github.com/juju/juju/environs/tools/build.go:263 +0x4e0
  github.com/juju/juju/environs/tools_test.(*buildSuite).TestGetVersionFromJujud()
      /home/ubuntu/juju-core_2.0-beta7/src/github.com/juju/juju/environs/tools/build_test.go:155 +0x1d2
  runtime.call16()
      /usr/lib/go/src/pkg/runtime/asm_amd64.s:338 +0x31
  reflect.Value.Call()
      /usr/lib/go/src/pkg/reflect/value.go:345 +0xaa
  gopkg.in/check%2ev1.func·003()
      /home/ubuntu/juju-core_2.0-beta7/src/gopkg.in/check.v1/check.go:772 +0x504
  gopkg.in/check%2ev1.func·001()
      /home/ubuntu/juju-core_2.0-beta7/src/gopkg.in/check.v1/check.go:666 +0xf3

Curtis Hovey (sinzui)
Changed in juju-core:
importance: High → Critical
Revision history for this message
Curtis Hovey (sinzui) wrote :

This issue is probably related to bug 1575463 where many buildSuite.TestGetVersionFromJuju* tests fail on less common combinations or series and arch.

Changed in juju-core:
assignee: nobody → Dave Cheney (dave-cheney)
Changed in juju-core:
status: Triaged → In Progress
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
affects: juju-core → juju
Changed in juju:
milestone: 2.0-beta7 → none
milestone: none → 2.0-beta7
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.