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

flakey test: brave.jms.ITJms_2_0_TracingMessageConsumer #1398

Closed
codefromthecrypt opened this issue Jan 7, 2024 · 2 comments
Closed

flakey test: brave.jms.ITJms_2_0_TracingMessageConsumer #1398

codefromthecrypt opened this issue Jan 7, 2024 · 2 comments
Assignees
Labels

Comments

@codefromthecrypt
Copy link
Member

The below flake happens on occasion. We should fix this, potentially by replacing the test broker with docker as mentioned here #1394 (review)

[INFO] Running brave.jms.ITJms_2_0_TracingMessageConsumer
12:52:53,484 WARN  [Thread-1 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$6@75e09567)] client.ActiveMQClientLogger_impl (ActiveMQClientLogger_impl.java:293) - AMQ212037: Connection failure to invm:0 has been detected: AMQ229014: Did not receive data from invm:0 within the -1ms connection TTL. The connection will now be closed. [code=CONNECTION_TIMEDOUT]
Error:  Tests run: 23, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 26.09 s <<< FAILURE! -- in brave.jms.ITJms_2_0_TracingMessageConsumer
Error:  brave.jms.ITJms_2_0_TracingMessageConsumer.receive_customSampler -- Time elapsed: 0.026 s <<< ERROR!
javax.jms.JMSException: AMQ219016: Connection failure detected. Unblocking a blocking call that will never get a response
	at org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:560)
	at org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:452)
	at org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQSessionContext.addSessionMetadata(ActiveMQSessionContext.java:507)
	at org.apache.activemq.artemis.core.client.impl.ClientSessionImpl.addMetaData(ClientSessionImpl.java:1531)
	at org.apache.activemq.artemis.jms.client.ActiveMQConnection.addSessionMetaData(ActiveMQConnection.java:670)
	at org.apache.activemq.artemis.jms.client.ActiveMQConnection.authorize(ActiveMQConnection.java:660)
	at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(ActiveMQConnectionFactory.java:925)
	at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:290)
	at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:285)
	at brave.jms.ArtemisJmsExtension.newConnection(ArtemisJmsExtension.java:68)
	at brave.jms.JmsExtension.beforeEach(JmsExtension.java:78)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
Caused by: ActiveMQUnBlockedException[errorType=UNBLOCKED message=AMQ219016: Connection failure detected. Unblocking a blocking call that will never get a response]
	... 13 more

[INFO] Running brave.jms.ITTracingJMSProducer
12:52:59,615 WARN  [main] client.ActiveMQClientLogger_impl (ActiveMQClientLogger_impl.java:413) - AMQ212053: CompletionListener/SendAcknowledgementHandler used with confirmationWindowSize=-1. Enable confirmationWindowSize to receive acks from server!
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.071 s -- in brave.jms.ITTracingJMSProducer
[INFO] Running brave.jms.ITJms_1_1_TracingMessageConsumer
12:53:04,509 WARN  [main] broker.BrokerService (BrokerService.java:2122) - Temporary Store limit is 51200 mb (current store usage is 0 mb). The data directory: /home/runner/work/brave/brave/instrumentation/jms only has 24632 mb of usable space. - resetting to maximum available disk space: 24632 mb
12:53:04,879 WARN  [main] broker.BrokerService (BrokerService.java:2122) - Temporary Store limit is 51200 mb (current store usage is 0 mb). The data directory: /home/runner/work/brave/brave/instrumentation/jms only has 24632 mb of usable space. - resetting to maximum available disk space: 24632 mb
@reta
Copy link
Contributor

reta commented Jan 7, 2024

Ah ... this is not Artemis anymore ... I will take it

@reta
Copy link
Contributor

reta commented Jan 20, 2024

Hopefully, fixed by #1410

@reta reta closed this as completed Jan 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants