Community
Participate
Working Groups
Build Identifier: 3.7-201106131736 I downloaded the eclipse-Automated-Tests-3.7.zip, eclipse-test-framework-3.7.zip, eclipse-SDK-3.7-macosx-cocoa-x86_64.tar.gz and eclipse-platform-3.7-macosx-cocoa-x86_64.tar.gz from http://download.eclipse.org/eclipse/downloads/drops/R-3.7-201106131736/index.php I followed the readme file set up steps, but I got the errors by running the tests: BUILD FAILED /Users/uadmin/eclipse/3.7/eclipse-testing/test.xml:1005: The following error occurred while executing this line: /Users/uadmin/eclipse/3.7/eclipse-testing/test.xml:804: Problem: failed to create task or type antlib:org.jacoco.ant:merge Cause: The name is undefined. Action: Check the spelling. Action: Check that any custom tasks/types have been declared. Action: Check that any <presetdef>/<macrodef> declarations have taken place. No types or tasks have been defined in this namespace yet This appears to be an antlib declaration. Action: Check that the implementing library exists in one of: -/Users/uadmin/eclipse/3.7/eclipse-testing/eclipse/plugins/org.apache.ant_1.8.2.v20110505-1300/lib -/Users/uadmin/.ant/lib -a directory added on the command line with the -lib argument Total time: 28 seconds An error has occurred. See the log file /Users/uadmin/eclipse/3.7/eclipse-testing/workspace/.metadata/.log. Reproducible: Always Steps to Reproduce: 1. Download files mentioned above 2. unzip the eclipse-Automated-Tests-3.7.zip 3. place the IDE bundles and framework bundles in eclipse-testing dir 4. change test.xml file for 1.5 and 1.6 locations 5, launch the tests by using the command in the readme file in macOSX(imac machine) 6, you will get the errors as attached. Buildfile: /Users/uadmin/eclipse/3.7/eclipse-testing/test.xml all: setJVMfromUserSpecified: setJVMProperties: equinoxp2discovery: junit: setJVMfromUserSpecified: setJVMProperties: equinoxp2: junit: setJVMfromUserSpecified: setJVMProperties: equinoxp2ui: junit: pdeui: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.pde.ui.tests_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html setJVMfromUserSpecified: setJVMProperties: jdtcompilertool: junit: setJVMfromUserSpecified: setJVMProperties: jdtcompilerapt: junit: jdttext: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.jdt.text.tests_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html ant: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.ant.tests.core_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html compare: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.compare.tests_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html coreruntime: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.core.tests.runtime_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html coreresources: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.core.tests.resources_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html osgi: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.osgi.tests_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html coreexpressions: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.core.expressions.tests_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html update: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.update.tests.core_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html teamcore: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.team.tests.core_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html jdtcoreperf: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.jdt.core.tests.performance_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html setJVMfromUserSpecified: setJVMProperties: jdtcorebuilder: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.jdt.core.tests.builder_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html setJVMfromUserSpecified: setJVMProperties: jdtcorecompiler: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.jdt.core.tests.compiler_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html uiperformance: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.ui.tests.performance_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html uieditors: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.ui.editors.tests_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html uinavigator: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.ui.tests.navigator_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html uiworkbenchtexteditor: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.ui.workbench.texteditor.tests_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html uircp: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.ui.tests.rcp_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html uiviews: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.ui.tests.views.properties.tabbed_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html jdtdebug: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.jdt.debug.tests_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html jdtui: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.jdt.ui.tests_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html jdtuirefactoring: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.jdt.ui.tests.refactoring_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html ltkuirefactoringtests: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.ltk.ui.refactoring.tests_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html ltkcorerefactoringtests: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.ltk.core.refactoring.tests_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html text: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.text.tests_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html jface: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.jface.text.tests_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html jfacedatabinding: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.jface.tests.databinding_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html filebuffers: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.core.filebuffers.tests_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html antui: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.ant.tests.ui_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html coretestsnet: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.core.tests.net_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html setJVMfromUserSpecified: setJVMProperties: jdtapt: junit: pdebuild: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.pde.build.tests_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html setJVMfromUserSpecified: setJVMProperties: jdtaptpluggable: junit: ua: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.ua.tests_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html uiforms: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.ui.tests.forms_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html setJVMfromUserSpecified: setJVMProperties: pdeapitooling: junit: equinoxsecurity: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.equinox.security.tests_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html search: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.search.tests_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html pdeds: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.pde.ds.tests_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html setJVMfromUserSpecified: setJVMProperties: jdtcoremodel: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.jdt.core.tests.model_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html uadoc: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.ua.tests.doc_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html debug: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.debug.tests_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html ui: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.ui.tests_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! relEng: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.releng.tests_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html swt: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.swt.tests_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html teamcvs: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.team.tests.cvs.core_* [echo] trying to find runSuite: genResults: [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html equinoxds: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.equinox.ds.tests_* [echo] trying to find runSuite: genResults: [copy] Warning: Could not find file /Users/uadmin/eclipse/3.7/eclipse-testing/eclipse/org.eclipse.equinox.ds.tests.xml to copy. [xslt] Transforming into /Users/uadmin/eclipse/3.7/eclipse-testing/results/html generateJacocoReport: [echo] Coverage output location = /Users/uadmin/eclipse/3.7/eclipse-testing/results/coverage [taskdef] Could not load definitions from resource org/jacoco/ant/antlib.xml. It could not be found. BUILD FAILED /Users/uadmin/eclipse/3.7/eclipse-testing/test.xml:1005: The following error occurred while executing this line: /Users/uadmin/eclipse/3.7/eclipse-testing/test.xml:804: Problem: failed to create task or type antlib:org.jacoco.ant:merge Cause: The name is undefined. Action: Check the spelling. Action: Check that any custom tasks/types have been declared. Action: Check that any <presetdef>/<macrodef> declarations have taken place. No types or tasks have been defined in this namespace yet This appears to be an antlib declaration. Action: Check that the implementing library exists in one of: -/Users/uadmin/eclipse/3.7/eclipse-testing/eclipse/plugins/org.apache.ant_1.8.2.v20110505-1300/lib -/Users/uadmin/.ant/lib -a directory added on the command line with the -lib argument Total time: 28 seconds An error has occurred. See the log file /Users/uadmin/eclipse/3.7/eclipse-testing/workspace/.metadata/.log.
Created attachment 202109 [details] Error file The 3.4.2 tests are running fine in the same imac machine, but 3.7 is not, I need someone tell me why 3.7 is not working and the 3.7 readme file looks same as 3.4.2 but saying last updated in March 2011, but by following the steps, it is not working.
(In reply to comment #0) > Build Identifier: 3.7-201106131736 > > I downloaded the eclipse-Automated-Tests-3.7.zip, > eclipse-test-framework-3.7.zip, > eclipse-SDK-3.7-macosx-cocoa-x86_64.tar.gz and > eclipse-platform-3.7-macosx-cocoa-x86_64.tar.gz from > http://download.eclipse.org/eclipse/downloads/drops/R-3.7-201106131736/index.php > > I followed the readme file set up steps, but I got the errors by running the > tests: > BUILD FAILED > /Users/uadmin/eclipse/3.7/eclipse-testing/test.xml:1005: The following error > occurred while executing this line: > /Users/uadmin/eclipse/3.7/eclipse-testing/test.xml:804: Problem: failed to > create task or type antlib:org.jacoco.ant:merge > Cause: The name is undefined. The build has been extended to include generating code coverage reports using JaCoCo. You will have to either disable this task in the ant file or install JaCoCo from http://www.eclemma.org/jacoco/ See specifically the section on using JaCoCo with ant: http://www.eclemma.org/jacoco/trunk/doc/ant.html HTH.
This belongs to Platform/Releng.
(In reply to comment #2) > (In reply to comment #0) > > Build Identifier: 3.7-201106131736 > > > > I downloaded the eclipse-Automated-Tests-3.7.zip, > > eclipse-test-framework-3.7.zip, > > eclipse-SDK-3.7-macosx-cocoa-x86_64.tar.gz and > > eclipse-platform-3.7-macosx-cocoa-x86_64.tar.gz from > > http://download.eclipse.org/eclipse/downloads/drops/R-3.7-201106131736/index.php > > > > I followed the readme file set up steps, but I got the errors by running the > > tests: > > BUILD FAILED > > /Users/uadmin/eclipse/3.7/eclipse-testing/test.xml:1005: The following error > > occurred while executing this line: > > /Users/uadmin/eclipse/3.7/eclipse-testing/test.xml:804: Problem: failed to > > create task or type antlib:org.jacoco.ant:merge > > Cause: The name is undefined. > > The build has been extended to include generating code coverage reports > using JaCoCo. You will have to either disable this task in the ant file > or install JaCoCo from http://www.eclemma.org/jacoco/ > See specifically the section on using JaCoCo with ant: > http://www.eclemma.org/jacoco/trunk/doc/ant.html > > HTH. Thanks for this information, I remove the JaCoCo part, this error is gone, but I still have the errors which cannot find find *tests_*, so the build is successful, but nothing is running. Seems to me, the running script should find these files and copy over to there and run the tests, but it fails. Need someone give me the information where are these files, and should be in the all the jar files? I did extract couple of jar files, but cannot found the text.xml for each package. genResults: [xslt] Transforming into /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/results/html BUILD SUCCESSFUL BUILD SUCCESSFUL Total time: 26 seconds [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.pde.ui.tests.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.jdt.text.tests.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.ant.tests.core.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.compare.tests.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.core.tests.runtime.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.core.tests.resources.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.osgi.tests.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.core.expressions.tests.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.update.tests.core.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.team.tests.core.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.jdt.core.tests.performance.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.jdt.core.tests.builder.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.jdt.core.tests.compiler.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.ui.tests.performance.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.ui.editors.tests.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.ui.tests.navigator.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.ui.workbench.texteditor.tests.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.ui.tests.rcp.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.ui.tests.views.properties.tabbed.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.jdt.debug.tests.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.jdt.ui.tests.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.jdt.ui.tests.refactoring.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.ltk.ui.refactoring.tests.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.ltk.core.refactoring.tests.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.text.tests.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.jface.text.tests.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.jface.tests.databinding.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.core.filebuffers.tests.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.ant.tests.ui.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.core.tests.net.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.pde.build.tests.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.ua.tests.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.ui.tests.forms.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.equinox.security.tests.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.search.tests.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.pde.ds.tests.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.jdt.core.tests.model.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.ua.tests.doc.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.debug.tests.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.ui.tests.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.releng.tests.xml to copy. [move] Warning: /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/results/chkpii does not exist. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.swt.tests.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.team.tests.cvs.core.xml to copy. [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.equinox.ds.tests.xml to copy.
Created attachment 202165 [details] Cannot find these tests.xml files Please let me know where are these files, seems to me, in order to run the tests, these tests.xml files should be in place.
Comment on attachment 202165 [details] Cannot find these tests.xml files The readme file within the eclipse-Automated-Tests-3.7.zip should be updated too.
Can you paste the line you used to invoke runtests For instance ./runtests -properties vm.properties -os macosx -ws cocoa -arch x86 -vm path_to_vm Also, to make it easier it would be good to just try running one suite to try to troubleshoot the problem. For example ./runtests -properties vm.properties -os linux -ws gtk -arch x86 -vm /runtests -properties vm.properties -os macosx -ws cocoa -arch x86 -vm path_to_vm pdeui Also, as a side note, you don't need to modify the test.xml to point to the VMs, this should be included in your vm.properties file
(In reply to comment #7) > Can you paste the line you used to invoke runtests > > For instance > ./runtests -properties vm.properties -os macosx -ws cocoa -arch x86 -vm > path_to_vm > > Also, to make it easier it would be good to just try running one suite to try > to troubleshoot the problem. For example > ./runtests -properties vm.properties -os linux -ws gtk -arch x86 -vm /runtests > -properties vm.properties -os macosx -ws cocoa -arch x86 -vm path_to_vm pdeui > > Also, as a side note, you don't need to modify the test.xml to point to the > VMs, this should be included in your vm.properties file I used the following to execute the tests: ./runtests -properties ./test.properties -os macosx -ws carbon -arch ppc -noclean -vm /Users/anjanaprabhakar/jdk7/b204/bin/java pdeui Still failed If I don't modified the test.xml, I got the following errors: sh runtests -properties ./test.properties -os macosx -ws carbon -arch ppc -noclean -vm /Users/anjanaprabhakar/jdk7/b204/bin/java pdeui caution: filename not matched: */plugins/org.eclipse.test* Buildfile: /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/test.xml pdeui: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: [mkdir] Created dir: /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/results/xml [mkdir] Created dir: /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/results/html [mkdir] Created dir: /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/results/macosx.carbon.ppc [exec] chflags: /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/test-eclipse: No such file or directory [exec] Result: 1 setup: [echo] trying to find org.eclipse.pde.ui.tests_* BUILD FAILED /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/test.xml:654: The following error occurred while executing this line: /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/test.xml:421: The following error occurred while executing this line: /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/test.xml:438: /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/test-eclipse/eclipse/plugins does not exist. Total time: 1 second An error has occurred. See the log file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/workspace/.metadata/.log.
(In reply to comment #8) > (In reply to comment #7) > > Can you paste the line you used to invoke runtests > > > > For instance > > ./runtests -properties vm.properties -os macosx -ws cocoa -arch x86 -vm > > path_to_vm > > > > Also, to make it easier it would be good to just try running one suite to try > > to troubleshoot the problem. For example > > ./runtests -properties vm.properties -os linux -ws gtk -arch x86 -vm /runtests > > -properties vm.properties -os macosx -ws cocoa -arch x86 -vm path_to_vm pdeui > > > > Also, as a side note, you don't need to modify the test.xml to point to the > > VMs, this should be included in your vm.properties file > > I used the following to execute the tests: > > ./runtests -properties ./test.properties -os macosx -ws carbon -arch ppc > -noclean -vm /Users/anjanaprabhakar/jdk7/b204/bin/java pdeui > > Still failed > > If I don't modified the test.xml, I got the following errors: > sh runtests -properties ./test.properties -os macosx -ws carbon -arch ppc > -noclean -vm /Users/anjanaprabhakar/jdk7/b204/bin/java pdeui > caution: filename not matched: */plugins/org.eclipse.test* > Buildfile: /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/test.xml > > pdeui: > > junit: > > setRuntimeArchive: > [echo] setRuntimeArchive os macosx ws carbon arch ppc > [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! > > init: > [mkdir] Created dir: > /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/results/xml > [mkdir] Created dir: > /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/results/html > [mkdir] Created dir: > /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/results/macosx.carbon.ppc > [exec] chflags: > /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/test-eclipse: No such file or > directory > [exec] Result: 1 > > setup: > [echo] trying to find org.eclipse.pde.ui.tests_* > > BUILD FAILED > /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/test.xml:654: The following > error occurred while executing this line: > /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/test.xml:421: The following > error occurred while executing this line: > /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/test.xml:438: > /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/test-eclipse/eclipse/plugins > does not exist. > > Total time: 1 second > An error has occurred. See the log file > /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/workspace/.metadata/.log. Please see attached test.xml and test.properties files which originally included in the bundle(no any modification at all)
Created attachment 202341 [details] test.properties
Created attachment 202342 [details] test.xml test.xml has been modified to remove the jacoco
(In reply to comment #7) > Can you paste the line you used to invoke runtests > > For instance > ./runtests -properties vm.properties -os macosx -ws cocoa -arch x86 -vm > path_to_vm > > Also, to make it easier it would be good to just try running one suite to try > to troubleshoot the problem. For example > ./runtests -properties vm.properties -os linux -ws gtk -arch x86 -vm /runtests > -properties vm.properties -os macosx -ws cocoa -arch x86 -vm path_to_vm pdeui > > Also, as a side note, you don't need to modify the test.xml to point to the > VMs, this should be included in your vm.properties file Hi, Any update? The problem is the file cannot be found, "Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.pde.ui.tests.xml to copy." Even the build is fine, but nothing is running. please output see below: sh runtests -properties ./test.properties -os macosx -ws carbon -arch ppc -noclean -vm /Users/anjanaprabhakar/jdk7/b204/bin/java pdeui Buildfile: /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/test.xml pdeui: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-I20110613-1736-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.pde.ui.tests_* [echo] trying to find runSuite: genResults: [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.pde.ui.tests.xml to copy. [xslt] Transforming into /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/results/html BUILD SUCCESSFUL BUILD SUCCESSFUL Total time: 1 second
(In reply to comment #7) > Can you paste the line you used to invoke runtests > > For instance > ./runtests -properties vm.properties -os macosx -ws cocoa -arch x86 -vm > path_to_vm > > Also, to make it easier it would be good to just try running one suite to try > to troubleshoot the problem. For example > ./runtests -properties vm.properties -os linux -ws gtk -arch x86 -vm /runtests > -properties vm.properties -os macosx -ws cocoa -arch x86 -vm path_to_vm pdeui > > Also, as a side note, you don't need to modify the test.xml to point to the > VMs, this should be included in your vm.properties file Can you let me know how I can make this running? I need to run this tests, currently it is a blocker to my other work. Thanks for any information to make it runs.
What does your label.properties look like? I updated mine to look like this and it worked fine. luiimac:eclipse-testing ibmemployee$ cat label.properties timestamp=201106131736 buildType=R buildId=3.7 buildLabel=3.7 When we promote a build to a release, we just rename a build to a new name. Some of the properties for running tests still reflect the old build name. I can update the documentation to reflect this. Sorry I didn't see that issue before, I actually ran the tests with a newer 3.7.x build which had not been renamed to a release build and therefore didn't have this issue.
(In reply to comment #14) > What does your label.properties look like? > > I updated mine to look like this and it worked fine. > > luiimac:eclipse-testing ibmemployee$ cat label.properties > > timestamp=201106131736 > buildType=R > buildId=3.7 > buildLabel=3.7 > > > When we promote a build to a release, we just rename a build to a new name. > Some of the properties for running tests still reflect the old build name. I > can update the documentation to reflect this. > > Sorry I didn't see that issue before, I actually ran the tests with a newer > 3.7.x build which had not been renamed to a release build and therefore didn't > have this issue. Thanks for the info. but it is still not working for me, please take a look this output which run after I modified label.properties file as yours, I guess it is lookinf or a file /eclipse-testing/eclipse/org.eclipse.pde.ui.tests.xml to copy, but cannot find this file, so nothing is running, and I search this file, it is not there: sc22bk08:eclipse-testing anjanaprabhakar$ cat label.properties timestamp=201106131736 buildType=I buildId=I20110613-1736 buildLabel=I20110613-1736 sc22bk08:eclipse-testing anjanaprabhakar$ vi label.txt sc22bk08:eclipse-testing anjanaprabhakar$ cat label.properties > > timestamp=201106131736 > buildType=R > buildId=3.7 > buildLabel=3.7 sc22bk08:eclipse-testing anjanaprabhakar$ sh runtests -properties ./test.properties -os macosx -ws carbon -arch ppc -noclean -vm /Users/anjanaprabhakar/jdk7/b204/bin/java pdeui Buildfile: /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/test.xml pdeui: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws carbon arch ppc [echo] runtimeArchive eclipse-SDK-3.7-macosx-carbon.tar.gz !!! init: setup: [echo] trying to find org.eclipse.pde.ui.tests_* [echo] trying to find runSuite: genResults: [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.pde.ui.tests.xml to copy. [xslt] Transforming into /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/results/html BUILD SUCCESSFUL BUILD SUCCESSFUL Total time: 1 second sc22bk08:eclipse-testing anjanaprabhakar$ ls results/xml sc22bk08:eclipse-testing anjanaprabhakar$
After I modified the label.properties file as Kim Moir's information, I still got the file cannot find error, so no tests are running.
Can someone tell me exact steps to run the tests? For example: Step 1: go to http://download.eclipse.org/eclipse/downloads/drops/R-3.7-201106131736/index.php Step 2: download 1)eclipse-SDK-3.7-macosx-cocoa-x86_64.tar.gz 2)eclipse-test-framework-3.7.zip 3)eclipse-Automated-Tests-3.7.zip 4) what else? eclipse-3.7-delta-pack.zip? eclipse-platform-3.7-macosx-cocoa-x86_64.tar.gz? Step 3: unzip eclipse-Automated-Tests-3.7.zip Step 4: copy all gz and zip files under eclipse-testing Step 5: sh runtests -properties ./test.properties -os macosx -ws carbon -arch ppc -noclean -vm /Users/anjanaprabhakar/jdk7/b204/bin/java pdeui Step 6: Does that work for you? 1)Modify the test.xml to remove jacoco coverage section? 2)Modify the label.properties? 3)Where the file eclipse-junit-tests-I20110613-1736.zip should be? after you unzip eclipse-Automated-Test-3.7.zip, above file is under eclipse-testing, but the readme file does not say anything about the location of this file, if you run the tests, the error will say: cannot find JUNIT.XSL in eclipse/dropins/plugins 4)anything else missing here? after you solve all these problems, you still get "Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.pde.ui.tests.xml to copy." this is warning, but no tests are running. I need to run the tests to make sure the new release not break the IDE3.7, 3.4 is too old, but I cannot make 3.7 running, I need steps to make these tests running. Thanks for any inputs and tips
When you run the tests you should 1)Modify the test.xml to remove jacoco coverage section? << Yes 2)Modify the label.properties? << Yes 3)Where the file eclipse-junit-tests-I20110613-1736.zip should be? << it will get unzipped automatically when you run the scripts, don't unzip it manually after you unzip eclipse-Automated-Test-3.7.zip, above file is under eclipse-testing, but the readme file does not say anything about the location of this file, if you run the tests, the error will say: cannot find JUNIT.XSL in eclipse/dropins/plugins 4)anything else missing here? You're running the tests like this sh runtests -properties ./test.properties -os macosx -ws carbon -arch ppc -noclean -vm /Users/anjanaprabhakar/jdk7/b204/bin/java pdeui It should be ./runtests -properties ./test.properties -os macosx -ws cocoa -arch x86_64 -noclean -vm /Users/anjanaprabhakar/jdk7/b204/bin/java pdeui You seem to be downloading eclipse-SDK-3.7-macosx-cocoa-x86_64.tar.gz but your previous comment indicates you're running the tests with -os macosx -ws carbon -arch ppc which is a mismatch.
(In reply to comment #18) > When you run the tests you should > > 1)Modify the test.xml to remove jacoco coverage section? << Yes > 2)Modify the label.properties? << Yes > 3)Where the file eclipse-junit-tests-I20110613-1736.zip should be? << it will > get unzipped automatically when you run the scripts, don't unzip it manually > after you unzip eclipse-Automated-Test-3.7.zip, above file is under > eclipse-testing, but the readme file does not say anything about the location > of this file, if you run the tests, the error will say: cannot find JUNIT.XSL > in eclipse/dropins/plugins > 4)anything else missing here? > > You're running the tests like this > > sh runtests -properties ./test.properties -os macosx -ws carbon -arch > ppc -noclean -vm /Users/anjanaprabhakar/jdk7/b204/bin/java pdeui > > It should be > ./runtests -properties ./test.properties -os macosx -ws cocoa -arch > x86_64 -noclean -vm /Users/anjanaprabhakar/jdk7/b204/bin/java pdeui > > You seem to be downloading eclipse-SDK-3.7-macosx-cocoa-x86_64.tar.gz but your > previous comment indicates you're running the tests with -os macosx -ws carbon > -arch ppc which is a mismatch. Thanks for the info, I tried your above command, I got errors as below: sc22bk08:eclipse-testing anjanaprabhakar$ sh runtests -properties ./test.properties -os macosx -ws cocoa -arch x86_64 -noclean -vm /Users/anjanaprabhakar/jdk7/b204/bin/java pdeui runtests: line 69: [: missing `]' The os, ws and arch values are either invalid or are an invalid combination I looked at the runtests, it does not have x86_64 for the arch for macosx, only x86, not sure I should update the runtests as well? the bundle is x86_64, but runtests does not have x86_64 arch, only x86 let me know if that is a problem. So I did modify the command which is x86(not x86_64), still cannot find the file, please see below: sc22bk08:eclipse-testing anjanaprabhakar$ sh runtests -properties ./test.properties -os macosx -ws cocoa -arch x86 -noclean -vm /Users/anjanaprabhakar/jdk7/b204/bin/java pdeui Buildfile: /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/test.xml pdeui: junit: setRuntimeArchive: [echo] setRuntimeArchive os macosx ws cocoa arch x86 [echo] runtimeArchive eclipse-SDK-3.7-macosx-cocoa.tar.gz !!! init: setup: [echo] trying to find org.eclipse.pde.ui.tests_* [echo] trying to find runSuite: genResults: [copy] Warning: Could not find file /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/eclipse/org.eclipse.pde.ui.tests.xml to copy. [xslt] Transforming into /Users/anjanaprabhakar/eclipse3.7/eclipse-testing/results/html BUILD SUCCESSFUL BUILD SUCCESSFUL Total time: 1 second sc22bk08:eclipse-testing anjanaprabhakar$
Please let me know the runtests also need to be updated as well? my bundle is x86_64 for macosx, but the runtests did not have x86_64 arch.
What architecture is your machine? Most macs these days are either x86 or x86_64, and run cocoa.
(In reply to comment #21) > What architecture is your machine? Most macs these days are either x86 or > x86_64, and run cocoa. This is iMac (new arrived, a couple months ago), it is Mac OS X Darwin Kernel version is 10.7.0 processor 3.2 GHz Intel Core i3 It is 64 bits, we run 64 bit java on it. So should be x86_64
Created attachment 202813 [details] updated runtests.sh
Created attachment 202828 [details] cannot find the file after update runtests Please see attached output file which has the updated runtests.sh and run errors.
(In reply to comment #23) > Created attachment 202813 [details] > updated runtests.sh Can you give me the one 3.7.x bundle which is working for you if possible? The updated runtests.sh is not working, I also did added x86_64 in the script, it does not matter, still saying cannot find the file which tests.xml? or some files needed to run the tests.
(In reply to comment #23) > Created attachment 202813 [details] > updated runtests.sh Do you have any more information on that? The updated runtests.sh is not working, still has the same problem, cannot find the files to run the tests. Suggest you check the the bundle to see any missing files in the 3.7 bundles.
Kim, any update? can you also check the bundles size? on the download sit, it says 133MB for the test bundle, what the size should be?
I followed the readme file set up steps and fully read this bug description. I got the same errors. I try 3.7 release (see #1) and 3.7.1 (http://download.eclipse.org/eclipse/downloads/drops/R-3.7.1-201109091335/index.php). There are no difference in the output errors: init: [exec] chflags: /Users/tledkov/eclipse/test-3.7.1/eclipse-testing/test-eclipse: No such file or directory [exec] Result: 1 setup: [echo] trying to find org.eclipse.pde.ui.tests_* BUILD FAILED /Users/tledkov/eclipse/test-3.7.1/eclipse-testing/test.xml:654: The following error occurred while executing this line: /Users/tledkov/eclipse/test-3.7.1/eclipse-testing/test.xml:421: The following error occurred while executing this line: /Users/tledkov/eclipse/test-3.7.1/eclipse-testing/test.xml:438: /Users/tledkov/eclipse/test-3.7.1/eclipse-testing/test-eclipse/eclipse/plugins does not exist. Test launch command line is: $THIS_PATH/runtests \ -properties $THIS_PATH/test.properties \ -os macosx \ -ws cocoa \ -arch x86_64 \ -noclean \ -vm $JDK/bin/java \ performance pdeui Modified text.xml from attach is not used. I use 'performance' target instead it because property 'codecoverage' is set up when there is not target 'performance' - see test.xml:31 (do i understand correct?). I doesn't understand why script search anything in 'eclipse-testing/test-eclipse/eclipse' when eclipse is extracted to 'eclipse-testing/eclipse'.
(In reply to comment #28) > > I doesn't understand why script search anything in > 'eclipse-testing/test-eclipse/eclipse' when eclipse is extracted to > 'eclipse-testing/eclipse'. IIRC eclipse-testing/eclipse is running the ant file and eclipse-testing/test-eclipse/eclipse will be running the test (it will have the test plugins installed into it, and is deleted and re-installed for every set of tests). Is eclipse-testing/test-eclipse/eclipse not being extracted? It's extraction is controlled by the test.xml and the "setup" and "install" targets. PW
If it's any help, here is the console output from our current Hudson job that runs our Mac tests: https://hudson.eclipse.org/hudson/job/eclipse-JUnit-mac2/lastBuild/console
Okay, this is what I did last night to run the tests mkdir on mac kimtest cd kimtest copy eclipse-Automated-Tests-3.7.2.zip to kimtest unzip eclipse-Automated-Tests-3.7.2.zip cd eclipse-testing mv eclipse-junit-tests-M20120208-0800.zip eclipse-junit-tests-3.7.2.zip copy the following zips to eclipse-testing eclipse-3.7.2-delta-pack.zip eclipse-SDK-3.7.2-macosx-cocoa-x86_64.tar.gz eclipse-platform-3.7.1-macosx-cocoa-x86_64.tar.gz update label.properties to reflect the following values luiimac:eclipse-testing ibmemployee$ cat label.properties timestamp=201202080800 buildType=R buildId=3.7.2 buildLabel=3.7.2 luiimac:eclipse-testing ibmemployee$ cat equinoxp2tests.properties #Properties required by equinox p2 tests #Wed, 08 Feb 2012 12:18:19 -0500 org.eclipse.equinox.p2.reconciler.tests.platform.archive.macosx=/Users/ibmemployee/buildtest/kimtest/eclipse-testing/eclipse-platform-3.7.2-macosx-cocoa-x86_64.tar.gz org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.macosx=/Users/ibmemployee/buildtest/kimtest/eclipse-testing/eclipse-platform-3.7.1-macosx-cocoa-x86_64.tar.gz org.eclipse.equinox.p2.tests.current.build.repo=http\://download.eclipse.org/eclipse/updates/3.7/R-3.7.2-201202080800 org.eclipse.equinox.p2.tests.last.release.build.repo=http\://download.eclipse.org/eclipse/updates/3.7/R-3.7-201106131736 ./runtests -os macosx -ws cocoa -arch x86_64 Wheeee! Tests are running :-) The root issue is that we promote the M20120208-0800 build to Release 3.7.2. Some of the files in the enclosed zips aren't updated when we release so they need to reflect the release versions of the zip. Also, we only run tests on x86, not x86_64 so the equinoxp2tests.properties file doesn't reflect the correct platform.
Hi Kim, I used your recomendations, but test failed to start: ls: eclipse/plugins/org.eclipse.equinox.launcher_*.jar : No such file or directory Error: Unable to access jarfile workspace. BTW, I didn't find org.eclipse.equinox.launcher_*.jar in the ws.
What does the workspace look like? what's in eclipse/plugins/ - anything?
Hi Kim, I used your recomendations and i have remarks: 1. All bundles were downloaded from: http://download.eclipse.org/eclipse/downloads/drops/R-3.7.2-201202080800/index.php, excluding clipse-platform-3.7.1-macosx-cocoa-x86_64.tar.gz; 2. There is a problem with 'runtests' shell script: $ ./runtests -os macosx -ws cocoa -arch x86_64 ./runtests: line 69: [: missing `]' The os, ws and arch values are either invalid or are an invalid combination $ But after fixing script at line: 'if [ "$os-$ws-$arch" = "bla-bla-bla..."' Tests are running. 3. Also i update 'equinoxp2tests.properties' with my local path. PS. Mega-thanks for your great suggestion!
Yes, I had to update the runtests script with the other arch. Sorry I forgot to mention that. I ran the tests at night and wrote on the bug in the morning, never a good combination :-)
Please take a look at the bug #374645 (if you have an opportunity). I have many failures of the automated tests. May be my tests environment does not set up correctly? I post my tests results in the bug #374645. I need any help or suggestions to discover reasons of this failures.
To resolve this bug the documentation for running tests needs to be changed to state how to run the tests against a release build (update properties etc).
This had target set to 3.7.2, so assume still not done. Sounds like the needed action is to update some instructions on how to run the tests ... and I've seen another bug about that ... but, for now, will simply "untarget"
Closing. Please open a new one if you still has the issue with latest versions and detail the issues you see.