Skip to content

Otel

Otel #344

GitHub Actions / test/test_[a-e]* failed Jul 22, 2024 in 0s

13 passed, 5 failed and 2 skipped

Tests failed

❌ junit-report.xml

20 tests were completed in 1220s with 13 passed, 5 failed and 2 skipped.

Test suite Passed Failed Skipped Time
pytest 13✅ 5❌ 2⚪ 1220s

❌ pytest

test.test_callback
  ✅ test_local_callbacks
test.test_callstack_instrument
  ⚪ test_http_stacktrace
test.test_crawl
  ✅ test_browser_profile_coverage
test.test_custom_function_command
  ✅ test_custom_function
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
test.test_extension.TestExtension
  ✅ test_property_enumeration
  ❌ test_canvas_fingerprinting
	self = <openwpm.storage.storage_controller.StorageControllerHandle object at 0x7fce50d83c50>
  ❌ test_extension_gets_correct_visit_id
	self = <openwpm.storage.storage_controller.StorageControllerHandle object at 0x7fce50dec150>
  ❌ test_webrtc_localip
	self = <openwpm.storage.storage_controller.StorageControllerHandle object at 0x7fce50e2bc50>
  ❌ test_js_call_stack
	self = <openwpm.storage.storage_controller.StorageControllerHandle object at 0x7fce4fb58910>
  ❌ test_js_time_stamp
	self = <openwpm.storage.storage_controller.StorageControllerHandle object at 0x7fce4fcd04d0>
  ✅ test_document_cookie_instrumentation
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_extension.TestExtension ► test_canvas_fingerprinting

Failed test found in:
  junit-report.xml
Error:
  self = <openwpm.storage.storage_controller.StorageControllerHandle object at 0x7fce50d83c50>
Raw output
self = <openwpm.storage.storage_controller.StorageControllerHandle object at 0x7fce50d83c50>

    def get_status(self) -> int:
        """Get listener process status. If the status queue is empty, block."""
        try:
>           self._last_status = self.status_queue.get(
                block=True, timeout=STATUS_TIMEOUT
            )

/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:569: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <multiprocess.queues.Queue object at 0x7fce50d83a10>, block = True
timeout = 119.99999404899995

    def get(self, block=True, timeout=None):
        if self._closed:
            raise ValueError(f"Queue {self!r} is closed")
        if block and timeout is None:
            with self._rlock:
                res = self._recv_bytes()
            self._sem.release()
        else:
            if block:
                deadline = getattr(time,'monotonic',time.time)() + timeout
            if not self._rlock.acquire(block, timeout):
                raise Empty
            try:
                if block:
                    timeout = deadline - getattr(time,'monotonic',time.time)()
                    if not self._poll(timeout):
>                       raise Empty
E                       _queue.Empty

/home/runner/mamba/envs/openwpm/lib/python3.11/site-packages/multiprocess/queues.py:117: Empty

During handling of the above exception, another exception occurred:

self = <test.test_extension.TestExtension object at 0x7fce2c13a310>

    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:50: in visit
    manager.get(url=page_url, sleep=sleep_after)
/home/runner/work/OpenWPM/OpenWPM/openwpm/task_manager.py:499: in get
    self.execute_command_sequence(command_sequence, index=index)
/home/runner/work/OpenWPM/OpenWPM/openwpm/task_manager.py:439: in execute_command_sequence
    agg_queue_size = self.storage_controller_handle.get_most_recent_status()
/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:550: in get_most_recent_status
    return self.get_status()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <openwpm.storage.storage_controller.StorageControllerHandle object at 0x7fce50d83c50>

    def get_status(self) -> int:
        """Get listener process status. If the status queue is empty, block."""
        try:
            self._last_status = self.status_queue.get(
                block=True, timeout=STATUS_TIMEOUT
            )
            self._last_status_received = time.time()
        except queue.Empty:
>           assert self._last_status_received is not None
E           AssertionError

/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:574: 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_extension.TestExtension ► test_extension_gets_correct_visit_id

Failed test found in:
  junit-report.xml
Error:
  self = <openwpm.storage.storage_controller.StorageControllerHandle object at 0x7fce50dec150>
Raw output
self = <openwpm.storage.storage_controller.StorageControllerHandle object at 0x7fce50dec150>

    def get_status(self) -> int:
        """Get listener process status. If the status queue is empty, block."""
        try:
>           self._last_status = self.status_queue.get(
                block=True, timeout=STATUS_TIMEOUT
            )

/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:569: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <multiprocess.queues.Queue object at 0x7fce50dec0d0>, block = True
timeout = 119.99999388799995

    def get(self, block=True, timeout=None):
        if self._closed:
            raise ValueError(f"Queue {self!r} is closed")
        if block and timeout is None:
            with self._rlock:
                res = self._recv_bytes()
            self._sem.release()
        else:
            if block:
                deadline = getattr(time,'monotonic',time.time)() + timeout
            if not self._rlock.acquire(block, timeout):
                raise Empty
            try:
                if block:
                    timeout = deadline - getattr(time,'monotonic',time.time)()
                    if not self._poll(timeout):
>                       raise Empty
E                       _queue.Empty

/home/runner/mamba/envs/openwpm/lib/python3.11/site-packages/multiprocess/queues.py:117: Empty

During handling of the above exception, another exception occurred:

self = <test.test_extension.TestExtension object at 0x7fce2c13a190>

    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:50: in visit
    manager.get(url=page_url, sleep=sleep_after)
/home/runner/work/OpenWPM/OpenWPM/openwpm/task_manager.py:499: in get
    self.execute_command_sequence(command_sequence, index=index)
/home/runner/work/OpenWPM/OpenWPM/openwpm/task_manager.py:439: in execute_command_sequence
    agg_queue_size = self.storage_controller_handle.get_most_recent_status()
/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:550: in get_most_recent_status
    return self.get_status()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <openwpm.storage.storage_controller.StorageControllerHandle object at 0x7fce50dec150>

    def get_status(self) -> int:
        """Get listener process status. If the status queue is empty, block."""
        try:
            self._last_status = self.status_queue.get(
                block=True, timeout=STATUS_TIMEOUT
            )
            self._last_status_received = time.time()
        except queue.Empty:
>           assert self._last_status_received is not None
E           AssertionError

/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:574: 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_extension.TestExtension ► test_webrtc_localip

Failed test found in:
  junit-report.xml
Error:
  self = <openwpm.storage.storage_controller.StorageControllerHandle object at 0x7fce50e2bc50>
Raw output
self = <openwpm.storage.storage_controller.StorageControllerHandle object at 0x7fce50e2bc50>

    def get_status(self) -> int:
        """Get listener process status. If the status queue is empty, block."""
        try:
>           self._last_status = self.status_queue.get(
                block=True, timeout=STATUS_TIMEOUT
            )

/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:569: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <multiprocess.queues.Queue object at 0x7fce50e2aed0>, block = True
timeout = 119.99999591200003

    def get(self, block=True, timeout=None):
        if self._closed:
            raise ValueError(f"Queue {self!r} is closed")
        if block and timeout is None:
            with self._rlock:
                res = self._recv_bytes()
            self._sem.release()
        else:
            if block:
                deadline = getattr(time,'monotonic',time.time)() + timeout
            if not self._rlock.acquire(block, timeout):
                raise Empty
            try:
                if block:
                    timeout = deadline - getattr(time,'monotonic',time.time)()
                    if not self._poll(timeout):
>                       raise Empty
E                       _queue.Empty

/home/runner/mamba/envs/openwpm/lib/python3.11/site-packages/multiprocess/queues.py:117: Empty

During handling of the above exception, another exception occurred:

self = <test.test_extension.TestExtension object at 0x7fce2c139f90>

    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:50: in visit
    manager.get(url=page_url, sleep=sleep_after)
/home/runner/work/OpenWPM/OpenWPM/openwpm/task_manager.py:499: in get
    self.execute_command_sequence(command_sequence, index=index)
/home/runner/work/OpenWPM/OpenWPM/openwpm/task_manager.py:439: in execute_command_sequence
    agg_queue_size = self.storage_controller_handle.get_most_recent_status()
/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:550: in get_most_recent_status
    return self.get_status()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <openwpm.storage.storage_controller.StorageControllerHandle object at 0x7fce50e2bc50>

    def get_status(self) -> int:
        """Get listener process status. If the status queue is empty, block."""
        try:
            self._last_status = self.status_queue.get(
                block=True, timeout=STATUS_TIMEOUT
            )
            self._last_status_received = time.time()
        except queue.Empty:
>           assert self._last_status_received is not None
E           AssertionError

/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:574: 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_extension.TestExtension ► test_js_call_stack

Failed test found in:
  junit-report.xml
Error:
  self = <openwpm.storage.storage_controller.StorageControllerHandle object at 0x7fce4fb58910>
Raw output
self = <openwpm.storage.storage_controller.StorageControllerHandle object at 0x7fce4fb58910>

    def get_status(self) -> int:
        """Get listener process status. If the status queue is empty, block."""
        try:
>           self._last_status = self.status_queue.get(
                block=True, timeout=STATUS_TIMEOUT
            )

/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:569: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <multiprocess.queues.Queue object at 0x7fce4fb58850>, block = True
timeout = 119.99999509100007

    def get(self, block=True, timeout=None):
        if self._closed:
            raise ValueError(f"Queue {self!r} is closed")
        if block and timeout is None:
            with self._rlock:
                res = self._recv_bytes()
            self._sem.release()
        else:
            if block:
                deadline = getattr(time,'monotonic',time.time)() + timeout
            if not self._rlock.acquire(block, timeout):
                raise Empty
            try:
                if block:
                    timeout = deadline - getattr(time,'monotonic',time.time)()
                    if not self._poll(timeout):
>                       raise Empty
E                       _queue.Empty

/home/runner/mamba/envs/openwpm/lib/python3.11/site-packages/multiprocess/queues.py:117: Empty

During handling of the above exception, another exception occurred:

self = <test.test_extension.TestExtension object at 0x7fce2c13ae90>

    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:50: in visit
    manager.get(url=page_url, sleep=sleep_after)
/home/runner/work/OpenWPM/OpenWPM/openwpm/task_manager.py:499: in get
    self.execute_command_sequence(command_sequence, index=index)
/home/runner/work/OpenWPM/OpenWPM/openwpm/task_manager.py:439: in execute_command_sequence
    agg_queue_size = self.storage_controller_handle.get_most_recent_status()
/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:550: in get_most_recent_status
    return self.get_status()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <openwpm.storage.storage_controller.StorageControllerHandle object at 0x7fce4fb58910>

    def get_status(self) -> int:
        """Get listener process status. If the status queue is empty, block."""
        try:
            self._last_status = self.status_queue.get(
                block=True, timeout=STATUS_TIMEOUT
            )
            self._last_status_received = time.time()
        except queue.Empty:
>           assert self._last_status_received is not None
E           AssertionError

/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:574: 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_extension.TestExtension ► test_js_time_stamp

Failed test found in:
  junit-report.xml
Error:
  self = <openwpm.storage.storage_controller.StorageControllerHandle object at 0x7fce4fcd04d0>
Raw output
self = <openwpm.storage.storage_controller.StorageControllerHandle object at 0x7fce4fcd04d0>

    def get_status(self) -> int:
        """Get listener process status. If the status queue is empty, block."""
        try:
>           self._last_status = self.status_queue.get(
                block=True, timeout=STATUS_TIMEOUT
            )

/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:569: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <multiprocess.queues.Queue object at 0x7fce4fcd2a50>, block = True
timeout = 119.99999511099998

    def get(self, block=True, timeout=None):
        if self._closed:
            raise ValueError(f"Queue {self!r} is closed")
        if block and timeout is None:
            with self._rlock:
                res = self._recv_bytes()
            self._sem.release()
        else:
            if block:
                deadline = getattr(time,'monotonic',time.time)() + timeout
            if not self._rlock.acquire(block, timeout):
                raise Empty
            try:
                if block:
                    timeout = deadline - getattr(time,'monotonic',time.time)()
                    if not self._poll(timeout):
>                       raise Empty
E                       _queue.Empty

/home/runner/mamba/envs/openwpm/lib/python3.11/site-packages/multiprocess/queues.py:117: Empty

During handling of the above exception, another exception occurred:

self = <test.test_extension.TestExtension object at 0x7fce2c13b2d0>

    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:50: in visit
    manager.get(url=page_url, sleep=sleep_after)
/home/runner/work/OpenWPM/OpenWPM/openwpm/task_manager.py:499: in get
    self.execute_command_sequence(command_sequence, index=index)
/home/runner/work/OpenWPM/OpenWPM/openwpm/task_manager.py:439: in execute_command_sequence
    agg_queue_size = self.storage_controller_handle.get_most_recent_status()
/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:550: in get_most_recent_status
    return self.get_status()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <openwpm.storage.storage_controller.StorageControllerHandle object at 0x7fce4fcd04d0>

    def get_status(self) -> int:
        """Get listener process status. If the status queue is empty, block."""
        try:
            self._last_status = self.status_queue.get(
                block=True, timeout=STATUS_TIMEOUT
            )
            self._last_status_received = time.time()
        except queue.Empty:
>           assert self._last_status_received is not None
E           AssertionError

/home/runner/work/OpenWPM/OpenWPM/openwpm/storage/storage_controller.py:574: AssertionError