chore(release): bump to FF 123 (#1086) #118
GitHub Actions / test/test_[p]*
failed
May 13, 2024 in 0s
20 passed, 1 failed and 0 skipped
❌ junit-report.xml
21 tests were completed in 2260s with 20 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 20✅ | 1❌ | 2260s |
❌ 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
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 0x7fa5028f1620>
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 (3609906106, 8816712537738468, 'FinalizeCommand', '{"sleep": 5, "visit_id": 8816712537738468, "browser_id": 3609906106, "start_time": 1715563082.768248}', None, 'timeout', None, None, 10010, '2024-05-13 01:18:12') was not ok
E assert 'timeout' == 'ok'
E
E - ok
E + timeout
/home/runner/work/OpenWPM/OpenWPM/test/test_profile.py:138: AssertionError
Loading