[Bug 1883770] Re: Tests fail on s390x and go >= 1.13

Andreas Hasenack 1883770 at bugs.launchpad.net
Thu Jun 18 12:51:18 UTC 2020


Upstream has an MP: https://go-review.googlesource.com/c/go/+/238628/

Marking the yaml.v2 task as invalid here.

** Changed in: golang-yaml.v2 (Ubuntu)
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to golang-1.14 in Ubuntu.
https://bugs.launchpad.net/bugs/1883770

Title:
  Tests fail on s390x and go >= 1.13

Status in Go:
  Unknown
Status in golang-1.14 package in Ubuntu:
  New
Status in golang-yaml.v2 package in Ubuntu:
  Invalid

Bug description:
  ```
  FAIL: decode_test.go:775: S.TestDecoderSingleDocument
  ...
  test 60: "a: 1"
  test 61: "a: 1.0"
  decode_test.go:790:
      c.Assert(value.Elem().Interface(), DeepEquals, item.value)
  ... obtained *struct { A int } = &struct { A int }{A:0}
  ... expected *struct { A int } = &struct { A int }{A:1}
  ...
  FAIL: decode_test.go:750: S.TestUnmarshal
  ...
  test 60: "a: 1"
  test 61: "a: 1.0"
  decode_test.go:759:
      c.Assert(value.Elem().Interface(), DeepEquals, item.value, Commentf("error: %v", err))
  ... obtained *struct { A int } = &struct { A int }{A:0}
  ... expected *struct { A int } = &struct { A int }{A:1}
  ... error: yaml: unmarshal errors:
    line 1: cannot unmarshal !!float `1.0` into int

  OOPS: 30 passed, 2 FAILED
  --- FAIL: Test (7.21s)
  === RUN   ExampleUnmarshal_embedded
  --- PASS: ExampleUnmarshal_embedded (0.00s)
  FAIL
  exit status 1
  FAIL    gopkg.in/yaml.v2        7.274s
  ```

  Further experimentation with older releases of ubuntu, but only installing golang-go from ubuntu, and using golang-yaml.v2's upstream git repo for the test with "go test -v", showed that the tests:
  - PASS: go 1.10~4ubuntu1, 1.12~1ubuntu1
  - FAIL: go 1.13~1ubuntu2, 1.14~1

To manage notifications about this bug go to:
https://bugs.launchpad.net/golang/+bug/1883770/+subscriptions



More information about the foundations-bugs mailing list