Closed nickzaev closed 1 year ago
I've ran these tests on ik-h2-chunked
branch (cd7f001d
) and at the moment it was:
----------------------------------------------------------------------
Running functional tests...
----------------------------------------------------------------------
test (encoding.test_encoding.TestBothTEAndCE) ... ok
test (encoding.test_encoding.TestBothTEAndCL) ... FAIL
test (encoding.test_encoding.TestChunkedIsNotLast) ... FAIL
test (encoding.test_encoding.TestTEMovedToCE) ... FAIL
======================================================================
FAIL: test (encoding.test_encoding.TestBothTEAndCL)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/tempesta-test/encoding/test_encoding.py", line 170, in test
self.assertTrue(
AssertionError: False is not true : The connection has to be closed
======================================================================
FAIL: test (encoding.test_encoding.TestChunkedIsNotLast)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/tempesta-test/encoding/test_encoding.py", line 74, in test
self.assertTrue(
AssertionError: False is not true : The connection has to be closed
======================================================================
FAIL: test (encoding.test_encoding.TestTEMovedToCE)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/tempesta-test/encoding/test_encoding.py", line 241, in test
self.assertTrue(ce, "The response should have Content-Encoding")
AssertionError: None is not true : The response should have Content-Encoding
----------------------------------------------------------------------
Ran 4 tests in 17.934s
FAILED (failures=3)
dmesg
log:
[Tue Sep 20 10:21:44 2022] Start test: encoding.test_encoding.TestBothTEAndCE.test
[Tue Sep 20 10:21:45 2022] [tdb] Start Tempesta DB
[Tue Sep 20 10:21:45 2022] [tempesta fw] Initializing Tempesta FW kernel module...
[Tue Sep 20 10:21:45 2022] [tempesta fw] Configuration processing is completed.
[Tue Sep 20 10:21:45 2022] [tdb] Opened table /opt/tempesta/db/filter0.tdb: size=16777216 rec_size=20 base=0000000003777232
[Tue Sep 20 10:21:45 2022] [tdb] Opened table /opt/tempesta/db/cache0.tdb: size=268435456 rec_size=0 base=00000000a77d6694
[Tue Sep 20 10:21:45 2022] [tdb] Opened table /opt/tempesta/db/sessions0.tdb: size=16777216 rec_size=312 base=00000000b371e426
[Tue Sep 20 10:21:45 2022] [tdb] Opened table /opt/tempesta/db/client0.tdb: size=16777216 rec_size=624 base=00000000bfb6ee1b
[Tue Sep 20 10:21:45 2022] [tempesta fw] Open listen socket on: 0.0.0.0
[Tue Sep 20 10:21:45 2022] [tempesta fw] Tempesta FW is ready
[Tue Sep 20 10:21:45 2022] [tempesta fw] Warning: Content-Encoding and Transfer-Encoding other thanchunked not allowed to be in same response.
[Tue Sep 20 10:21:45 2022] [tempesta fw] Warning: response dropped: processing error: 127.0.0.1
[Tue Sep 20 10:21:46 2022] [tdb] Close table 'client0.tdb'
[Tue Sep 20 10:21:46 2022] [tdb] Close table 'sessions0.tdb'
[Tue Sep 20 10:21:47 2022] [tdb] Close table 'cache0.tdb'
[Tue Sep 20 10:21:47 2022] [tdb] Close table 'filter0.tdb'
[Tue Sep 20 10:21:47 2022] [tempesta fw] modules are stopped
[Tue Sep 20 10:21:47 2022] [tempesta fw] exiting...
[Tue Sep 20 10:21:47 2022] [tdb] Shutdown Tempesta DB
[Tue Sep 20 10:21:48 2022] End test: encoding.test_encoding.TestBothTEAndCE.test
[Tue Sep 20 10:21:48 2022] Start test: encoding.test_encoding.TestBothTEAndCL.test
[Tue Sep 20 10:21:48 2022] [tdb] Start Tempesta DB
[Tue Sep 20 10:21:48 2022] [tempesta fw] Initializing Tempesta FW kernel module...
[Tue Sep 20 10:21:48 2022] [tempesta fw] Configuration processing is completed.
[Tue Sep 20 10:21:48 2022] [tdb] Opened table /opt/tempesta/db/filter0.tdb: size=16777216 rec_size=20 base=0000000003777232
[Tue Sep 20 10:21:48 2022] [tdb] Opened table /opt/tempesta/db/cache0.tdb: size=268435456 rec_size=0 base=00000000a77d6694
[Tue Sep 20 10:21:48 2022] [tdb] Opened table /opt/tempesta/db/sessions0.tdb: size=16777216 rec_size=312 base=00000000b371e426
[Tue Sep 20 10:21:48 2022] [tdb] Opened table /opt/tempesta/db/client0.tdb: size=16777216 rec_size=624 base=00000000bfb6ee1b
[Tue Sep 20 10:21:48 2022] [tempesta fw] Open listen socket on: 0.0.0.0
[Tue Sep 20 10:21:49 2022] [tempesta fw] Tempesta FW is ready
[Tue Sep 20 10:21:49 2022] [tempesta fw] Warning: Parser error: state=RGen_BodyInit input(-8)=0xa('h: 33
the body does not actually matter') data_len=262 off=228
[Tue Sep 20 10:21:49 2022] [tempesta fw] Warning: response dropped: processing error: 127.0.0.1
[Tue Sep 20 10:21:49 2022] [tdb] Close table 'client0.tdb'
[Tue Sep 20 10:21:49 2022] [tdb] Close table 'sessions0.tdb'
[Tue Sep 20 10:21:50 2022] [tdb] Close table 'cache0.tdb'
[Tue Sep 20 10:21:50 2022] [tdb] Close table 'filter0.tdb'
[Tue Sep 20 10:21:50 2022] [tempesta fw] modules are stopped
[Tue Sep 20 10:21:50 2022] [tempesta fw] exiting...
[Tue Sep 20 10:21:51 2022] [tdb] Shutdown Tempesta DB
[Tue Sep 20 10:21:51 2022] End test: encoding.test_encoding.TestBothTEAndCL.test
[Tue Sep 20 10:21:51 2022] Start test: encoding.test_encoding.TestChunkedIsNotLast.test
[Tue Sep 20 10:21:51 2022] [tdb] Start Tempesta DB
[Tue Sep 20 10:21:51 2022] [tempesta fw] Initializing Tempesta FW kernel module...
[Tue Sep 20 10:21:52 2022] [tempesta fw] Configuration processing is completed.
[Tue Sep 20 10:21:52 2022] [tdb] Opened table /opt/tempesta/db/filter0.tdb: size=16777216 rec_size=20 base=0000000003777232
[Tue Sep 20 10:21:52 2022] [tdb] Opened table /opt/tempesta/db/cache0.tdb: size=268435456 rec_size=0 base=00000000a77d6694
[Tue Sep 20 10:21:52 2022] [tdb] Opened table /opt/tempesta/db/sessions0.tdb: size=16777216 rec_size=312 base=00000000b371e426
[Tue Sep 20 10:21:52 2022] [tdb] Opened table /opt/tempesta/db/client0.tdb: size=16777216 rec_size=624 base=00000000bfb6ee1b
[Tue Sep 20 10:21:52 2022] [tempesta fw] Open listen socket on: 0.0.0.0
[Tue Sep 20 10:21:52 2022] [tempesta fw] Tempesta FW is ready
[Tue Sep 20 10:21:57 2022] [tdb] Close table 'client0.tdb'
[Tue Sep 20 10:21:57 2022] [tdb] Close table 'sessions0.tdb'
[Tue Sep 20 10:21:59 2022] [tdb] Close table 'cache0.tdb'
[Tue Sep 20 10:21:59 2022] [tdb] Close table 'filter0.tdb'
[Tue Sep 20 10:21:59 2022] [tempesta fw] modules are stopped
[Tue Sep 20 10:21:59 2022] [tempesta fw] exiting...
[Tue Sep 20 10:21:59 2022] [tdb] Shutdown Tempesta DB
[Tue Sep 20 10:21:59 2022] End test: encoding.test_encoding.TestChunkedIsNotLast.test
[Tue Sep 20 10:21:59 2022] Start test: encoding.test_encoding.TestTEMovedToCE.test
[Tue Sep 20 10:21:59 2022] [tdb] Start Tempesta DB
[Tue Sep 20 10:21:59 2022] [tempesta fw] Initializing Tempesta FW kernel module...
[Tue Sep 20 10:22:00 2022] [tempesta fw] Configuration processing is completed.
[Tue Sep 20 10:22:00 2022] [tdb] Opened table /opt/tempesta/db/filter0.tdb: size=16777216 rec_size=20 base=0000000003777232
[Tue Sep 20 10:22:00 2022] [tdb] Opened table /opt/tempesta/db/cache0.tdb: size=268435456 rec_size=0 base=00000000a77d6694
[Tue Sep 20 10:22:00 2022] [tdb] Opened table /opt/tempesta/db/sessions0.tdb: size=16777216 rec_size=312 base=00000000b371e426
[Tue Sep 20 10:22:00 2022] [tdb] Opened table /opt/tempesta/db/client0.tdb: size=16777216 rec_size=624 base=00000000bfb6ee1b
[Tue Sep 20 10:22:00 2022] [tempesta fw] Open listen socket on: 0.0.0.0:443
[Tue Sep 20 10:22:00 2022] [tempesta fw] Tempesta FW is ready
[Tue Sep 20 10:22:00 2022] [tempesta fw] Warning: Parser error: state=RGen_BodyChunk input(-8)=0x74('nked
the body does not actually matter') data_len=236 off=203
[Tue Sep 20 10:22:00 2022] [tempesta fw] Warning: response dropped: processing error: 127.0.0.1
[Tue Sep 20 10:22:00 2022] [tdb] Close table 'client0.tdb'
[Tue Sep 20 10:22:00 2022] [tdb] Close table 'sessions0.tdb'
[Tue Sep 20 10:22:02 2022] [tdb] Close table 'cache0.tdb'
[Tue Sep 20 10:22:02 2022] [tdb] Close table 'filter0.tdb'
[Tue Sep 20 10:22:02 2022] [tempesta fw] modules are stopped
[Tue Sep 20 10:22:02 2022] [tempesta fw] exiting...
[Tue Sep 20 10:22:02 2022] [tdb] Shutdown Tempesta DB
[Tue Sep 20 10:22:02 2022] End test: encoding.test_encoding.TestTEMovedToCE.test
In particular, this is follow up tests mentioned in https://github.com/tempesta-tech/tempesta-test/issues/298