[
https://issues.apache.org/jira/browse/FLINK-7960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary Yao updated FLINK-7960:
----------------------------
Description:
When running {{ExecutionGraphRestartTest}} as a whole,
{{testConcurrentLocalFailAndRestart}} fails sporadically.
Command to run tests:
{noformat}
mvn -DfailIfNoTests=false -Dtest=ExecutionGraphRestartTest test
{noformat}
Stacktrace
{noformat}
java.lang.AssertionError
at
org.apache.flink.runtime.executiongraph.ExecutionGraphTestUtils.switchToRunning(ExecutionGraphTestUtils.java:205)
at
org.apache.flink.runtime.executiongraph.ExecutionGraphRestartTest.testConcurrentLocalFailAndRestart(ExecutionGraphRestartTest.java:657)
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.InvokeMethod.evaluate(InvokeMethod.java:17)
at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
{noformat}
was:
Recently, I received timeouts from some tests in {{ExecutionGraphRestartTest}}
like this
{code}
Tests in error:
ExecutionGraphRestartTest.testConcurrentLocalFailAndRestart:638 ยป Timeout
{code}
This particular instance is from 1.3.2 RC2 and stuck in
{{ExecutionGraphTestUtils#waitUntilDeployedAndSwitchToRunning()}} but I also
had instances stuck in {{ExecutionGraphTestUtils#waitUntilJobStatus}}.
> ExecutionGraphRestartTest fails sporadically
> --------------------------------------------
>
> Key: FLINK-7960
> URL: https://issues.apache.org/jira/browse/FLINK-7960
> Project: Flink
> Issue Type: Bug
> Components: Distributed Coordination, Tests
> Affects Versions: 1.4.0, 1.3.2
> Reporter: Gary Yao
> Assignee: Gary Yao
> Priority: Critical
> Labels: test-stability
> Fix For: 1.4.0
>
>
> When running {{ExecutionGraphRestartTest}} as a whole,
> {{testConcurrentLocalFailAndRestart}} fails sporadically.
> Command to run tests:
> {noformat}
> mvn -DfailIfNoTests=false -Dtest=ExecutionGraphRestartTest test
> {noformat}
> Stacktrace
> {noformat}
> java.lang.AssertionError
> at
> org.apache.flink.runtime.executiongraph.ExecutionGraphTestUtils.switchToRunning(ExecutionGraphTestUtils.java:205)
> at
> org.apache.flink.runtime.executiongraph.ExecutionGraphRestartTest.testConcurrentLocalFailAndRestart(ExecutionGraphRestartTest.java:657)
> 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.InvokeMethod.evaluate(InvokeMethod.java:17)
> at
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
> at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)