| Summary: | automated tests with 3.x branch fail to start | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Technology] CBI | Reporter: | Ludmila Shikhvarg <ludmila.shikhvarg> | ||||||||||
| Component: | prototype | Assignee: | CBI Dummy user <cbi.prototype-inbox> | ||||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||||
| Severity: | critical | ||||||||||||
| Priority: | P3 | CC: | andrea.ross, igor, ludmila.shikhvarg, pwebster, thanh.ha | ||||||||||
| Version: | unspecified | ||||||||||||
| Target Milestone: | --- | ||||||||||||
| Hardware: | PC | ||||||||||||
| OS: | Windows XP | ||||||||||||
| Whiteboard: | |||||||||||||
| Bug Depends on: | |||||||||||||
| Bug Blocks: | 372792 | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Ludmila Shikhvarg
OK, you shouldn't have to remove these 2 lines, it expects to work with them:
4. Modify test.xml to remove test-eclipse:
<property name="install" value="${basedir}/test-eclipse" />
<property name="install" value="${basedir}" />
1) you need to make sure you can run the tests with java 1.6 or 1.7 so we can tell if the problem is related to that.
Please go back to the beginning and when you run edit the runtests.bat file and add the -v option right after antRunner. You can capture the logs using >test.txt 2>&1 and attach that to the bug report.
PW
I was able to take the M6 R3 aggregator tests: 1) an equinoxp2test.properties file was missing. This is generated as part of the SDK builds 2) I manually worked around that. It installed my first set of test plugins, but org.eclipse.test is installed as a jar instead of a directory. The test framework depends on that being a directory plugin. PW Created attachment 213310 [details]
test.txt
Actually, I didn't remove any lines from test.xml, just made the modification as follow on my previous run:
was: <property name="install" value="${basedir}/test-eclipse" />
now: <property name="install" value="${basedir}" />
Anyway, there is nothing related to jdk version. Seen the same problem with jdk7 and the log file (test.txt) is attached.
Created attachment 213501 [details]
The equinoxp2tests.properties for the build
Created attachment 213502 [details]
The output trying to run the jface tests
Trying to run the jface tests on build.eclipse.org after making the changes:
- rename the CBI build to eclipse-SDK-201203281519-linux-gtk-x86_64.tar.gz
- create the equinoxp2tests.properties
- I might have had to update one or more of the junit test bundles
It gets pretty far (although complains about getting the 3.7 SDK). I had ant on -v. I had a look, and the test plugin is there in .jar form, but it needs to be in directory form (that info is in the feature used to build it).
suite:
Project base dir set to: /shared/eclipse/e4/lts/tests/test-eclipse/eclipse
[ant] calling target(s) [core-test] in build file /shared/eclipse/e4/lts/tests/test-eclipse/eclipse/plugins/org.eclipse.test_3.3.100.201203281519/library.xml
[ant] Exiting /shared/eclipse/e4/lts/tests/test-eclipse/eclipse/plugins/org.eclipse.jface.text.tests_3.8.0.201203281519/test.xml.
[antcall] Exiting /shared/eclipse/e4/lts/tests/test.xml.
[antcall] Exiting /shared/eclipse/e4/lts/tests/test.xml.
BUILD FAILED
/shared/eclipse/e4/lts/tests/test.xml:521: The following error occurred while executing this line:
/shared/eclipse/e4/lts/tests/test.xml:407: The following error occurred while executing this line:
/shared/eclipse/e4/lts/tests/test.xml:431: The following error occurred while executing this line:
/shared/eclipse/e4/lts/tests/test.xml:436: The following error occurred while executing this line:
/shared/eclipse/e4/lts/tests/test-eclipse/eclipse/plugins/org.eclipse.jface.text.tests_3.8.0.201203281519/test.xml:28: The following error occurred while executing this line:
java.io.FileNotFoundException: /shared/eclipse/e4/lts/tests/test-eclipse/eclipse/plugins/org.eclipse.test_3.3.100.201203281519/library.xml (No such file or directory)
Working on this ticket as part of the CBI code sprint: http://wiki.eclipse.org/CBI/Code_Sprint_April_11_2012 Thanh and I managed to get a successful run of the ui tests. We focused on the R3 build. We had to update a number of test bundles with Eclipse-BundleShape: dir. This was done in Juno_M6 or Juno_M6_R3 (if the repo was branched for R4). We updated the files in R3_platform-aggregator/TMP/eclipse-junit-tests pom.xml so resource filtering honours the escapeString '\' src/main/resources/equinoxp2tests.properties to try and generate the file for the bundle zip. Added macosx-cocoa-x86_64 to src/main/scripts/runtests src/main/scripts/test.xml added support for windows 64 bit on amd64 and changed the macosx to 64 bit We added the eclipse.platform.releng.eclipsebuilder submodule. It contains all of the product files and build/test features used to normally create the SDK, but is not currently used in the CBI build. Arguably the buildConfigs can become the modules for the products. Builds pertaining to the tests are in R3_platform-aggregator/eclipse.platform.releng.eclipsebuilder/eclipse/buildConfigs/sdk.tests, including templates for equinoxp2tests.properties. R3_platform-aggregator/eclipse.platform.releng.eclipsebuilder/runTests.xml describes what needs to be done to actually run the tests (it's our script to run it on eclipse.org hudson slaves). To run the tests on any given platform, you need the eclipse-SDK and eclipse-platform zips from the build, the automated tests and the delta pack, and the "baseline" platform which right now is eclipse-platform-3.7.1-win32.zip. You also need to update the equinoxp2tests.properties file with the "current" build repo, in the org.eclipse.equinox.p2.tests.current.build.repo property. Usually something like: file:/shared/eclipse/e4/lts/R3_platform-aggregator/TMP/org.eclipse.sdk.epp/target/repository The current PDE build strategy for running the automated tests uses the template equinoxp2tests.properties and does ant token replacement for the current build id and current execution directory and URL for the current build repo. I'm not sure if we want to just create that properties file with ant properties in them, to be supplied normally instead of as token replacements. That's the strategy I'd recommend. Once David starts looking at the tests in our 4.2/3.8 builds, we'll try and see about converging strategies. PW FYI: The work around equinoxp2tests.properties in the PDE build was done as: Bug 366425 - Verify end to end tests Bug 366540 - New properties/archives needed for Equinox p2 test suites PW I ran the tests on Linux which ran for a few hours and seemed to have worked through quite a bit of tests before eventually failing with the following. Looks like it couldn't find a junit.xsl file.
setup-tar.gz:
[delete] Deleting directory /home/user/Downloads/eclipse2/R3_platform-aggregator/TMP/org.eclipse.sdk.epp/target/products/test-eclipse
[mkdir] Created dir: /home/user/Downloads/eclipse2/R3_platform-aggregator/TMP/org.eclipse.sdk.epp/target/products/test-eclipse
installExtraPlugins:
[echo] -installIU org.eclipse.equinox.p2.discovery.feature.feature.group +
[java] Java Result: 13
installTestPlugins:
setupPlatform:
[echo] os.arch amd64
[echo] platformTarget platform-tar.gz platformArchive /home/user/Downloads/eclipse2/R3_platform-aggregator/TMP/org.eclipse.sdk.epp/target/products/eclipse-platform-3.7.2-linux-gtk-x86_64.tar.gz
platform-tar.gz:
[delete] Deleting directory /home/user/Downloads/eclipse2/R3_platform-aggregator/TMP/org.eclipse.sdk.epp/target/products/platformLocation
[mkdir] Created dir: /home/user/Downloads/eclipse2/R3_platform-aggregator/TMP/org.eclipse.sdk.epp/target/products/platformLocation
[echo] -installIU org.eclipse.equinox.p2.tests.discovery +
[java] Java Result: 13
configureTeamTest:
unzipderby:
configureDeltaPack:
[echo] trying to find org.eclipse.equinox.p2.tests.discovery_*
[echo] trying to find
runSuite:
genResults:
[copy] Warning: Could not find file /home/user/Downloads/eclipse2/R3_platform-aggregator/TMP/org.eclipse.sdk.epp/target/products/test-eclipse/eclipse/org.eclipse.equinox.p2.tests.discovery.xml to copy.
BUILD FAILED
/home/user/Downloads/eclipse2/R3_platform-aggregator/TMP/org.eclipse.sdk.epp/target/products/test.xml:1001: The following error occurred while executing this line:
/home/user/Downloads/eclipse2/R3_platform-aggregator/TMP/org.eclipse.sdk.epp/target/products/test.xml:749: The following error occurred while executing this line:
/home/user/Downloads/eclipse2/R3_platform-aggregator/TMP/org.eclipse.sdk.epp/target/products/test.xml:414: The following error occurred while executing this line:
/home/user/Downloads/eclipse2/R3_platform-aggregator/TMP/org.eclipse.sdk.epp/target/products/test.xml:439: The following error occurred while executing this line:
/home/user/Downloads/eclipse2/R3_platform-aggregator/TMP/org.eclipse.sdk.epp/target/products/test.xml:476: stylesheet /home/user/Downloads/eclipse2/R3_platform-aggregator/TMP/org.eclipse.sdk.epp/target/products/test-eclipse/eclipse/plugins/org.eclipse.test_3.3.100.201204121421/JUNIT.XSL doesn't exist.
Total time: 262 minutes 58 seconds
An error has occurred. See the log file
/home/user/Downloads/eclipse2/R3_platform-aggregator/TMP/org.eclipse.sdk.epp/target/products/workspace/.metadata/.log.
(In reply to comment #10) > installExtraPlugins: > [echo] -installIU org.eclipse.equinox.p2.discovery.feature.feature.group + > [java] Java Result: 13 > Looks like this step failed. > installTestPlugins: > > setupPlatform: > [echo] os.arch amd64 > [echo] platformTarget platform-tar.gz platformArchive > /home/user/Downloads/eclipse2/R3_platform-aggregator/TMP/org.eclipse.sdk.epp/target/products/eclipse-platform-3.7.2-linux-gtk-x86_64.tar.gz > > platform-tar.gz: > [delete] Deleting directory > /home/user/Downloads/eclipse2/R3_platform-aggregator/TMP/org.eclipse.sdk.epp/target/products/platformLocation > [mkdir] Created dir: > /home/user/Downloads/eclipse2/R3_platform-aggregator/TMP/org.eclipse.sdk.epp/target/products/platformLocation > [echo] -installIU org.eclipse.equinox.p2.tests.discovery + > [java] Java Result: 13 > And then it didn't install the tests (and this step means it didn't install org.eclipse.test. > configureTeamTest: > > unzipderby: > > configureDeltaPack: > [echo] trying to find org.eclipse.equinox.p2.tests.discovery_* > [echo] trying to find > > runSuite: > > genResults: > [copy] Warning: Could not find file > /home/user/Downloads/eclipse2/R3_platform-aggregator/TMP/org.eclipse.sdk.epp/target/products/test-eclipse/eclipse/org.eclipse.equinox.p2.tests.discovery.xml > to copy. Then it's broken. Can you find org.eclipse.equinox.p2.tests.discovery and org.eclipse.equinox.p2.discovery.feature.feature.group in the product repo and/or the test repo? You can easily list IUs in a repo using something like: eclipse/eclipse -noSplash \ -application org.eclipse.equinox.p2.director \ -repository \ file:///home/user/Downloads/eclipse2/R3_platform-aggregator/TMP/org.eclipse.sdk.epp/target/products/repository \ -list The same thing can be done to the test repo. PW (In reply to comment #11) > Can you find org.eclipse.equinox.p2.tests.discovery and > org.eclipse.equinox.p2.discovery.feature.feature.group in the product repo > and/or the test repo? > I ran the commands against the 2 repositories TMP/org.eclipse.sdk.epp/target/repository TMP/org.eclipse.sdk.epp/target/products/testRepo Looks like the only one that exists is org.eclipse.equinox.p2.tests.discovery found in the testRepo (org.eclipse.equinox.p2.tests.discovery=1.0.0.201204121421) and is missing the other one. The target/repository is missing both. I double checked and it looks like we do build the org.eclipse.equinox.p2.discovery.feature feature but it's not appearing in the repositories at all. What file controls which features appear in the repositories? (In reply to comment #13) > I double checked and it looks like we do build the > org.eclipse.equinox.p2.discovery.feature feature but it's not appearing in the > repositories at all. What file controls which features appear in the > repositories? not sure. Is it only filling in features based on that .product file? PW (In reply to comment #14) > (In reply to comment #13) > > I double checked and it looks like we do build the > > org.eclipse.equinox.p2.discovery.feature feature but it's not appearing in the > > repositories at all. What file controls which features appear in the > > repositories? > > not sure. Is it only filling in features based on that .product file? > > PW I think so. The .product currently just pulls in 2 items. <features> <feature id="org.eclipse.sdk"/> <feature id="org.eclipse.equinox.p2.user.ui"/> <!-- <feature id="org.eclipse.rcp.configuration"/> --> </features> I compared them with the .product that exists in the eclipse.sdk in eclipsebuilder and found that the eclipsebuilder pulls in the rcp.configuration feature which we comment out. (In reply to comment #15) > > I compared them with the .product that exists in the eclipse.sdk in > eclipsebuilder and found that the eclipsebuilder pulls in the rcp.configuration > feature which we comment out. In the PDE build the repo is made up of most everything from the master feature, not just a product. PW (In reply to comment #16) > In the PDE build the repo is made up of most everything from the master > feature, not just a product. > > PW Ok so sounds like we really should be building the repository from eclipse.platform.releng/features/master I guess this brings us back to a question I asked on the cbi mailing list last week regarding the repositories. """I noticed projects like egit and jgit had a p2 repository generated as part of their tycho build. I was wondering if maybe the CBI platform build should also do this too? If so where should it be done? such as in the aggregator repository? The only repository I was able to find that was generated in the CBI build was one located in /TMP/org.eclipse.sdk.epp but from what I can tell it only includes features that are specified in the SDK product and not all the components that were built. Please let me know if I'm wrong and there is another repository generated elsewhere in the build.""" With that said, what's the best approach for this? Do we setup a new folder in the platform aggregator which builds this repository? Or is there a better location for such a repository? I've CC'd Igor to this bug as well. To keep this moving along I decided to make a repository in the CBI Aggregator repository under the directory /eclipse.platform.repository. This repository is based on the master feature found in eclipse.platform.releng and seems to now contain the org.eclipse.equinox.p2.discovery.feature. To run the tests against the new repository you will need to modify a parameter in equinoxp2tests.properties: org.eclipse.equinox.p2.tests.current.build.repo=file:/home/user/R3_platform-aggregator/eclipse.platform.repository/target/repository/ I did a quick test by running the runtests with the target equinoxp2discovery and it passes. I will now rerun all tests again to see if any other tests have issues fail. Except for 1, all tests now seem to pass. The test that is currently failing seems to be the vary last test in the list from test.xml. The "generateJacocoReport" test.
It seems to be failing because it cannot find the file
org.eclipse.ant.core.source_${org.eclipse.ant.core.source}.jar
I suspect maybe the variable in the middle may be causing this issue ${org.eclipse.ant.core.source} but I'm not positive.
---- generateJacocoReport ----
Buildfile: /home/user/Downloads/eclipse2/R3_platform-aggregator/TMP/org.eclipse.sdk.epp/target/products/test.xml
generateJacocoReport:
[echo] Coverage output location = /home/user/Downloads/eclipse2/R3_platform-aggregator/TMP/org.eclipse.sdk.epp/target/products/results/coverage
[jacoco:merge] 57 files merged
alljacocoreports:
[delete] Deleting directory /home/user/Downloads/eclipse2/R3_platform-aggregator/TMP/org.eclipse.sdk.epp/target/products/reportunzipsource
[mkdir] Created dir: /home/user/Downloads/eclipse2/R3_platform-aggregator/TMP/org.eclipse.sdk.epp/target/products/reportunzipsource
BUILD FAILED
/home/user/Downloads/eclipse2/R3_platform-aggregator/TMP/org.eclipse.sdk.epp/target/products/test.xml:804: The following error occurred while executing this line:
/home/user/Downloads/eclipse2/R3_platform-aggregator/TMP/org.eclipse.sdk.epp/target/products/test.xml:808: The following error occurred while executing this line:
/home/user/Downloads/eclipse2/R3_platform-aggregator/TMP/org.eclipse.sdk.epp/target/products/test.xml:771: src '/home/user/Downloads/eclipse2/R3_platform-aggregator/TMP/org.eclipse.sdk.epp/target/products/test-eclipse/eclipse/plugins/org.eclipse.ant.core.source_${org.eclipse.ant.core.source}.jar' doesn't exist.
Total time: 1 second
An error has occurred. See the log file
/home/user/Downloads/eclipse2/R3_platform-aggregator/TMP/org.eclipse.sdk.epp/target/products/workspace/.metadata/.log.
----- generateJacocoReport -----
I did a find on my build directory and the org.eclipse.ant.core.source jar file does seem to appear in a few spots as shown below. Any ideas on what could be causing this problem?
./TMP/org.eclipse.sdk.epp/target/repository/plugins/org.eclipse.ant.core.source_3.2.400.201204161727.jar
./TMP/org.eclipse.sdk.epp/target/products/platformLocation/eclipse/plugins/org.eclipse.ant.core.source_3.2.302.v20120110-1739.jar
./TMP/org.eclipse.sdk.epp/target/products/org.eclipse.sdk.epp/linux/gtk/x86_64/eclipse/plugins/org.eclipse.ant.core.source_3.2.400.201204161727.jar
./TMP/org.eclipse.sdk.epp/target/products/org.eclipse.sdk.epp/linux/gtk/x86/eclipse/plugins/org.eclipse.ant.core.source_3.2.400.201204161727.jar
./TMP/org.eclipse.sdk.epp/target/products/org.eclipse.sdk.epp/win32/win32/x86_64/eclipse/plugins/org.eclipse.ant.core.source_3.2.400.201204161727.jar
./TMP/org.eclipse.sdk.epp/target/products/org.eclipse.sdk.epp/win32/win32/x86/eclipse/plugins/org.eclipse.ant.core.source_3.2.400.201204161727.jar
./TMP/org.eclipse.sdk.epp/target/products/org.eclipse.sdk.epp/macosx/cocoa/x86_64/eclipse/plugins/org.eclipse.ant.core.source_3.2.400.201204161727.jar
./TMP/org.eclipse.sdk.epp/target/products/test-eclipse/eclipse/plugins/org.eclipse.ant.core.source_3.2.400.201204161727.jar
./TMP/org.eclipse.sdk.epp/target/products/eclipse/plugins/org.eclipse.ant.core.source_3.2.400.201204161727.jar
./eclipse.platform.repository/target/repository/plugins/org.eclipse.ant.core.source_3.2.400.201204161727.jar
(In reply to comment #19) > generateJacocoReport: > [echo] Coverage output location = > /home/user/Downloads/eclipse2/R3_platform-aggregator/TMP/org.eclipse.sdk.epp/target/products/results/coverage > [jacoco:merge] 57 files merged > > alljacocoreports: > [delete] Deleting directory > /home/user/Downloads/eclipse2/R3_platform-aggregator/TMP/org.eclipse.sdk.epp/target/products/reportunzipsource > [mkdir] Created dir: > /home/user/Downloads/eclipse2/R3_platform-aggregator/TMP/org.eclipse.sdk.epp/target/products/reportunzipsource > AFAIK we've removed jacoco reports from our builds/tests as they were causing too many problems. PW Thanks Paul, I went ahead and commented out the jacoco reports test from test.xml. I'm running the tests again once more just to make sure it can complete from start to finish with no issues. I ran the full test suite last night and it completed everything successfully. Took about ~4hrs to run in total. BUILD SUCCESSFUL Total time: 249 minutes 9 seconds Created attachment 214268 [details] Juno_M6_R3 tests fail to run Did all fixes are integrated into Juno_M6_R3? I've tried to run on windows using exact steps from http://wiki.eclipse.org/CBI/Eclipse_Platform_Build#running_the_tests, but still seen the problem: BUILD FAILED D:\R3_platform-tests\test.xml:952: The following error occurred while executing this line: D:\R3_platform-tests\test.xml:647: The following error occurred while executing this line: D:\R3_platform-tests\test.xml:414: The following error occurred while executing this line: D:\R3_platform-tests\test.xml:431: D:\R3_platform-tests\test-eclipse\eclipse\plugins does not exist. at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:483) at org.apache.tools.ant.types.AbstractFileSet.toString(AbstractFileSet.java:820) at org.apache.tools.ant.taskdefs.Property.execute(Property.java:514) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:474) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) at org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor.executeTargets(EclipseSingleCheckExecutor.java:30) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:474) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:474) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:474) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) at org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor.executeTargets(EclipseSingleCheckExecutor.java:30) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:474) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.Project.executeTarget(Project.java:1368) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:672) at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:537) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:474) at org.eclipse.ant.core.AntRunner.run(AntRunner.java:513) at org.eclipse.ant.core.AntRunner.start(AntRunner.java:600) 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:353) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:474) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) at org.eclipse.equinox.launcher.Main.run(Main.java:1438) at org.eclipse.equinox.launcher.Main.main(Main.java:1414) (In reply to comment #23) > Created attachment 214268 [details] > Juno_M6_R3 tests fail to run > > Did all fixes are integrated into Juno_M6_R3? > I've tried to run on windows using exact steps from > http://wiki.eclipse.org/CBI/Eclipse_Platform_Build#running_the_tests, but still > seen the problem: Yes, all the fixes were put into the Juno_M6_R3 branch. Is the directory D:\R3_platform-tests\test-eclipse\ empty? What version of Windows are you using? I recall Paul ran into an issue where his version of Windows did not come with the "unzip" command. The scripts use this command to unzip the platform zips to run the tests. Can you check if the unzip command exists in your version of Windows by trying to run it in a cmd prompt? Is the directory D:\R3_platform-tests\test-eclipse\ empty? test-eclipse dir doesn't exist at all What version of Windows are you using? winXP I recall Paul ran into an issue where his version of Windows did not come with the "unzip" command. The scripts use this command to unzip the platform zips to run the tests. Can you check if the unzip command exists in your version of Windows by trying to run it in a cmd prompt? D:\R3_platform-tests>which unzip C:/PROGRA~1/MKSTOO~1/mksnt/unzip.exe (In reply to comment #25) > Is the directory D:\R3_platform-tests\test-eclipse\ empty? > test-eclipse dir doesn't exist at all > hmm that's strange the test-eclipse directory should get created when you run the runtests.bat. To double check does the 4 SDK files exist in your D:\R3_platform-tests directory? eclipse-SDK-3.7.2-win32.zip eclipse-platform-3.7.2-win32.zip eclipse-platform-201204121421-win32.zip eclipse-SDK-201204121421-win32.zip To run tests successfully have to specify runtests.bat with: vmcmd=C:\Progra~1\Java\jdk1.8.0\bin\java to avoid "Unknown option Files\Java\jre8/bin/java" which cause the problem. |