int-basic-oracle - Build # 1944 - Failure:
Check console output at https://ci.openbravo.com/job/int-basic-oracle/1944/ to
view the results.
Committers since last success:
Changes for Build #1944
Alvaro Ferraz <[email protected]> null
Related to issue 35764: Code review improvements
Create new getReportsLimit() and runReport() methods to avoid code duplication.
src/org/openbravo/common/actionhandler/AgingBalanceReportActionHandler.java
src/org/openbravo/erpCommon/ad_reports/AgingDao.java
Mark <[email protected]> null
Fixes issue 35764: The browser get stucked when printing the receivable
aging
schedule report showing details and having a lot of invoices pending.
After printing the receivable/payable aging schedule report on an environment
with a lot of invoices pending to be paid, the report took too long to be
printed.
Most of the time was consumed by chrome rendering the server response.
In order to reduce the memory usage, was limited the displayed data with the
value
of the "ReportsLimit" preference.
When record count exceeds this limit, is shown a warning informing data has been
limited. As problem happens when the report runs in HTML format, data only will
be
limited in this case and not when report runs in PDF or XLS formats.
As Aging Schedule reports are defined as Process Definition, and results of run
as
HTML is shown in a new window containing the JR with results of the
selected filters, was added to the affected JRXML files a new hidden Text
Field that will be shown only when the data is limited. This way, user will be
notified after executing the report in both windows, selected filters and
report results.
To achieve this functionality the following changes were done:
-Adapted AgingDao_data and AgingDao to make possible to limit queries to PG and
Oracle databases.
-Adapted AgingBalanceReportActionHandler to limit data if report is created in
HTML format. If the data is limited are stored as a session variables to make
it available to AgingDao methods. Then a warning message will be shown in the
affected reports if the limit is reached.
-Added a new "warning" parameter to AgingScheduleDetailHTML and
AgingScheduleHTML
reports. It is linked to a hidden text that only will be displayed if the
maximum
of records count defined in the preference to reports is reached.
src/org/openbravo/common/actionhandler/AgingBalanceReportActionHandler.java
src/org/openbravo/erpCommon/ad_reports/AgingDao.java
src/org/openbravo/erpCommon/ad_reports/AgingDao_data.xsql
src/org/openbravo/erpCommon/ad_reports/AgingScheduleDetailHTML.jrxml
src/org/openbravo/erpCommon/ad_reports/AgingScheduleHTML.jrxml
RM packaging bot <[email protected]> null
CI: merge back from main
RM packaging bot <[email protected]> null
CI: update AD_MODULE to version 32293
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.apachejdbcconnectionpool/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.apachejdbcconnectionpool/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.base.weld/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.base.weld/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.client.htmlwidget/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.client.htmlwidget/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.client.widgets/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.client.widgets/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.financial.paymentreport/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.financial.paymentreport/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.reports.ordersawaitingdelivery/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.reports.ordersawaitingdelivery/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.service.integration.openid/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.service.integration.openid/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.service.json/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.service.json/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.userinterface.skin.250to300Comp/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.userinterface.skin.250to300Comp/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.userinterface.smartclient/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.userinterface.smartclient/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.utility.cleanup.log/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.utility.cleanup.log/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.v3.datasets/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.v3.datasets/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.v3.framework/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.v3.framework/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.v3/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.v3/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
src-db/database/sourcedata/AD_MODULE.xml
Last 20 lines of the console output:
[...truncated 1819 lines...]
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:532)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1165)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1016)
[junit] 2017-06-13 00:13:47,306 [main] INFO
com.openbravo.test.integration.erp.testscripts.OpenbravoERPTest - Save the
screenshot.
[junit] 2017-06-13 00:13:47,336 [main] ERROR
com.openbravo.test.integration.erp.testscripts.OpenbravoERPTest - ** The test
has finished with 'Failed' status. Closing Selenium Instance **
[junit] 2017-06-13 00:13:47,481 [main] INFO
com.openbravo.test.integration.erp.testscripts.OpenbravoERPTest - ** End of
test execution @Test: paymentsShouldBeGeneratedFromPaymentProposal **
[junit] Tests run: 8, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
3,766.822 sec
BUILD FAILED
/srv/ci/workspace/int-basic-oracle/SANDBOX/automation/pi/build.xml:338: The
following error occurred while executing this line:
/srv/ci/workspace/int-basic-oracle/SANDBOX/automation/pi/build.xml:77: Test
com.openbravo.test.integration.erp.testsuites.smoke.SmokeModulesSuite failed
Total time: 65 minutes 11 seconds
Build step 'Execute managed script' marked build as failure
Recording test results
Archiving artifacts
Checking \] ERROR|\] WARN
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openbravo-builds mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-builds