Community
Participate
Working Groups
OS/WS/Arch/: HP-UX/motif/ia64_32 JDK version: 1.4.2_09 The following tests are failing: 1. testMarkTypeOccurrences 2. testMarkOccurrencesAfterEditorReuse 3. testMarkMethodOccurrences 4. testMarkFieldOccurrences 5. testMarkLocalOccurrences 6. testMarkMethodExitOccurrences 7. testMarkMethodExceptionOccurrences 8. testMarkImplementOccurrences1 9. testMarkImplementOccurrences3 I tried -clean and -noclean option and ran standalone. But always seeing the same failures. Attaching the result html file.
Created attachment 28303 [details] jdt.text.tests result file
Build id: M20050929-0840 The tests test the occurrence marking feature. They require that the UI of the machine is not touched and that the focus remains where set by the test. If a user or some other program (e.g. virus scanner, firewall, etc.) opens/switches to another window they fail. Please attach the .log and verify whether occurrence marking normally works on your machine. We cannot reproduce the failure: the tests run fine on all our test machines. See also: http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-text-home/development/bug-incomplete.htm
I am running these tests on a VNC window. The UI of the machine was not touched at all. But always those 9 tests fail. The eclipse-testing/eclipse/jdt_text_folder/.metadata/.log file looks like following: !SESSION 2005-10-17 12:33:18.961 ----------------------------------------------- eclipse.buildId=M20050929-0840 java.version=1.4.2.09 java.vendor=Hewlett-Packard Co. BootLoader constants: OS=hpux, ARCH=ia64_32, WS=motif, NL=en Framework arguments: -application org.eclipse.test.uitestapplication formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,org.eclipse.jdt.text.tests.JdtTextTestSuite.xml -testPluginName org.eclipse.jdt.text.tests -className org.eclipse.jdt.text.tests.JdtTextTestSuite Command-line arguments: -application org.eclipse.test.uitestapplication -dev bin -data /home/sumits/3.1.1/testing/eclipse-testing/test-eclipse/eclipse/jdt_text_folder formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,org.eclipse.jdt.text.tests.JdtTextTestSuite.xml -testPluginName org.eclipse.jdt.text.tests -className org.eclipse.jdt.text.tests.JdtTextTestSuite -os hpux -ws motif -arch ia64_32 -consolelog !ENTRY org.eclipse.ui 1 0 2005-10-17 12:33:24.135 !MESSAGE Warnings while parsing the commands from the 'org.eclipse.ui.commands' and 'org.eclipse.ui.actionDefinitions' extension points. !SUBENTRY 1 org.eclipse.ui 1 0 2005-10-17 12:33:24.136 !MESSAGE Commands should really have a category, not categoryId='': plug-in='org.eclipse.ui.tests', commandId='org.eclipse.ui.tests.commands.categoryLessCommand'. !ENTRY org.eclipse.ui 2 0 2005-10-17 12:33:24.238 !MESSAGE Warnings while parsing the key bindings from the 'org.eclipse.ui.commands' extension point !SUBENTRY 1 org.eclipse.ui 2 0 2005-10-17 12:33:24.239 !MESSAGE Cannot bind to an undefined command: plug-in='org.eclipse.ui.tests', commandId='org.eclipse.ui.tests.TestCommandId'. !SUBENTRY 1 org.eclipse.ui 2 0 2005-10-17 12:33:24.240 !MESSAGE Cannot bind to an undefined command: plug-in='org.eclipse.ui.tests', commandId='org.eclipse.ui.tests.TestCommandId'. !ENTRY org.eclipse.ui.workbench 4 2 2005-10-17 12:33:32.500 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench". !STACK 0 !FORCED BY TEST: this entry is intentional:The workbench should handle hostile pulldown delegates.
NOTE: in the future please first answer the questions before reopening a bug (see comment 2). Try the following: 1) test whether occurrence marking in the Java editor works using the same workspace and setup (i.e. VNC) 2) watch what's happening when running just those tests, e.g. does the editor come up? Is some other window appearing which might interfere with the test, etc. 3) if possible try it with a Linux client (i.e. without VNC). The tests depend on UI events and some remote access software might not work or might not be configured correctly to handle this. For example we were not able to make it work using CYGWIN but it works using VNC.
Yes. You are right. I should have answered your question. I think it is a also a good idea to point a link or web-page from where the user can find out more about "occurance marking feature" in Java editor. The tests pass when the display was set to a HP-UX workstation, instead of the VNC. By the way, the same tests pass in 3.1 using same VNC session as 3.1.1. The vnc server is running on a RedHat linux box.
Get rid of deprecated state.
.