sunny@sunnysrv:/mnt/usb/fwts2007_MulVarWrtOnly2DbgMsgFixQueryVarInfo2Dbg2_output$ sudo ./bin/fwts uefirtvariable -r stdout -q sudo ./bin/fwts uefirtvariable -r stdout -q Arm ACS Version: v0.9_BETA Results generated by fwts: Version V21.06.00 (2021-06-21 05:43:14). Some of this work - Copyright (c) 1999 - 2021, Intel Corp. All rights reserved. Some of this work - Copyright (c) 2010 - 2021, Canonical. Some of this work - Copyright (c) 2016 - 2021, IBM. Some of this work - Copyright (c) 2017 - 2021, ARM Ltd. This test run on 16/06/21 at 18:57:32 on host Linux sunnysrv 5.11.0-16-generic #17-Ubuntu SMP Wed Apr 14 20:10:16 UTC 2021 aarch64. Command: "fwts -r stdout -q uefirtvariable". Running tests: uefirtvariable. uefirtvariable: UEFI Runtime service variable interface tests. -------------------------------------------------------------------------------- Test 1 of 9: Test UEFI RT service get variable interface. PASSED: Test 1, UEFI runtime service GetVariable interface test passed. Test 2 of 9: Test UEFI RT service get next variable name interface. The runtime service GetNextVariableName interface function test. PASSED: Test 2, The runtime service GetNextVariableName interface function test passed. Check the GetNextVariableName returned value of VariableNameSize is equal to the length of VariableName. PASSED: Test 2, Check the GetNextVariableName returned value of VariableNameSize is equal to the length of VariableName passed. Test GetNextVariableName interface returns unique variables. PASSED: Test 2, Test GetNextVariableName interface returns unique variables passed. The GetNextVariableName interface conformance tests. PASSED: Test 2, The runtime service GetNextVariableName interface conformance tests passed. Test 3 of 9: Test UEFI RT service set variable interface. Testing SetVariable on two different GUIDs and the same variable name. PASSED: Test 3, SetVariable on two different GUIDs and the same variable name passed. Testing SetVariable on the same and different variable data. PASSED: Test 3, SetVariable on the same and different variable data passed. Testing SetVariable on similar variable name. PASSED: Test 3, SetVariable on similar variable name passed. Testing SetVariable on DataSize is 0. PASSED: Test 3, SetVariable on DataSize is 0 passed. Testing SetVariable on Attributes is 0. PASSED: Test 3, SetVariable on Attributes is 0 passed. Testing SetVariable on Invalid Attributes. PASSED: Test 3, SetVariable on Invalid Attributes passed. Testing SetVariable with both Authenticated Attributes set. PASSED: Test 3, Testing SetVariable with both Authenticated Attributes set passed. Testing SetVariable with EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS Attributes. PASSED: Test 3, Testing SetVariable with with EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS Attributes passed. Test 4 of 9: Test UEFI RT service query variable info interface. PASSED: Test 4, UEFI runtime service query variable info interface test passed. Test 5 of 9: Test UEFI RT service variable interface stress test. Testing GetVariable on getting the variable 1024 times. PASSED: Test 5, GetVariable on getting the variable multiple times passed. Testing GetNextVariableName on getting the variable multiple times. PASSED: Test 5, GetNextVariableName on getting the next variable name multiple times passed. Test 6 of 9: Test UEFI RT service set variable interface stress test. Start 1 - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 37488 bytes Maximum variable size: 8132 bytes 1 Before - Currently used: 58 variables, storage used: 3610 bytes Testing SetVariable on setting the variable with the same data 40 times. PASSED: Test 6, SetVariable on setting the variable with the same data multiple times passed. End - same data - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 37400 bytes Maximum variable size: 8132 bytes 2 Before - Currently used: 58 variables, storage used: 3610 bytes Testing SetVariable on setting the variable with different data 40 times. different data[0x0] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 37312 bytes Maximum variable size: 8132 bytes different data[0x0] - Currently used: 58 variables, storage used: 3610 bytes different data[0x1] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 37224 bytes Maximum variable size: 8132 bytes different data[0x1] - Currently used: 58 variables, storage used: 3610 bytes different data[0x2] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 37136 bytes Maximum variable size: 8132 bytes different data[0x2] - Currently used: 58 variables, storage used: 3610 bytes different data[0x3] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 37044 bytes Maximum variable size: 8132 bytes different data[0x3] - Currently used: 58 variables, storage used: 3610 bytes different data[0x4] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 36952 bytes Maximum variable size: 8132 bytes different data[0x4] - Currently used: 58 variables, storage used: 3610 bytes different data[0x5] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 36860 bytes Maximum variable size: 8132 bytes different data[0x5] - Currently used: 58 variables, storage used: 3610 bytes different data[0x6] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 36768 bytes Maximum variable size: 8132 bytes different data[0x6] - Currently used: 58 variables, storage used: 3610 bytes different data[0x7] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 36672 bytes Maximum variable size: 8132 bytes different data[0x7] - Currently used: 58 variables, storage used: 3610 bytes different data[0x8] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 36576 bytes Maximum variable size: 8132 bytes different data[0x8] - Currently used: 58 variables, storage used: 3610 bytes different data[0x9] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 36480 bytes Maximum variable size: 8132 bytes different data[0x9] - Currently used: 58 variables, storage used: 3610 bytes different data[0x10] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 36384 bytes Maximum variable size: 8132 bytes different data[0x10] - Currently used: 58 variables, storage used: 3610 bytes different data[0x11] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 36284 bytes Maximum variable size: 8132 bytes different data[0x11] - Currently used: 58 variables, storage used: 3610 bytes different data[0x12] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 36184 bytes Maximum variable size: 8132 bytes different data[0x12] - Currently used: 58 variables, storage used: 3610 bytes different data[0x13] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 36084 bytes Maximum variable size: 8132 bytes different data[0x13] - Currently used: 58 variables, storage used: 3610 bytes different data[0x14] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 35984 bytes Maximum variable size: 8132 bytes different data[0x14] - Currently used: 58 variables, storage used: 3610 bytes different data[0x15] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 35880 bytes Maximum variable size: 8132 bytes different data[0x15] - Currently used: 58 variables, storage used: 3610 bytes different data[0x16] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 35776 bytes Maximum variable size: 8132 bytes different data[0x16] - Currently used: 58 variables, storage used: 3610 bytes different data[0x17] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 35672 bytes Maximum variable size: 8132 bytes different data[0x17] - Currently used: 58 variables, storage used: 3610 bytes different data[0x18] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 35568 bytes Maximum variable size: 8132 bytes different data[0x18] - Currently used: 58 variables, storage used: 3610 bytes different data[0x19] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 35460 bytes Maximum variable size: 8132 bytes different data[0x19] - Currently used: 58 variables, storage used: 3610 bytes different data[0x20] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 35352 bytes Maximum variable size: 8132 bytes different data[0x20] - Currently used: 58 variables, storage used: 3610 bytes different data[0x21] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 35244 bytes Maximum variable size: 8132 bytes different data[0x21] - Currently used: 58 variables, storage used: 3610 bytes different data[0x22] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 35136 bytes Maximum variable size: 8132 bytes different data[0x22] - Currently used: 58 variables, storage used: 3610 bytes different data[0x23] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 35024 bytes Maximum variable size: 8132 bytes different data[0x23] - Currently used: 58 variables, storage used: 3610 bytes different data[0x24] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 34912 bytes Maximum variable size: 8132 bytes different data[0x24] - Currently used: 58 variables, storage used: 3610 bytes different data[0x25] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 34800 bytes Maximum variable size: 8132 bytes different data[0x25] - Currently used: 58 variables, storage used: 3610 bytes different data[0x26] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 34688 bytes Maximum variable size: 8132 bytes different data[0x26] - Currently used: 58 variables, storage used: 3610 bytes different data[0x27] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 34572 bytes Maximum variable size: 8132 bytes different data[0x27] - Currently used: 58 variables, storage used: 3610 bytes different data[0x28] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 34456 bytes Maximum variable size: 8132 bytes different data[0x28] - Currently used: 58 variables, storage used: 3610 bytes different data[0x29] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 34340 bytes Maximum variable size: 8132 bytes different data[0x29] - Currently used: 58 variables, storage used: 3610 bytes different data[0x30] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 34224 bytes Maximum variable size: 8132 bytes different data[0x30] - Currently used: 58 variables, storage used: 3610 bytes different data[0x31] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 34104 bytes Maximum variable size: 8132 bytes different data[0x31] - Currently used: 58 variables, storage used: 3610 bytes different data[0x32] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 33984 bytes Maximum variable size: 8132 bytes different data[0x32] - Currently used: 58 variables, storage used: 3610 bytes different data[0x33] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 33864 bytes Maximum variable size: 8132 bytes different data[0x33] - Currently used: 58 variables, storage used: 3610 bytes different data[0x34] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 33744 bytes Maximum variable size: 8132 bytes different data[0x34] - Currently used: 58 variables, storage used: 3610 bytes different data[0x35] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 33620 bytes Maximum variable size: 8132 bytes different data[0x35] - Currently used: 58 variables, storage used: 3610 bytes different data[0x36] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 33496 bytes Maximum variable size: 8132 bytes different data[0x36] - Currently used: 58 variables, storage used: 3610 bytes different data[0x37] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 33372 bytes Maximum variable size: 8132 bytes different data[0x37] - Currently used: 58 variables, storage used: 3610 bytes different data[0x38] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 33248 bytes Maximum variable size: 8132 bytes different data[0x38] - Currently used: 58 variables, storage used: 3610 bytes different data[0x39] - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 33120 bytes Maximum variable size: 8132 bytes different data[0x39] - Currently used: 58 variables, storage used: 3610 bytes PASSED: Test 6, Testing SetVariable on setting the variable with different data multiple times passed. End - different data - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 33120 bytes Maximum variable size: 8132 bytes End - different data - Currently used: 58 variables, storage used: 3610 bytes Testing SetVariable on setting the variable with different name 32 times. Set variable with different name - Index[0x0] Delete variable - Index[0x0] Set variable with different name - Index[0x1] Delete variable - Index[0x1] Set variable with different name - Index[0x2] Delete variable - Index[0x2] Set variable with different name - Index[0x3] Delete variable - Index[0x3] Set variable with different name - Index[0x4] Delete variable - Index[0x4] Set variable with different name - Index[0x5] Delete variable - Index[0x5] Set variable with different name - Index[0x6] Delete variable - Index[0x6] Set variable with different name - Index[0x7] Delete variable - Index[0x7] Set variable with different name - Index[0x8] Delete variable - Index[0x8] Set variable with different name - Index[0x9] Delete variable - Index[0x9] Set variable with different name - Index[0x10] Delete variable - Index[0x10] Set variable with different name - Index[0x11] Delete variable - Index[0x11] Set variable with different name - Index[0x12] Delete variable - Index[0x12] Set variable with different name - Index[0x13] Delete variable - Index[0x13] Set variable with different name - Index[0x14] Delete variable - Index[0x14] Set variable with different name - Index[0x15] Delete variable - Index[0x15] Set variable with different name - Index[0x16] Delete variable - Index[0x16] Set variable with different name - Index[0x17] Delete variable - Index[0x17] Set variable with different name - Index[0x18] Delete variable - Index[0x18] Set variable with different name - Index[0x19] Delete variable - Index[0x19] Set variable with different name - Index[0x20] Delete variable - Index[0x20] Set variable with different name - Index[0x21] Delete variable - Index[0x21] Set variable with different name - Index[0x22] Delete variable - Index[0x22] Set variable with different name - Index[0x23] Delete variable - Index[0x23] Set variable with different name - Index[0x24] Delete variable - Index[0x24] Set variable with different name - Index[0x25] Delete variable - Index[0x25] Set variable with different name - Index[0x26] Delete variable - Index[0x26] Set variable with different name - Index[0x27] Delete variable - Index[0x27] Set variable with different name - Index[0x28] Delete variable - Index[0x28] Set variable with different name - Index[0x29] Delete variable - Index[0x29] Set variable with different name - Index[0x30] Delete variable - Index[0x30] Set variable with different name - Index[0x31] Delete variable - Index[0x31] PASSED: Test 6, Testing SetVariable on setting the variable with different name multiple times passed. End - different Name - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 29728 bytes Maximum variable size: 8132 bytes End - different Name - Currently used: 58 variables, storage used: 3610 bytes Testing SetVariable on setting the variable with different name and data 1280 times. Set variable with different name2 - variablenamelength = 0x8. Set variable with different name2 - multitesttime = 0x10. Set variable with different name2 - Index[0x0] with different data[0x0] Delete variable2 - Index[0x0] with different data[0x0] Set variable with different name2 - Index[0x0] with different data[0x1] Delete variable2 - Index[0x0] with different data[0x1] Set variable with different name2 - Index[0x0] with different data[0x2] Delete variable2 - Index[0x0] with different data[0x2] Set variable with different name2 - Index[0x0] with different data[0x3] Delete variable2 - Index[0x0] with different data[0x3] Set variable with different name2 - Index[0x0] with different data[0x4] Delete variable2 - Index[0x0] with different data[0x4] Set variable with different name2 - Index[0x0] with different data[0x5] Delete variable2 - Index[0x0] with different data[0x5] Set variable with different name2 - Index[0x0] with different data[0x6] Delete variable2 - Index[0x0] with different data[0x6] Set variable with different name2 - Index[0x0] with different data[0x7] Delete variable2 - Index[0x0] with different data[0x7] Set variable with different name2 - Index[0x0] with different data[0x8] Delete variable2 - Index[0x0] with different data[0x8] Set variable with different name2 - Index[0x0] with different data[0x9] Delete variable2 - Index[0x0] with different data[0x9] Set variable with different name2 - Index[0x1] with different data[0x0] Delete variable2 - Index[0x1] with different data[0x0] Set variable with different name2 - Index[0x1] with different data[0x1] Delete variable2 - Index[0x1] with different data[0x1] Set variable with different name2 - Index[0x1] with different data[0x2] Delete variable2 - Index[0x1] with different data[0x2] Set variable with different name2 - Index[0x1] with different data[0x3] Delete variable2 - Index[0x1] with different data[0x3] Set variable with different name2 - Index[0x1] with different data[0x4] Delete variable2 - Index[0x1] with different data[0x4] Set variable with different name2 - Index[0x1] with different data[0x5] Delete variable2 - Index[0x1] with different data[0x5] Set variable with different name2 - Index[0x1] with different data[0x6] Delete variable2 - Index[0x1] with different data[0x6] Set variable with different name2 - Index[0x1] with different data[0x7] Delete variable2 - Index[0x1] with different data[0x7] Set variable with different name2 - Index[0x1] with different data[0x8] Delete variable2 - Index[0x1] with different data[0x8] Set variable with different name2 - Index[0x1] with different data[0x9] Delete variable2 - Index[0x1] with different data[0x9] Set variable with different name2 - Index[0x2] with different data[0x0] Delete variable2 - Index[0x2] with different data[0x0] Set variable with different name2 - Index[0x2] with different data[0x1] Delete variable2 - Index[0x2] with different data[0x1] Set variable with different name2 - Index[0x2] with different data[0x2] Delete variable2 - Index[0x2] with different data[0x2] Set variable with different name2 - Index[0x2] with different data[0x3] Delete variable2 - Index[0x2] with different data[0x3] Set variable with different name2 - Index[0x2] with different data[0x4] Delete variable2 - Index[0x2] with different data[0x4] Set variable with different name2 - Index[0x2] with different data[0x5] Delete variable2 - Index[0x2] with different data[0x5] Set variable with different name2 - Index[0x2] with different data[0x6] Delete variable2 - Index[0x2] with different data[0x6] Set variable with different name2 - Index[0x2] with different data[0x7] Delete variable2 - Index[0x2] with different data[0x7] Set variable with different name2 - Index[0x2] with different data[0x8] Delete variable2 - Index[0x2] with different data[0x8] Set variable with different name2 - Index[0x2] with different data[0x9] Delete variable2 - Index[0x2] with different data[0x9] Set variable with different name2 - Index[0x3] with different data[0x0] Delete variable2 - Index[0x3] with different data[0x0] Set variable with different name2 - Index[0x3] with different data[0x1] Delete variable2 - Index[0x3] with different data[0x1] Set variable with different name2 - Index[0x3] with different data[0x2] Delete variable2 - Index[0x3] with different data[0x2] Set variable with different name2 - Index[0x3] with different data[0x3] Delete variable2 - Index[0x3] with different data[0x3] Set variable with different name2 - Index[0x3] with different data[0x4] Delete variable2 - Index[0x3] with different data[0x4] Set variable with different name2 - Index[0x3] with different data[0x5] Delete variable2 - Index[0x3] with different data[0x5] Set variable with different name2 - Index[0x3] with different data[0x6] Delete variable2 - Index[0x3] with different data[0x6] Set variable with different name2 - Index[0x3] with different data[0x7] Delete variable2 - Index[0x3] with different data[0x7] Set variable with different name2 - Index[0x3] with different data[0x8] Delete variable2 - Index[0x3] with different data[0x8] Set variable with different name2 - Index[0x3] with different data[0x9] Delete variable2 - Index[0x3] with different data[0x9] Set variable with different name2 - Index[0x4] with different data[0x0] Delete variable2 - Index[0x4] with different data[0x0] Set variable with different name2 - Index[0x4] with different data[0x1] Delete variable2 - Index[0x4] with different data[0x1] Set variable with different name2 - Index[0x4] with different data[0x2] Delete variable2 - Index[0x4] with different data[0x2] Set variable with different name2 - Index[0x4] with different data[0x3] Delete variable2 - Index[0x4] with different data[0x3] Set variable with different name2 - Index[0x4] with different data[0x4] Delete variable2 - Index[0x4] with different data[0x4] Set variable with different name2 - Index[0x4] with different data[0x5] Delete variable2 - Index[0x4] with different data[0x5] Set variable with different name2 - Index[0x4] with different data[0x6] Delete variable2 - Index[0x4] with different data[0x6] Set variable with different name2 - Index[0x4] with different data[0x7] Delete variable2 - Index[0x4] with different data[0x7] Set variable with different name2 - Index[0x4] with different data[0x8] Delete variable2 - Index[0x4] with different data[0x8] Set variable with different name2 - Index[0x4] with different data[0x9] Delete variable2 - Index[0x4] with different data[0x9] Set variable with different name2 - Index[0x5] with different data[0x0] Delete variable2 - Index[0x5] with different data[0x0] Set variable with different name2 - Index[0x5] with different data[0x1] Delete variable2 - Index[0x5] with different data[0x1] Set variable with different name2 - Index[0x5] with different data[0x2] Delete variable2 - Index[0x5] with different data[0x2] Set variable with different name2 - Index[0x5] with different data[0x3] Delete variable2 - Index[0x5] with different data[0x3] Set variable with different name2 - Index[0x5] with different data[0x4] Delete variable2 - Index[0x5] with different data[0x4] Set variable with different name2 - Index[0x5] with different data[0x5] Delete variable2 - Index[0x5] with different data[0x5] Set variable with different name2 - Index[0x5] with different data[0x6] Delete variable2 - Index[0x5] with different data[0x6] Set variable with different name2 - Index[0x5] with different data[0x7] Delete variable2 - Index[0x5] with different data[0x7] Set variable with different name2 - Index[0x5] with different data[0x8] Delete variable2 - Index[0x5] with different data[0x8] Set variable with different name2 - Index[0x5] with different data[0x9] Delete variable2 - Index[0x5] with different data[0x9] Set variable with different name2 - Index[0x6] with different data[0x0] Delete variable2 - Index[0x6] with different data[0x0] Set variable with different name2 - Index[0x6] with different data[0x1] Delete variable2 - Index[0x6] with different data[0x1] Set variable with different name2 - Index[0x6] with different data[0x2] Delete variable2 - Index[0x6] with different data[0x2] Set variable with different name2 - Index[0x6] with different data[0x3] Delete variable2 - Index[0x6] with different data[0x3] Set variable with different name2 - Index[0x6] with different data[0x4] Delete variable2 - Index[0x6] with different data[0x4] Set variable with different name2 - Index[0x6] with different data[0x5] Delete variable2 - Index[0x6] with different data[0x5] Set variable with different name2 - Index[0x6] with different data[0x6] Delete variable2 - Index[0x6] with different data[0x6] Set variable with different name2 - Index[0x6] with different data[0x7] Delete variable2 - Index[0x6] with different data[0x7] Set variable with different name2 - Index[0x6] with different data[0x8] Delete variable2 - Index[0x6] with different data[0x8] Set variable with different name2 - Index[0x6] with different data[0x9] Delete variable2 - Index[0x6] with different data[0x9] Set variable with different name2 - Index[0x7] with different data[0x0] Delete variable2 - Index[0x7] with different data[0x0] Set variable with different name2 - Index[0x7] with different data[0x1] Delete variable2 - Index[0x7] with different data[0x1] Set variable with different name2 - Index[0x7] with different data[0x2] Delete variable2 - Index[0x7] with different data[0x2] Set variable with different name2 - Index[0x7] with different data[0x3] Delete variable2 - Index[0x7] with different data[0x3] Set variable with different name2 - Index[0x7] with different data[0x4] Delete variable2 - Index[0x7] with different data[0x4] Set variable with different name2 - Index[0x7] with different data[0x5] Delete variable2 - Index[0x7] with different data[0x5] Set variable with different name2 - Index[0x7] with different data[0x6] Delete variable2 - Index[0x7] with different data[0x6] Set variable with different name2 - Index[0x7] with different data[0x7] Delete variable2 - Index[0x7] with different data[0x7] Set variable with different name2 - Index[0x7] with different data[0x8] Delete variable2 - Index[0x7] with different data[0x8] Set variable with different name2 - Index[0x7] with different data[0x9] Delete variable2 - Index[0x7] with different data[0x9] PASSED: Test 6, Testing SetVariable on setting the variable with different name and data multiple times passed. End - different Name and Data - UEFI NVRAM storage: Maximum storage: 57244 bytes Remaining storage: 22768 bytes Maximum variable size: 8132 bytes End - different Name and Data - Currently used: 58 variables, storage used: 3610 bytes Test 7 of 9: Test UEFI RT service query variable info interface stress test. Testing QueryVariableInfo on querying the variable 1024 times. PASSED: Test 7, UEFI runtime service query variable info interface stress test passed. Test 8 of 9: Test UEFI RT service get variable interface, invalid parameters. Testing GetVariable with NULL variable name. PASSED: Test 8, GetVariable with NULL variable name returned error EFI_INVALID_PARAMETER as expected. Testing GetVariable with NULL vendor GUID. PASSED: Test 8, GetVariable with NULL vendor GUID returned error EFI_INVALID_PARAMETER as expected. Testing GetVariable with NULL datasize. PASSED: Test 8, GetVariable with NULL datasize returned error EFI_INVALID_PARAMETER as expected. Testing GetVariable with NULL data. PASSED: Test 8, GetVariable with NULL data returned error EFI_INVALID_PARAMETER as expected. Testing GetVariable with NULL variable name, vendor GUID, datasize and data. PASSED: Test 8, GetVariable with NULL variable name, vendor GUID, datasize and data returned error EFI_INVALID_PARAMETER as expected. Test 9 of 9: Test UEFI RT variable services unsupported status. SKIPPED: Test 9, SetVariable runtime service supported, skip test. SKIPPED: Test 9, GetVariable runtime service supported, skip test. SKIPPED: Test 9, GetNextVarName runtime service supported, skip test. SKIPPED: Test 9, QueryVarInfo runtime service supported, skip test. ================================================================================ 26 passed, 0 failed, 0 warning, 0 aborted, 4 skipped, 0 info only. ================================================================================ 26 passed, 0 failed, 0 warning, 0 aborted, 4 skipped, 0 info only. Test Failure Summary ================================================================================ Critical failures: NONE High failures: NONE Medium failures: NONE Low failures: NONE Other failures: NONE Test |Pass |Fail |Abort|Warn |Skip |Info | ---------------+-----+-----+-----+-----+-----+-----+ uefirtvariable | 26| | | | 4| | ---------------+-----+-----+-----+-----+-----+-----+ Total: | 26| 0| 0| 0| 4| 0| ---------------+-----+-----+-----+-----+-----+-----+ sunny@sunnysrv:/mnt/usb/fwts2007_MulVarWrtOnly2DbgMsgFixQueryVarInfo2Dbg2_output$ sudo ./bin/fwts uefirttime -r stdout -q sudo ./bin/fwts uefirttime -r stdout -q [sudo] password for sunny: Arm ACS Version: v0.9_BETA Results generated by fwts: Version V21.06.00 (2021-06-21 05:43:14). Some of this work - Copyright (c) 1999 - 2021, Intel Corp. All rights reserved. Some of this work - Copyright (c) 2010 - 2021, Canonical. Some of this work - Copyright (c) 2016 - 2021, IBM. Some of this work - Copyright (c) 2017 - 2021, ARM Ltd. This test run on 16/06/21 at 19:14:03 on host Linux sunnysrv 5.11.0-16-generic #17-Ubuntu SMP Wed Apr 14 20:10:16 UTC 2021 aarch64. Command: "fwts -r stdout -q uefirttime". Running tests: uefirttime. uefirttime: UEFI Runtime service time interface tests. -------------------------------------------------------------------------------- uefirttime_init: runtimeservicessupported = 0x3fff. Test 1 of 36: Test UEFI RT service get time interface. PASSED: Test 1, UEFI runtime service GetTime interface test passed. Test 2 of 36: Test UEFI RT service get time interface, NULL time parameter. PASSED: Test 2, UEFI runtime service GetTime interface test passed, returned EFI_INVALID_PARAMETER as expected. Test 3 of 36: Test UEFI RT service get time interface, NULL time and NULL capabilities parameters. PASSED: Test 3, UEFI runtime service GetTime interface test passed, returned EFI_INVALID_PARAMETER as expected. Test 4 of 36: Test UEFI RT service set time interface. FAILED [HIGH] UEFIRuntimeSetTime: Test 4, Failed to set time with UEFI runtime service. Return status: EFI_INVALID_PARAMETER. A parameter was incorrect. Test 5 of 36: Test UEFI RT service set time interface, invalid year 1899. Before uefirttime_test_settime_invalid settime.status = 0x0. PASSED: Test 5, UEFI runtime service SetTime interface test passed, returned EFI_INVALID_PARAMETER as expected. Before EFI_RUNTIME_SET_TIME settime.status = 0xffffffffffffffff. After EFI_RUNTIME_SET_TIME settime.status = 0x8000000000000002. FAILED [HIGH] UEFIRuntimeSetTime: Test 5, Failed to set time with UEFI runtime service. Return status: EFI_INVALID_PARAMETER. A parameter was incorrect. Test 6 of 36: Test UEFI RT service set time interface, invalid year 10000. Before uefirttime_test_settime_invalid settime.status = 0x0. PASSED: Test 6, UEFI runtime service SetTime interface test passed, returned EFI_INVALID_PARAMETER as expected. Before EFI_RUNTIME_SET_TIME settime.status = 0xffffffffffffffff. After EFI_RUNTIME_SET_TIME settime.status = 0x8000000000000002. FAILED [HIGH] UEFIRuntimeSetTime: Test 6, Failed to set time with UEFI runtime service. Return status: EFI_INVALID_PARAMETER. A parameter was incorrect. Test 7 of 36: Test UEFI RT service set time interface, invalid month 0. Before uefirttime_test_settime_invalid settime.status = 0x0. PASSED: Test 7, UEFI runtime service SetTime interface test passed, returned EFI_INVALID_PARAMETER as expected. Before EFI_RUNTIME_SET_TIME settime.status = 0xffffffffffffffff. After EFI_RUNTIME_SET_TIME settime.status = 0x8000000000000002. FAILED [HIGH] UEFIRuntimeSetTime: Test 7, Failed to set time with UEFI runtime service. Return status: EFI_INVALID_PARAMETER. A parameter was incorrect. Test 8 of 36: Test UEFI RT service set time interface, invalid month 13. Before uefirttime_test_settime_invalid settime.status = 0x0. PASSED: Test 8, UEFI runtime service SetTime interface test passed, returned EFI_INVALID_PARAMETER as expected. Before EFI_RUNTIME_SET_TIME settime.status = 0xffffffffffffffff. After EFI_RUNTIME_SET_TIME settime.status = 0x8000000000000002. FAILED [HIGH] UEFIRuntimeSetTime: Test 8, Failed to set time with UEFI runtime service. Return status: EFI_INVALID_PARAMETER. A parameter was incorrect. Test 9 of 36: Test UEFI RT service set time interface, invalid day 0. Before uefirttime_test_settime_invalid settime.status = 0x0. PASSED: Test 9, UEFI runtime service SetTime interface test passed, returned EFI_INVALID_PARAMETER as expected. Before EFI_RUNTIME_SET_TIME settime.status = 0xffffffffffffffff. After EFI_RUNTIME_SET_TIME settime.status = 0x8000000000000002. FAILED [HIGH] UEFIRuntimeSetTime: Test 9, Failed to set time with UEFI runtime service. Return status: EFI_INVALID_PARAMETER. A parameter was incorrect. Test 10 of 36: Test UEFI RT service set time interface, invalid day 32. Before uefirttime_test_settime_invalid settime.status = 0x0. PASSED: Test 10, UEFI runtime service SetTime interface test passed, returned EFI_INVALID_PARAMETER as expected. Before EFI_RUNTIME_SET_TIME settime.status = 0xffffffffffffffff. After EFI_RUNTIME_SET_TIME settime.status = 0x8000000000000002. FAILED [HIGH] UEFIRuntimeSetTime: Test 10, Failed to set time with UEFI runtime service. Return status: EFI_INVALID_PARAMETER. A parameter was incorrect. Test 11 of 36: Test UEFI RT service set time interface, invalid hour 24. Before uefirttime_test_settime_invalid settime.status = 0x0. PASSED: Test 11, UEFI runtime service SetTime interface test passed, returned EFI_INVALID_PARAMETER as expected. Before EFI_RUNTIME_SET_TIME settime.status = 0xffffffffffffffff. After EFI_RUNTIME_SET_TIME settime.status = 0x8000000000000002. FAILED [HIGH] UEFIRuntimeSetTime: Test 11, Failed to set time with UEFI runtime service. Return status: EFI_INVALID_PARAMETER. A parameter was incorrect. Test 12 of 36: Test UEFI RT service set time interface, invalid minute 60. Before uefirttime_test_settime_invalid settime.status = 0x0. PASSED: Test 12, UEFI runtime service SetTime interface test passed, returned EFI_INVALID_PARAMETER as expected. Before EFI_RUNTIME_SET_TIME settime.status = 0xffffffffffffffff. After EFI_RUNTIME_SET_TIME settime.status = 0x8000000000000002. FAILED [HIGH] UEFIRuntimeSetTime: Test 12, Failed to set time with UEFI runtime service. Return status: EFI_INVALID_PARAMETER. A parameter was incorrect. Test 13 of 36: Test UEFI RT service set time interface, invalid second 60. Before uefirttime_test_settime_invalid settime.status = 0x0. PASSED: Test 13, UEFI runtime service SetTime interface test passed, returned EFI_INVALID_PARAMETER as expected. Before EFI_RUNTIME_SET_TIME settime.status = 0xffffffffffffffff. After EFI_RUNTIME_SET_TIME settime.status = 0x8000000000000002. FAILED [HIGH] UEFIRuntimeSetTime: Test 13, Failed to set time with UEFI runtime service. Return status: EFI_INVALID_PARAMETER. A parameter was incorrect. Test 14 of 36: Test UEFI RT service set time interface, invalid nanosecond 1000000000. Before uefirttime_test_settime_invalid settime.status = 0x0. PASSED: Test 14, UEFI runtime service SetTime interface test passed, returned EFI_INVALID_PARAMETER as expected. Before EFI_RUNTIME_SET_TIME settime.status = 0xffffffffffffffff. After EFI_RUNTIME_SET_TIME settime.status = 0x8000000000000002. FAILED [HIGH] UEFIRuntimeSetTime: Test 14, Failed to set time with UEFI runtime service. Return status: EFI_INVALID_PARAMETER. A parameter was incorrect. Test 15 of 36: Test UEFI RT service set time interface, invalid timezone -1441. Before uefirttime_test_settime_invalid settime.status = 0x0. PASSED: Test 15, UEFI runtime service SetTime interface test passed, returned EFI_INVALID_PARAMETER as expected. Before EFI_RUNTIME_SET_TIME settime.status = 0xffffffffffffffff. After EFI_RUNTIME_SET_TIME settime.status = 0x8000000000000002. FAILED [HIGH] UEFIRuntimeSetTime: Test 15, Failed to set time with UEFI runtime service. Return status: EFI_INVALID_PARAMETER. A parameter was incorrect. Test 16 of 36: Test UEFI RT service set time interface, invalid timezone 1441. Before uefirttime_test_settime_invalid settime.status = 0x0. PASSED: Test 16, UEFI runtime service SetTime interface test passed, returned EFI_INVALID_PARAMETER as expected. Before EFI_RUNTIME_SET_TIME settime.status = 0xffffffffffffffff. After EFI_RUNTIME_SET_TIME settime.status = 0x8000000000000002. FAILED [HIGH] UEFIRuntimeSetTime: Test 16, Failed to set time with UEFI runtime service. Return status: EFI_INVALID_PARAMETER. A parameter was incorrect. Test 17 of 36: Test UEFI RT service get wakeup time interface. SKIPPED: Test 17, Skipping test, GetWakeupTime runtime service is not supported on this platform. Test 18 of 36: Test UEFI RT service get wakeup time interface, NULL enabled parameter. PASSED: Test 18, UEFI runtime service GetTimeWakeupTime interface test passed, returned EFI_INVALID_PARAMETER as expected. Test 19 of 36: Test UEFI RT service get wakeup time interface, NULL pending parameter. PASSED: Test 19, UEFI runtime service GetTimeWakeupTime interface test passed, returned EFI_INVALID_PARAMETER as expected. Test 20 of 36: Test UEFI RT service get wakeup time interface, NULL time parameter. PASSED: Test 20, UEFI runtime service GetTimeWakeupTime interface test passed, returned EFI_INVALID_PARAMETER as expected. Test 21 of 36: Test UEFI RT service get wakeup time interface, NULL enabled, pending and time parameters. PASSED: Test 21, UEFI runtime service GetTimeWakeupTime interface test passed, returned EFI_INVALID_PARAMETER as expected. Test 22 of 36: Test UEFI RT service set wakeup time interface. SKIPPED: Test 22, Skipping test, SetWakeupTime runtime service is not supported on this platform. Test 23 of 36: Test UEFI RT service set wakeup time interface, NULL time parameter. SKIPPED: Test 23, Skipping test, SetWakeupTime runtime service is not supported on this platform. Test 24 of 36: Test UEFI RT service set wakeup time interface, invalid year 1899. SKIPPED: Test 24, Skipping test, GetWakeupTime runtime service is not supported on this platform. Test 25 of 36: Test UEFI RT service set wakeup time interface, invalid year 10000. SKIPPED: Test 25, Skipping test, GetWakeupTime runtime service is not supported on this platform. Test 26 of 36: Test UEFI RT service set wakeup time interface, invalid month 0. SKIPPED: Test 26, Skipping test, GetWakeupTime runtime service is not supported on this platform. Test 27 of 36: Test UEFI RT service set wakeup time interface, invalid month 13. SKIPPED: Test 27, Skipping test, GetWakeupTime runtime service is not supported on this platform. Test 28 of 36: Test UEFI RT service set wakeup time interface, invalid day 0. SKIPPED: Test 28, Skipping test, GetWakeupTime runtime service is not supported on this platform. Test 29 of 36: Test UEFI RT service set wakeup time interface, invalid day 32. SKIPPED: Test 29, Skipping test, GetWakeupTime runtime service is not supported on this platform. Test 30 of 36: Test UEFI RT service set wakeup time interface, invalid hour 24. SKIPPED: Test 30, Skipping test, GetWakeupTime runtime service is not supported on this platform. Test 31 of 36: Test UEFI RT service set wakeup time interface, invalid minute 60. SKIPPED: Test 31, Skipping test, GetWakeupTime runtime service is not supported on this platform. Test 32 of 36: Test UEFI RT service set wakeup time interface, invalid second 60. SKIPPED: Test 32, Skipping test, GetWakeupTime runtime service is not supported on this platform. Test 33 of 36: Test UEFI RT service set wakeup time interface, invalid nanosecond 1000000000. SKIPPED: Test 33, Skipping test, GetWakeupTime runtime service is not supported on this platform. Test 34 of 36: Test UEFI RT service set wakeup time interface, invalid timezone -1441. SKIPPED: Test 34, Skipping test, GetWakeupTime runtime service is not supported on this platform. Test 35 of 36: Test UEFI RT service set wakeup time interface, invalid timezone 1441. SKIPPED: Test 35, Skipping test, GetWakeupTime runtime service is not supported on this platform. Test 36 of 36: Test UEFI RT time services unsupported status. SKIPPED: Test 36, GetTime runtime service supported, skip test. SKIPPED: Test 36, SetTime runtime service supported, skip test. SKIPPED: Test 36, SetWakeupTime runtime service supported, skip test. SKIPPED: Test 36, GetWakeupTime runtime service supported, skip test. ================================================================================ 19 passed, 13 failed, 0 warning, 0 aborted, 19 skipped, 0 info only. ================================================================================ 19 passed, 13 failed, 0 warning, 0 aborted, 19 skipped, 0 info only. Test Failure Summary ================================================================================ Critical failures: NONE High failures: 1 uefirttime: Failed to set time with UEFI runtime service. Medium failures: NONE Low failures: NONE Other failures: NONE Test |Pass |Fail |Abort|Warn |Skip |Info | ---------------+-----+-----+-----+-----+-----+-----+ uefirttime | 19| 13| | | 19| | ---------------+-----+-----+-----+-----+-----+-----+ Total: | 19| 13| 0| 0| 19| 0| ---------------+-----+-----+-----+-----+-----+-----+