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

Bug 1187237

Summary: org.jbpm.kie.services.test.RuntimeDataServiceImplTest.testGetProcessesSortByProcessVersion fails on OracleJDK8 due to: expected:<[org.jboss.qa.bpms.Human]Task> but was:<[User]Task>
Product: [Retired] JBoss BPMS Platform 6 Reporter: Jiri Svitak <jsvitak>
Component: jBPM CoreAssignee: Alessandro Lazarotti <alazarot>
Status: CLOSED EOL QA Contact: Marek Baluch <mbaluch>
Severity: low Docs Contact:
Priority: medium    
Version: 6.1.0CC: kverlaen, mbaluch
Target Milestone: ER5   
Target Release: 6.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 20:07:13 UTC Type: Bug
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
jenkins.log none

Description Jiri Svitak 2015-01-29 15:33:18 UTC
Created attachment 985660 [details]
jenkins.log

Description of problem:
org.jbpm.kie.services.test.RuntimeDataServiceImplTest.testGetProcessesSortByProcessVersion fails on OracleJDK8 due to: expected:<[org.jboss.qa.bpms.Human]Task> but was:<[User]Task>
The same condition fails also for org.jbpm.services.cdi.test.RuntimeDataServiceCDIImplTest.testGetProcessesSortByProcessVersion
on JDK8.

Version-Release number of selected component (if applicable):
BPM Suite 6.1.0.ER4


Steps to Reproduce:
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/BxMS/view/BxMS-6.1/view/jBPM/view/all/job/bpms-6.1-jbpm-community-single/build?delay=0sec
change job configuration to use jdk1.8, and run the build with:
module jbpm-services/jbpm-kie-services
test org.jbpm.kie.services.test.RuntimeDataServiceImplTest#testGetProcessesSortByProcessVersion

Actual results:
org.jbpm.kie.services.test.RuntimeDataServiceImplTest.testGetProcessesSortByProcessVersion fails on OracleJDK8 due to: expected:<[org.jboss.qa.bpms.Human]Task> but was:<[User]Task>

Expected results:
The same test works the same on all versions of JDK.

Additional info:
Oracle JDK8, other versions JDK6 and JDK7 are ok

Comment 1 Maciej Swiderski 2015-02-03 12:06:06 UTC
ensure that test is working on unique version numbers to reliably assert results

jbpm
master:
https://github.com/droolsjbpm/jbpm/commit/553fa50592780f59093178eb191bec5a0cee7e9f

6.2.x:
https://github.com/droolsjbpm/jbpm/commit/a74ab0e59ead46cc28d5f94b172c194833269ec5

Comment 2 Jiri Svitak 2015-02-19 12:17:19 UTC
Verified in BPM Suite 6.1.0.ER5.

Covered by regular execution of community unit tests against product builds.