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

Skip cases that uses the deprecated protocol TLS 1.1 #4229

Merged
merged 12 commits into from
Sep 6, 2023

Conversation

QU3B1M
Copy link
Member

@QU3B1M QU3B1M commented Jun 6, 2023

Related issue
#4188

Description

The tests cases that use ssl protocol TLS 1.1 were failing, doing fast research I found that TLS 1.1 and TLS 1.2 were deprecated some time ago, and using TLS 1.1 causes unexpected internal errors on the python ssl library.

First I tried to find a workaround to make TLS 1.1 work I didn't succeed, then I tried to run the cases only when the host system has installed a version of OpenSSL where the protocols are still supported, but that took me a lot of time and I still wasn't sure the critearia was ok. So, after several hours doing research and testing, it was decided to skip the TLS 1.1 cases until the refactor of the test scenario.

Updated

  • test_authd/test_authd_ssl_options.py
  • test_authd/data/enroll_ssl_options_tests.yaml

Testing performed

Tester Test path Jenkins Local OS Commit Notes
@QU3B1M (Developer) test_authd/test_authd_ssl_options.py 🚫 🟢 🟢 🟢 Ubuntu 20.04 7bc1f47 Nothing to highlight
@damarisg (Reviewer) test_authd/ 🟡 🟡🟡 🚫 Ubuntu 20.04 7bc1f47 All cases work successfully. It's yellow because there are Warnings reported in previous executions.

@QU3B1M QU3B1M marked this pull request as ready for review June 6, 2023 14:52
@QU3B1M QU3B1M self-assigned this Jun 6, 2023
@QU3B1M QU3B1M linked an issue Jun 6, 2023 that may be closed by this pull request
@QU3B1M QU3B1M requested a review from damarisg June 6, 2023 14:53
QU3B1M and others added 9 commits June 9, 2023 14:23
* feat(#3541): enhacement syscollector test

* feat(#3541): added test cases

* refactor(#3541): deleted old files

* feat(#3541): added test cases folder

* feat(#3541): added new description

* fix(#3541): deleted space

* fix(#3541): linter errors

* fix(#3541): Fix changelog error

* fix(#3451): deleted imports

* fix(#3541): adapt cases to new expected payload

* fix(#3541): style to docstrings and remove remaining print

---------

Co-authored-by: quebim <[email protected]>
* docs(#3860): update changelog

* feat(#3860): add new fixtures

* refactor(#3860): update test_large_changes

* docs(#3860): remove typo

* docs(#3860): updated docu and cases description
@damarisg damarisg self-requested a review June 16, 2023 13:25
damarisg
damarisg previously approved these changes Jun 16, 2023
CHANGELOG.md Outdated Show resolved Hide resolved
juliamagan
juliamagan previously approved these changes Jul 17, 2023
Copy link
Member

@juliamagan juliamagan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@davidjiglesias davidjiglesias merged commit 088ea7e into 4.6.0 Sep 6, 2023
3 of 4 checks passed
@davidjiglesias davidjiglesias deleted the 4188-fix-openssl-errors branch September 6, 2023 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test_ossec_auth_configurations tests are failing
6 participants