Bug 363720 - Test failures due to expired keystore
Summary: Test failures due to expired keystore
Status: VERIFIED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: Build (show other bugs)
Version: 3.8   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 3.8 M4   Edit
Assignee: DJ Houghton CLA
QA Contact:
URL:
Whiteboard:
Keywords: readme
Depends on:
Blocks: 363994
  Show dependency tree
 
Reported: 2011-11-14 11:36 EST by DJ Houghton CLA
Modified: 2011-12-06 17:34 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DJ Houghton CLA 2011-11-14 11:36:30 EST
There are test failures in the latest builds because the keystore in the tests has expired. I'll generate a new one.
Comment 2 Curtis Windatt CLA 2011-11-16 09:51:32 EST
Are the failures in the I build related?

http://download.eclipse.org/eclipse/downloads/drops/I20111115-0800/testresults/html/org.eclipse.pde.build.tests_macosx.cocoa.x86_5.0.html

Missing entry in archive: [META-INF/PDE_BUIL.DSA]

junit.framework.AssertionFailedError: Missing entry in archive: [META-INF/PDE_BUIL.DSA]
at org.eclipse.pde.build.tests.PDETestCase.assertZipContents(PDETestCase.java:226)
at org.eclipse.pde.build.tests.PDETestCase.assertZipContents(PDETestCase.java:232)
at org.eclipse.pde.build.tests.PDETestCase.assertZipContents(PDETestCase.java:200)
at org.eclipse.pde.build.internal.tests.p2.PublishingTests.testBug265726(PublishingTests.java:928)
at org.eclipse.pde.build.tests.PDETestCase.runTest(PDETestCase.java:61)
...
Comment 3 DJ Houghton CLA 2011-11-16 10:56:17 EST
Not sure, I had problems running these tests locally yesterday and was hoping their failures in the nightly was just a blip. I'll try and talk to Andrew today to see if he has background info.
Comment 4 DJ Houghton CLA 2011-11-16 13:38:06 EST
With Andrew's help we figured out it was because the keystore was generated with the wrong algorithm. I've regenerated it as well as included a readme (with instructions) in the tests so we know better for next time.

Also another tidbit of info from Andrew is if you are trying to run some of the tests in 4.x and they are failing because of dependencies, you may have to set:
		properties.put("filteredDependencyCheck", "false");
This is because of the difference in feature structure between 3.x and 4.x. We may have to do this for all our tests once we switch over to testing against 4.x in the automated builds.
Comment 5 Curtis Windatt CLA 2011-12-06 17:34:27 EST
The tests have been passing fine during milestone week.  Verified.