Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0031366 | Openbravo ERP | A. Platform | public | 2015-11-05 09:47 | 2015-11-23 21:17 | |||||||
Reporter | Orekaria | |||||||||||
Assigned To | alostale | |||||||||||
Priority | immediate | Severity | major | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | 3.0PR16Q1 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | Orekaria | |||||||||||
OBNetwork customer | No | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0031366: 2 tests failing in try-ret-checks-oracle | |||||||||||
Description | In the try-ret-checks-oracle job, these 2 tests are failing because the Oracle database is being accessed by different users and the sql query does not take it into account org.openbravo.test.db.model.functions.SqlCallableStatement.transactionalCallableStatemetsShouldBeClosed org.openbravo.test.db.model.functions.SqlCallableStatement.noTransactionalCallableStatemetsShouldBeClosedCallableStatemetsShouldBeClosed | |||||||||||
Steps To Reproduce | Navigate to https://ci.openbravo.com/view/try-retail/job/try-ret-checks-oracle/ [^] Verify that some of the builds have these failing tests due to unexpected number of cursors: - org.openbravo.test.db.model.functions.SqlCallableStatement.transactionalCallableStatemetsShouldBeClosed - org.openbravo.test.db.model.functions.SqlCallableStatement.noTransactionalCallableStatemetsShouldBeClosedCallableStatemetsShouldBeClosed Send some builds with the attached cursors.diff until the tests fail Verify that there are more users than expected: # of open cursors for the statement. DB Users TRY_RET_MODULES_ORACLE TRY_RET_FULL_ORACLE | |||||||||||
Proposed Solution | Change the query to filter by user. The user can probably be picked up from the JOB_NAME environmental variable System.getenv("JOB_NAME") | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=8688&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2015-11-05 09:47 | Orekaria | New Issue | ||||||||||
2015-11-05 09:47 | Orekaria | Assigned To | => platform | |||||||||
2015-11-05 09:47 | Orekaria | File Added: cursors.diff | ||||||||||
2015-11-05 09:47 | Orekaria | OBNetwork customer | => No | |||||||||
2015-11-05 09:47 | Orekaria | Modules | => Core | |||||||||
2015-11-05 09:47 | Orekaria | Triggers an Emergency Pack | => No | |||||||||
2015-11-05 09:54 | Orekaria | Priority | normal => urgent | |||||||||
2015-11-05 10:07 | alostale | Priority | urgent => immediate | |||||||||
2015-11-05 10:08 | alostale | Relationship added | related to 0030891 | |||||||||
2015-11-05 10:08 | alostale | Status | new => scheduled | |||||||||
2015-11-05 10:08 | alostale | Assigned To | platform => alostale | |||||||||
2015-11-05 10:08 | alostale | Review Assigned To | => Orekaria | |||||||||
2015-11-05 10:34 | hgbot | Checkin | ||||||||||
2015-11-05 10:34 | hgbot | Note Added: 0081496 | ||||||||||
2015-11-05 10:34 | hgbot | Status | scheduled => resolved | |||||||||
2015-11-05 10:34 | hgbot | Resolution | open => fixed | |||||||||
2015-11-05 10:34 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/cd794e1d482e959a541531081149c925a55e1575 [^] | |||||||||
2015-11-05 22:29 | Orekaria | Status | resolved => closed | |||||||||
2015-11-05 22:29 | Orekaria | Fixed in Version | => 3.0PR16Q1 | |||||||||
2015-11-23 21:17 | hudsonbot | Checkin | ||||||||||
2015-11-23 21:17 | hudsonbot | Note Added: 0082175 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|