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

Cluster test failure on test 174 on M5 #13434

Closed
cecille opened this issue Jan 11, 2022 · 1 comment · Fixed by #13673
Closed

Cluster test failure on test 174 on M5 #13434

cecille opened this issue Jan 11, 2022 · 1 comment · Fixed by #13673

Comments

@cecille
Copy link
Contributor

cecille commented Jan 11, 2022

Problem

Test cluster test 174 fails.
'''
[1641873493.836219][3628224:3628229] CHIP:TOO: ***** Test Step 174 : Read list of structs containing nullables and optionals

[1641873493.836270][3628224:3628229] CHIP:DMG: SendReadRequest ReadClient[0x7f5310001290]: Sending Read Request
[1641873493.836332][3628224:3628229] CHIP:IN: Prepared secure message 0x5611f71ba488 to 0x00000000000004D2 (1) of type 0x2 and protocolId (0, 1) on exchange 32309i with MessageCounter:1844988.
[1641873493.836362][3628224:3628229] CHIP:IN: Sending encrypted msg 0x5611f71ba488 with MessageCounter:1844988 to 0x00000000000004D2 (1) at monotonic time: 943923701 msec
[1641873493.836507][3628224:3628229] CHIP:DMG: MoveToState ReadClient[0x7f5310001290]: Moving to [AwaitingIn]
[1641873493.836551][3628224:3628229] CHIP:DMG: ICR moving to [AwaitingDe]
[1641873493.836568][3628224:3628229] CHIP:EM: Sending Standalone Ack for MessageCounter:6727973 on exchange 32308i
[1641873493.836602][3628224:3628229] CHIP:IN: Prepared secure message 0x7f531a7fabf8 to 0x00000000000004D2 (1) of type 0x10 and protocolId (0, 0) on exchange 32308i with MessageCounter:1844989.
[1641873493.836626][3628224:3628229] CHIP:IN: Sending encrypted msg 0x7f531a7fabf8 with MessageCounter:1844989 to 0x00000000000004D2 (1) at monotonic time: 943923701 msec
[1641873493.836685][3628224:3628229] CHIP:EM: Flushed pending ack for MessageCounter:6727973 on exchange 32308i
[1641873494.046282][3628224:3628229] CHIP:EM: Received message of type 0x5 with protocolId (0, 1) and MessageCounter:6727974 on exchange 32309i
[1641873494.046331][3628224:3628229] CHIP:EM: Found matching exchange: 32309i, Delegate: 0x7f5310001290
[1641873494.046378][3628224:3628229] CHIP:EM: Rxd Ack; Removing MessageCounter:1844988 from Retrans Table on exchange 32309i
[1641873494.046397][3628224:3628229] CHIP:EM: Removed CHIP MessageCounter:1844988 from RetransTable on exchange 32309i
[1641873494.046465][3628224:3628229] CHIP:DMG: ReportDataMessage =
[1641873494.046485][3628224:3628229] CHIP:DMG: {
[1641873494.046499][3628224:3628229] CHIP:DMG: AttributeReportIBs =
[1641873494.046523][3628224:3628229] CHIP:DMG: [
[1641873494.046541][3628224:3628229] CHIP:DMG: AttributeReportIB =
[1641873494.046566][3628224:3628229] CHIP:DMG: {
[1641873494.046582][3628224:3628229] CHIP:DMG: AttributeDataIB =
[1641873494.046602][3628224:3628229] CHIP:DMG: {
[1641873494.046621][3628224:3628229] CHIP:DMG: DataVersion = 0x0,
[1641873494.046641][3628224:3628229] CHIP:DMG: AttributePathIB =
[1641873494.046662][3628224:3628229] CHIP:DMG: {
[1641873494.046682][3628224:3628229] CHIP:DMG: Endpoint = 0x1,
[1641873494.046701][3628224:3628229] CHIP:DMG: Cluster = 0x50f,
[1641873494.046726][3628224:3628229] CHIP:DMG: Attribute = 0x0000_0023,
[1641873494.046741][3628224:3628229] CHIP:DMG: }
[1641873494.046760][3628224:3628229] CHIP:DMG:
[1641873494.046778][3628224:3628229] CHIP:DMG: Data = [
[1641873494.046797][3628224:3628229] CHIP:DMG:
[1641873494.046816][3628224:3628229] CHIP:DMG: ],
[1641873494.046835][3628224:3628229] CHIP:DMG: },
[1641873494.046860][3628224:3628229] CHIP:DMG:
[1641873494.046875][3628224:3628229] CHIP:DMG: },
[1641873494.046908][3628224:3628229] CHIP:DMG:
[1641873494.046923][3628224:3628229] CHIP:DMG: AttributeReportIB =
[1641873494.046950][3628224:3628229] CHIP:DMG: {
[1641873494.046966][3628224:3628229] CHIP:DMG: AttributeDataIB =
[1641873494.046989][3628224:3628229] CHIP:DMG: {
[1641873494.047008][3628224:3628229] CHIP:DMG: DataVersion = 0x0,
[1641873494.047027][3628224:3628229] CHIP:DMG: AttributePathIB =
[1641873494.047046][3628224:3628229] CHIP:DMG: {
[1641873494.047066][3628224:3628229] CHIP:DMG: Endpoint = 0x1,
[1641873494.047086][3628224:3628229] CHIP:DMG: Cluster = 0x50f,
[1641873494.047105][3628224:3628229] CHIP:DMG: Attribute = 0x0000_0023,
[1641873494.047124][3628224:3628229] CHIP:DMG: ListIndex = Null,
[1641873494.047142][3628224:3628229] CHIP:DMG: }
[1641873494.047164][3628224:3628229] CHIP:DMG:
[1641873494.047182][3628224:3628229] CHIP:DMG: Data =
[1641873494.047202][3628224:3628229] CHIP:DMG: {
[1641873494.047223][3628224:3628229] CHIP:DMG: 0x1 = NULL
[1641873494.047250][3628224:3628229] CHIP:DMG: 0x4 = NULL
[1641873494.047270][3628224:3628229] CHIP:DMG: 0x7 = NULL
[1641873494.047291][3628224:3628229] CHIP:DMG: 0xa = [
[1641873494.047318][3628224:3628229] CHIP:DMG: 1, 2,
[1641873494.047338][3628224:3628229] CHIP:DMG: ],
[1641873494.047357][3628224:3628229] CHIP:DMG: },
[1641873494.047375][3628224:3628229] CHIP:DMG: },
[1641873494.047403][3628224:3628229] CHIP:DMG:
[1641873494.047420][3628224:3628229] CHIP:DMG: },
[1641873494.047454][3628224:3628229] CHIP:DMG:
[1641873494.047469][3628224:3628229] CHIP:DMG: ],
[1641873494.047502][3628224:3628229] CHIP:DMG:
[1641873494.047519][3628224:3628229] CHIP:DMG: SuppressResponse = true,
[1641873494.047535][3628224:3628229] CHIP:DMG: }
[1641873494.047802][3628224:3628229] CHIP:TOO: ***** Test Failure: listNullablesAndOptionalsStruct[0].nullableList expected to be null but isn't

[1641873494.047866][3628224:3628229] CHIP:EM: Sending Standalone Ack for MessageCounter:6727974 on exchange 32309i
[1641873494.047906][3628224:3628229] CHIP:IN: Prepared secure message 0x7f531a7fabf8 to 0x00000000000004D2 (1) of type 0x10 and protocolId (0, 0) on exchange 32309i with MessageCounter:1844990.
[1641873494.047932][3628224:3628229] CHIP:IN: Sending encrypted msg 0x7f531a7fabf8 with MessageCounter:1844990 to 0x00000000000004D2 (1) at monotonic time: 943923912 msec
[1641873494.048056][3628224:3628229] CHIP:EM: Flushed pending ack for MessageCounter:6727974 on exchange 32309i
[1641873494.048260][3628224:3628224] CHIP:-: ../../commands/tests/TestCommand.cpp:85: CHIP Error 0x000000AC: Internal error at ../../commands/common/CHIPCommand.cpp:59
[1641873494.048302][3628224:3628224] CHIP:TOO: Run command failure: ../../commands/tests/TestCommand.cpp:85: CHIP Error 0x000000AC: Internal error
[1641873494.051230][3628224:3628224] CHIP:SPT: VerifyOrDie failure at ../../third_party/connectedhomeip/src/inet/InetLayer.h:121: sEndPointPool.Allocated() == 0
'''

Proposed Solution

fix.

@cecille
Copy link
Contributor Author

cecille commented Jan 18, 2022

This is actually just a general failure the second time the tests are run. It happens because on the device side, the attributes start as null, but get written as part of the test. We just need a reset command or something.

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

Successfully merging a pull request may close this issue.

1 participant