openthread: [cert] OTBR crashing intermittently during 1.2 certification testing

We notice this issue happen during 1.2 certification. Originally it was uncovered when we ran a full SiLabs/SiLabs testbed, but we’ve also come across it in certain multi-vendor cases.

raspberrypi otbr-agent[6296]: 00:02:26.538 [WARN]-PLAT----: radio tx timeout
raspberrypi otbr-agent[6296]: 00:02:26.539 [CRIT]-PLAT----: HandleRcpTimeout() at ../../third_party/openthread/repo/src/lib/spinel/radio_spinel_impl.hpp:2231: RadioSpinelNoResponse

@ https://github.com/openthread/openthread/blob/main/src/lib/spinel/radio_spinel_impl.hpp#L1082

This crash can seemingly happen during any test. For example, I have included traces and logs from two different tests where it was reproduced on different runs. These tests had the OTBR acting as Router DUT, but it can also be reproduced when it is a leader or other role.


This issue is only reproduced in the GRL 1.2 test harness. It can happen easily when we run a full suite including low power cases. We have not seen it happen when running each test case manually, or if we exclude low power cases from a full suite run (though, since the issue is intermittent, it’s possible we just haven’t run into it that easily).

Some findings:

  • We have not been able to reproduce this issue ourselves by hand, unfortunately.

  • Since this problem is reproducible when running multiple test harness cases together, we suspect there may be an issue with the harness resetting devices between tests. We have made them aware of this, but still, it doesn’t seem ideal that we get into a crash situation. Also, since this is seemingly only reproducible with the SiLabs platform, maybe there’s some issue with some state not getting cleared between tests, though we’re not sure what it could be.

  • When we attach a debugger to our RCP, we see that it is not in any faulty or out of memory state. On the host, we sometimes see Spinel NOMEM errors. The host asserting with “radio tx timeout” (here) seems to indicate that it cannot communicate with the RCP anymore.

  • Finally, one interesting thing we notice in the packet traces is that device with EUI ending in 01 (the DUT) seems to be on a network before the test starts. Eventually the topology forms as expected by the test case, but it’s still weird to see messages from 01 in two different partitions in the trace, at different times.

Please let us know if we can provide any other information.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 23 (19 by maintainers)

Most upvoted comments

@suveshpratapa we are facing this issue with the latest available SiSDK and OTBR and not only during certification but also during normal operation when large packets are transmitted. Why is Silabs not fixing this in the SDK/ firmware?