Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6991874

Eclipse tests fail on Solaris/Linux

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • None
    • 7
    • core-libs
    • generic
    • generic

      Eclipse tests are failled on none windows platforms (solaris & linux) with jdk7, but passed with jdk6u20.
      The bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=316827 was submitted agains Eclipse, but it was closed as JDK bug.
      The following tests are failed with the same exception:
      test055 - 1.5
      test055 - 1.6
      test055 - 1.7
      In org.eclipse.jdt.core.tests.compiler*
      Unexpected error output for invocation with arguments ["/comptest/run.1275906640378/regression/p/X.java" -1.5 -g -preserveAllLocals -d "/comptest/run.1275906640378/regression/out"]. ----------- Expected ------------ No .class file created for file p/X.class in ---OUTPUT_DIR_PLACEHOLDER---/out because of an IOException: Could not create subdirectory p into output directory ---OUTPUT_DIR_PLACEHOLDER---/out\n ------------ but was ------------ --------- Difference is ---------- expected:<[No .class file created for file p/X.class in ---OUTPUT_DIR_PLACEHOLDER---/out because of an IOException: Could not create subdirectory p into output directory ---OUTPUT_DIR_PLACEHOLDER---/out\n ]> but was:<[]>

      junit.framework.ComparisonFailure: Unexpected error output for invocation with arguments ["/comptest/run.1275906640378/regression/p/X.java" -1.5 -g -preserveAllLocals -d "/comptest/run.1275906640378/regression/out"].
      ----------- Expected ------------
      No .class file created for file p/X.class in ---OUTPUT_DIR_PLACEHOLDER---/out because of an IOException: Could not create subdirectory p into output directory ---OUTPUT_DIR_PLACEHOLDER---/out\n

      ------------ but was ------------

      --------- Difference is ----------
      expected:<[No .class file created for file p/X.class in ---OUTPUT_DIR_PLACEHOLDER---/out because of an IOException: Could not create subdirectory p into output directory ---OUTPUT_DIR_PLACEHOLDER---/out\n
      ]> but was:<[]>
      at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertStringEquals(TestCase.java:230)
      at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertEquals(TestCase.java:206)
      at org.eclipse.jdt.core.tests.compiler.regression.BatchCompilerTest.runTest(BatchCompilerTest.java:592)
      at org.eclipse.jdt.core.tests.compiler.regression.BatchCompilerTest.runConformTest(BatchCompilerTest.java:392)
      at org.eclipse.jdt.core.tests.compiler.regression.BatchCompilerTest.test055(BatchCompilerTest.java:3833)
      at org.eclipse.jdt.core.tests.util.CompilerTestSetup.run(CompilerTestSetup.java:55)
      at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:354)
      at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:206)
      at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
      at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
      at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:574)
      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:195)
      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:386)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
      at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
      at org.eclipse.core.launcher.Main.main(Main.java:30)

      Results location: http://jsqalab.sfbay.sun.com/results/Evergreen/7/automation/7b111/compatibility_eclipse/3.4.2/oel5.5-i586/results/html/org.eclipse.jdt.core.tests.compiler_linux.gtk.x86.html
      http://jsqalab.sfbay.sun.com/results/Evergreen/7/automation/7b108/compatibility-eclipse/3.4.2/solaris10-sparc/results/html/org.eclipse.jdt.core.tests.compiler_solaris.gtk.sparc.html

      We have http://j2se.sfbay.sun.com/web/bin/view/SQEJFC/EclipseFuncTestStatus to setup and run Eclipse but we can provide the test system upon request.

      How to reproduce:
      solaris: jtg-s111.sfbay.sun.com (vnc access: dtftest/dtf_test)
      testsuite location: /home1/dtftest/eclipse/eclipse-testing
      Run a single test suite on linux:
      $sh runtests -properties -os linux -ws gtk -arch x86 -noclean testTargetName -vm /export/jdk/jdk7/bin/java
      Run a single test suite on sparc:
      $sh runtests -properties -os solaris -ws gtk -arch sparc -noclean testTargetName -vm /export/jdk/jdk7/bin/java

      testTargetName for org.eclipse.jdt.core.tests.compiler: jdtcorecompiler

            Unassigned Unassigned
            lshikhva Ludmila Shikhvarg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: