KERNEL SELFTESTS: linux_headers_dir is /usr/src/linux-headers-x86_64-rhel-9.4-kselftests-ca86543fc7c3ad8c0844f43fff664a52ffcb058b 2025-01-03 17:52:26 sed -i s/default_timeout=45/default_timeout=300/ kselftest/runner.sh 2025-01-03 17:52:26 make -j16 -C sgx make: Entering directory '/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-ca86543fc7c3ad8c0844f43fff664a52ffcb058b/tools/testing/selftests/sgx' gcc -Wall -Werror -g -I/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-ca86543fc7c3ad8c0844f43fff664a52ffcb058b/tools/testing/selftests/../../../tools/include -fPIC -D_GNU_SOURCE= -c main.c -o /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-ca86543fc7c3ad8c0844f43fff664a52ffcb058b/tools/testing/selftests/sgx/main.o gcc -Wall -Werror -g -I/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-ca86543fc7c3ad8c0844f43fff664a52ffcb058b/tools/testing/selftests/../../../tools/include -fPIC -D_GNU_SOURCE= -c load.c -o /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-ca86543fc7c3ad8c0844f43fff664a52ffcb058b/tools/testing/selftests/sgx/load.o gcc -Wall -Werror -g -I/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-ca86543fc7c3ad8c0844f43fff664a52ffcb058b/tools/testing/selftests/../../../tools/include -fPIC -D_GNU_SOURCE= -c sigstruct.c -o /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-ca86543fc7c3ad8c0844f43fff664a52ffcb058b/tools/testing/selftests/sgx/sigstruct.o gcc -Wall -Werror -g -I/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-ca86543fc7c3ad8c0844f43fff664a52ffcb058b/tools/testing/selftests/../../../tools/include -fPIC -D_GNU_SOURCE= -c call.S -o /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-ca86543fc7c3ad8c0844f43fff664a52ffcb058b/tools/testing/selftests/sgx/call.o gcc -Wall -Werror -g -I/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-ca86543fc7c3ad8c0844f43fff664a52ffcb058b/tools/testing/selftests/../../../tools/include -fPIC -D_GNU_SOURCE= -c sign_key.S -o /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-ca86543fc7c3ad8c0844f43fff664a52ffcb058b/tools/testing/selftests/sgx/sign_key.o gcc -Wall -Werror -static-pie -nostdlib -ffreestanding -fPIE -fno-stack-protector -mrdrnd -I/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-ca86543fc7c3ad8c0844f43fff664a52ffcb058b/tools/testing/selftests/../../../tools/include test_encl.c test_encl_bootstrap.S -o /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-ca86543fc7c3ad8c0844f43fff664a52ffcb058b/tools/testing/selftests/sgx/test_encl.elf -Wl,-T,test_encl.lds,--build-id=none /usr/bin/ld: warning: /tmp/lkp/ccdlfFwf.o: missing .note.GNU-stack section implies executable stack /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker gcc -Wall -Werror -g -I/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-ca86543fc7c3ad8c0844f43fff664a52ffcb058b/tools/testing/selftests/../../../tools/include -fPIC -D_GNU_SOURCE= -o /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-ca86543fc7c3ad8c0844f43fff664a52ffcb058b/tools/testing/selftests/sgx/test_sgx /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-ca86543fc7c3ad8c0844f43fff664a52ffcb058b/tools/testing/selftests/sgx/main.o /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-ca86543fc7c3ad8c0844f43fff664a52ffcb058b/tools/testing/selftests/sgx/load.o /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-ca86543fc7c3ad8c0844f43fff664a52ffcb058b/tools/testing/selftests/sgx/sigstruct.o /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-ca86543fc7c3ad8c0844f43fff664a52ffcb058b/tools/testing/selftests/sgx/call.o /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-ca86543fc7c3ad8c0844f43fff664a52ffcb058b/tools/testing/selftests/sgx/sign_key.o -z noexecstack -lcrypto make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-ca86543fc7c3ad8c0844f43fff664a52ffcb058b/tools/testing/selftests/sgx' 2025-01-03 17:52:26 make quicktest=1 run_tests -C sgx make: Entering directory '/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-ca86543fc7c3ad8c0844f43fff664a52ffcb058b/tools/testing/selftests/sgx' TAP version 13 1..1 # timeout set to 300 # selftests: sgx: test_sgx # TAP version 13 # 1..16 # # Starting 16 tests from 1 test cases. # # RUN enclave.unclobbered_vdso ... # # OK enclave.unclobbered_vdso # ok 1 enclave.unclobbered_vdso # # RUN enclave.unclobbered_vdso_oversubscribed ... # # OK enclave.unclobbered_vdso_oversubscribed # ok 2 enclave.unclobbered_vdso_oversubscribed # # RUN enclave.unclobbered_vdso_oversubscribed_remove ... # # main.c:402:unclobbered_vdso_oversubscribed_remove:Creating an enclave with 198705152 bytes heap may take a while ... # # SKIP System does not support SGX2 # # OK enclave.unclobbered_vdso_oversubscribed_remove # ok 3 enclave.unclobbered_vdso_oversubscribed_remove # SKIP System does not support SGX2 # # RUN enclave.clobbered_vdso ... # # OK enclave.clobbered_vdso # ok 4 enclave.clobbered_vdso # # RUN enclave.clobbered_vdso_and_user_function ... # # OK enclave.clobbered_vdso_and_user_function # ok 5 enclave.clobbered_vdso_and_user_function # # RUN enclave.tcs_entry ... # # OK enclave.tcs_entry # ok 6 enclave.tcs_entry # # RUN enclave.pte_permissions ... # # OK enclave.pte_permissions # ok 7 enclave.pte_permissions # # RUN enclave.tcs_permissions ... # # SKIP System does not support SGX2 # # OK enclave.tcs_permissions # ok 8 enclave.tcs_permissions # SKIP System does not support SGX2 # # RUN enclave.epcm_permissions ... # # SKIP System does not support SGX2 # # OK enclave.epcm_permissions # ok 9 enclave.epcm_permissions # SKIP System does not support SGX2 # # RUN enclave.augment ... # # SKIP SGX2 not supported # # OK enclave.augment # ok 10 enclave.augment # SKIP SGX2 not supported # # RUN enclave.augment_via_eaccept ... # # SKIP SGX2 not supported # # OK enclave.augment_via_eaccept # ok 11 enclave.augment_via_eaccept # SKIP SGX2 not supported # # RUN enclave.tcs_create ... # # SKIP System does not support SGX2 # # OK enclave.tcs_create # ok 12 enclave.tcs_create # SKIP System does not support SGX2 # # RUN enclave.remove_added_page_no_eaccept ... # # SKIP System does not support SGX2 # # OK enclave.remove_added_page_no_eaccept # ok 13 enclave.remove_added_page_no_eaccept # SKIP System does not support SGX2 # # RUN enclave.remove_added_page_invalid_access ... # # SKIP System does not support SGX2 # # OK enclave.remove_added_page_invalid_access # ok 14 enclave.remove_added_page_invalid_access # SKIP System does not support SGX2 # # RUN enclave.remove_added_page_invalid_access_after_eaccept ... # # SKIP System does not support SGX2 # # OK enclave.remove_added_page_invalid_access_after_eaccept # ok 15 enclave.remove_added_page_invalid_access_after_eaccept # SKIP System does not support SGX2 # # RUN enclave.remove_untouched_page ... # # SKIP System does not support SGX2 # # OK enclave.remove_untouched_page # ok 16 enclave.remove_untouched_page # SKIP System does not support SGX2 # # PASSED: 16 / 16 tests passed. # # Totals: pass:6 fail:0 xfail:0 xpass:0 skip:10 error:0 ok 1 selftests: sgx: test_sgx make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-ca86543fc7c3ad8c0844f43fff664a52ffcb058b/tools/testing/selftests/sgx'