See <https://ci.trafficserver.apache.org/job/tsqa-master/657/changes>
Changes: [fpesce] TS-3683: Add a tag to log SSL Session/Ticket HIT as well as TCP connection reused [fpesce] Address James Peach mail comment about bool in API. [fpesce] Fix documentation, add request-is-ssl (cqssl) log tag [fpesce] Address @SolidWallOfCode comment, remove API [shinrich] Checkpoint commit 363a9044ab6421ef97dd3b07c1dd8b7016008d51 ------------------------------------------ [...truncated 505 lines...] INFO 2015-07-08 12:43:18,358 - sending data back to the client INFO 2015-07-08 12:43:20,760 - sending data back to the client INFO 2015-07-08 12:43:23,164 - sending data back to the client INFO 2015-07-08 12:43:27,169 - sending data back to the client ok test_chunked_keepalive_server (test_chunked.TestChunked) ... INFO 2015-07-08 12:43:31,174 - sending data back to the client INFO 2015-07-08 12:43:34,178 - sending data back to the client ok Test that the origin does in fact support keepalive ... INFO 2015-07-08 12:43:35,183 - sending data back to the client INFO 2015-07-08 12:43:38,187 - sending data back to the client INFO 2015-07-08 12:43:39,190 - sending data back to the client INFO 2015-07-08 12:43:41,192 - Client disconnected INFO 2015-07-08 12:43:41,593 - sending data back to the client INFO 2015-07-08 12:43:41,996 - sending data back to the client INFO 2015-07-08 12:43:43,997 - Client disconnected INFO 2015-07-08 12:43:46,000 - sending data back to the client ok INFO 2015-07-08 12:43:48,011 - Client disconnected INFO 2015-07-08 12:43:48,207 - Environment prefix is /tmp/tsqa.env.g1rnBu INFO 2015-07-08 12:43:50,005 - Client disconnected Verify that we get 502s from an origin which just did a bind ... ok Verify that we get 200s from origins that delayed_accept_after_connect ... ok Verify that we get 504s from origins that die_on_connect ... ok Verify that we get 502s from origins that bind + listen ... ok Verify that we get 504s from origins that return a partial_response ... FAIL Verify that we get 200s from origins that reset_after_accept ... FAIL INFO 2015-07-08 12:43:58,516 - Environment prefix is /tmp/tsqa.env.9AlAXm test_default_404 (test_example.TestBootstrap) ... ok Test that traffic_line works, and verify that the values for proxy.config ... ok INFO 2015-07-08 12:44:28,377 - Starting build (1b6c9541459e058351cd39ec55dcb772): configure {'enable-spdy': None, 'enable-ccache': None, 'enable-experimental-plugins': None, 'enable-example-plugins': None, 'enable-test-tools': None, 'disable-dependency-tracking': None} INFO 2015-07-08 12:47:00,911 - Build completed (1b6c9541459e058351cd39ec55dcb772): configure {'enable-spdy': None, 'enable-ccache': None, 'enable-experimental-plugins': None, 'enable-example-plugins': None, 'enable-test-tools': None, 'disable-dependency-tracking': None} INFO 2015-07-08 12:47:00,981 - Environment prefix is /tmp/tsqa.env.uaStwB test_spdy (test_example.TestConfigureFlags) ... ok INFO 2015-07-08 12:47:04,393 - Environment prefix is /tmp/tsqa.env.E7NTA1 test_basic_proxy (test_example.TestDynamicHTTPEndpointCase) ... 127.0.0.1 - - [08/Jul/2015 12:47:07] "GET /test HTTP/1.1" 404 0 ok INFO 2015-07-08 12:47:07,808 - Environment prefix is /tmp/tsqa.env.DxWTEH test_logs_exist (test_example.TestLogRefCounting) ... 127.0.0.1 - - [08/Jul/2015 12:47:11] "GET / HTTP/1.1" 404 0 127.0.0.1 - - [08/Jul/2015 12:47:11] "GET / HTTP/1.1" 404 0 127.0.0.1 - - [08/Jul/2015 12:47:11] "GET / HTTP/1.1" 404 0 127.0.0.1 - - [08/Jul/2015 12:47:11] "GET / HTTP/1.1" 404 0 127.0.0.1 - - [08/Jul/2015 12:47:11] "GET / HTTP/1.1" 404 0 127.0.0.1 - - [08/Jul/2015 12:47:11] "GET / HTTP/1.1" 404 0 127.0.0.1 - - [08/Jul/2015 12:47:11] "GET / HTTP/1.1" 404 0 127.0.0.1 - - [08/Jul/2015 12:47:11] "GET / HTTP/1.1" 404 0 127.0.0.1 - - [08/Jul/2015 12:47:11] "GET / HTTP/1.1" 404 0 127.0.0.1 - - [08/Jul/2015 12:47:11] "GET / HTTP/1.1" 404 0 FAIL INFO 2015-07-08 12:47:21,274 - Environment prefix is /tmp/tsqa.env.s5tX75 test_logs_exist (test_example.TestLogs) ... FAIL SKIP: Skip the entire class INFO 2015-07-08 12:47:34,712 - Environment prefix is /tmp/tsqa.env.9SEBkZ test_basic_intercept (test_example.TestServerIntercept) ... 127.0.0.1 - - [08/Jul/2015 12:47:37] "GET / HTTP/1.1" 200 5 127.0.0.1 - - [08/Jul/2015 12:47:37] "GET / HTTP/1.1" 200 5 127.0.0.1 - - [08/Jul/2015 12:47:37] "GET / HTTP/1.1" 200 5 127.0.0.1 - - [08/Jul/2015 12:47:37] "GET / HTTP/1.1" 200 5 127.0.0.1 - - [08/Jul/2015 12:47:37] "GET / HTTP/1.1" 200 5 127.0.0.1 - - [08/Jul/2015 12:47:37] "GET / HTTP/1.1" 200 5 127.0.0.1 - - [08/Jul/2015 12:47:37] "GET / HTTP/1.1" 200 5 127.0.0.1 - - [08/Jul/2015 12:47:37] "GET / HTTP/1.1" 200 5 127.0.0.1 - - [08/Jul/2015 12:47:37] "GET / HTTP/1.1" 200 5 127.0.0.1 - - [08/Jul/2015 12:47:37] "GET / HTTP/1.1" 200 5 ok INFO 2015-07-08 12:47:38,165 - Environment prefix is /tmp/tsqa.env.8joAg5 test_lookup_timeout (test_hostdb.TestHostDBFailedDNS) ... ok INFO 2015-07-08 12:47:43,595 - Environment prefix is /tmp/tsqa.env.A5zeO4 Test basic fnctionality of hosts files ... ok Test that changes to hosts file get loaded within host_file.interval ... ok INFO 2015-07-08 12:47:53,070 - Environment prefix is /tmp/tsqa.env.p2bPCj SKIP: -------------------- >> begin captured logging << -------------------- root: INFO: Environment prefix is /tmp/tsqa.env.p2bPCj --------------------- >> end captured logging << --------------------- INFO 2015-07-08 12:47:54,047 - Environment prefix is /tmp/tsqa.env.FTM4R0 test_ecdsa (test_https.TestECDSA) ... ok test_intermediate_ca_ecdsa (test_https.TestECDSA) ... ok test_intermediate_ca_rsa (test_https.TestECDSA) ... ok We should be served the first match, since we aren't sending SNI headers ... ok Make sure we get the certificate we asked for if we pass in SNI headers ... ok test_rsa (test_https.TestECDSA) ... ok We should be served the first match, since we aren't sending SNI headers ... ok Make sure we get the certificate we asked for if we pass in SNI headers ... ok INFO 2015-07-08 12:47:57,573 - Environment prefix is /tmp/tsqa.env.Lj4aXa test_ecdsa (test_https.TestMix) ... ok test_intermediate_ca_ecdsa (test_https.TestMix) ... ok test_intermediate_ca_rsa (test_https.TestMix) ... ok We should be served the first match, since we aren't sending SNI headers ... ok Make sure we get the certificate we asked for if we pass in SNI headers ... ok test_rsa (test_https.TestMix) ... ok We should be served the first match, since we aren't sending SNI headers ... ok Make sure we get the certificate we asked for if we pass in SNI headers ... ok INFO 2015-07-08 12:48:01,106 - Environment prefix is /tmp/tsqa.env.8HNDQV test_ecdsa (test_https.TestRSA) ... ok test_intermediate_ca_ecdsa (test_https.TestRSA) ... ok test_intermediate_ca_rsa (test_https.TestRSA) ... ok We should be served the first match, since we aren't sending SNI headers ... ok Make sure we get the certificate we asked for if we pass in SNI headers ... ok test_rsa (test_https.TestRSA) ... ok We should be served the first match, since we aren't sending SNI headers ... ok Make sure we get the certificate we asked for if we pass in SNI headers ... ok INFO 2015-07-08 12:48:04,642 - Environment prefix is /tmp/tsqa.env.CDoV5q test_error_path (test_keepalive.TestKeepAliveInHTTP) ... ok Ensure that sending a request with a body doesn't break the keepalive session ... ok test_working_path (test_keepalive.TestKeepAliveInHTTP) ... 127.0.0.1 - - [08/Jul/2015 12:48:07] "GET /exists/ HTTP/1.1" 200 5 127.0.0.1 - - [08/Jul/2015 12:48:07] "GET /exists/ HTTP/1.1" 200 5 127.0.0.1 - - [08/Jul/2015 12:48:07] "GET /exists/ HTTP/1.1" 200 5 127.0.0.1 - - [08/Jul/2015 12:48:07] "GET /exists/ HTTP/1.1" 200 5 127.0.0.1 - - [08/Jul/2015 12:48:07] "GET /exists/ HTTP/1.1" 200 5 127.0.0.1 - - [08/Jul/2015 12:48:07] "GET /exists/ HTTP/1.1" 200 5 127.0.0.1 - - [08/Jul/2015 12:48:07] "GET /exists/ HTTP/1.1" 200 5 127.0.0.1 - - [08/Jul/2015 12:48:07] "GET /exists/ HTTP/1.1" 200 5 127.0.0.1 - - [08/Jul/2015 12:48:07] "GET /exists/ HTTP/1.1" 200 5 ok INFO 2015-07-08 12:48:08,069 - Environment prefix is /tmp/tsqa.env.t7BT_M Tests that origin_min_keep_alive_connections is honored via http. ... ok INFO 2015-07-08 12:48:14,482 - Environment prefix is /tmp/tsqa.env.QL7HHZ Tests that origin_min_keep_alive_connections is honored via https. ... ok INFO 2015-07-08 12:48:20,909 - Environment prefix is /tmp/tsqa.env.j_xL6T Test that the origin does in fact support keepalive via http. ... ok Tests that keepalive works through ATS to origin via http. ... ok Tests that origin does not timeout using keepalive via http. ... ok Tests that keepalive timeout is honored through ATS to origin via http. ... ok INFO 2015-07-08 12:48:42,393 - Environment prefix is /tmp/tsqa.env.gzqbom Test that the origin does in fact support keepalive via https. ... ok Tests that keepalive works through ATS to origin via https. ... ok Tests that origin does not timeout using keepalive via https. ... ok Tests that keepalive timeout is honored through ATS to origin via https. ... ok INFO 2015-07-08 12:49:03,910 - Environment prefix is /tmp/tsqa.env.YMXspe Tests that keepalive works through ATS to origin via https. ... ok Tests that keepalive works through ATS to origin via https. ... ok INFO 2015-07-08 12:49:07,375 - Environment prefix is /tmp/tsqa.env.cARQpS Tests that keepalive works through ATS to origin via https. ... ok Tests that keepalive works through ATS to origin via https. ... ok INFO 2015-07-08 12:49:10,808 - Environment prefix is /tmp/tsqa.env.ZiRlvU test_redirection (test_redirection.TestRedirection) ... 127.0.0.1 - - [08/Jul/2015 12:49:14] "GET /redirect/9 HTTP/1.1" 302 229 127.0.0.1 - - [08/Jul/2015 12:49:14] "GET /redirect/8 HTTP/1.1" 302 229 127.0.0.1 - - [08/Jul/2015 12:49:14] "GET /redirect/7 HTTP/1.1" 302 229 127.0.0.1 - - [08/Jul/2015 12:49:14] "GET /redirect/6 HTTP/1.1" 302 229 127.0.0.1 - - [08/Jul/2015 12:49:14] "GET /redirect/5 HTTP/1.1" 302 229 127.0.0.1 - - [08/Jul/2015 12:49:14] "GET /redirect/4 HTTP/1.1" 302 229 127.0.0.1 - - [08/Jul/2015 12:49:14] "GET /redirect/3 HTTP/1.1" 302 229 127.0.0.1 - - [08/Jul/2015 12:49:14] "GET /redirect/2 HTTP/1.1" 302 229 127.0.0.1 - - [08/Jul/2015 12:49:14] "GET /redirect/1 HTTP/1.1" 302 215 127.0.0.1 - - [08/Jul/2015 12:49:14] "GET /get HTTP/1.1" 200 437 127.0.0.1 - - [08/Jul/2015 12:49:14] "GET /redirect/10 HTTP/1.1" 302 229 127.0.0.1 - - [08/Jul/2015 12:49:14] "GET /redirect/9 HTTP/1.1" 302 229 127.0.0.1 - - [08/Jul/2015 12:49:14] "GET /redirect/8 HTTP/1.1" 302 229 127.0.0.1 - - [08/Jul/2015 12:49:14] "GET /redirect/7 HTTP/1.1" 302 229 127.0.0.1 - - [08/Jul/2015 12:49:14] "GET /redirect/6 HTTP/1.1" 302 229 127.0.0.1 - - [08/Jul/2015 12:49:14] "GET /redirect/5 HTTP/1.1" 302 229 127.0.0.1 - - [08/Jul/2015 12:49:14] "GET /redirect/4 HTTP/1.1" 302 229 127.0.0.1 - - [08/Jul/2015 12:49:14] "GET /redirect/3 HTTP/1.1" 302 229 127.0.0.1 - - [08/Jul/2015 12:49:14] "GET /redirect/2 HTTP/1.1" 302 229 127.0.0.1 - - [08/Jul/2015 12:49:14] "GET /redirect/1 HTTP/1.1" 302 215 ok INFO 2015-07-08 12:49:14,260 - Environment prefix is /tmp/tsqa.env.nuVmCe test_regressions (test_regressions.TestRegressions) ... ok INFO 2015-07-08 12:51:47,434 - Starting build (d133993325226bee52737bbab4e1cbc1): configure {'enable-ccache': None, 'enable-experimental-plugins': None, 'enable-example-plugins': None, 'enable-test-tools': None, 'enable-linux-native-aio': None, 'disable-dependency-tracking': None} SKIP: Error 1 running: ['<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/configure',> '--prefix=/', '--enable-ccache', '--enable-experimental-plugins', '--enable-example-plugins', '--enable-test-tools', '--enable-linux-native-aio', '--disable-dependency-tracking'] configure: error: Linux native AIO requires libaio.h -------------------- >> begin captured logging << -------------------- tsqa.environment: INFO: Starting build (d133993325226bee52737bbab4e1cbc1): configure {'enable-ccache': None, 'enable-experimental-plugins': None, 'enable-example-plugins': None, 'enable-test-tools': None, 'enable-linux-native-aio': None, 'disable-dependency-tracking': None} --------------------- >> end captured logging << --------------------- INFO 2015-07-08 12:51:56,458 - Environment prefix is /tmp/tsqa.env.1xIww5 test_remap_http (test_remap.TestRemapHTTP) ... 127.0.0.1 - - [08/Jul/2015 12:51:59] "GET / HTTP/1.1" 200 5 127.0.0.1 - - [08/Jul/2015 12:51:59] "GET / HTTP/1.1" 200 5 127.0.0.1 - - [08/Jul/2015 12:51:59] "GET / HTTP/1.1" 200 5 ok INFO 2015-07-08 12:51:59,894 - Environment prefix is /tmp/tsqa.env.zOJze7 test_remap_https (test_remap.TestRemapHTTPS) ... 127.0.0.1 - - [08/Jul/2015 12:52:03] "GET / HTTP/1.1" 200 5 127.0.0.1 - - [08/Jul/2015 12:52:03] "GET / HTTP/1.1" 200 5 127.0.0.1 - - [08/Jul/2015 12:52:03] "GET / HTTP/1.1" 200 5 ok SKIP: Skipping spdy/2 tests INFO 2015-07-08 12:52:03,337 - Environment prefix is /tmp/tsqa.env.Q936qR INFO 2015-07-08 12:52:03,339 - spdycat path = /usr/local/bin/spdycat INFO 2015-07-08 12:52:03,339 - spdy server port = 41505 INFO 2015-07-08 12:52:03,339 - http server port = 52156 Test that the origin does in fact support spdy 3 ... INFO 2015-07-08 12:52:06,562 - full args = ['/usr/local/bin/spdycat', 'https://localhost:41505/', '-nv', '--spdy3'] ok Test that non spdy port won't advertise spdy ... INFO 2015-07-08 12:52:07,779 - full args = ['/usr/local/bin/spdycat', 'https://localhost:52156/', '-nv', '--spdy3'] Fatal: EOF reqnum=1, completed=0 Some requests were not processed. total=1, processed=0 ok INFO 2015-07-08 12:52:07,983 - Environment prefix is /tmp/tsqa.env.k5hKaW INFO 2015-07-08 12:52:07,985 - spdycat path = /usr/local/bin/spdycat INFO 2015-07-08 12:52:07,985 - spdy server port = 42098 INFO 2015-07-08 12:52:07,985 - http server port = 33262 Test that the origin does in fact support spdy 3.1 ... INFO 2015-07-08 12:52:11,208 - full args = ['/usr/local/bin/spdycat', 'https://localhost:42098/', '-nv', '--spdy3-1'] ok Test that non spdy port won't advertise spdy ... INFO 2015-07-08 12:52:12,395 - full args = ['/usr/local/bin/spdycat', 'https://localhost:33262/', '-nv', '--spdy3-1'] Fatal: EOF reqnum=1, completed=0 Some requests were not processed. total=1, processed=0 ok INFO 2015-07-08 12:52:12,605 - Environment prefix is /tmp/tsqa.env.mp2du8 Make sure the new ticket key is loaded ... ok Make sure the new ticket key is loaded ... ok ====================================================================== FAIL: Verify that we get 504s from origins that return a partial_response ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/tests/test_connect_attempts.py",> line 195, in test_partial_response_origin self.assertEqual(ret.status_code, 502) AssertionError: 200 != 502 ====================================================================== FAIL: Verify that we get 200s from origins that reset_after_accept ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/tests/test_connect_attempts.py",> line 201, in test_reset_after_accept_origin self.assertEqual(ret.status_code, 200) AssertionError: 502 != 200 ====================================================================== FAIL: test_logs_exist (test_example.TestLogRefCounting) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/tests/test_example.py",> line 215, in test_logs_exist self.assertTrue(os.path.isfile(logfile_path), logfile_path) AssertionError: /tmp/tsqa.env.DxWTEH/var/log/squid.log -------------------- >> begin captured logging << -------------------- root: INFO: Environment prefix is /tmp/tsqa.env.DxWTEH --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: test_logs_exist (test_example.TestLogs) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/tests/test_example.py",> line 172, in test_logs_exist self.assertTrue(os.path.isfile(logfile_path), logfile_path) AssertionError: /tmp/tsqa.env.s5tX75/var/log/error.log -------------------- >> begin captured logging << -------------------- root: INFO: Environment prefix is /tmp/tsqa.env.s5tX75 --------------------- >> end captured logging << --------------------- ---------------------------------------------------------------------- XML: <https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/nosetests.xml> ---------------------------------------------------------------------- Ran 78 tests in 1310.153s FAILED (SKIP=6, failures=4) 2 make: *** [test] Error 1 Build step 'Execute shell' marked build as failure Recording test results