intermittent failure in MachineSuite.TestManageModelServesAPI

Bug #1753455 reported by Tim Penhey on 2018-03-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju
Medium
Unassigned

Bug Description

    s.assertJobWithState(c, state.JobManageModel, func(conf agent.Config, agentState *state.State) {
        apiInfo, ok := conf.APIInfo()
        c.Assert(ok, jc.IsTrue)
        st, err := api.Open(apiInfo, fastDialOpts)
        c.Assert(err, jc.ErrorIsNil)
        defer st.Close()
        m, err := apimachiner.NewState(st).Machine(conf.Tag().(names.MachineTag))
        c.Assert(err, jc.ErrorIsNil)
        c.Assert(m.Life(), gc.Equals, params.Alive)
    })
machine_test.go:637:
[LOG] 0:12.937 INFO juju.worker start "txnlog"
[LOG] 0:12.937 DEBUG juju.worker start "presence"
[LOG] 0:12.937 DEBUG juju.worker start "pingbatcher"
[LOG] 0:12.937 DEBUG juju.worker start "leadership"
[LOG] 0:12.937 DEBUG juju.worker start "singular"
[LOG] 0:12.937 INFO juju.state creating cloud image metadata storage
[LOG] 0:12.937 INFO juju.state started state for model-deadbeef-0bad-400d-8000-4b1d0d06f00d successfully
[LOG] 0:12.937 INFO juju.worker start "presence"
[LOG] 0:12.937 DEBUG juju.worker "presence" started
[LOG] 0:12.937 INFO juju.worker start "pingbatcher"
[LOG] 0:12.937 INFO juju.worker start "leadership"
[LOG] 0:12.937 INFO juju.worker start "singular"
[LOG] 0:12.938 DEBUG juju.worker "txnlog" started
[LOG] 0:12.938 DEBUG juju.state.presence using $bit operations with Mongo 3.2.19
[LOG] 0:12.938 DEBUG juju.worker "pingbatcher" started
[LOG] 0:12.945 DEBUG juju.mongo dialled mongodb server at "127.0.0.1:38727"
    c.Assert(err, jc.ErrorIsNil)
... value *errors.Err = &errors.Err{message:"", cause:(*net.OpError)(0xc4202e7770), previous:(*errors.Err)(0xc4202e7900), file:"github.com/juju/juju/api/apiclient.go", line:195} ("unable to connect to API: dial tcp 127.0.0.1:34852: getsockopt: connection refused")
... error stack:
 dial tcp 127.0.0.1:34852: getsockopt: connection refused
 github.com/juju/juju/api/apiclient.go:847:
 github.com/juju/juju/api/apiclient.go:823: unable to connect to API
 github.com/juju/juju/api/apiclient.go:719:
 github.com/juju/juju/api/apiclient.go:595:
 github.com/juju/juju/api/apiclient.go:195:

from

http://10.125.0.203:8080/view/unit%20tests/job/RunUnittests-centos7/145/testReport/junit/github/com_juju_juju_cmd_jujud_agent/TestPackage/

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers