-
Notifications
You must be signed in to change notification settings - Fork 54
Description
JobRecoverTest::testJobRecover rarely fails on this line:
schedulerHelper.waitForEventJobFinished(secondJobId);
org.objectweb.proactive.core.ProActiveTimeoutException: timeout elapsed at functionaltests.monitor.SchedulerMonitorsHandler.waitWithMonitor(SchedulerMonitorsHandler.java:471) at functionaltests.monitor.SchedulerMonitorsHandler.waitForEventJob(SchedulerMonitorsHandler.java:171) at functionaltests.utils.SchedulerTHelper.waitForJobEvent(SchedulerTHelper.java:825) at functionaltests.utils.SchedulerTHelper.waitForEventJobFinished(SchedulerTHelper.java:759) at functionaltests.utils.SchedulerTHelper.waitForEventJobFinished(SchedulerTHelper.java:754) at functionaltests.job.recover.JobRecoverTest.testJobRecover(JobRecoverTest.java:77) 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.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:748)
WARNING: Failed to check connection: java.net.ConnectException: Connection refused (Connection refused)
jobState.getJobInfo().getStatus(): Canceled
So actually job is cancelled while we are waiting for finishing.