Skip to content

Commit 43a9f80

Browse files
authored
Add more debug logging to channelID test failures (#2130)
### Description of changes: The [GitHub Mac runners occasionally fail](https://github.com/aws/aws-lc/actions/runs/12839452846/job/35806842991?pr=2127) the Channel ID tests with an error like: ``` bad error (wanted ':CHANNEL_ID_SIGNATURE_INVALID:' / ''): local error 'channel ID unexpectedly negotiated', child error 'exit status 1', stdout: ``` This change logs more things to get more info to help debugging these failures. ### Call-outs: I wasn't able to test this code path locally because I can't get these failures to reproduce locally. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.
1 parent 46e9e53 commit 43a9f80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ssl/test/runner/runner.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,7 @@ func doExchange(test *testCase, config *Config, conn net.Conn, isResume bool, tr
903903
return fmt.Errorf("incorrect channel ID")
904904
}
905905
} else if connState.ChannelID != nil {
906-
return fmt.Errorf("channel ID unexpectedly negotiated")
906+
return fmt.Errorf("channel ID unexpectedly negotiated, got id: %v, full connState: %+v", connState.ChannelID, connState)
907907
}
908908

909909
if expected := expectations.nextProto; expected != "" {

0 commit comments

Comments
 (0)