Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2018-11-07 13:49:45.785 [DEBUG] org.hibernate.impl.SessionFactoryObjectFactory:61 - initializing class SessionFactoryObjectFactory
- 2018-11-07 13:49:45.786 [DEBUG] org.hibernate.impl.SessionFactoryObjectFactory:99 - registered: 05af21f8-2550-4b80-9fc2-078d775f4ba8 (unnamed)
- 2018-11-07 13:49:45.786 [INFO] org.hibernate.impl.SessionFactoryObjectFactory:105 - Not binding factory to JNDI, no JNDI name configured
- 2018-11-07 13:49:45.787 [DEBUG] org.hibernate.impl.SessionFactoryImpl:367 - instantiated session factory
- 2018-11-07 13:49:45.787 [DEBUG] org.hibernate.impl.SessionFactoryImpl:537 - Checking 0 named HQL queries
- 2018-11-07 13:49:45.788 [DEBUG] org.hibernate.impl.SessionFactoryImpl:557 - Checking 0 named SQL queries
- 2018-11-07 13:49:48.159 [WARN] org.jleaf.common.bo.realm.RealmActiveDirectory:48 - Activate Realm LDAP without any configuration
- 2018-11-07 13:50:01.131 [DEBUG] org.springframework.test.context.transaction.TransactionalTestExecutionListener:146 - Explicit transaction definition [PROPAGATION_REQUIRED,ISOLATION_DEFAULT; ''] found for test context [[TestContext@6eebc39e testClass = TestRemoveDsArea, locations = array<String>['classpath:applicationContext.xml'], testInstance = org.jleaf.erp.master.bo.dsarea.test.TestRemoveDsArea@464bee09, testMethod = testSuccess@TestRemoveDsArea, testException = [null]]]
- 2018-11-07 13:50:01.132 [DEBUG] org.springframework.test.context.transaction.TransactionalTestExecutionListener:466 - Retrieved @TransactionConfiguration [@org.springframework.test.context.transaction.TransactionConfiguration(defaultRollback=true, transactionManager=transactionManager)] for test class [class org.jleaf.erp.master.bo.dsarea.test.TestRemoveDsArea]
- 2018-11-07 13:50:01.133 [DEBUG] org.springframework.test.context.transaction.TransactionalTestExecutionListener:483 - Retrieved TransactionConfigurationAttributes [[TransactionConfigurationAttributes@ab94a32 transactionManagerName = 'transactionManager', defaultRollback = true]] for class [class org.jleaf.erp.master.bo.dsarea.test.TestRemoveDsArea]
- 2018-11-07 13:50:01.175 [DEBUG] org.hibernate.impl.SessionImpl:265 - opened session at timestamp: 15415734011
- 2018-11-07 13:50:01.181 [DEBUG] org.hibernate.transaction.JDBCTransaction:78 - begin
- 2018-11-07 13:50:01.182 [DEBUG] org.hibernate.jdbc.ConnectionManager:444 - opening JDBC connection
- 2018-11-07 13:50:01.182 [DEBUG] org.hibernate.transaction.JDBCTransaction:83 - current autocommit status: true
- 2018-11-07 13:50:01.182 [DEBUG] org.hibernate.transaction.JDBCTransaction:86 - disabling autocommit
- 2018-11-07 13:50:01.184 [DEBUG] org.springframework.test.context.transaction.TransactionalTestExecutionListener:354 - No method-level @Rollback override: using default rollback [true] for test context [[TestContext@6eebc39e testClass = TestRemoveDsArea, locations = array<String>['classpath:applicationContext.xml'], testInstance = org.jleaf.erp.master.bo.dsarea.test.TestRemoveDsArea@464bee09, testMethod = testSuccess@TestRemoveDsArea, testException = [null]]]
- 2018-11-07 13:50:01.184 [INFO] org.springframework.test.context.transaction.TransactionalTestExecutionListener:272 - Began transaction (1): transaction manager [org.springframework.orm.jpa.JpaTransactionManager@20a116a0]; rollback [true]
- 2018-11-07 13:50:01.188 [DEBUG] org.springframework.jdbc.core.JdbcTemplate:504 - Executing SQL update [DELETE FROM m_ds_area]
- 2018-11-07 13:50:01.200 [DEBUG] org.springframework.jdbc.core.JdbcTemplate:510 - SQL update affected 11 rows
- 2018-11-07 13:50:01.205 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:71 - Deleted 11 rows from table m_ds_area
- 2018-11-07 13:50:01.205 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:133 - Executing SQL script from class path resource [org/jleaf/erp/master/bo/dsarea/test/TestRemoveDsArea.sql]
- 2018-11-07 13:50:01.207 [DEBUG] org.springframework.jdbc.core.JdbcTemplate:504 - Executing SQL update [--TODO : implement this file]
- 2018-11-07 13:50:01.209 [DEBUG] org.springframework.jdbc.core.JdbcTemplate:510 - SQL update affected 0 rows
- 2018-11-07 13:50:01.210 [DEBUG] org.springframework.test.jdbc.SimpleJdbcTestUtils:151 - 0 rows affected by SQL: --TODO : implement this file
- 2018-11-07 13:50:01.211 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:167 - Done executing SQL scriptBuilder from class path resource [org/jleaf/erp/master/bo/dsarea/test/TestRemoveDsArea.sql] in 6 ms.
- 2018-11-07 13:50:01.221 [DEBUG] org.hibernate.loader.Loader:2022 - loading entity: [org.jleaf.erp.master.entity.DsArea#2]
- 2018-11-07 13:50:01.223 [DEBUG] org.hibernate.jdbc.AbstractBatcher:410 - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
- 2018-11-07 13:50:01.225 [DEBUG] org.hibernate.SQL:111 - select dsarea0_.ds_area_id as ds1_50_0_, dsarea0_.create_datetime as create2_50_0_, dsarea0_.create_user_id as create3_50_0_, dsarea0_.update_datetime as update4_50_0_, dsarea0_.update_user_id as update5_50_0_, dsarea0_.version as version50_0_, dsarea0_.active as active50_0_, dsarea0_.active_datetime as active8_50_0_, dsarea0_.non_active_datetime as non9_50_0_, dsarea0_.area_name as area10_50_0_, dsarea0_.tenant_id as tenant11_50_0_ from m_ds_area dsarea0_ where dsarea0_.ds_area_id=?
- Hibernate: select dsarea0_.ds_area_id as ds1_50_0_, dsarea0_.create_datetime as create2_50_0_, dsarea0_.create_user_id as create3_50_0_, dsarea0_.update_datetime as update4_50_0_, dsarea0_.update_user_id as update5_50_0_, dsarea0_.version as version50_0_, dsarea0_.active as active50_0_, dsarea0_.active_datetime as active8_50_0_, dsarea0_.non_active_datetime as non9_50_0_, dsarea0_.area_name as area10_50_0_, dsarea0_.tenant_id as tenant11_50_0_ from m_ds_area dsarea0_ where dsarea0_.ds_area_id=?
- 2018-11-07 13:50:01.236 [DEBUG] org.hibernate.jdbc.AbstractBatcher:426 - about to open ResultSet (open ResultSets: 0, globally: 0)
- 2018-11-07 13:50:01.238 [DEBUG] org.hibernate.jdbc.AbstractBatcher:433 - about to close ResultSet (open ResultSets: 1, globally: 1)
- 2018-11-07 13:50:01.239 [DEBUG] org.hibernate.jdbc.AbstractBatcher:418 - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
- 2018-11-07 13:50:01.240 [DEBUG] org.hibernate.engine.StatefulPersistenceContext:893 - initializing non-lazy collections
- 2018-11-07 13:50:01.240 [DEBUG] org.hibernate.loader.Loader:2050 - done entity load
- 2018-11-07 13:50:01.241 [DEBUG] org.springframework.test.context.transaction.TransactionalTestExecutionListener:354 - No method-level @Rollback override: using default rollback [true] for test context [[TestContext@6eebc39e testClass = TestRemoveDsArea, locations = array<String>['classpath:applicationContext.xml'], testInstance = org.jleaf.erp.master.bo.dsarea.test.TestRemoveDsArea@464bee09, testMethod = testSuccess@TestRemoveDsArea, testException = Error key : ds.area.id.not.found with params [2]]]
- 2018-11-07 13:50:01.242 [DEBUG] org.hibernate.transaction.JDBCTransaction:182 - rollback
- 2018-11-07 13:50:01.245 [DEBUG] org.hibernate.transaction.JDBCTransaction:223 - re-enabling autocommit
- 2018-11-07 13:50:01.245 [DEBUG] org.hibernate.transaction.JDBCTransaction:193 - rolled back JDBC Connection
- 2018-11-07 13:50:01.246 [DEBUG] org.hibernate.jdbc.ConnectionManager:427 - aggressively releasing JDBC connection
- 2018-11-07 13:50:01.246 [DEBUG] org.hibernate.jdbc.ConnectionManager:464 - releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)]
- 2018-11-07 13:50:01.249 [INFO] org.springframework.test.context.transaction.TransactionalTestExecutionListener:292 - Rolled back transaction after test execution for test context [[TestContext@6eebc39e testClass = TestRemoveDsArea, locations = array<String>['classpath:applicationContext.xml'], testInstance = org.jleaf.erp.master.bo.dsarea.test.TestRemoveDsArea@464bee09, testMethod = testSuccess@TestRemoveDsArea, testException = Error key : ds.area.id.not.found with params [2]]]
- 2018-11-07 13:50:01.250 [DEBUG] org.springframework.test.context.support.DirtiesContextTestExecutionListener:86 - After test method: context [[TestContext@6eebc39e testClass = TestRemoveDsArea, locations = array<String>['classpath:applicationContext.xml'], testInstance = org.jleaf.erp.master.bo.dsarea.test.TestRemoveDsArea@464bee09, testMethod = testSuccess@TestRemoveDsArea, testException = Error key : ds.area.id.not.found with params [2]]], class dirties context [false], class mode [null], method dirties context [false].
- 2018-11-07 13:50:01.259 [DEBUG] org.springframework.test.context.support.DirtiesContextTestExecutionListener:113 - After test class: context [[TestContext@6eebc39e testClass = TestRemoveDsArea, locations = array<String>['classpath:applicationContext.xml'], testInstance = [null], testMethod = [null], testException = [null]]], dirtiesContext [false].
- Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 20.889 sec <<< FAILURE! - in org.jleaf.erp.master.bo.dsarea.test.TestRemoveDsArea
- testSuccess(org.jleaf.erp.master.bo.dsarea.test.TestRemoveDsArea) Time elapsed: 20.667 sec <<< ERROR!
- org.jleaf.core.CoreException: null
- at org.jleaf.erp.master.bo.dsarea.FindDsAreaById.execute(FindDsAreaById.java:59)
- at org.jleaf.erp.master.bo.dsarea.test.TestRemoveDsArea.testSuccess(TestRemoveDsArea.java:98)
- 2018-11-07 13:50:01.357 [INFO] org.hibernate.impl.SessionFactoryImpl:925 - closing
- 2018-11-07 13:50:01.357 [INFO] org.hibernate.connection.DriverManagerConnectionProvider:170 - cleaning up connection pool: jdbc:postgresql://192.168.0.228:5432/erp_2016_dev
- Results :
- Tests in error:
- TestRemoveDsArea.testSuccess:98 » Core
- Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 22.658s
- [INFO] Finished at: Wed Nov 07 13:50:01 WIB 2018
- [INFO] Final Memory: 14M/340M
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project master-bo-paloma: There are test failures.
- [ERROR]
- [ERROR] Please refer to /home/sts/Workspace/master-bo-ds-area/target/surefire-reports for the individual test results.
- [ERROR] -> [Help 1]
- [ERROR]
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
- [ERROR] Re-run Maven using the -X switch to enable full debug logging.
- [ERROR]
- [ERROR] For more information about the errors and possible solutions, please read the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement