int-accounting-pgsql - Build # 1647 - Failure:

Check console output at https://ci.openbravo.com/job/int-accounting-pgsql/1647/ 
to view the results.


Committers since last success:

Changes for Build #1647

    Augusto Mauch <[email protected]> null
    Fixes issue 35832: Multithread support in import/export sample data

Now the processes that import/export sample data support multithread. To do so, 
the max.threads parameter must be passed to the ant task. If the parameter is 
not passed it will use half the available CPUs. For instance, to use 4 threads 
to import the sample data in an install source, this command should be used:

  ant install.source -Dmax.threads=4
        src-db/database/build.xml
        src-db/database/lib/dbsourcemanager.jar

    Alvaro Ferraz <[email protected]> null
    Related to issue 35959: Code review improvements
        src/org/openbravo/costing/CostingMigrationProcess.java
        src/org/openbravo/costing/CostingUtils_data.xsql

    Mark <[email protected]> null
    Fixes issue 35959: Performance problem in Costing Migration Process

Due the big quantity of records in m_transaction table, the insertTrx() method 
of
CostingMigrationProcess was consuming a lot of time to process and it was making
an important use of the server's resources.

To avoid that, problem was splitted in more simple tasks, instead of insert all
records in an unique query transaction, process will be iterative, limiting in
each iteration the record's count to insert. This way the use of the resources 
is
balanced and more efficient.

Also was improved the updateLegacyCosts() method, increasing the value of i to
avoid flush and session clear in every iteration when legacy costs are being
processed.
        src/org/openbravo/costing/CostingMigrationProcess.java
        src/org/openbravo/costing/CostingUtils_data.xsql

    Augusto Mauch <[email protected]> null
    Fixes issue 35775: Triggers excluded from model are also disabled during 
build

Now all the user triggers, even the ones excluded from the model, are disabled 
during the build, and reenabled right after.
        src-db/database/lib/dbsourcemanager.jar




Last 20 lines of the console output:

[...truncated 1149 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-05-25 20:07:06,557 [main] INFO  
com.openbravo.test.integration.erp.testscripts.OpenbravoERPTest - Save the 
screenshot.
    [junit] 2017-05-25 20:07:06,599 [main] ERROR 
com.openbravo.test.integration.erp.testscripts.OpenbravoERPTest - ** The test 
has finished with 'Failed' status. Closing Selenium Instance **
    [junit] 2017-05-25 20:07:06,903 [main] INFO  
com.openbravo.test.integration.erp.testscripts.OpenbravoERPTest - **  End of 
test execution @Test: resetAllAccountingEntries  **
    [junit] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 
124.48 sec

BUILD FAILED
/srv/ci/workspace/int-accounting-pgsql/SANDBOX/automation/pi/build.xml:230: The 
following error occurred while executing this line:
/srv/ci/workspace/int-accounting-pgsql/SANDBOX/automation/pi/build.xml:77: Test 
com.openbravo.test.integration.erp.modules.functionalteam.accounting.testsuites.ResetAllAccountingEntries
 failed

Total time: 4 minutes 47 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

Reply via email to