cmd/juju: gocov cannot test package

Bug #1099285 reported by Dave Cheney
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Invalid
Undecided
Dave Cheney

Bug Description

gocov test launchpad.net/juju-core/cmd/juju fails

----------------------------------------------------------------------
PANIC: addrelation_test.go:130: AddRelationSuite.TestAddRelation

[LOG] 16.38459 JUJU environs/dummy: putting fake tools
[LOG] 16.44283 JUJU environs: searching for tools compatible with version: 1.9.7-quantal-amd64

[LOG] 16.45819 JUJU state: opening state; mongo addresses: ["localhost:47410"]; entity ""
[LOG] 16.45846 JUJU state: connecting to 127.0.0.1:47410
[LOG] 16.45962 JUJU state: connection established
[LOG] 16.46446 JUJU:DEBUG state/watcher: reading most recent document to ignore past history...
[LOG] 16.47611 JUJU:DEBUG state/presence: synchronizing watcher knowledge with database...
[LOG] 16.47686 JUJU:DEBUG state/watcher: loading new events from changelog collection...
[LOG] 16.47835 JUJU state: storing no-secrets environment configuration
[LOG] 16.60893 JUJU state: opening state; mongo addresses: ["localhost:47410"]; entity ""
[LOG] 16.60918 JUJU state: connecting to 127.0.0.1:47410
[LOG] 16.61017 JUJU state: connection established
[LOG] 16.67036 JUJU state: opening state; mongo addresses: ["localhost:47410"]; entity ""
[LOG] 16.67085 JUJU state: connecting to 127.0.0.1:47410
[LOG] 16.67219 JUJU state: connection established
[LOG] 16.67331 JUJU:DEBUG state/watcher: reading most recent document to ignore past history...
[LOG] 16.67430 JUJU:DEBUG state/watcher: loading new events from changelog collection...
[LOG] 16.68537 JUJU:DEBUG state/presence: synchronizing watcher knowledge with database...
[LOG] 16.70952 JUJU environs/dummy: reset environment
... Panic: symlink "config.yaml" is absolute: "/home/dfc/src/launchpad.net/juju-core/testing/repo/series/wordpress/config.yaml" (PC=0x410E71)

/home/dfc/go/src/pkg/runtime/panic.c:227
  in panic
/tmp/gocov243637113/src/pkg/launchpad.net/juju-core/testing/charm.go:66
  in check
/tmp/gocov243637113/src/pkg/launchpad.net/juju-core/testing/charm.go:157
  in Repo.BundlePath
addrelation_test.go:131
  in AddRelationSuite.TestAddRelation

Revision history for this message
Dave Cheney (dave-cheney) wrote :

Fixed in gocov trunk.

Changed in juju-core:
assignee: nobody → Dave Cheney (dave-cheney)
milestone: none → 1.9.7
status: Triaged → Invalid
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.