You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TempestaTest.__create_client, if client.get("interface", False): here we create alias interface and route, then pass IP to __create_client_deproxy. But, even if create_interface and create_route are disabled and only IP is passed, error is gone. Thus, error can be only in __create_client_deproxy.
Passed IP is used only in TlsClient.run_start:
if self.bind_addr:
self.bind((self.bind_addr, 0))
So the root cause is bind. In my test even binding to random address (without creating interface and route) makes self.assertTrue(client.wait_for_connection_close(self.timeout)) pass.
Result: all commented parts in t_frang/test_ip_block.py should be uncommented and pass.
Blocker: tempesta-tech/tempesta#1751, wait when all tests with this issue in reason will be fixed.
The text was updated successfully, but these errors were encountered:
Flow of the error:
TempestaTest.__create_client, if client.get("interface", False):
here we create alias interface and route, then pass IP to__create_client_deproxy
. But, even ifcreate_interface
andcreate_route
are disabled and only IP is passed, error is gone. Thus, error can be only in__create_client_deproxy
.Passed IP is used only in
TlsClient.run_start
:So the root cause is bind. In my test even binding to random address (without creating interface and route) makes
self.assertTrue(client.wait_for_connection_close(self.timeout))
pass.Result: all commented parts in
t_frang/test_ip_block.py
should be uncommented and pass.Blocker: tempesta-tech/tempesta#1751, wait when all tests with this issue in reason will be fixed.
The text was updated successfully, but these errors were encountered: