[jira] [Commented] (KAFKA-3877) Gradle compiler daemon exits with non-zero exit code while running LogOffsetTest
[ https://issues.apache.org/jira/browse/KAFKA-3877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15947790#comment-15947790 ] Armin Braun commented on KAFKA-3877: [~ijuma] I think this is not actually a Kafka build instability. Exit code `137` means that the process was killed by some other process sending `SIGKILL` (probably just the Kernel OOM killer). > Gradle compiler daemon exits with non-zero exit code while running > LogOffsetTest > > > Key: KAFKA-3877 > URL: https://issues.apache.org/jira/browse/KAFKA-3877 > Project: Kafka > Issue Type: Sub-task >Reporter: Ismael Juma > Labels: transient-unit-test-failure > > This happened in a recent build: > {code} > kafka.server.LogOffsetTest > testGetOffsetsBeforeNow STARTED > :kafka-trunk-jdk8:core:test FAILED > :test_core_2_11 FAILED > FAILURE: Build failed with an exception. > * What went wrong: > Execution failed for task ':test_core_2_11'. > > Process 'Gradle Compiler Daemon 1' finished with non-zero exit value 137 > {code} > https://builds.apache.org/job/kafka-trunk-jdk8/702 -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (KAFKA-3877) Gradle compiler daemon exits with non-zero exit code while running LogOffsetTest
[ https://issues.apache.org/jira/browse/KAFKA-3877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15991444#comment-15991444 ] Colin P. McCabe commented on KAFKA-3877: As [~original-brownbear] commented, this is almost certainly an OOM error caused by the Jenkins environment not having enough free memory. I've seen this locally in low-memory situations as well. > Gradle compiler daemon exits with non-zero exit code while running > LogOffsetTest > > > Key: KAFKA-3877 > URL: https://issues.apache.org/jira/browse/KAFKA-3877 > Project: Kafka > Issue Type: Sub-task >Reporter: Ismael Juma > Labels: transient-unit-test-failure > > This happened in a recent build: > {code} > kafka.server.LogOffsetTest > testGetOffsetsBeforeNow STARTED > :kafka-trunk-jdk8:core:test FAILED > :test_core_2_11 FAILED > FAILURE: Build failed with an exception. > * What went wrong: > Execution failed for task ':test_core_2_11'. > > Process 'Gradle Compiler Daemon 1' finished with non-zero exit value 137 > {code} > https://builds.apache.org/job/kafka-trunk-jdk8/702 -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (KAFKA-3877) Gradle compiler daemon exits with non-zero exit code while running LogOffsetTest
[ https://issues.apache.org/jira/browse/KAFKA-3877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15357533#comment-15357533 ] Guozhang Wang commented on KAFKA-3877: -- I saw a slightly different failure on the same test case, with the following log output. Is there a potential bug in {{Schema.read}} [~ijuma] {code} Error Message java.lang.AssertionError: Leader should be elected Stacktrace java.lang.AssertionError: Leader should be elected at org.junit.Assert.fail(Assert.java:88) at kafka.utils.TestUtils$.waitUntilTrue(TestUtils.scala:771) at kafka.server.LogOffsetTest.testGetOffsetsBeforeNow(LogOffsetTest.scala:163) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:112) at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:56) at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:66) at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51) at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) at org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32) at org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) at com.sun.proxy.$Proxy2.processTestClass(Unknown Source) at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109) at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) at org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:364) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54) at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Standard Output [2016-06-30 14:35:54,112] ERROR Uncaught error in kafka producer I/O thread: (org.apache.kafka.clients.producer.internals.Sender:136) org.apache.kafka.common.protocol.types.SchemaException: Error reading field 'brokers': Error reading field 'host': Error reading string of length 28516, only 36 bytes available at org.apache.kafka.comm
[jira] [Commented] (KAFKA-3877) Gradle compiler daemon exits with non-zero exit code while running LogOffsetTest
[ https://issues.apache.org/jira/browse/KAFKA-3877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15359335#comment-15359335 ] Guozhang Wang commented on KAFKA-3877: -- Just saw another one of this test case failure: https://builds.apache.org/job/kafka-trunk-git-pr-jdk7/4497/console > Gradle compiler daemon exits with non-zero exit code while running > LogOffsetTest > > > Key: KAFKA-3877 > URL: https://issues.apache.org/jira/browse/KAFKA-3877 > Project: Kafka > Issue Type: Sub-task >Reporter: Ismael Juma > Labels: transient-unit-test-failure > > This happened in a recent build: > {code} > kafka.server.LogOffsetTest > testGetOffsetsBeforeNow STARTED > :kafka-trunk-jdk8:core:test FAILED > :test_core_2_11 FAILED > FAILURE: Build failed with an exception. > * What went wrong: > Execution failed for task ':test_core_2_11'. > > Process 'Gradle Compiler Daemon 1' finished with non-zero exit value 137 > {code} > https://builds.apache.org/job/kafka-trunk-jdk8/702 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (KAFKA-3877) Gradle compiler daemon exits with non-zero exit code while running LogOffsetTest
[ https://issues.apache.org/jira/browse/KAFKA-3877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15359346#comment-15359346 ] Vahid Hashemian commented on KAFKA-3877: I've seen a few recent builds fail in {{kafka.utils.TestUtils$.waitUntilTrue(...)}} for some tests. I modified the default 5000 ms to 1 ms for my PR and it passed. Wondering whether the 5000 ms needs to be increased. > Gradle compiler daemon exits with non-zero exit code while running > LogOffsetTest > > > Key: KAFKA-3877 > URL: https://issues.apache.org/jira/browse/KAFKA-3877 > Project: Kafka > Issue Type: Sub-task >Reporter: Ismael Juma > Labels: transient-unit-test-failure > > This happened in a recent build: > {code} > kafka.server.LogOffsetTest > testGetOffsetsBeforeNow STARTED > :kafka-trunk-jdk8:core:test FAILED > :test_core_2_11 FAILED > FAILURE: Build failed with an exception. > * What went wrong: > Execution failed for task ':test_core_2_11'. > > Process 'Gradle Compiler Daemon 1' finished with non-zero exit value 137 > {code} > https://builds.apache.org/job/kafka-trunk-jdk8/702 -- This message was sent by Atlassian JIRA (v6.3.4#6332)