You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ez...@apache.org on 2019/11/01 19:36:06 UTC

[trafficserver] branch 8.0.x updated (2c70471 -> 4fbce44)

This is an automated email from the ASF dual-hosted git repository.

eze pushed a change to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git.


    from 2c70471  Updated Changelog
     new 4b1b446  Patch from Bryan to fix autest issues
     new 111d5b2  Change select_ports to false to match existing 80x tls tests
     new c603e3b  Add setting of https server ports and waiting for https port ready
     new 4fbce44  Trying autest again, this passed in our testing container

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 tests/gold_tests/tls/tls_session_cache.test.py | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)


[trafficserver] 03/04: Add setting of https server ports and waiting for https port ready

Posted by ez...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

eze pushed a commit to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit c603e3b416cedd9a445cb32800cd3ba152d1146c
Author: ezelko260 <ev...@comcast.com>
AuthorDate: Thu Oct 31 22:11:21 2019 +0000

    Add setting of https server ports and waiting for https port ready
---
 tests/gold_tests/tls/tls_session_cache.test.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/gold_tests/tls/tls_session_cache.test.py b/tests/gold_tests/tls/tls_session_cache.test.py
index f970455..dbc9015 100644
--- a/tests/gold_tests/tls/tls_session_cache.test.py
+++ b/tests/gold_tests/tls/tls_session_cache.test.py
@@ -59,6 +59,7 @@ ts.Disk.records_config.update({
     'proxy.config.ssl.session_cache.timeout': 0,
     'proxy.config.ssl.session_cache.auto_clear': 1,
     'proxy.config.ssl.server.session_ticket.enable': 0,
+    'proxy.config.http.server_ports': '{0}:proto=http2;http:ssl'.format(ts.Variables.ssl_port),
 })
 
 # Check that Session-ID is the same on every connection
@@ -89,7 +90,7 @@ tr.Command = 'echo -e "GET / HTTP/1.0\r\n" | openssl s_client -tls1_2 -connect 1
 tr.ReturnCode = 0
 # time delay as proxy.config.http.wait_for_cache could be broken
 tr.Processes.Default.StartBefore(server)
-tr.Processes.Default.StartBefore(Test.Processes.ts)
+tr.Processes.Default.StartBefore(Test.Processes.ts, ready=When.PortOpen(ts.Variables.ssl_port))
 openssl_output = tr.Processes.Default.Streams.stdout.AbsPath
 tr.Processes.Default.Streams.All.Content = Testers.Lambda(checkSession)
 tr.StillRunningAfter = server


[trafficserver] 01/04: Patch from Bryan to fix autest issues

Posted by ez...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

eze pushed a commit to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit 4b1b446d3e1c2d81479288c06274220b3d524454
Author: ezelko260 <ev...@comcast.com>
AuthorDate: Thu Oct 31 21:22:17 2019 +0000

    Patch from Bryan to fix autest issues
---
 tests/gold_tests/tls/tls_session_cache.test.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/gold_tests/tls/tls_session_cache.test.py b/tests/gold_tests/tls/tls_session_cache.test.py
index 08d9fd2..ae3f657 100644
--- a/tests/gold_tests/tls/tls_session_cache.test.py
+++ b/tests/gold_tests/tls/tls_session_cache.test.py
@@ -23,7 +23,7 @@ Test tls session cache
 '''
 
 # Define default ATS
-ts = Test.MakeATSProcess("ts", select_ports=True, enable_tls=True)
+ts = Test.MakeATSProcess("ts", select_ports=True)
 server = Test.MakeOriginServer("server")
 
 
@@ -36,6 +36,8 @@ server.addResponse("sessionlog.json", request_header, response_header)
 ts.addSSLfile("ssl/server.pem")
 ts.addSSLfile("ssl/server.key")
 
+ts.Variables.ssl_port = 4443
+
 ts.Disk.remap_config.AddLine(
     'map / http://127.0.0.1:{0}'.format(server.Variables.Port)
 )


[trafficserver] 02/04: Change select_ports to false to match existing 80x tls tests

Posted by ez...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

eze pushed a commit to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit 111d5b20a43909cb2d72c8c520539da8f8818501
Author: ezelko260 <ev...@comcast.com>
AuthorDate: Thu Oct 31 21:56:36 2019 +0000

    Change select_ports to false to match existing 80x tls tests
---
 tests/gold_tests/tls/tls_session_cache.test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/gold_tests/tls/tls_session_cache.test.py b/tests/gold_tests/tls/tls_session_cache.test.py
index ae3f657..f970455 100644
--- a/tests/gold_tests/tls/tls_session_cache.test.py
+++ b/tests/gold_tests/tls/tls_session_cache.test.py
@@ -23,7 +23,7 @@ Test tls session cache
 '''
 
 # Define default ATS
-ts = Test.MakeATSProcess("ts", select_ports=True)
+ts = Test.MakeATSProcess("ts", select_ports=False)
 server = Test.MakeOriginServer("server")
 
 


[trafficserver] 04/04: Trying autest again, this passed in our testing container

Posted by ez...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

eze pushed a commit to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit 4fbce4494fd3e75b85abb14ebebe96ecc1045c7f
Author: ezelko260 <ev...@comcast.com>
AuthorDate: Fri Nov 1 19:11:37 2019 +0000

    Trying autest again, this passed in our testing container
---
 tests/gold_tests/tls/tls_session_cache.test.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/gold_tests/tls/tls_session_cache.test.py b/tests/gold_tests/tls/tls_session_cache.test.py
index dbc9015..c2a0d23 100644
--- a/tests/gold_tests/tls/tls_session_cache.test.py
+++ b/tests/gold_tests/tls/tls_session_cache.test.py
@@ -59,7 +59,7 @@ ts.Disk.records_config.update({
     'proxy.config.ssl.session_cache.timeout': 0,
     'proxy.config.ssl.session_cache.auto_clear': 1,
     'proxy.config.ssl.server.session_ticket.enable': 0,
-    'proxy.config.http.server_ports': '{0}:proto=http2;http:ssl'.format(ts.Variables.ssl_port),
+    'proxy.config.http.server_ports': '{0} {1}:proto=http2;http:ssl'.format(ts.Variables.port, ts.Variables.ssl_port),
 })
 
 # Check that Session-ID is the same on every connection
@@ -89,7 +89,7 @@ tr = Test.AddTestRun("OpenSSL s_client -reconnect")
 tr.Command = 'echo -e "GET / HTTP/1.0\r\n" | openssl s_client -tls1_2 -connect 127.0.0.1:{0} -reconnect'.format(ts.Variables.ssl_port)
 tr.ReturnCode = 0
 # time delay as proxy.config.http.wait_for_cache could be broken
-tr.Processes.Default.StartBefore(server)
+tr.Processes.Default.StartBefore(server, ready=When.PortOpen(server.Variables.Port))
 tr.Processes.Default.StartBefore(Test.Processes.ts, ready=When.PortOpen(ts.Variables.ssl_port))
 openssl_output = tr.Processes.Default.Streams.stdout.AbsPath
 tr.Processes.Default.Streams.All.Content = Testers.Lambda(checkSession)