[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1004048: golang-github-komkom-toml: autopkgtest regression on armhf/i386: -{"hex3":3735928559}, +{"hex3":-559038737}



Source: golang-github-komkom-toml
Version: 0.0~git20211215.3c8ee9d-1
X-Debbugs-CC: debian-ci@lists.debian.org
Severity: serious
User: debian-ci@lists.debian.org
Usertags: regression

Dear maintainer(s),

With a recent upload of golang-github-komkom-toml the autopkgtest of golang-github-komkom-toml fails in testing when that autopkgtest is run with the binary packages of golang-github-komkom-toml from unstable on armhf and i386. It passes when run with only packages from testing. In tabular form:

                          pass            fail
golang-github-komkom-toml from testing    0.0~git20211215.3c8ee9d-1
all others                from testing    from testing

I copied some of the output at the bottom of this report. Seems like a 32 bit issue where some value overflows.

Currently this regression is blocking the migration to testing [1]. Can you please investigate the situation and fix it?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=golang-github-komkom-toml

https://ci.debian.net/data/autopkgtest/testing/armhf/g/golang-github-komkom-toml/18432554/log.gz

[info] Testing github.com/komkom/toml...
[info] Source code installed by binary package, overriding dh_auto_configure...
dh build --builddirectory=_build --buildsystem=golang --with=golang
dh_update_autotools_config -O--builddirectory=_build -O--buildsystem=golang
   dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/tmp/autopkgtest-lxc.qwkbqa0f/downtmp/autopkgtest_tmp'
mkdir -p "_build"
cp -a /usr/share/gocode/src "_build"
make[1]: Leaving directory '/tmp/autopkgtest-lxc.qwkbqa0f/downtmp/autopkgtest_tmp'
   dh_auto_build -O--builddirectory=_build -O--buildsystem=golang
cd _build && go install -trimpath -v -p 160 github.com/komkom/toml github.com/komkom/toml/internal
unicode/utf8
internal/unsafeheader
internal/goexperiment
math/bits
runtime/internal/sys
internal/itoa
internal/race
internal/abi
internal/cpu
sync/atomic
unicode
runtime/internal/math
math
runtime/internal/atomic
internal/bytealg
runtime
internal/reflectlite
sync
internal/testlog
errors
sort
internal/oserror
path
io
strconv
syscall
bytes
strings
reflect
internal/syscall/execenv
internal/syscall/unix
time
io/fs
internal/poll
internal/fmtsort
os
fmt
github.com/pkg/errors
github.com/komkom/toml/internal
github.com/komkom/toml
   dh_auto_test -O--builddirectory=_build -O--buildsystem=golang
cd _build && go test -vet=off -v -p 160 github.com/komkom/toml github.com/komkom/toml/internal
=== RUN   TestReader
    reader_test.go:169: doc a."b".d=2
    reader_test.go:169: doc a.'b.c.d'.d=2
        																	a.b.c.d=2
    reader_test.go:169: doc a."\uFFFF".c=1
    reader_test.go:169: doc a."\UD7FF16".c=1
    reader_test.go:169: doc key = """\uFFFF"""
    reader_test.go:169: doc key = """\UD7FF16"""
    reader_test.go:169: doc key = [0,1,2,3,4]
    reader_test.go:169: doc key = [1,2,3,4,0]
    reader_test.go:169: doc key={a=0}
    reader_test.go:169: doc key-test=1
    reader_test.go:169: doc k.e .y=1
    reader_test.go:169: doc    k  .  e .y=1
    reader_test.go:169: doc    "k"  .  'e'  .y=1
    reader_test.go:169: doc animal = { type.name = "pug"}
    reader_test.go:169: doc key = {v.y=1}
    reader_test.go:169: doc a = "\r"
    reader_test.go:169: doc another = "# test"
    reader_test.go:169: doc 'quoted "value"' = "value"
    reader_test.go:169: doc hex3 = 0x123_123
    reader_test.go:169: doc hex3 = 0xdead_beef
    reader_test.go:184:         	Error Trace:	reader_test.go:184
Error: Not equal: expected: "{\"hex3\":3735928559}"
        	            	actual  : "{\"hex3\":-559038737}"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1 +1 @@
        	            	-{"hex3":3735928559}
        	            	+{"hex3":-559038737}
        	Test:       	TestReader
    reader_test.go:169: doc flt9 = -0e0
    reader_test.go:169: doc sf6 = -nan
    reader_test.go:169: doc sf6 = +nan
    reader_test.go:169: doc k = 0e0
    reader_test.go:169: doc sf6 = +inf
    reader_test.go:169: doc sf6 = -inf
    reader_test.go:169: doc sf6 = inf
    reader_test.go:169: doc key = """a b c \
        									ooo"""
    reader_test.go:169: doc key = """value  \
        					                        """
    reader_test.go:169: doc [x.y.z.w] # for this to work
        					[x]
    reader_test.go:169: doc "key\r\n"=1
    reader_test.go:169: doc key="""value\r\n"""
    reader_test.go:169: doc [[arr.x]]
        				[arr.x.table]
        				[[arr.x]]
        				[arr.x.table]
        				[x]
        				[[arr.x]]
        				
--- FAIL: TestReader (0.00s)
=== RUN   TestSpecs_valid
    reader_test.go:207: files 0
--- PASS: TestSpecs_valid (0.00s)
=== RUN   TestSpecs_invalid
--- PASS: TestSpecs_invalid (0.00s)
=== RUN   ExampleReader
--- PASS: ExampleReader (0.00s)
FAIL
FAIL	github.com/komkom/toml	0.013s

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: