Stealth extension #1037
0 passed, 17 failed and 0 skipped
❌ junit-report.xml
17 tests were completed in 2702s with 0 passed, 17 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 17❌ | 2702s |
❌ pytest
test.test_simple_commands
❌ test_get_site_visits_table_valid[headless]
http_params = <function http_params.<locals>.parameterize at 0x7f53efe9ae80>
❌ test_get_site_visits_table_valid[xvfb]
http_params = <function http_params.<locals>.parameterize at 0x7f53efeb1e40>
❌ test_get_http_tables_valid[headless]
http_params = <function http_params.<locals>.parameterize at 0x7f53efe6b740>
❌ test_get_http_tables_valid[xvfb]
http_params = <function http_params.<locals>.parameterize at 0x7f53efeb3740>
❌ test_browse_site_visits_table_valid[headless]
http_params = <function http_params.<locals>.parameterize at 0x7f53efe99da0>
❌ test_browse_site_visits_table_valid[xvfb]
http_params = <function http_params.<locals>.parameterize at 0x7f540d7c2160>
❌ test_browse_http_table_valid[headless]
http_params = <function http_params.<locals>.parameterize at 0x7f540d7c2020>
❌ test_browse_http_table_valid[xvfb]
http_params = <function http_params.<locals>.parameterize at 0x7f53efe9ae80>
❌ test_browse_wrapper_http_table_valid[headless]
http_params = <function http_params.<locals>.parameterize at 0x7f540d7f0040>
❌ test_browse_wrapper_http_table_valid[xvfb]
http_params = <function http_params.<locals>.parameterize at 0x7f540d7c00e0>
❌ test_save_screenshot_valid[headless]
http_params = <function http_params.<locals>.parameterize at 0x7f540d7f09a0>
❌ test_save_screenshot_valid[xvfb]
http_params = <function http_params.<locals>.parameterize at 0x7f540d7c1a80>
❌ test_dump_page_source_valid[headless]
http_params = <function http_params.<locals>.parameterize at 0x7f540d7f3420>
❌ test_dump_page_source_valid[xvfb]
http_params = <function http_params.<locals>.parameterize at 0x7f540d7391c0>
❌ test_recursive_dump_page_source_valid[headless]
http_params = <function http_params.<locals>.parameterize at 0x7f540d73afc0>
❌ test_recursive_dump_page_source_valid[xvfb]
http_params = <function http_params.<locals>.parameterize at 0x7f540d7f1300>
test.test_storage_vectors
❌ test_js_profile_cookies
default_params = (ManagerParams(data_directory=PosixPath('/tmp/pytest-of-runner/pytest-0/test_js_profile_cookies0'), log_path=PosixPath...'/tmp'), maximum_profile_size=None, recovery_tar=None, donottrack=False, tracking_protection=False, custom_params={})])
Annotations
Check failure on line 0 in junit-report.xml
github-actions / test/test_[s]*
pytest ► test.test_simple_commands ► test_get_site_visits_table_valid[headless]
Failed test found in:
junit-report.xml
Error:
http_params = <function http_params.<locals>.parameterize at 0x7f53efe9ae80>
Raw output
http_params = <function http_params.<locals>.parameterize at 0x7f53efe9ae80>
task_manager_creator = <function task_manager_creator.<locals>._create_task_manager at 0x7f53efe9afc0>
display_mode = 'headless'
@pytest.mark.parametrize("display_mode", scenarios)
def test_get_site_visits_table_valid(http_params, task_manager_creator, display_mode):
"""Check that get works and populates db correctly."""
# Run the test crawl
manager_params, browser_params = http_params(display_mode)
> manager, db = task_manager_creator((manager_params, browser_params))
/home/runner/work/OpenWPM/OpenWPM/test/test_simple_commands.py:101:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/runner/work/OpenWPM/OpenWPM/test/conftest.py:80: in _create_task_manager
manager = TaskManager(
/home/runner/work/OpenWPM/OpenWPM/openwpm/task_manager.py:149: in __init__
self.storage_controller_handle.save_configuration(
/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:472: in save_configuration
sock = DataSocket(self.listener_address, "StorageControllerHandle")
/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:389: in __init__
self.socket.connect(*listener_address)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <openwpm.socket_interface.ClientSocket object at 0x7f53efdc4680>
host = '127.0.0.1', port = 42765
def connect(self, host, port):
if self.verbose:
print("Connecting to: %s:%i" % (host, port))
> self.sock.connect((host, port))
E ConnectionRefusedError: [Errno 111] Connection refused
/home/runner/work/OpenWPM/OpenWPM/openwpm/socket_interface.py:127: ConnectionRefusedError
Check failure on line 0 in junit-report.xml
github-actions / test/test_[s]*
pytest ► test.test_simple_commands ► test_get_site_visits_table_valid[xvfb]
Failed test found in:
junit-report.xml
Error:
http_params = <function http_params.<locals>.parameterize at 0x7f53efeb1e40>
Raw output
http_params = <function http_params.<locals>.parameterize at 0x7f53efeb1e40>
task_manager_creator = <function task_manager_creator.<locals>._create_task_manager at 0x7f53efeb1f80>
display_mode = 'xvfb'
@pytest.mark.parametrize("display_mode", scenarios)
def test_get_site_visits_table_valid(http_params, task_manager_creator, display_mode):
"""Check that get works and populates db correctly."""
# Run the test crawl
manager_params, browser_params = http_params(display_mode)
> manager, db = task_manager_creator((manager_params, browser_params))
/home/runner/work/OpenWPM/OpenWPM/test/test_simple_commands.py:101:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/runner/work/OpenWPM/OpenWPM/test/conftest.py:80: in _create_task_manager
manager = TaskManager(
/home/runner/work/OpenWPM/OpenWPM/openwpm/task_manager.py:149: in __init__
self.storage_controller_handle.save_configuration(
/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:472: in save_configuration
sock = DataSocket(self.listener_address, "StorageControllerHandle")
/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:389: in __init__
self.socket.connect(*listener_address)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <openwpm.socket_interface.ClientSocket object at 0x7f540d7d04d0>
host = '127.0.0.1', port = 38489
def connect(self, host, port):
if self.verbose:
print("Connecting to: %s:%i" % (host, port))
> self.sock.connect((host, port))
E ConnectionRefusedError: [Errno 111] Connection refused
/home/runner/work/OpenWPM/OpenWPM/openwpm/socket_interface.py:127: ConnectionRefusedError
Check failure on line 0 in junit-report.xml
github-actions / test/test_[s]*
pytest ► test.test_simple_commands ► test_get_http_tables_valid[headless]
Failed test found in:
junit-report.xml
Error:
http_params = <function http_params.<locals>.parameterize at 0x7f53efe6b740>
Raw output
http_params = <function http_params.<locals>.parameterize at 0x7f53efe6b740>
task_manager_creator = <function task_manager_creator.<locals>._create_task_manager at 0x7f53efe29760>
display_mode = 'headless'
@pytest.mark.parametrize("display_mode", scenarios)
def test_get_http_tables_valid(http_params, task_manager_creator, display_mode):
"""Check that get works and populates http tables correctly."""
# Run the test crawl
manager_params, browser_params = http_params(display_mode)
> manager, db = task_manager_creator((manager_params, browser_params))
/home/runner/work/OpenWPM/OpenWPM/test/test_simple_commands.py:131:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/runner/work/OpenWPM/OpenWPM/test/conftest.py:80: in _create_task_manager
manager = TaskManager(
/home/runner/work/OpenWPM/OpenWPM/openwpm/task_manager.py:149: in __init__
self.storage_controller_handle.save_configuration(
/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:472: in save_configuration
sock = DataSocket(self.listener_address, "StorageControllerHandle")
/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:389: in __init__
self.socket.connect(*listener_address)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <openwpm.socket_interface.ClientSocket object at 0x7f540d7d3e60>
host = '127.0.0.1', port = 44209
def connect(self, host, port):
if self.verbose:
print("Connecting to: %s:%i" % (host, port))
> self.sock.connect((host, port))
E ConnectionRefusedError: [Errno 111] Connection refused
/home/runner/work/OpenWPM/OpenWPM/openwpm/socket_interface.py:127: ConnectionRefusedError
Check failure on line 0 in junit-report.xml
github-actions / test/test_[s]*
pytest ► test.test_simple_commands ► test_get_http_tables_valid[xvfb]
Failed test found in:
junit-report.xml
Error:
http_params = <function http_params.<locals>.parameterize at 0x7f53efeb3740>
Raw output
http_params = <function http_params.<locals>.parameterize at 0x7f53efeb3740>
task_manager_creator = <function task_manager_creator.<locals>._create_task_manager at 0x7f53efeb2020>
display_mode = 'xvfb'
@pytest.mark.parametrize("display_mode", scenarios)
def test_get_http_tables_valid(http_params, task_manager_creator, display_mode):
"""Check that get works and populates http tables correctly."""
# Run the test crawl
manager_params, browser_params = http_params(display_mode)
> manager, db = task_manager_creator((manager_params, browser_params))
/home/runner/work/OpenWPM/OpenWPM/test/test_simple_commands.py:131:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/runner/work/OpenWPM/OpenWPM/test/conftest.py:80: in _create_task_manager
manager = TaskManager(
/home/runner/work/OpenWPM/OpenWPM/openwpm/task_manager.py:149: in __init__
self.storage_controller_handle.save_configuration(
/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:472: in save_configuration
sock = DataSocket(self.listener_address, "StorageControllerHandle")
/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:389: in __init__
self.socket.connect(*listener_address)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <openwpm.socket_interface.ClientSocket object at 0x7f540d7b0470>
host = '127.0.0.1', port = 39379
def connect(self, host, port):
if self.verbose:
print("Connecting to: %s:%i" % (host, port))
> self.sock.connect((host, port))
E ConnectionRefusedError: [Errno 111] Connection refused
/home/runner/work/OpenWPM/OpenWPM/openwpm/socket_interface.py:127: ConnectionRefusedError
Check failure on line 0 in junit-report.xml
github-actions / test/test_[s]*
pytest ► test.test_simple_commands ► test_browse_site_visits_table_valid[headless]
Failed test found in:
junit-report.xml
Error:
http_params = <function http_params.<locals>.parameterize at 0x7f53efe99da0>
Raw output
http_params = <function http_params.<locals>.parameterize at 0x7f53efe99da0>
task_manager_creator = <function task_manager_creator.<locals>._create_task_manager at 0x7f53efe29760>
display_mode = 'headless'
@pytest.mark.parametrize("display_mode", scenarios)
def test_browse_site_visits_table_valid(
http_params, task_manager_creator, display_mode
):
"""Check that CommandSequence.browse() populates db correctly."""
# Run the test crawl
manager_params, browser_params = http_params(display_mode)
> manager, db = task_manager_creator((manager_params, browser_params))
/home/runner/work/OpenWPM/OpenWPM/test/test_simple_commands.py:186:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/runner/work/OpenWPM/OpenWPM/test/conftest.py:80: in _create_task_manager
manager = TaskManager(
/home/runner/work/OpenWPM/OpenWPM/openwpm/task_manager.py:149: in __init__
self.storage_controller_handle.save_configuration(
/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:472: in save_configuration
sock = DataSocket(self.listener_address, "StorageControllerHandle")
/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:389: in __init__
self.socket.connect(*listener_address)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <openwpm.socket_interface.ClientSocket object at 0x7f540d7d09e0>
host = '127.0.0.1', port = 40759
def connect(self, host, port):
if self.verbose:
print("Connecting to: %s:%i" % (host, port))
> self.sock.connect((host, port))
E ConnectionRefusedError: [Errno 111] Connection refused
/home/runner/work/OpenWPM/OpenWPM/openwpm/socket_interface.py:127: ConnectionRefusedError
Check failure on line 0 in junit-report.xml
github-actions / test/test_[s]*
pytest ► test.test_simple_commands ► test_browse_site_visits_table_valid[xvfb]
Failed test found in:
junit-report.xml
Error:
http_params = <function http_params.<locals>.parameterize at 0x7f540d7c2160>
Raw output
http_params = <function http_params.<locals>.parameterize at 0x7f540d7c2160>
task_manager_creator = <function task_manager_creator.<locals>._create_task_manager at 0x7f540d7c22a0>
display_mode = 'xvfb'
@pytest.mark.parametrize("display_mode", scenarios)
def test_browse_site_visits_table_valid(
http_params, task_manager_creator, display_mode
):
"""Check that CommandSequence.browse() populates db correctly."""
# Run the test crawl
manager_params, browser_params = http_params(display_mode)
> manager, db = task_manager_creator((manager_params, browser_params))
/home/runner/work/OpenWPM/OpenWPM/test/test_simple_commands.py:186:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/runner/work/OpenWPM/OpenWPM/test/conftest.py:80: in _create_task_manager
manager = TaskManager(
/home/runner/work/OpenWPM/OpenWPM/openwpm/task_manager.py:149: in __init__
self.storage_controller_handle.save_configuration(
/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:472: in save_configuration
sock = DataSocket(self.listener_address, "StorageControllerHandle")
/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:389: in __init__
self.socket.connect(*listener_address)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <openwpm.socket_interface.ClientSocket object at 0x7f540d7b0c80>
host = '127.0.0.1', port = 43829
def connect(self, host, port):
if self.verbose:
print("Connecting to: %s:%i" % (host, port))
> self.sock.connect((host, port))
E ConnectionRefusedError: [Errno 111] Connection refused
/home/runner/work/OpenWPM/OpenWPM/openwpm/socket_interface.py:127: ConnectionRefusedError
Check failure on line 0 in junit-report.xml
github-actions / test/test_[s]*
pytest ► test.test_simple_commands ► test_browse_http_table_valid[headless]
Failed test found in:
junit-report.xml
Error:
http_params = <function http_params.<locals>.parameterize at 0x7f540d7c2020>
Raw output
http_params = <function http_params.<locals>.parameterize at 0x7f540d7c2020>
task_manager_creator = <function task_manager_creator.<locals>._create_task_manager at 0x7f540d7c1da0>
display_mode = 'headless'
@pytest.mark.parametrize("display_mode", scenarios)
def test_browse_http_table_valid(http_params, task_manager_creator, display_mode):
"""Check CommandSequence.browse() works and populates http tables correctly.
NOTE: Since the browse command is choosing links randomly, there is a
(very small -- 2*0.5^20) chance this test will fail with valid
code.
"""
# Run the test crawl
manager_params, browser_params = http_params(display_mode)
> manager, db = task_manager_creator((manager_params, browser_params))
/home/runner/work/OpenWPM/OpenWPM/test/test_simple_commands.py:222:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/runner/work/OpenWPM/OpenWPM/test/conftest.py:80: in _create_task_manager
manager = TaskManager(
/home/runner/work/OpenWPM/OpenWPM/openwpm/task_manager.py:149: in __init__
self.storage_controller_handle.save_configuration(
/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:472: in save_configuration
sock = DataSocket(self.listener_address, "StorageControllerHandle")
/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:389: in __init__
self.socket.connect(*listener_address)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <openwpm.socket_interface.ClientSocket object at 0x7f540d752360>
host = '127.0.0.1', port = 33975
def connect(self, host, port):
if self.verbose:
print("Connecting to: %s:%i" % (host, port))
> self.sock.connect((host, port))
E ConnectionRefusedError: [Errno 111] Connection refused
/home/runner/work/OpenWPM/OpenWPM/openwpm/socket_interface.py:127: ConnectionRefusedError
Check failure on line 0 in junit-report.xml
github-actions / test/test_[s]*
pytest ► test.test_simple_commands ► test_browse_http_table_valid[xvfb]
Failed test found in:
junit-report.xml
Error:
http_params = <function http_params.<locals>.parameterize at 0x7f53efe9ae80>
Raw output
http_params = <function http_params.<locals>.parameterize at 0x7f53efe9ae80>
task_manager_creator = <function task_manager_creator.<locals>._create_task_manager at 0x7f53efe99da0>
display_mode = 'xvfb'
@pytest.mark.parametrize("display_mode", scenarios)
def test_browse_http_table_valid(http_params, task_manager_creator, display_mode):
"""Check CommandSequence.browse() works and populates http tables correctly.
NOTE: Since the browse command is choosing links randomly, there is a
(very small -- 2*0.5^20) chance this test will fail with valid
code.
"""
# Run the test crawl
manager_params, browser_params = http_params(display_mode)
> manager, db = task_manager_creator((manager_params, browser_params))
/home/runner/work/OpenWPM/OpenWPM/test/test_simple_commands.py:222:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/runner/work/OpenWPM/OpenWPM/test/conftest.py:80: in _create_task_manager
manager = TaskManager(
/home/runner/work/OpenWPM/OpenWPM/openwpm/task_manager.py:149: in __init__
self.storage_controller_handle.save_configuration(
/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:472: in save_configuration
sock = DataSocket(self.listener_address, "StorageControllerHandle")
/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:389: in __init__
self.socket.connect(*listener_address)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <openwpm.socket_interface.ClientSocket object at 0x7f540d7e9310>
host = '127.0.0.1', port = 39643
def connect(self, host, port):
if self.verbose:
print("Connecting to: %s:%i" % (host, port))
> self.sock.connect((host, port))
E ConnectionRefusedError: [Errno 111] Connection refused
/home/runner/work/OpenWPM/OpenWPM/openwpm/socket_interface.py:127: ConnectionRefusedError
Check failure on line 0 in junit-report.xml
github-actions / test/test_[s]*
pytest ► test.test_simple_commands ► test_browse_wrapper_http_table_valid[headless]
Failed test found in:
junit-report.xml
Error:
http_params = <function http_params.<locals>.parameterize at 0x7f540d7f0040>
Raw output
http_params = <function http_params.<locals>.parameterize at 0x7f540d7f0040>
task_manager_creator = <function task_manager_creator.<locals>._create_task_manager at 0x7f540d7f0900>
display_mode = 'headless'
@pytest.mark.parametrize("display_mode", scenarios)
def test_browse_wrapper_http_table_valid(
http_params, task_manager_creator, display_mode
):
"""Check that TaskManager.browse() wrapper works and populates
http tables correctly.
NOTE: Since the browse command is choosing links randomly, there is a
(very small -- 2*0.5^20) chance this test will fail with valid
code.
"""
# Run the test crawl
manager_params, browser_params = http_params(display_mode)
> manager, db = task_manager_creator((manager_params, browser_params))
/home/runner/work/OpenWPM/OpenWPM/test/test_simple_commands.py:311:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/runner/work/OpenWPM/OpenWPM/test/conftest.py:80: in _create_task_manager
manager = TaskManager(
/home/runner/work/OpenWPM/OpenWPM/openwpm/task_manager.py:149: in __init__
self.storage_controller_handle.save_configuration(
/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:472: in save_configuration
sock = DataSocket(self.listener_address, "StorageControllerHandle")
/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:389: in __init__
self.socket.connect(*listener_address)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <openwpm.socket_interface.ClientSocket object at 0x7f540d7eadb0>
host = '127.0.0.1', port = 34641
def connect(self, host, port):
if self.verbose:
print("Connecting to: %s:%i" % (host, port))
> self.sock.connect((host, port))
E ConnectionRefusedError: [Errno 111] Connection refused
/home/runner/work/OpenWPM/OpenWPM/openwpm/socket_interface.py:127: ConnectionRefusedError
Check failure on line 0 in junit-report.xml
github-actions / test/test_[s]*
pytest ► test.test_simple_commands ► test_browse_wrapper_http_table_valid[xvfb]
Failed test found in:
junit-report.xml
Error:
http_params = <function http_params.<locals>.parameterize at 0x7f540d7c00e0>
Raw output
http_params = <function http_params.<locals>.parameterize at 0x7f540d7c00e0>
task_manager_creator = <function task_manager_creator.<locals>._create_task_manager at 0x7f540d7c3600>
display_mode = 'xvfb'
@pytest.mark.parametrize("display_mode", scenarios)
def test_browse_wrapper_http_table_valid(
http_params, task_manager_creator, display_mode
):
"""Check that TaskManager.browse() wrapper works and populates
http tables correctly.
NOTE: Since the browse command is choosing links randomly, there is a
(very small -- 2*0.5^20) chance this test will fail with valid
code.
"""
# Run the test crawl
manager_params, browser_params = http_params(display_mode)
> manager, db = task_manager_creator((manager_params, browser_params))
/home/runner/work/OpenWPM/OpenWPM/test/test_simple_commands.py:311:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/runner/work/OpenWPM/OpenWPM/test/conftest.py:80: in _create_task_manager
manager = TaskManager(
/home/runner/work/OpenWPM/OpenWPM/openwpm/task_manager.py:149: in __init__
self.storage_controller_handle.save_configuration(
/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:472: in save_configuration
sock = DataSocket(self.listener_address, "StorageControllerHandle")
/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:389: in __init__
self.socket.connect(*listener_address)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <openwpm.socket_interface.ClientSocket object at 0x7f540d7e8650>
host = '127.0.0.1', port = 40997
def connect(self, host, port):
if self.verbose:
print("Connecting to: %s:%i" % (host, port))
> self.sock.connect((host, port))
E ConnectionRefusedError: [Errno 111] Connection refused
/home/runner/work/OpenWPM/OpenWPM/openwpm/socket_interface.py:127: ConnectionRefusedError
Check failure on line 0 in junit-report.xml
github-actions / test/test_[s]*
pytest ► test.test_simple_commands ► test_save_screenshot_valid[headless]
Failed test found in:
junit-report.xml
Error:
http_params = <function http_params.<locals>.parameterize at 0x7f540d7f09a0>
Raw output
http_params = <function http_params.<locals>.parameterize at 0x7f540d7f09a0>
task_manager_creator = <function task_manager_creator.<locals>._create_task_manager at 0x7f540d7f1da0>
display_mode = 'headless'
@pytest.mark.parametrize("display_mode", scenarios)
def test_save_screenshot_valid(http_params, task_manager_creator, display_mode):
"""Check that 'save_screenshot' works"""
# Run the test crawl
manager_params, browser_params = http_params(display_mode)
> manager, _ = task_manager_creator((manager_params, browser_params))
/home/runner/work/OpenWPM/OpenWPM/test/test_simple_commands.py:387:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/runner/work/OpenWPM/OpenWPM/test/conftest.py:80: in _create_task_manager
manager = TaskManager(
/home/runner/work/OpenWPM/OpenWPM/openwpm/task_manager.py:149: in __init__
self.storage_controller_handle.save_configuration(
/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:472: in save_configuration
sock = DataSocket(self.listener_address, "StorageControllerHandle")
/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:389: in __init__
self.socket.connect(*listener_address)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <openwpm.socket_interface.ClientSocket object at 0x7f540d7286b0>
host = '127.0.0.1', port = 38747
def connect(self, host, port):
if self.verbose:
print("Connecting to: %s:%i" % (host, port))
> self.sock.connect((host, port))
E ConnectionRefusedError: [Errno 111] Connection refused
/home/runner/work/OpenWPM/OpenWPM/openwpm/socket_interface.py:127: ConnectionRefusedError