Code Monkey home page Code Monkey logo

Comments (4)

bzbarsky-apple avatar bzbarsky-apple commented on July 20, 2024

The cluster state cache bit is just follow-on problems. Here is the real issue, from the TH log:

2024-04-26 05:40:18,613 - chip.native.EM - INFO - __init__.py:_RedirectToPythonLogging:40 - <<< [E:59991i S:60974 M:30600750] (S) Msg TX to 0:FFFFFFFB00000000 [0000] [UDP:[fe80::dea6:32ff:feab:25e4%en0]:5540] --- Type 0001:02 (IM:ReadRequest)
...
2024-04-26 05:40:18,621 - chip.native.DMG - ERROR - __init__.py:_RedirectToPythonLogging:38 - Time out! failed to receive report data from Exchange: 59991i
...
2024-04-26 05:40:19,177 - chip.native.EM - INFO - __init__.py:_RedirectToPythonLogging:40 - Retransmitting MessageCounter:30600750 on exchange 59991i Send Cnt 1
2024-04-26 05:40:19,840 - chip.native.EM - INFO - __init__.py:_RedirectToPythonLogging:40 - Retransmitting MessageCounter:30600750 on exchange 59991i Send Cnt 2
2024-04-26 05:40:20,765 - chip.native.EM - INFO - __init__.py:_RedirectToPythonLogging:40 - Retransmitting MessageCounter:30600750 on exchange 59991i Send Cnt 3
2024-04-26 05:40:22,339 - chip.native.EM - INFO - __init__.py:_RedirectToPythonLogging:40 - Retransmitting MessageCounter:30600750 on exchange 59991i Send Cnt 4

I don't know why we claim "time out" before we retransmit, but if you look at the DUT log, it didn't even manage to get an ack for its end of the PASE handshake:

[1714135007.042690][500980:500980] CHIP:EM: <<< [E:59990r S:0 M:84098057 (Ack:183265092)] (U) Msg TX to 0:0000000000000000 [0000] [UDP:[fe80::f:2352:63b5:7bd%eth0]:63338] --- Type 0000:40 (SecureChannel:StatusReport)
...
[1714135007.385579][500980:500980] CHIP:EM: Retransmitting MessageCounter:84098057 on exchange 59990r Send Cnt 1
[1714135007.742411][500980:500980] CHIP:EM: Retransmitting MessageCounter:84098057 on exchange 59990r Send Cnt 2
[1714135008.334451][500980:500980] CHIP:EM: Retransmitting MessageCounter:84098057 on exchange 59990r Send Cnt 3
[1714135009.307984][500980:500980] CHIP:EM: Retransmitting MessageCounter:84098057 on exchange 59990r Send Cnt 4
[1714135010.769943][500980:500980] CHIP:EM: Failed to Send CHIP MessageCounter:84098057 on exchange 59990r sendCount: 4 max retries: 4

The TH did get that StatusReport:

2024-04-26 05:36:46,945 - chip.native.EM - INFO - __init__.py:_RedirectToPythonLogging:40 - >>> [E:59990i S:0 M:84098057 (Ack:183265092)] (U) Msg RX from 0:0000000000000000 [0000] --- Type 0000:40 (SecureChannel:StatusReport)

and sent a standalone ack (but much later? Why?):

2024-04-26 05:40:18,621 - chip.native.EM - INFO - __init__.py:_RedirectToPythonLogging:40 - <<< [E:59990i S:0 M:183265093 (Ack:84098057)] (U) Msg TX to 0:0000000000000000 [0000] [UDP:[fe80::dea6:32ff:feab:25e4%en0]:5540] --- Type 0000:10 (SecureChannel:StandaloneAck)

Anyway, it looks like the TH is doing something really weird with packets here for some reason.

from connectedhomeip.

bzbarsky-apple avatar bzbarsky-apple commented on July 20, 2024

And in any case, the DUT did not get any packets from TH after sending that StatusReport. Did not get the ack, did not get the reads. So commissioning failed.

from connectedhomeip.

woody-apple avatar woody-apple commented on July 20, 2024

This same error is showing up outside the TH, I don't think this is a TH issue.

from connectedhomeip.

cjandhyala avatar cjandhyala commented on July 20, 2024

closing the ticket for now, following-up with a new ticket..

from connectedhomeip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.