Stealth extension #293
0 passed, 17 failed and 0 skipped
❌ junit-report.xml
17 tests were completed in 2732s with 0 passed, 17 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 17❌ | 2732s |
❌ pytest
test.test_simple_commands
❌ test_get_site_visits_table_valid[headless]
http_params = <function http_params.<locals>.parameterize at 0x7f8ab3c5aca0>
❌ test_get_site_visits_table_valid[xvfb]
http_params = <function http_params.<locals>.parameterize at 0x7f8ab3b69c60>
❌ test_get_http_tables_valid[headless]
http_params = <function http_params.<locals>.parameterize at 0x7f8ab3acf6a0>
❌ test_get_http_tables_valid[xvfb]
http_params = <function http_params.<locals>.parameterize at 0x7f8ab3b69b20>
❌ test_browse_site_visits_table_valid[headless]
http_params = <function http_params.<locals>.parameterize at 0x7f8ab3c599e0>
❌ test_browse_site_visits_table_valid[xvfb]
http_params = <function http_params.<locals>.parameterize at 0x7f8ad1659300>
❌ test_browse_http_table_valid[headless]
http_params = <function http_params.<locals>.parameterize at 0x7f8ad16596c0>
❌ test_browse_http_table_valid[xvfb]
http_params = <function http_params.<locals>.parameterize at 0x7f8ab3acf920>
❌ test_browse_wrapper_http_table_valid[headless]
http_params = <function http_params.<locals>.parameterize at 0x7f8ad1618540>
❌ test_browse_wrapper_http_table_valid[xvfb]
http_params = <function http_params.<locals>.parameterize at 0x7f8ad165a660>
❌ test_save_screenshot_valid[headless]
http_params = <function http_params.<locals>.parameterize at 0x7f8ad16184a0>
❌ test_save_screenshot_valid[xvfb]
http_params = <function http_params.<locals>.parameterize at 0x7f8ad165a340>
❌ test_dump_page_source_valid[headless]
http_params = <function http_params.<locals>.parameterize at 0x7f8ad161bd80>
❌ test_dump_page_source_valid[xvfb]
http_params = <function http_params.<locals>.parameterize at 0x7f8ad16ccfe0>
❌ test_recursive_dump_page_source_valid[headless]
http_params = <function http_params.<locals>.parameterize at 0x7f8ad16cef20>
❌ test_recursive_dump_page_source_valid[xvfb]
http_params = <function http_params.<locals>.parameterize at 0x7f8ad161a3e0>
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 0x7f8ab3c5aca0>
Raw output
http_params = <function http_params.<locals>.parameterize at 0x7f8ab3c5aca0>
task_manager_creator = <function task_manager_creator.<locals>._create_task_manager at 0x7f8ab3c5ade0>
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 0x7f8ab465be30>
host = '127.0.0.1', port = 46207
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 0x7f8ab3b69c60>
Raw output
http_params = <function http_params.<locals>.parameterize at 0x7f8ab3b69c60>
task_manager_creator = <function task_manager_creator.<locals>._create_task_manager at 0x7f8ab3b69da0>
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 0x7f8ab3b99730>
host = '127.0.0.1', port = 40343
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 0x7f8ab3acf6a0>
Raw output
http_params = <function http_params.<locals>.parameterize at 0x7f8ab3acf6a0>
task_manager_creator = <function task_manager_creator.<locals>._create_task_manager at 0x7f8ab3acf600>
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 0x7f8ab3b34920>
host = '127.0.0.1', port = 35029
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 0x7f8ab3b69b20>
Raw output
http_params = <function http_params.<locals>.parameterize at 0x7f8ab3b69b20>
task_manager_creator = <function task_manager_creator.<locals>._create_task_manager at 0x7f8ab3b6b4c0>
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 0x7f8ab3c9a210>
host = '127.0.0.1', port = 35187
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 0x7f8ab3c599e0>
Raw output
http_params = <function http_params.<locals>.parameterize at 0x7f8ab3c599e0>
task_manager_creator = <function task_manager_creator.<locals>._create_task_manager at 0x7f8ab3c59c60>
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 0x7f8ad1640bf0>
host = '127.0.0.1', port = 42653
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 0x7f8ad1659300>
Raw output
http_params = <function http_params.<locals>.parameterize at 0x7f8ad1659300>
task_manager_creator = <function task_manager_creator.<locals>._create_task_manager at 0x7f8ad1659440>
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 0x7f8ab3b99070>
host = '127.0.0.1', port = 32897
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 0x7f8ad16596c0>
Raw output
http_params = <function http_params.<locals>.parameterize at 0x7f8ad16596c0>
task_manager_creator = <function task_manager_creator.<locals>._create_task_manager at 0x7f8ad1658a40>
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 0x7f8ad1612060>
host = '127.0.0.1', port = 42251
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 0x7f8ab3acf920>
Raw output
http_params = <function http_params.<locals>.parameterize at 0x7f8ab3acf920>
task_manager_creator = <function task_manager_creator.<locals>._create_task_manager at 0x7f8ab3acf560>
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 0x7f8ad1643230>
host = '127.0.0.1', port = 35905
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 0x7f8ad1618540>
Raw output
http_params = <function http_params.<locals>.parameterize at 0x7f8ad1618540>
task_manager_creator = <function task_manager_creator.<locals>._create_task_manager at 0x7f8ad1618720>
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 0x7f8ad16ca7b0>
host = '127.0.0.1', port = 39315
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 0x7f8ad165a660>
Raw output
http_params = <function http_params.<locals>.parameterize at 0x7f8ad165a660>
task_manager_creator = <function task_manager_creator.<locals>._create_task_manager at 0x7f8ad1659940>
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 0x7f8ad16d9010>
host = '127.0.0.1', port = 45033
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 0x7f8ad16184a0>
Raw output
http_params = <function http_params.<locals>.parameterize at 0x7f8ad16184a0>
task_manager_creator = <function task_manager_creator.<locals>._create_task_manager at 0x7f8ad161a160>
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 0x7f8ad16d4cb0>
host = '127.0.0.1', port = 42973
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