Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 933134

Summary: app-crypt/tpm2-tools-5.6.1 fails tests on ppc64 big-endian: cp.hash test.bin differ
Product: Gentoo Linux Reporter: matoro <matoro_gentoo>
Component: Current packagesAssignee: Christopher Byrne <salah.coronya>
Status: CONFIRMED ---    
Severity: normal CC: matoro_gentoo, ppc64, proxy-maint
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: PPC64   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=931272
https://github.com/tpm2-software/tpm2-tools/issues/3060
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log and emerge --info

Description matoro archtester 2024-05-29 22:07:59 UTC
Created attachment 894629 [details]
build.log and emerge --info

Passes on ppc64le, so is likely broken on all BE, please mask in profiles/features/big-endian

[==========] Running 2 test(s).
[ RUN      ] test_tpm_command_header
[  ERROR   ] --- c->tag == 0x0180
[   LINE   ] --- test/unit/test_tpm2_header.c:23: error: Failure!
[  FAILED  ] test_tpm_command_header
[ RUN      ] test_tpm_response_header
[  ERROR   ] --- r->tag == 0x0180
[   LINE   ] --- test/unit/test_tpm2_header.c:99: error: Failure!
[  FAILED  ] test_tpm_response_header
[==========] 2 test(s) run.
[  PASSED  ] 0 test(s).
[  FAILED  ] 2 test(s), listed below:
[  FAILED  ] test_tpm_command_header
[  FAILED  ] test_tpm_response_header

 2 FAILED TEST(S)
FAIL test/unit/test_tpm2_header (exit status: 2)

00000000: 0020 c5a9 e84e 163f c6b8 9b80 e3ba 6d41  . ...N.?......mA
00000010: 5911 c308 0632 369e 4b20 58e2 30b8 3c83  Y....26.K X.0.<.
00000020: 26ad                                     &.
00000000: 86c7 5e6a e039 a85c ef55 3aef be7d cda2  ..^j.9.\.U:..}..
00000010: f2ee 8b8e 7006 f840 e646 bbab 66c3 457d  ....p..@.F..f.E}
cp.hash test.bin differ: byte 1, line 1
cmp cp.hash test.bin 2 on line 55 failed: 1
Shutting down