-
Notifications
You must be signed in to change notification settings - Fork 865
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
java tests fail #30
Comments
@mjpt777 routinely uses Linux (he'll have to chime in on distro and version) & Windows. @RichardWarburton routinely uses Linux (again, he'll have to chime in on distro and version). I make sure Mac is OK. I've not seen these errors. Nor heard of them lately. I would think that some earlier version of the build has the ports. That would explain the bind errors. But the DriverConductorTest and similar should not really fail. Haven't seen these. What distro is in use? |
Distro is CentOS 6.5. Both selinux and iptables are disabled.
Also, ports didn't seem to be in use at the time:
|
I'm using ubuntu 14.04. I've not seen these errors before. |
Fair enough, and I've confirmed that I don't see those errors on mac. Happy to help get it working on RH, that's the only platform I really care about. P.S. Looks like both Agrona and Aeron download gradle -- perhaps because Agrona uses https: and Aeron uses http: url. Not a biggie, but I noticed it because I was on a cell network... |
Hmmm. Not sure how the wrapper handles that... I'll check into it a bit... |
Not sure what is going on with CentOS here... |
I cannot recreate this on Ubuntu or Fedora so will close for now unless someone care recreate. |
Re: #28
Many thanks -- that does fix the C++ build.
Here's a snip from Java build that is failing:
uk.co.real_logic.aeron.driver.DriverConductorTest > shouldOnlyRemoveSubscriptionMediaEndpointUponRemovalOfAllSubscribers FAILED
java.lang.AssertionError
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertNotNull(Assert.java:621)
at org.junit.Assert.assertNotNull(Assert.java:631)
at uk.co.real_logic.aeron.driver.DriverConductorTest.shouldOnlyRemoveSubscriptionMediaEndpointUponRemovalOfAllSubscribers(DriverConductorTest.java:287)
uk.co.real_logic.aeron.driver.DriverConductorTest > shouldNotTimeoutSubscriptionOnKeepAlive FAILED
java.lang.AssertionError
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertNotNull(Assert.java:621)
at org.junit.Assert.assertNotNull(Assert.java:631)
at uk.co.real_logic.aeron.driver.DriverConductorTest.shouldNotTimeoutSubscriptionOnKeepAlive(DriverConductorTest.java:409)
uk.co.real_logic.aeron.driver.DriverConductorTest > shouldKeepSubscriptionMediaEndpointUponRemovalOfAllButOneSubscriber FAILED
java.lang.AssertionError
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertNotNull(Assert.java:621)
at org.junit.Assert.assertNotNull(Assert.java:631)
at uk.co.real_logic.aeron.driver.DriverConductorTest.shouldKeepSubscriptionMediaEndpointUponRemovalOfAllButOneSubscriber(DriverConductorTest.java:262)
uk.co.real_logic.aeron.driver.DriverConductorTest > shouldErrorOnRemoveChannelOnUnknownSessionId FAILED
Wanted but not invoked:
senderProxy.newPublication(
);
-> at uk.co.real_logic.aeron.driver.DriverConductorTest.verifySenderNotifiedOfNewPublication(DriverConductorTest.java:471)
Actually, there were zero interactions with this mock.
at uk.co.real_logic.aeron.driver.DriverConductorTest.verifySenderNotifiedOfNewPublication(DriverConductorTest.java:471)
at uk.co.real_logic.aeron.driver.DriverConductorTest.shouldErrorOnRemoveChannelOnUnknownSessionId(DriverConductorTest.java:313)
uk.co.real_logic.aeron.driver.DriverConductorTest > shouldBeAbleToRemoveMultipleStreams FAILED
Wanted but not invoked:
senderProxy.closePublication();
-> at uk.co.real_logic.aeron.driver.DriverConductorTest.shouldBeAbleToRemoveMultipleStreams(DriverConductorTest.java:237)
Actually, there were zero interactions with this mock.
at uk.co.real_logic.aeron.driver.DriverConductorTest.shouldBeAbleToRemoveMultipleStreams(DriverConductorTest.java:237)
uk.co.real_logic.aeron.driver.DriverConductorTest > shouldErrorOnRemoveChannelOnUnknownStreamId FAILED
org.mockito.exceptions.verification.TooManyActualInvocations:
eventLogger.logException();
Wanted 1 time:
-> at uk.co.real_logic.aeron.driver.DriverConductorTest.verifyExceptionLogged(DriverConductorTest.java:443)
But was 2 times. Undesired invocation:
-> at uk.co.real_logic.aeron.driver.DriverConductor.onClientCommand(DriverConductor.java:324)
at uk.co.real_logic.aeron.driver.DriverConductorTest.verifyExceptionLogged(DriverConductorTest.java:443)
at uk.co.real_logic.aeron.driver.DriverConductorTest.shouldErrorOnRemoveChannelOnUnknownStreamId(DriverConductorTest.java:331)
uk.co.real_logic.aeron.driver.DriverConductorTest > shouldTimeoutSubscription FAILED
Wanted but not invoked:
receiverProxy.addSubscription(, 10);
-> at uk.co.real_logic.aeron.driver.DriverConductorTest.verifyReceiverSubscribes(DriverConductorTest.java:433)
Actually, there were zero interactions with this mock.
at uk.co.real_logic.aeron.driver.DriverConductorTest.verifyReceiverSubscribes(DriverConductorTest.java:433)
at uk.co.real_logic.aeron.driver.DriverConductorTest.shouldTimeoutSubscription(DriverConductorTest.java:393)
uk.co.real_logic.aeron.driver.DriverConductorTest > shouldNotTimeoutPublicationOnKeepAlive FAILED
Wanted but not invoked:
senderProxy.newPublication(
);
-> at uk.co.real_logic.aeron.driver.DriverConductorTest.verifySenderNotifiedOfNewPublication(DriverConductorTest.java:471)
Actually, there were zero interactions with this mock.
at uk.co.real_logic.aeron.driver.DriverConductorTest.verifySenderNotifiedOfNewPublication(DriverConductorTest.java:471)
at uk.co.real_logic.aeron.driver.DriverConductorTest.shouldNotTimeoutPublicationOnKeepAlive(DriverConductorTest.java:371)
uk.co.real_logic.aeron.driver.DriverConductorTest > shouldBeAbleToAddMultipleStreams FAILED
Wanted but not invoked:
senderProxy.newPublication();
-> at uk.co.real_logic.aeron.driver.DriverConductorTest.shouldBeAbleToAddMultipleStreams(DriverConductorTest.java:203)
Actually, there were zero interactions with this mock.
at uk.co.real_logic.aeron.driver.DriverConductorTest.shouldBeAbleToAddMultipleStreams(DriverConductorTest.java:203)
uk.co.real_logic.aeron.driver.DriverConductorTest > shouldBeAbleToAddSingleSubscription FAILED
Wanted but not invoked:
clientProxy.operationSucceeded(1429);
-> at uk.co.real_logic.aeron.driver.DriverConductorTest.shouldBeAbleToAddSingleSubscription(DriverConductorTest.java:177)
uk.co.real_logic.aeron.driver.DriverConductorTest > shouldTimeoutPublication FAILED
Wanted but not invoked:
senderProxy.newPublication(
);
-> at uk.co.real_logic.aeron.driver.DriverConductorTest.verifySenderNotifiedOfNewPublication(DriverConductorTest.java:471)
Actually, there were zero interactions with this mock.
at uk.co.real_logic.aeron.driver.DriverConductorTest.verifySenderNotifiedOfNewPublication(DriverConductorTest.java:471)
at uk.co.real_logic.aeron.driver.DriverConductorTest.shouldTimeoutPublication(DriverConductorTest.java:356)
uk.co.real_logic.aeron.driver.DriverConductorTest > shouldBeAbleToRemoveSingleStream FAILED
Wanted but not invoked:
senderProxy.closePublication();
-> at uk.co.real_logic.aeron.driver.DriverConductorTest.shouldBeAbleToRemoveSingleStream(DriverConductorTest.java:216)
Actually, there were zero interactions with this mock.
at uk.co.real_logic.aeron.driver.DriverConductorTest.shouldBeAbleToRemoveSingleStream(DriverConductorTest.java:216)
uk.co.real_logic.aeron.driver.DriverConductorTest > shouldBeAbleToAddSinglePublication FAILED
Wanted but not invoked:
senderProxy.newPublication(
);
-> at uk.co.real_logic.aeron.driver.DriverConductorTest.verifySenderNotifiedOfNewPublication(DriverConductorTest.java:471)
Actually, there were zero interactions with this mock.
at uk.co.real_logic.aeron.driver.DriverConductorTest.verifySenderNotifiedOfNewPublication(DriverConductorTest.java:471)
at uk.co.real_logic.aeron.driver.DriverConductorTest.shouldBeAbleToAddSinglePublication(DriverConductorTest.java:163)
uk.co.real_logic.aeron.driver.UdpChannelTest > shouldHandleCanonicalFormForMulticastCorrectly SKIPPED
uk.co.real_logic.aeron.driver.UdpChannelTest > shouldParseValidMulticastAddress SKIPPED
uk.co.real_logic.aeron.driver.SelectorAndTransportTest > shouldSendMultipleDataFramesPerDatagramUnicastFromSourceToReceiver FAILED
java.lang.IllegalStateException: Failed to set SO_RCVBUF: attempted=131072, actual=124928
at uk.co.real_logic.aeron.driver.UdpChannelTransport.(UdpChannelTransport.java:102)
at uk.co.real_logic.aeron.driver.ReceiverUdpChannelTransport.(ReceiverUdpChannelTransport.java:58)
at uk.co.real_logic.aeron.driver.SelectorAndTransportTest.shouldSendMultipleDataFramesPerDatagramUnicastFromSourceToReceiver(SelectorAndTransportTest.java:185)
uk.co.real_logic.aeron.driver.SelectorAndTransportTest > shouldSendEmptyDataFrameUnicastFromSourceToReceiver FAILED
java.lang.RuntimeException: channel "udp://localhost:40123" : java.net.BindException: Address already in use
at uk.co.real_logic.aeron.driver.UdpChannelTransport.(UdpChannelTransport.java:112)
at uk.co.real_logic.aeron.driver.ReceiverUdpChannelTransport.(ReceiverUdpChannelTransport.java:58)
at uk.co.real_logic.aeron.driver.SelectorAndTransportTest.shouldSendEmptyDataFrameUnicastFromSourceToReceiver(SelectorAndTransportTest.java:135)
uk.co.real_logic.aeron.driver.SelectorAndTransportTest > shouldHandleSmFrameFromReceiverToSender FAILED
java.lang.RuntimeException: channel "udp://localhost:40123" : java.net.BindException: Address already in use
at uk.co.real_logic.aeron.driver.UdpChannelTransport.(UdpChannelTransport.java:112)
at uk.co.real_logic.aeron.driver.ReceiverUdpChannelTransport.(ReceiverUdpChannelTransport.java:58)
at uk.co.real_logic.aeron.driver.SelectorAndTransportTest.shouldHandleSmFrameFromReceiverToSender(SelectorAndTransportTest.java:236)
uk.co.real_logic.aeron.driver.SelectorAndTransportTest > shouldHandleBasicSetupAndTeardown FAILED
java.lang.RuntimeException: channel "udp://localhost:40123" : java.net.BindException: Address already in use
at uk.co.real_logic.aeron.driver.UdpChannelTransport.(UdpChannelTransport.java:112)
at uk.co.real_logic.aeron.driver.ReceiverUdpChannelTransport.(ReceiverUdpChannelTransport.java:58)
at uk.co.real_logic.aeron.driver.SelectorAndTransportTest.shouldHandleBasicSetupAndTeardown(SelectorAndTransportTest.java:103)
uk.co.real_logic.aeron.driver.ReceiverTest > shouldNotOverwriteDataFrameWithHeartbeat FAILED
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:436)
at sun.nio.ch.DatagramChannelImpl.bind(DatagramChannelImpl.java:706)
at uk.co.real_logic.aeron.driver.ReceiverTest.setUp(ReceiverTest.java:145)
uk.co.real_logic.aeron.driver.ReceiverTest > shouldOverwriteHeartbeatWithDataFrame FAILED
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:436)
at sun.nio.ch.DatagramChannelImpl.bind(DatagramChannelImpl.java:706)
at uk.co.real_logic.aeron.driver.ReceiverTest.setUp(ReceiverTest.java:145)
uk.co.real_logic.aeron.driver.ReceiverTest > shouldHandleNonZeroTermOffsetCorrectly FAILED
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:436)
at sun.nio.ch.DatagramChannelImpl.bind(DatagramChannelImpl.java:706)
at uk.co.real_logic.aeron.driver.ReceiverTest.setUp(ReceiverTest.java:145)
uk.co.real_logic.aeron.driver.ReceiverTest > shouldInsertDataIntoLogAfterInitialExchange FAILED
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:436)
at sun.nio.ch.DatagramChannelImpl.bind(DatagramChannelImpl.java:706)
at uk.co.real_logic.aeron.driver.ReceiverTest.setUp(ReceiverTest.java:145)
uk.co.real_logic.aeron.driver.ReceiverTest > shouldCreateRcvTermAndSendSmOnSetup FAILED
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:436)
at sun.nio.ch.DatagramChannelImpl.bind(DatagramChannelImpl.java:706)
at uk.co.real_logic.aeron.driver.ReceiverTest.setUp(ReceiverTest.java:145)
Results: FAILURE (77 tests, 53 successes, 22 failures, 2 skipped)
77 tests completed, 22 failed, 2 skipped
:aeron-driver:test FAILED
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':aeron-driver:test'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 19.425 secs
The text was updated successfully, but these errors were encountered: