Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thread 1.3 certification on 3.2 fail #2043

Open
CSS-IanTseng opened this issue Sep 27, 2023 · 6 comments
Open

Thread 1.3 certification on 3.2 fail #2043

CSS-IanTseng opened this issue Sep 27, 2023 · 6 comments

Comments

@CSS-IanTseng
Copy link

CSS-IanTseng commented Sep 27, 2023

Run on RCP of OTNCS with Thread 1.3 certification BR 3.2 "[DATA] [COMPONENT] Re-register service with active SRP server - Multiple BRs + AIL" will fail on "Check if DUT sends SRP Update : SRP update packet not present [Check if DUT sends SRP update message to BR_1]", the other Thread 1.3 test case with role Router and FED is pass, only FED BR3.2 fail.

I use the raspberrypi and ot-br-posix as OTBR, and

  1. The ot-br-posix git commit id: 89cd39b
  2. OTNCS rcp firmware is ot-rcp-1.3-20230119-ce1647697
  3. Build steps was follow the guide of OpenThread Border Router Build and Configuration
  4. Network topology is Thread 1.3 certification BR 3.2 use.
    ● BR_1 – Test bed device operating as a Thread Border Router
    ● BR_2 – Test bed device operating as a Thread Border Router
    ● Router_1 – Test bed device operating as a Thread Router and the Leader
    ● TD_1 (DUT) - Thread End Device or Thread Router, Component DUT
    ● Eth_1 - Test Bed border router device on an Adjacent Infrastructure Link
  5. I create our own python script on THCI for RCP test case.

There is find the issue on "dns browse _thread-test._udp.default.service.arpa" command response time out when I send command by ot-ctl. But the result should be like setting BR_1, the return results should contain data and not be timed out. Such as,

[COM98] <<< 'dns browse _thread-test._udp.default.service.arpa'
[COM98] Expected ['dns browse _thread-test._udp.default.service.arpa']
[COM98] >>> 'DNS browse response for _thread-test._udp.default.service.arpa.'
[COM98] >>> 'service-test-1'
[COM98] >>> ' Port:12345, Priority:0, Weight:0, TTL:7198'
[COM98] >>> ' Host:host-test-1.default.service.arpa.'
[COM98] >>> ' HostAddress:fd7b:85ec:f524:1:51d2:f51d:5dd7:dcb2 TTL:7198'
[COM98] >>> ' TXT:[] TTL:7198'
[COM98] >>> 'Done'
fe80::dea6:32ff:fe9f:e5cc > bash('sudo ot-ctl ipaddr mleid',) returns ['fd00:db9:0:0:fc5:bd67:2188:764c', 'Done']

There is a part of log output and capture information fail data.zip
And fail with 'Error 28: ResponseTimeout', like as follow message.

Status --> BR_2 has been added into the network.. [57]
Status --> Waiting for 5 seconds .. [Waiting for DUT to register OMR prefix and transmit ICMPv6 Router Advertisements] [59]
fe80::dea6:32ff:fe9f:e5cc > bash('sudo ot-ctl ipaddr mleid',) returns ['fd00:db9:0:0:7e11:f3b:5f2:a8eb', 'Done']
fe80::e65f:1ff:fe69:7daf > bash('sudo ot-ctl srp server disable',) returns ['Done']
Status --> Waiting for 2 seconds .. [Waiting for 2 seconds] [61]

[COM98] <<< 'dns browse _thread-test._udp.default.service.arpa'
[COM98] Expected ['dns browse _thread-test._udp.default.service.arpa']
[COM98] >>> 'DNS browse response for _thread-test._udp.default.service.arpa.'
[COM98] >>> 'Error 28: ResponseTimeout'
Log --> [sendCommand() Error: COM98: failed to find end of response]

COM98: failed to find end of response
Status --> Err: Error While Running Test Case / COM98: failed to find end of response / Test BR 3 2 [100]

Even if there is a chance to complete subsequent tests, it still fails.

Because of I use ot-br-prosix have chance to pass the BR3.2 test if run more times.
( ot-br-prosix commit 53767f4, Wed Aug 30 13:27:51 2023 -0700 )
But latest version is fail, and every time was fail on the same command and return same fail code.

@jwhui
Copy link
Member

jwhui commented Sep 27, 2023

Can you provide the test output from the Test Harness (including packet capture, logs, etc.)?

@CSS-IanTseng
Copy link
Author

Yes, I modify the description. Thanks for your reminder.

@jwhui
Copy link
Member

jwhui commented Oct 10, 2023

Thanks for posting the full test harness output. It appears that the DUT is also hosting an SRP server and publishing SRP server information in the Thread Network Data. The DUT is then preferring itself as the SRP server, rather than the SRP server provided by the test bed. As a result, the SRP Update is destined for the DUT itself and the SRP Update message is never seen by the test harness.

@CSS-IanTseng
Copy link
Author

OK, Is there have any configuration can disable the SRP server on ot-br-prosix when I build the image?
Because of the RCP setting already disable SRP related function, so about the "dns", "srp" function is runing on ot-br-prosix.

@jwhui
Copy link
Member

jwhui commented Nov 7, 2023

OK, Is there have any configuration can disable the SRP server on ot-br-prosix when I build the image? Because of the RCP setting already disable SRP related function, so about the "dns", "srp" function is runing on ot-br-prosix.

There is a CMake option here:

option(OTBR_SRP_ADVERTISING_PROXY "Enable Advertising Proxy" OFF)

@EskoDijk
Copy link

EskoDijk commented Jan 9, 2024

Further internal discussion is on: https://threadgroup.atlassian.net/browse/TESTPLAN-590

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants