Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » Unable to run test written with RCPTT 2.3 using RCPTT 2.4.1
Unable to run test written with RCPTT 2.3 using RCPTT 2.4.1 [message #1806154] Fri, 03 May 2019 20:45 Go to next message
J Cruz is currently offline J CruzFriend
Messages: 4
Registered: January 2019
Junior Member
When I try to run a test written with RCPTT 2.3 using RCPTT 2.4.1 the test fails with the following error:

Failed to execute org.eclipse.rcptt.core.ecl.core.model.impl.EnterContextImpl@775168bb (host: null)
Execution has timed out after 180.0 seconds

org.eclipse.core.runtime.CoreException: Execution has timed out after 180.0 seconds
at org.eclipse.rcptt.internal.launching.aut.BaseAutLaunch$TimeoutInterruption.checkInterruption(BaseAutLaunch.java:245)
at org.eclipse.rcptt.internal.launching.aut.BaseAutLaunch.computeInNewSession(BaseAutLaunch.java:277)
at org.eclipse.rcptt.internal.launching.aut.BaseAutLaunch.internalExecute(BaseAutLaunch.java:931)
at org.eclipse.rcptt.internal.launching.aut.BaseAutLaunch.execContext(BaseAutLaunch.java:601)
at org.eclipse.rcptt.internal.launching.aut.BaseAutLaunch.execElement(BaseAutLaunch.java:584)
at org.eclipse.rcptt.internal.launching.aut.BaseAutLaunch.run(BaseAutLaunch.java:560)
at org.eclipse.rcptt.internal.launching.ecl.EclContextExecutable.doExecuteContext(EclContextExecutable.java:45)
at org.eclipse.rcptt.internal.launching.ecl.EclContextExecutable.doExecute(EclContextExecutable.java:78)
at org.eclipse.rcptt.internal.launching.DataExecutable.execute(DataExecutable.java:98)
at org.eclipse.rcptt.internal.launching.Executable.executeAndRememberResult(Executable.java:127)
at org.eclipse.rcptt.internal.launching.Executable.executeAndRememberResult(Executable.java:138)
at org.eclipse.rcptt.internal.launching.Q7LaunchManager$SessionRunnable.run(Q7LaunchManager.java:147)
at org.eclipse.rcptt.internal.launching.Q7LaunchManager$ExecThread$1.run(Q7LaunchManager.java:723)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.util.concurrent.TimeoutException
at org.eclipse.rcptt.internal.launching.aut.BaseAutLaunch.createTimeoutStatus(BaseAutLaunch.java:298)
at org.eclipse.rcptt.internal.launching.aut.BaseAutLaunch.access$1(BaseAutLaunch.java:296)
... 14 more

In the Error log I see:

!ENTRY org.eclipse.rcptt.tesla.ecl.impl 4 123130 2019-05-03 16:09:33.790
!MESSAGE Timeout during execution of org.eclipse.rcptt.ctx.resources.WorkspaceContextProcessor$2@32086cb3
!STACK 0
java.lang.RuntimeException
at org.eclipse.rcptt.tesla.ecl.impl.UIRunnable.exec(UIRunnable.java:151)
at org.eclipse.rcptt.ctx.resources.WorkspaceContextProcessor.apply(WorkspaceContextProcessor.java:97)
at org.eclipse.rcptt.core.ContextTypeManager.apply(ContextTypeManager.java:101)
at org.eclipse.rcptt.core.internal.ecl.core.commands.EnterContextService$1.run(EnterContextService.java:45)
at org.eclipse.rcptt.core.internal.ecl.core.Utils.reportExecution(Utils.java:33)
at org.eclipse.rcptt.core.internal.ecl.core.commands.EnterContextService.service(EnterContextService.java:48)
at org.eclipse.rcptt.ecl.internal.core.AbstractSession.internalDoExecute(AbstractSession.java:83)
at org.eclipse.rcptt.ecl.internal.core.Session$1.run(Session.java:48)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)

Do you know what may cause this and how to fix it so older tests can run on RCPTT 2.4.1? If I run the test on RCPTT 2.3 I do not get this issue. I will note that our AUT runs on Photon.

[Updated on: Wed, 08 May 2019 18:13]

Report message to a moderator

Re: Unable to run test written with RCPTT 2.3 using RCPTT 2.4.1 [message #1807195 is a reply to message #1806154] Fri, 24 May 2019 13:15 Go to previous messageGo to next message
Marco Manalo is currently offline Marco ManaloFriend
Messages: 3
Registered: March 2019
Location: Philippines
Junior Member
What is the version of eclipse your application is based on? Try to update org.eclipse.rcptt.launching.ext.q7runtime to the version your working on. If you're using 2019-03 change the version to [3.5, 4.11)
Re: Unable to run test written with RCPTT 2.3 using RCPTT 2.4.1 [message #1807477 is a reply to message #1807195] Thu, 30 May 2019 19:50 Go to previous messageGo to next message
J Cruz is currently offline J CruzFriend
Messages: 4
Registered: January 2019
Junior Member
Hi,

Our application is based on older version of Eclipse (Photon) not 2019-03.

Thanks for your input on this
Re: Unable to run test written with RCPTT 2.3 using RCPTT 2.4.1 [message #1821376 is a reply to message #1807477] Wed, 12 February 2020 07:17 Go to previous message
Martin Todorov is currently offline Martin TodorovFriend
Messages: 5
Registered: February 2020
Junior Member
I am getting same error. Runner is 2.4.3, version of AUT ist 2019-09.
Same happens with runner 2.5.0, or nightly.

When I run tests from RCPTT IDE 2.4.2 it is ok. But runner 2.4.2 is not working because of unrecognized target platform.
Previous Topic:Cannot Update AUT using maven runner (injection/test case with update)
Next Topic:Failed to execute org.eclipse.rcptt.core.ecl.core.model.impl.EnterContextImpl
Goto Forum:
  


Current Time: Fri May 03 17:54:52 GMT 2024

Powered by FUDForum. Page generated in 0.03687 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top