connectedhomeip
connectedhomeip copied to clipboard
[Pre-SVE] TC-SU 2.8 when OTA Provider commissioned first, does not let second commissioner commission to the DUT
SHA: 1e3f12041013dd71a53d035dbf2f6d142fc06c4e platform: Linux OTA Provider
When I commission DUT and OTA Provider, second commissioner isn't commissioning to DUT. OTA Provider doesn't change his CM value back to 0 after being commissioned.
Cert Blocker Review: @HubertHugo can you please outline the steps that failed here, it's hard/impossible to us to understand what's going on.
@HubertHugo In particular, it looks like commissioning discovery found the wrong thing for that second chip-tool pairing command, but since that command said "find me anything on the network at all that advertises commissionable", and there are multiple commissionable advertisements shown by avahi-browse
, that's somewhat expected.
It's possible that some of those commissionable advertisements are stale, because on the SHA you're on minimal mdns does not withdraw stale advertisements and they have nonzero TTLs, so get cached by DNS resolvers.
I strongly recommend pairing by discriminator (note that the discriminators for the devices involved are different) instead of issuing a "pair with whatever you find out there" command and hoping. That is, instead of pairing onnetwork
use pairing onnetwork-long
and provide the relevant discriminator.
@woody-apple
- Commission DUT
- Commission OTA by pairing onnetwork
- Commission second commissioner to DUT by paring onnetwork
In third step it fails to commission second commissioner - looks like it is catching OTA instead, as it's cm value isn't changed back to 0 as it should when it's already commissioned:
= vethafd24aa IPv6 271923F83419E478 _matterc._udp local
hostname = [38142831AA980000.local]
address = [fe80::bc0a:22ff:fe64:8247]
port = [5540]
txt = ["PI=" "PH=33" "CM=1" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"]
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
@HubertHugo Is this still a problem? Are you compiling with minimal mdns or platform mdns for the OTA Provider?
Is this reproducible with chip-tool as the commissioners? If so, the exact commands you are running for all the relevant apps would be pretty helpful in trying to reproduce this.
Now it works as it should.