Community
Participate
Working Groups
Failed at http://download.eclipse.org/eclipse/downloads/drops4/I20130828-1800/testresults/html/org.eclipse.jdt.core.tests.model_linux.gtk.x86_6.0.html
unexpected non java resources. ----------- Expected ------------ META-INF\n MANIFEST.MF ------------ but was ------------ META-INF\n MANIFEST.MF\n ECLIPSE_.SF\n ECLIPSE_.RSA --------- Difference is ---------- expected:<...-INF\n MANIFEST.MF[]> but was:<...-INF\n MANIFEST.MF[\n ECLIPSE_.SF\n ECLIPSE_.RSA]> junit.framework.ComparisonFailure: unexpected non java resources. ----------- Expected ------------ META-INF\n MANIFEST.MF ------------ but was ------------ META-INF\n MANIFEST.MF\n ECLIPSE_.SF\n ECLIPSE_.RSA --------- Difference is ---------- expected:<...-INF\n MANIFEST.MF[]> but was:<...-INF\n MANIFEST.MF[\n ECLIPSE_.SF\n ECLIPSE_.RSA]> at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertStringEquals(TestCase.java:238) at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertEquals(TestCase.java:214) at org.eclipse.jdt.core.tests.model.AbstractJavaModelTests.assertResourceTreeEquals(AbstractJavaModelTests.java:588) at org.eclipse.jdt.core.tests.model.JavaProjectTests.testPackageFragmentRootNonJavaResources3(JavaProjectTests.java:1498) at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.runTest(SuiteOfTestCases.java:104) at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.superRun(SuiteOfTestCases.java:88) at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$1.protect(SuiteOfTestCases.java:76) at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.run(SuiteOfTestCases.java:85) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:655) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:310) at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:36) at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:32) at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:109) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:80) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:372) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:226) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591) at org.eclipse.equinox.launcher.Main.run(Main.java:1450) at org.eclipse.equinox.launcher.Main.main(Main.java:1426) at org.eclipse.core.launcher.Main.main(Main.java:34)
This occurs only in the nightly build and looks related to the signing of the JAR files. I will take a look at this.
(In reply to comment #2) > This occurs only in the nightly build and looks related to the signing of > the JAR files. I will take a look at this. It's the other way around, since N-builds aren't signed.
(In reply to comment #3) > (In reply to comment #2) > > This occurs only in the nightly build and looks related to the signing of > > the JAR files. I will take a look at this. > > It's the other way around, since N-builds aren't signed. Yes, that's what I meant. Anyway, looks like we already made a fix to the eclipse.inf in the corresponding project via bug 401141. But I don't know why it came back. Thanh, I see this in the eclipse.inf: jarprocessor.exclude.pack=true jarprocessor.exclude.children=true This should have been enough, right?
(In reply to comment #4) > (In reply to comment #3) > > (In reply to comment #2) > > > This occurs only in the nightly build and looks related to the signing of > > > the JAR files. I will take a look at this. > > > > It's the other way around, since N-builds aren't signed. > > Yes, that's what I meant. Anyway, looks like we already made a fix to the > eclipse.inf in the corresponding project via bug 401141. But I don't know > why it came back. > > Thanh, I see this in the eclipse.inf: > > jarprocessor.exclude.pack=true > jarprocessor.exclude.children=true > > This should have been enough, right? Jay, see David's comment in Bug 401098 comment 13. Basically as we found out Bug 412850 Tycho does not support the eclipse.inf file settings and according to Tycho developers it would be difficult for them to support this so we decided to implement this in a different way inside the jarsigner plugin. You will need to add additional pom.xml changes which David explains your options in Bug 401098 comment 13. Let me know if anything can be clarified.
Created attachment 235002 [details] Patch with pom changes There were two bundles that required this: org.eclipse.jdt.core.tests.compiler org.eclipse.jdt.core.tests.model org.eclipse.jdt.core I know it shouldn't matter, but just to make sure that nightly builds won't be broken, I will build it locally before pushing it.
The local build went alright and released the pom changes here: http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?id=3d56013cb187944d7b87c9178836e465733a4159 Will have to wait for the next I build to see the results, though.
Test have been passing in the last two I builds and I have also verified that ecj.jar is not signed in build I20130830-2000.