See <https://ci.trafficserver.apache.org/job/tsqa-master/651/changes>
Changes:
[Thomas Jackson] Correctly mark the file update as inactive once the swap has
been completed
[amc] Clang format.
[amc] [TS-2157] Replace addr with src_addr and dst_addr.
[Thomas Jackson] Allow for loopback addresses in a hosts file
[Thomas Jackson] Add basic tests for the Hosts file implementation in ATS
[Thomas Jackson] Add tests for reloading the hosts file
------------------------------------------
[...truncated 517 lines...]
INFO 2015-07-08 02:39:47,831 - sending data back to the client
INFO 2015-07-08 02:39:50,234 - sending data back to the client
INFO 2015-07-08 02:39:52,638 - sending data back to the client
INFO 2015-07-08 02:39:56,642 - sending data back to the client
ok
test_chunked_keepalive_server (test_chunked.TestChunked) ... INFO 2015-07-08
02:40:00,647 - sending data back to the client
INFO 2015-07-08 02:40:03,652 - sending data back to the client
ok
Test that the origin does in fact support keepalive ... INFO 2015-07-08
02:40:04,657 - sending data back to the client
INFO 2015-07-08 02:40:07,662 - sending data back to the client
INFO 2015-07-08 02:40:08,665 - sending data back to the client
INFO 2015-07-08 02:40:10,666 - Client disconnected
INFO 2015-07-08 02:40:11,069 - sending data back to the client
INFO 2015-07-08 02:40:11,471 - sending data back to the client
INFO 2015-07-08 02:40:13,472 - Client disconnected
INFO 2015-07-08 02:40:15,475 - sending data back to the client
ok
INFO 2015-07-08 02:40:17,486 - Client disconnected
INFO 2015-07-08 02:40:17,686 - Environment prefix is /tmp/tsqa.env.KIH7Gc
INFO 2015-07-08 02:40:19,481 - 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 02:40:28,002 - Environment prefix is /tmp/tsqa.env.hX30Qu
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 02:40:57,845 - 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 02:43:55,184 - 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 02:43:55,252 - Environment prefix is /tmp/tsqa.env.5KRw67
test_spdy (test_example.TestConfigureFlags) ... ok
INFO 2015-07-08 02:43:58,662 - Environment prefix is /tmp/tsqa.env.GD1jxo
test_basic_proxy (test_example.TestDynamicHTTPEndpointCase) ... 127.0.0.1 - -
[08/Jul/2015 02:44:01] "GET /test HTTP/1.1" 404 0
ok
INFO 2015-07-08 02:44:02,078 - Environment prefix is /tmp/tsqa.env.gHyDME
test_logs_exist (test_example.TestLogRefCounting) ... 127.0.0.1 - -
[08/Jul/2015 02:44:05] "GET / HTTP/1.1" 404 0
127.0.0.1 - - [08/Jul/2015 02:44:05] "GET / HTTP/1.1" 404 0
127.0.0.1 - - [08/Jul/2015 02:44:05] "GET / HTTP/1.1" 404 0
127.0.0.1 - - [08/Jul/2015 02:44:05] "GET / HTTP/1.1" 404 0
127.0.0.1 - - [08/Jul/2015 02:44:05] "GET / HTTP/1.1" 404 0
127.0.0.1 - - [08/Jul/2015 02:44:05] "GET / HTTP/1.1" 404 0
127.0.0.1 - - [08/Jul/2015 02:44:05] "GET / HTTP/1.1" 404 0
127.0.0.1 - - [08/Jul/2015 02:44:05] "GET / HTTP/1.1" 404 0
127.0.0.1 - - [08/Jul/2015 02:44:05] "GET / HTTP/1.1" 404 0
127.0.0.1 - - [08/Jul/2015 02:44:05] "GET / HTTP/1.1" 404 0
FAIL
INFO 2015-07-08 02:44:15,564 - Environment prefix is /tmp/tsqa.env.s2PsYF
test_logs_exist (test_example.TestLogs) ... FAIL
SKIP: Skip the entire class
INFO 2015-07-08 02:44:29,011 - Environment prefix is /tmp/tsqa.env.hK9YC2
test_basic_intercept (test_example.TestServerIntercept) ... 127.0.0.1 - -
[08/Jul/2015 02:44:32] "GET / HTTP/1.1" 200 5
127.0.0.1 - - [08/Jul/2015 02:44:32] "GET / HTTP/1.1" 200 5
127.0.0.1 - - [08/Jul/2015 02:44:32] "GET / HTTP/1.1" 200 5
127.0.0.1 - - [08/Jul/2015 02:44:32] "GET / HTTP/1.1" 200 5
127.0.0.1 - - [08/Jul/2015 02:44:32] "GET / HTTP/1.1" 200 5
127.0.0.1 - - [08/Jul/2015 02:44:32] "GET / HTTP/1.1" 200 5
127.0.0.1 - - [08/Jul/2015 02:44:32] "GET / HTTP/1.1" 200 5
127.0.0.1 - - [08/Jul/2015 02:44:32] "GET / HTTP/1.1" 200 5
127.0.0.1 - - [08/Jul/2015 02:44:32] "GET / HTTP/1.1" 200 5
127.0.0.1 - - [08/Jul/2015 02:44:32] "GET / HTTP/1.1" 200 5
ok
INFO 2015-07-08 02:44:32,460 - Environment prefix is /tmp/tsqa.env.nrxX21
test_lookup_timeout (test_hostdb.TestHostDBFailedDNS) ... ok
INFO 2015-07-08 02:44:37,892 - Environment prefix is /tmp/tsqa.env.ae7qWn
Test basic fnctionality of hosts files ... ok
Test that changes to hosts file get loaded within host_file.interval ... ok
INFO 2015-07-08 02:44:47,367 - Environment prefix is /tmp/tsqa.env.6ZkfDz
SKIP:
-------------------- >> begin captured logging << --------------------
root: INFO: Environment prefix is /tmp/tsqa.env.6ZkfDz
--------------------- >> end captured logging << ---------------------
INFO 2015-07-08 02:44:48,356 - Environment prefix is /tmp/tsqa.env.fOIeiH
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 02:44:51,878 - Environment prefix is /tmp/tsqa.env.vELnOe
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 02:44:55,394 - Environment prefix is /tmp/tsqa.env.We69rR
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 02:44:58,926 - Environment prefix is /tmp/tsqa.env.9QAi_n
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 02:45:02] "GET /exists/ HTTP/1.1" 200 5
127.0.0.1 - - [08/Jul/2015 02:45:02] "GET /exists/ HTTP/1.1" 200 5
127.0.0.1 - - [08/Jul/2015 02:45:02] "GET /exists/ HTTP/1.1" 200 5
127.0.0.1 - - [08/Jul/2015 02:45:02] "GET /exists/ HTTP/1.1" 200 5
127.0.0.1 - - [08/Jul/2015 02:45:02] "GET /exists/ HTTP/1.1" 200 5
127.0.0.1 - - [08/Jul/2015 02:45:02] "GET /exists/ HTTP/1.1" 200 5
127.0.0.1 - - [08/Jul/2015 02:45:02] "GET /exists/ HTTP/1.1" 200 5
127.0.0.1 - - [08/Jul/2015 02:45:02] "GET /exists/ HTTP/1.1" 200 5
127.0.0.1 - - [08/Jul/2015 02:45:02] "GET /exists/ HTTP/1.1" 200 5
ok
INFO 2015-07-08 02:45:02,351 - Environment prefix is /tmp/tsqa.env.p4PDbm
Tests that origin_min_keep_alive_connections is honored via http. ... ok
INFO 2015-07-08 02:45:08,770 - Environment prefix is /tmp/tsqa.env.wYguRo
Tests that origin_min_keep_alive_connections is honored via https. ... ok
INFO 2015-07-08 02:45:15,191 - Environment prefix is /tmp/tsqa.env.8lrTzV
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 02:45:36,663 - Environment prefix is /tmp/tsqa.env.BcDBvS
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 02:45:58,157 - Environment prefix is /tmp/tsqa.env.eXTVaF
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 02:46:01,603 - Environment prefix is /tmp/tsqa.env.CFxD0D
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 02:46:05,037 - Environment prefix is /tmp/tsqa.env.3PFp1k
test_redirection (test_redirection.TestRedirection) ... 127.0.0.1 - -
[08/Jul/2015 02:46:08] "GET /redirect/9 HTTP/1.1" 302 229
127.0.0.1 - - [08/Jul/2015 02:46:08] "GET /redirect/8 HTTP/1.1" 302 229
127.0.0.1 - - [08/Jul/2015 02:46:08] "GET /redirect/7 HTTP/1.1" 302 229
127.0.0.1 - - [08/Jul/2015 02:46:08] "GET /redirect/6 HTTP/1.1" 302 229
127.0.0.1 - - [08/Jul/2015 02:46:08] "GET /redirect/5 HTTP/1.1" 302 229
127.0.0.1 - - [08/Jul/2015 02:46:08] "GET /redirect/4 HTTP/1.1" 302 229
127.0.0.1 - - [08/Jul/2015 02:46:08] "GET /redirect/3 HTTP/1.1" 302 229
127.0.0.1 - - [08/Jul/2015 02:46:08] "GET /redirect/2 HTTP/1.1" 302 229
127.0.0.1 - - [08/Jul/2015 02:46:08] "GET /redirect/1 HTTP/1.1" 302 215
127.0.0.1 - - [08/Jul/2015 02:46:08] "GET /get HTTP/1.1" 200 437
127.0.0.1 - - [08/Jul/2015 02:46:08] "GET /redirect/10 HTTP/1.1" 302 229
127.0.0.1 - - [08/Jul/2015 02:46:08] "GET /redirect/9 HTTP/1.1" 302 229
127.0.0.1 - - [08/Jul/2015 02:46:08] "GET /redirect/8 HTTP/1.1" 302 229
127.0.0.1 - - [08/Jul/2015 02:46:08] "GET /redirect/7 HTTP/1.1" 302 229
127.0.0.1 - - [08/Jul/2015 02:46:08] "GET /redirect/6 HTTP/1.1" 302 229
127.0.0.1 - - [08/Jul/2015 02:46:08] "GET /redirect/5 HTTP/1.1" 302 229
127.0.0.1 - - [08/Jul/2015 02:46:08] "GET /redirect/4 HTTP/1.1" 302 229
127.0.0.1 - - [08/Jul/2015 02:46:08] "GET /redirect/3 HTTP/1.1" 302 229
127.0.0.1 - - [08/Jul/2015 02:46:08] "GET /redirect/2 HTTP/1.1" 302 229
127.0.0.1 - - [08/Jul/2015 02:46:08] "GET /redirect/1 HTTP/1.1" 302 215
ok
INFO 2015-07-08 02:46:08,483 - Environment prefix is /tmp/tsqa.env.xTvc6t
test_regressions (test_regressions.TestRegressions) ... ok
INFO 2015-07-08 02:48:41,767 - 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 02:48:50,797 - Environment prefix is /tmp/tsqa.env.F4tswf
test_remap_http (test_remap.TestRemapHTTP) ... 127.0.0.1 - - [08/Jul/2015
02:48:54] "GET / HTTP/1.1" 200 5
127.0.0.1 - - [08/Jul/2015 02:48:54] "GET / HTTP/1.1" 200 5
127.0.0.1 - - [08/Jul/2015 02:48:54] "GET / HTTP/1.1" 200 5
ok
INFO 2015-07-08 02:48:54,225 - Environment prefix is /tmp/tsqa.env.UsxiAA
test_remap_https (test_remap.TestRemapHTTPS) ... 127.0.0.1 - - [08/Jul/2015
02:48:57] "GET / HTTP/1.1" 200 5
127.0.0.1 - - [08/Jul/2015 02:48:57] "GET / HTTP/1.1" 200 5
127.0.0.1 - - [08/Jul/2015 02:48:57] "GET / HTTP/1.1" 200 5
ok
SKIP: Skipping spdy/2 tests
INFO 2015-07-08 02:48:57,668 - Environment prefix is /tmp/tsqa.env.tCxWbo
INFO 2015-07-08 02:48:57,670 - spdycat path = /usr/local/bin/spdycat
INFO 2015-07-08 02:48:57,670 - spdy server port = 50664
INFO 2015-07-08 02:48:57,670 - http server port = 42275
Test that the origin does in fact support spdy 3 ... INFO 2015-07-08
02:49:00,896 - full args = ['/usr/local/bin/spdycat',
'https://localhost:50664/', '-nv', '--spdy3']
ok
Test that non spdy port won't advertise spdy ... INFO 2015-07-08 02:49:01,987 -
full args = ['/usr/local/bin/spdycat', 'https://localhost:42275/', '-nv',
'--spdy3']
Fatal: EOF
reqnum=1, completed=0
Some requests were not processed. total=1, processed=0
ok
INFO 2015-07-08 02:49:02,189 - Environment prefix is /tmp/tsqa.env.VGkOeV
INFO 2015-07-08 02:49:02,190 - spdycat path = /usr/local/bin/spdycat
INFO 2015-07-08 02:49:02,191 - spdy server port = 35265
INFO 2015-07-08 02:49:02,191 - http server port = 45511
Test that the origin does in fact support spdy 3.1 ... INFO 2015-07-08
02:49:05,413 - full args = ['/usr/local/bin/spdycat',
'https://localhost:35265/', '-nv', '--spdy3-1']
ok
Test that non spdy port won't advertise spdy ... INFO 2015-07-08 02:49:06,852 -
full args = ['/usr/local/bin/spdycat', 'https://localhost:45511/', '-nv',
'--spdy3-1']
Fatal: EOF
reqnum=1, completed=0
Some requests were not processed. total=1, processed=0
ok
INFO 2015-07-08 02:49:07,063 - Environment prefix is /tmp/tsqa.env.ShQynf
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.gHyDME/var/log/squid.log
-------------------- >> begin captured logging << --------------------
root: INFO: Environment prefix is /tmp/tsqa.env.gHyDME
--------------------- >> 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.s2PsYF/var/log/error.log
-------------------- >> begin captured logging << --------------------
root: INFO: Environment prefix is /tmp/tsqa.env.s2PsYF
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------
XML:
<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/nosetests.xml>
----------------------------------------------------------------------
Ran 78 tests in 1437.421s
FAILED (SKIP=6, failures=4)
2
make: *** [test] Error 1
Build step 'Execute shell' marked build as failure
Recording test results