Skip to content

mamba --force argument removed #328

mamba --force argument removed

mamba --force argument removed #328

GitHub Actions / test/test_[p]* failed Jul 15, 2024 in 0s

20 passed, 1 failed and 0 skipped

Tests failed

❌ junit-report.xml

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

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

❌ 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 0x7f354b0cdf80>

    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 (1967402583, 6375648601912480, 'FinalizeCommand', '{"sleep": 5, "visit_id": 6375648601912480, "browser_id": 1967402583, "start_time": 1721006654.6276958}', None, 'timeout', None, None, 10009, '2024-07-15 01:24:24') was not ok
E           assert 'timeout' == 'ok'
E             
E             - ok
E             + timeout

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