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

[BUG] EventPositionIntegrationTest.receiveLatestMessages is flaky #33898

Closed
lmolkova opened this issue Mar 7, 2023 · 1 comment
Closed

[BUG] EventPositionIntegrationTest.receiveLatestMessages is flaky #33898

lmolkova opened this issue Mar 7, 2023 · 1 comment
Labels
Client This issue points to a problem in the data-plane of the library. Event Hubs test bug Problem in test source code (most likely)

Comments

@lmolkova
Copy link
Member

lmolkova commented Mar 7, 2023

The test checks if events were received from latest position.
For this it starts receiving events and then sends a batch, expecting to receive all of them.

What happens is that none is received. Based on logs the assumption is that receive link opens after events are sent

2023-03-07T16:56:01.9681873Z 2023-03-07 16:56:01.874 [main] [INFO] com.azure.messaging.eventhubs.EventPositionIntegrationTest - {"az.sdk.message":"sent events"}
2023-03-07T16:56:01.9684000Z 2023-03-07 16:56:01.882 [reactor-executor-91] [INFO] com.azure.messaging.eventhubs.implementation.AmqpReceiveLinkProcessor - {"az.sdk.message":"Link is active.","subscriberId":"rlp_c0302c_1678208161807","linkName":"0_89ecdf_1678208161807","credits":0}
2023-03-07T16:56:01.9688121Z 2023-03-07 16:56:01.882 [reactor-executor-91] [INFO] com.azure.core.amqp.implementation.handler.ReceiveLinkHandler - {"az.sdk.message":"onLinkRemoteOpen","connectionId":"MF_01b8c5_1678208161806","entityPath":"***/ConsumerGroups/$Default/Partitions/0","linkName":"0_89ecdf_1678208161807","remoteSource":"Source{address='***/ConsumerGroups/$Default/Partitions/0', durable=NONE, expiryPolicy=SESSION_END, timeout=0, dynamic=false, dynamicNodeProperties=null, distributionMode=null, filter={apache.org:selector-filter:string=org.apache.qpid.proton.codec.DecoderImpl$UnknownDescribedType@792ed6b7}, defaultOutcome=null, outcomes=null, capabilities=null}"}

receive_latest.log

Reproduces every once in a while in CI, but could not repro locally
image

@lmolkova lmolkova added Event Hubs Client This issue points to a problem in the data-plane of the library. test bug Problem in test source code (most likely) labels Mar 7, 2023
@lmolkova
Copy link
Member Author

fixed in #38738

@github-actions github-actions bot locked and limited conversation to collaborators May 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client This issue points to a problem in the data-plane of the library. Event Hubs test bug Problem in test source code (most likely)
Projects
None yet
Development

No branches or pull requests

1 participant