Skip to content

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

Sign in for the full log view
GitHub Actions / test/test_[a-e]* failed Aug 6, 2024 in 0s

7 passed, 11 failed and 2 skipped

Tests failed

❌ junit-report.xml

20 tests were completed in 6691s with 7 passed, 11 failed and 2 skipped.

Test suite Passed Failed Skipped Time
pytest 7✅ 11❌ 2⚪ 6691s

❌ pytest

test.test_callback
  ❌ test_local_callbacks
	default_params = (ManagerParams(data_directory=PosixPath('/tmp/pytest-of-runner/pytest-0/test_local_callbacks0'), log_path=PosixPath('/...'/tmp'), maximum_profile_size=None, recovery_tar=None, donottrack=False, tracking_protection=False, custom_params={})])
test.test_callstack_instrument
  ⚪ test_http_stacktrace
test.test_crawl
  ❌ test_browser_profile_coverage
	default_params = (ManagerParams(data_directory=PosixPath('/tmp/pytest-of-runner/pytest-0/test_browser_profile_coverage0'), log_path=Pos...'/tmp'), maximum_profile_size=None, recovery_tar=None, donottrack=False, tracking_protection=False, custom_params={})])
test.test_custom_function_command
  ❌ test_custom_function
	default_params = (ManagerParams(data_directory=PosixPath('/tmp/pytest-of-runner/pytest-0/test_custom_function0'), log_path=PosixPath('/...'/tmp'), maximum_profile_size=None, recovery_tar=None, donottrack=False, tracking_protection=False, custom_params={})])
test.test_dataclass_validations
  ✅ test_display_mode
  ✅ test_browser_type
  ✅ test_tp_cookies_opt
  ✅ test_save_content_type
  ✅ test_log_file_extension
  ✅ test_failure_limit
  ✅ test_num_browser_crawl_config
test.test_dns_instrument
  ❌ test_name_resolution
	default_params = (ManagerParams(data_directory=PosixPath('/tmp/pytest-of-runner/pytest-0/test_name_resolution0'), log_path=PosixPath('/...'/tmp'), maximum_profile_size=None, recovery_tar=None, donottrack=False, tracking_protection=False, custom_params={})])
test.test_extension.TestExtension
  ❌ test_property_enumeration
	self = <test.test_extension.TestExtension object at 0x7fe6c6006710>
  ❌ test_canvas_fingerprinting
	self = <test.test_extension.TestExtension object at 0x7fe6c6007a90>
  ❌ test_extension_gets_correct_visit_id
	self = <test.test_extension.TestExtension object at 0x7fe6c60063d0>
  ❌ test_webrtc_localip
	self = <test.test_extension.TestExtension object at 0x7fe6c6005350>
  ❌ test_js_call_stack
	self = <test.test_extension.TestExtension object at 0x7fe6c60056d0>
  ❌ test_js_time_stamp
	self = <test.test_extension.TestExtension object at 0x7fe6c60054d0>
  ❌ test_document_cookie_instrumentation
	self = <test.test_extension.TestExtension object at 0x7fe6c6006110>
test.test_extension
  ⚪ test_audio_fingerprinting

Annotations

Check failure on line 0 in junit-report.xml

See this annotation in the file changed.

@github-actions github-actions / test/test_[a-e]*

pytest ► test.test_callback ► test_local_callbacks

Failed test found in:
  junit-report.xml
Error:
  default_params = (ManagerParams(data_directory=PosixPath('/tmp/pytest-of-runner/pytest-0/test_local_callbacks0'), log_path=PosixPath('/...'/tmp'), maximum_profile_size=None, recovery_tar=None, donottrack=False, tracking_protection=False, custom_params={})])
Raw output
default_params = (ManagerParams(data_directory=PosixPath('/tmp/pytest-of-runner/pytest-0/test_local_callbacks0'), log_path=PosixPath('/...'/tmp'), maximum_profile_size=None, recovery_tar=None, donottrack=False, tracking_protection=False, custom_params={})])
task_manager_creator = <function task_manager_creator.<locals>._create_task_manager at 0x7fe6c6045800>

    def test_local_callbacks(
        default_params: FullConfig, task_manager_creator: TaskManagerCreator
    ) -> None:
        """Test the storage controller as well as the entire callback machinery
        to see if all callbacks get correctly called"""
>       manager, _ = task_manager_creator(default_params)

/home/runner/work/OpenWPM/OpenWPM/test/test_callback.py:15: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/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 0x7fe6c60940d0>
host = '127.0.0.1', port = 34969

    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_[a-e]*

pytest ► test.test_crawl ► test_browser_profile_coverage

Failed test found in:
  junit-report.xml
Error:
  default_params = (ManagerParams(data_directory=PosixPath('/tmp/pytest-of-runner/pytest-0/test_browser_profile_coverage0'), log_path=Pos...'/tmp'), maximum_profile_size=None, recovery_tar=None, donottrack=False, tracking_protection=False, custom_params={})])
Raw output
default_params = (ManagerParams(data_directory=PosixPath('/tmp/pytest-of-runner/pytest-0/test_browser_profile_coverage0'), log_path=Pos...'/tmp'), maximum_profile_size=None, recovery_tar=None, donottrack=False, tracking_protection=False, custom_params={})])
task_manager_creator = <function task_manager_creator.<locals>._create_task_manager at 0x7fe6f038b1a0>

    @pytest.mark.skipif(
        "CI" not in os.environ or os.environ["CI"] == "false",
        reason="Makes remote connections",
    )
    @pytest.mark.slow
    def test_browser_profile_coverage(default_params, task_manager_creator):
        """Test the coverage of the browser's profile.
    
        This verifies that Firefox's places.sqlite database contains all
        visited sites. If it does not, it is likely the profile is lost at
        some point during the crawl.
        """
        # Run the test crawl
        manager_params, browser_params = default_params
        manager_params.num_browsers = 1
        manager_params.testing = False
        browser_params[0].profile_archive_dir = (
            manager_params.data_directory / "browser_profile"
        )
        browser_params[0].http_instrument = True
>       manager, crawl_db = task_manager_creator((manager_params, browser_params[:1]))

/home/runner/work/OpenWPM/OpenWPM/test/test_crawl.py:61: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/OpenWPM/OpenWPM/test/conftest.py:80: in _create_task_manager
    manager = TaskManager(
/home/runner/work/OpenWPM/OpenWPM/openwpm/task_manager.py:125: in __init__
    self._launch_browsers()
/home/runner/work/OpenWPM/OpenWPM/openwpm/task_manager.py:210: in _launch_browsers
    self.close()
/home/runner/work/OpenWPM/OpenWPM/openwpm/task_manager.py:505: in close
    self._shutdown_manager(relaxed=relaxed)
/home/runner/work/OpenWPM/OpenWPM/openwpm/task_manager.py:326: in _shutdown_manager
    browser.shutdown_browser(during_init, force=not relaxed)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <openwpm.browser_manager.BrowserManagerHandle object at 0x7fe6c60c4510>
during_init = False, force = False

    def shutdown_browser(self, during_init: bool, force: bool = False) -> None:
        """Runs the closing tasks for this Browser/BrowserManager"""
        # Close BrowserManager process and children
        self.logger.debug("BROWSER %i: Closing browser manager..." % self.browser_id)
        self.close_browser_manager(force=force)
    
        # Archive browser profile (if requested)
        self.logger.debug(
            "BROWSER %i: during_init=%s | profile_archive_dir=%s"
            % (
                self.browser_id,
                str(during_init),
                self.browser_params.profile_archive_dir,
            )
        )
        if not during_init and self.browser_params.profile_archive_dir is not None:
            self.logger.debug(
                "BROWSER %i: Archiving browser profile directory to %s"
                % (self.browser_id, self.browser_params.profile_archive_dir)
            )
            tar_path = self.browser_params.profile_archive_dir / "profile.tar.gz"
>           assert self.current_profile_path is not None
E           AssertionError

/home/runner/work/OpenWPM/OpenWPM/openwpm/browser_manager.py:631: AssertionError

Check failure on line 0 in junit-report.xml

See this annotation in the file changed.

@github-actions github-actions / test/test_[a-e]*

pytest ► test.test_custom_function_command ► test_custom_function

Failed test found in:
  junit-report.xml
Error:
  default_params = (ManagerParams(data_directory=PosixPath('/tmp/pytest-of-runner/pytest-0/test_custom_function0'), log_path=PosixPath('/...'/tmp'), maximum_profile_size=None, recovery_tar=None, donottrack=False, tracking_protection=False, custom_params={})])
Raw output
default_params = (ManagerParams(data_directory=PosixPath('/tmp/pytest-of-runner/pytest-0/test_custom_function0'), log_path=PosixPath('/...'/tmp'), maximum_profile_size=None, recovery_tar=None, donottrack=False, tracking_protection=False, custom_params={})])
xpi = None, server = None

    def test_custom_function(default_params, xpi, server):
        """Test `custom_function` with an inline func that collects links"""
        table_name = TableName("page_links")
    
        manager_params, browser_params = default_params
        path = manager_params.data_directory / "crawl-data.sqlite"
        db = sqlite3.connect(path)
        cur = db.cursor()
    
        cur.execute(
            """CREATE TABLE IF NOT EXISTS %s (
                top_url TEXT, link TEXT,
                visit_id INTEGER, browser_id INTEGER);"""
            % table_name
        )
        cur.close()
        db.close()
    
        storage_provider = SQLiteStorageProvider(path)
>       manager = TaskManager(manager_params, browser_params, storage_provider, None)

/home/runner/work/OpenWPM/OpenWPM/test/test_custom_function_command.py:99: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/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 0x7fe6c6005950>
host = '127.0.0.1', port = 34917

    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_[a-e]*

pytest ► test.test_dns_instrument ► test_name_resolution

Failed test found in:
  junit-report.xml
Error:
  default_params = (ManagerParams(data_directory=PosixPath('/tmp/pytest-of-runner/pytest-0/test_name_resolution0'), log_path=PosixPath('/...'/tmp'), maximum_profile_size=None, recovery_tar=None, donottrack=False, tracking_protection=False, custom_params={})])
Raw output
default_params = (ManagerParams(data_directory=PosixPath('/tmp/pytest-of-runner/pytest-0/test_name_resolution0'), log_path=PosixPath('/...'/tmp'), maximum_profile_size=None, recovery_tar=None, donottrack=False, tracking_protection=False, custom_params={})])
task_manager_creator = <function task_manager_creator.<locals>._create_task_manager at 0x7fe6f03f4900>

    def test_name_resolution(default_params, task_manager_creator):
        manager_params, browser_params = default_params
        for browser_param in browser_params:
            browser_param.dns_instrument = True
    
>       manager, db = task_manager_creator((manager_params, browser_params))

/home/runner/work/OpenWPM/OpenWPM/test/test_dns_instrument.py:11: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/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 0x7fe6c6094790>
host = '127.0.0.1', port = 36967

    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_[a-e]*

pytest ► test.test_extension.TestExtension ► test_property_enumeration

Failed test found in:
  junit-report.xml
Error:
  self = <test.test_extension.TestExtension object at 0x7fe6c6006710>
Raw output
self = <test.test_extension.TestExtension object at 0x7fe6c6006710>

    def test_property_enumeration(self) -> None:
        test_url = utilities.BASE_TEST_URL + "/property_enumeration.html"
>       db = self.visit(test_url)

/home/runner/work/OpenWPM/OpenWPM/test/test_extension.py:270: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/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 0x7fe6c605a110>
host = '127.0.0.1', port = 45405

    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_[a-e]*

pytest ► test.test_extension.TestExtension ► test_canvas_fingerprinting

Failed test found in:
  junit-report.xml
Error:
  self = <test.test_extension.TestExtension object at 0x7fe6c6007a90>
Raw output
self = <test.test_extension.TestExtension object at 0x7fe6c6007a90>

    def test_canvas_fingerprinting(self) -> None:
>       db = self.visit("/canvas_fingerprinting.html")

/home/runner/work/OpenWPM/OpenWPM/test/test_extension.py:279: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/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 0x7fe6c6032790>
host = '127.0.0.1', port = 39545

    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_[a-e]*

pytest ► test.test_extension.TestExtension ► test_extension_gets_correct_visit_id

Failed test found in:
  junit-report.xml
Error:
  self = <test.test_extension.TestExtension object at 0x7fe6c60063d0>
Raw output
self = <test.test_extension.TestExtension object at 0x7fe6c60063d0>

    def test_extension_gets_correct_visit_id(self) -> None:
        url_a = utilities.BASE_TEST_URL + "/simple_a.html"
        url_b = utilities.BASE_TEST_URL + "/simple_b.html"
>       self.visit(url_a)

/home/runner/work/OpenWPM/OpenWPM/test/test_extension.py:298: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/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 0x7fe6f03bee90>
host = '127.0.0.1', port = 37571

    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_[a-e]*

pytest ► test.test_extension.TestExtension ► test_webrtc_localip

Failed test found in:
  junit-report.xml
Error:
  self = <test.test_extension.TestExtension object at 0x7fe6c6005350>
Raw output
self = <test.test_extension.TestExtension object at 0x7fe6c6005350>

    def test_webrtc_localip(self) -> None:
>       db = self.visit("/webrtc_localip.html")

/home/runner/work/OpenWPM/OpenWPM/test/test_extension.py:334: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/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 0x7fe6f043fe50>
host = '127.0.0.1', port = 45489

    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_[a-e]*

pytest ► test.test_extension.TestExtension ► test_js_call_stack

Failed test found in:
  junit-report.xml
Error:
  self = <test.test_extension.TestExtension object at 0x7fe6c60056d0>
Raw output
self = <test.test_extension.TestExtension object at 0x7fe6c60056d0>

    def test_js_call_stack(self):
>       db = self.visit("/js_call_stack.html")

/home/runner/work/OpenWPM/OpenWPM/test/test_extension.py:357: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/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 0x7fe6f01d5150>
host = '127.0.0.1', port = 40241

    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_[a-e]*

pytest ► test.test_extension.TestExtension ► test_js_time_stamp

Failed test found in:
  junit-report.xml
Error:
  self = <test.test_extension.TestExtension object at 0x7fe6c60054d0>
Raw output
self = <test.test_extension.TestExtension object at 0x7fe6c60054d0>

    def test_js_time_stamp(self):
        # Check that timestamp is recorded correctly for the javascript table
        MAX_TIMEDELTA = 60  # max time diff in seconds
>       db = self.visit("/js_call_stack.html")

/home/runner/work/OpenWPM/OpenWPM/test/test_extension.py:378: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/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 0x7fe6c61f0990>
host = '127.0.0.1', port = 36005

    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_[a-e]*

pytest ► test.test_extension.TestExtension ► test_document_cookie_instrumentation

Failed test found in:
  junit-report.xml
Error:
  self = <test.test_extension.TestExtension object at 0x7fe6c6006110>
Raw output
self = <test.test_extension.TestExtension object at 0x7fe6c6006110>

    def test_document_cookie_instrumentation(self):
>       db = self.visit(utilities.BASE_TEST_URL + "/js_cookie.html")

/home/runner/work/OpenWPM/OpenWPM/test/test_extension.py:389: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/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 0x7fe6f04324d0>
host = '127.0.0.1', port = 38919

    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