Skip to content

unstable test TestVerifyCommonNameAndRotate #37819

@hawkingrei

Description

@hawkingrei

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

[2022-09-14T09:04:02.702Z] ==================== Test output for //util:util_test (shard 16 of 50):
[2022-09-14T09:04:02.702Z] === RUN   TestVerifyCommonNameAndRotate
[2022-09-14T09:04:02.703Z] 2022/09/14 17:03:59 http: TLS handshake error from 127.0.0.1:39084: client certificate authentication failed. The Common Name from the client certificate [client2 ] was not found in the configuration cluster-verify-cn with value: [client1]
[2022-09-14T09:04:02.703Z]     security_test.go:115: 
[2022-09-14T09:04:02.703Z]         	Error Trace:	/home/jenkins/.tidb/tmp/b7c8fa3cc70b7c7023fdc4f79d50df0e/sandbox/processwrapper-sandbox/3801/execroot/__main__/bazel-out/k8-fastbuild/bin/util/util_test_/util_test.runfiles/__main__/util/security_test.go:115
[2022-09-14T09:04:02.703Z]         	Error:      	Error "Get \"https://127.0.0.1:9292\": write tcp 127.0.0.1:39084->127.0.0.1:9292: write: broken pipe" does not contain "tls: bad certificate"
[2022-09-14T09:04:02.703Z]         	Test:       	TestVerifyCommonNameAndRotate
[2022-09-14T09:04:02.703Z] --- FAIL: TestVerifyCommonNameAndRotate (38.14s)

https://ci.pingcap.net/blue/rest/organizations/jenkins/pipelines/tidb_ghpr_unit_test/runs/69213/nodes/59/steps/64/log/?start=0

2. What did you expect to see? (Required)

3. What did you see instead (Required)

4. What is your TiDB version? (Required)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions