[ https://issues.apache.org/jira/browse/TWILL-172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15350445#comment-15350445 ]
sonali shrivastava commented on TWILL-172: ------------------------------------------ Hi Terence Yim, Thanks for the reply. Have you got results installing IBM jdk? The error below comes in power 64le m/c using IBM jdk 1.8 and open jdk 1.8: i.e. Failed tests: KafkaTest.testKafkaClient:186 null Tests run: 25, Failures: 1, Errors: 0, Skipped: 0 and it fails executing i.e. "latch.await(5, TimeUnit.SECONDS)" . Analysis done from my side: For “KafkaTest.testKafkaClient:186 null”, it throws assertion error as “NULL” as thread “KafkaClient” calls “latch.await(5, TimeUnit.SECONDS)” and waits for 5 seconds for background event thread to finish its “execution + signaling after execution” but as "kafkaclient" does not receive signal and as a result it times out after latch of 5seconds and hence assertion error as NULL So it seems this is time out issue which caused above error which is not major. Thank You. Thanks & Regards, Sonali Shrivastava > Getting test failures for "Apache Twill core library" for RHEL 7.2 ppc64le > -------------------------------------------------------------------------- > > Key: TWILL-172 > URL: https://issues.apache.org/jira/browse/TWILL-172 > Project: Apache Twill > Issue Type: Bug > Components: core > Affects Versions: 0.7.0-incubating > Environment: IBM jdk 1.8,maven 3.3.9 > Reporter: sonali shrivastava > Fix For: 0.7.0-incubating > > > Hi All, > I am trying to build and test Incubator Twill for RHEL 7.2 ppc64le. Have > installed ibm jdk 1.8 and getting below error: > Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 21.979 sec > <<< FAILURE! > testKafkaClient(org.apache.twill.kafka.client.KafkaTest) Time elapsed: 5.665 > sec <<< FAILURE! > java.lang.AssertionError: null > at org.junit.Assert.fail(Assert.java:86) > at org.junit.Assert.assertTrue(Assert.java:41) > at org.junit.Assert.assertTrue(Assert.java:52) > at > org.apache.twill.kafka.client.KafkaTest.testKafkaClient(KafkaTest.java:186) > testKafkaClientReconnect(org.apache.twill.kafka.client.KafkaTest) Time > elapsed: 6.555 sec > testBrokerChange(org.apache.twill.kafka.client.KafkaTest) Time elapsed: > 6.664 sec > Results : > Failed tests: > KafkaTest.testKafkaClient:186 null > Tests run: 25, Failures: 1, Errors: 0, Skipped: 0 > I have debugged code and following are my analysis: > For “KafkaTest.testKafkaClient:186 null”, it throws assertion error as “NULL” > as thread “KafkaClient” calls “latch.await(5, TimeUnit.SECONDS)” and waits > for 5 seconds for background event thread to finish its “execution + > signaling after execution” but as "kafkaclient" does not receive signal and > as a result it times out after latch of 5seconds and hence assertion error as > NULL > Have tried to execute command: > export PROFILE="2.7.1" > mvn test -P $PROFILE -Dsurefire.redirectTestOutputToFile=false > -Dtwill.zk.server.localhost=false > wherein I have installed hadoop 2.7.1 and also have configured for services > to start and started all hadoop services. Got same error using IBM jdk 1.8 as > well as for openjdk 1.8 > It will be good if you please suggest for the reason for such Test Failure. > Thanks & Regards, > Sonali Shrivastava -- This message was sent by Atlassian JIRA (v6.3.4#6332)