It looks to have been a DNS issue. It's resolved for me now. On Tue, Dec 12, 2017 at 12:35 PM, Philip Zampino <pzamp...@gmail.com> wrote:
> I've started encountering some test failures on the master branch, without > any local changes. They both involve the DefaultDispatch NOT throwing > exceptions for invalid hosts. > > > testJiraKnox58(org.apache.hadoop.gateway.dispatch.DefaultDispatchTest) > Time elapsed: 0.835 sec <<< FAILURE! > java.lang.AssertionError: > Expected: not a string containing "unreachable-host" > but: was "unreachable-host" > at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) > at org.junit.Assert.assertThat(Assert.java:956) > at org.junit.Assert.assertThat(Assert.java:923) > at org.apache.hadoop.gateway.dispatch.DefaultDispatchTest.testJiraKnox58( > DefaultDispatchTest.java:103) > > > This one is due to an attempt to write the outbound respond where the > response output stream has not been setup. The problem is that the test > never expects it to get that far: > > testHttpClientOutboundException(org.apache.hadoop.gateway.AuditLoggingTest) > Time elapsed: 4.036 sec <<< ERROR! > java.lang.NullPointerException: null > at org.apache.hadoop.io.IOUtils.copyBytes(IOUtils.java:87) > at org.apache.hadoop.gateway.dispatch.AbstractGatewayDispatch. > writeResponse(AbstractGatewayDispatch.java:65) > at org.apache.hadoop.gateway.dispatch.DefaultDispatch. > writeOutboundResponse(DefaultDispatch.java:183) > at org.apache.hadoop.gateway.dispatch.DefaultDispatch.executeRequest( > DefaultDispatch.java:117) > at org.apache.hadoop.gateway.dispatch.DefaultDispatch. > doGet(DefaultDispatch.java:278) > at org.apache.hadoop.gateway.AuditLoggingTest. > testHttpClientOutboundException(AuditLoggingTest.java:202) > > > Is anyone else seeing this? Could it be my environment? > Are you aware of anything that changed recently which would cause this? > > -- Phil > >