TC_OPCREDS_3_1 test failing matter over Thread door lock NCS 2.7.0

[MatterTest] 05-28 11:55:12.836 INFO ***** Test Step 33 : TH1 reconnects to the DUT over PASE
[MatterTest] 05-28 11:55:12.837 INFO StopPairing called for node ID 0x0000000012344322
[MatterTest] 05-28 11:55:12.838 INFO SecureSession[0xffff680542b0, LSID:57873]: State change 'kActive' --> 'kPendingEviction'
[MatterTest] 05-28 11:55:12.852 INFO Avahi browse: cache exhausted
[MatterTest] 05-28 11:55:13.853 INFO Avahi browse: all for now
[MatterTest] 05-28 11:55:14.869 INFO Avahi browse: cache new
[MatterTest] 05-28 11:55:14.870 INFO Avahi browse: cache new
[MatterTest] 05-28 11:55:14.871 INFO Avahi browse: cache new
[MatterTest] 05-28 11:55:14.872 INFO Avahi browse: cache new
[MatterTest] 05-28 11:55:14.873 INFO Avahi browse: cache new
[MatterTest] 05-28 11:55:14.873 INFO Avahi browse: cache new
[MatterTest] 05-28 11:55:14.874 INFO Avahi browse: cache new
[MatterTest] 05-28 11:55:14.875 INFO Avahi browse: cache new
[MatterTest] 05-28 11:55:14.876 INFO Avahi browse: cache new
[MatterTest] 05-28 11:55:14.876 INFO Avahi browse: cache new
[MatterTest] 05-28 11:55:14.877 INFO Avahi browse: cache new
[MatterTest] 05-28 11:55:14.878 INFO Avahi browse: cache new
[MatterTest] 05-28 11:55:14.879 INFO Avahi browse: cache new
[MatterTest] 05-28 11:55:14.879 INFO Avahi browse: cache exhausted
[MatterTest] 05-28 11:55:15.378 INFO Avahi browse: remove
[MatterTest] 05-28 11:55:15.379 INFO Avahi browse: remove
[MatterTest] 05-28 11:55:15.380 INFO Avahi browse: remove
[MatterTest] 05-28 11:55:15.381 INFO Avahi browse: remove
[MatterTest] 05-28 11:55:15.382 INFO Avahi browse: remove
[MatterTest] 05-28 11:55:15.383 INFO Avahi browse: remove
[MatterTest] 05-28 11:55:15.384 INFO Avahi browse: remove
[MatterTest] 05-28 11:55:15.385 INFO Avahi browse: remove
[MatterTest] 05-28 11:55:15.386 INFO Avahi browse: remove
[MatterTest] 05-28 11:55:15.386 INFO Avahi browse: remove
[MatterTest] 05-28 11:55:15.387 INFO Avahi browse: remove
[MatterTest] 05-28 11:55:15.388 INFO Avahi browse: remove
[MatterTest] 05-28 11:55:15.388 INFO Avahi browse: remove
[MatterTest] 05-28 11:55:15.872 INFO Avahi browse: all for now
[MatterTest] 05-28 11:55:17.848 ERROR Exception occurred in test_TC_OPCREDS_3_1.
Traceback (most recent call last):
  File "/root/python_testing/scripts/sdk/TC_OPCREDS_3_1.py", line 345, in test_TC_OPCREDS_3_1
    self.FindAndEstablishPase(dev_ctrl=TH1, longDiscriminator=longDiscriminator,
  File "/root/python_testing/scripts/sdk/TC_OPCREDS_3_1.py", line 40, in FindAndEstablishPase
    device = next(filter(lambda d: d.commissioningMode ==
StopIteration

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/mobly/base_test.py", line 783, in exec_one_test
    test_method()
  File "/root/python_testing/scripts/sdk/matter_testing_support.py", line 1547, in async_runner
    return asyncio.run(runner_with_timeout)
  File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/usr/lib/python3.10/asyncio/tasks.py", line 445, in wait_for
    return fut.result()
RuntimeError: coroutine raised StopIteration
[MatterTest] 05-28 11:55:17.860 INFO [Test] test_TC_OPCREDS_3_1 ERROR
[MatterTest] 05-28 11:55:17.871 INFO Summary for test class TC_OPCREDS_3_1: Error 1, Executed 1, Failed 0, Passed 0, Requested 1, Skipped 0
[MatterTest] 05-28 11:55:17.873 INFO Summary for test run MatterTest@05-28-2025_11-54-54-369:
Total time elapsed 23.45335610298207s
Artifacts are saved in "/tmp/matter_testing/logs/MatterTest/05-28-2025_11-54-54-369"
Test summary saved in "/tmp/matter_testing/logs/MatterTest/05-28-2025_11-54-54-369/test_summary.yaml"
Test results: Error 1, Executed 1, Failed 0, Passed 0, Requested 1, Skipped 0

INFO       | 2025-05-28 11:55:17.895754 | ---- End of Python test logs ----
INFO       | 2025-05-28 11:55:17.898860 | Test Step Completed [PASSED]: Show test logs
INFO       | 2025-05-28 11:55:19.016881 | Test Cleanup
INFO       | 2025-05-28 11:55:19.018882 | Test Case Completed[FAILED]: TC-OPCREDS-3.1
INFO       | 2025-05-28 11:55:19.022096 | Suite Cleanup
INFO       | 2025-05-28 11:55:19.023456 | Stopping SDK container
INFO       | 2025-05-28 11:55:19.388641 | Test Suite Completed [FAILED]: Python Testing Suite - Legacy
INFO       | 2025-05-28 11:55:19.391494 | Test Run Completed [FAILED]
tc-opcred-3-1_2025_05_28_16_49_46.log

Related