Skip to content

Instantly share code, notes, and snippets.

@den-crane
Created July 28, 2021 15:50
Show Gist options
  • Select an option

  • Save den-crane/b56adb6ecc226f1ca6bf9aa41da1df4f to your computer and use it in GitHub Desktop.

Select an option

Save den-crane/b56adb6ecc226f1ca6bf9aa41da1df4f to your computer and use it in GitHub Desktop.
21.8.2.19 JDBC tests
| => mvn test
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------< ru.yandex.clickhouse:clickhouse-jdbc >----------------
[INFO] Building clickhouse-jdbc 0.3.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- ph-javacc-maven-plugin:4.1.4:javacc (jjc) @ clickhouse-jdbc ---
[INFO] Skipping - all parsers are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ clickhouse-jdbc ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- flatten-maven-plugin:1.2.7:flatten (flatten) @ clickhouse-jdbc ---
[INFO] Generating flattened POM of project ru.yandex.clickhouse:clickhouse-jdbc:jar:0.3.1-SNAPSHOT...
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ clickhouse-jdbc ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ clickhouse-jdbc ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ clickhouse-jdbc ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 73 source files to /Users/denis.zhuravlev/webamg/clickhouse-jdbc/clickhouse-jdbc/target/test-classes
[WARNING] bootstrap class path not set in conjunction with -source 8
[INFO] /Users/denis.zhuravlev/webamg/clickhouse-jdbc/clickhouse-jdbc/src/test/java/ru/yandex/clickhouse/integration/CSVStreamTest.java: Some input files use or override a deprecated API.
[INFO] /Users/denis.zhuravlev/webamg/clickhouse-jdbc/clickhouse-jdbc/src/test/java/ru/yandex/clickhouse/integration/CSVStreamTest.java: Recompile with -Xlint:deprecation for details.
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ clickhouse-jdbc ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running TestSuite
[ERROR] WARNING: An illegal reflective access operation has occurred
[ERROR] WARNING: Illegal reflective access by org.mockito.cglib.core.ReflectUtils$2 (file:/Users/denis.zhuravlev/.m2/repository/org/mockito/mockito-all/1.10.19/mockito-all-1.10.19.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
[ERROR] WARNING: Please consider reporting this to the maintainers of org.mockito.cglib.core.ReflectUtils$2
[ERROR] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
[ERROR] WARNING: All illegal access operations will be denied in a future release
######################################################
Server version: 21.8.2.19
######################################################
2021-07-28 12:48:27.027 [qtp1238994373-22] [ERROR] {WireMock:40} - No response could be served as there are no stub mappings in this WireMock instance.
2021-07-28 12:48:27.027 [qtp1238994373-15] [ERROR] {WireMock:40} - No response could be served as there are no stub mappings in this WireMock instance.
2021-07-28 12:48:27.027 [qtp1238994373-16] [ERROR] {WireMock:40} - No response could be served as there are no stub mappings in this WireMock instance.
2021-07-28 12:48:27.027 [qtp1238994373-21] [ERROR] {WireMock:40} - No response could be served as there are no stub mappings in this WireMock instance.
2021-07-28 12:48:28.028 [qtp1238994373-22] [ERROR] {WireMock:40} - No response could be served as there are no stub mappings in this WireMock instance.
2021-07-28 12:48:28.028 [qtp1238994373-15] [ERROR] {WireMock:40} - No response could be served as there are no stub mappings in this WireMock instance.
2021-07-28 12:48:28.028 [qtp1238994373-16] [ERROR] {WireMock:40} - No response could be served as there are no stub mappings in this WireMock instance.
2021-07-28 12:48:28.028 [qtp1238994373-22] [ERROR] {WireMock:40} -
Request was not matched
=======================
-----------------------------------------------------------------------------------------------------------------------
| Closest stub | Request |
-----------------------------------------------------------------------------------------------------------------------
|
GET | GET
[path regex] /cookie/get | /cookie/check <<<<< URL does not match
|
|
-----------------------------------------------------------------------------------------------------------------------
2021-07-28 12:48:28.028 [qtp1238994373-15] [ERROR] {WireMock:40} -
Request was not matched
=======================
-----------------------------------------------------------------------------------------------------------------------
| Closest stub | Request |
-----------------------------------------------------------------------------------------------------------------------
|
GET | GET
[path regex] /cookie/get | /cookie/check <<<<< URL does not match
|
|
-----------------------------------------------------------------------------------------------------------------------
2021-07-28 12:48:28.028 [main] [WARN ] {ClickHouseStatementImpl:1092} - error while read compressed stream Magic is not correct: 112
2021-07-28 12:48:28.028 [main] [WARN ] {ClickHouseStatementImpl:1092} - error while read compressed stream Magic is not correct: 112
2021-07-28 12:48:30.030 [main] [WARN ] {ClickHouseStatementImpl:1092} - error while read compressed stream Magic is not correct: 112
2021-07-28 12:48:30.030 [main] [WARN ] {ClickHouseStatementImpl:1092} - error while read compressed stream Magic is not correct: 112
2021-07-28 12:48:30.030 [main] [WARN ] {ClickHouseStatementImpl:1092} - error while read compressed stream Magic is not correct: 112
2021-07-28 12:48:30.030 [main] [WARN ] {ClickHouseStatementImpl:1092} - error while read compressed stream Magic is not correct: 112
2021-07-28 12:48:30.030 [main] [WARN ] {ClickHouseStatementImpl:1092} - error while read compressed stream Magic is not correct: 112
2021-07-28 12:48:30.030 [main] [WARN ] {ClickHouseStatementImpl:1092} - error while read compressed stream Magic is not correct: 112
2021-07-28 12:48:30.030 [main] [WARN ] {ClickHouseStatementImpl:1092} - error while read compressed stream Magic is not correct: 112
2021-07-28 12:48:37.037 [main] [WARN ] {ClickHousePreparedStatementImpl:384} - UPDATE and DELETE should be used with caution, as they are expensive operations and not supposed to be used frequently.
2021-07-28 12:48:37.037 [main] [WARN ] {ClickHousePreparedStatementImpl:384} - UPDATE and DELETE should be used with caution, as they are expensive operations and not supposed to be used frequently.
2021-07-28 12:48:39.039 [main] [WARN ] {ClickHouseSqlParser:71} - Parse error at line 1, column 8. Encountered: <EOF>. If you believe the SQL is valid, please feel free to open an issue on Github with this warning and the following SQL attached.
WITH foo
2021-07-28 12:48:39.039 [main] [WARN ] {ClickHouseSqlParser:71} - Parse error at line 1, column 1. Encountered: /. If you believe the SQL is valid, please feel free to open an issue on Github with this warning and the following SQL attached.
/ foo */ SELECT 42
2021-07-28 12:48:39.039 [main] [WARN ] {ClickHouseSqlParser:71} - Parse error at line 2, column 11. Encountered: <EOF>. If you believe the SQL is valid, please feel free to open an issue on Github with this warning and the following SQL attached.
/*
UPDATE foo
2021-07-28 12:48:39.039 [main] [WARN ] {ClickHouseSqlParser:71} - Parse error at line 1, column 2. Encountered: <EOF>. If you believe the SQL is valid, please feel free to open an issue on Github with this warning and the following SQL attached.
/*
2021-07-28 12:48:39.039 [main] [WARN ] {ClickHouseSqlParser:71} - Parse error at line 1, column 4. Encountered: <EOF>. If you believe the SQL is valid, please feel free to open an issue on Github with this warning and the following SQL attached.
/**/
2021-07-28 12:48:39.039 [main] [WARN ] {ClickHouseSqlParser:71} - Parse error at line 1, column 3. Encountered: <EOF>. If you believe the SQL is valid, please feel free to open an issue on Github with this warning and the following SQL attached.
--
[INFO] Tests run: 790, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.542 s - in TestSuite
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 790, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26.958 s
[INFO] Finished at: 2021-07-28T12:48:45-03:00
[INFO] ------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment