api/client: test fails on ppc64le

Bug #1450299 reported by Dave Cheney
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Dave Cheney

Bug Description

This is a ppc64le bug with the go 1.5 port, this does not affect gccgo-4.9/5.0

winton-01(~/src/github.com/juju/juju) % go test ./api/agent
unexpected fault address 0xf8010260f8010280
fatal error: fault
[signal 0xb code=0x1 addr=0xf8010260f8010280 pc=0x1cd1f4]

goroutine 228 [running]:
runtime.throw(0xf45b80, 0x5)
        /home/ubuntu/go/src/runtime/panic.go:543 +0x8c fp=0xc20825d728 sp=0xc20825d710
runtime.sigpanic()
        /home/ubuntu/go/src/runtime/sigpanic_unix.go:27 +0x2f0 fp=0xc20825d778 sp=0xc20825d728
github.com/juju/juju/apiserver/agent.(*AgentAPIV0).StateServingInfo(0x31f470, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /home/ubuntu/src/github.com/juju/juju/apiserver/agent/agent_v0.go:87 +0x6c fp=0xc20825d870 sp=0xc20825d780
github.com/juju/juju/apiserver/agent.(*AgentAPIV1).StateServingInfo(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        <autogenerated>:22 +0x40 fp=0xc20825d878 sp=0xc20825d870
runtime.call128(0xc2083741e0, 0xe69d38, 0xc208366400)
        /home/ubuntu/go/src/runtime/asm_ppc64x.s:413 +0x88 fp=0xc20825d900 sp=0xc20825d878
reflect.Value.call(0xe69be0, 0xc20802c600, 0x913, 0xf2fee0, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /home/ubuntu/go/src/reflect/value.go:432 +0xe30 fp=0xc20825dc40 sp=0xc20825d900
reflect.Value.Call(0xe69be0, 0xc20802c600, 0x913, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
        /home/ubuntu/go/src/reflect/value.go:300 +0x94 fp=0xc20825dca0 sp=0xc20825dc40
github.com/juju/juju/rpc/rpcreflect.newMethod.func6(0xe69be0, 0xc20802c600, 0x16, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /home/ubuntu/src/github.com/juju/juju/rpc/rpcreflect/type.go:323 +0xf8 fp=0xc20825dd60 sp=0xc20825dca0
github.com/juju/juju/apiserver.(*srvCaller).Call(0xc20853d000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /home/ubuntu/src/github.com/juju/juju/apiserver/root.go:131 +0xf0 fp=0xc20825dde8 sp=0xc20825dd60
github.com/juju/juju/rpc.(*Conn).runRequest(0xc208199720, 0x3fff80a4e0c8, 0xc20853d000, 0x1286428, 0x3, 0xc20847c3f0, 0x5, 0x1, 0x0, 0x0, ...)
        /home/ubuntu/src/github.com/juju/juju/rpc/server.go:552 +0x114 fp=0xc20825df28 sp=0xc20825dde8
runtime.goexit()
        /home/ubuntu/go/src/runtime/asm_ppc64x.s:1132 +0x4 fp=0xc20825df28 sp=0xc20825df28
created by github.com/juju/juju/rpc.(*Conn).handleRequest
        /home/ubuntu/src/github.com/juju/juju/rpc/server.go:481 +0x5f4

Tags: ppc64el
Changed in juju-core:
assignee: nobody → Dave Cheney (dave-cheney)
status: New → In Progress
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: none → 1.25.0
Revision history for this message
Dave Cheney (dave-cheney) wrote :
Curtis Hovey (sinzui)
Changed in juju-core:
importance: Undecided → High
Revision history for this message
Curtis Hovey (sinzui) wrote :

I deferred this to 1.26 because ppc is being pushed to Go 1.6.

Changed in juju-core:
milestone: 1.25.0 → 1.26.0
Changed in juju-core:
milestone: 1.26.0 → 2.0-alpha2
Revision history for this message
Cheryl Jennings (cherylj) wrote :

Is there work needed in juju-core for this bug? I see that the go bug above has been merged, but won't be included in 1.5 (only 1.6)

Changed in juju-core:
milestone: 2.0-alpha2 → 2.0-alpha3
Changed in juju-core:
milestone: 2.0-alpha3 → 2.0-beta4
Revision history for this message
Cheryl Jennings (cherylj) wrote :

Dave - is this fixed now that we've gone to go 1.6?

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

Yes, I believe this is fixed in Go 1.6, and we also worked around it in the code.

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-beta4 → none
milestone: none → 2.0-beta4
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.