Flaky test: Test/SubChannelMetrics_ConnectionLifecycle
Author: Pranjali-2501Created Sep 14, 2026Updated Sep 14, 2026
LabelsP1Area: Testing
Test error log:
--- FAIL: Test (1.70s)
--- FAIL: Test/SubChannelMetrics_ConnectionLifecycle (0.01s)
tlogger.go:133: INFO server.go:742 [core] [Server #198] Server created (t=+282.245µs)
stubserver.go:300: Started test service backend at "127.0.0.1:41909"
tlogger.go:133: INFO clientconn.go:1829 [core] original dial target is: "whatever:///" (t=+521.064µs)
tlogger.go:133: INFO clientconn.go:514 [core] [Channel #199] Channel created for target "whatever:///" (t=+549.447µs)
tlogger.go:133: INFO clientconn.go:245 [core] [Channel #199] parsed dial target is: resolver.Target{URL:url.URL{Scheme:"whatever", Opaque:"", User:(*url.Userinfo)(nil), Host:"", Path:"/", Fragment:"", RawQuery:"", RawPath:"", RawFragment:"", ForceQuery:false, OmitHost:false}} (t=+578.541µs)
tlogger.go:133: INFO clientconn.go:246 [core] [Channel #199] Channel authority set to "" (t=+594.915µs)
tlogger.go:133: INFO clientconn.go:619 [core] [Channel #199] Channel Connectivity change to CONNECTING (t=+629.217µs)
tlogger.go:133: INFO server.go:948 [core] [Server #198 ListenSocket #200] ListenSocket created (t=+714.515µs)
tlogger.go:133: INFO balancer_wrapper.go:121 [core] [Channel #199] Channel switches to new LB policy "pick_first" (t=+769.148µs)
tlogger.go:133: INFO clientconn.go:922 [core] [Channel #199 SubChannel #201] Subchannel created (t=+822.628µs)
tlogger.go:133: INFO clientconn.go:419 [core] [Channel #199] Channel exiting idle mode (t=+854.877µs)
tlogger.go:133: INFO clientconn.go:1308 [core] [Channel #199 SubChannel #201] Subchannel Connectivity change to CONNECTING (t=+924.882µs)
tlogger.go:133: INFO clientconn.go:1476 [core] [Channel #199 SubChannel #201] Subchannel picks a new address "bad address" to connect (t=+941.617µs)
tlogger.go:129: WARNING clientconn.go:1539 [core] [Channel #199 SubChannel #201] grpc: addrConn.createTransport failed to connect to {Addr: "bad address", ServerName: "", }. Err: connection error: desc = "transport: Error while dialing: dial tcp: address bad address: missing port in address" (t=+976.31µs)
tlogger.go:133: INFO clientconn.go:1310 [core] [Channel #199 SubChannel #201] Subchannel Connectivity change to TRANSIENT_FAILURE, last error: connection error: desc = "transport: Error while dialing: dial tcp: address bad address: missing port in address" (t=+1.012754ms)
tlogger.go:133: INFO clientconn.go:619 [core] [Channel #199] Channel Connectivity change to TRANSIENT_FAILURE (t=+1.051363ms)
tlogger.go:133: INFO clientconn.go:1308 [core] [Channel #199 SubChannel #201] Subchannel Connectivity change to SHUTDOWN (t=+1.147327ms)
tlogger.go:133: INFO clientconn.go:1702 [core] [Channel #199 SubChannel #201] Subchannel deleted (t=+1.166436ms)
tlogger.go:133: INFO clientconn.go:922 [core] [Channel #199 SubChannel #202] Subchannel created (t=+1.191684ms)
tlogger.go:133: INFO clientconn.go:1308 [core] [Channel #199 SubChannel #202] Subchannel Connectivity change to CONNECTING (t=+1.244163ms)
tlogger.go:133: INFO clientconn.go:1476 [core] [Channel #199 SubChannel #202] Subchannel picks a new address "127.0.0.1:41909" to connect (t=+1.258885ms)
tlogger.go:133: INFO clientconn.go:619 [core] [Channel #199] Channel Connectivity change to CONNECTING (t=+1.404484ms)
tlogger.go:133: INFO clientconn.go:1308 [core] [Channel #199 SubChannel #202] Subchannel Connectivity change to READY (t=+1.679728ms)
tlogger.go:133: INFO clientconn.go:619 [core] [Channel #199] Channel Connectivity change to READY (t=+2.866501ms)
tlogger.go:133: INFO server.go:884 [core] [Server #198 ListenSocket #200] ListenSocket deleted (t=+3.279773ms)
tlogger.go:133: INFO clientconn.go:1308 [core] [Channel #199 SubChannel #202] Subchannel Connectivity change to IDLE (t=+3.435638ms)
tlogger.go:133: INFO clientconn.go:619 [core] [Channel #199] Channel Connectivity change to IDLE (t=+3.50328ms)
e2e_test.go:2266: Metric grpc.subchannel.connection_attempts_succeeded not present in recorded metrics
tlogger.go:133: INFO clientconn.go:619 [core] [Channel #199] Channel Connectivity change to SHUTDOWN (t=+3.673796ms)
tlogger.go:133: INFO resolver_wrapper.go:112 [core] [Channel #199] Closing the name resolver (t=+3.691212ms)
tlogger.go:133: INFO balancer_wrapper.go:159 [core] [Channel #199] ccBalancerWrapper: closing (t=+3.738143ms)
tlogger.go:133: INFO clientconn.go:1308 [core] [Channel #199 SubChannel #202] Subchannel Connectivity change to SHUTDOWN (t=+3.78268ms)
tlogger.go:133: INFO clientconn.go:1702 [core] [Channel #199 SubChannel #202] Subchannel deleted (t=+4.744743ms)
tlogger.go:133: INFO clientconn.go:1237 [core] [Channel #199] Channel deleted (t=+4.76308ms)
FAILhttps://github.com/grpc/grpc-go/actions/runs/34820161163/job/103899677304?pr=9415
Source: grpc/grpc-go