Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0039128 | Openbravo ERP | A. Platform | public | 2018-08-13 15:05 | 2018-09-03 08:54 |
|
Reporter | caristu | |
Assigned To | caristu | |
Priority | high | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR18Q4 | |
Merge Request Status | |
Review Assigned To | AugustoMauch |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | Automated tests |
Regression date | 2017-07-24 |
Regression introduced in release | pi |
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/95dcfa93d706654e1fbddfc3966bec7280081ac1 [^] |
Triggers an Emergency Pack | No |
|
Summary | 0039128: ant compile.apply.module task gets stuck when updating from 2.50 to pi |
Description | When updating from 2.50 release to a revision containing the changes of issue 0037064, the ant compile.apply.module task is never finishing.
See the failing job in CI: https://ci.openbravo.com/job/up-2.50topi-oracle/256/console [^] |
Steps To Reproduce | 1) hg up -C 2.50MP24
2) ant install.source
3) Run the following SQL command: delete from C_BP_CUSTOMER_ACCT where C_BP_CUSTOMER_ACCT_id in ('1000020', '1000019', '1000024', '1000022', '1000021');
4) hg up -C tip
5) ant smartbuild -Dlocal=no
Note that the compilation gets stuck at the end of the ApllyModulesTask task:
[java] 10540 [main] INFO org.openbravo.erpCommon.modules.ApplyModule - Looking for translation modules |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | design defect | 0039056 | | closed | caristu | Hibernate pool is being used by some ant tasks | caused by | feature request | 0037064 | | closed | caristu | upgrade hibernate to 5.3.2 | related to | defect | 0040187 | | closed | caristu | export.database gets stuck using old pool | related to | feature request | 0040552 | | closed | caristu | upgrade hibernate to version 5.4 |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2018-08-13 15:05 | caristu | New Issue | |
2018-08-13 15:05 | caristu | Assigned To | => platform |
2018-08-13 15:05 | caristu | Modules | => Core |
2018-08-13 15:05 | caristu | Triggers an Emergency Pack | => No |
2018-08-13 15:05 | caristu | Relationship added | related to 0039056 |
2018-08-13 15:05 | caristu | Relationship added | caused by 0037064 |
2018-08-13 15:06 | caristu | Regression level | => Automated tests |
2018-08-13 15:06 | caristu | Regression date | => 2017-07-24 |
2018-08-13 15:06 | caristu | Regression introduced in release | => pi |
2018-08-13 15:06 | caristu | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/95dcfa93d706654e1fbddfc3966bec7280081ac1 [^] |
2018-08-13 15:07 | caristu | Description Updated | bug_revision_view_page.php?rev_id=17526#r17526 |
2018-08-13 15:07 | caristu | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=17528#r17528 |
2018-08-13 15:27 | caristu | File Added: issue39128.export | |
2018-08-20 11:06 | caristu | Assigned To | platform => caristu |
2018-08-20 11:06 | caristu | File Deleted: issue39128.export | |
2018-08-20 11:10 | hgbot | Checkin | |
2018-08-20 11:10 | hgbot | Note Added: 0106410 | |
2018-08-20 11:10 | hgbot | Status | new => resolved |
2018-08-20 11:10 | hgbot | Resolution | open => fixed |
2018-08-20 11:10 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/3ed849d672ae34b8bcec1d16aaea800ea68e5c61 [^] |
2018-08-20 11:14 | caristu | Review Assigned To | => AugustoMauch |
2018-08-23 04:10 | hudsonbot | Checkin | |
2018-08-23 04:10 | hudsonbot | Note Added: 0106451 | |
2018-08-23 10:06 | caristu | Note Added: 0106457 | |
2018-08-23 10:07 | caristu | Note Edited: 0106457 | bug_revision_view_page.php?bugnote_id=0106457#r17560 |
2018-09-03 08:54 | AugustoMauch | Note Added: 0106577 | |
2018-09-03 08:54 | AugustoMauch | Status | resolved => closed |
2018-09-03 08:54 | AugustoMauch | Fixed in Version | => 3.0PR18Q4 |
2019-02-12 19:20 | caristu | Relationship added | related to 0040187 |
2019-04-09 17:57 | caristu | Relationship added | related to 0040552 |
Notes |
|
(0106410)
|
hgbot
|
2018-08-20 11:10
|
|
Repository: erp/devel/pi
Changeset: 3ed849d672ae34b8bcec1d16aaea800ea68e5c61
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Mon Aug 20 09:17:57 2018 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/3ed849d672ae34b8bcec1d16aaea800ea68e5c61 [^]
fixes bug 39128: compile.apply.module task gets stuck on 2.50 to pi updating
The compile.apply.module ant task uses the Hibernate pool during the process of updating 2.50 to pi. Under this scenario, the task was never finishing because although all its actions were completed, the jvm was not able to terminate due to a non-daemon thread used by the Hibernate pool to validate its status.
To avoid this problem, we force the stop of the non-daemon thread by explicitly closing the Hibernate pool once the task has finished using DAL.
---
M src/org/openbravo/erpCommon/modules/ApplyModuleTask.java
---
|
|
|
|
|
|
(0106457)
|
caristu
|
2018-08-23 10:06
(edited on: 2018-08-23 10:07) |
|
|
|
|
Code reviewed and verified |
|