======================= swtpm 0.5.2: tests/test-suite.log ======================================= # TOTAL: 58 # PASS: 45 # SKIP: 8 # XFAIL: 0 # FAIL: 5 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 SKIP: test_vtpm_proxy ===================== Need to be root to run this test. SKIP test_vtpm_proxy (exit status: 77) SKIP: test_tpm2_vtpm_proxy ========================== Need to be root to run this test. SKIP test_tpm2_vtpm_proxy (exit status: 77) FAIL: test_ctrlchannel2 ======================= Error: Chardev TPM did not write pidfile. FAIL test_ctrlchannel2 (exit status: 1) FAIL: test_ctrlchannel4 ======================= Error: Chardev TPM did not write pidfile. swtpm: Could not open UnixIO socket: No such file or directory FAIL: test_tpm2_ctrlchannel2 ============================ Error: Chardev TPM did not write pidfile. FAIL test_tpm2_ctrlchannel2 (exit status: 1) FAIL: test_ctrlchannel3 ======================= Error: Socket TPM did not write pidfile. FAIL test_ctrlchannel3 (exit status: 1) FAIL: test_encrypted_state ========================== Need to be root to run test with CUSE interface. Need to be root to run test with CUSE interface. ==== Starting swtpm with interfaces socket+socket ==== Server did not open port 65400 /builddir/build/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/tests/common: line 1: 369478 Killed ${SWTPM_EXE} socket "$@" ${SWTPM_TEST_SECCOMP_OPT} --server type=tcp,port=${SWTPM_SERVER_PORT}${swtpm_server_disconnect} --ctrl type=tcp,port=${SWTPM_CTRL_PORT} FAIL test_encrypted_state (exit status: 1) SKIP: test_tpm12 ================ SKIP test_tpm12 (exit status: 77) SKIP: test_tpm2_save_load_state_2 ================================= SWTPM_TEST_IBMTSS2 must be set to run this test. SKIP test_tpm2_save_load_state_2 (exit status: 77) SKIP: test_tpm2_save_load_state_3 ================================= SWTPM_TEST_IBMTSS2 must be set to run this test. SKIP test_tpm2_save_load_state_3 (exit status: 77) SKIP: test_tpm2_ibmtss2 ======================= SKIP test_tpm2_ibmtss2 (exit status: 77) SKIP: test_samples_create_tpmca =============================== Need to be root to run this test. SKIP test_samples_create_tpmca (exit status: 77) SKIP: test_tpm2_samples_create_tpmca ==================================== Need to be root to run this test. SKIP test_tpm2_samples_create_tpmca (exit status: 77) ============================================================================ Testsuite summary for swtpm 0.5.2 ============================================================================ # TOTAL: 58 # PASS: 45 # SKIP: 8 # XFAIL: 0 # FAIL: 5 # XPASS: 0 # ERROR: 0 ============================================================================ See tests/test-suite.log ============================================================================ make[3]: Leaving directory '/builddir/build/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/tests' make[2]: Leaving directory '/builddir/build/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/tests' make[1]: Leaving directory '/builddir/build/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/tests' make[3]: *** [Makefile:714: test-suite.log] Error 1 make[2]: *** [Makefile:822: check-TESTS] Error 2 make[1]: *** [Makefile:1295: check-am] Error 2 make: *** [Makefile:493: check-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.hsc10F (%check) Bad exit status from /var/tmp/rpm-tmp.hsc10F (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/swtpm.spec