sonali shrivastava created TWILL-172:
----------------------------------------
Summary: 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)