test failures on arm64, ppc64el and powerpc

Bug #1431850 reported by Matthias Klose on 2015-03-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
golang-goyaml (Ubuntu)
Medium
Unassigned

Bug Description

see https://launchpad.net/ubuntu/+source/golang-goyaml/0.0~bzr50-1

the arm64, ppc64el failures should be investigated. I assume the powerpc failure is due to incomplete ppc support in golang.

=== RUN Test

----------------------------------------------------------------------
FAIL: encode_test.go:217: TestMarshal.pN27_launchpad_net_goyaml_test.S

encode_test.go:221:
    c.Assert(string(data), Equals, item.data)
... obtained string = "" +
... "a: 1\n" +
... "b: 2\n"
... expected string = "" +
... "a: 1\n" +
... "b: 2\n" +
... "c: 3\n"

----------------------------------------------------------------------
FAIL: encode_test.go:238: TestMarshalErrors.pN27_launchpad_net_goyaml_test.S

encode_test.go:241:
    c.Assert(err, ErrorMatches, item.error)
... value = nil
... regex string = "Duplicated key 'b' in struct struct \\{ B int; .*"
... Error value is nil

----------------------------------------------------------------------
FAIL: decode_test.go:364: TestUnmarshal.pN27_launchpad_net_goyaml_test.S

decode_test.go:385:
    c.Assert(value, DeepEquals, item.value, Commentf("Item #%d", i))
... obtained *struct { A int; C goyaml_test.inlineB "yaml:\",inline\"" } = &struct { A int; C goyaml_test.inlineB "yaml:\",inline\"" }{A:1, C:goyaml_test.inlineB{B:2, inlineC:goyaml_test.inlineC{C:0}}}
... expected *struct { A int; C goyaml_test.inlineB "yaml:\",inline\"" } = &struct { A int; C goyaml_test.inlineB "yaml:\",inline\"" }{A:1, C:goyaml_test.inlineB{B:2, inlineC:goyaml_test.inlineC{C:3}}}
... Item #84

OOPS: 9 passed, 3 FAILED
--- FAIL: Test (0.03s)
FAIL
exit status 1
FAIL launchpad.net/goyaml 0.100s
dh_auto_test: go test -v launchpad.net/goyaml returned exit code 1
debian/rules:7: recipe for target 'build-arch' failed
make: *** [build-arch] Error 1

Changed in golang-goyaml (Ubuntu):
importance: Undecided → High
importance: High → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers