.. _docs/totalcompute/tc2/expected-test-results: Expected test results ===================== .. contents:: .. _docs/totalcompute/tc2/expected-test-results_optee: OP-TEE unit tests ----------------- :: # xtest Run test suite with level=0 TEE test application started over default TEE instance ###################################################### # # regression # ###################################################### * regression_1001 Core self tests - 1001 - skip test, pseudo TA not found regression_1001 OK * regression_1002 PTA parameters - 1002 - skip test, pseudo TA not found regression_1002 OK (...output truncated...) regression_8101 OK regression_8102 OK regression_8103 OK +----------------------------------------------------- 26197 subtests of which 0 failed 104 test cases of which 0 failed 0 test cases were skipped TEE test application done! # .. note:: To obtain more information on how to run this sanity test, please refer to the :ref:`Total Compute Platform User Guide - Running sanity tests ` document section. .. _docs/totalcompute/tc2/expected-test-results_ts: Trusted Services and Client application unit tests -------------------------------------------------- Expected command output for the Trusted Services: :: # ts-service-test -sg ItsServiceTests -sg PsaCryptoApiTests -sg CryptoServicePackedcTests -sg CryptoServiceProtobufTests -sg CryptoServiceLimitTests -v TEST(ItsServiceTests, storeNewItem) - 3903 ms TEST(CryptoServicePackedcTests, generateRandomNumbers) - 8063 ms TEST(CryptoServicePackedcTests, asymEncryptDecryptWithSalt) - 46995 ms TEST(CryptoServicePackedcTests, asymEncryptDecrypt) - 11187 ms TEST(CryptoServicePackedcTests, signAndVerifyEat) - 36934 ms TEST(CryptoServicePackedcTests, signAndVerifyMessage) - 37118 ms TEST(CryptoServicePackedcTests, signAndVerifyHash) - 37121 ms TEST(CryptoServicePackedcTests, exportAndImportKeyPair) - 5506 ms TEST(CryptoServicePackedcTests, exportPublicKey) - 7416 ms TEST(CryptoServicePackedcTests, purgeKey) - 4631 ms TEST(CryptoServicePackedcTests, copyKey) - 12366 ms TEST(CryptoServicePackedcTests, generatePersistentKeys) - 8316 ms TEST(CryptoServicePackedcTests, generateVolatileKeys) - 7886 ms TEST(CryptoServiceProtobufTests, generateRandomNumbers) - 5785 ms TEST(CryptoServiceProtobufTests, asymEncryptDecryptWithSalt) - 59963 ms TEST(CryptoServiceProtobufTests, asymEncryptDecrypt) - 15982 ms TEST(CryptoServiceProtobufTests, signAndVerifyMessage) - 37117 ms TEST(CryptoServiceProtobufTests, signAndVerifyHash) - 37177 ms TEST(CryptoServiceProtobufTests, exportAndImportKeyPair) - 5562 ms TEST(CryptoServiceProtobufTests, exportPublicKey) - 7467 ms TEST(CryptoServiceProtobufTests, generatePersistentKeys) - 8378 ms TEST(CryptoServiceProtobufTests, generateVolatileKeys) - 7896 ms TEST(CryptoServiceLimitTests, volatileRsaKeyPairLimit) - 814715 ms TEST(CryptoServiceLimitTests, volatileEccKeyPairLimit) - 197333 ms OK (43 tests, 24 ran, 206 checks, 0 ignored, 19 filtered out, 1425193 ms) # Expected command output for the Client application: :: # ts-demo Demonstrates use of trusted services from an application --------------------------------------------------------- A client requests a set of crypto operations performed by the Crypto service. Key storage for persistent keys is provided by the Secure Storage service via the ITS client. Generating random bytes length: 1 Operation successful Random bytes: 2B Generating random bytes length: 7 Operation successful Random bytes: 68 CF 0C 5D 87 C7 11 Generating random bytes length: 128 Operation successful Random bytes: BF C6 85 27 81 02 5F 83 60 97 E9 2C A6 30 8E F7 C6 81 44 CB 26 32 8D F5 62 BA 0F DE B8 2C 69 E2 DD C0 FF A0 04 E2 D0 C0 DC EA 11 CE DD 7E 33 87 62 07 89 02 00 68 FC 24 AD D2 E4 86 40 3F 6E 65 83 46 33 9A F8 84 14 3B 72 11 8D 63 59 6F 69 96 70 D2 83 8D 60 6D 9F A2 B3 54 F6 3E 5E B3 FE 07 C9 51 F1 6A F5 B0 0E AA 08 B3 AE F5 06 73 6C 8B 95 73 B2 FF 72 C6 CF 84 12 7A 7A 1F 07 F2 58 71 Generating ECC signing key Operation successful Signing message: "The quick brown fox" using key: 256 Operation successful Signature bytes: F9 F7 0E D0 4A B2 77 DF 67 40 F5 36 4D 92 38 A3 13 5B 04 A0 6C BD 84 40 03 E2 43 EE BF 6F C6 C4 5B 5D A4 21 D9 EB 17 86 B9 71 0D C9 84 0C FE 55 71 8E 5C F7 D4 7D EB 04 9B 5A 11 D7 46 96 BD A6 Verify signature using original message: "The quick brown fox" Operation successful Verify signature using modified message: "!he quick brown fox" Successfully detected modified message Signing message: "jumps over the lazy dog" using key: 256 Operation successful Signature bytes: 45 40 14 E3 39 0C 3B 8A 5F 05 C8 0C E0 B6 A6 D2 8B 5E E3 76 49 DD F1 9E 50 A0 77 6F 1B FA FF C8 38 66 6A 2D 40 B1 79 9C 43 BE 59 F4 48 45 A2 0E D0 17 3F 1F D3 D7 C0 84 65 AC 9B 8A FB 6E B6 B6 Verify signature using original message: "jumps over the lazy dog" Operation successful Verify signature using modified message: "!umps over the lazy dog" Successfully detected modified message Generating RSA encryption key Operation successful Encrypting message: "Top secret" using RSA key: 257 Operation successful Encrypted message: 42 B6 53 D8 A3 03 BB 64 66 C0 31 A5 42 2C F8 F3 B8 E3 9C 58 42 7C 2C E0 19 43 F6 02 EB 60 6A DC Decrypting message using RSA key: 257 Operation successful Decrypted message: "Top secret" Exporting public key: 256 Operation successful Public key bytes: 04 D0 9A AF 76 18 9B 3B 08 38 65 BA 5F 81 B0 85 6A 39 42 19 5F 0D 17 86 CD 7E 2A E6 A4 CC A2 E4 B3 78 89 76 F6 CA 02 12 CB 07 2B AB CF 03 59 B3 34 8D 5D 0F 31 53 E0 68 9D 25 E2 AF 2E 0C 2C BE 51 Destroying signing key: 256 Operation successful Destroying encryption key: 257 Operation successful # .. note:: To obtain more information on how to run this sanity test, please refer to the :ref:`Total Compute Platform User Guide - Running sanity tests ` document section. .. _docs/totalcompute/tc2/expected-test-results_trusty: Trusty unit tests ----------------- :: console:/ # tipc-test -t ta2ta-ipc ta2ta_ipc_test: ipc-unittest-main: 2556: first_free_handle_index: 3 ipc-unittest-main: 2540: retry ret 0, event handle 1000, event 0x1 ipc-unittest-main: 2543: nested ret -13, event handle 1000, event 0x1 [ RUN ] ipc.wait_negative [ OK ] ipc.wait_negative [ RUN ] ipc.close_handle_negative [ OK ] ipc.close_handle_negative [ RUN ] ipc.set_cookie_negative [ OK ] ipc.set_cookie_negative [ RUN ] ipc.port_create_negative [ OK ] ipc.port_create_negative [ RUN ] ipc.port_create [ OK ] ipc.port_create [ RUN ] ipc.connect_negative [ OK ] ipc.connect_negative [ RUN ] ipc.connect_close [ OK ] ipc.connect_close [ RUN ] ipc.connect_access [ OK ] ipc.connect_access [ RUN ] ipc.accept_negative [ OK ] ipc.accept_negative [ DISABLED ] ipc.DISABLED_accept [ RUN ] ipc.get_msg_negative [ OK ] ipc.get_msg_negative [ RUN ] ipc.put_msg_negative [ OK ] ipc.put_msg_negative [ RUN ] ipc.send_msg [ OK ] ipc.send_msg [ RUN ] ipc.send_msg_negative [ OK ] ipc.send_msg_negative [ RUN ] ipc.read_msg_negative [ OK ] ipc.read_msg_negative [ RUN ] ipc.end_to_end_msg [ OK ] ipc.end_to_end_msg [ RUN ] ipc.hset_create [ OK ] ipc.hset_create [ RUN ] ipc.hset_add_mod_del [ OK ] ipc.hset_add_mod_del [ RUN ] ipc.hset_add_self [ OK ] ipc.hset_add_self [ RUN ] ipc.hset_add_loop [ OK ] ipc.hset_add_loop [ RUN ] ipc.hset_add_duplicate [ OK ] ipc.hset_add_duplicate [ RUN ] ipc.hset_wait_on_empty_set [ OK ] ipc.hset_wait_on_empty_set [ DISABLED ] ipc.DISABLED_hset_add_chan [ RUN ] ipc.send_handle_negative [ OK ] ipc.send_handle_negative [ RUN ] ipc.recv_handle [ OK ] ipc.recv_handle [ RUN ] ipc.recv_handle_negative [ OK ] ipc.recv_handle_negative [ RUN ] ipc.echo_handle_bulk [ OK ] ipc.echo_handle_bulk [ RUN ] ipc.tipc_connect [ OK ] ipc.tipc_connect [ RUN ] ipc.tipc_send_recv_1 [ OK ] ipc.tipc_send_recv_1 [ RUN ] ipc.tipc_send_recv_hdr_payload [ OK ] ipc.tipc_send_recv_hdr_payload [==========] 28 tests ran. [ PASSED ] 28 tests. [ DISABLED ] 2 tests. console:/ # .. note:: To obtain more information on how to run this sanity test, please refer to the :ref:`Total Compute Platform User Guide - Running sanity tests ` document section. .. _docs/totalcompute/tc2/expected-test-results_microdroid: Microdroid Demo unit tests -------------------------- :: INFO: ADB connecting to 127.0.0.1:5555 INFO: ADB connected to 127.0.0.1:5555 INFO: Checking ro.product.name INFO: ro.product.name matches tc_fvp INFO: Checking path of com.android.microdroid.tc INFO: APK Installed path is: /system/app/TCMicrodroidDemoApp/TCMicrodroidDemoApp.apk Created VM from "/system/app/TCMicrodroidDemoApp/TCMicrodroidDemoApp.apk"!"assets/vm_config.json" with CID 10, state is NOT_STARTED. Started VM, state now STARTING. U-Boot 2022.01-15068-g240b124907 (Apr 14 2022 - 14:14:27 +0000) DRAM: 256 MiB ## Android Verified Boot 2.0 version 1.1.0 read_is_device_unlocked not supported yet read_rollback_index not supported yet read_rollback_index not supported yet read_rollback_index not supported yet read_is_device_unlocked not supported yet Verification passed successfully Imported supplementary environment Could not find "misc" partition ## Android Verified Boot 2.0 version 1.1.0 read_is_device_unlocked not supported yet read_rollback_index not supported yet read_is_device_unlocked not supported yet Verification passed successfully ## Android Verified Boot 2.0 version 1.1.0 read_is_device_unlocked not supported yet read_rollback_index not supported yet read_rollback_index not supported yet read_rollback_index not supported yet read_is_device_unlocked not supported yet Verification passed successfully ANDROID: Loading vendor ramdisk from "vendor_boot_a", partition 3. Booting kernel at 0x80200000 with fdt at 80000000 ramdisk 0x84200000:0x00195c30... ## Flattened Device Tree blob at 80000000 Booting using the fdt blob at 0x80000000 Loading Ramdisk to 8eadb000, end 8ec70c30 ... OK Loading Device Tree to 000000008ead7000, end 000000008eadab80 ... OK Starting kernel ... [ 0.136679][ T1] virtio_blk virtio3: [vda] 192768 512-byte logical blocks (98.7 MB/94.1 MiB) [ 0.136743][ T1] vda: detected capacity change from 0 to 98697216 [ 0.153152][ T1] GPT:Primary header thinks Alt. header is not at the end of the disk. [ 0.153207][ T1] GPT:192712 != 192767 [ 0.153244][ T1] GPT:Alternate GPT header not at the end of the disk. [ 0.153312][ T1] GPT:192712 != 192767 [ 0.153348][ T1] GPT: Use GNU Parted to correct GPT errors. [ 0.153393][ T1] vda: vda1 vda2 vda3 vda4 vda5 [ 0.156140][ T1] virtio_blk virtio4: [vdb] 20992 512-byte logical blocks (10.7 MB/10.3 MiB) [ 0.156265][ T1] vdb: detected capacity change from 0 to 10747904 [ 0.197172][ T1] GPT:Primary header thinks Alt. header is not at the end of the disk. [ 0.197566][ T1] GPT:20968 != 20991 [ 0.197817][ T1] GPT:Alternate GPT header not at the end of the disk. [ 0.198281][ T1] GPT:20968 != 20991 [ 0.198585][ T1] GPT: Use GNU Parted to correct GPT errors. [ 0.198969][ T1] vdb: vdb1 vdb2 vdb3 vdb4 [ 0.201812][ T1] virtio_blk virtio5: [vdc] 3968 512-byte logical blocks (2.03 MB/1.94 MiB) [ 0.202210][ T1] vdc: detected capacity change from 0 to 2031616 [ 0.226878][ T1] GPT:Primary header thinks Alt. header is not at the end of the disk. [ 0.227043][ T1] GPT:3872 != 3967 [ 0.227141][ T1] GPT:Alternate GPT header not at the end of the disk. [ 0.227301][ T1] GPT:3872 != 3967 [ 0.227399][ T1] GPT: Use GNU Parted to correct GPT errors. [ 0.227544][ T1] vdc: vdc1 vdc2 vdc3 vdc4 [ 0.242286][ T1] device-mapper: verity: sha1 using implementation "sha1-generic" [ 0.250605][ T1] EXT4-fs (dm-2): mounted filesystem with ordered data mode. Opts: errors=panic [ 0.252168][ T1] device-mapper: verity: sha1 using implementation "sha1-generic" [ 0.254868][ T1] EXT4-fs (dm-3): mounted filesystem without journal. Opts: errors=panic [ 0.350347][ T1] SELinux: Permission nlmsg_getneigh in class netlink_route_socket not defined in policy. [ 0.350480][ T1] SELinux: Permission bpf in class capability2 not defined in policy. [ 0.350556][ T1] SELinux: Permission checkpoint_restore in class capability2 not defined in policy. [ 0.350652][ T1] SELinux: Permission bpf in class cap2_userns not defined in policy. [ 0.350765][ T1] SELinux: Permission checkpoint_restore in class cap2_userns not defined in policy. [ 0.350898][ T1] SELinux: the above unknown classes and permissions will be denied [ 0.353749][ T1] SELinux: policy capability network_peer_controls=1 [ 0.353824][ T1] SELinux: policy capability open_perms=1 [ 0.353878][ T1] SELinux: policy capability extended_socket_class=1 [ 0.353974][ T1] SELinux: policy capability always_check_network=0 [ 0.354040][ T1] SELinux: policy capability cgroup_seclabel=0 [ 0.354113][ T1] SELinux: policy capability nnp_nosuid_transition=1 [ 0.354210][ T1] SELinux: policy capability genfs_seclabel_symlinks=0 [ 0.500954][ T21] audit: type=1403 audit(1682216952.892:2): auid=4294967295 ses=4294967295 lsm=selinux res=1 [ 0.507132][ T21] audit: type=1404 audit(1682216952.896:3): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295 enabled=1 old-enabled=1 lsm=selinux res=1 [ 0.705758][ T128] binder: 128:128 transaction failed 29189/-22, size 0-0 line 2758 [ 0.705896][ T129] binder: 129:129 transaction failed 29189/-22, size 0-0 line 2758 [ 0.730365][ T131] device-mapper: verity: sha256 using implementation "sha256-ce" [ 0.770587][ C0] blk_update_request: I/O error, dev vdc, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0 [ 0.773769][ T137] device-mapper: verity: sha256 using implementation "sha256-ce" [ 0.795051][ T137] EXT4-fs (dm-5): mounted filesystem without journal. Opts: (null) [ 0.800970][ T137] EXT4-fs (loop2): mounted filesystem without journal. Opts: (null) libc: Access denied finding property "persist.arm64.memtag.default" libc: Access denied finding property "libc.debug.gwp_asan.sample_rate.microdroid_launcher" libc: Access denied finding property "libc.debug.gwp_asan.sample_rate.system_default" libc: Access denied finding property "libc.debug.gwp_asan.process_sampling.microdroid_launcher" libc: Access denied finding property "libc.debug.gwp_asan.process_sampling.system_default" libc: Access denied finding property "libc.debug.gwp_asan.max_allocs.microdroid_launcher" libc: Access denied finding property "libc.debug.gwp_asan.max_allocs.system_default" libc: Access denied finding property "heapprofd.enable" libc: Access denied finding property "ro.arch" libc: Access denied finding property "ro.arch" libc: Access denied finding property "ro.arch" [ 1.826111][ T21] audit: type=1400 audit(1682216954.216:4): avc: denied { getattr } for pid=152 comm="microdroid_laun" path="socket:[11462]" dev="sockfs" ino=11462 scontext=u:r:microdroid_app:s0 tcontext=u:r:microdroid_manager:s0 tclass=vsock_socket permissive=0 Hello Microdroid! payload finished with exit code 0 [ 1.829062][ T18] binder: undelivered transaction 38, process died. .. note:: To obtain more information on how to run this sanity test, please refer to the :ref:`Total Compute Platform User Guide - Running sanity tests ` document section. .. _docs/totalcompute/tc2/expected-test-results_kernel: Kernel selftest unit tests -------------------------- :: # ./run_kselftest.sh --summary [ 407.778719][ T234] kselftest: Running tests in arm64 TAP version 13 1..10 # selftests: arm64: check_gcr_el1_cswitch ok 1 selftests: arm64: check_gcr_el1_cswitch # selftests: arm64: check_ksm_options not ok 2 selftests: arm64: check_ksm_options # exit=1 # selftests: arm64: check_tags_inclusion ok 3 selftests: arm64: check_tags_inclusion # selftests: arm64: check_user_mem ok 4 selftests: arm64: check_user_mem # selftests: arm64: check_mmap_options ok 5 selftests: arm64: check_mmap_options # selftests: arm64: check_child_memory ok 6 selftests: arm64: check_child_memory # selftests: arm64: check_buffer_fill ok 7 selftests: arm64: check_buffer_fill # selftests: arm64: btitest ok 8 selftests: arm64: btitest # selftests: arm64: nobtitest ok 9 selftests: arm64: nobtitest # selftests: arm64: pac ok 10 selftests: arm64: pac # .. note:: To obtain more information on how to run this sanity test, please refer to the :ref:`Total Compute Platform User Guide - Running sanity tests ` document section. .. _docs/totalcompute/tc2/expected-test-results_mpam: MPAM unit tests --------------- :: # testing_mpam.sh Testing the number of partitions supported. It should be 0-63 Pass Partition 0 is the default partition to which all tasks will be assigned. Checking if task 5 is assigned to partition 0 Pass Testing the number of bits required to set the cache portion bitmap. It should be 8 Pass Testing the default cpbm configured in the DSU for all the partitions. It should be 0-7 for all the partitions [ 305.081818][ T236] MPAM_arch: PART_SEL: 0x0 Pass Setting the cpbm 4-5 (00110000) in DSU for partition 45 and reading it back [ 305.081969][ T233] MPAM_arch: PART_SEL: 0x2d [ 305.081974][ T233] MPAM_arch: CPBM: 0x30 @ffff80000a803000 [ 305.082588][ T237] MPAM_arch: PART_SEL: 0x2d Pass # .. note:: To obtain more information on how to run this sanity test, please refer to the :ref:`Total Compute Platform User Guide - Running sanity tests ` document section. .. _docs/totalcompute/tc2/expected-test-results_mpmm: MPMM unit tests --------------- :: # test_mpmm.sh fvp This is a test script to check the MPMM functionality This is based on the PCT configured in the SCP which can be found at product/tc2/scp_ramfw/config_mpmm.c Testing MPMM in FVP Testing the MPMM of A520 cores ****************************** According to the PCT, the max frequency should be 1840000 Current set frequency of the cpu0 is 1537000 PASS Starting a vector intensive workload on cpu0 According to the PCT, the max frequency should be 1537000 Current set frequency of the cpu0 is 1537000 PASS Starting a vector intensive workload on cpu1 According to the PCT, the max frequency should be 1537000 Current set frequency of the cpu0 is 1537000 PASS Starting a vector intensive workload on cpu2 According to the PCT, the max frequency should be 1153000 Current set frequency of the cpu0 is 1153000 PASS Starting a vector intensive workload on cpu3 According to the PCT, the max frequency should be 1153000 Current set frequency of the cpu0 is 1153000 PASS Testing the MPMM of A720 cores ****************************** According to the PCT, the max frequency should be 2271000 Current set frequency of the cpu4 is 1893000 PASS Starting a vector intensive workload on cpu4 According to the PCT, the max frequency should be 1893000 Current set frequency of the cpu4 is 1893000 PASS Starting a vector intensive workload on cpu5 According to the PCT, the max frequency should be 1893000 Current set frequency of the cpu4 is 1893000 PASS Starting a vector intensive workload on cpu6 According to the PCT, the max frequency should be 1893000 Current set frequency of the cpu4 is 1893000 PASS Testing the MPMM of X4 cores ****************************** According to the PCT, the max frequency should be 3047000 Current set frequency of the cpu7 is 1088000 PASS Starting a vector intensive workload on cpu7 According to the PCT, the max frequency should be 2612000 Current set frequency of the cpu7 is 2612000 PASS # .. note:: To obtain more information on how to run this sanity test, please refer to the :ref:`Total Compute Platform User Guide - Running sanity tests ` document section. .. _docs/totalcompute/tc2/expected-test-results_bti: BTI unit tests -------------- :: console:/data/nativetest64/bti-unit-tests # ./bti-unit-tests [==========] Running 17 tests from 7 test suites. [----------] Global test environment set-up. [----------] 3 tests from BR_Test [ RUN ] BR_Test.GuardedMemoryWithX16OrX17 [ OK ] BR_Test.GuardedMemoryWithX16OrX17 (181 ms) [ RUN ] BR_Test.NonGuardedMemoryAnyRegister [ OK ] BR_Test.NonGuardedMemoryAnyRegister (0 ms) [ RUN ] BR_Test.GuardedMemoryOtherRegisters [ OK ] BR_Test.GuardedMemoryOtherRegisters (122 ms) [----------] 3 tests from BR_Test (304 ms total) [----------] 3 tests from BRAA_Test [ RUN ] BRAA_Test.GuardedMemoryWithX16OrX17 [ OK ] BRAA_Test.GuardedMemoryWithX16OrX17 (344 ms) [ RUN ] BRAA_Test.NonGuardedMemoryAnyRegister [ OK ] BRAA_Test.NonGuardedMemoryAnyRegister (0 ms) [ RUN ] BRAA_Test.GuardedMemoryOtherRegisters [ OK ] BRAA_Test.GuardedMemoryOtherRegisters (233 ms) [----------] 3 tests from BRAA_Test (578 ms total) [----------] 3 tests from BRAB_Test [ RUN ] BRAB_Test.GuardedMemoryWithX16OrX17 [ OK ] BRAB_Test.GuardedMemoryWithX16OrX17 (310 ms) [ RUN ] BRAB_Test.NonGuardedMemoryAnyRegister [ OK ] BRAB_Test.NonGuardedMemoryAnyRegister (0 ms) [ RUN ] BRAB_Test.GuardedMemoryOtherRegisters [ OK ] BRAB_Test.GuardedMemoryOtherRegisters (297 ms) [----------] 3 tests from BRAB_Test (608 ms total) [----------] 2 tests from BLR_Test [ RUN ] BLR_Test.GuardedMemoryAnyRegister [ OK ] BLR_Test.GuardedMemoryAnyRegister (332 ms) [ RUN ] BLR_Test.NonGuardedMemoryAnyRegister [ OK ] BLR_Test.NonGuardedMemoryAnyRegister (0 ms) [----------] 2 tests from BLR_Test (333 ms total) [----------] 2 tests from BLRAA_Test [ RUN ] BLRAA_Test.GuardedMemoryAnyRegister [ OK ] BLRAA_Test.GuardedMemoryAnyRegister (745 ms) [ RUN ] BLRAA_Test.NonGuardedMemoryAnyRegister [ OK ] BLRAA_Test.NonGuardedMemoryAnyRegister (0 ms) [----------] 2 tests from BLRAA_Test (745 ms total) [----------] 2 tests from BLRAB_Test [ RUN ] BLRAB_Test.GuardedMemoryAnyRegister [ OK ] BLRAB_Test.GuardedMemoryAnyRegister (748 ms) [ RUN ] BLRAB_Test.NonGuardedMemoryAnyRegister [ OK ] BLRAB_Test.NonGuardedMemoryAnyRegister (0 ms) [----------] 2 tests from BLRAB_Test (748 ms total) [----------] 2 tests from BTI_LinkerTest [ RUN ] BTI_LinkerTest.CallBasicFunction [ OK ] BTI_LinkerTest.CallBasicFunction (0 ms) [ RUN ] BTI_LinkerTest.BypassLandingPad [ OK ] BTI_LinkerTest.BypassLandingPad (35 ms) [----------] 2 tests from BTI_LinkerTest (35 ms total) [----------] Global test environment tear-down [==========] 17 tests from 7 test suites ran. (3354 ms total) [ PASSED ] 17 tests. .. note:: To obtain more information on how to run this sanity test, please refer to the :ref:`Total Compute Platform User Guide - Running sanity tests ` document section. .. _docs/totalcompute/tc2/expected-test-results_mte: MTE unit tests -------------- :: console:/data/nativetest64/mte-unit-tests # ./mte-unit-tests [==========] Running 12 tests from 1 test suite. [----------] Global test environment set-up. [----------] 12 tests from MTETest [ RUN ] MTETest.CreateRandomTag [ OK ] MTETest.CreateRandomTag (0 ms) [ RUN ] MTETest.IncrementTag [ OK ] MTETest.IncrementTag (0 ms) [ RUN ] MTETest.ExcludedTags [ OK ] MTETest.ExcludedTags (0 ms) [ RUN ] MTETest.PointerSubtraction [ OK ] MTETest.PointerSubtraction (0 ms) [ RUN ] MTETest.TagStoreAndLoad [ OK ] MTETest.TagStoreAndLoad (0 ms) [ RUN ] MTETest.DCGZVA [ OK ] MTETest.DCGZVA (0 ms) [ RUN ] MTETest.DCGVA [ OK ] MTETest.DCGVA (0 ms) [ RUN ] MTETest.Segfault [ OK ] MTETest.Segfault (41 ms) [ RUN ] MTETest.UseAfterFree [ OK ] MTETest.UseAfterFree (0 ms) [ RUN ] MTETest.CopyOnWrite [ OK ] MTETest.CopyOnWrite (0 ms) [ RUN ] MTETest.mmapTempfile [ OK ] MTETest.mmapTempfile (5 ms) [ RUN ] MTETest.MTEIsEnabled [ OK ] MTETest.MTEIsEnabled (0 ms) [----------] 12 tests from MTETest (48 ms total) [----------] Global test environment tear-down [==========] 12 tests from 1 test suite ran. (48 ms total) [ PASSED ] 12 tests. .. note:: To obtain more information on how to run this sanity test, please refer to the :ref:`Total Compute Platform User Guide - Running sanity tests ` document section. .. _docs/totalcompute/tc2/expected-test-results_pauth: PAUTH unit tests ----------------- :: console:/data/nativetest64/pauth-unit-tests $ ./pauth-unit-tests PAC is enabled by the kernel: 1 PAC2 is implemented by the hardware: 1 FPAC is implemented by the hardware: 1 [==========] Running 18 tests from 3 test suites. [----------] Global test environment set-up. [----------] 2 tests from PAuthDeathTest [ RUN ] PAuthDeathTest.SignFailure [ OK ] PAuthDeathTest.SignFailure (113 ms) [ RUN ] PAuthDeathTest.AuthFailure [ OK ] PAuthDeathTest.AuthFailure (137 ms) [----------] 2 tests from PAuthDeathTest (250 ms total) [----------] 13 tests from PAuthTest [ RUN ] PAuthTest.Signing [ OK ] PAuthTest.Signing (0 ms) [ RUN ] PAuthTest.Authentication [ OK ] PAuthTest.Authentication (146 ms) [ RUN ] PAuthTest.Stripping vendor/arm/examples/pauth/pauth_unit_tests/pauth_unit_tests.cpp:279: Skipped [ SKIPPED ] PAuthTest.Stripping (0 ms) [ RUN ] PAuthTest.Roundtrip [ OK ] PAuthTest.Roundtrip (0 ms) [ RUN ] PAuthTest.StrippingWithBuiltinReturnAddress [ OK ] PAuthTest.StrippingWithBuiltinReturnAddress (0 ms) [ RUN ] PAuthTest.ExtractPAC [ OK ] PAuthTest.ExtractPAC (0 ms) [ RUN ] PAuthTest.PACMask [ OK ] PAuthTest.PACMask (0 ms) [ RUN ] PAuthTest.KeyChange [ OK ] PAuthTest.KeyChange (1 ms) [ RUN ] PAuthTest.GenericAuthentication [ OK ] PAuthTest.GenericAuthentication (0 ms) [ RUN ] PAuthTest.Unwind [ OK ] PAuthTest.Unwind (8 ms) [ RUN ] PAuthTest.CheckReturnAddressSigned [ OK ] PAuthTest.CheckReturnAddressSigned (0 ms) [ RUN ] PAuthTest.AuthenticateThenReturn [ OK ] PAuthTest.AuthenticateThenReturn (93 ms) [ RUN ] PAuthTest.CheckHWCAP [ OK ] PAuthTest.CheckHWCAP (0 ms) [----------] 13 tests from PAuthTest (251 ms total) [----------] 3 tests from PAuthTestData [ RUN ] PAuthTestData.Signing [ OK ] PAuthTestData.Signing (0 ms) [ RUN ] PAuthTestData.Authentication [ OK ] PAuthTestData.Authentication (92 ms) [ RUN ] PAuthTestData.Roundtrip [ OK ] PAuthTestData.Roundtrip (0 ms) [----------] 3 tests from PAuthTestData (92 ms total) [----------] Global test environment tear-down [==========] 18 tests from 3 test suites ran. (594 ms total) [ PASSED ] 17 tests. [ SKIPPED ] 1 test, listed below: [ SKIPPED ] PAuthTest.Stripping .. note:: To obtain more information on how to run this sanity test, please refer to the :ref:`Total Compute Platform User Guide - Running sanity tests ` document section. .. _docs/totalcompute/tc2/expected-test-results_eas: EAS with Lisa unit tests ------------------------ :: The following expressions will be executed: EnergyModelWakeMigration:test_dmesg EnergyModelWakeMigration:test_slack EnergyModelWakeMigration:test_task_placement OneSmallTask:test_dmesg OneSmallTask:test_slack OneSmallTask:test_task_placement RampDown:test_dmesg RampDown:test_slack RampDown:test_task_placement RampUp:test_dmesg RampUp:test_slack RampUp:test_task_placement ThreeSmallTasks:test_dmesg ThreeSmallTasks:test_slack ThreeSmallTasks:test_task_placement TwoBigTasks:test_dmesg TwoBigTasks:test_slack TwoBigTasks:test_task_placement TwoBigThreeSmall:test_dmesg TwoBigThreeSmall:test_slack TwoBigThreeSmall:test_task_placement Used trace events: - sched_switch - sched_wakeup - sched_wakeup_new - task_rename - userspace@rtapp_loop - userspace@rtapp_stats (...output truncated...) [2023-09-05 10:57:24,399][EXEKALL] INFO Result summary: EnergyModelWakeMigration[board=tc]:test_dmesg UUID=40d036f38fd64fbbbffbea7d2e9ddbc6 PASSED: dmesg output: EnergyModelWakeMigration[board=tc]:test_slack UUID=0843b7d55cc5498094b2dd7856adddab PASSED: emwm_0-0 delayed activations: 2.7944111776447107 % EnergyModelWakeMigration[board=tc]:test_task_placement UUID=b88941b8bc1c44b19722dc7d3ef087ba PASSED energy threshold: 7737.468929123666 bogo-joules estimated energy: 7146.545812339864 bogo-joules noisiest task: comm: kworker/5:1 duration (abs): 0.0006058100001951061 s duration (rel): 0.007507425508119742 % pid: 69 OneSmallTask[board=tc]:test_dmesg UUID=1429aa06cf5242ef8fb9fd3929b85361 PASSED: dmesg output: OneSmallTask[board=tc]:test_slack UUID=cf55513dad2d4bc4bfd4da4385edc1b3 PASSED: small-0 delayed activations: 0.0 % OneSmallTask[board=tc]:test_task_placement UUID=398f2a58624841c2beeda8feb7a68844 PASSED energy threshold: 60.32967281693774 bogo-joules estimated energy: 57.456831254226415 bogo-joules noisiest task: comm: init duration (abs): 0.0001531899999918096 s duration (rel): 0.015442352118088516 % pid: 1 RampDown[board=tc]:test_dmesg UUID=f4a8f3054eb34bdeaff8545408d87817 PASSED: dmesg output: RampDown[board=tc]:test_slack UUID=049088a94b1a401d9a9faf572dbb969e PASSED: down-0 delayed activations: 0.2145922746781116 % RampDown[board=tc]:test_task_placement UUID=44b916a863e74f1aa8fe8322d958e2cd PASSED energy threshold: 5075.609124026213 bogo-joules estimated energy: 4499.802859646464 bogo-joules noisiest task: comm: kworker/5:1 duration (abs): 0.0005715100001566498 s duration (rel): 0.007681529072919605 % pid: 69 RampUp[board=tc]:test_dmesg UUID=df45eca48be84805ac07162e0313b614 PASSED: dmesg output: RampUp[board=tc]:test_slack UUID=c59e63e892c2436d93f09db4a9b690e0 PASSED: up-0 delayed activations: 0.0 % RampUp[board=tc]:test_task_placement UUID=88fe93bcbc004665b92678564355e4c9 PASSED energy threshold: 4511.9916490978 bogo-joules estimated energy: 3825.2514695943355 bogo-joules noisiest task: comm: kworker/5:1 duration (abs): 0.0005233000001680921 s duration (rel): 0.00703361144586148 % pid: 69 ThreeSmallTasks[board=tc]:test_dmesg UUID=6da8a02fbce14536a5497368576f41a1 PASSED: dmesg output: ThreeSmallTasks[board=tc]:test_slack UUID=80d93c17789d44a79734f1caefea1571 PASSED small_0-0 delayed activations: 0.0 % small_1-1 delayed activations: 0.0 % small_2-2 delayed activations: 0.0 % ThreeSmallTasks[board=tc]:test_task_placement UUID=cd4d878f560d4bfcb47aeea155aa9680 PASSED energy threshold: 206.84414838330824 bogo-joules estimated energy: 172.37012365275686 bogo-joules noisiest task: comm: init duration (abs): 0.00015036999991480116 s duration (rel): 0.015158063503586424 % pid: 1 TwoBigTasks[board=tc]:test_dmesg UUID=c4048cd03dfa40c4ace83722b6add40f PASSED: dmesg output: TwoBigTasks[board=tc]:test_slack UUID=03d5041fb8fb4e0ea4ca3b9ddbf33be8 SKIPPED: skipped-reason: The workload will result in overutilized status for all possible task placement, making it unsuitable to test EAS on this platform TwoBigTasks[board=tc]:test_task_placement UUID=3fc72b13185c4d149a4f8057e9c9c138 SKIPPED: skipped-reason: The workload will result in overutilized status for all possible task placement, making it unsuitable to test EAS on this platform TwoBigThreeSmall[board=tc]:test_dmesg UUID=bdaf2fba329b474a8377631cac3aa4d0 PASSED: dmesg output: TwoBigThreeSmall[board=tc]:test_slack UUID=6c5fbb8dae80474aa89ed1edee65734c SKIPPED: skipped-reason: The workload will result in overutilized status for all possible task placement, making it unsuitable to test EAS on this platform TwoBigThreeSmall[board=tc]:test_task_placement UUID=14a242efc9184c3aaf46d41c0192b42f SKIPPED: skipped-reason: The workload will result in overutilized status for all possible task placement, making it unsuitable to test EAS on this platform .. note:: To obtain more information on how to run this sanity test, please refer to the :ref:`Total Compute Platform User Guide - Running sanity tests ` document section. .. _docs/totalcompute/tc2/expected-test-results_cpu_feat: CPU hardware capabilities ------------------------- :: # test_feats_arch.sh Testing FEAT_AFP HW CAP Pass Testing FEAT_ECV HW CAP Pass Testing FEAT_WFXT HW CAP Pass # .. note:: To obtain more information on how to run this sanity test, please refer to the :ref:`Total Compute Platform User Guide - Running sanity tests ` document section. -------------- *Copyright (c) 2022-2023, Arm Limited. All rights reserved.*