Advertisement
Guest User

Untitled

a guest
Nov 7th, 2018
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 10.49 KB | None | 0 0
  1. 2018-11-07 13:49:45.785 [DEBUG] org.hibernate.impl.SessionFactoryObjectFactory:61 - initializing class SessionFactoryObjectFactory
  2. 2018-11-07 13:49:45.786 [DEBUG] org.hibernate.impl.SessionFactoryObjectFactory:99 - registered: 05af21f8-2550-4b80-9fc2-078d775f4ba8 (unnamed)
  3. 2018-11-07 13:49:45.786 [INFO] org.hibernate.impl.SessionFactoryObjectFactory:105 - Not binding factory to JNDI, no JNDI name configured
  4. 2018-11-07 13:49:45.787 [DEBUG] org.hibernate.impl.SessionFactoryImpl:367 - instantiated session factory
  5. 2018-11-07 13:49:45.787 [DEBUG] org.hibernate.impl.SessionFactoryImpl:537 - Checking 0 named HQL queries
  6. 2018-11-07 13:49:45.788 [DEBUG] org.hibernate.impl.SessionFactoryImpl:557 - Checking 0 named SQL queries
  7. 2018-11-07 13:49:48.159 [WARN] org.jleaf.common.bo.realm.RealmActiveDirectory:48 - Activate Realm LDAP without any configuration
  8. 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]]]
  9. 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]
  10. 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]
  11. 2018-11-07 13:50:01.175 [DEBUG] org.hibernate.impl.SessionImpl:265 - opened session at timestamp: 15415734011
  12. 2018-11-07 13:50:01.181 [DEBUG] org.hibernate.transaction.JDBCTransaction:78 - begin
  13. 2018-11-07 13:50:01.182 [DEBUG] org.hibernate.jdbc.ConnectionManager:444 - opening JDBC connection
  14. 2018-11-07 13:50:01.182 [DEBUG] org.hibernate.transaction.JDBCTransaction:83 - current autocommit status: true
  15. 2018-11-07 13:50:01.182 [DEBUG] org.hibernate.transaction.JDBCTransaction:86 - disabling autocommit
  16. 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]]]
  17. 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]
  18. 2018-11-07 13:50:01.188 [DEBUG] org.springframework.jdbc.core.JdbcTemplate:504 - Executing SQL update [DELETE FROM m_ds_area]
  19. 2018-11-07 13:50:01.200 [DEBUG] org.springframework.jdbc.core.JdbcTemplate:510 - SQL update affected 11 rows
  20. 2018-11-07 13:50:01.205 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:71 - Deleted 11 rows from table m_ds_area
  21. 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]
  22. 2018-11-07 13:50:01.207 [DEBUG] org.springframework.jdbc.core.JdbcTemplate:504 - Executing SQL update [--TODO : implement this file]
  23. 2018-11-07 13:50:01.209 [DEBUG] org.springframework.jdbc.core.JdbcTemplate:510 - SQL update affected 0 rows
  24. 2018-11-07 13:50:01.210 [DEBUG] org.springframework.test.jdbc.SimpleJdbcTestUtils:151 - 0 rows affected by SQL: --TODO : implement this file
  25. 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.
  26. 2018-11-07 13:50:01.221 [DEBUG] org.hibernate.loader.Loader:2022 - loading entity: [org.jleaf.erp.master.entity.DsArea#2]
  27. 2018-11-07 13:50:01.223 [DEBUG] org.hibernate.jdbc.AbstractBatcher:410 - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
  28. 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=?
  29. 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=?
  30. 2018-11-07 13:50:01.236 [DEBUG] org.hibernate.jdbc.AbstractBatcher:426 - about to open ResultSet (open ResultSets: 0, globally: 0)
  31. 2018-11-07 13:50:01.238 [DEBUG] org.hibernate.jdbc.AbstractBatcher:433 - about to close ResultSet (open ResultSets: 1, globally: 1)
  32. 2018-11-07 13:50:01.239 [DEBUG] org.hibernate.jdbc.AbstractBatcher:418 - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
  33. 2018-11-07 13:50:01.240 [DEBUG] org.hibernate.engine.StatefulPersistenceContext:893 - initializing non-lazy collections
  34. 2018-11-07 13:50:01.240 [DEBUG] org.hibernate.loader.Loader:2050 - done entity load
  35. 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]]]
  36. 2018-11-07 13:50:01.242 [DEBUG] org.hibernate.transaction.JDBCTransaction:182 - rollback
  37. 2018-11-07 13:50:01.245 [DEBUG] org.hibernate.transaction.JDBCTransaction:223 - re-enabling autocommit
  38. 2018-11-07 13:50:01.245 [DEBUG] org.hibernate.transaction.JDBCTransaction:193 - rolled back JDBC Connection
  39. 2018-11-07 13:50:01.246 [DEBUG] org.hibernate.jdbc.ConnectionManager:427 - aggressively releasing JDBC connection
  40. 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)]
  41. 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]]]
  42. 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].
  43. 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].
  44. Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 20.889 sec <<< FAILURE! - in org.jleaf.erp.master.bo.dsarea.test.TestRemoveDsArea
  45. testSuccess(org.jleaf.erp.master.bo.dsarea.test.TestRemoveDsArea)  Time elapsed: 20.667 sec  <<< ERROR!
  46. org.jleaf.core.CoreException: null
  47.     at org.jleaf.erp.master.bo.dsarea.FindDsAreaById.execute(FindDsAreaById.java:59)
  48.     at org.jleaf.erp.master.bo.dsarea.test.TestRemoveDsArea.testSuccess(TestRemoveDsArea.java:98)
  49.  
  50. 2018-11-07 13:50:01.357 [INFO] org.hibernate.impl.SessionFactoryImpl:925 - closing
  51. 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
  52.  
  53. Results :
  54.  
  55. Tests in error:
  56.   TestRemoveDsArea.testSuccess:98 » Core
  57.  
  58. Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
  59.  
  60. [INFO] ------------------------------------------------------------------------
  61. [INFO] BUILD FAILURE
  62. [INFO] ------------------------------------------------------------------------
  63. [INFO] Total time: 22.658s
  64. [INFO] Finished at: Wed Nov 07 13:50:01 WIB 2018
  65. [INFO] Final Memory: 14M/340M
  66. [INFO] ------------------------------------------------------------------------
  67. [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.
  68. [ERROR]
  69. [ERROR] Please refer to /home/sts/Workspace/master-bo-ds-area/target/surefire-reports for the individual test results.
  70. [ERROR] -> [Help 1]
  71. [ERROR]
  72. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  73. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  74. [ERROR]
  75. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  76. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement