go-logging
go-logging copied to clipboard
Test failure: TestLogCallpath incorrect callpath
With Golang 1.12.2
Testing in: /builddir/build/BUILD/go-logging-970db520ece77730c7e4724c61121037378659d9/_build/src
PATH: /builddir/build/BUILD/go-logging-970db520ece77730c7e4724c61121037378659d9/_build/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
GOPATH: /builddir/build/BUILD/go-logging-970db520ece77730c7e4724c61121037378659d9/_build:/usr/share/gocode
command: go test -buildmode pie -compiler gc -ldflags "-X github.com/op/go-logging/version=2.0.0 -X github.com/op/go-logging/version.commit=970db520ece77730c7e4724c61121037378659d9 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '"
testing: github.com/op/go-logging
github.com/op/go-logging
--- FAIL: TestLogCallpath (0.00s)
log_test.go:63: incorrect callpath: TestLogCallpath.testCallpath.rec...a.b.c.Info
log_test.go:63: incorrect callpath: TestLogCallpath.testCallpath.rec...a.b.c.Info
log_test.go:63: incorrect callpath: TestLogCallpath.testCallpath.rec...a.b.c.Info
log_test.go:63: incorrect callpath: ~.Info
log_test.go:63: incorrect callpath: ~.c.Info
log_test.go:63: incorrect callpath: ~.b.c.Info
FAIL
exit status 1
FAIL github.com/op/go-logging 0.008s
@op We are seeing the same error with Go 1.13.8; could you please kindly take a look when you have time? This affects, for example, Fedora and Debian packaging of github.com/op/go-logging
Many thanks!
@op seeing the same issue in golang 1.18.4; FYI.