croc-code / sql-boot

Advanced REST-wrapper for your SQL-queries (actually not only SQL)
BSD 3-Clause "New" or "Revised" License
59 stars 4 forks source link

PSTGRSCROC-135 #421

Closed mgramin closed 4 years ago

mgramin commented 4 years ago

@rultor merge

rultor commented 4 years ago

@rultor merge

@mgramin OK, I'll try to merge now. You can check the progress of the merge here

rultor commented 4 years ago

@rultor merge

@mgramin Oops, I failed. You can see the full log here (spent 5min)

19:33:59.402 [HikariPool-2 connection closer] DEBUG com.zaxxer.hikari.pool.PoolBase - HikariPool-2 - Closing connection conn19: url=jdbc:h2:mem:testdb user=SA: (connection evicted)
19:33:59.402 [SpringContextShutdownHook] DEBUG com.zaxxer.hikari.pool.HikariPool - HikariPool-2 - After shutdown stats (total=0, active=0, idle=0, waiting=0)
19:33:59.402 [SpringContextShutdownHook] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-2 - Shutdown completed.
[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Errors: 
[ERROR]   FsResourceTypeTest.metaData ? IllegalState Failed to load ApplicationContext
[ERROR]   FsResourceTypeTest.metaData ? IllegalState Failed to load ApplicationContext
[ERROR]   FsResourceTypeTest.metaData ? IllegalState Failed to load ApplicationContext
[ERROR]   FsResourceTypeTest.metaData ? IllegalState Failed to load ApplicationContext
[ERROR]   FsResourceTypeTest.metaData ? IllegalState Failed to load ApplicationContext
[ERROR]   FsResourceTypeTest.metaData ? IllegalState Failed to load ApplicationContext
[ERROR]   FsResourceTypeTest.read ? IllegalState Failed to load ApplicationContext
[ERROR]   FsResourceTypeTest.read ? IllegalState Failed to load ApplicationContext
[ERROR]   FsResourceTypeTest.read ? IllegalState Failed to load ApplicationContext
[ERROR]   FsResourceTypeTest.read ? IllegalState Failed to load ApplicationContext
[ERROR]   FsResourceTypeTest.read ? IllegalState Failed to load ApplicationContext
[ERROR]   FsResourceTypeTest.read ? IllegalState Failed to load ApplicationContext
[ERROR]   FsResourceTypeTest.resourceTypes ? IllegalState Failed to load ApplicationCont...
[ERROR]   SqlResourceTypeTest.aliases ? IllegalState Failed to load ApplicationContext
[ERROR]   SqlResourceTypeTest.metaData ? IllegalState Failed to load ApplicationContext
[ERROR]   SqlResourceTypeTest.name ? IllegalState Failed to load ApplicationContext
[ERROR]   SqlResourceTypeTest.path ? IllegalState Failed to load ApplicationContext
[ERROR]   SqlResourceTypeTest.readAllColumns ? IllegalState Failed to load ApplicationCo...
[ERROR]   SqlResourceTypeTest.readAllTables ? IllegalState Failed to load ApplicationCon...
[ERROR]   SqlResourceTypeTest.toJson ? IllegalState Failed to load ApplicationContext
[ERROR]   ExecutableSelectQueryTest.columns ? IllegalState Failed to load ApplicationCon...
[ERROR]   ExecutableSelectQueryTest.execute ? IllegalState Failed to load ApplicationCon...
[ERROR]   ExecutableSelectQueryTest.query ? IllegalState Failed to load ApplicationConte...
[ERROR]   FilteredSelectQueryTest.columns ? IllegalState Failed to load ApplicationConte...
[ERROR]   FilteredSelectQueryTest.execute ? IllegalState Failed to load ApplicationConte...
[ERROR]   FilteredSelectQueryTest.properties ? IllegalState Failed to load ApplicationCo...
[ERROR]   FilteredSelectQueryTest.query ? IllegalState Failed to load ApplicationContext
[ERROR]   OrderedSelectQueryTest.columns ? IllegalState Failed to load ApplicationContex...
[ERROR]   OrderedSelectQueryTest.execute ? IllegalState Failed to load ApplicationContex...
[ERROR]   OrderedSelectQueryTest.query ? IllegalState Failed to load ApplicationContext
[INFO] 
[ERROR] Tests run: 181, Failures: 0, Errors: 30, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:03 min
[INFO] Finished at: 2019-11-21T19:33:59+00:00
[INFO] Final Memory: 77M/590M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project sql-boot: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/r/repo/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[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
container e63139c7a01588361c2c61dcedcd3334addc8089a84c0f62fda8bd901d0963e6 is dead
Thu Nov 21 20:34:11 CET 2019
mgramin commented 4 years ago

@rultor merge

rultor commented 4 years ago

@rultor merge

@mgramin OK, I'll try to merge now. You can check the progress of the merge here

rultor commented 4 years ago

@rultor merge

@mgramin Oops, I failed. You can see the full log here (spent 6min)

21:23:54.072 [Thread-10] INFO org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory - Shutting down embedded database: url='jdbc:h2:mem:dataSource;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false'
21:23:54.072 [Thread-10] DEBUG org.springframework.jdbc.datasource.SimpleDriverDataSource - Creating new JDBC Driver Connection to [jdbc:h2:mem:dataSource;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false]
21:23:54.071 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-2 - Shutdown initiated...
21:23:54.074 [Thread-9] DEBUG com.zaxxer.hikari.pool.HikariPool - HikariPool-2 - Before shutdown stats (total=10, active=0, idle=10, waiting=0)
Nov 21, 2019 9:23:54 PM com.hazelcast.instance.Node
INFO: [172.17.0.6]:5701 [dev] [3.11.1] Running shutdown hook... Current state: ACTIVE
21:23:54.077 [HikariPool-2 connection closer] DEBUG com.zaxxer.hikari.pool.PoolBase - HikariPool-2 - Closing connection conn10: url=jdbc:h2:mem:testdb user=SA: (connection evicted)
21:23:54.077 [HikariPool-2 connection closer] DEBUG com.zaxxer.hikari.pool.PoolBase - HikariPool-2 - Closing connection conn11: url=jdbc:h2:mem:testdb user=SA: (connection evicted)
21:23:54.079 [HikariPool-2 connection closer] DEBUG com.zaxxer.hikari.pool.PoolBase - HikariPool-2 - Closing connection conn12: url=jdbc:h2:mem:testdb user=SA: (connection evicted)
21:23:54.079 [HikariPool-2 connection closer] DEBUG com.zaxxer.hikari.pool.PoolBase - HikariPool-2 - Closing connection conn13: url=jdbc:h2:mem:testdb user=SA: (connection evicted)
21:23:54.079 [HikariPool-2 connection closer] DEBUG com.zaxxer.hikari.pool.PoolBase - HikariPool-2 - Closing connection conn14: url=jdbc:h2:mem:testdb user=SA: (connection evicted)
21:23:54.088 [HikariPool-2 connection closer] DEBUG com.zaxxer.hikari.pool.PoolBase - HikariPool-2 - Closing connection conn15: url=jdbc:h2:mem:testdb user=SA: (connection evicted)
21:23:54.088 [HikariPool-2 connection closer] DEBUG com.zaxxer.hikari.pool.PoolBase - HikariPool-2 - Closing connection conn16: url=jdbc:h2:mem:testdb user=SA: (connection evicted)
21:23:54.088 [HikariPool-2 connection closer] DEBUG com.zaxxer.hikari.pool.PoolBase - HikariPool-2 - Closing connection conn17: url=jdbc:h2:mem:testdb user=SA: (connection evicted)
21:23:54.100 [HikariPool-2 connection closer] DEBUG com.zaxxer.hikari.pool.PoolBase - HikariPool-2 - Closing connection conn18: url=jdbc:h2:mem:testdb user=SA: (connection evicted)
21:23:54.101 [HikariPool-2 connection closer] DEBUG com.zaxxer.hikari.pool.PoolBase - HikariPool-2 - Closing connection conn19: url=jdbc:h2:mem:testdb user=SA: (connection evicted)
21:23:54.102 [Thread-9] DEBUG com.zaxxer.hikari.pool.HikariPool - HikariPool-2 - After shutdown stats (total=0, active=0, idle=0, waiting=0)
21:23:54.102 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-2 - Shutdown completed.
21:23:54.205 [Thread-5] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown initiated...
21:23:54.205 [Thread-5] DEBUG com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Before shutdown stats (total=10, active=0, idle=10, waiting=0)
21:23:54.206 [HikariPool-1 connection closer] DEBUG com.zaxxer.hikari.pool.PoolBase - HikariPool-1 - Closing connection conn0: url=jdbc:h2:mem:testdb user=SA: (connection evicted)
21:23:54.206 [HikariPool-1 connection closer] DEBUG com.zaxxer.hikari.pool.PoolBase - HikariPool-1 - Closing connection conn1: url=jdbc:h2:mem:testdb user=SA: (connection evicted)
21:23:54.207 [HikariPool-1 connection closer] DEBUG com.zaxxer.hikari.pool.PoolBase - HikariPool-1 - Closing connection conn2: url=jdbc:h2:mem:testdb user=SA: (connection evicted)
21:23:54.207 [HikariPool-1 connection closer] DEBUG com.zaxxer.hikari.pool.PoolBase - HikariPool-1 - Closing connection conn3: url=jdbc:h2:mem:testdb user=SA: (connection evicted)
21:23:54.210 [HikariPool-1 connection closer] DEBUG com.zaxxer.hikari.pool.PoolBase - HikariPool-1 - Closing connection conn4: url=jdbc:h2:mem:testdb user=SA: (connection evicted)
21:23:54.210 [HikariPool-1 connection closer] DEBUG com.zaxxer.hikari.pool.PoolBase - HikariPool-1 - Closing connection conn5: url=jdbc:h2:mem:testdb user=SA: (connection evicted)
21:23:54.211 [HikariPool-1 connection closer] DEBUG com.zaxxer.hikari.pool.PoolBase - HikariPool-1 - Closing connection conn6: url=jdbc:h2:mem:testdb user=SA: (connection evicted)
21:23:54.211 [HikariPool-1 connection closer] DEBUG com.zaxxer.hikari.pool.PoolBase - HikariPool-1 - Closing connection conn7: url=jdbc:h2:mem:testdb user=SA: (connection evicted)
21:23:54.212 [HikariPool-1 connection closer] DEBUG com.zaxxer.hikari.pool.PoolBase - HikariPool-1 - Closing connection conn8: url=jdbc:h2:mem:testdb user=SA: (connection evicted)
21:23:54.212 [HikariPool-1 connection closer] DEBUG com.zaxxer.hikari.pool.PoolBase - HikariPool-1 - Closing connection conn9: url=jdbc:h2:mem:testdb user=SA: (connection evicted)
21:23:54.212 [Thread-5] DEBUG com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - After shutdown stats (total=0, active=0, idle=0, waiting=0)
21:23:54.212 [Thread-5] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown completed.
[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   ZippedFileTest.content:53 expected: <11> but was: <10>
[INFO] 
[ERROR] Tests run: 181, Failures: 1, Errors: 0, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 56.942 s
[INFO] Finished at: 2019-11-21T21:23:54+00:00
[INFO] Final Memory: 74M/613M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project sql-boot: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/r/repo/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[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
container 1f697e4be1a718c646d55b07a083f1a4d21ba54d7f4f36bc9de24b30b5d750f8 is dead
Thu Nov 21 22:24:40 CET 2019
codecov-io commented 4 years ago

Codecov Report

Merging #421 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #421   +/-   ##
=========================================
  Coverage     74.91%   74.91%           
  Complexity      197      197           
=========================================
  Files            40       40           
  Lines           586      586           
  Branches         59       59           
=========================================
  Hits            439      439           
  Misses          104      104           
  Partials         43       43

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 30a591e...b1a7ea3. Read the comment docs.

mgramin commented 4 years ago

@rultor merge

rultor commented 4 years ago

@rultor merge

@mgramin OK, I'll try to merge now. You can check the progress of the merge here

rultor commented 4 years ago

@rultor merge

@mgramin Done! FYI, the full log is here (took me 6min)