Re: Drill Tests Fail on Local Machine
Hi Charles, I just upgraded to osx 10.13.4 and the same issue started happening for me. I've created a jira here https://issues.apache.org/jira/browse/DRILL-6341 . Please follow it. Now that I can reproduce it, I'll try to have a fix asap. Thanks, Tim From: Timothy Farkas Sent: Wednesday, April 18, 2018 11:05:40 AM To: dev@drill.apache.org Subject: Re: Drill Tests Fail on Local Machine Sigh, I'll keep fiddling with it then and try to reproduce on a Travis osx container. Also I just realized another way to run the build for everything except the mongo plugin. mvn -pl '!contrib/storage-mongo' clean install Thanks, Tim From: Charles Givre Sent: Tuesday, April 17, 2018 7:10:09 PM To: dev@drill.apache.org Subject: Re: Drill Tests Fail on Local Machine HI Tim, No joy :-( --- Test set: org.apache.drill.exec.store.mongo.MongoTestSuit --- Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: -696,139.146 sec <<< FAILURE! - in org.apache.drill.exec.store.mongo.MongoTestSuit org.apache.drill.exec.store.mongo.MongoTestSuit Time elapsed: -696,139.147 sec <<< ERROR! java.io.IOException: Could not start process: at de.flapdoodle.embed.mongo.AbstractMongoProcess.onAfterProcessStart(AbstractMongoProcess.java:79) at de.flapdoodle.embed.process.runtime.AbstractProcess.(AbstractProcess.java:114) at de.flapdoodle.embed.mongo.AbstractMongoProcess.(AbstractMongoProcess.java:53) at de.flapdoodle.embed.mongo.MongoImportProcess.(MongoImportProcess.java:40) at de.flapdoodle.embed.mongo.MongoImportExecutable.start(MongoImportExecutable.java:44) at de.flapdoodle.embed.mongo.MongoImportExecutable.start(MongoImportExecutable.java:35) at de.flapdoodle.embed.process.runtime.Executable.start(Executable.java:101) at org.apache.drill.exec.store.mongo.TestTableGenerator.generateTable(TestTableGenerator.java:62) at org.apache.drill.exec.store.mongo.TestTableGenerator.importData(TestTableGenerator.java:47) at org.apache.drill.exec.store.mongo.MongoTestSuit.initMongo(MongoTestSuit.java:231) Output. [mongod output] 2018-04-17T22:07:30.817-0400 I NETWORK [conn11] end connection 127.0.0.1:64072 (4 connections now open) [mongod output] 2018-04-17T22:07:30.817-0400 I NETWORK [conn10] end connection 127.0.0.1:64052 (2 connections now open) [mongod output] 2018-04-17T22:07:30.817-0400 I NETWORK [conn6] end connection 127.0.0.1:64054 (3 connections now open) [mongod output] 2018-04-17T22:07:30.817-0400 I NETWORK [conn16] end connection 127.0.0.1:64047 (8 connections now open) [mongod output] 2018-04-17T22:07:30.817-0400 I NETWORK [conn6] end connection 127.0.0.1:64053 (2 connections now open) [mongod output] 2018-04-17T22:07:30.817-0400 I NETWORK [conn5] end connection 127.0.0.1:64044 (5 connections now open) [mongod output] 2018-04-17T22:07:30.818-0400 I NETWORK [conn4] end connection 127.0.0.1:64032 (4 connections now open) [mongod output] 2018-04-17T22:07:30.818-0400 I NETWORK [conn3] end connection 127.0.0.1:64031 (4 connections now open) [mongod output] 2018-04-17T22:07:30.818-0400 I NETWORK [conn1] end connection 127.0.0.1:64029 (3 connections now open) [mongod output] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: -696,139.146 sec <<< FAILURE! - in org.apache.drill.exec.store.mongo.MongoTestSuit org.apache.drill.exec.store.mongo.MongoTestSuit Time elapsed: -696,139.147 sec <<< ERROR! java.io.IOException: Could not start process: at de.flapdoodle.embed.mongo.AbstractMongoProcess.onAfterProcessStart(AbstractMongoProcess.java:79) at de.flapdoodle.embed.process.runtime.AbstractProcess.(AbstractProcess.java:114) at de.flapdoodle.embed.mongo.AbstractMongoProcess.(AbstractMongoProcess.java:53) at de.flapdoodle.embed.mongo.MongoImportProcess.(MongoImportProcess.java:40) at de.flapdoodle.embed.mongo.MongoImportExecutable.start(MongoImportExecutable.java:44) at de.flapdoodle.embed.mongo.MongoImportExecutable.start(MongoImportExecutable.java:35) at de.flapdoodle.embed.process.runtime.Executable.start(Executable.java:101) at org.apache.drill.exec.store.mongo.TestTableGenerator.generateTable(TestTableGenerator.java:62) at org.apache.drill.exec.store.mongo.TestTableGenerator.importData(TestTableGenerator.java:47) at org.apache.drill.exec.store.mongo.MongoTestSuit.initMongo(MongoTestSuit.java:231) 2018-04-17T22:07:31.450-0400 I NETWORK [initandlisten] connection accepted from 127.0.0.1:64092 #20 (7 connections now open) [mongod output] 2018-04-17T22:07:31.450-0400 I NETWORK [initandlisten] connection accepted from 127.0.0.1:64
Re: Drill Tests Fail on Local Machine
Sigh, I'll keep fiddling with it then and try to reproduce on a Travis osx container. Also I just realized another way to run the build for everything except the mongo plugin. mvn -pl '!contrib/storage-mongo' clean install Thanks, Tim From: Charles Givre Sent: Tuesday, April 17, 2018 7:10:09 PM To: dev@drill.apache.org Subject: Re: Drill Tests Fail on Local Machine HI Tim, No joy :-( --- Test set: org.apache.drill.exec.store.mongo.MongoTestSuit --- Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: -696,139.146 sec <<< FAILURE! - in org.apache.drill.exec.store.mongo.MongoTestSuit org.apache.drill.exec.store.mongo.MongoTestSuit Time elapsed: -696,139.147 sec <<< ERROR! java.io.IOException: Could not start process: at de.flapdoodle.embed.mongo.AbstractMongoProcess.onAfterProcessStart(AbstractMongoProcess.java:79) at de.flapdoodle.embed.process.runtime.AbstractProcess.(AbstractProcess.java:114) at de.flapdoodle.embed.mongo.AbstractMongoProcess.(AbstractMongoProcess.java:53) at de.flapdoodle.embed.mongo.MongoImportProcess.(MongoImportProcess.java:40) at de.flapdoodle.embed.mongo.MongoImportExecutable.start(MongoImportExecutable.java:44) at de.flapdoodle.embed.mongo.MongoImportExecutable.start(MongoImportExecutable.java:35) at de.flapdoodle.embed.process.runtime.Executable.start(Executable.java:101) at org.apache.drill.exec.store.mongo.TestTableGenerator.generateTable(TestTableGenerator.java:62) at org.apache.drill.exec.store.mongo.TestTableGenerator.importData(TestTableGenerator.java:47) at org.apache.drill.exec.store.mongo.MongoTestSuit.initMongo(MongoTestSuit.java:231) Output. [mongod output] 2018-04-17T22:07:30.817-0400 I NETWORK [conn11] end connection 127.0.0.1:64072 (4 connections now open) [mongod output] 2018-04-17T22:07:30.817-0400 I NETWORK [conn10] end connection 127.0.0.1:64052 (2 connections now open) [mongod output] 2018-04-17T22:07:30.817-0400 I NETWORK [conn6] end connection 127.0.0.1:64054 (3 connections now open) [mongod output] 2018-04-17T22:07:30.817-0400 I NETWORK [conn16] end connection 127.0.0.1:64047 (8 connections now open) [mongod output] 2018-04-17T22:07:30.817-0400 I NETWORK [conn6] end connection 127.0.0.1:64053 (2 connections now open) [mongod output] 2018-04-17T22:07:30.817-0400 I NETWORK [conn5] end connection 127.0.0.1:64044 (5 connections now open) [mongod output] 2018-04-17T22:07:30.818-0400 I NETWORK [conn4] end connection 127.0.0.1:64032 (4 connections now open) [mongod output] 2018-04-17T22:07:30.818-0400 I NETWORK [conn3] end connection 127.0.0.1:64031 (4 connections now open) [mongod output] 2018-04-17T22:07:30.818-0400 I NETWORK [conn1] end connection 127.0.0.1:64029 (3 connections now open) [mongod output] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: -696,139.146 sec <<< FAILURE! - in org.apache.drill.exec.store.mongo.MongoTestSuit org.apache.drill.exec.store.mongo.MongoTestSuit Time elapsed: -696,139.147 sec <<< ERROR! java.io.IOException: Could not start process: at de.flapdoodle.embed.mongo.AbstractMongoProcess.onAfterProcessStart(AbstractMongoProcess.java:79) at de.flapdoodle.embed.process.runtime.AbstractProcess.(AbstractProcess.java:114) at de.flapdoodle.embed.mongo.AbstractMongoProcess.(AbstractMongoProcess.java:53) at de.flapdoodle.embed.mongo.MongoImportProcess.(MongoImportProcess.java:40) at de.flapdoodle.embed.mongo.MongoImportExecutable.start(MongoImportExecutable.java:44) at de.flapdoodle.embed.mongo.MongoImportExecutable.start(MongoImportExecutable.java:35) at de.flapdoodle.embed.process.runtime.Executable.start(Executable.java:101) at org.apache.drill.exec.store.mongo.TestTableGenerator.generateTable(TestTableGenerator.java:62) at org.apache.drill.exec.store.mongo.TestTableGenerator.importData(TestTableGenerator.java:47) at org.apache.drill.exec.store.mongo.MongoTestSuit.initMongo(MongoTestSuit.java:231) 2018-04-17T22:07:31.450-0400 I NETWORK [initandlisten] connection accepted from 127.0.0.1:64092 #20 (7 connections now open) [mongod output] 2018-04-17T22:07:31.450-0400 I NETWORK [initandlisten] connection accepted from 127.0.0.1:64093 #9 (4 connections now open) [mongod output] 2018-04-17T22:07:31.450-0400 I NETWORK [initandlisten] connection accepted from 127.0.0.1:64091 #8 (4 connections now open) [mongod output] 2018-04-17T22:07:31.450-0400 I COMMAND [conn9] terminating, shutdown command received [mongod output] 2018-04-17T22:07:31.450-0400 I FTDC [conn9] Shutting down full-time diagnostic data capture [mongod output] 2018-04-17T22:07:31.450-0400 I
Re: Drill Tests Fail on Local Machine
2.17:test (default-test) on project drill-mongo-storage: There are test failures. [ERROR] [ERROR] Please refer to /Users/cgivre/github/drill-dev/drill-fix/drill/contrib/storage-mongo/target/surefire-reports for the individual test results. [ERROR] -> [Help 1] > On Apr 17, 2018, at 19:59, Timothy Farkas wrote: > > Hi Charles, > > Can you try running the mongodb tests using this branch > https://github.com/ilooner/drill/tree/mongodb-test-fix > <https://github.com/ilooner/drill/tree/mongodb-test-fix> ? > > I can't reproduce the issue on my machine, but others reported setting the > LC_ALL environment variable and upgrading the version of the test library > resolved the issue for them. The branch includes those fixes. > > Thanks, > Tim > > > From: Charles Givre mailto:cgi...@gmail.com>> > Sent: Tuesday, April 17, 2018 3:54:18 PM > To: dev@drill.apache.org <mailto:dev@drill.apache.org> > Subject: Re: Drill Tests Fail on Local Machine > > Here you go > > > cgivre$ locale > LANG="en_US.UTF-8" > LC_COLLATE="en_US.UTF-8" > LC_CTYPE="en_US.UTF-8" > LC_MESSAGES="en_US.UTF-8" > LC_MONETARY="en_US.UTF-8" > LC_NUMERIC="en_US.UTF-8" > LC_TIME="en_US.UTF-8" > LC_ALL= > > Thank you VERY much for your help! > > >> On Apr 17, 2018, at 18:53, Timothy Farkas wrote: >> >> Hi Charles, >> >> It looks like some people had issues with the MongoDB test library when >> their locale was not set properly. Can you provide the output of the locale >> command on your mac. >> >> Thanks, >> Tim >> ________________ >> From: Charles Givre mailto:cgi...@gmail.com> >> <mailto:cgi...@gmail.com <mailto:cgi...@gmail.com>>> >> Sent: Tuesday, April 17, 2018 2:02:11 PM >> To: dev@drill.apache.org <mailto:dev@drill.apache.org> >> <mailto:dev@drill.apache.org <mailto:dev@drill.apache.org>> >> Subject: Re: Drill Tests Fail on Local Machine >> >> Hi Tim, >> Thanks for getting back with me. I’m on a Mac with High Sierra. >> >> Here’s my Java info: >> java -version >> java version "1.8.0_65" >> Java(TM) SE Runtime Environment (build 1.8.0_65-b17) >> Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode) >> >> Thank you very much for your help! >> — C >> >> >>> On Apr 17, 2018, at 16:56, Timothy Farkas >> <mailto:tfar...@mapr.com>> wrote: >>> >>> Hi Charles, >>> >>> According to this thread >>> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_flapdoodle-2Doss_de.flapdoodle.embed.mongo_issues_167&d=DwIFaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=4eQVr8zB8ZBff-yxTimdOQ&m=XaVHrLst5fuHPkMguZsL2qWZTXyFbR0_nf0vnx2-xgk&s=N7lwLR2tEkQRnsyuuyZM4phw0IC8iOXSeSLUUTkznXY&e= >>> >>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_flapdoodle-2Doss_de.flapdoodle.embed.mongo_issues_167&d=DwIFaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=4eQVr8zB8ZBff-yxTimdOQ&m=XaVHrLst5fuHPkMguZsL2qWZTXyFbR0_nf0vnx2-xgk&s=N7lwLR2tEkQRnsyuuyZM4phw0IC8iOXSeSLUUTkznXY&e=><https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_flapdoodle-2Doss_de.flapdoodle.embed.mongo_issues_167&d=DwIFaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=4eQVr8zB8ZBff-yxTimdOQ&m=XaVHrLst5fuHPkMguZsL2qWZTXyFbR0_nf0vnx2-xgk&s=N7lwLR2tEkQRnsyuuyZM4phw0IC8iOXSeSLUUTkznXY&e= >>> >>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_flapdoodle-2Doss_de.flapdoodle.embed.mongo_issues_167&d=DwIFaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=4eQVr8zB8ZBff-yxTimdOQ&m=XaVHrLst5fuHPkMguZsL2qWZTXyFbR0_nf0vnx2-xgk&s=N7lwLR2tEkQRnsyuuyZM4phw0IC8iOXSeSLUUTkznXY&e=>><https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_flapdoodle-2Doss_de.flapdoodle.embed.mongo_issues_167&d=DwIFaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=4eQVr8zB8ZBff-yxTimdOQ&m=XaVHrLst5fuHPkMguZsL2qWZTXyFbR0_nf0vnx2-xgk&s=N7lwLR2tEkQRnsyuuyZM4phw0IC8iOXSeSLUUTkznXY&e= >>> >>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_flapdoodle-2Doss_de.flapdoodle.embed.mongo_issues_167&d=DwIFaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=4eQVr8zB8ZBff-yxTimdOQ&m=XaVHrLst5fuHPkMguZsL2qWZTXyFbR0_nf0vnx2-xgk&s=N7lwLR2tEkQRnsyuuyZM4phw0IC8iOXSeSLUUTkznXY&e=><https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_flapdoodle-2Doss_de.flapdoodle.embed.mongo_issues_167&d=DwIFaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=4eQVr8zB8ZBff-yxTimdOQ&m=XaVHrLst5fuHPkMgu
Re: Drill Tests Fail on Local Machine
Hi Charles, Can you try running the mongodb tests using this branch https://github.com/ilooner/drill/tree/mongodb-test-fix ? I can't reproduce the issue on my machine, but others reported setting the LC_ALL environment variable and upgrading the version of the test library resolved the issue for them. The branch includes those fixes. Thanks, Tim From: Charles Givre Sent: Tuesday, April 17, 2018 3:54:18 PM To: dev@drill.apache.org Subject: Re: Drill Tests Fail on Local Machine Here you go cgivre$ locale LANG="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_CTYPE="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_ALL= Thank you VERY much for your help! > On Apr 17, 2018, at 18:53, Timothy Farkas wrote: > > Hi Charles, > > It looks like some people had issues with the MongoDB test library when their > locale was not set properly. Can you provide the output of the locale command > on your mac. > > Thanks, > Tim > > From: Charles Givre mailto:cgi...@gmail.com>> > Sent: Tuesday, April 17, 2018 2:02:11 PM > To: dev@drill.apache.org <mailto:dev@drill.apache.org> > Subject: Re: Drill Tests Fail on Local Machine > > Hi Tim, > Thanks for getting back with me. I’m on a Mac with High Sierra. > > Here’s my Java info: > java -version > java version "1.8.0_65" > Java(TM) SE Runtime Environment (build 1.8.0_65-b17) > Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode) > > Thank you very much for your help! > — C > > >> On Apr 17, 2018, at 16:56, Timothy Farkas wrote: >> >> Hi Charles, >> >> According to this thread >> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_flapdoodle-2Doss_de.flapdoodle.embed.mongo_issues_167&d=DwIFaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=4eQVr8zB8ZBff-yxTimdOQ&m=XaVHrLst5fuHPkMguZsL2qWZTXyFbR0_nf0vnx2-xgk&s=N7lwLR2tEkQRnsyuuyZM4phw0IC8iOXSeSLUUTkznXY&e= >> >> <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_flapdoodle-2Doss_de.flapdoodle.embed.mongo_issues_167&d=DwIFaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=4eQVr8zB8ZBff-yxTimdOQ&m=XaVHrLst5fuHPkMguZsL2qWZTXyFbR0_nf0vnx2-xgk&s=N7lwLR2tEkQRnsyuuyZM4phw0IC8iOXSeSLUUTkznXY&e=><https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_flapdoodle-2Doss_de.flapdoodle.embed.mongo_issues_167&d=DwIFaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=4eQVr8zB8ZBff-yxTimdOQ&m=XaVHrLst5fuHPkMguZsL2qWZTXyFbR0_nf0vnx2-xgk&s=N7lwLR2tEkQRnsyuuyZM4phw0IC8iOXSeSLUUTkznXY&e= >> >> <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_flapdoodle-2Doss_de.flapdoodle.embed.mongo_issues_167&d=DwIFaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=4eQVr8zB8ZBff-yxTimdOQ&m=XaVHrLst5fuHPkMguZsL2qWZTXyFbR0_nf0vnx2-xgk&s=N7lwLR2tEkQRnsyuuyZM4phw0IC8iOXSeSLUUTkznXY&e=>> >> there are a couple possibilities. Are you running 32-bit java or are you >> developing on Windows? >> >> Thanks, >> Tim >> >> >> From: Charles Givre mailto:cgi...@gmail.com> >> <mailto:cgi...@gmail.com <mailto:cgi...@gmail.com>>> >> Sent: Tuesday, April 17, 2018 10:25:17 AM >> To: dev@drill.apache.org <mailto:dev@drill.apache.org> >> <mailto:dev@drill.apache.org <mailto:dev@drill.apache.org>> >> Subject: Re: Drill Tests Fail on Local Machine >> >> Hi Tim, >> Here’s the error: >> >> Results : >> >> Tests in error: >> MongoTestSuit.initMongo:226 » Error while starting shrded cluster. >> >> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 >> >> [INFO] >> >> [INFO] BUILD FAILURE >> [INFO] >> >> [INFO] Total time: 39.848 s >> [INFO] Finished at: 2018-04-17T13:24:31-04:00 >> [INFO] >> >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on >> project drill-mongo-storage: There are test failures. >> [ERROR] >> [ERROR] Please refer to >> /Users/cgivre/github/drill-dev/drill-log/drill/contrib/storage-mongo/target/surefire-reports >> for the individual test results. >> [ERROR] -> [Help 1] >> [ERROR] >> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e >> switch. >> [ERRO
Re: Drill Tests Fail on Local Machine
Here you go cgivre$ locale LANG="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_CTYPE="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_ALL= Thank you VERY much for your help! > On Apr 17, 2018, at 18:53, Timothy Farkas wrote: > > Hi Charles, > > It looks like some people had issues with the MongoDB test library when their > locale was not set properly. Can you provide the output of the locale command > on your mac. > > Thanks, > Tim > > From: Charles Givre mailto:cgi...@gmail.com>> > Sent: Tuesday, April 17, 2018 2:02:11 PM > To: dev@drill.apache.org <mailto:dev@drill.apache.org> > Subject: Re: Drill Tests Fail on Local Machine > > Hi Tim, > Thanks for getting back with me. I’m on a Mac with High Sierra. > > Here’s my Java info: > java -version > java version "1.8.0_65" > Java(TM) SE Runtime Environment (build 1.8.0_65-b17) > Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode) > > Thank you very much for your help! > — C > > >> On Apr 17, 2018, at 16:56, Timothy Farkas wrote: >> >> Hi Charles, >> >> According to this thread >> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_flapdoodle-2Doss_de.flapdoodle.embed.mongo_issues_167&d=DwIFaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=4eQVr8zB8ZBff-yxTimdOQ&m=XaVHrLst5fuHPkMguZsL2qWZTXyFbR0_nf0vnx2-xgk&s=N7lwLR2tEkQRnsyuuyZM4phw0IC8iOXSeSLUUTkznXY&e= >> >> <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_flapdoodle-2Doss_de.flapdoodle.embed.mongo_issues_167&d=DwIFaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=4eQVr8zB8ZBff-yxTimdOQ&m=XaVHrLst5fuHPkMguZsL2qWZTXyFbR0_nf0vnx2-xgk&s=N7lwLR2tEkQRnsyuuyZM4phw0IC8iOXSeSLUUTkznXY&e=><https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_flapdoodle-2Doss_de.flapdoodle.embed.mongo_issues_167&d=DwIFaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=4eQVr8zB8ZBff-yxTimdOQ&m=XaVHrLst5fuHPkMguZsL2qWZTXyFbR0_nf0vnx2-xgk&s=N7lwLR2tEkQRnsyuuyZM4phw0IC8iOXSeSLUUTkznXY&e= >> >> <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_flapdoodle-2Doss_de.flapdoodle.embed.mongo_issues_167&d=DwIFaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=4eQVr8zB8ZBff-yxTimdOQ&m=XaVHrLst5fuHPkMguZsL2qWZTXyFbR0_nf0vnx2-xgk&s=N7lwLR2tEkQRnsyuuyZM4phw0IC8iOXSeSLUUTkznXY&e=>> >> there are a couple possibilities. Are you running 32-bit java or are you >> developing on Windows? >> >> Thanks, >> Tim >> >> >> From: Charles Givre mailto:cgi...@gmail.com> >> <mailto:cgi...@gmail.com <mailto:cgi...@gmail.com>>> >> Sent: Tuesday, April 17, 2018 10:25:17 AM >> To: dev@drill.apache.org <mailto:dev@drill.apache.org> >> <mailto:dev@drill.apache.org <mailto:dev@drill.apache.org>> >> Subject: Re: Drill Tests Fail on Local Machine >> >> Hi Tim, >> Here’s the error: >> >> Results : >> >> Tests in error: >> MongoTestSuit.initMongo:226 » Error while starting shrded cluster. >> >> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 >> >> [INFO] >> >> [INFO] BUILD FAILURE >> [INFO] >> >> [INFO] Total time: 39.848 s >> [INFO] Finished at: 2018-04-17T13:24:31-04:00 >> [INFO] >> >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on >> project drill-mongo-storage: There are test failures. >> [ERROR] >> [ERROR] Please refer to >> /Users/cgivre/github/drill-dev/drill-log/drill/contrib/storage-mongo/target/surefire-reports >> for the individual test results. >> [ERROR] -> [Help 1] >> [ERROR] >> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e >> switch. >> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >> [ERROR] >> [ERROR] For more information about the errors and possible solutions, please >> read the following articles: >> [ERROR] [Help 1] >> https://urldefense.proofpoint.com/v2/url?u=http-3A__cwiki.apache.org_confluence_display_MAVEN_MojoFailureException&d=DwIFaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=4eQVr8zB8ZBff-yxTimdOQ&m=QASXSGvaWCynAcdxyMzhcsEck1PKPXfV7b3-csdlrD0&s=qq8r1rCmNKgCzG8bq
Re: Drill Tests Fail on Local Machine
Hi Charles, It looks like some people had issues with the MongoDB test library when their locale was not set properly. Can you provide the output of the locale command on your mac. Thanks, Tim From: Charles Givre Sent: Tuesday, April 17, 2018 2:02:11 PM To: dev@drill.apache.org Subject: Re: Drill Tests Fail on Local Machine Hi Tim, Thanks for getting back with me. I’m on a Mac with High Sierra. Here’s my Java info: java -version java version "1.8.0_65" Java(TM) SE Runtime Environment (build 1.8.0_65-b17) Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode) Thank you very much for your help! — C > On Apr 17, 2018, at 16:56, Timothy Farkas wrote: > > Hi Charles, > > According to this thread > https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_flapdoodle-2Doss_de.flapdoodle.embed.mongo_issues_167&d=DwIFaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=4eQVr8zB8ZBff-yxTimdOQ&m=XaVHrLst5fuHPkMguZsL2qWZTXyFbR0_nf0vnx2-xgk&s=N7lwLR2tEkQRnsyuuyZM4phw0IC8iOXSeSLUUTkznXY&e= > > <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_flapdoodle-2Doss_de.flapdoodle.embed.mongo_issues_167&d=DwIFaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=4eQVr8zB8ZBff-yxTimdOQ&m=XaVHrLst5fuHPkMguZsL2qWZTXyFbR0_nf0vnx2-xgk&s=N7lwLR2tEkQRnsyuuyZM4phw0IC8iOXSeSLUUTkznXY&e=> > there are a couple possibilities. Are you running 32-bit java or are you > developing on Windows? > > Thanks, > Tim > > > From: Charles Givre mailto:cgi...@gmail.com>> > Sent: Tuesday, April 17, 2018 10:25:17 AM > To: dev@drill.apache.org <mailto:dev@drill.apache.org> > Subject: Re: Drill Tests Fail on Local Machine > > Hi Tim, > Here’s the error: > > Results : > > Tests in error: > MongoTestSuit.initMongo:226 » Error while starting shrded cluster. > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 > > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 39.848 s > [INFO] Finished at: 2018-04-17T13:24:31-04:00 > [INFO] > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on > project drill-mongo-storage: There are test failures. > [ERROR] > [ERROR] Please refer to > /Users/cgivre/github/drill-dev/drill-log/drill/contrib/storage-mongo/target/surefire-reports > for the individual test results. > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > https://urldefense.proofpoint.com/v2/url?u=http-3A__cwiki.apache.org_confluence_display_MAVEN_MojoFailureException&d=DwIFaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=4eQVr8zB8ZBff-yxTimdOQ&m=QASXSGvaWCynAcdxyMzhcsEck1PKPXfV7b3-csdlrD0&s=qq8r1rCmNKgCzG8bqNJRyXVk6EhCtQuKz-AU7hO8CQ8&e= > > <https://urldefense.proofpoint.com/v2/url?u=http-3A__cwiki.apache.org_confluence_display_MAVEN_MojoFailureException&d=DwIFaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=4eQVr8zB8ZBff-yxTimdOQ&m=QASXSGvaWCynAcdxyMzhcsEck1PKPXfV7b3-csdlrD0&s=qq8r1rCmNKgCzG8bqNJRyXVk6EhCtQuKz-AU7hO8CQ8&e=> > > > > --- > Test set: org.apache.drill.exec.store.mongo.MongoTestSuit > --- > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: -868,676.297 > sec <<< FAILURE! - in org.apache.drill.exec.store.mongo.MongoTestSuit > org.apache.drill.exec.store.mongo.MongoTestSuit Time elapsed: -868,676.298 > sec <<< ERROR! > java.io.IOException: Could not start process: >at > de.flapdoodle.embed.mongo.AbstractMongoProcess.onAfterProcessStart(AbstractMongoProcess.java:79) >at > de.flapdoodle.embed.process.runtime.AbstractProcess.(AbstractProcess.java:114) >at > de.flapdoodle.embed.mongo.AbstractMongoProcess.(AbstractMongoProcess.java:53) >at > de.flapdoodle.embed.mongo.MongoImportProcess.(MongoImportProcess.java:40) >at > de.flapdoodle.embed.mongo.MongoImportExecutable.start(MongoImportExecutable.java:44) >at > de.flapdoodle.embed.mongo.MongoImportExecutable.start(MongoImportExecutable.java:35) >at > de.flapdoodle.embed.process.ru
Re: Drill Tests Fail on Local Machine
Hi Tim, Thanks for getting back with me. I’m on a Mac with High Sierra. Here’s my Java info: java -version java version "1.8.0_65" Java(TM) SE Runtime Environment (build 1.8.0_65-b17) Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode) Thank you very much for your help! — C > On Apr 17, 2018, at 16:56, Timothy Farkas wrote: > > Hi Charles, > > According to this thread > https://github.com/flapdoodle-oss/de.flapdoodle.embed.mongo/issues/167 > <https://github.com/flapdoodle-oss/de.flapdoodle.embed.mongo/issues/167> > there are a couple possibilities. Are you running 32-bit java or are you > developing on Windows? > > Thanks, > Tim > > > From: Charles Givre mailto:cgi...@gmail.com>> > Sent: Tuesday, April 17, 2018 10:25:17 AM > To: dev@drill.apache.org <mailto:dev@drill.apache.org> > Subject: Re: Drill Tests Fail on Local Machine > > Hi Tim, > Here’s the error: > > Results : > > Tests in error: > MongoTestSuit.initMongo:226 » Error while starting shrded cluster. > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 > > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 39.848 s > [INFO] Finished at: 2018-04-17T13:24:31-04:00 > [INFO] > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on > project drill-mongo-storage: There are test failures. > [ERROR] > [ERROR] Please refer to > /Users/cgivre/github/drill-dev/drill-log/drill/contrib/storage-mongo/target/surefire-reports > for the individual test results. > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > https://urldefense.proofpoint.com/v2/url?u=http-3A__cwiki.apache.org_confluence_display_MAVEN_MojoFailureException&d=DwIFaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=4eQVr8zB8ZBff-yxTimdOQ&m=QASXSGvaWCynAcdxyMzhcsEck1PKPXfV7b3-csdlrD0&s=qq8r1rCmNKgCzG8bqNJRyXVk6EhCtQuKz-AU7hO8CQ8&e= > > <https://urldefense.proofpoint.com/v2/url?u=http-3A__cwiki.apache.org_confluence_display_MAVEN_MojoFailureException&d=DwIFaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=4eQVr8zB8ZBff-yxTimdOQ&m=QASXSGvaWCynAcdxyMzhcsEck1PKPXfV7b3-csdlrD0&s=qq8r1rCmNKgCzG8bqNJRyXVk6EhCtQuKz-AU7hO8CQ8&e=> > > > > --- > Test set: org.apache.drill.exec.store.mongo.MongoTestSuit > --- > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: -868,676.297 > sec <<< FAILURE! - in org.apache.drill.exec.store.mongo.MongoTestSuit > org.apache.drill.exec.store.mongo.MongoTestSuit Time elapsed: -868,676.298 > sec <<< ERROR! > java.io.IOException: Could not start process: >at > de.flapdoodle.embed.mongo.AbstractMongoProcess.onAfterProcessStart(AbstractMongoProcess.java:79) >at > de.flapdoodle.embed.process.runtime.AbstractProcess.(AbstractProcess.java:114) >at > de.flapdoodle.embed.mongo.AbstractMongoProcess.(AbstractMongoProcess.java:53) >at > de.flapdoodle.embed.mongo.MongoImportProcess.(MongoImportProcess.java:40) >at > de.flapdoodle.embed.mongo.MongoImportExecutable.start(MongoImportExecutable.java:44) >at > de.flapdoodle.embed.mongo.MongoImportExecutable.start(MongoImportExecutable.java:35) >at > de.flapdoodle.embed.process.runtime.Executable.start(Executable.java:101) >at > org.apache.drill.exec.store.mongo.TestTableGenerator.generateTable(TestTableGenerator.java:62) >at > org.apache.drill.exec.store.mongo.TestTableGenerator.importData(TestTableGenerator.java:47) >at > org.apache.drill.exec.store.mongo.MongoTestSuit.initMongo(MongoTestSuit.java:231) > > > > > > time="-868,676.298" tests="1" errors="1" skipped="0" failures="0"> > > > > value="/Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/jre/lib"/> > > > > value="/Users/cgivre/github/drill-dev/drill-log/drill"/> > value="https://urlde
Re: Drill Tests Fail on Local Machine
Hi Charles, According to this thread https://github.com/flapdoodle-oss/de.flapdoodle.embed.mongo/issues/167 there are a couple possibilities. Are you running 32-bit java or are you developing on Windows? Thanks, Tim From: Charles Givre Sent: Tuesday, April 17, 2018 10:25:17 AM To: dev@drill.apache.org Subject: Re: Drill Tests Fail on Local Machine Hi Tim, Here’s the error: Results : Tests in error: MongoTestSuit.initMongo:226 » Error while starting shrded cluster. Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 39.848 s [INFO] Finished at: 2018-04-17T13:24:31-04:00 [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project drill-mongo-storage: There are test failures. [ERROR] [ERROR] Please refer to /Users/cgivre/github/drill-dev/drill-log/drill/contrib/storage-mongo/target/surefire-reports for the individual test results. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] https://urldefense.proofpoint.com/v2/url?u=http-3A__cwiki.apache.org_confluence_display_MAVEN_MojoFailureException&d=DwIFaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=4eQVr8zB8ZBff-yxTimdOQ&m=QASXSGvaWCynAcdxyMzhcsEck1PKPXfV7b3-csdlrD0&s=qq8r1rCmNKgCzG8bqNJRyXVk6EhCtQuKz-AU7hO8CQ8&e= --- Test set: org.apache.drill.exec.store.mongo.MongoTestSuit --- Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: -868,676.297 sec <<< FAILURE! - in org.apache.drill.exec.store.mongo.MongoTestSuit org.apache.drill.exec.store.mongo.MongoTestSuit Time elapsed: -868,676.298 sec <<< ERROR! java.io.IOException: Could not start process: at de.flapdoodle.embed.mongo.AbstractMongoProcess.onAfterProcessStart(AbstractMongoProcess.java:79) at de.flapdoodle.embed.process.runtime.AbstractProcess.(AbstractProcess.java:114) at de.flapdoodle.embed.mongo.AbstractMongoProcess.(AbstractMongoProcess.java:53) at de.flapdoodle.embed.mongo.MongoImportProcess.(MongoImportProcess.java:40) at de.flapdoodle.embed.mongo.MongoImportExecutable.start(MongoImportExecutable.java:44) at de.flapdoodle.embed.mongo.MongoImportExecutable.start(MongoImportExecutable.java:35) at de.flapdoodle.embed.process.runtime.Executable.start(Executable.java:101) at org.apache.drill.exec.store.mongo.TestTableGenerator.generateTable(TestTableGenerator.java:62) at org.apache.drill.exec.store.mongo.TestTableGenerator.importData(TestTableGenerator.java:47) at org.apache.drill.exec.store.mongo.MongoTestSuit.initMongo(MongoTestSuit.java:231) https://urldefense.proofpoint.com/v2/url?u=http-3A__java.oracle.com_-2522_&d=DwIFaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=4eQVr8zB8ZBff-yxTimdOQ&m=QASXSGvaWCynAcdxyMzhcsEck1PKPXfV7b3-csdlrD0&s=VEi5z_Vg0yUYTV2Ke6QMnOZYHePa4smPvnMh3cpY7gg&e=> https://urldefense.proofpoint.com/v2/url?u=http-3A__bugreport.sun.com_bugreport_-2522_&d=DwIFaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=4eQVr8zB8ZBff-yxTimdOQ&m=QASXSGvaWCynAcdxyMzhcsEck1PKPXfV7b3-csdlrD0&s=yVWkRGc92-mMN8qezp7ehs85h8LeFgNN0ulHlKXiasE&e=> > On Apr 17, 2018, at 13:15, Timothy Farkas wrote: > > Hi Charles, > > You can cd into the submodule that you want to test and run mvn clean install > as usual. This will run only the unit tests for the sub module you cd'ed into. > > Could you post the tests that are failing for MongoDB along with the > exceptions for those tests? If you could provide the complete mvn output for > your failed build that would help as well. Keeping the build healthy and > stable is really important to us, so it would be a big help if you could give > us these details. > > Thanks, > Tim > > > > > > > From: Charles Givre > Sent: Tuesday, April 17, 2018 6:22:13 AM >
Re: Drill Tests Fail on Local Machine
Hi Tim, Here’s the error: Results : Tests in error: MongoTestSuit.initMongo:226 » Error while starting shrded cluster. Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 39.848 s [INFO] Finished at: 2018-04-17T13:24:31-04:00 [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project drill-mongo-storage: There are test failures. [ERROR] [ERROR] Please refer to /Users/cgivre/github/drill-dev/drill-log/drill/contrib/storage-mongo/target/surefire-reports for the individual test results. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException --- Test set: org.apache.drill.exec.store.mongo.MongoTestSuit --- Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: -868,676.297 sec <<< FAILURE! - in org.apache.drill.exec.store.mongo.MongoTestSuit org.apache.drill.exec.store.mongo.MongoTestSuit Time elapsed: -868,676.298 sec <<< ERROR! java.io.IOException: Could not start process: at de.flapdoodle.embed.mongo.AbstractMongoProcess.onAfterProcessStart(AbstractMongoProcess.java:79) at de.flapdoodle.embed.process.runtime.AbstractProcess.(AbstractProcess.java:114) at de.flapdoodle.embed.mongo.AbstractMongoProcess.(AbstractMongoProcess.java:53) at de.flapdoodle.embed.mongo.MongoImportProcess.(MongoImportProcess.java:40) at de.flapdoodle.embed.mongo.MongoImportExecutable.start(MongoImportExecutable.java:44) at de.flapdoodle.embed.mongo.MongoImportExecutable.start(MongoImportExecutable.java:35) at de.flapdoodle.embed.process.runtime.Executable.start(Executable.java:101) at org.apache.drill.exec.store.mongo.TestTableGenerator.generateTable(TestTableGenerator.java:62) at org.apache.drill.exec.store.mongo.TestTableGenerator.importData(TestTableGenerator.java:47) at org.apache.drill.exec.store.mongo.MongoTestSuit.initMongo(MongoTestSuit.java:231) http://java.oracle.com/"/> http://bugreport.sun.com/bugreport/"/> > On Apr 17, 2018, at 13:15, Timothy Farkas wrote: > > Hi Charles, > > You can cd into the submodule that you want to test and run mvn clean install > as usual. This will run only the unit tests for the sub module you cd'ed into. > > Could you post the tests that are failing for MongoDB along with the > exceptions for those tests? If you could provide the complete mvn output for > your failed build that would help as well. Keeping the build healthy and > stable is really important to us, so it would be a big help if you could give > us these details. > > Thanks, > Tim > > > > > > > From: Charles Givre > Sent: Tuesday, April 17, 2018 6:22:13 AM > To: dev@drill.apache.org > Subject: Drill Tests Fail on Local Machine > > All, > I’m trying to test some things in Drill and the unit tests for the MongoDB > are failing. I would like to know: > 1. If it is possible to only run the unit tests for the components I am > working on OR > 2. It it is possible to skip the MongoDB tests > 3. If it isn’t, does MongoDB ned to be installed on my local machine in > order for this test to pass > > Any advice would be appreciated. > Thanks, > — C
Re: Drill Tests Fail on Local Machine
Hi Charles, You can cd into the submodule that you want to test and run mvn clean install as usual. This will run only the unit tests for the sub module you cd'ed into. Could you post the tests that are failing for MongoDB along with the exceptions for those tests? If you could provide the complete mvn output for your failed build that would help as well. Keeping the build healthy and stable is really important to us, so it would be a big help if you could give us these details. Thanks, Tim From: Charles Givre Sent: Tuesday, April 17, 2018 6:22:13 AM To: dev@drill.apache.org Subject: Drill Tests Fail on Local Machine All, I’m trying to test some things in Drill and the unit tests for the MongoDB are failing. I would like to know: 1. If it is possible to only run the unit tests for the components I am working on OR 2. It it is possible to skip the MongoDB tests 3. If it isn’t, does MongoDB ned to be installed on my local machine in order for this test to pass Any advice would be appreciated. Thanks, — C