inconshreveable / log15

Structured, composable logging for Go
https://godoc.org/github.com/inconshreveable/log15
Other
1.1k stars 144 forks source link

Test failure while building v2.15 #163

Open utkarsh2102 opened 4 years ago

utkarsh2102 commented 4 years ago
dpkg-buildpackage: info: source package golang-github-inconshreveable-log15
dpkg-buildpackage: info: source version 2.15-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Utkarsh Gupta <utkarsh@debian.org>
dpkg-buildpackage: info: host architecture amd64
 dpkg-source --before-build .
 fakeroot debian/rules clean
dh clean --buildsystem=golang --with=golang
   dh_auto_clean -O--buildsystem=golang
   dh_autoreconf_clean -O--buildsystem=golang
   dh_clean -O--buildsystem=golang
 dpkg-source -b .
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building golang-github-inconshreveable-log15 using existing ./golang-github-inconshreveable-log15_2.15.orig.tar.gz
dpkg-source: info: building golang-github-inconshreveable-log15 in golang-github-inconshreveable-log15_2.15-1.debian.tar.xz
dpkg-source: info: building golang-github-inconshreveable-log15 in golang-github-inconshreveable-log15_2.15-1.dsc
 debian/rules build
dh build --buildsystem=golang --with=golang
   dh_update_autotools_config -O--buildsystem=golang
   dh_autoreconf -O--buildsystem=golang
   dh_auto_configure -O--buildsystem=golang
   dh_auto_build -O--buildsystem=golang
    cd obj-x86_64-linux-gnu && go install -trimpath -v -p 8 github.com/inconshreveable/log15 github.com/inconshreveable/log15/ext github.com/inconshreveable/log15/term
unicode/utf8
internal/race
runtime/internal/sys
encoding
unicode
internal/cpu
sync/atomic
runtime/internal/atomic
unicode/utf16
math/bits
runtime/internal/math
internal/nettrace
internal/testlog
internal/bytealg
runtime/cgo
math
runtime
internal/reflectlite
sync
internal/singleflight
math/rand
errors
sort
internal/oserror
io
vendor/golang.org/x/net/dns/dnsmessage
strconv
syscall
bytes
strings
reflect
github.com/inconshreveable/log15/term
internal/syscall/unix
time
context
internal/poll
os
internal/fmtsort
encoding/binary
encoding/base64
golang.org/x/sys/unix
fmt
net
github.com/go-stack/stack
log
encoding/json
github.com/mattn/go-isatty
github.com/mattn/go-colorable
log/syslog
github.com/inconshreveable/log15
github.com/inconshreveable/log15/ext
   dh_auto_test -O--buildsystem=golang
    cd obj-x86_64-linux-gnu && go test -vet=off -v -p 8 github.com/inconshreveable/log15 github.com/inconshreveable/log15/ext github.com/inconshreveable/log15/term
=== RUN   TestLazy
=== PAUSE TestLazy
=== RUN   TestInvalidLazy
=== PAUSE TestInvalidLazy
=== RUN   TestCtx
=== PAUSE TestCtx
=== RUN   TestJson
=== PAUSE TestJson
=== RUN   TestJSONMap
--- PASS: TestJSONMap (0.00s)
=== RUN   TestLogfmt
=== PAUSE TestLogfmt
=== RUN   TestMultiHandler
=== PAUSE TestMultiHandler
=== RUN   TestBufferedHandler
=== PAUSE TestBufferedHandler
=== RUN   TestLogContext
=== PAUSE TestLogContext
=== RUN   TestMapCtx
=== PAUSE TestMapCtx
=== RUN   TestLvlFilterHandler
=== PAUSE TestLvlFilterHandler
=== RUN   TestNetHandler
=== PAUSE TestNetHandler
=== RUN   TestMatchFilterHandler
=== PAUSE TestMatchFilterHandler
=== RUN   TestMatchFilterBuiltin
=== PAUSE TestMatchFilterBuiltin
=== RUN   TestFailoverHandler
=== PAUSE TestFailoverHandler
=== RUN   TestIndependentSetHandler
=== PAUSE TestIndependentSetHandler
=== RUN   TestInheritHandler
=== PAUSE TestInheritHandler
=== RUN   TestCallerFileHandler
=== PAUSE TestCallerFileHandler
=== RUN   TestCallerFuncHandler
=== PAUSE TestCallerFuncHandler
=== RUN   TestCallerStackHandler
=== PAUSE TestCallerStackHandler
=== RUN   TestConcurrent
--- PASS: TestConcurrent (0.06s)
=== RUN   TestLvlFromString
--- PASS: TestLvlFromString (0.00s)
=== CONT  TestLazy
=== CONT  TestCallerFileHandler
=== CONT  TestMatchFilterBuiltin
=== CONT  TestMapCtx
=== CONT  TestLvlFilterHandler
=== CONT  TestLogfmt
--- PASS: TestLvlFilterHandler (0.00s)
--- PASS: TestCallerFileHandler (0.00s)
=== CONT  TestBufferedHandler
=== CONT  TestMatchFilterHandler
--- PASS: TestBufferedHandler (0.00s)
=== CONT  TestMultiHandler
--- PASS: TestMatchFilterHandler (0.00s)
=== CONT  TestIndependentSetHandler
=== CONT  TestCallerFuncHandler
=== CONT  TestLogContext
--- PASS: TestCallerFuncHandler (0.00s)
=== CONT  TestCtx
--- PASS: TestLogContext (0.00s)
=== CONT  TestJson
--- PASS: TestCtx (0.00s)
=== CONT  TestInvalidLazy
=== CONT  TestNetHandler
--- PASS: TestInvalidLazy (0.00s)
=== CONT  TestCallerStackHandler
--- PASS: TestMatchFilterBuiltin (0.00s)
    TestCallerStackHandler: log15_test.go:555: Wrong context value, got [/home/utkarsh/debian/updates/go-team/inconshreveable/golang-github-inconshreveable-log15/obj-x86_64-linux-gnu/src/github.com/inconshreveable/log15/log15_test.go:523 /home/utkarsh/debian/updates/go-team/inconshreveable/golang-github-inconshreveable-log15/obj-x86_64-linux-gnu/src/github.com/inconshreveable/log15/log15_test.go:526 /usr/lib/go-1.14/src/testing/testing.go:992 /usr/lib/go-1.14/src/runtime/asm_amd64.s:1373] expected string matching [/home/utkarsh/debian/updates/go-team/inconshreveable/golang-github-inconshreveable-log15/obj-x86_64-linux-gnu/src/github.com/inconshreveable/log15/log15_test.go:523 /home/utkarsh/debian/updates/go-team/inconshreveable/golang-github-inconshreveable-log15/obj-x86_64-linux-gnu/src/github.com/inconshreveable/log15/log15_test.go:526]
--- PASS: TestMultiHandler (0.00s)
--- FAIL: TestCallerStackHandler (0.00s)
=== CONT  TestInheritHandler
--- PASS: TestJson (0.00s)
--- PASS: TestInheritHandler (0.00s)
--- PASS: TestIndependentSetHandler (0.00s)
=== CONT  TestFailoverHandler
--- PASS: TestLogfmt (0.00s)
--- PASS: TestLazy (0.00s)
--- PASS: TestFailoverHandler (0.00s)
--- PASS: TestMapCtx (0.00s)
--- PASS: TestNetHandler (0.00s)
FAIL
FAIL    github.com/inconshreveable/log15    0.072s
=== RUN   TestHotSwapHandler
=== PAUSE TestHotSwapHandler
=== RUN   TestSpeculativeHandler
=== PAUSE TestSpeculativeHandler
=== RUN   TestErrorHandler
=== PAUSE TestErrorHandler
=== CONT  TestHotSwapHandler
=== CONT  TestErrorHandler
=== CONT  TestSpeculativeHandler
--- PASS: TestHotSwapHandler (0.00s)
--- PASS: TestErrorHandler (0.00s)
--- PASS: TestSpeculativeHandler (0.03s)
PASS
ok      github.com/inconshreveable/log15/ext    0.037s
?       github.com/inconshreveable/log15/term   [no test files]
FAIL
dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 8 github.com/inconshreveable/log15 github.com/inconshreveable/log15/ext github.com/inconshreveable/log15/term returned exit code 1

Any clue what's wrong?