Bug 316636 - some eclipse-automated tests(3.4.2) fails in solaris 10 with open jdk7 b96
Summary: some eclipse-automated tests(3.4.2) fails in solaris 10 with open jdk7 b96
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.4.2   Edit
Hardware: Sun Solaris
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-11 13:30 EDT by Tao Zhang CLA
Modified: 2011-11-07 06:06 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tao Zhang CLA 2010-06-11 13:30:02 EDT
Build Identifier: 3.4.2

We downloaded eclipse-automated-tests-3.4.2, and run the tests in solaris-sparc 10 with open jdk7 b96, some tests are failed, below are the failed test names and exceptions:
testRefreshExecutableOnFolde
testParseValid
testScopeExpansion
test055 - 1.5
test055 - 1.6
test055 - 1.7
testAnalyze
testSortMultipleCategory



testRefreshExecutableOnFolde

junit.framework.AssertionFailedError: 2.2
at org.eclipse.core.tests.resources.ResourceAttributeTest.testRefreshExecutableOnFolder(ResourceAttributeTest.java:263)
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)

testParseValid
Error creating feature "http://www.not-eclipse.org/feature3/". [Connection timed out]

org.eclipse.core.runtime.CoreException: Error creating feature "http://www.not-eclipse.org/feature3/". [Connection timed out]
at org.eclipse.update.core.Utilities.newCoreException(Utilities.java:223)
at org.eclipse.update.core.Utilities.newCoreException(Utilities.java:254)
at org.eclipse.update.internal.core.FeatureExecutableFactory.createFeature(FeatureExecutableFactory.java:78)
at org.eclipse.update.core.Site.createFeature(Site.java:534)
at org.eclipse.update.core.FeatureReference.createFeature(FeatureReference.java:122)
at org.eclipse.update.core.FeatureReference.getFeature(FeatureReference.java:110)
at org.eclipse.update.core.FeatureReference.getFeature(FeatureReference.java:97)
at org.eclipse.update.tests.parser.TestSiteParse.testParseValid5(TestSiteParse.java:177)
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)
Caused by: java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:316)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:177)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:164)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:390)
at java.net.Socket.connect(Socket.java:578)
at java.net.Socket.connect(Socket.java:527)
at sun.net.NetworkClient.doConnect(NetworkClient.java:178)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:377)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:470)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:210)
at sun.net.www.http.HttpClient.New(HttpClient.java:293)
at sun.net.www.http.HttpClient.New(HttpClient.java:305)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:873)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:809)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:727)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1164)
at org.eclipse.update.internal.core.connection.HttpResponse.getInputStream(HttpResponse.java:127)
at org.eclipse.update.internal.core.FeatureExecutableFactory.createFeature(FeatureExecutableFactory.java:62)

testScopeExpansion

sleep interrupted
java.lang.InterruptedException: sleep interrupted
at java.lang.Thread.sleep(Native Method)
at org.eclipse.core.internal.jobs.JobManager.join(JobManager.java:798)
at org.eclipse.team.tests.core.mapping.ScopeTests.waitForManager(ScopeTests.java:69)
at org.eclipse.team.tests.core.mapping.ScopeTests.assertProperContainment(ScopeTests.java:62)
at org.eclipse.team.tests.core.mapping.ScopeTests.testScopeExpansion(ScopeTests.java:105)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:354)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:206)
at org.eclipse.test.UITestApplication$3.run(UITestApplication.java:195)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3378)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3036)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.test.UITestApplication.runApplication(UITestApplication.java:138)
at org.eclipse.test.UITestApplication.run(UITestApplication.java:60)
at org.eclipse.test.UITestApplication.start(UITestApplication.java:210)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
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)

test055 - 1.5, 1.6, 1.7
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)

testAnalyze
Should be at least one vm install for the environment

junit.framework.AssertionFailedError: Should be at least one vm install for the environment
at org.eclipse.jdt.debug.tests.core.ExecutionEnvironmentTests.testAnalyze(ExecutionEnvironmentTests.java:53)
at org.eclipse.jdt.debug.tests.AbstractDebugTest.runBare(AbstractDebugTest.java:1712)
at org.eclipse.jdt.debug.tests.DebugSuite$1.run(DebugSuite.java:54)
at java.lang.Thread.run(Thread.java:717)

testSortMultipleCategory
expected:<a[1]> but was:<a[3]>

junit.framework.ComparisonFailure: expected:<a[1]> but was:<a[3]>
at org.eclipse.ua.tests.help.other.ContextLinkSorter.testSortMultipleCategory(ContextLinkSorter.java:116)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:354)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:206)
at org.eclipse.test.UITestApplication$3.run(UITestApplication.java:195)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3378)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3036)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.test.UITestApplication.runApplication(UITestApplication.java:138)
at org.eclipse.test.UITestApplication.run(UITestApplication.java:60)
at org.eclipse.test.UITestApplication.start(UITestApplication.java:210)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
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)



Reproducible: Always

Steps to Reproduce:
1. download openjdk7 b96 from http://download.java.net/jdk7/archive/b96/binaries/index.html
2. install open jdk 7 and launch the tests in solaris-sparc 10
3. you will see these tests are failed
Comment 1 Tao Zhang CLA 2010-06-11 13:32:24 EDT
please investigate these failures to find out these are IDE bugs or java bugs
Comment 2 Prakash Rangaraj CLA 2010-06-14 01:22:46 EDT
> testAnalyze
> Should be at least one vm install for the environment

> junit.framework.AssertionFailedError: Should be at least one vm install for 
> the environment

Is your env properly set up?
Comment 3 Paul Webster CLA 2010-06-14 08:26:42 EDT
and if you run them on the 1.6 JVM, do you get the same results?

PW
Comment 4 Szymon Brandys CLA 2010-06-14 10:05:54 EDT
These are tests in many components. Only testRefreshExecutableOnFolder is a core.resources test.

When Tao confirms that this is not an issue with vm or configuration, I would suggest to raise separate bugs per each component.
Comment 5 Szymon Ptaszkiewicz CLA 2011-11-07 06:06:07 EST
Closing due to lack of information needed for reproduction. Please reopen if you see this again.