Bug 535337 - testPublishAndRunSimpleProduct fail on all platforms
Summary: testPublishAndRunSimpleProduct fail on all platforms
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: Build (show other bugs)
Version: 4.8   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 4.8 RC3   Edit
Assignee: Vikas Chandra CLA
QA Contact:
URL:
Whiteboard:
Keywords: test
Depends on:
Blocks:
 
Reported: 2018-05-30 09:20 EDT by Vikas Chandra CLA
Modified: 2018-06-05 02:06 EDT (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 Vikas Chandra CLA 2018-05-30 09:20:22 EDT
Between 29th 2:10am build and 29th 6am build, 1 pde build test started failing 

http://download.eclipse.org/eclipse/downloads/drops4/I20180529-0210/testresults/html/org.eclipse.pde.build.tests_ep48I-unit-cen64-gtk3_linux.gtk.x86_64_8.0.html 
http://download.eclipse.org/eclipse/downloads/drops4/I20180529-0600/testresults/html/org.eclipse.pde.build.tests_ep48I-unit-cen64-gtk3_linux.gtk.x86_64_8.0.html 


testPublishAndRunSimpleProduct	Failure	expected:<1> but was:<2>

junit.framework.AssertionFailedError: expected:<1> but was:<2>
at org.eclipse.pde.build.internal.tests.p2.P2TestCase.getIU(P2TestCase.java:158)
at org.eclipse.pde.build.internal.tests.p2.P2TestCase.getIU(P2TestCase.java:148)
at org.eclipse.pde.build.internal.tests.p2.PublishingTests.testPublishAndRunSimpleProduct(PublishingTests.java:894)
at org.eclipse.pde.build.tests.PDETestCase.runTest(PDETestCase.java:61)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:678)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:344)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:38)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:34)
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:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:656)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:592)
at org.eclipse.equinox.launcher.Main.run(Main.java:1498)
at org.eclipse.equinox.launcher.Main.main(Main.java:1471)
at org.eclipse.core.launcher.Main.main(Main.java:34)
Comment 1 Alexander Kurtakov CLA 2018-05-30 10:11:52 EDT
Is the test checking for a.jre* IUs ? Bug 535219 made products to no longer have such reqs.
Comment 2 Vikas Chandra CLA 2018-05-30 10:20:40 EDT
>>Is the test checking for a.jre* IUs ?

Yes

PublishingTests::testPublishAndRunSimpleProduct has this line in the test case.

		getIU(finalRepo, "a.jre.javase");
Comment 3 Dani Megert CLA 2018-05-30 10:27:41 EDT
Alex, Vikas is on vacation this week. So, if someone else can fix this for RC3, that would be good, otherwise RC4.
Comment 4 Eclipse Genie CLA 2018-05-30 10:31:56 EDT
New Gerrit change created: https://git.eclipse.org/r/123651
Comment 5 Vikas Chandra CLA 2018-05-30 10:35:21 EDT
>>https://git.eclipse.org/r/123651

Good chance,  this will fix this particular issue.
Comment 6 Eclipse Genie CLA 2018-05-30 10:37:56 EDT
Gerrit change https://git.eclipse.org/r/123651 was merged to [R4_8_maintenance].
Commit: http://git.eclipse.org/c/pde/eclipse.pde.build.git/commit/?id=fd90e2a62866d2582b38eaa9ef77cc38d36ebb10
Comment 7 Vikas Chandra CLA 2018-05-30 10:38:42 EDT
If the last commit doesn't fix this test case, I will take this up on Monday ( early RC4).
Comment 8 Dani Megert CLA 2018-05-31 05:12:25 EDT
Test passed in I20180530.
Comment 9 Eclipse Genie CLA 2018-06-05 02:04:27 EDT
New Gerrit change created: https://git.eclipse.org/r/123964
Comment 11 Vikas Chandra CLA 2018-06-05 02:06:16 EDT
test doesnt pass in 4.9 (http://download.eclipse.org/eclipse/downloads/drops4/I20180601-0915/testResults.php )

Cherry-picked to master stream.

Now this should work in 4.9 as well.