JNSimba opened a new pull request, #66460:
URL: https://github.com/apache/doris/pull/66460
### What problem does this PR solve?\n\nIssue Number: None\n\nRelated PR:
None\n\nProblem Summary:\n\nThe streaming job metrics regression test queried
the configured FE HTTP endpoint, which can be a follower in a multi-FE
environment. The RUNNING gauge and per-job streaming job metrics are produced
only on the master FE, so the test could time out even while the streaming job
was running.\n\nResolve the current master FE HTTP address with the regression
framework helpers before polling and query metrics from that endpoint.\n\n###
Release note\n\nNone\n\n### Check List (For Author)\n\n- Test\n - [ ]
Regression test\n - [ ] Unit Test\n - [x] Manual test\n - Using
JDK 17: /Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home
Apache Maven 3.9.12 (848fbb4bf2d427b72bdb2471c22fced7ebd9a7a1)
Maven home: /Users/wudi/software/apache-maven-3.9.12
Java version: 17.0.16, vendor: Eclipse Adoptium, runtime:
/Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home
Default locale: zh_CN_#Hans, platform encoding: US-ASCII
OS name: "mac os x", version: "14.3", arch: "aarch64", family: "mac"
Converted -f
regression-test/suites/job_p0/streaming_job/cdc/test_streaming_mysql_job_metrics.groovy
to -d regression-test/suites/job_p0/streaming_job/cdc -s
test_streaming_mysql_job_metrics
===== Run Regression Test =====
2026-08-05 11:06:34.164 INFO [main] (Config.groovy:348) - Load config file
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/conf/regression-conf.groovy
2026-08-05 11:06:34.643 INFO [main] (Config.groovy:792) - Set s3Provider to
'OSS' because not specify.
2026-08-05 11:06:34.643 INFO [main] (Config.groovy:810) - Set s3BucketName
to 'doris-regression-hk' because not specify.
2026-08-05 11:06:34.643 INFO [main] (Config.groovy:828) - Set s3Region to
'oss-cn-hongkong' because not specify.
2026-08-05 11:06:34.643 INFO [main] (Config.groovy:846) - Set s3Endpoint to
'oss-cn-hongkong.aliyuncs.com' because not specify.
2026-08-05 11:06:34.643 INFO [main] (Config.groovy:851) - set caseNamePrefix
to '' because not specify.
2026-08-05 11:06:34.643 INFO [main] (Config.groovy:856) - set
validateBackupPrefix to 'regression/doris_validate_backup' because not specify.
2026-08-05 11:06:34.643 INFO [main] (Config.groovy:902) - Set cloudUniqueId
to 'cloud_unique_id_xxx' because not specify.
2026-08-05 11:06:34.643 INFO [main] (Config.groovy:907) - Set
metaServiceHttpAddress to '127.0.0.1:5000' because not specify.
2026-08-05 11:06:34.643 INFO [main] (Config.groovy:912) - Set
recycleServiceHttpAddress to '127.0.0.1:5001' because not specify.
2026-08-05 11:06:34.643 INFO [main] (Config.groovy:917) - Set
recycleBeforeTest to 'false' because not specify.
2026-08-05 11:06:34.643 INFO [main] (Config.groovy:932) - Set syncerAddress
to '127.0.0.1:9190' because not specify.
2026-08-05 11:06:34.643 INFO [main] (Config.groovy:948) - Set
feCloudHttpAddress to '127.0.0.1:8876' because not specify.
2026-08-05 11:06:34.643 INFO [main] (Config.groovy:953) - Set
feCloudHttpUser to 'root' because not specify.
2026-08-05 11:06:34.643 INFO [main] (Config.groovy:958) - Set
feCloudHttpPassword to empty because not specify.
2026-08-05 11:06:34.643 INFO [main] (Config.groovy:978) - Set cacheDataPath
to 'regression-test/cacheData' because not specify.
2026-08-05 11:06:34.644 INFO [main] (Config.groovy:1047) - Set parallel to 1
because not specify.
2026-08-05 11:06:34.644 INFO [main] (Config.groovy:1052) - Set suiteParallel
to 1 because not specify.
2026-08-05 11:06:34.644 INFO [main] (Config.groovy:1057) - Set
dockerSuiteParallel to 1 because not specify.
2026-08-05 11:06:34.644 INFO [main] (Config.groovy:1062) - Set
actionParallel to 10 because not specify.
2026-08-05 11:06:34.645 INFO [main] (Config.groovy:386) - runMode: UNKNOWN
2026-08-05 11:06:34.657 INFO [main] (Config.groovy:470) - feCloudHttpAddress
: 127.0.0.1:8876, socketAddr : /127.0.0.1:8876
2026-08-05 11:06:34.658 INFO [main] (Config.groovy:473) - instanceId :
default_instance_id
2026-08-05 11:06:34.658 INFO [main] (Config.groovy:476) - cloudUniqueId :
cloud_unique_id_xxx
2026-08-05 11:06:34.659 INFO [main] (Config.groovy:486) - msAddr :
127.0.0.1:5000, socketAddr : /127.0.0.1:5000
2026-08-05 11:06:34.659 INFO [main] (Config.groovy:489) - multiClusterBes is
null
2026-08-05 11:06:34.659 INFO [main] (Config.groovy:492) - metaServiceToken
is greedisgood9999
2026-08-05 11:06:34.659 INFO [main] (Config.groovy:495) -
multiClusterInstance is default_instance_id
2026-08-05 11:06:34.659 INFO [main] (Config.groovy:498) - upgradeNewBeIp is
null
2026-08-05 11:06:34.659 INFO [main] (Config.groovy:501) - upgradeNewBeHbPort
is null
2026-08-05 11:06:34.659 INFO [main] (Config.groovy:504) -
upgradeNewBeHttpPort is null
2026-08-05 11:06:34.659 INFO [main] (Config.groovy:507) -
upgradeNewBeUniqueId is null
2026-08-05 11:06:34.659 INFO [main] (Config.groovy:510) - stageIamEndpoint
is null
2026-08-05 11:06:34.659 INFO [main] (Config.groovy:512) - stageIamRegion is
null
2026-08-05 11:06:34.659 INFO [main] (Config.groovy:514) - stageIamBucket is
null
2026-08-05 11:06:34.659 INFO [main] (Config.groovy:516) - stageIamPolicy is
null
2026-08-05 11:06:34.659 INFO [main] (Config.groovy:518) - stageIamRole is
null
2026-08-05 11:06:34.659 INFO [main] (Config.groovy:520) - stageIamArn is null
2026-08-05 11:06:34.660 INFO [main] (Config.groovy:522) - stageIamAk is null
2026-08-05 11:06:34.660 INFO [main] (Config.groovy:524) - stageIamSk is null
2026-08-05 11:06:34.660 INFO [main] (Config.groovy:526) - stageIamUserId is
null
2026-08-05 11:06:34.660 INFO [main] (Config.groovy:528) - cloudVersion is
null
2026-08-05 11:06:34.660 INFO [main] (Config.groovy:531) - tdeAk is unset
2026-08-05 11:06:34.660 INFO [main] (Config.groovy:533) - tdeSk is unset
2026-08-05 11:06:34.660 INFO [main] (Config.groovy:535) - tdeAwsAk is unset
2026-08-05 11:06:34.660 INFO [main] (Config.groovy:537) - tdeAwsSk is unset
2026-08-05 11:06:34.660 INFO [main] (Config.groovy:539) - tdeAliyunAk is
unset
2026-08-05 11:06:34.660 INFO [main] (Config.groovy:541) - tdeAliyunSk is
unset
2026-08-05 11:06:34.660 INFO [main] (Config.groovy:543) - tdeKeyEndpoint is
null
2026-08-05 11:06:34.660 INFO [main] (Config.groovy:545) - tdeKeyRegion is
null
2026-08-05 11:06:34.660 INFO [main] (Config.groovy:547) - tdeKeyProvider is
null
2026-08-05 11:06:34.660 INFO [main] (Config.groovy:549) - tdeAlgorithm is
null
2026-08-05 11:06:34.660 INFO [main] (Config.groovy:551) - tdeKeyId is null
2026-08-05 11:06:34.661 INFO [main] (Config.groovy:563) - recycleAddr :
127.0.0.1:5001, socketAddr : /127.0.0.1:5001
2026-08-05 11:06:34.661 INFO [main] (Config.groovy:591) - randomOrder is
false
2026-08-05 11:06:34.661 INFO [main] (Config.groovy:592) - stopWhenFail is
false
2026-08-05 11:06:34.661 INFO [main] (Config.groovy:593) - withOutLoadData is
false
2026-08-05 11:06:34.661 INFO [main] (Config.groovy:594) - runNonConcurrent
is true
2026-08-05 11:06:34.661 INFO [main] (Config.groovy:595) - caseNamePrefix is
2026-08-05 11:06:34.661 INFO [main] (Config.groovy:596) -
validateBackupPrefix is regression/doris_validate_backup
2026-08-05 11:06:34.661 INFO [main] (Config.groovy:597) - dryRun is true
2026-08-05 11:06:34.661 INFO [main] (Config.groovy:600) - s3Source is aliyun
2026-08-05 11:06:34.661 INFO [main] (Config.groovy:601) - s3Provider is OSS
2026-08-05 11:06:34.661 INFO [main] (Config.groovy:602) - s3BucketName is
doris-regression-hk
2026-08-05 11:06:34.662 INFO [main] (Config.groovy:603) - s3Region is
oss-cn-hongkong
2026-08-05 11:06:34.662 INFO [main] (Config.groovy:604) - s3Endpoint is
oss-cn-hongkong.aliyuncs.com
2026-08-05 11:06:34.663 INFO [main] (Config.groovy:1135) - Try to create db,
sql: CREATE DATABASE IF NOT EXISTS regression_test
2026-08-05 11:06:34.663 INFO [main] (Config.groovy:1128) - Reset jdbcUrl to
jdbc:mysql://127.0.0.1:9030/regression_test?useLocalSessionState=true&allowLoadLocalInfile=true&zeroDateTimeBehavior=round&verifyServerCertificate=false&useSSL=true&requireSSL=false&enabledTLSProtocols=TLSv1.2&connectTimeout=5000&socketTimeout=1800000&tcpKeepAlive=true
2026-08-05 11:06:34.813 WARN [main] (Config.groovy:1183) - Fetch server
config 'random_add_order_by_keys_for_mow' failed, jdbcUrl:
jdbc:mysql://127.0.0.1:9030/regression_test?useLocalSessionState=true&allowLoadLocalInfile=true&zeroDateTimeBehavior=round&verifyServerCertificate=false&useSSL=true&requireSSL=false&enabledTLSProtocols=TLSv1.2&connectTimeout=5000&socketTimeout=1800000&tcpKeepAlive=true
com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link
failure
The last packet sent successfully to the server was 0 milliseconds ago. The
driver has not received any packets from the server.
at
com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174)
at
com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64)
at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:829)
at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:449)
at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:242)
at
com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:198)
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:681)
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:229)
at
org.apache.doris.regression.Config.getRootConnection(Config.groovy:1224)
at
org.apache.doris.regression.Config.isClusterKeyEnabled(Config.groovy:1179)
at
org.apache.doris.regression.Config.excludeUnsupportedCase(Config.groovy:1189)
at org.apache.doris.regression.Config.fromCommandLine(Config.groovy:621)
at
org.apache.doris.regression.RegressionTest.main(RegressionTest.groovy:91)
Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications
link failure
The last packet sent successfully to the server was 0 milliseconds ago. The
driver has not received any packets from the server.
at
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
at
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at
java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
at
java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
at
com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61)
at
com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105)
at
com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151)
at
com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167)
at
com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:89)
at com.mysql.cj.NativeSession.connect(NativeSession.java:120)
at
com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:949)
at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:819)
... 10 common frames omitted
Caused by: java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
at
java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:554)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:602)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
at java.base/java.net.Socket.connect(Socket.java:633)
at
com.mysql.cj.protocol.StandardSocketFactory.connect(StandardSocketFactory.java:156)
at
com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:63)
... 13 common frames omitted
2026-08-05 11:06:34.813 INFO [main] (Config.groovy:1190) -
random_add_order_by_keys_for_mow in fe.conf: false
2026-08-05 11:06:34.813 INFO [main] (RegressionTest.groovy:153) -
================================================================================
2026-08-05 11:06:34.814 INFO [main] (RegressionTest.groovy:154) - Log file:
/private/tmp/doris-fix-streaming-job-metrics-master/output/regression-test/log/doris-regression-test.20260805.110633.log
2026-08-05 11:06:34.814 INFO [main] (RegressionTest.groovy:155) -
================================================================================
2026-08-05 11:06:34.814 INFO [main] (RegressionTest.groovy:164) - parallel =
10, suiteParallel = 10, actionParallel = 10
2026-08-05 11:06:34.946 INFO [main] (RegressionTest.groovy:498) - Begin to
load plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugin_cluster_version.groovy
2026-08-05 11:06:34.967 INFO [main] (RegressionTest.groovy:500) - Loaded
plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugin_cluster_version.groovy
2026-08-05 11:06:35.504 INFO [main] (RegressionTest.groovy:498) - Begin to
load plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/cloud_stage_ram_plugin.groovy
2026-08-05 11:06:35.505 INFO [main] (cloud_stage_ram_plugin.groovy:41) -
Added 'getRoleName' function to Suite
2026-08-05 11:06:35.505 INFO [main] (cloud_stage_ram_plugin.groovy:46) -
Added 'getExternalId' function to Suite
2026-08-05 11:06:35.506 INFO [main] (cloud_stage_ram_plugin.groovy:98) -
Added 'getRole' function to Suite
2026-08-05 11:06:35.507 INFO [main] (cloud_stage_ram_plugin.groovy:143) -
Added 'attachPolicy' function to Suite
2026-08-05 11:06:35.507 INFO [main] (cloud_stage_ram_plugin.groovy:336) -
Added 'createRole' function to Suite
2026-08-05 11:06:35.508 INFO [main] (cloud_stage_ram_plugin.groovy:371) -
Added 'detachPolicy' function to Suite
2026-08-05 11:06:35.508 INFO [main] (cloud_stage_ram_plugin.groovy:424) -
Added 'deleteRole' function to Suite
2026-08-05 11:06:35.509 INFO [main] (RegressionTest.groovy:500) - Loaded
plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/cloud_stage_ram_plugin.groovy
2026-08-05 11:06:35.561 INFO [main] (RegressionTest.groovy:498) - Begin to
load plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugin_async_job_wait.groovy
2026-08-05 11:06:35.562 INFO [main] (plugin_async_job_wait.groovy:42) -
Added 'getLoadFinalState' function to Suite
2026-08-05 11:06:35.563 INFO [main] (plugin_async_job_wait.groovy:64) -
Added 'getAlterColumnFinalState' function to Suite
2026-08-05 11:06:35.563 INFO [main] (plugin_async_job_wait.groovy:86) -
Added 'getAlterRollupFinalState' function to Suite
2026-08-05 11:06:35.564 INFO [main] (RegressionTest.groovy:500) - Loaded
plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugin_async_job_wait.groovy
2026-08-05 11:06:35.700 INFO [main] (RegressionTest.groovy:498) - Begin to
load plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/aliyun_oss_sdk.groovy
2026-08-05 11:06:35.717 INFO [main] (RegressionTest.groovy:500) - Loaded
plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/aliyun_oss_sdk.groovy
2026-08-05 11:06:35.748 INFO [main] (RegressionTest.groovy:498) - Begin to
load plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugins_get_ids_from_proc.groovy
2026-08-05 11:06:35.751 INFO [main] (RegressionTest.groovy:500) - Loaded
plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugins_get_ids_from_proc.groovy
2026-08-05 11:06:35.785 INFO [main] (RegressionTest.groovy:498) - Begin to
load plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/cloud_resource_plugin.groovy
2026-08-05 11:06:35.787 INFO [main] (cloud_resource_plugin.groovy:75) -
Added 'getObjStoreInfo' function to Suite
2026-08-05 11:06:35.787 INFO [main] (RegressionTest.groovy:500) - Loaded
plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/cloud_resource_plugin.groovy
2026-08-05 11:06:35.800 INFO [main] (RegressionTest.groovy:498) - Begin to
load plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugin_get_table_properties.groovy
2026-08-05 11:06:35.801 INFO [main] (plugin_get_table_properties.groovy:34)
- Added 'get_table_replica_num' function to Suite
2026-08-05 11:06:35.802 INFO [main] (RegressionTest.groovy:500) - Loaded
plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugin_get_table_properties.groovy
2026-08-05 11:06:35.890 INFO [main] (RegressionTest.groovy:498) - Begin to
load plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/cloud_abnormal_plugin.groovy
2026-08-05 11:06:35.894 INFO [main] (RegressionTest.groovy:500) - Loaded
plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/cloud_abnormal_plugin.groovy
2026-08-05 11:06:35.907 INFO [main] (RegressionTest.groovy:498) - Begin to
load plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/test_helper.groovy
2026-08-05 11:06:35.907 INFO [main] (test_helper.groovy:65) - Added
'createTestTable' function to Suite
2026-08-05 11:06:35.907 INFO [main] (RegressionTest.groovy:500) - Loaded
plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/test_helper.groovy
2026-08-05 11:06:35.936 INFO [main] (RegressionTest.groovy:498) - Begin to
load plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugin_example.groovy
2026-08-05 11:06:35.937 INFO [main] (plugin_example.groovy:34) - Added
'testPlugin' function to Suite
2026-08-05 11:06:35.937 INFO [main] (plugin_example.groovy:54) - Added
'check2_doris' function to Suite
2026-08-05 11:06:35.938 INFO [main] (RegressionTest.groovy:500) - Loaded
plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugin_example.groovy
2026-08-05 11:06:36.080 INFO [main] (RegressionTest.groovy:498) - Begin to
load plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugins_create_table_nested_type.groovy
2026-08-05 11:06:36.082 INFO [main]
(plugins_create_table_nested_type.groovy:109) - Added
'create_table_with_nested_type' function to Suite
2026-08-05 11:06:36.084 INFO [main]
(plugins_create_table_nested_type.groovy:147) - Added
'get_create_table_with_nested_type' function to Suite
2026-08-05 11:06:36.085 INFO [main] (RegressionTest.groovy:500) - Loaded
plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugins_create_table_nested_type.groovy
2026-08-05 11:06:36.118 INFO [main] (RegressionTest.groovy:498) - Begin to
load plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugin_ranger.groovy
2026-08-05 11:06:36.120 INFO [main] (RegressionTest.groovy:500) - Loaded
plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugin_ranger.groovy
2026-08-05 11:06:36.312 INFO [main] (RegressionTest.groovy:498) - Begin to
load plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/cloud_show_data_plugin.groovy
2026-08-05 11:06:36.319 INFO [main] (RegressionTest.groovy:500) - Loaded
plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/cloud_show_data_plugin.groovy
2026-08-05 11:06:36.460 INFO [main] (RegressionTest.groovy:498) - Begin to
load plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugin_query_timeout_debugger.groovy
2026-08-05 11:06:36.480 INFO [main]
(plugin_query_timeout_debugger.groovy:120) - worker started with scheduler
2026-08-05 11:06:36.486 INFO [main] (RegressionTest.groovy:500) - Loaded
plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugin_query_timeout_debugger.groovy
2026-08-05 11:06:36.491 WARN [query-timeout-debugger-thread]
(plugin_query_timeout_debugger.groovy:116) - work exception: Communications
link failure
The last packet sent successfully to the server was 0 milliseconds ago. The
driver has not received any packets from the server.
com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link
failure
The last packet sent successfully to the server was 0 milliseconds ago. The
driver has not received any packets from the server.
at
com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174)
at
com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64)
at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:829)
at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:449)
at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:242)
at
com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:198)
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:681)
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:229)
at
org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321)
at
PluginQueryTimeoutDebugger.initBackendsUrls(plugin_query_timeout_debugger.groovy:150)
at
org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321)
at
PluginQueryTimeoutDebugger.work(plugin_query_timeout_debugger.groovy:135)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:343)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:328)
at
org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:342)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1007)
at
org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321)
at
PluginQueryTimeoutDebugger$_startWorker_closure2.doCall(plugin_query_timeout_debugger.groovy:114)
at
PluginQueryTimeoutDebugger$_startWorker_closure2.doCall(plugin_query_timeout_debugger.groovy)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:343)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:328)
at
org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:279)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1007)
at groovy.lang.Closure.call(Closure.java:433)
at groovy.lang.Closure.call(Closure.java:412)
at groovy.lang.Closure.run(Closure.java:505)
at
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at
java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
at
java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications
link failure
The last packet sent successfully to the server was 0 milliseconds ago. The
driver has not received any packets from the server.
at
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
at
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at
java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
at
java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
at
com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61)
at
com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105)
at
com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151)
at
com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167)
at
com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:89)
at com.mysql.cj.NativeSession.connect(NativeSession.java:120)
at
com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:949)
at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:819)
... 37 common frames omitted
Caused by: java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
at
java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:554)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:602)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
at java.base/java.net.Socket.connect(Socket.java:633)
at
com.mysql.cj.protocol.StandardSocketFactory.connect(StandardSocketFactory.java:156)
at
com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:63)
... 40 common frames omitted
2026-08-05 11:06:36.498 INFO [main] (RegressionTest.groovy:498) - Begin to
load plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugin_check.groovy
2026-08-05 11:06:36.499 INFO [main] (plugin_check.groovy:40) - Added
'check_sql_equal' function to Suite
2026-08-05 11:06:36.499 INFO [main] (RegressionTest.groovy:500) - Loaded
plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugin_check.groovy
2026-08-05 11:06:36.679 INFO [main] (RegressionTest.groovy:498) - Begin to
load plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugin_curl_requester.groovy
2026-08-05 11:06:36.680 INFO [main] (plugin_curl_requester.groovy:147) -
Added 'http_client' function to Suite
2026-08-05 11:06:36.681 INFO [main] (plugin_curl_requester.groovy:217) -
Added 'curl' function to Suite
2026-08-05 11:06:36.681 INFO [main] (plugin_curl_requester.groovy:227) -
Added 'show_be_config' function to Suite
2026-08-05 11:06:36.682 INFO [main] (plugin_curl_requester.groovy:237) -
Added 'update_be_config' function to Suite
2026-08-05 11:06:36.682 INFO [main] (plugin_curl_requester.groovy:256) -
Added 'update_all_be_config' function to Suite
2026-08-05 11:06:36.682 INFO [main] (plugin_curl_requester.groovy:273) -
Added 'be_report_disk' function to Suite
2026-08-05 11:06:36.683 INFO [main] (plugin_curl_requester.groovy:280) -
Added 'be_report_tablet' function to Suite
2026-08-05 11:06:36.683 INFO [main] (plugin_curl_requester.groovy:287) -
Added 'be_report_task' function to Suite
2026-08-05 11:06:36.684 INFO [main] (plugin_curl_requester.groovy:327) -
Added 'check_nested_index_file' function to Suite
2026-08-05 11:06:36.684 INFO [main] (RegressionTest.groovy:500) - Loaded
plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugin_curl_requester.groovy
2026-08-05 11:06:36.720 INFO [main] (RegressionTest.groovy:498) - Begin to
load plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugin_cluster.groovy
2026-08-05 11:06:36.721 INFO [main] (RegressionTest.groovy:500) - Loaded
plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugin_cluster.groovy
2026-08-05 11:06:36.748 INFO [main] (RegressionTest.groovy:498) - Begin to
load plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugin_check_sql_single_value.groovy
2026-08-05 11:06:36.749 INFO [main]
(plugin_check_sql_single_value.groovy:51) - Added 'isSqlValueEqualToTarget'
function to Suite
2026-08-05 11:06:36.749 INFO [main]
(plugin_check_sql_single_value.groovy:79) - Added 'isSqlValueGreaterThanTarget'
function to Suite
2026-08-05 11:06:36.750 INFO [main] (RegressionTest.groovy:500) - Loaded
plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugin_check_sql_single_value.groovy
2026-08-05 11:06:36.779 INFO [main] (RegressionTest.groovy:498) - Begin to
load plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/cloud_smoke_plugin.groovy
2026-08-05 11:06:36.780 INFO [main] (cloud_smoke_plugin.groovy:47) - Added
'cloud smoke' function to Suite
2026-08-05 11:06:36.780 INFO [main] (RegressionTest.groovy:500) - Loaded
plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/cloud_smoke_plugin.groovy
2026-08-05 11:06:37.053 INFO [main] (RegressionTest.groovy:498) - Begin to
load plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/cloud_recycler_plugin.groovy
2026-08-05 11:06:37.054 INFO [main] (cloud_recycler_plugin.groovy:72) -
Added 'triggerRecycle' function to Suite
2026-08-05 11:06:37.054 INFO [main] (cloud_recycler_plugin.groovy:207) -
Added 'checkRecycleTable' function to Suite
2026-08-05 11:06:37.055 INFO [main] (cloud_recycler_plugin.groovy:314) -
Added 'checkRecycleInternalStage' function to Suite
2026-08-05 11:06:37.055 INFO [main] (cloud_recycler_plugin.groovy:458) -
Added 'checkRecycleExpiredStageObjects' function to Suite
2026-08-05 11:06:37.056 INFO [main] (cloud_recycler_plugin.groovy:601) -
Added 'checkRecycleMetrics' function to Suite
2026-08-05 11:06:37.056 INFO [main] (RegressionTest.groovy:500) - Loaded
plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/cloud_recycler_plugin.groovy
2026-08-05 11:06:37.070 INFO [main] (RegressionTest.groovy:498) - Begin to
load plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/cloud_cluster_op_plugin.groovy
2026-08-05 11:06:37.071 INFO [main] (cloud_cluster_op_plugin.groovy:85) -
Added 'cloud cluster op' function to Suite
2026-08-05 11:06:37.071 INFO [main] (RegressionTest.groovy:500) - Loaded
plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/cloud_cluster_op_plugin.groovy
2026-08-05 11:06:37.140 INFO [main] (RegressionTest.groovy:498) - Begin to
load plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugin_profile_plan_tree.groovy
2026-08-05 11:06:37.141 INFO [main] (plugin_profile_plan_tree.groovy:298) -
Added 'profile_plan_tree', 'profile_plan_tree_from_id' and
'profile_plan_tree_from_sql' to Suite
2026-08-05 11:06:37.141 INFO [main] (RegressionTest.groovy:500) - Loaded
plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugin_profile_plan_tree.groovy
2026-08-05 11:06:37.195 INFO [main] (RegressionTest.groovy:498) - Begin to
load plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/cloud_compaction_plugin.groovy
2026-08-05 11:06:37.198 INFO [main] (cloud_compaction_plugin.groovy:122) -
Added 'doCloudCompaction' function to Suite
2026-08-05 11:06:37.199 INFO [main] (RegressionTest.groovy:500) - Loaded
plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/cloud_compaction_plugin.groovy
2026-08-05 11:06:37.239 INFO [main] (RegressionTest.groovy:498) - Begin to
load plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugin_planner.groovy
2026-08-05 11:06:37.240 INFO [main] (RegressionTest.groovy:500) - Loaded
plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugin_planner.groovy
2026-08-05 11:06:37.268 INFO [main] (RegressionTest.groovy:498) - Begin to
load plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugin_index_change.groovy
2026-08-05 11:06:37.271 INFO [main] (RegressionTest.groovy:500) - Loaded
plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugin_index_change.groovy
2026-08-05 11:06:37.278 INFO [main] (RegressionTest.groovy:498) - Begin to
load plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugin_must_contains.groovy
2026-08-05 11:06:37.280 INFO [main] (plugin_must_contains.groovy:30) - Added
'mustContain' function to Suite
2026-08-05 11:06:37.280 INFO [main] (RegressionTest.groovy:500) - Loaded
plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugin_must_contains.groovy
2026-08-05 11:06:37.289 INFO [main] (RegressionTest.groovy:498) - Begin to
load plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/cloud_filecache_plugin.groovy
2026-08-05 11:06:37.289 INFO [main] (RegressionTest.groovy:500) - Loaded
plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/cloud_filecache_plugin.groovy
2026-08-05 11:06:37.299 INFO [main] (RegressionTest.groovy:498) - Begin to
load plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/cloud_smooth_upgrade.groovy
2026-08-05 11:06:37.299 INFO [main] (cloud_smooth_upgrade.groovy:64) - Added
'addNodeForSmoothUpgrade' function to Suite
2026-08-05 11:06:37.300 INFO [main] (RegressionTest.groovy:500) - Loaded
plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/cloud_smooth_upgrade.groovy
2026-08-05 11:06:37.539 INFO [main] (RegressionTest.groovy:498) - Begin to
load plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugin_compaction.groovy
2026-08-05 11:06:37.541 INFO [main] (plugin_compaction.groovy:43) - Added
'be_run_base_compaction' function to Suite
2026-08-05 11:06:37.541 INFO [main] (plugin_compaction.groovy:49) - Added
'be_run_cumulative_compaction' function to Suite
2026-08-05 11:06:37.542 INFO [main] (plugin_compaction.groovy:63) - Added
'be_run_full_compaction' function to Suite
2026-08-05 11:06:37.543 INFO [main] (plugin_compaction.groovy:64) - Added
'be_run_binlog_compaction' function to Suite
2026-08-05 11:06:37.543 INFO [main] (RegressionTest.groovy:500) - Loaded
plugin:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/plugins/plugin_compaction.groovy
2026-08-05 11:06:37.544 INFO [main] (RegressionTest.groovy:105) - === run 0
time ===
2026-08-05 11:06:37.546 INFO [main] (RegressionTest.groovy:343) - run
scripts in directories: [job_p0/streaming_job/cdc]
2026-08-05 11:06:37.546 INFO [main] (RegressionTest.groovy:345) - Start to
run load scripts
2026-08-05 11:06:37.932 INFO [main] (RegressionTest.groovy:312) - Start to
run single scripts
2026-08-05 11:06:37.932 INFO [main] (RegressionTest.groovy:351) - Start to
run scripts
2026-08-05 11:06:40.523 INFO [script-thread-10] (SuiteScript.groovy:48) -
run
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/suites/job_p0/streaming_job/cdc/test_streaming_mysql_job_metrics.groovy
2026-08-05 11:06:40.533 INFO [script-thread-10] (SuiteContext.groovy:108) -
packageName: job_p0/streaming_job/cdc/test_streaming_mysql_job_metrics.groovy
2026-08-05 11:06:40.533 INFO [script-thread-10] (SuiteContext.groovy:119) -
scriptFileName: test_streaming_mysql_job_metrics.groovy
2026-08-05 11:06:40.534 INFO [script-thread-10] (SuiteContext.groovy:103) -
flowName:
job_p0.streaming_job.cdc.test_streaming_mysql_job_metrics.test_streaming_mysql_job_metrics,
flowId:
job_p0/streaming_job/cdc/test_streaming_mysql_job_metrics.groovy#test_streaming_mysql_job_metrics
2026-08-05 11:06:42.653 INFO [main] (RegressionTest.groovy:312) - Start to
run single scripts
2026-08-05 11:06:49.006 INFO [main] (RegressionTest.groovy:357) - Start to
run check hash bucket table scripts
2026-08-05 11:06:49.199 INFO [main] (RegressionTest.groovy:312) - Start to
run single scripts
2026-08-05 11:06:49.200 INFO [main] (RegressionTest.groovy:448) - Success
suites:
/private/tmp/doris-fix-streaming-job-metrics-master/regression-test/suites/job_p0/streaming_job/cdc/test_streaming_mysql_job_metrics.groovy:
group=p0,external,mysql,external_docker,external_docker_mysql,nondatalake,
name=test_streaming_mysql_job_metrics
2026-08-05 11:06:49.200 INFO [main] (RegressionTest.groovy:530) - All suites
success.
____ _ ____ ____ _____ ____
| _ \ / \ / ___/ ___|| ____| _ \
| |_) / _ \ \___ \___ \| _| | | | |
| __/ ___ \ ___) |__) | |___| |_| |
|_| /_/ \_\____/____/|_____|____/
2026-08-05 11:06:49.201 INFO [main] (RegressionTest.groovy:478) - Test 1
suites, failed 0 suites, fatal 0 scripts, skipped 0 scripts
2026-08-05 11:06:49.201 INFO [main] (RegressionTest.groovy:130) - Test
finished
2026-08-05 11:06:49.201 INFO [main] (RegressionTest.groovy:153) -
================================================================================
2026-08-05 11:06:49.201 INFO [main] (RegressionTest.groovy:154) - Log file:
/private/tmp/doris-fix-streaming-job-metrics-master/output/regression-test/log/doris-regression-test.20260805.110633.log
2026-08-05 11:06:49.201 INFO [main] (RegressionTest.groovy:155) -
================================================================================
2026-08-05 11:06:49.202 INFO [Thread-1]
(plugin_query_timeout_debugger.groovy:124) - stop worker\n - The dry-run
loaded the selected suite successfully: 1 suite, 0 failures. Full CDC execution
was not run locally.\n - [ ] No need to test or manual test.\n\n- Behavior
changed:\n - [x] No.\n - [ ] Yes.\n\n- Does this need documentation?\n
- [x] No.\n - [ ] Yes.\n\n### Check List (For Reviewer who merge this
PR)\n\n- [ ] Confirm the release note\n- [ ] Confirm test cases\n- [ ] Confirm
document\n- [ ] Add branch pick label\n
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]