Skip to content

Conversation

@bneradt
Copy link
Contributor

@bneradt bneradt commented Jun 19, 2023

I ran autest on fedora:38 and noticed that all but three passed. This commit updates our autests to work with the newer openssl s_client and Python3.11.

The most significant set of changes come from hyper being abandoned an no longer working on Python 3.11. This converts the ad-hoc clients we had written in hyper to the h2 framework.

I kept the work for the three tests as three separate commits.

bneradt added 3 commits June 19, 2023 17:29
The microserver replies with slightly different unsupported HTTP method
content with Python 3.11. This updates the gold file for the new output.
Apparently we don't close connections with the close_notify alert.
hyper is now abandonware. Converting the ad-hoc HTTP/2 clients in
tets/gold_tests/h2 to the h2 framework.
@bneradt bneradt added the AuTest label Jun 19, 2023
@bneradt bneradt added this to the 10.0.0 milestone Jun 19, 2023
@bneradt bneradt self-assigned this Jun 19, 2023
@bneradt bneradt requested a review from serrislew June 26, 2023 16:24
@bneradt bneradt merged commit 4310521 into apache:master Jun 26, 2023
@bneradt bneradt deleted the fix_autest_for_fedora_38 branch June 26, 2023 17:37
bneradt added a commit to bneradt/trafficserver that referenced this pull request Jul 5, 2023
I ran autest on fedora:38 and noticed that all but three passed. This commit updates our autests to work with the newer openssl s_client and Python3.11.

The most significant set of changes come from hyper being abandoned an no longer working on Python 3.11. This converts the ad-hoc clients we had written in hyper to the h2 framework.

(cherry picked from commit 4310521)
bneradt added a commit to bneradt/trafficserver that referenced this pull request Jul 5, 2023
I ran autest on fedora:38 and noticed that all but three passed. This commit updates our autests to work with the newer openssl s_client and Python3.11.

The most significant set of changes come from hyper being abandoned an no longer working on Python 3.11. This converts the ad-hoc clients we had written in hyper to the h2 framework.

(cherry picked from commit 4310521)
zwoop pushed a commit that referenced this pull request Jul 5, 2023
* Fix autest for OpenSSL 3.0 (#9753)

* Fix forward-non-http autest for OpenSSL 3.0

* Fix tls-verify-override autest for OpenSSL 3.0

* Fix tls_client_versions autest with OpenSSL 3.0

* Update test-nc-s_client.sh

Added an EOF to test-nc-s_client.sh

(cherry picked from commit e6d2fb1)

Conflicts:
      tests/gold_tests/tls/test-nc-s_client.sh

* Fix autests for fedora 38 (#9881)

I ran autest on fedora:38 and noticed that all but three passed. This commit updates our autests to work with the newer openssl s_client and Python3.11.

The most significant set of changes come from hyper being abandoned an no longer working on Python 3.11. This converts the ad-hoc clients we had written in hyper to the h2 framework.

(cherry picked from commit 4310521)

* Replace httpbin with go-httpbin (#9475)

The Python httpbin is no longer maintained and has dependency issues upon an old Werkzeug from which we would like to unpin. This converts our tests to using go-httpbin instead of the Python httpbin module.

(cherry picked from commit 796391e)

Conflicts:
      tests/gold_tests/proxy_protocol/gold/test_case_0_stdout.gold
      tests/gold_tests/proxy_protocol/gold/test_case_1_stdout.gold
      tests/gold_tests/proxy_protocol/gold/test_case_2_stdout.gold
      tests/gold_tests/proxy_protocol/gold/test_case_3_stderr.gold
      tests/gold_tests/proxy_protocol/gold/test_case_3_stdout.gold
      tests/gold_tests/proxy_protocol/gold/test_case_4_stderr.gold
      tests/gold_tests/proxy_protocol/gold/test_case_4_stdout.gold

* Updates for the new go-httpbin v2.6.0 release. (#9633)

go-httpbin@v2.6.0 fixes /bytes/0 to actually return 0 bytes. This patch
accommodates our autests for that fix and any other behavioral changes.

(cherry picked from commit a9cb994)

* Fix test_tsapi.cc shutdown crash

The global namespace destructor for the test_tsapi.cc used in
tsapi.test.py would crash on shutdown. This does the cleanup in a
shutdown handler rather than in the global namespace.

---------

Co-authored-by: midchildan <git@midchildan.org>
masaori335 pushed a commit to masaori335/trafficserver that referenced this pull request Sep 26, 2023
* Fix autest for OpenSSL 3.0 (apache#9753)

* Fix forward-non-http autest for OpenSSL 3.0

* Fix tls-verify-override autest for OpenSSL 3.0

* Fix tls_client_versions autest with OpenSSL 3.0

* Update test-nc-s_client.sh

Added an EOF to test-nc-s_client.sh

(cherry picked from commit e6d2fb1)

Conflicts:
      tests/gold_tests/tls/test-nc-s_client.sh

* Fix autests for fedora 38 (apache#9881)

I ran autest on fedora:38 and noticed that all but three passed. This commit updates our autests to work with the newer openssl s_client and Python3.11.

The most significant set of changes come from hyper being abandoned an no longer working on Python 3.11. This converts the ad-hoc clients we had written in hyper to the h2 framework.

(cherry picked from commit 4310521)

* Replace httpbin with go-httpbin (apache#9475)

The Python httpbin is no longer maintained and has dependency issues upon an old Werkzeug from which we would like to unpin. This converts our tests to using go-httpbin instead of the Python httpbin module.

(cherry picked from commit 796391e)

Conflicts:
      tests/gold_tests/proxy_protocol/gold/test_case_0_stdout.gold
      tests/gold_tests/proxy_protocol/gold/test_case_1_stdout.gold
      tests/gold_tests/proxy_protocol/gold/test_case_2_stdout.gold
      tests/gold_tests/proxy_protocol/gold/test_case_3_stderr.gold
      tests/gold_tests/proxy_protocol/gold/test_case_3_stdout.gold
      tests/gold_tests/proxy_protocol/gold/test_case_4_stderr.gold
      tests/gold_tests/proxy_protocol/gold/test_case_4_stdout.gold

* Updates for the new go-httpbin v2.6.0 release. (apache#9633)

go-httpbin@v2.6.0 fixes /bytes/0 to actually return 0 bytes. This patch
accommodates our autests for that fix and any other behavioral changes.

(cherry picked from commit a9cb994)

* Fix test_tsapi.cc shutdown crash

The global namespace destructor for the test_tsapi.cc used in
tsapi.test.py would crash on shutdown. This does the cleanup in a
shutdown handler rather than in the global namespace.

---------

Co-authored-by: midchildan <git@midchildan.org>
(cherry picked from commit 92eebcd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants