You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/11/04 08:47:20 UTC

[GitHub] [shardingsphere] TeslaCN opened a new issue #13460: Tests in shardingsphere-proxy-backend may fail

TeslaCN opened a new issue #13460:
URL: https://github.com/apache/shardingsphere/issues/13460


   ## Bug Report
   
   ### Which version of ShardingSphere did you use?
   master - ad529a8ee7e06fc76225608888729a23ec4473f4
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   
   ### Expected behavior
   Build `shardingsphere-proxy-backend` successfully.
   
   ### Actual behavior
   ```
   [INFO] Scanning for projects...
   [INFO] ------------------------------------------------------------------------
   [INFO] Detecting the operating system and CPU architecture
   [INFO] ------------------------------------------------------------------------
   [INFO] os.detected.name: linux
   [INFO] os.detected.arch: x86_64
   [INFO] os.detected.version: 5.11
   [INFO] os.detected.version.major: 5
   [INFO] os.detected.version.minor: 11
   [INFO] os.detected.release: ubuntu
   [INFO] os.detected.release.version: 20.04
   [INFO] os.detected.release.like.ubuntu: true
   [INFO] os.detected.release.like.debian: true
   [INFO] os.detected.classifier: linux-x86_64
   [INFO] 
   [INFO] -------< org.apache.shardingsphere:shardingsphere-proxy-backend >-------
   [INFO] Building shardingsphere-proxy-backend 5.0.0-RC1-SNAPSHOT
   [INFO] --------------------------------[ jar ]---------------------------------
   [INFO] 
   [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-maven-version) @ shardingsphere-proxy-backend ---
   [INFO] 
   [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-banned-dependencies) @ shardingsphere-proxy-backend ---
   [INFO] 
   [INFO] --- maven-checkstyle-plugin:3.1.0:check (validate) @ shardingsphere-proxy-backend ---
   [INFO] 
   [INFO] --- jacoco-maven-plugin:0.8.7:prepare-agent (default) @ shardingsphere-proxy-backend ---
   [INFO] argLine set to -javaagent:/home/wuweijie/.m2/repository/org/jacoco/org.jacoco.agent/0.8.7/org.jacoco.agent-0.8.7-runtime.jar=destfile=/home/wuweijie/projects/shardingsphere/shardingsphere-proxy/shardingsphere-proxy-backend/target/jacoco.exec
   [INFO] 
   [INFO] --- templating-maven-plugin:1.0.0:filter-sources (filtering-proxy-version) @ shardingsphere-proxy-backend ---
   [INFO] Coping files with filtering to temporary directory.
   [INFO] Using 'UTF-8' encoding to copy filtered resources.
   [INFO] Copying 1 resource
   [INFO] No files needs to be copied to output directory. Up to date: /home/wuweijie/projects/shardingsphere/shardingsphere-proxy/shardingsphere-proxy-backend/target/generated-sources/java-templates
   [INFO] Source directory: /home/wuweijie/projects/shardingsphere/shardingsphere-proxy/shardingsphere-proxy-backend/target/generated-sources/java-templates added.
   [INFO] 
   [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ shardingsphere-proxy-backend ---
   [INFO] 
   [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ shardingsphere-proxy-backend ---
   [INFO] Using 'UTF-8' encoding to copy filtered resources.
   [INFO] Copying 5 resources
   [INFO] Copying 3 resources
   [INFO] 
   [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ shardingsphere-proxy-backend ---
   [INFO] Nothing to compile - all classes are up to date
   [INFO] 
   [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ shardingsphere-proxy-backend ---
   [INFO] Using 'UTF-8' encoding to copy filtered resources.
   [INFO] Copying 5 resources
   [INFO] Copying 3 resources
   [INFO] 
   [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ shardingsphere-proxy-backend ---
   [INFO] Nothing to compile - all classes are up to date
   [INFO] 
   [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ shardingsphere-proxy-backend ---
   [INFO] 
   [INFO] -------------------------------------------------------
   [INFO]  T E S T S
   [INFO] -------------------------------------------------------
   [INFO] Running org.apache.shardingsphere.proxy.backend.response.data.QueryResponseRowTest
   [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.325 s - in org.apache.shardingsphere.proxy.backend.response.data.QueryResponseRowTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.response.header.update.UpdateResponseHeaderTest
   [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.134 s - in org.apache.shardingsphere.proxy.backend.response.header.update.UpdateResponseHeaderTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.response.header.query.impl.QueryHeaderBuilderTest
   [INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.581 s - in org.apache.shardingsphere.proxy.backend.response.header.query.impl.QueryHeaderBuilderTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.util.SystemPropertyUtilTest
   [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.shardingsphere.proxy.backend.util.SystemPropertyUtilTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.communication.ProxySQLExecutorTest
   [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.77 s - in org.apache.shardingsphere.proxy.backend.communication.ProxySQLExecutorTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.communication.DatabaseCommunicationEngineTest
   [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.749 s - in org.apache.shardingsphere.proxy.backend.communication.DatabaseCommunicationEngineTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.communication.DatabaseCommunicationEngineFactoryTest
   [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.apache.shardingsphere.proxy.backend.communication.DatabaseCommunicationEngineFactoryTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.communication.jdbc.statement.impl.PostgreSQLStatementMemoryStrictlyFetchSizeSetterTest
   [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 s - in org.apache.shardingsphere.proxy.backend.communication.jdbc.statement.impl.PostgreSQLStatementMemoryStrictlyFetchSizeSetterTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.communication.jdbc.statement.impl.OpenGaussStatementMemoryStrictlyFetchSizeSetterTest
   [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.apache.shardingsphere.proxy.backend.communication.jdbc.statement.impl.OpenGaussStatementMemoryStrictlyFetchSizeSetterTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.communication.jdbc.statement.impl.MySQLStatementMemoryStrictlyFetchSizeSetterTest
   [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.apache.shardingsphere.proxy.backend.communication.jdbc.statement.impl.MySQLStatementMemoryStrictlyFetchSizeSetterTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.communication.jdbc.transaction.TransactionStatusTest
   [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.shardingsphere.proxy.backend.communication.jdbc.transaction.TransactionStatusTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.communication.jdbc.transaction.LocalTransactionManagerTest
   [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.081 s - in org.apache.shardingsphere.proxy.backend.communication.jdbc.transaction.LocalTransactionManagerTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.communication.jdbc.transaction.BackendTransactionManagerTest
   [INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.166 s - in org.apache.shardingsphere.proxy.backend.communication.jdbc.transaction.BackendTransactionManagerTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.communication.jdbc.datasource.JDBCBackendDataSourceTest
   [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.14 s - in org.apache.shardingsphere.proxy.backend.communication.jdbc.datasource.JDBCBackendDataSourceTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.communication.jdbc.datasource.decorator.HikariJDBCParameterDecoratorTest
   [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.052 s - in org.apache.shardingsphere.proxy.backend.communication.jdbc.datasource.decorator.HikariJDBCParameterDecoratorTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.communication.jdbc.connection.ConnectionUrlParserTest
   [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.apache.shardingsphere.proxy.backend.communication.jdbc.connection.ConnectionUrlParserTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.communication.jdbc.connection.ConnectionStatusTest
   [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.204 s - in org.apache.shardingsphere.proxy.backend.communication.jdbc.connection.ConnectionStatusTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.communication.jdbc.connection.BackendConnectionTest
   [INFO] Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.308 s - in org.apache.shardingsphere.proxy.backend.communication.jdbc.connection.BackendConnectionTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.communication.jdbc.connection.ResourceLockTest
   [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.249 s - in org.apache.shardingsphere.proxy.backend.communication.jdbc.connection.ResourceLockTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.communication.jdbc.recognizer.impl.H2RecognizerTest
   [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.apache.shardingsphere.proxy.backend.communication.jdbc.recognizer.impl.H2RecognizerTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.communication.jdbc.recognizer.impl.P6SpyDriverRecognizerTest
   [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.apache.shardingsphere.proxy.backend.communication.jdbc.recognizer.impl.P6SpyDriverRecognizerTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.communication.jdbc.recognizer.impl.OracleRecognizerTest
   [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.apache.shardingsphere.proxy.backend.communication.jdbc.recognizer.impl.OracleRecognizerTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.communication.jdbc.recognizer.impl.SQLServerRecognizerTest
   [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.shardingsphere.proxy.backend.communication.jdbc.recognizer.impl.SQLServerRecognizerTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.communication.jdbc.recognizer.impl.MySQLRecognizerTest
   [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.shardingsphere.proxy.backend.communication.jdbc.recognizer.impl.MySQLRecognizerTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.communication.jdbc.recognizer.impl.OpenGaussRecognizerTest
   [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.shardingsphere.proxy.backend.communication.jdbc.recognizer.impl.OpenGaussRecognizerTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.communication.jdbc.recognizer.impl.PostgreSQLRecognizerTest
   [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.shardingsphere.proxy.backend.communication.jdbc.recognizer.impl.PostgreSQLRecognizerTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.communication.jdbc.recognizer.JDBCDriverURLRecognizerEngineTest
   [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.shardingsphere.proxy.backend.communication.jdbc.recognizer.JDBCDriverURLRecognizerEngineTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.exception.TableModifyInTransactionExceptionTest
   [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.057 s - in org.apache.shardingsphere.proxy.backend.exception.TableModifyInTransactionExceptionTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.database.DropDatabaseBackendHandlerTest
   [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.067 s - in org.apache.shardingsphere.proxy.backend.text.database.DropDatabaseBackendHandlerTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.database.CreateDatabaseBackendHandlerTest
   [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 s - in org.apache.shardingsphere.proxy.backend.text.database.CreateDatabaseBackendHandlerTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.transaction.TransactionBackendHandlerFactoryTest
   [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.099 s - in org.apache.shardingsphere.proxy.backend.text.transaction.TransactionBackendHandlerFactoryTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.transaction.TransactionBackendHandlerTest
   [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.apache.shardingsphere.proxy.backend.text.transaction.TransactionBackendHandlerTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.distsql.rql.DataSourceQueryResultSetConverterTest
   [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.apache.shardingsphere.proxy.backend.text.distsql.rql.DataSourceQueryResultSetConverterTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.distsql.rql.RQLBackendHandlerTest
   [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.066 s - in org.apache.shardingsphere.proxy.backend.text.distsql.rql.RQLBackendHandlerTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.distsql.rql.DataSourceQueryResultSetTest
   [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.166 s - in org.apache.shardingsphere.proxy.backend.text.distsql.rql.DataSourceQueryResultSetTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.distsql.rql.RuleDefinitionBackendHandlerTest
   [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 s - in org.apache.shardingsphere.proxy.backend.text.distsql.rql.RuleDefinitionBackendHandlerTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.distsql.rql.SingleTableRuleQueryResultSetTest
   [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.091 s - in org.apache.shardingsphere.proxy.backend.text.distsql.rql.SingleTableRuleQueryResultSetTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.distsql.rdl.resource.ResourceSegmentsConverterTest
   [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.apache.shardingsphere.proxy.backend.text.distsql.rdl.resource.ResourceSegmentsConverterTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.distsql.rdl.resource.AlterResourceBackendHandlerTest
   [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.058 s - in org.apache.shardingsphere.proxy.backend.text.distsql.rdl.resource.AlterResourceBackendHandlerTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.distsql.rdl.resource.DropResourceBackendHandlerTest
   [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.116 s - in org.apache.shardingsphere.proxy.backend.text.distsql.rdl.resource.DropResourceBackendHandlerTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.distsql.rdl.resource.AddResourceBackendHandlerTest
   [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 s - in org.apache.shardingsphere.proxy.backend.text.distsql.rdl.resource.AddResourceBackendHandlerTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.distsql.ral.common.hint.HintStatementExecutorFactoryTest
   [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.197 s - in org.apache.shardingsphere.proxy.backend.text.distsql.ral.common.hint.HintStatementExecutorFactoryTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.distsql.ral.common.set.SetStatementExecutorFactoryTest
   [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.067 s - in org.apache.shardingsphere.proxy.backend.text.distsql.ral.common.set.SetStatementExecutorFactoryTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.distsql.ral.common.set.executor.SetVariableExecutorTest
   [ERROR] Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.108 s <<< FAILURE! - in org.apache.shardingsphere.proxy.backend.text.distsql.ral.common.set.executor.SetVariableExecutorTest
   [ERROR] assertExecuteWithConfigurationKey(org.apache.shardingsphere.proxy.backend.text.distsql.ral.common.set.executor.SetVariableExecutorTest)  Time elapsed: 0.101 s  <<< ERROR!
   java.lang.NullPointerException: Cannot invoke "Object.toString()" because the return value of "java.util.Properties.get(Object)" is null
   	at org.apache.shardingsphere.proxy.backend.text.distsql.ral.common.set.executor.SetVariableExecutorTest.assertExecuteWithConfigurationKey(SetVariableExecutorTest.java:60)
   
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.distsql.ral.SetVariableBackendHandlerTest
   [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 s - in org.apache.shardingsphere.proxy.backend.text.distsql.ral.SetVariableBackendHandlerTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.distsql.ral.ShowVariableBackendHandlerTest
   [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 s - in org.apache.shardingsphere.proxy.backend.text.distsql.ral.ShowVariableBackendHandlerTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.distsql.ral.ShowAllVariablesBackendHandlerTest
   [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.apache.shardingsphere.proxy.backend.text.distsql.ral.ShowAllVariablesBackendHandlerTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.distsql.DistSQLBackendHandlerFactoryTest
   [INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.617 s - in org.apache.shardingsphere.proxy.backend.text.distsql.DistSQLBackendHandlerFactoryTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.data.DatabaseBackendHandlerFactoryTest
   [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.114 s - in org.apache.shardingsphere.proxy.backend.text.data.DatabaseBackendHandlerFactoryTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.data.impl.SchemaAssignedDatabaseBackendHandlerTest
   [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 s - in org.apache.shardingsphere.proxy.backend.text.data.impl.SchemaAssignedDatabaseBackendHandlerTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.data.impl.BroadcastDatabaseBackendHandlerTest
   [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 s - in org.apache.shardingsphere.proxy.backend.text.data.impl.BroadcastDatabaseBackendHandlerTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.data.impl.UnicastDatabaseBackendHandlerTest
   [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 s - in org.apache.shardingsphere.proxy.backend.text.data.impl.UnicastDatabaseBackendHandlerTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.admin.DatabaseOperateBackendHandlerFactoryTest
   [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 s - in org.apache.shardingsphere.proxy.backend.text.admin.DatabaseOperateBackendHandlerFactoryTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.admin.mysql.MySQLAdminExecutorFactoryTest
   [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.128 s - in org.apache.shardingsphere.proxy.backend.text.admin.mysql.MySQLAdminExecutorFactoryTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.admin.mysql.executor.ShowProcedureStatusExecutorTest
   [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.apache.shardingsphere.proxy.backend.text.admin.mysql.executor.ShowProcedureStatusExecutorTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.admin.mysql.executor.ShowTablesStatusExecutorTest
   [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s - in org.apache.shardingsphere.proxy.backend.text.admin.mysql.executor.ShowTablesStatusExecutorTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.admin.mysql.executor.ShowDatabasesExecutorTest
   [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.054 s - in org.apache.shardingsphere.proxy.backend.text.admin.mysql.executor.ShowDatabasesExecutorTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.admin.mysql.executor.UseDatabaseExecutorTest
   [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.034 s - in org.apache.shardingsphere.proxy.backend.text.admin.mysql.executor.UseDatabaseExecutorTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.admin.mysql.executor.ShowConnectionIdExecutorTest
   [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.apache.shardingsphere.proxy.backend.text.admin.mysql.executor.ShowConnectionIdExecutorTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.admin.mysql.executor.information.SelectInformationExecutorTest
   [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.132 s - in org.apache.shardingsphere.proxy.backend.text.admin.mysql.executor.information.SelectInformationExecutorTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.admin.mysql.executor.ShowCurrentUserExecutorTest
   [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.065 s - in org.apache.shardingsphere.proxy.backend.text.admin.mysql.executor.ShowCurrentUserExecutorTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.admin.mysql.executor.ShowCreateDatabaseExecutorTest
   [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.apache.shardingsphere.proxy.backend.text.admin.mysql.executor.ShowCreateDatabaseExecutorTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.admin.mysql.executor.ShowProcessListExecutorTest
   [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.112 s - in org.apache.shardingsphere.proxy.backend.text.admin.mysql.executor.ShowProcessListExecutorTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.admin.mysql.executor.ShowVersionExecutorTest
   [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.173 s - in org.apache.shardingsphere.proxy.backend.text.admin.mysql.executor.ShowVersionExecutorTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.admin.mysql.executor.ShowFunctionStatusExecutorTest
   [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.apache.shardingsphere.proxy.backend.text.admin.mysql.executor.ShowFunctionStatusExecutorTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.admin.mysql.executor.ShowTablesExecutorTest
   [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.apache.shardingsphere.proxy.backend.text.admin.mysql.executor.ShowTablesExecutorTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.TextProtocolBackendHandlerFactoryTest
   [INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.404 s - in org.apache.shardingsphere.proxy.backend.text.TextProtocolBackendHandlerFactoryTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.text.skip.SkipBackendHandlerTest
   [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.shardingsphere.proxy.backend.text.skip.SkipBackendHandlerTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.context.BackendExecutorContextTest
   [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.shardingsphere.proxy.backend.context.BackendExecutorContextTest
   [INFO] Running org.apache.shardingsphere.proxy.backend.context.ProxyContextTest
   [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.shardingsphere.proxy.backend.context.ProxyContextTest
   [INFO] 
   [INFO] Results:
   [INFO] 
   [ERROR] Errors: 
   [ERROR]   SetVariableExecutorTest.assertExecuteWithConfigurationKey:60 NullPointer Canno...
   [INFO] 
   [ERROR] Tests run: 272, Failures: 0, Errors: 1, Skipped: 0
   [INFO] 
   [INFO] ------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] ------------------------------------------------------------------------
   [INFO] Total time:  17.789 s
   [INFO] Finished at: 2021-11-04T16:44:40+08:00
   [INFO] ------------------------------------------------------------------------
   [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.0:test (default-test) on project shardingsphere-proxy-backend: There are test failures.
   [ERROR] 
   [ERROR] Please refer to /home/wuweijie/projects/shardingsphere/shardingsphere-proxy/shardingsphere-proxy-backend/target/surefire-reports for the individual test results.
   [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].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
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] RaigorJiang commented on issue #13460: Tests in shardingsphere-proxy-backend may fail

Posted by GitBox <gi...@apache.org>.
RaigorJiang commented on issue #13460:
URL: https://github.com/apache/shardingsphere/issues/13460#issuecomment-961674167


   Hi @wangchengming666 
   @lanchengx  removed the risky get method to avoid CI failure. Do you have any other suggestions?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] TeslaCN closed issue #13460: Tests in shardingsphere-proxy-backend may fail

Posted by GitBox <gi...@apache.org>.
TeslaCN closed issue #13460:
URL: https://github.com/apache/shardingsphere/issues/13460


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] wangchengming666 commented on issue #13460: Tests in shardingsphere-proxy-backend may fail

Posted by GitBox <gi...@apache.org>.
wangchengming666 commented on issue #13460:
URL: https://github.com/apache/shardingsphere/issues/13460#issuecomment-961070544


   I'll try fix it


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] TeslaCN commented on issue #13460: Tests in shardingsphere-proxy-backend may fail

Posted by GitBox <gi...@apache.org>.
TeslaCN commented on issue #13460:
URL: https://github.com/apache/shardingsphere/issues/13460#issuecomment-961758284


   @lanchengx 
   I checked the code. My suggestion is replacing `org.apache.shardingsphere.proxy.backend.context.ProxyContext#contextManager` with a mock object before test and restore contextManager after test.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] lanchengx commented on issue #13460: Tests in shardingsphere-proxy-backend may fail

Posted by GitBox <gi...@apache.org>.
lanchengx commented on issue #13460:
URL: https://github.com/apache/shardingsphere/issues/13460#issuecomment-962397626


   > @lanchengx I checked the code. My suggestion is replacing `org.apache.shardingsphere.proxy.backend.context.ProxyContext#contextManager` with a mock object before test and restore `contextManager` after test.
   
   Thanks, i will try


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] TeslaCN closed issue #13460: Tests in shardingsphere-proxy-backend may fail

Posted by GitBox <gi...@apache.org>.
TeslaCN closed issue #13460:
URL: https://github.com/apache/shardingsphere/issues/13460


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] TeslaCN edited a comment on issue #13460: Tests in shardingsphere-proxy-backend may fail

Posted by GitBox <gi...@apache.org>.
TeslaCN edited a comment on issue #13460:
URL: https://github.com/apache/shardingsphere/issues/13460#issuecomment-961758284


   @lanchengx 
   I checked the code. My suggestion is replacing `org.apache.shardingsphere.proxy.backend.context.ProxyContext#contextManager` with a mock object before test and restore `contextManager` after test.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] TeslaCN commented on issue #13460: Tests in shardingsphere-proxy-backend may fail

Posted by GitBox <gi...@apache.org>.
TeslaCN commented on issue #13460:
URL: https://github.com/apache/shardingsphere/issues/13460#issuecomment-961758284


   @lanchengx 
   I checked the code. My suggestion is replacing `org.apache.shardingsphere.proxy.backend.context.ProxyContext#contextManager` with a mock object before test and restore contextManager after test.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] RaigorJiang commented on issue #13460: Tests in shardingsphere-proxy-backend may fail

Posted by GitBox <gi...@apache.org>.
RaigorJiang commented on issue #13460:
URL: https://github.com/apache/shardingsphere/issues/13460#issuecomment-961674167


   Hi @wangchengming666 
   @lanchengx  removed the risky get method to avoid CI failure. Do you have any other suggestions?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] lanchengx commented on issue #13460: Tests in shardingsphere-proxy-backend may fail

Posted by GitBox <gi...@apache.org>.
lanchengx commented on issue #13460:
URL: https://github.com/apache/shardingsphere/issues/13460#issuecomment-961603715






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] TeslaCN closed issue #13460: Tests in shardingsphere-proxy-backend may fail

Posted by GitBox <gi...@apache.org>.
TeslaCN closed issue #13460:
URL: https://github.com/apache/shardingsphere/issues/13460


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] TeslaCN closed issue #13460: Tests in shardingsphere-proxy-backend may fail

Posted by GitBox <gi...@apache.org>.
TeslaCN closed issue #13460:
URL: https://github.com/apache/shardingsphere/issues/13460


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] TeslaCN edited a comment on issue #13460: Tests in shardingsphere-proxy-backend may fail

Posted by GitBox <gi...@apache.org>.
TeslaCN edited a comment on issue #13460:
URL: https://github.com/apache/shardingsphere/issues/13460#issuecomment-961758284


   @lanchengx 
   I checked the code. My suggestion is replacing `org.apache.shardingsphere.proxy.backend.context.ProxyContext#contextManager` with a mock object before test and restore `contextManager` after test.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] lanchengx commented on issue #13460: Tests in shardingsphere-proxy-backend may fail

Posted by GitBox <gi...@apache.org>.
lanchengx commented on issue #13460:
URL: https://github.com/apache/shardingsphere/issues/13460#issuecomment-961603715


   @wangchengming666 Sorry, this test may need some changes, @TeslaCN please assign to me 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] TeslaCN edited a comment on issue #13460: Tests in shardingsphere-proxy-backend may fail

Posted by GitBox <gi...@apache.org>.
TeslaCN edited a comment on issue #13460:
URL: https://github.com/apache/shardingsphere/issues/13460#issuecomment-961758284


   @lanchengx 
   I checked the code. My suggestion is replacing `org.apache.shardingsphere.proxy.backend.context.ProxyContext#contextManager` with a mock object before test and restore `contextManager` after test.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] TeslaCN commented on issue #13460: Tests in shardingsphere-proxy-backend may fail

Posted by GitBox <gi...@apache.org>.
TeslaCN commented on issue #13460:
URL: https://github.com/apache/shardingsphere/issues/13460#issuecomment-961758284


   @lanchengx 
   I checked the code. My suggestion is replacing `org.apache.shardingsphere.proxy.backend.context.ProxyContext#contextManager` with a mock object before test and restore contextManager after test.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] RaigorJiang commented on issue #13460: Tests in shardingsphere-proxy-backend may fail

Posted by GitBox <gi...@apache.org>.
RaigorJiang commented on issue #13460:
URL: https://github.com/apache/shardingsphere/issues/13460#issuecomment-961674167


   Hi @wangchengming666 
   @lanchengx  removed the risky get method to avoid CI failure. Do you have any other suggestions?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org