Skip to content

chore(release): bump to FF 123 (#1086) #118

chore(release): bump to FF 123 (#1086)

chore(release): bump to FF 123 (#1086) #118

GitHub Actions / test/test_[p]* failed Apr 11, 2024 in 0s

20 passed, 1 failed and 0 skipped

Tests failed

❌ junit-report.xml

21 tests were completed in 2240s with 20 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
pytest 20✅ 1❌ 2240s

❌ pytest

test.test_profile
  ✅ test_saving
  ✅ test_save_incomplete_profile_error
  ✅ test_crash_profile
  ✅ test_profile_error
  ✅ test_profile_saved_when_launch_crashes
  ❌ test_seed_persistence
	default_params = (ManagerParams(data_directory=PosixPath('/tmp/pytest-of-runner/pytest-0/test_seed_persistence0'), log_path=PosixPath('...'/tmp'), maximum_profile_size=None, recovery_tar=None, donottrack=False, tracking_protection=False, custom_params={})])
  ✅ test_dump_profile_command
  ✅ test_load_tar_file
  ✅ test_crash_during_init
  ✅ test_profile_recovery[on_normal_operation-stateful-without_seed_tar]
  ✅ test_profile_recovery[on_normal_operation-stateful-with_seed_tar]
  ✅ test_profile_recovery[on_normal_operation-stateless-with_seed_tar]
  ✅ test_profile_recovery[on_crash-stateful-without_seed_tar]
  ✅ test_profile_recovery[on_crash-stateful-with_seed_tar]
  ✅ test_profile_recovery[on_crash-stateless-with_seed_tar]
  ✅ test_profile_recovery[on_crash_during_launch-stateful-without_seed_tar]
  ✅ test_profile_recovery[on_crash_during_launch-stateful-with_seed_tar]
  ✅ test_profile_recovery[on_crash_during_launch-stateless-with_seed_tar]
  ✅ test_profile_recovery[on_timeout-stateful-without_seed_tar]
  ✅ test_profile_recovery[on_timeout-stateful-with_seed_tar]
  ✅ test_profile_recovery[on_timeout-stateless-with_seed_tar]

Annotations

Check failure on line 0 in junit-report.xml

See this annotation in the file changed.

@github-actions github-actions / test/test_[p]*

pytest ► test.test_profile ► test_seed_persistence

Failed test found in:
  junit-report.xml
Error:
  default_params = (ManagerParams(data_directory=PosixPath('/tmp/pytest-of-runner/pytest-0/test_seed_persistence0'), 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_seed_persistence0'), 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 0x7f23c9ad5e40>

    def test_seed_persistence(default_params, task_manager_creator):
        manager_params, browser_params = default_params
        p = Path("profile.tar.gz")
        for browser_param in browser_params:
            browser_param.seed_tar = p
        manager, db = task_manager_creator(default_params)
        with manager:
            command_sequences = []
            for _ in range(openwpmtest.NUM_BROWSERS):
                cs = CommandSequence(url=BASE_TEST_URL)
                cs.get()
                cs.append_command(AssertConfigSetCommand("test_pref", True))
                command_sequences.append(cs)
    
            for cs in command_sequences:
                manager.execute_command_sequence(cs)
        query_result = db_utils.query_db(
            db,
            "SELECT * FROM crawl_history;",
        )
        assert len(query_result) > 0
        for row in query_result:
>           assert row["command_status"] == "ok", f"Command {tuple(row)} was not ok"
E           AssertionError: Command (2446291632, 8130362917878323, 'FinalizeCommand', '{"sleep": 5, "visit_id": 8130362917878323, "browser_id": 2446291632, "start_time": 1712798024.4622965}', None, 'timeout', None, None, 10011, '2024-04-11 01:13:54') was not ok
E           assert 'timeout' == 'ok'
E             
E             - ok
E             + timeout

/home/runner/work/OpenWPM/OpenWPM/test/test_profile.py:138: AssertionError