Here's a different issue I encountered running unit tests on a clean master branch on my Mac:
Running org.apache.drill.exec.store.jdbc.TestJdbcPlugin ... ... Tue Sep 15 20:01:36 PDT 2015 : Could not listen on port 20000 on host 127.0.0.1: java.net.BindException: Address already in use It has to do with starting up derby: storage-jdbc asinha$ cat derby.log Tue Sep 15 22:13:01 PDT 2015 : Apache Derby Network Server - 10.11.1.1 - (1616546) started and ready to accept connections on port 1527 Tue Sep 15 22:13:01 PDT 2015 : Could not listen on port 20000 on host 127.0.0.1: java.net.BindException: Address already in use An exception was thrown during network server startup. DRDA_ListenPort.S:Could not listen on port 20000 on host 127.0.0.1: java.net.BindException: Address already in use On Tue, Sep 15, 2015 at 9:37 PM, Chris Westin <[email protected]> wrote: > Variability: for me so far 2 out of 2 times. > > No stack trace, but as above, when I try to reproduce it in an IDE > "This seems to be because the test is getting an ExceptionInInitializer in > DrillbitClassLoader because the app.class.path property isn't set (and then > the resulting String.length() on its value throws an NPE)." > > I don't see app.class.path set anywhere in any pom.xml (so it's not getting > set when I copy the surefire arguments into the IDE's launch configuration > for the test, either). > > > On Tue, Sep 15, 2015 at 9:09 PM, Jacques Nadeau <[email protected]> > wrote: > > > It was tested on a clean machine a number of times. Any thoughts on the > > variability? Can you provide stack trace? > > On Sep 15, 2015 6:28 PM, "Sudheesh Katkam" <[email protected]> wrote: > > > > > Yes, I see this issue too. > > > > > > > On Sep 15, 2015, at 5:53 PM, Chris Westin <[email protected]> > > > wrote: > > > > > > > > This seems to be because the test is getting an > ExceptionInInitializer > > in > > > > DrillbitClassLoader because the app.class.path property isn't set > (and > > > then > > > > the resulting String.length() on its value throws an NPE). > > > > > > > > Bueller? > > > > > > > > On Tue, Sep 15, 2015 at 5:20 PM, Chris Westin < > [email protected] > > > > > > > wrote: > > > > > > > >> I just rebased, and twice in a row I've gotten wedged running > > > >> org.apache.drill.jdbc.ITTestShadedJar > > > >> > > > >> > > > >> > > > > > > > > >
