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

[Test Failed] Random failures in MTRXPCListenerSampleTests test008_SubscribeFailure #37012

Open
bzbarsky-apple opened this issue Jan 9, 2025 · 0 comments

Comments

@bzbarsky-apple
Copy link
Contributor

Test issue(s)

Log at https://github.com/project-chip/connectedhomeip/actions/runs/12677924771/job/35335260290?pr=36980

The relevant bits of the log are:

2025-01-08T20:53:24.6660790Z Test Case '-[MTRXPCListenerSampleTests test008_SubscribeFailure]' started.
2025-01-08T20:53:24.6661210Z 2025-01-08 20:53:24.489732+0000 xctest[53419:149088] [Default] Subscribing attribute ...
2025-01-08T20:53:24.6661670Z 2025-01-08 20:53:24.490097+0000 xctest[53419:149643] [Default] CHIP XPC connection established
2025-01-08T20:53:24.6662050Z 2025-01-08 20:53:24.490162+0000 xctest[53419:149400] XPC connection disconnected
2025-01-08T20:53:24.6662420Z 2025-01-08 20:53:24.490205+0000 xctest[53419:149088] [Default] Setup report handler
2025-01-08T20:53:24.6662830Z 2025-01-08 20:53:24.490564+0000 xctest[53419:149430] XPC listener accepting connection
...
2025-01-08T20:53:24.6669580Z 2025-01-08 20:53:24.491056+0000 xctest[53419:151637] [Default] CHIP XPC connection disconnected
...
2025-01-08T20:53:24.6685850Z 2025-01-08 20:53:24.508624+0000 xctest[53419:151637] [DataManagement] StatusResponseMessage =
2025-01-08T20:53:24.6686150Z 2025-01-08 20:53:24.508632+0000 xctest[53419:151637] [DataManagement] {
2025-01-08T20:53:24.6686670Z 2025-01-08 20:53:24.508637+0000 xctest[53419:151637] [DataManagement] 	Status = 0x80 (INVALID_ACTION),
2025-01-08T20:53:24.6687190Z 2025-01-08 20:53:24.508643+0000 xctest[53419:151637] [DataManagement] 	InteractionModelRevision = 11
2025-01-08T20:53:24.6687480Z 2025-01-08 20:53:24.508648+0000 xctest[53419:151637] [DataManagement] }
2025-01-08T20:53:24.6688250Z 2025-01-08 20:53:24.508654+0000 xctest[53419:151637] [InteractionModel] Received status response, status is 0x80 (INVALID_ACTION)
...
2025-01-08T20:53:24.6692660Z 2025-01-08 20:53:24.510096+0000 xctest[53419:149088] [Controller] Creating NSError from IM Error 0x00000580: General error: 0x80 (INVALID_ACTION) (context: (null))
...
2025-01-08T20:53:29.1068020Z /Users/runner/work/connectedhomeip/connectedhomeip/src/darwin/Framework/CHIPTests/MTRXPCListenerSampleTests.m:1000: error: -[MTRXPCListenerSampleTests test008_SubscribeFailure] : Asynchronous wait failed: Exceeded timeout of 3 seconds, with unfulfilled expectations: "receive OnOff attribute report".

So we got the error status, we created an NSError, but we never called reportHandler with the error and hence never fulfilled the errorReportExpectation that the test is waiting for.

Platform

darwin

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

1 participant