Bug 972612

Summary: Many jbpm-human-task-core tests fail on oracle11gR2 due to: ORA-00932: inconsistent datatypes: expected - got CLOB
Product: [Retired] JBoss BPMS Platform 6 Reporter: Jiri Svitak <jsvitak>
Component: jBPM CoreAssignee: Mauricio Salatino <msalatin>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Svitak <jsvitak>
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: kverlaen, mbaluch, rrajasek, rzhang
Target Milestone: ER3   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:09:34 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 2013-06-10 08:30:59 UTC
Created attachment 759106 [details]
jenkins log

Many jbpm-human-task-core tests fail on oracle11gR2 due to: ORA-00932: inconsistent datatypes: expected - got CLOB


This happened on 2013-06-08 and the same error occurred in 65 other tests. Whole stack trace attached.

Comment 1 Mauricio Salatino 2013-06-24 15:03:07 UTC
I don't know how to reproduce the issue. Can you make sure that you have the correct Oracle Driver for Java? and also if you can help us to identify which are the fields causing the issue, that will be much appreciated.

Comment 2 Jiri Svitak 2013-06-25 07:34:36 UTC
Yes, I am sure that I have correct Oracle driver, because other jBPM modules besides human-task one work with the same driver fine, see the whole db matrix:
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/Drools%20jBPM/view/All/job/jbpm-persistence-db-matrix/

Have you looked at the attached Jenkins log and analysed it?

I am sorry, I forgot to attach the link to Jenkins job I added only the logs, but for analysis that could be enough. So now you can analyse through the failed tests directly on Jenkins:
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/Drools%20jBPM/view/All/job/jbpm-persistence-db-matrix/DATABASE=oracle11gR2,MODULES=jbpm-human-task%2Fjbpm-human-task-core,jdk=java16_default,label=RHEL_any/

To reproduce the problem you can either manually configure your test suite to use oracle11gR2 or you can use the job 
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/Drools%20jBPM/view/All/job/droolsjbpm-persistence-db-single/
to reproduce the problem. You can also use its Groovy configuration file to setup the Jenkins environment on local computer. To run Groovy configuration scripts for Jenkins locally use help of this document: https://docspace.corp.redhat.com/docs/DOC-120911

Or ping me on IRC so we can discuss the result of your analysis.

Please, do not ignore the database bugs by setting the to MODIFIED without fixing them.

Comment 5 Jiri Svitak 2013-08-09 12:54:22 UTC
This issue has been fixed on 6.0.x product branch.

(QE does not have product build of binaries to check against. Cannot set verified, because it now requires target milestone of the fix.)

Comment 9 Jiri Svitak 2013-10-18 15:27:32 UTC
Verified.