On 10/15/24 3:22 PM, Fabiano Rosas wrote:
Stefan Berger <stef...@linux.ibm.com> writes:
On 10/15/24 2:11 PM, Fabiano Rosas wrote:
Hi Stefan,
I see the tpm-tis-device-swtpm test timing out, could you take a look?
qemu:qtest+qtest-aarch64 / qtest-aarch64/tpm-tis-device-swtpm-test time out
(After 60.0 seconds)
135/138 qemu:qtest+qtest-aarch64 /
qtest-aarch64/tpm-tis-device-swtpm-test TIMEOUT 60.01s killed by signal 11
SIGSEGV
Is this something new or been happening for a while? Does it happen
consistently? I just build the master branch and ran the tests on a very
old machine, I mean 13 years old. The host runs Fedora 40 with
libtpms-0.96-6 + swtpm-0.9.0 from the distro:
It's the first time I see it. I can reproduce consistently by running
that test in a loop while make -j16 check is running in another window.
So this here is failing for you every time?
QTEST_QEMU_BINARY=build/qemu-system-aarch64
./build/tests/qtest/tpm-tis-device-swtpm-test
This test would start swtpm. Do you see it running while this test is
running? It should show process like this running for a very short time
obviously [ while :; do ps aux | grep -v grep | grep swtpm; done ]:
stefanb 4087462 0.0 0.0 11040 3732 pts/6 S+ 15:30 0:00 swtpm
socket --tpmstate dir=/tmp/qemu-tpm-tis-device-swtpm-test.D3SLV2 --ctrl
type=unixio,path=/tmp/qemu-tpm-tis-device-swtpm-test.D3SLV2/sock --tpm2
stefanb 4087467 0.0 0.0 11040 3660 pts/6 S+ 15:30 0:00 swtpm
socket --tpmstate dir=/tmp/qemu-tpm-tis-device-swtpm-test.H1SLV2 --ctrl
type=unixio,path=/tmp/qemu-tpm-tis-device-swtpm-test.H1SLV2/sock --tpm2
I'm on openSUSE Leap 15.5:
$ rpm -qa | grep libtpms
libtpms0-0.8.2-150300.3.9.1.x86_64
$ rpm -qa | grep swtpm
swtpm-0.7.3-150500.2.1.x86_64