badger icon indicating copy to clipboard operation
badger copied to clipboard

[BUG]: TestConcurrentBasicBigValues fails on ppc64el

Open zhsj opened this issue 1 year ago • 0 comments

What version of Badger are you using?

main branch, commit 9cf06b18cc17c89368e71b6b10a5858a0b204682

What version of Go are you using?

go1.22.6

Have you tried reproducing the issue with the latest release?

Yes

What is the hardware spec (RAM, CPU, OS)?

ppc64el

What steps will reproduce the bug?

On amd64 system, this bug can also be reproduced by using qemu (install qemu-user-static package).

Then run

cd skl
GOARCH=ppc64le go test -count=10 -run TestConcurrentBasicBigValues

-count=10 is because the test doesn't always fail.

Expected behavior and actual result.

Expect no error. But

--- FAIL: TestConcurrentBasicBigValues (0.71s)
    skl_test.go:189: 
                Error Trace:    /tmp/t/badger/skl/skl_test.go:189
                                                        /usr/lib/go-1.22/src/runtime/asm_ppc64x.s:1018
                Error:          Not equal: 
...
                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -65536,3 +65536,3 @@
                                  000fffe0  30 30 30 30 30 30 30 30  30 30 30 30 30 30 30 30  |0000000000000000|
                                - 000ffff0  30 30 30 30 30 30 30 30  30 30 30 33 33 30 30 30  |0000000000033000|
                                + 000ffff0  30 30 30 30 30 30 30 30  30 30 30 30 30 30 32 32  |0000000000000022|
                                 }
                Test:           TestConcurrentBasicBigValues
FAIL
exit status 1

Additional information

No response

zhsj avatar Aug 22 '24 20:08 zhsj