Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: use tls 1.2 on TLSClientAuth test #11510

Merged
merged 3 commits into from
Aug 29, 2023

Conversation

kruskall
Copy link
Member

@kruskall kruskall commented Aug 28, 2023

Motivation/summary

This test is failing on Go 1.21+ because the alert/error message was fixed is now returning 'certificate required' instead of 'bad certificate'.

See https://go.dev/doc/go1.21#crypto/tls

Checklist

- [ ] Update CHANGELOG.asciidoc
- [ ] Update package changelog.yml (only if changes to apmpackage have been made)
- [ ] Documentation has been updated

For functional changes, consider:

  • Is it observable through the addition of either logging or metrics?
  • Is its use being published in telemetry to enable product improvement?
  • Have system tests been added to avoid regression?

How to test these changes

GOTESTFLAGS="-run=TestTLSClientAuth" make system-test

Related issues

Closes #11500

This test is failing on Go 1.21+ because the alert/error message was
fixed is now returning 'certificate required' instead of
'bad certificate'.

See https://go.dev/doc/go1.21#crypto/tls
@kruskall kruskall requested a review from a team as a code owner August 28, 2023 17:06
@mergify
Copy link
Contributor

mergify bot commented Aug 28, 2023

This pull request does not have a backport label. Could you fix it @kruskall? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-7.17 is the label to automatically backport to the 7.17 branch.
  • backport-8./d is the label to automatically backport to the 8./d branch. /d is the digit.

NOTE: backport-skip has been added to this pull request.

@mergify mergify bot added the backport-skip Skip notification from the automated backport with mergify label Aug 28, 2023
@marclop
Copy link
Contributor

marclop commented Aug 28, 2023

TestIntake is now failing. Is it flaky?

@kruskall
Copy link
Member Author

TestIntake is now failing. Is it flaky?

I guess so, I've rerun the tests

@kruskall kruskall merged commit e5a0942 into elastic:main Aug 29, 2023
7 checks passed
@kruskall kruskall deleted the test/fix-tlsclientauth-failure branch August 29, 2023 14:09
bmorelli25 pushed a commit to bmorelli25/apm-server that referenced this pull request Sep 5, 2023
This test is failing on Go 1.21+ because the alert/error message was
fixed is now returning 'certificate required' instead of
'bad certificate'.

See https://go.dev/doc/go1.21#crypto/tls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-skip Skip notification from the automated backport with mergify
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Client auth test failing on newer version of go
4 participants