Public bug reported:
Two parts of the juju-core test suite panic or segfault when run with
-compiler gccgo on amd64.
Some examples, in provider/openstack:
ubuntu@go:~/go/src/github.com/juju/juju$ (cd provider/openstack/&& go test
./... -compiler gccgo -gocheck.v -v)
3
=== RUN Test
...
PASS: local_test.go:1207:
com_juju_juju_provider_openstack_test.TestFetchFromToolsMetadataSources.pN66_github.com_juju_juju_provider_openstack_test.localHTTPSServerSuite
0.243s
munmap of stack space failed: errno 22
Aborted
...
ubuntu@go:~/go/src/github.com/juju/juju$ (cd provider/openstack/&& go test
./... -compiler gccgo -gocheck.v -v)
3
=== RUN Test
...
PASS: local_test.go:1207:
com_juju_juju_provider_openstack_test.TestFetchFromToolsMetadataSources.pN66_github.com_juju_juju_provider_openstack_test.localHTTPSServerSuite
0.295s
signal: segmentation fault (core dumped)
FAIL github.com/juju/juju/provider/openstack 12.746s
And in environs/simplestreams:
ubuntu@go:~/go/src/github.com/juju/juju$ (cd environs/simplestreams&& go test
./... -compiler gccgo -gocheck.v -v)
=== RUN Test
...
PASS: datasource_test.go:79:
com_juju_juju_environs_simplestreams_test.TestNonVerifyingClientSucceeds.pN69_github.com_juju_juju_environs_simplestreams_test.datasourceHTTPSSuite
0.014s
unexpected fault address 0x7f3300000011
fatal error: fault
[signal 0xb code=0x1 addr=0x7f3300000011]
...
This one looks a bit like bug 1381671 but the same run can just pass:
$ (cd environs/simplestreams&& go test ./... -compiler gccgo -gocheck.v -v)
=== RUN Test
...
OK: 46 passed
--- PASS: Test (0.27 seconds)
PASS
Some investigations from IRC:
<http://irclogs.ubuntu.com/2014/10/31/%23juju-dev.html#t17:29>
** Affects: gccgo-go (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to gccgo-go in Ubuntu.
https://bugs.launchpad.net/bugs/1393825
Title:
Juju testsuite fails in random ways
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gccgo-go/+bug/1393825/+subscriptions
--
Ubuntu-server-bugs mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs