[pkg-go] Bug#890936: golang-gopkg-ini.v1: FTBFS and Debci failure with golang-1.10-go

Adrian Bunk bunk at debian.org
Tue Feb 20 19:25:53 UTC 2018


Source: golang-gopkg-ini.v1
Version: 1.32.0-1
Severity: serious

https://ci.debian.net/packages/g/golang-gopkg-ini.v1/unstable/amd64/
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/golang-gopkg-ini.v1.html

...
=== RUN   Test_MapToStruct

  Map to struct 
    Map file to struct ✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔🔥
    Map section to struct ✔✔✔✔
    Map to non-pointer struct ✔✔✔
    Map to unsupported type ✔✔✔✔✘
    Map to omitempty field ✔✔
    Map with shadows ✔✔✔✔
    Map from invalid data source ✔
    Map to wrong types and gain default values ✔✔✔✔✔✔✔✔✔


Errors:

  * golang-gopkg-ini.v1_1.32.0-1/_build/src/gopkg.in/ini.v1/struct_test.go 
  Line 158: - runtime error: invalid memory address or nil pointer dereference 
  goroutine 55 [running]:
  panic(0x57fb40, 0x691260)
  	/usr/lib/go-1.10/src/runtime/panic.go:505 +0x229
  gopkg.in/ini%2ev1_test.Test_MapToStruct.func1.1()
  	golang-gopkg-ini.v1_1.32.0-1/_build/src/gopkg.in/ini.v1/struct_test.go:158 +0x1031
  github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
  	golang-gopkg-ini.v1_1.32.0-1/_build/src/github.com/jtolds/gls/context.go:97 +0x3fd
  github.com/jtolds/gls.EnsureGoroutineId(0xc4202ad980)
  	golang-gopkg-ini.v1_1.32.0-1/_build/src/github.com/jtolds/gls/gid.go:19 +0x103
  github.com/jtolds/gls.(*ContextManager).SetValues(0xc42009a530, 0xc4202ad920, 0xc4202c07a0)
  	golang-gopkg-ini.v1_1.32.0-1/_build/src/github.com/jtolds/gls/context.go:63 +0x15d
  gopkg.in/ini%2ev1_test.Test_MapToStruct.func1()
  	golang-gopkg-ini.v1_1.32.0-1/_build/src/gopkg.in/ini.v1/struct_test.go:132 +0x8f
  github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
  	golang-gopkg-ini.v1_1.32.0-1/_build/src/github.com/jtolds/gls/context.go:97 +0x3fd
  github.com/jtolds/gls.EnsureGoroutineId.func1()
  	golang-gopkg-ini.v1_1.32.0-1/_build/src/github.com/jtolds/gls/gid.go:24 +0x31
  github.com/jtolds/gls._m(0x0, 0xc4202c0740)
  	golang-gopkg-ini.v1_1.32.0-1/_build/src/github.com/jtolds/gls/stack_tags.go:74 +0x31
  github.com/jtolds/gls.github_com_jtolds_gls_markS(0x0, 0xc4202c0740)
  	golang-gopkg-ini.v1_1.32.0-1/_build/src/github.com/jtolds/gls/stack_tags.go:54 +0x35
  github.com/jtolds/gls.addStackTag(0x0, 0xc4202c0740)
  	golang-gopkg-ini.v1_1.32.0-1/_build/src/github.com/jtolds/gls/stack_tags.go:49 +0x3a
  github.com/jtolds/gls.EnsureGoroutineId(0xc4202ad830)
  	golang-gopkg-ini.v1_1.32.0-1/_build/src/github.com/jtolds/gls/gid.go:24 +0xc7
  github.com/jtolds/gls.(*ContextManager).SetValues(0xc42009a530, 0xc4202ad7d0, 0xc4202c0700)
  	golang-gopkg-ini.v1_1.32.0-1/_build/src/github.com/jtolds/gls/context.go:63 +0x15d
  gopkg.in/ini%2ev1_test.Test_MapToStruct(0xc4202bc3c0)
  	golang-gopkg-ini.v1_1.32.0-1/_build/src/gopkg.in/ini.v1/struct_test.go:131 +0xaa
  testing.tRunner(0xc4202bc3c0, 0x5bc220)
  	/usr/lib/go-1.10/src/testing/testing.go:777 +0xd0
  created by testing.(*T).Run
  	/usr/lib/go-1.10/src/testing/testing.go:824 +0x2e0
  
  goroutine 1 [chan receive]:
  testing.(*T).Run(0xc4202bc3c0, 0x5b1041, 0x10, 0x5bc220, 0x46c501)
  	/usr/lib/go-1.10/src/testing/testing.go:825 +0x301
  testing.runTests.func1(0xc4200e6000)
  	/usr/lib/go-1.10/src/testing/testing.go:1063 +0x64
  testing.tRunner(0xc4200e6000, 0xc420065df8)
  	/usr/lib/go-1.10/src/testing/testing.go:777 +0xd0
  testing.runTests(0xc4200b0120, 0x696020, 0x29, 0x29, 0x40ff19)
  	/usr/lib/go-1.10/src/testing/testing.go:1061 +0x2c4
  testing.(*M).Run(0xc4200e4000, 0x0)
  	/usr/lib/go-1.10/src/testing/testing.go:978 +0x171
  main.main()
  	_testmain.go:148 +0x151
  


Failures:

  * golang-gopkg-ini.v1_1.32.0-1/_build/src/gopkg.in/ini.v1/struct_test.go 
  Line 192:
  Expected '<nil>' to NOT be nil (but it was)!


668 total assertions


  Map to struct in strict mode ✔✔


670 total assertions


  Map slice in strict mode ✔✔✔


673 total assertions

--- FAIL: Test_MapToStruct (0.01s)


More information about the Pkg-go-maintainers mailing list