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

brotli: test failure on Fedora rawhide ppc64le #66

Open
rathann opened this issue Feb 13, 2019 · 1 comment
Open

brotli: test failure on Fedora rawhide ppc64le #66

rathann opened this issue Feb 13, 2019 · 1 comment

Comments

@rathann
Copy link
Contributor

rathann commented Feb 13, 2019

cc9eb1d with #64 applied fails brotli tests when built on Fedora rawhide ppc64le arch:

GOPATH=/builddir/build/BUILD/compress-cc9eb1d7ad760af14e8f918698f745e80377af4f/_build:/usr/share/gocode
+ go test -buildmode pie -compiler gc -ldflags '-extldflags '\''-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '\'''
--- FAIL: TestReader (0.15s)
    reader_test.go:528: test 20, mismatching error:
        got brotli: corrupted input
        want IsCorrupted(err) == true
    reader_test.go:528: test 22, mismatching error:
        got brotli: corrupted input
        want IsCorrupted(err) == true
    reader_test.go:528: test 26, mismatching error:
        got brotli: corrupted input
        want IsCorrupted(err) == true
    reader_test.go:528: test 27, mismatching error:
        got brotli: corrupted input
        want IsCorrupted(err) == true
    reader_test.go:528: test 28, mismatching error:
        got brotli: corrupted input
        want IsCorrupted(err) == true
    reader_test.go:528: test 33, mismatching error:
        got brotli: corrupted input
        want IsCorrupted(err) == true
    reader_test.go:528: test 34, mismatching error:
        got brotli: corrupted input
        want IsCorrupted(err) == true
    reader_test.go:528: test 39, mismatching error:
        got brotli: corrupted input
        want IsCorrupted(err) == true
    reader_test.go:528: test 44, mismatching error:
        got brotli: corrupted input
        want IsCorrupted(err) == true
    reader_test.go:528: test 49, mismatching error:
        got brotli: corrupted input
        want IsCorrupted(err) == true
    reader_test.go:528: test 50, mismatching error:
        got brotli: corrupted input
        want IsCorrupted(err) == true
    reader_test.go:528: test 53, mismatching error:
        got brotli: corrupted input
        want IsCorrupted(err) == true
    reader_test.go:528: test 54, mismatching error:
        got brotli: corrupted input
        want IsCorrupted(err) == true
    reader_test.go:528: test 56, mismatching error:
        got brotli: corrupted input
        want IsCorrupted(err) == true
    reader_test.go:528: test 57, mismatching error:
        got brotli: corrupted input
        want IsCorrupted(err) == true
    reader_test.go:528: test 63, mismatching error:
        got brotli: corrupted input
        want IsCorrupted(err) == true
FAIL

Unfortunately, I don't know enough Go and I'm not familiar with brotli to fix this right now.

@dsnet
Copy link
Owner

dsnet commented Mar 6, 2019

This is a very strange error as it suggests that something with the Go type system is going wrong, perhaps caused by the Go compiler doing something odd. I'm not sure if there's anything to address from my end without more information.

@dsnet dsnet changed the title brotli test failure on Fedora rawhide ppc64le brotli: test failure on Fedora rawhide ppc64le Mar 7, 2019
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

2 participants