[pkg-go] Bug#913373: golang-github-miekg-dns: test failures except on 64-bit LE

Steve Langasek steve.langasek at canonical.com
Sat Nov 10 05:16:58 GMT 2018


Source: golang-github-miekg-dns
Version: 1.0.4+ds-1
Severity: important
User: ubuntu-devel at lists.ubuntu.com
Usertag: origin-ubuntu disco

Dear maintainers,

As of version 1.0.4+ds-1, golang-github-miekg-dns consistently fails its
autopkgtests on s390x, armhf, and i386, as seen in Ubuntu:

[...]
=== RUN   TestParseDstFromOOB
--- FAIL: TestParseDstFromOOB (0.00s)
        udp_test.go:82: failed to parse IPv4 in IPv6: <nil>
        udp_test.go:92: failed to parse IPv6: <nil>
        udp_test.go:102: failed to parse IPv4: <nil>
=== RUN   TestCorrectSource
--- FAIL: TestCorrectSource (0.00s)
        udp_test.go:115: unexpected oob for ipv4 address: []
        udp_test.go:124: unexpected oob for IPv6 address: []
[...]
make: *** [debian/rules:7: build] Error 1
autopkgtest [00:34:33]: test command1: -----------------------]
autopkgtest [00:34:33]: test command1:  - - - - - - - - - - results - - - - - - - - - -
command1             FAIL non-zero exit status 2

(http://autopkgtest.ubuntu.com/packages/g/golang-github-miekg-dns/cosmic/s390x)

The exact errors are somewhat different between s390x and {armhf,i386}, but
the common denominator is that the architectures that pass (amd64, arm64,
ppc64el) are all 64-bit little-endian architectures, and the ones that fail
are not (either 64-bit big-endian, or 32-bit little-endian).

So the code in this package appears to be non-portable.

I have not looked to check whether the autopkgtests previously passed
because this is a new test or because this is a code regression.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-go-maintainers/attachments/20181109/7f2ae697/attachment.sig>


More information about the Pkg-go-maintainers mailing list