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_[i-o,q-r,t-z]* failed May 13, 2024 in 0s

38 passed, 1 failed and 0 skipped

Tests failed

❌ junit-report.xml

39 tests were completed in 813s with 38 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
pytest 38✅ 1❌ 813s

❌ pytest

test.test_js_instrument.TestJSInstrumentNonExistingWindowProperty
  ✅ test_instrument_object
test.test_js_instrument.TestJSInstrumentExistingWindowProperty
  ✅ test_instrument_object
test.test_js_instrument.TestJSInstrumentByPython
  ✅ test_instrument_object
test.test_js_instrument.TestJSInstrumentMockWindowProperty
  ✅ test_instrument_object
test.test_js_instrument.TestJSInstrument
  ✅ test_instrument_object
test.test_js_instrument.TestJSInstrumentRecursiveProperties
  ✅ test_instrument_object
test.test_js_instrument_py
  ✅ test_validate_good
  ✅ test_validate_bad__log_settings_missing
  ✅ test_validate_bad__log_settings_invalid
  ✅ test_validate_bad__not_a_list
  ✅ test_validate_bad__missing_object
  ✅ test_validated_bad__missing_instrumentedName
  ✅ test_merge_and_validate_multiple_overlap_properties_to_instrument_properties_to_exclude
  ✅ test_merge_and_validate_multiple_overlap_properties
  ✅ test_merge_when_log_settings_is_null
  ✅ test_merge_diff_instrumented_names
  ✅ test_merge_multiple_duped_properties
  ✅ test_merge_multiple_duped_properties_different_log_settings
  ✅ test_api_whole_module
  ✅ test_api_two_keys_in_shortcut
  ✅ test_api_instances_on_window
  ✅ test_api_instances_on_window_with_properties
  ✅ test_api_module_specific_properties
  ✅ test_api_passing_partial_log_settings
  ✅ test_api_collection_fingerprinting
  ✅ test_complete_pass
test.test_mp_logger
  ✅ test_multiprocess
  ✅ test_multiple_instances
  ✅ test_child_process_with_exception
  ✅ test_child_process_logging
test.test_task_manager
  ✅ test_failure_limit_value
  ✅ test_failure_limit_exceeded
  ✅ test_failure_limit_reset
  ✅ test_assertion_error_propagation[False-expectation0]
  ✅ test_assertion_error_propagation[True-expectation1]
test.test_timer
  ❌ test_command_duration
	default_params = (ManagerParams(data_directory=PosixPath('/tmp/pytest-of-runner/pytest-0/test_command_duration0'), log_path=PosixPath('...'/tmp'), maximum_profile_size=None, recovery_tar=None, donottrack=False, tracking_protection=False, custom_params={})])
test.test_webdriver_utils
  ✅ test_parse_neterror
  ✅ test_parse_neterror_integration
test.test_xvfb_browser
  ✅ test_display_shutdown

Annotations

Check failure on line 0 in junit-report.xml

See this annotation in the file changed.

@github-actions github-actions / test/test_[i-o,q-r,t-z]*

pytest ► test.test_timer ► test_command_duration

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

    def test_command_duration(default_params, task_manager_creator):
        manager, db = task_manager_creator(default_params)
        manager.get(url=TEST_URL, sleep=5)
        manager.close()
    
        get_command = db_utils.query_db(
            db,
            "SELECT duration FROM crawl_history WHERE command = 'GetCommand'",
            as_tuple=True,
        )[0]
    
        assert get_command[0] > (5 * 1000)  # milliseconds conversion for sleep time
>       assert get_command[0] <= (
            (5 * 1000) + 2 * 1000
        )  # milliseconds conversion for sleep time + time duration a command took (milliseconds)
E       assert 8577 <= ((5 * 1000) + (2 * 1000))

/home/runner/work/OpenWPM/OpenWPM/test/test_timer.py:21: AssertionError