Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumsproblem with cross-platform
https://www.eclipse.org/forums/index.php/mv/msg/440655/987555/#msg_987555
i start AUTAgent at a Linux host at port 60001.
and i write cases in windows ITE,and connecting to and execution on the Linux AUTAgent is ok.
but my project need command line support.so, i use autrun.exe on my windows host, try to start AUT on the remote linux host.but jubula cannot start the aut and report error.log is :
!SESSION 2012-11-27 10:46:37.843 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_18
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN
Framework arguments: -application org.eclipse.jubula.app.autrun -a 10.74.165.1 -p 60001 -swing -i uep4xtest_1 -e /datafile/uep4x_version/uitest/cn_4.11.10.P2B4_SP002/setup.sh -w /datafile/uep4x_version/uitest/cn_4.11.10.P2B4_SP002
Command-line arguments: -clean -application org.eclipse.jubula.app.autrun -a 10.74.165.1 -p 60001 -swing -i uep4xtest_1 -e /datafile/uep4x_version/uitest/cn_4.11.10.P2B4_SP002/setup.sh -w /datafile/uep4x_version/uitest/cn_4.11.10.P2B4_SP002
!ENTRY org.eclipse.osgi 2 0 2012-11-27 10:46:49.812
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-11-27 10:46:49.812
!MESSAGE Bundle org.eclipse.core.net.linux.x86_1.1.200.I20110419-0800 [53] was not resolved.
!SUBENTRY 2 org.eclipse.core.net.linux.x86 2 0 2012-11-27 10:46:49.812
!MESSAGE Platform filter did not match: (& (osgi.os=linux) (osgi.arch=x86))
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-11-27 10:46:49.812
!MESSAGE Bundle org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.101.v20120109-1504 [82] was not resolved.
!SUBENTRY 2 org.eclipse.equinox.launcher.cocoa.macosx.x86_64 2 0 2012-11-27 10:46:49.812
!MESSAGE Platform filter did not match: (& (osgi.ws=cocoa) (osgi.os=macosx) (osgi.arch=x86_64) )
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-11-27 10:46:49.812
!MESSAGE Bundle org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20110505 [83] was not resolved.
!SUBENTRY 2 org.eclipse.equinox.launcher.gtk.linux.x86 2 0 2012-11-27 10:46:49.812
!MESSAGE Platform filter did not match: (& (osgi.ws=gtk) (osgi.os=linux) (osgi.arch=x86))
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-11-27 10:46:49.812
!MESSAGE Bundle org.eclipse.equinox.security.macosx_1.100.100.v20100503 [112] was not resolved.
!SUBENTRY 2 org.eclipse.equinox.security.macosx 2 0 2012-11-27 10:46:49.812
!MESSAGE Platform filter did not match: (& (osgi.os=macosx) (|(osgi.arch=x86)(osgi.arch=x86_64)(osgi.arch=ppc)) )
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-11-27 10:46:49.812
!MESSAGE Bundle org.eclipse.swt.cocoa.macosx.x86_64_3.7.2.v3740f [179] was not resolved.
!SUBENTRY 2 org.eclipse.swt.cocoa.macosx.x86_64 2 0 2012-11-27 10:46:49.812
!MESSAGE Platform filter did not match: (& (osgi.ws=cocoa) (osgi.os=macosx) (osgi.arch=x86_64) )
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-11-27 10:46:49.812
!MESSAGE Bundle org.eclipse.swt.gtk.linux.x86_3.7.2.v3740f [180] was not resolved.
!SUBENTRY 2 org.eclipse.swt.gtk.linux.x86 2 0 2012-11-27 10:46:49.812
!MESSAGE Platform filter did not match: (& (osgi.ws=gtk) (osgi.os=linux) (osgi.arch=x86))
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-11-27 10:46:49.812
!MESSAGE Bundle org.eclipse.ui.cocoa_1.1.0.I20101109-0800 [188] was not resolved.
!SUBENTRY 2 org.eclipse.ui.cocoa 2 0 2012-11-27 10:46:49.812
!MESSAGE Platform filter did not match: (osgi.ws=cocoa)
!ENTRY org.eclipse.osgi 4 0 2012-11-27 10:46:49.812
!MESSAGE Application error
!STACK 1
java.io.IOException: Cannot run program "/datafile/uep4x_version/uitest/cn_4.11.10.P2B4_SP002/setup.sh": CreateProcess error=3, ϵͳÕҲ»µ½
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at org.eclipse.jubula.autagent.commands.AbstractStartToolkitAut.executeCommand(AbstractStartToolkitAut.java:198)
at org.eclipse.jubula.autagent.commands.AbstractStartToolkitAut.startAut(AbstractStartToolkitAut.java:90)
at org.eclipse.jubula.app.autrun.AutRunner.run(AutRunner.java:163)
at org.eclipse.jubula.app.autrun.AutRunApplication.start(AutRunApplication.java:374)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
Caused by: java.io.IOException: CreateProcess error=3, ϵͳÕҲ»µ½
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 25 more
how to solve it?? thanks.]]>li kai2012-11-27T06:56:42-00:00Re: problem with cross-platform
https://www.eclipse.org/forums/index.php/mv/msg/440655/987783/#msg_987783
I'm not sure what's going on with autrun there, but I'm also quite sure you don't need to use autrun. If you are just testing one AUT, then use testexec - it will start the AUT for you using a configuration from within the project. More information on testexec is in the documentation.
HTH,
Alex]]>Alexandra Schladebeck2012-11-28T07:32:46-00:00Re: problem with cross-platform
https://www.eclipse.org/forums/index.php/mv/msg/440655/987795/#msg_987795
- Achim]]>Achim Loerke2012-11-28T08:32:54-00:00Re: problem with cross-platform
https://www.eclipse.org/forums/index.php/mv/msg/440655/987815/#msg_987815
i start aut(at linux host) via ITE (at windows),and start execute test via ite(win) remotely, all thing is ok.
but via autrun.exe cannot work.my chinese god...
]]>li kai2012-11-28T09:29:05-00:00Re: problem with cross-platform
https://www.eclipse.org/forums/index.php/mv/msg/440655/988231/#msg_988231
how to sovle it,thanks.]]>li kai2012-11-29T01:33:34-00:00