<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Matter Test Harness Python tests failing commissioning</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124607/matter-test-harness-python-tests-failing-commissioning</link><description>Hi, 
 I have now run most of the YAML test successfully on the Matter TH and while I usually need to restart the TH between runs it seems fairly reliable now. Before sending to certification labs I also wanted to run the IDM-10.4 (and other IDM tests</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 13 Oct 2025 07:52:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124607/matter-test-harness-python-tests-failing-commissioning" /><item><title>RE: Matter Test Harness Python tests failing commissioning</title><link>https://devzone.nordicsemi.com/thread/551223?ContentTypeID=1</link><pubDate>Mon, 13 Oct 2025 07:52:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a19d420-6903-4062-963b-5f7fab6aa0ee</guid><dc:creator>Tiit</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;I have the DUT setup parameters defined like this right now:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;quot;dut_config&amp;quot;: {
      &amp;quot;discriminator&amp;quot;: &amp;quot;1&amp;quot;,
      &amp;quot;setup_code&amp;quot;: &amp;quot;20250926&amp;quot;,
      &amp;quot;pairing_mode&amp;quot;: &amp;quot;ble-thread&amp;quot;,
      &amp;quot;chip_timeout&amp;quot;: null,
      &amp;quot;chip_use_paa_certs&amp;quot;: false,
      &amp;quot;trace_log&amp;quot;: true,
      &amp;quot;enhanced_setup_flow&amp;quot;: null
    }&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Where in this structure should I add the setup payload part?&lt;/p&gt;
&lt;p&gt;I eventually got the Python test to run. I was working on another issue (ZAP tool forces some attributes to use External storage and that causes reading the Feature Map attribute to error out) and fixing that seems to have fixed this here too for now. I don&amp;#39;t have time to test this theory but my gut says that if a Feature Map read fails the whole test will fail with no real description of what went wrong.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We can consider this closed as I&amp;#39;m moving on to other issues now.&lt;/p&gt;
&lt;p&gt;Tiit&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Test Harness Python tests failing commissioning</title><link>https://devzone.nordicsemi.com/thread/550476?ContentTypeID=1</link><pubDate>Thu, 02 Oct 2025 12:19:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:271ffac3-6136-4ac3-aaf4-1362b187e47c</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;&lt;span&gt;Please share the logs from running the test one by one, since the provided logs look like you tried to commission the device, which is already commissioned.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Also, don&amp;#39;t know what the discriminator and setupin code of the device, suggest to test_paramters (in Test Harness project) adds&lt;/p&gt;
&lt;p&gt;&amp;quot;payload&amp;quot;: &amp;quot;&amp;lt;qr code payload e.g.MT:QJL14UDB00JO.86CO00&amp;gt;&amp;quot;,&lt;br /&gt; &amp;nbsp;&amp;quot;bool-arg&amp;quot;: &amp;quot;use_pase_only:false&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Test Harness Python tests failing commissioning</title><link>https://devzone.nordicsemi.com/thread/550290?ContentTypeID=1</link><pubDate>Wed, 01 Oct 2025 06:54:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c39d3d7-5284-44ff-8e5c-a5bd3794f459</guid><dc:creator>Tiit</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I already tried all that. The TH is so bad at running multiple tests in a row that I always just select one and factory reset my device and also power cycle the whole TH just to get some sort of stability even with the YAML tests.&lt;/p&gt;
&lt;p&gt;But with the Python tests I have not been able to successfully commission the device even once. I&amp;#39;m not sure why that would be as nothing else changed. I&amp;#39;m using the exact same code on my device. I&amp;#39;m using the exact same TH. Same positioning of the devices. And I can reliably get YAML tests to work and just as reliably Python to fail. chip-tool works nicely and I can read and write all the clusters that I have tried.&lt;/p&gt;
&lt;p&gt;Tiit&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Test Harness Python tests failing commissioning</title><link>https://devzone.nordicsemi.com/thread/550184?ContentTypeID=1</link><pubDate>Tue, 30 Sep 2025 12:52:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97204b95-e241-44f7-bbdd-b3c1d8e062fe</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Try to perform a factory reset on the device between each test case and complete commissioning (based on Test Harness prompts), or keep the device commissioned and select the correct answers to the prompts at the beginning of each test case.&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Test Harness Python tests failing commissioning</title><link>https://devzone.nordicsemi.com/thread/549855?ContentTypeID=1</link><pubDate>Fri, 26 Sep 2025 06:28:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b73bd41-60d0-4e2d-9a3d-02270ea68795</guid><dc:creator>Tiit</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using 3.0.1. And TH&amp;nbsp;Version: v2.12+spring2025.&lt;/p&gt;
&lt;p&gt;I did see that post and according to&amp;nbsp;&lt;a id="" href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/protocols/matter/index.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/protocols/matter/index.html&lt;/a&gt;&amp;nbsp;I should have the right version of everything. Withe 3.0.1 I should be using Matter 1.4.1 and that is specified to work with TH&amp;nbsp;v2.12+spring2025.&lt;/p&gt;
&lt;p&gt;Tiit&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Test Harness Python tests failing commissioning</title><link>https://devzone.nordicsemi.com/thread/549815?ContentTypeID=1</link><pubDate>Thu, 25 Sep 2025 13:30:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8aab0f24-de43-4c29-ad6e-ff8d8b27b76c</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What NCS version are you using?&lt;/p&gt;
&lt;p&gt;It&amp;#39;s worth&amp;nbsp;checking out&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/124057/matter-test-harness-tests-hang-or-fail-to-commission-rpi5-nrf52840-rcp-ncs-3-0-2/548255"&gt;this post&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>