See <https://ci.trafficserver.apache.org/job/tsqa-master/373/changes>
Changes:
[Leif Hedstrom] Remvoe trailing white spaces.
[briang] TS-3582: Add @dst_ip to remap filters
[briang] TS-3582: Update Changes
[briang] TS-3582: Update Docs
------------------------------------------
[...truncated 424 lines...]
warning: no previously-included files matching 'lextab.*' found under
directory 'tests'
warning: no previously-included files matching 'yacctab.*' found under
directory 'examples'
warning: no previously-included files matching 'lextab.*' found under
directory 'examples'
Build the lexing/parsing tables
Successfully installed pyyaml pyOpenSSL nose unittest2 requests flask httpbin
tsqa cryptography six argparse traceback2 Werkzeug Jinja2 itsdangerous
MarkupSafe decorator pyasn1 enum34 cffi linecache2 pycparser
Cleaning up...
Virtualenv ready!
virtualenv/bin/nosetests --with-xunit -sv --logging-level=INFO
INFO 2015-05-05 07:11:22,585 - Starting build
(3375ae446536ef83975ccaf91d67fcdc): configure {'enable-example-plugins': None,
'disable-dependency-tracking': None, 'enable-ccache': None,
'enable-test-tools': None}
INFO 2015-05-05 07:12:37,653 - Build completed
(3375ae446536ef83975ccaf91d67fcdc): configure {'enable-example-plugins': None,
'disable-dependency-tracking': None, 'enable-ccache': None,
'enable-test-tools': None}
INFO 2015-05-05 07:12:37,732 - Environment prefix is /tmp/tsqa.env.0edThV
test_buildoption (test_buildoptions.TestBuildOption) ... ok
INFO 2015-05-05 07:13:07,431 - Starting build
(e127c1a05c3ef1c71d1fc780ec9f804c): configure {'enable-example-plugins': None,
'disable-dependency-tracking': None, 'enable-ccache': None, 'disable-diags':
None, 'enable-test-tools': None}
INFO 2015-05-05 07:14:21,507 - Build completed
(e127c1a05c3ef1c71d1fc780ec9f804c): configure {'enable-example-plugins': None,
'disable-dependency-tracking': None, 'enable-ccache': None, 'disable-diags':
None, 'enable-test-tools': None}
INFO 2015-05-05 07:14:21,592 - Environment prefix is /tmp/tsqa.env.mQpXRe
test_buildoption (test_buildoptions.TestBuildOptionDisableDiags) ... ok
INFO 2015-05-05 07:14:51,217 - Starting build
(fcf436ddaf8d96eb997c6f84f34ee815): configure {'disable-tests': None,
'disable-dependency-tracking': None, 'enable-ccache': None,
'enable-test-tools': None, 'enable-example-plugins': None}
INFO 2015-05-05 07:16:04,678 - Build completed
(fcf436ddaf8d96eb997c6f84f34ee815): configure {'disable-tests': None,
'disable-dependency-tracking': None, 'enable-ccache': None,
'enable-test-tools': None, 'enable-example-plugins': None}
INFO 2015-05-05 07:16:04,762 - Environment prefix is /tmp/tsqa.env.DEXUgr
test_buildoption (test_buildoptions.TestBuildOptionDisableTests) ... ok
SKIP: Skip until atscppapi supports out of tree builds
SKIP: Skip until TS-3577 is resolved
INFO 2015-05-05 07:16:34,335 - Starting build
(790e5816af185c4fe8093b72e4794a0d): configure {'enable-fast-sdk': None,
'enable-example-plugins': None, 'disable-dependency-tracking': None,
'enable-ccache': None, 'enable-test-tools': None}
INFO 2015-05-05 07:17:48,248 - Build completed
(790e5816af185c4fe8093b72e4794a0d): configure {'enable-fast-sdk': None,
'enable-example-plugins': None, 'disable-dependency-tracking': None,
'enable-ccache': None, 'enable-test-tools': None}
INFO 2015-05-05 07:17:48,328 - Environment prefix is /tmp/tsqa.env.aiOsPd
test_buildoption (test_buildoptions.TestBuildOptionFastSDK) ... ok
INFO 2015-05-05 07:17:51,773 - Environment prefix is /tmp/tsqa.env.xCf5g8
test_chunked_bad_close (test_chunked.TestChunked) ... INFO 2015-05-05
07:17:55,017 - sending data back to the client
INFO 2015-05-05 07:17:57,519 - Client disconnected
ok
test_chunked_basic (test_chunked.TestChunked) ... INFO 2015-05-05 07:17:57,525
- sending data back to the client
ok
test_chunked_keepalive_client (test_chunked.TestChunked) ... INFO 2015-05-05
07:18:00,528 - sending data back to the client
INFO 2015-05-05 07:18:03,533 - sending data back to the client
INFO 2015-05-05 07:18:06,538 - sending data back to the client
INFO 2015-05-05 07:18:08,940 - sending data back to the client
INFO 2015-05-05 07:18:11,341 - sending data back to the client
INFO 2015-05-05 07:18:15,346 - sending data back to the client
ok
test_chunked_keepalive_server (test_chunked.TestChunked) ... INFO 2015-05-05
07:18:19,350 - sending data back to the client
INFO 2015-05-05 07:18:22,355 - sending data back to the client
ok
Test that the origin does in fact support keepalive ... INFO 2015-05-05
07:18:23,359 - sending data back to the client
INFO 2015-05-05 07:18:26,363 - sending data back to the client
INFO 2015-05-05 07:18:27,367 - sending data back to the client
INFO 2015-05-05 07:18:29,367 - Client disconnected
INFO 2015-05-05 07:18:29,770 - sending data back to the client
INFO 2015-05-05 07:18:30,172 - sending data back to the client
INFO 2015-05-05 07:18:32,173 - Client disconnected
INFO 2015-05-05 07:18:34,177 - sending data back to the client
ok
INFO 2015-05-05 07:18:36,187 - Client disconnected
INFO 2015-05-05 07:18:36,398 - Environment prefix is /tmp/tsqa.env.swKxEO
INFO 2015-05-05 07:18:38,181 - 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 ...
/usr/lib64/python2.7/unittest/case.py:380: RuntimeWarning: TestResult has no
addExpectedFailure method, reporting as passes
RuntimeWarning)
ok
Verify that we get 200s from origins that reset_after_accept ... ok
INFO 2015-05-05 07:18:46,736 - Environment prefix is /tmp/tsqa.env.Q2Ak_J
test_default_404 (test_example.TestBootstrap) ... ok
Test that traffic_line works, and verify that the values for proxy.config ... ok
INFO 2015-05-05 07:19:16,467 - Starting build
(a1de67cffb8c345a8296170a52ca4784): configure {'enable-spdy': None,
'disable-dependency-tracking': None, 'enable-ccache': None,
'enable-test-tools': None, 'enable-example-plugins': None}
INFO 2015-05-05 07:20:31,773 - Build completed
(a1de67cffb8c345a8296170a52ca4784): configure {'enable-spdy': None,
'disable-dependency-tracking': None, 'enable-ccache': None,
'enable-test-tools': None, 'enable-example-plugins': None}
INFO 2015-05-05 07:20:31,856 - Environment prefix is /tmp/tsqa.env.z0uCNT
test_spdy (test_example.TestConfigureFlags) ... ok
INFO 2015-05-05 07:20:35,300 - Environment prefix is /tmp/tsqa.env.xnESpk
test_basic_proxy (test_example.TestDynamicHTTPEndpointCase) ... 127.0.0.1 - -
[05/May/2015 07:20:38] "GET /test HTTP/1.1" 404 0
ok
INFO 2015-05-05 07:20:38,752 - Environment prefix is /tmp/tsqa.env.i98IoQ
test_logs_exist (test_example.TestLogRefCounting) ... 127.0.0.1 - -
[05/May/2015 07:20:41] "GET / HTTP/1.1" 404 0
127.0.0.1 - - [05/May/2015 07:20:41] "GET / HTTP/1.1" 404 0
127.0.0.1 - - [05/May/2015 07:20:41] "GET / HTTP/1.1" 404 0
127.0.0.1 - - [05/May/2015 07:20:42] "GET / HTTP/1.1" 404 0
127.0.0.1 - - [05/May/2015 07:20:42] "GET / HTTP/1.1" 404 0
127.0.0.1 - - [05/May/2015 07:20:42] "GET / HTTP/1.1" 404 0
127.0.0.1 - - [05/May/2015 07:20:42] "GET / HTTP/1.1" 404 0
127.0.0.1 - - [05/May/2015 07:20:42] "GET / HTTP/1.1" 404 0
127.0.0.1 - - [05/May/2015 07:20:42] "GET / HTTP/1.1" 404 0
127.0.0.1 - - [05/May/2015 07:20:42] "GET / HTTP/1.1" 404 0
ok
INFO 2015-05-05 07:20:52,251 - Environment prefix is /tmp/tsqa.env.BDYWnt
test_logs_exist (test_example.TestLogs) ... ok
SKIP: Skip the entire class
INFO 2015-05-05 07:21:05,732 - Environment prefix is /tmp/tsqa.env.DGGFAL
test_basic_intercept (test_example.TestServerIntercept) ... 127.0.0.1 - -
[05/May/2015 07:21:08] "GET / HTTP/1.1" 200 5
127.0.0.1 - - [05/May/2015 07:21:08] "GET / HTTP/1.1" 200 5
127.0.0.1 - - [05/May/2015 07:21:08] "GET / HTTP/1.1" 200 5
127.0.0.1 - - [05/May/2015 07:21:08] "GET / HTTP/1.1" 200 5
127.0.0.1 - - [05/May/2015 07:21:08] "GET / HTTP/1.1" 200 5
127.0.0.1 - - [05/May/2015 07:21:08] "GET / HTTP/1.1" 200 5
127.0.0.1 - - [05/May/2015 07:21:08] "GET / HTTP/1.1" 200 5
127.0.0.1 - - [05/May/2015 07:21:08] "GET / HTTP/1.1" 200 5
127.0.0.1 - - [05/May/2015 07:21:08] "GET / HTTP/1.1" 200 5
127.0.0.1 - - [05/May/2015 07:21:08] "GET / HTTP/1.1" 200 5
ok
INFO 2015-05-05 07:21:09,213 - Environment prefix is /tmp/tsqa.env.LnBWOE
test_lookup_timeout (test_hostdb.TestHostDBFailedDNS) ... ok
INFO 2015-05-05 07:21:14,680 - Environment prefix is /tmp/tsqa.env.HoVAwd
test_working (test_hostdb.TestHostDBPartiallyFailedDNS) ... FAIL
INFO 2015-05-05 07:21:21,592 - Environment prefix is /tmp/tsqa.env.Oz7stR
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-05-05 07:21:25,449 - Environment prefix is /tmp/tsqa.env.zjVwq4
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-05-05 07:21:29,302 - Environment prefix is /tmp/tsqa.env.Ngy9gK
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-05-05 07:21:33,165 - Environment prefix is /tmp/tsqa.env.MeU0_R
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 - -
[05/May/2015 07:21:36] "GET /exists/ HTTP/1.1" 200 5
127.0.0.1 - - [05/May/2015 07:21:36] "GET /exists/ HTTP/1.1" 200 5
127.0.0.1 - - [05/May/2015 07:21:36] "GET /exists/ HTTP/1.1" 200 5
127.0.0.1 - - [05/May/2015 07:21:36] "GET /exists/ HTTP/1.1" 200 5
127.0.0.1 - - [05/May/2015 07:21:36] "GET /exists/ HTTP/1.1" 200 5
127.0.0.1 - - [05/May/2015 07:21:36] "GET /exists/ HTTP/1.1" 200 5
127.0.0.1 - - [05/May/2015 07:21:36] "GET /exists/ HTTP/1.1" 200 5
127.0.0.1 - - [05/May/2015 07:21:36] "GET /exists/ HTTP/1.1" 200 5
127.0.0.1 - - [05/May/2015 07:21:36] "GET /exists/ HTTP/1.1" 200 5
ok
INFO 2015-05-05 07:21:36,604 - Environment prefix is /tmp/tsqa.env.53tz7z
Tests that origin_min_keep_alive_connections is honored via http. ... ok
INFO 2015-05-05 07:21:43,040 - Environment prefix is /tmp/tsqa.env.CHUu6w
Tests that origin_min_keep_alive_connections is honored via https. ... ok
INFO 2015-05-05 07:21:49,504 - Environment prefix is /tmp/tsqa.env.BKyv4b
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-05-05 07:22:11,002 - Environment prefix is /tmp/tsqa.env.fDuU8m
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-05-05 07:22:32,516 - Environment prefix is /tmp/tsqa.env.Whpqpn
Tests that keepalive works through ATS to origin via https. ... ok
Tests that keepalive works through ATS to origin via https. ... ok
INFO 2015-05-05 07:22:35,976 - Environment prefix is /tmp/tsqa.env.d70Kc6
Tests that keepalive works through ATS to origin via https. ... ok
Tests that keepalive works through ATS to origin via https. ... ok
INFO 2015-05-05 07:22:39,422 - Environment prefix is /tmp/tsqa.env.8apfEB
test_redirection (test_redirection.TestRedirection) ... 127.0.0.1 - -
[05/May/2015 07:22:42] "GET /redirect/9 HTTP/1.1" 302 229
127.0.0.1 - - [05/May/2015 07:22:42] "GET /redirect/8 HTTP/1.1" 302 229
127.0.0.1 - - [05/May/2015 07:22:42] "GET /redirect/7 HTTP/1.1" 302 229
127.0.0.1 - - [05/May/2015 07:22:42] "GET /redirect/6 HTTP/1.1" 302 229
127.0.0.1 - - [05/May/2015 07:22:42] "GET /redirect/5 HTTP/1.1" 302 229
127.0.0.1 - - [05/May/2015 07:22:42] "GET /redirect/4 HTTP/1.1" 302 229
127.0.0.1 - - [05/May/2015 07:22:42] "GET /redirect/3 HTTP/1.1" 302 229
127.0.0.1 - - [05/May/2015 07:22:42] "GET /redirect/2 HTTP/1.1" 302 229
127.0.0.1 - - [05/May/2015 07:22:42] "GET /redirect/1 HTTP/1.1" 302 215
127.0.0.1 - - [05/May/2015 07:22:42] "GET /get HTTP/1.1" 200 437
127.0.0.1 - - [05/May/2015 07:22:42] "GET /redirect/10 HTTP/1.1" 302 229
127.0.0.1 - - [05/May/2015 07:22:42] "GET /redirect/9 HTTP/1.1" 302 229
127.0.0.1 - - [05/May/2015 07:22:42] "GET /redirect/8 HTTP/1.1" 302 229
127.0.0.1 - - [05/May/2015 07:22:42] "GET /redirect/7 HTTP/1.1" 302 229
127.0.0.1 - - [05/May/2015 07:22:42] "GET /redirect/6 HTTP/1.1" 302 229
127.0.0.1 - - [05/May/2015 07:22:42] "GET /redirect/5 HTTP/1.1" 302 229
127.0.0.1 - - [05/May/2015 07:22:42] "GET /redirect/4 HTTP/1.1" 302 229
127.0.0.1 - - [05/May/2015 07:22:42] "GET /redirect/3 HTTP/1.1" 302 229
127.0.0.1 - - [05/May/2015 07:22:42] "GET /redirect/2 HTTP/1.1" 302 229
127.0.0.1 - - [05/May/2015 07:22:42] "GET /redirect/1 HTTP/1.1" 302 215
ok
INFO 2015-05-05 07:22:42,886 - Environment prefix is /tmp/tsqa.env.U6W_QH
test_regressions (test_regressions.TestRegressions) ... ok
INFO 2015-05-05 07:25:15,857 - Starting build
(481f22ae002c99c89179cba0bbc2ef76): configure {'enable-linux-native-aio': None,
'disable-dependency-tracking': None, 'enable-ccache': None,
'enable-test-tools': None, 'enable-example-plugins': None}
SKIP: Error 1 running:
['<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/configure',>
'--prefix=/', '--enable-linux-native-aio', '--disable-dependency-tracking',
'--enable-ccache', '--enable-test-tools', '--enable-example-plugins']
configure: error: Linux native AIO requires libaio.h
-------------------- >> begin captured logging << --------------------
tsqa.environment: INFO: Starting build (481f22ae002c99c89179cba0bbc2ef76):
configure {'enable-linux-native-aio': None, 'disable-dependency-tracking':
None, 'enable-ccache': None, 'enable-test-tools': None,
'enable-example-plugins': None}
--------------------- >> end captured logging << ---------------------
INFO 2015-05-05 07:25:25,139 - Environment prefix is /tmp/tsqa.env.T0QV5k
test_remap_http (test_remap.TestRemapHTTP) ... 127.0.0.1 - - [05/May/2015
07:25:28] "GET / HTTP/1.1" 200 5
127.0.0.1 - - [05/May/2015 07:25:28] "GET / HTTP/1.1" 200 5
127.0.0.1 - - [05/May/2015 07:25:28] "GET / HTTP/1.1" 200 5
ok
INFO 2015-05-05 07:25:28,583 - Environment prefix is /tmp/tsqa.env.mLa0rm
test_remap_https (test_remap.TestRemapHTTPS) ... 127.0.0.1 - - [05/May/2015
07:25:31] "GET / HTTP/1.1" 200 5
127.0.0.1 - - [05/May/2015 07:25:31] "GET / HTTP/1.1" 200 5
127.0.0.1 - - [05/May/2015 07:25:31] "GET / HTTP/1.1" 200 5
ok
SKIP: Skipping spdy/2 tests
INFO 2015-05-05 07:25:32,042 - Environment prefix is /tmp/tsqa.env.m8YmZC
INFO 2015-05-05 07:25:32,044 - spdycat path = /usr/local/bin/spdycat
INFO 2015-05-05 07:25:32,044 - spdy server port = 52208
INFO 2015-05-05 07:25:32,044 - http server port = 49332
Test that the origin does in fact support spdy 3 ... INFO 2015-05-05
07:25:35,269 - full args = ['/usr/local/bin/spdycat',
'https://localhost:52208/', '-nv', '--spdy3']
ok
Test that non spdy port won't advertise spdy ... INFO 2015-05-05 07:25:37,122 -
full args = ['/usr/local/bin/spdycat', 'https://localhost:49332/', '-nv',
'--spdy3']
Fatal: EOF
reqnum=1, completed=0
Some requests were not processed. total=1, processed=0
ok
INFO 2015-05-05 07:25:37,341 - Environment prefix is /tmp/tsqa.env.UT31ps
INFO 2015-05-05 07:25:37,343 - spdycat path = /usr/local/bin/spdycat
INFO 2015-05-05 07:25:37,343 - spdy server port = 50170
INFO 2015-05-05 07:25:37,343 - http server port = 46646
Test that the origin does in fact support spdy 3.1 ... INFO 2015-05-05
07:25:40,565 - full args = ['/usr/local/bin/spdycat',
'https://localhost:50170/', '-nv', '--spdy3-1']
ok
Test that non spdy port won't advertise spdy ... INFO 2015-05-05 07:25:42,333 -
full args = ['/usr/local/bin/spdycat', 'https://localhost:46646/', '-nv',
'--spdy3-1']
Fatal: EOF
reqnum=1, completed=0
Some requests were not processed. total=1, processed=0
ok
======================================================================
FAIL: test_working (test_hostdb.TestHostDBPartiallyFailedDNS)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/tests/test_hostdb.py",>
line 53, in test_working
self.assertLess(time.time() - start,
self.configs['records.config']['CONFIG']['proxy.config.hostdb.lookup_timeout'])
AssertionError: 2.651848077774048 not less than 2
-------------------- >> begin captured logging << --------------------
root: INFO: Environment prefix is /tmp/tsqa.env.HoVAwd
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------
XML:
<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/nosetests.xml>
----------------------------------------------------------------------
Ran 73 tests in 887.285s
FAILED (SKIP=5, failures=1)
2
make: *** [test] Error 1
Build step 'Execute shell' marked build as failure
Recording test results