ot-br-posix icon indicating copy to clipboard operation
ot-br-posix copied to clipboard

[openwrt] Fail in "Thread Harness Test" as a Thread Border Router.

Open ycc100 opened this issue 1 year ago • 3 comments

I built a OpenWRT FW for Qualcomm Maple board and ported the "ot-br-posix" for implementing the Thread Border Router.

  • Mother board : Qualcomm Maple board
  • RCP board : SiliconLabs MG21

The "Thread Border Router" function seems work well. But it got a lot of FAIL in "Thread Harness Test". Attached C_5_9_1-3.zip is the test report of Thread Harness Test Case "BR_1" "C_5_9_1".

Really appreciate if anyone can provide suggestions.

ycc100 avatar Aug 17 '23 05:08 ycc100

What configuration options are you compiling ot-br-posix with? It might be worth comparing what you are using to the reference implementation that is used for certification. Alternatively, given that you may be porting to a new board, it could be a kernel config issue.

jdswensen avatar Aug 18 '23 00:08 jdswensen

Following are the ot-br-posix Makefile & the kernel config file I used :

ycc100 avatar Aug 18 '23 01:08 ycc100

The file "C_5_9_1_teraterm.log" [in C_5_9_1-3.zip] is otbr-agent log (run in foreground) .

There are several "Failed to update ipsets" in the log.

otbr-agent[26301]: 00:01:47.621 [I] Platform------: Execute command ipset flush otbr-ingress-allow-dst-swap = 0 otbr-agent[26301]: 00:01:47.636 [I] Platform------: Execute command ipset flush otbr-ingress-deny-src-swap = -1 otbr-agent[26301]: 00:01:47.636 [I] Platform------: Got an error when executing command ipset flush otbr-ingress-deny-src-swap: No child process otbr-agent[26301]: 00:01:47.636 [W] Platform------: Failed to update ipsets: Failed_

I am not sure why such ipset Failed happen ? Really appreciate if anyone can provide some suggestions.

ycc100 avatar Aug 22 '23 07:08 ycc100