Skip to content

JobRecoverTest::testJobRecover  #3296

@Mykhailenko

Description

@Mykhailenko

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions