Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335379 - equinox p2 tests are timing out on windows in build I20110124-1345, I20110124-2000
Summary: equinox p2 tests are timing out on windows in build I20110124-1345, I20110124...
Status: RESOLVED WORKSFORME
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.7   Edit
Assignee: DJ Houghton CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-25 15:35 EST by Kim Moir CLA
Modified: 2011-02-04 10:09 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kim Moir CLA 2011-01-25 15:35:05 EST
java-test:
     [echo] Running org.eclipse.equinox.p2.tests.AutomatedTests. Result file: C:\buildtest\I20110124-1345\eclipse-testing/results/win32.win32.x86_6.0/org.eclipse.equinox.p2.tests.AutomatedTests.xml.
     [java] STDERR: Eclipse:
     [java] STDERR: A Java Runtime Environment (JRE) or Java Development Kit (JDK)
     [java] STDERR: must be available in order to run Eclipse. No Java virtual machine
     [java] STDERR: was found after searching the following locations:
     [java] STDERR: C:\WINDOWS\TEMP\1295906175343-0.08148306673433803\eclipse\jre\bin\javaw.exe
     [java] STDERR: javaw.exe in your current PATH
     [java] Timeout: killed the sub-process
     [java] 	at org.apache.tools.ant.taskdefs.Java.fork(Java.java:787)
     [java] 	at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:211)
     [java] 	at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:132)
     [java] 	at org.apache.tools.ant.taskdefs.Java.execute(Java.java:105)
     [java] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
     [java] 	at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
     [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java] 	at java.lang.reflect.Method.invoke(Method.java:597)

See 

http://downlaod.eclipse.org/eclipse/downloads/drops/I20110124-1345/testresults/consolelogs/win32-6.0_consolelog.txt

and search for 
Running org.eclipse.equinox.p2.tests.AutomatedTests
Comment 1 DJ Houghton CLA 2011-01-25 15:44:32 EST
The error looks like it might be because a java.exe can't be found in the user's PATH. Is there one installed on the machine which the user (test) will get for free?
Comment 2 DJ Houghton CLA 2011-01-25 15:48:27 EST
The test is getting the value from the java.home System property but it is: 
   C:\WINDOWS\TEMP\1295906175343-0.08148306673433803\eclipse\jre\bin\javaw.exe
which doesn't seem right.
Comment 3 DJ Houghton CLA 2011-01-26 17:10:49 EST
Kim is setting up the test machine so we can run the tests and see what is happening.
Comment 4 DJ Houghton CLA 2011-01-27 07:16:41 EST
I'm going to disable this test now until we can get a chance to look at the problem.

We don't feel this test failure affects the quality of the build, the build is still good. The test passes locally as well as on Linux and Mac.
Comment 5 DJ Houghton CLA 2011-02-03 15:06:55 EST
I've re-enabled the tests for tonight's nightly build and we will investigate this tomorrow.
Comment 6 DJ Houghton CLA 2011-02-04 10:09:23 EST
The test worked ok in last night's build. I'll close this for now and we can re-open if the problem occurs in the future.