tpm2_file_permissions (exit status: 77) SKIP: test_tpm2_partial_reads ============================= Need to be root to run test with CUSE interface. SKIP test_tpm2_partial_reads (exit status: 77) FAIL: test_tpm2_save_load_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 65529 /builddir/build/BUILD/swtpm-0.8.0/tests/common: line 391: kill: (578661) - No such process FAIL test_tpm2_save_load_encrypted_state (exit status: 1) 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_2_linear ======================================== SWTPM_TEST_IBMTSS2 must be set to run this test. SKIP test_tpm2_save_load_state_2_linear (exit status: 77) SKIP: test_tpm2_save_load_state_2_block ======================================= Need to be root to run this test. SKIP test_tpm2_save_load_state_2_block (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) FAIL: test_tpm2_save_load_state_da_timeout ========================================== 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 ==== Port 65438 is still used FAIL test_tpm2_save_load_state_da_timeout (exit status: 1) FAIL: test_tpm2_swtpm_bios ========================== 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 ==== Port 65520 is still used FAIL test_tpm2_swtpm_bios (exit status: 1) 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_swtpm_setup_create_cert ================================== /builddir/build/BUILD/swtpm-0.8.0/src/swtpm/swtpm does not provide a TPM 1.2 SKIP test_swtpm_setup_create_cert (exit status: 77) ============================================================================ Testsuite summary for swtpm 0.8.0 ============================================================================ # TOTAL: 74 # PASS: 30 # SKIP: 41 # XFAIL: 0 # FAIL: 3 # XPASS: 0 # ERROR: 0 ============================================================================ See tests/test-suite.log ============================================================================ make[3]: Leaving directory '/builddir/build/BUILD/swtpm-0.8.0/tests' make[2]: Leaving directory '/builddir/build/BUILD/swtpm-0.8.0/tests' make[1]: Leaving directory '/builddir/build/BUILD/swtpm-0.8.0/tests' RPM build errors: make[3]: *** [Makefile:741: test-suite.log] Error 1 make[2]: *** [Makefile:849: check-TESTS] Error 2 make[1]: *** [Makefile:1427: check-am] Error 2 make: *** [Makefile:479: check-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.Qz0Gyl (%check) Bad exit status from /var/tmp/rpm-tmp.Qz0Gyl (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/swtpm.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, 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 --noclean --target i686 --nodeps /builddir/build/SPECS/swtpm.spec