[MatterTest] 09-25 08:50:35.568 INFO ***** Test Step 2.3 : TH extracts the Authority Key Identifier from the PAI certificate
[MatterTest] 09-25 08:50:35.568 INFO ***** Test Step 2.3 : TH extracts the Authority Key Identifier from the PAI certificate
[MatterTest] 09-25 08:50:35.569 INFO DUT 2 Step 3 check 1: Ensure PAI's AKID matches a PAA and signature is valid
[MatterTest] 09-25 08:50:35.569 INFO Matched PAA file Chip-PAA-Cert.der, subject: <Name(CN=Matter Development PAA 01,1.3.6.1.4.1.37244.2.1=1568)>
[MatterTest] 09-25 08:50:35.570 INFO Validated PAI signature against PAA
[MatterTest] 09-25 08:50:35.571 INFO DUT 2 Step 3 check 2: Verify PAI AKID not in denylist of SDK PAIs
[MatterTest] 09-25 08:50:35.571 INFO ***** Test Step 2.4 : TH extracts ASN.1 DER bytes for the entire issuer field of `dac_cert` and subject field of `pai_cert`.
[MatterTest] 09-25 08:50:35.572 INFO ***** Test Step 2.4 : TH extracts ASN.1 DER bytes for the entire issuer field of `dac_cert` and subject field of `pai_cert`.
[MatterTest] 09-25 08:50:35.572 INFO ***** Test Step 2.5 : TH extracts ASN.1 DER bytes for the entire issuer field of `pai_cert` and subject field of `paa_cert`.
[MatterTest] 09-25 08:50:35.573 INFO ***** Test Step 2.5 : TH extracts ASN.1 DER bytes for the entire issuer field of `pai_cert` and subject field of `paa_cert`.
[MatterTest] 09-25 08:50:35.573 INFO ***** Test Step 2.6 : TH extracts the public key from the DAC and saves as `pk_2`.
[MatterTest] 09-25 08:50:35.574 INFO ***** Test Step 2.6 : TH extracts the public key from the DAC and saves as `pk_2`.
[MatterTest] 09-25 08:50:35.574 INFO Subject public key pk: 04f848099562c49204e8361b57f245f8b73ea7dc3e3c51b8625f882c1a9e58770c57c3a23b9eac9d78ba87a6fb28ac53d946a00d962e61e298d88b270451f5a9e9
[MatterTest] 09-25 08:50:35.577 INFO ***** Test Step 3 : Verify that `pk_1` is not equal to `pk_2
[MatterTest] 09-25 08:50:35.577 INFO ***** Test Step 3 : Verify that `pk_1` is not equal to `pk_2
[MatterTest] 09-25 08:50:35.578 ERROR Exception occurred in test_TC_DA_1_7.
Traceback (most recent call last):
File "/usr/local/lib/python3.12/dist-packages/mobly/base_test.py", line 818, in exec_one_test
test_method()
File "/root/python_testing/scripts/sdk/matter_testing_support.py", line 2134, in async_runner
return _async_runner(body, self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/python_testing/scripts/sdk/matter_testing_support.py", line 2122, in _async_runner
return asyncio.run(runner_with_timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/tasks.py", line 520, in wait_for
return await fut
^^^^^^^^^
File "/root/python_testing/scripts/sdk/TC_DA_1_7.py", line 186, in test_TC_DA_1_7
asserts.assert_equal(len(pk), len(set(pk)), "Found matching public keys in different DUTs")
File "/usr/local/lib/python3.12/dist-packages/mobly/asserts.py", line 66, in assert_equal
_call_unittest_assertion(
File "/usr/local/lib/python3.12/dist-packages/mobly/asserts.py", line 50, in _call_unittest_assertion
raise signals.TestFailure(my_msg, extras=extras)
mobly.signals.TestFailure: Details=2 != 1 Found matching public keys in different DUTs, Extras=None
[MatterTest] 09-25 08:50:35.589 INFO ***** Test Failure :
[MatterTest] 09-25 08:50:35.589 INFO Finished test in 2936246.0ms
How to generate unique keys for different devices using same certs: