Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jakartaee-tck-dev] Errors : Running TCK Tests

After fighting with the errors in hours, I have finally corrected docker/run_jakartaeetck and now I am able to run TCK suite in my local macOS. Now, just playing with servlet tests to understand more...

On Sat, Jun 13, 2020 at 1:40 PM Gurkan Erdogdu <cgurkanerdogdu@xxxxxxxxx> wrote:
I think that docker/run_jakartaeetck works on https://ci.eclipse.org/jakartaee-tck, but not as easily on our local machines.  It would be better if run docker/run_jakartaeetck could continue to work on our ci.eclipse.org Jenkins server but also work better locally for us.
Yes, this is correct. I need to change for example, wget commands to curl to download GlassFish Zip bundle from my loca, otherwise, it throws errors because of https scheme.

Wiki page https://github.com/eclipse-ee4j/jakartaee-tck/wiki/Instructions-for-building-and-running-JakartaEE-TCK-bundle may need adjustment if we enhance the docker/run_jakartaeetck script (we should also remove JAXR from this page).
I will look into that.

Regards.
Gurkan

On Sat, Jun 13, 2020 at 1:36 PM Scott Marlow <smarlow@xxxxxxxxxx> wrote:


On Fri, Jun 12, 2020 at 9:44 AM Gurkan Erdogdu <cgurkanerdogdu@xxxxxxxxx> wrote:
Hi folks
After building the TCK, I tried to run the tests via docker/run_jakartaeetck but getting

I think that docker/run_jakartaeetck works on https://ci.eclipse.org/jakartaee-tck, but not as easily on our local machines.  It would be better if run docker/run_jakartaeetck could continue to work on our ci.eclipse.org Jenkins server but also work better locally for us.

Wiki page https://github.com/eclipse-ee4j/jakartaee-tck/wiki/Instructions-for-building-and-running-JakartaEE-TCK-bundle may need adjustment if we enhance the docker/run_jakartaeetck script (we should also remove JAXR from this page).

 
the following errors:

I have set
CTS_HOME=/Users/system/tmp/jakartaee-tck/release/JAKARTAEE_BUILD/build_12-Jun-2020/bundle/tmp/

and also GF_GUNDLE_URL as zip

   [runcts] java.io.IOException: Cannot run program "/Users/system/tmp/jakartaee-tck/release/JAKARTAEE_BUILD/build_12-Jun-2020/bundle/tmp/jakartaeetck/bin/xml/impl/glassfish/bin/asadmin" (in directory "/Users/system/tmp/jakartaee-tck/release/JAKARTAEE_BUILD/build_12-Jun-2020/bundle/tmp/jakartaeetck/bin/xml/impl/glassfish/bin"): error=2, No such file or directory
   [runcts] at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
   [runcts] at java.lang.Runtime.exec(Runtime.java:620)
   [runcts] at java.lang.Runtime.exec(Runtime.java:450)
   [runcts] at com.sun.ant.taskdefs.common.RunCTS.runCommand(RunCTS.java:742)
   [runcts] at com.sun.ant.taskdefs.common.RunCTS.runAsadmin(RunCTS.java:718)
   [runcts] at com.sun.ant.taskdefs.common.RunCTS.adjustFor90(RunCTS.java:298)
   [runcts] at com.sun.ant.taskdefs.common.RunCTS.execute(RunCTS.java:280)
   [runcts] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
   [runcts] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
   [runcts] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   [runcts] at java.lang.reflect.Method.invoke(Method.java:498)
   [runcts] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
   [runcts] at org.apache.tools.ant.Task.perform(Task.java:350)
   [runcts] at org.apache.tools.ant.Target.execute(Target.java:449)
   [runcts] at org.apache.tools.ant.Target.performTasks(Target.java:470)
   [runcts] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1388)
   [runcts] at org.apache.tools.ant.Project.executeTarget(Project.java:1361)
   [runcts] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
   [runcts] at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
   [runcts] at org.apache.tools.ant.Main.runBuild(Main.java:834)
   [runcts] at org.apache.tools.ant.Main.startAnt(Main.java:223)
   [runcts] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
   [runcts] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)
   [runcts] Caused by: java.io.IOException: error=2, No such file or directory
   [runcts] at java.lang.UNIXProcess.forkAndExec(Native Method)
   [runcts] at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
   [runcts] at java.lang.ProcessImpl.start(ProcessImpl.java:134)
   [runcts] at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
   [runcts] ... 22 more

BUILD FAILED
/Users/system/tmp/jakartaee-tck/release/JAKARTAEE_BUILD/build_12-Jun-2020/bundle/tmp/jakartaeetck/bin/xml/impl/glassfish/s1as.xml:1207: java.io.IOException: Cannot run program "/Users/system/tmp/jakartaee-tck/release/JAKARTAEE_BUILD/build_12-Jun-2020/bundle/tmp/jakartaeetck/bin/xml/impl/glassfish/bin/asadmin" (in directory "/Users/system/tmp/jakartaee-tck/release/JAKARTAEE_BUILD/build_12-Jun-2020/bundle/tmp/jakartaeetck/bin/xml/impl/glassfish/bin"): error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:620)
at java.lang.Runtime.exec(Runtime.java:450)
at com.sun.ant.taskdefs.common.RunCTS.runCommand(RunCTS.java:742)
at com.sun.ant.taskdefs.common.RunCTS.runAsadmin(RunCTS.java:718)
at com.sun.ant.taskdefs.common.RunCTS.adjustFor90(RunCTS.java:298)
at com.sun.ant.taskdefs.common.RunCTS.execute(RunCTS.java:280)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
at org.apache.tools.ant.Task.perform(Task.java:350)
at org.apache.tools.ant.Target.execute(Target.java:449)
at org.apache.tools.ant.Target.performTasks(Target.java:470)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1388)
at org.apache.tools.ant.Project.executeTarget(Project.java:1361)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:834)
at org.apache.tools.ant.Main.startAnt(Main.java:223)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 22 more
_______________________________________________
jakartaee-tck-dev mailing list
jakartaee-tck-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jakartaee-tck-dev
_______________________________________________
jakartaee-tck-dev mailing list
jakartaee-tck-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jakartaee-tck-dev


--


--
Gurkan Erdogdu
http://gurkanerdogdu.blogspot.com

Back to the top