Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failure: TestLogCallpath incorrect callpath #138

Open
eclipseo opened this issue Apr 23, 2019 · 2 comments
Open

Test failure: TestLogCallpath incorrect callpath #138

eclipseo opened this issue Apr 23, 2019 · 2 comments

Comments

@eclipseo
Copy link

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
@anthonyfok
Copy link

@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!

@ashoktce
Copy link

ashoktce commented Feb 6, 2023

@op seeing the same issue in golang 1.18.4; FYI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants