daiqiang commented on PR #37791:
URL: https://github.com/apache/shardingsphere/pull/37791#issuecomment-3802560544

   > > ```
   > >    I encountered an error when running the command ./mvnw clean install 
-B -T1C -Dmaven.javadoc.skip -Dmaven.jacoco.skip -e locally, but the CI passed 
after I submitted the PR. I don't understand why this happened. Do I need to 
perform any additional steps locally?
   > > ```
   > 
   > Out of curiosity, what error log did you see? I don't think there are any 
known issues with CI.
   
   The CI is correct
   the local  is  error 
   The local error is as follows: 
   `[INFO] shardingsphere-agent ............................... SUCCESS [  
0.209 s]
   [INFO] shardingsphere-agent-api ........................... SUCCESS [  4.637 
s]
   [INFO] shardingsphere-agent-core .......................... FAILURE [ 15.487 
s]
   [INFO] shardingsphere-agent-plugins ....................... SKIPPED
   [INFO] shardingsphere-agent-plugin-core ................... SKIPPED
   [INFO] shardingsphere-agent-plugin-metrics ................ SKIPPED
   [INFO] shardingsphere-agent-metrics-core .................. SKIPPED
   [INFO] shardingsphere-agent-metrics-type .................. SKIPPED
   [INFO] shardingsphere-agent-metrics-prometheus ............ SKIPPED
   [INFO] shardingsphere-agent-plugin-tracing ................ SKIPPED
   [INFO] shardingsphere-agent-tracing-core .................. SKIPPED
   [INFO] shardingsphere-agent-tracing-type .................. SKIPPED
   [INFO] shardingsphere-agent-tracing-opentelemetry ......... SKIPPED
   [INFO] shardingsphere-agent-plugin-logging ................ SKIPPED
   [INFO] shardingsphere-agent-logging-type .................. SKIPPED
   [INFO] shardingsphere-agent-logging-file .................. SKIPPED
   [INFO] shardingsphere-test-it-spi ......................... SKIPPED
   [INFO] shardingsphere-test-it-parser ...................... SKIPPED
   [INFO] shardingsphere-test-it-optimizer ................... SKIPPED
   [INFO] shardingsphere-test-it-rewriter .................... SKIPPED
   [INFO] shardingsphere-test-it-pipeline .................... SKIPPED
   [INFO] shardingsphere-test-it-binder ...................... SKIPPED
   [INFO] shardingsphere-test-e2e ............................ SKIPPED
   [INFO] shardingsphere-test-e2e-fixture .................... SKIPPED
   [INFO] shardingsphere-test-e2e-env ........................ SKIPPED
   [INFO] shardingsphere-test-e2e-sql ........................ SKIPPED
   [INFO] shardingsphere-test-e2e-driver ..................... SKIPPED
   [INFO] shardingsphere-test-e2e-agent ...................... SKIPPED
   [INFO] shardingsphere-test-e2e-agent-fixture .............. SKIPPED
   [INFO] shardingsphere-test-e2e-agent-proxy-fixture ........ SKIPPED
   [INFO] shardingsphere-test-e2e-agent-engine ............... SKIPPED
   [INFO] shardingsphere-test-e2e-agent-plugins .............. SKIPPED
   [INFO] shardingsphere-test-e2e-agent-plugins-metrics ...... SKIPPED
   [INFO] shardingsphere-test-e2e-agent-plugins-metrics-prometheus SKIPPED
   [INFO] shardingsphere-test-e2e-agent-plugins-tracing ...... SKIPPED
   [INFO] shardingsphere-test-e2e-agent-plugins-jaeger ....... SKIPPED
   [INFO] shardingsphere-test-e2e-agent-plugins-zipkin ....... SKIPPED
   [INFO] shardingsphere-test-e2e-agent-plugins-logging ...... SKIPPED
   [INFO] shardingsphere-test-e2e-agent-plugins-logging-file . SKIPPED
   [INFO] shardingsphere-test-e2e-agent-jdbc-fixture ......... SKIPPED
   [INFO] shardingsphere-test-e2e-operation .................. SKIPPED
   [INFO] shardingsphere-test-e2e-pipeline ................... SKIPPED
   [INFO] shardingsphere-test-e2e-transaction ................ SKIPPED
   [INFO] shardingsphere-test-e2e-showprocesslist ............ SKIPPED
   [INFO] shardingsphere-test-native ......................... SKIPPED
   [INFO] shardingsphere-distribution ........................ SUCCESS [  0.187 
s]
   [INFO] shardingsphere-src-distribution .................... SUCCESS [  0.277 
s]
   [INFO] shardingsphere-bom ................................. SUCCESS [  0.194 
s]
   [INFO] shardingsphere-agent-distribution .................. SKIPPED
   [INFO] shardingsphere-jdbc-distribution ................... SKIPPED
   [INFO] shardingsphere-proxy-distribution .................. SKIPPED
   [INFO] shardingsphere-proxy-native-distribution ........... SKIPPED
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time:  29.605 s (Wall Clock)
   [INFO] Finished at: 2026-01-26T16:03:21+08:00
   [INFO] 
------------------------------------------------------------------------
   [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:3.5.1:test (default-test) on 
project shardingsphere-agent-core: There are test failures.
   [ERROR]
   [ERROR] Please refer to 
C:\Users\daiq\IdeaProjects\shardingsphere\agent\core\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]
   org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
goal org.apache.maven.plugins:maven-surefire-plugin:3.5.1:test (default-test) 
on project shardingsphere-agent-core: There are test failures.
   
   Please refer to 
C:\Users\daiq\IdeaProjects\shardingsphere\agent\core\target\surefire-reports 
for the individual test results.
   Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump 
and [date].dumpstream.
       at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 
(MojoExecutor.java:333)
       at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute 
(MojoExecutor.java:316)
       at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:212)
       at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:174)
       at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 
(MojoExecutor.java:75)
       at org.apache.maven.lifecycle.internal.MojoExecutor$1.run 
(MojoExecutor.java:162)
       at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute 
(DefaultMojosExecutionStrategy.java:39)
       at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:159)
       at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:105)
       at 
org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
 (MultiThreadedBuilder.java:193)
       at 
org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
 (MultiThreadedBuilder.java:180)
       at java.util.concurrent.FutureTask.run (FutureTask.java:317)
       at java.util.concurrent.Executors$RunnableAdapter.call 
(Executors.java:572)
       at java.util.concurrent.FutureTask.run (FutureTask.java:317)
       at java.util.concurrent.ThreadPoolExecutor.runWorker 
(ThreadPoolExecutor.java:1144)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run 
(ThreadPoolExecutor.java:642)
       at java.lang.Thread.run (Thread.java:1583)
   Caused by: org.apache.maven.plugin.MojoFailureException: There are test 
failures.
   
   Please refer to 
C:\Users\daiq\IdeaProjects\shardingsphere\agent\core\target\surefire-reports 
for the individual test results.
   Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump 
and [date].dumpstream.
       at org.apache.maven.plugin.surefire.SurefireHelper.throwException 
(SurefireHelper.java:247)
       at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution 
(SurefireHelper.java:159)
       at org.apache.maven.plugin.surefire.SurefireMojo.handleSummary 
(SurefireMojo.java:547)
       at 
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked
 (AbstractSurefireMojo.java:1146)
       at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute 
(AbstractSurefireMojo.java:968)
       at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo 
(DefaultBuildPluginManager.java:126)
       at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 
(MojoExecutor.java:328)
       at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute 
(MojoExecutor.java:316)
       at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:212)
       at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:174)
       at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 
(MojoExecutor.java:75)
       at org.apache.maven.lifecycle.internal.MojoExecutor$1.run 
(MojoExecutor.java:162)
       at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute 
(DefaultMojosExecutionStrategy.java:39)
       at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:159)
       at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:105)
       at 
org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
 (MultiThreadedBuilder.java:193)
       at 
org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
 (MultiThreadedBuilder.java:180)
       at java.util.concurrent.FutureTask.run (FutureTask.java:317)
       at java.util.concurrent.Executors$RunnableAdapter.call 
(Executors.java:572)
       at java.util.concurrent.FutureTask.run (FutureTask.java:317)
       at java.util.concurrent.ThreadPoolExecutor.runWorker 
(ThreadPoolExecutor.java:1144)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run 
(ThreadPoolExecutor.java:642)
       at java.lang.Thread.run (Thread.java:1583)
   [ERROR]
   [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
   [ERROR]
   [ERROR] After correcting the problems, you can resume the build with the 
command
   [ERROR]   mvn <args> -rf :shardingsphere-agent-core
   
   C:\Users\daiq\IdeaProjects\shardingsphere> `


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to