Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 899479 (JBPAPP6-181)

Summary: Mockito signature problem
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Paul Gier <pgier>
Component: BuildAssignee: David Walluck <dwalluck>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: atangrin, pgier
Target Milestone: ---   
Target Release: EAP 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBPAPP6-181
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-05 00:39:01 UTC Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
mockito-errors.txt none

Description Paul Gier 2011-08-18 22:04:14 UTC
project_key: JBPAPP6

When running the AS 7 Testsuite, there were several jar signature errors during mockito based tests.  A workaround for this is to unsign the mockito jar.

This could be related to the as clustering package being split across 3 jars (api, common, impl) (AS7-1253), or this might be a problem with Mockito itself when the jar is signed: https://bugs.eclipse.org/bugs/show_bug.cgi?id=349164

We probably don't need to sign jars like mockito that are only used for testing and not delivered to customers.

Comment 1 Paul Gier 2011-08-18 22:07:03 UTC
Attachment: Added: mockito-errors.txt


Comment 2 Paul Gier 2011-08-19 18:52:00 UTC
Link: Added: This issue is related to JBPAPP-7054


Comment 3 Paul Gier 2011-08-22 15:02:55 UTC
The temporary workaround for this is to unsign the mockito-all jar in the local maven repository and then re-run the tests.

Comment 4 David Walluck 2011-08-24 21:48:00 UTC
Fixed in build mockito-1.8.5-0.6.ep6.el6:

mockito-core jar is signed in both RPM and MEAD repo
mockito-all jar in unsigned in both RPM  and MEAD repo

RPM location: file:%{_javadir}-signed/
RPM repolib location: file:%{_javadir}-signed/respository.jboss.com/maven2-brew/org/mockito/
MEAD location: http://download.devel.redhat.com/brewroot/repos/jb-eap-6-rhel-6-build/latest/maven/org/mockito/


Comment 5 Anne-Louise Tangring 2012-11-04 14:33:04 UTC
Docs QE Status: Removed: NEW 


Comment 6 Anne-Louise Tangring 2012-11-05 00:38:33 UTC
Fixing Affects and Fix in Version