Skip to content

refactor(extension): use settings page and local storage to configure…

Sign in for the full log view
GitHub Actions / test/test_[f-h]* failed Aug 6, 2024 in 1s

0 passed, 16 failed and 1 skipped

Tests failed

❌ junit-report.xml

17 tests were completed in 9914s with 0 passed, 16 failed and 1 skipped.

Test suite Passed Failed Skipped Time
pytest 16❌ 1⚪ 9914s

❌ pytest

test.test_http_instrumentation.TestHTTPInstrument
  ❌ test_worker_script_requests
	self = <test.test_http_instrumentation.TestHTTPInstrument object at 0x7fe55e9b9890>
  ❌ test_service_worker_requests
	self = <test.test_http_instrumentation.TestHTTPInstrument object at 0x7fe55e9b91d0>
test.test_http_instrumentation.TestPOSTInstrument
  ❌ test_record_post_data_x_www_form_urlencoded
	self = <test.test_http_instrumentation.TestPOSTInstrument object at 0x7fe55e9b9cd0>
  ❌ test_record_post_data_text_plain
	self = <test.test_http_instrumentation.TestPOSTInstrument object at 0x7fe55e9ba750>
  ❌ test_record_post_data_multipart_formdata
	self = <test.test_http_instrumentation.TestPOSTInstrument object at 0x7fe55e9bb4d0>
  ❌ test_record_post_data_ajax
	self = <test.test_http_instrumentation.TestPOSTInstrument object at 0x7fe55e9c6990>
  ❌ test_record_post_data_ajax_no_key_value
	self = <test.test_http_instrumentation.TestPOSTInstrument object at 0x7fe55e9bb290>
  ❌ test_record_post_data_ajax_no_key_value_base64_encoded
	self = <test.test_http_instrumentation.TestPOSTInstrument object at 0x7fe55e9bba50>
  ❌ test_record_post_formdata
	self = <test.test_http_instrumentation.TestPOSTInstrument object at 0x7fe55e9bbed0>
  ❌ test_record_binary_post_data
	self = <test.test_http_instrumentation.TestPOSTInstrument object at 0x7fe55e9b8810>
  ⚪ test_record_file_upload
test.test_http_instrumentation
  ❌ test_page_visit[True]
	task_manager_creator = <function task_manager_creator.<locals>._create_task_manager at 0x7fe55e939300>
  ❌ test_page_visit[False]
	task_manager_creator = <function task_manager_creator.<locals>._create_task_manager at 0x7fe55e93afc0>
  ❌ test_javascript_saving
	http_params = <function http_params.<locals>.parameterize at 0x7fe55e9f3a60>
  ❌ test_document_saving
	http_params = <function http_params.<locals>.parameterize at 0x7fe55ea78040>
  ❌ test_content_saving
	http_params = <function http_params.<locals>.parameterize at 0x7fe55ea789a0>
  ❌ test_cache_hits_recorded
	http_params = <function http_params.<locals>.parameterize at 0x7fe55eac6020>

Annotations

Check failure on line 0 in junit-report.xml

See this annotation in the file changed.

@github-actions github-actions / test/test_[f-h]*

pytest ► test.test_http_instrumentation.TestHTTPInstrument ► test_worker_script_requests

Failed test found in:
  junit-report.xml
Error:
  self = <test.test_http_instrumentation.TestHTTPInstrument object at 0x7fe55e9b9890>
Raw output
self = <test.test_http_instrumentation.TestHTTPInstrument object at 0x7fe55e9b9890>

    def test_worker_script_requests(self):
        """Check correct URL attribution for requests made by worker script"""
        test_url = utilities.BASE_TEST_URL + "/http_worker_page.html"
>       db = self.visit(test_url)

/home/runner/work/OpenWPM/OpenWPM/test/test_http_instrumentation.py:599: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/OpenWPM/OpenWPM/test/openwpmtest.py:42: in visit
    manager = task_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 0x7fe55e9683d0>
host = '127.0.0.1', port = 33751

    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

See this annotation in the file changed.

@github-actions github-actions / test/test_[f-h]*

pytest ► test.test_http_instrumentation.TestHTTPInstrument ► test_service_worker_requests

Failed test found in:
  junit-report.xml
Error:
  self = <test.test_http_instrumentation.TestHTTPInstrument object at 0x7fe55e9b91d0>
Raw output
self = <test.test_http_instrumentation.TestHTTPInstrument object at 0x7fe55e9b91d0>

    def test_service_worker_requests(self):
        """Check correct URL attribution for requests made by service worker"""
        test_url = utilities.BASE_TEST_URL + "/http_service_worker_page.html"
>       db = self.visit(test_url)

/home/runner/work/OpenWPM/OpenWPM/test/test_http_instrumentation.py:627: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/OpenWPM/OpenWPM/test/openwpmtest.py:42: in visit
    manager = task_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 0x7fe588db9690>
host = '127.0.0.1', port = 35339

    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

See this annotation in the file changed.

@github-actions github-actions / test/test_[f-h]*

pytest ► test.test_http_instrumentation.TestPOSTInstrument ► test_record_post_data_x_www_form_urlencoded

Failed test found in:
  junit-report.xml
Error:
  self = <test.test_http_instrumentation.TestPOSTInstrument object at 0x7fe55e9b9cd0>
Raw output
self = <test.test_http_instrumentation.TestPOSTInstrument object at 0x7fe55e9b9cd0>

    def test_record_post_data_x_www_form_urlencoded(self):
        encoding_type = "application/x-www-form-urlencoded"
>       db = self.visit("/post_request.html?encoding_type=" + encoding_type)

/home/runner/work/OpenWPM/OpenWPM/test/test_http_instrumentation.py:706: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/OpenWPM/OpenWPM/test/openwpmtest.py:42: in visit
    manager = task_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 0x7fe55e923890>
host = '127.0.0.1', port = 43485

    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

See this annotation in the file changed.

@github-actions github-actions / test/test_[f-h]*

pytest ► test.test_http_instrumentation.TestPOSTInstrument ► test_record_post_data_text_plain

Failed test found in:
  junit-report.xml
Error:
  self = <test.test_http_instrumentation.TestPOSTInstrument object at 0x7fe55e9ba750>
Raw output
self = <test.test_http_instrumentation.TestPOSTInstrument object at 0x7fe55e9ba750>

    def test_record_post_data_text_plain(self):
        encoding_type = "text/plain"
>       db = self.visit("/post_request.html?encoding_type=" + encoding_type)

/home/runner/work/OpenWPM/OpenWPM/test/test_http_instrumentation.py:712: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/OpenWPM/OpenWPM/test/openwpmtest.py:42: in visit
    manager = task_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 0x7fe55e921d90>
host = '127.0.0.1', port = 46595

    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

See this annotation in the file changed.

@github-actions github-actions / test/test_[f-h]*

pytest ► test.test_http_instrumentation.TestPOSTInstrument ► test_record_post_data_multipart_formdata

Failed test found in:
  junit-report.xml
Error:
  self = <test.test_http_instrumentation.TestPOSTInstrument object at 0x7fe55e9bb4d0>
Raw output
self = <test.test_http_instrumentation.TestPOSTInstrument object at 0x7fe55e9bb4d0>

    def test_record_post_data_multipart_formdata(self):
        encoding_type = "multipart/form-data"
>       db = self.visit("/post_request.html?encoding_type=" + encoding_type)

/home/runner/work/OpenWPM/OpenWPM/test/test_http_instrumentation.py:722: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/OpenWPM/OpenWPM/test/openwpmtest.py:42: in visit
    manager = task_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 0x7fe588db9d50>
host = '127.0.0.1', port = 45663

    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

See this annotation in the file changed.

@github-actions github-actions / test/test_[f-h]*

pytest ► test.test_http_instrumentation.TestPOSTInstrument ► test_record_post_data_ajax

Failed test found in:
  junit-report.xml
Error:
  self = <test.test_http_instrumentation.TestPOSTInstrument object at 0x7fe55e9c6990>
Raw output
self = <test.test_http_instrumentation.TestPOSTInstrument object at 0x7fe55e9c6990>
tmpdir = local('/tmp/pytest-of-runner/pytest-0/test_record_post_data_ajax0')

    def test_record_post_data_ajax(self, tmpdir):
        post_format = "object"
>       db = self.visit("/post_request_ajax.html?format=" + post_format)

/home/runner/work/OpenWPM/OpenWPM/test/test_http_instrumentation.py:734: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/OpenWPM/OpenWPM/test/openwpmtest.py:42: in visit
    manager = task_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 0x7fe55e93f8d0>
host = '127.0.0.1', port = 43855

    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

See this annotation in the file changed.

@github-actions github-actions / test/test_[f-h]*

pytest ► test.test_http_instrumentation.TestPOSTInstrument ► test_record_post_data_ajax_no_key_value

Failed test found in:
  junit-report.xml
Error:
  self = <test.test_http_instrumentation.TestPOSTInstrument object at 0x7fe55e9bb290>
Raw output
self = <test.test_http_instrumentation.TestPOSTInstrument object at 0x7fe55e9bb290>

    def test_record_post_data_ajax_no_key_value(self):
        """Test AJAX payloads that are not in the key=value form."""
        post_format = "noKeyValue"
>       db = self.visit("/post_request_ajax.html?format=" + post_format)

/home/runner/work/OpenWPM/OpenWPM/test/test_http_instrumentation.py:741: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/OpenWPM/OpenWPM/test/openwpmtest.py:42: in visit
    manager = task_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 0x7fe55e96f510>
host = '127.0.0.1', port = 35337

    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

See this annotation in the file changed.

@github-actions github-actions / test/test_[f-h]*

pytest ► test.test_http_instrumentation.TestPOSTInstrument ► test_record_post_data_ajax_no_key_value_base64_encoded

Failed test found in:
  junit-report.xml
Error:
  self = <test.test_http_instrumentation.TestPOSTInstrument object at 0x7fe55e9bba50>
Raw output
self = <test.test_http_instrumentation.TestPOSTInstrument object at 0x7fe55e9bba50>

    def test_record_post_data_ajax_no_key_value_base64_encoded(self):
        """Test Base64 encoded AJAX payloads (no key=value form)."""
        post_format = "noKeyValueBase64"
>       db = self.visit("/post_request_ajax.html?format=" + post_format)

/home/runner/work/OpenWPM/OpenWPM/test/test_http_instrumentation.py:748: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/OpenWPM/OpenWPM/test/openwpmtest.py:42: in visit
    manager = task_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 0x7fe588d23b90>
host = '127.0.0.1', port = 40093

    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

See this annotation in the file changed.

@github-actions github-actions / test/test_[f-h]*

pytest ► test.test_http_instrumentation.TestPOSTInstrument ► test_record_post_formdata

Failed test found in:
  junit-report.xml
Error:
  self = <test.test_http_instrumentation.TestPOSTInstrument object at 0x7fe55e9bbed0>
Raw output
self = <test.test_http_instrumentation.TestPOSTInstrument object at 0x7fe55e9bbed0>

    def test_record_post_formdata(self):
        post_format = "formData"
>       db = self.visit("/post_request_ajax.html?format=" + post_format)

/home/runner/work/OpenWPM/OpenWPM/test/test_http_instrumentation.py:756: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/OpenWPM/OpenWPM/test/openwpmtest.py:42: in visit
    manager = task_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 0x7fe55ebb7650>
host = '127.0.0.1', port = 46215

    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

See this annotation in the file changed.

@github-actions github-actions / test/test_[f-h]*

pytest ► test.test_http_instrumentation.TestPOSTInstrument ► test_record_binary_post_data

Failed test found in:
  junit-report.xml
Error:
  self = <test.test_http_instrumentation.TestPOSTInstrument object at 0x7fe55e9b8810>
Raw output
self = <test.test_http_instrumentation.TestPOSTInstrument object at 0x7fe55e9b8810>

    def test_record_binary_post_data(self):
        post_format = "binary"
>       db = self.visit("/post_request_ajax.html?format=" + post_format)

/home/runner/work/OpenWPM/OpenWPM/test/test_http_instrumentation.py:762: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/OpenWPM/OpenWPM/test/openwpmtest.py:42: in visit
    manager = task_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 0x7fe55eaf9f90>
host = '127.0.0.1', port = 38511

    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

See this annotation in the file changed.

@github-actions github-actions / test/test_[f-h]*

pytest ► test.test_http_instrumentation ► test_page_visit[True]

Failed test found in:
  junit-report.xml
Error:
  task_manager_creator = <function task_manager_creator.<locals>._create_task_manager at 0x7fe55e939300>
Raw output
task_manager_creator = <function task_manager_creator.<locals>._create_task_manager at 0x7fe55e939300>
http_params = <function http_params.<locals>.parameterize at 0x7fe55e93b060>
delayed = True

    @pytest.mark.parametrize("delayed", [True, False])
    def test_page_visit(
        task_manager_creator: TaskManagerCreator, http_params: HttpParams, delayed: bool
    ) -> None:
        test_url = utilities.BASE_TEST_URL + "/http_test_page.html"
        manager_params, browser_params = http_params()
        if delayed:
            for browser_param in browser_params:
                browser_param.custom_params[
                    "pre_instrumentation_code"
                ] = """
                    const startTime = Date.now();
                    while (Date.now() - startTime < 5000) { // Delaying for 5s
                        console.log("delaying startup");
                    };
                """
    
>       tm, db = task_manager_creator((manager_params, browser_params))

/home/runner/work/OpenWPM/OpenWPM/test/test_http_instrumentation.py:833: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/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 0x7fe55ea98610>
host = '127.0.0.1', port = 43833

    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