You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Daniel Chen (JIRA)" <ji...@apache.org> on 2019/02/02 01:21:00 UTC

[jira] [Updated] (SAMZA-2095) Fix flaky timeout error in TestZKUtils

     [ https://issues.apache.org/jira/browse/SAMZA-2095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Chen  updated SAMZA-2095:
--------------------------------
    Description: 
We observed recurring build failures in LinkedIn build machines(not in local dev-setup, travis) due to the following exception:

{{java.lang.AssertionError: Client connection setup failed. Aborting tests.. "java.lang.AssertionError: Client connection setup failed. Aborting tests.. at org.junit.Assert.fail(Assert.java:88) at org.apache.samza.zk.TestZkUtils.testSetup(TestZkUtils.java:80) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) 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.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:239) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:745) }}

  was:
- Increase the timeout 

- Stop swallowing errors


> Fix flaky timeout error in TestZKUtils
> --------------------------------------
>
>                 Key: SAMZA-2095
>                 URL: https://issues.apache.org/jira/browse/SAMZA-2095
>             Project: Samza
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 1.0
>            Reporter: Daniel Chen 
>            Assignee: Daniel Chen 
>            Priority: Major
>
> We observed recurring build failures in LinkedIn build machines(not in local dev-setup, travis) due to the following exception:
> {{java.lang.AssertionError: Client connection setup failed. Aborting tests.. "java.lang.AssertionError: Client connection setup failed. Aborting tests.. at org.junit.Assert.fail(Assert.java:88) at org.apache.samza.zk.TestZkUtils.testSetup(TestZkUtils.java:80) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) 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.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:239) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:745) }}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)