Skip to content

[text-spacing-trim] Implement line-end logic

Community-TC Integration / wpt-firefox_android-nightly-wdspec-1 succeeded Jan 15, 2024 in 1h 34m 4s

Community-TC (push)

A subset of WPT's "wdspec" tests (chunk number 1 of 2), run in the nightly release of firefox_android.

Details

View task in Taskcluster
View logs in Taskcluster

WPT Command: python3 ./wpt run --channel=nightly --log-wptreport=../artifacts/wpt_report.json --log-wptscreenshot=../artifacts/wpt_screenshot.txt --no-fail-on-unexpected --this-chunk=1 --total-chunks=2 --test-type=wdspec --log-mach-level=info --log-mach=- -y --no-pause --no-restart-on-unexpected --install-fonts --no-headless --verify-log-full --install-browser --install-webdriver --logcat-dir /home/test/artifacts/ firefox_android


webdriver/tests/classic/set_window_rect/user_prompts.py:59: in check_user_prompt_not_closed_but_exception
    assert_error(response, "unexpected alert open")
        create_dialog = <function create_dialog.<locals>.create_dialog at 0x7f24bf4063a0>
        dialog_type = 'confirm'
        original_rect = {'height': 1200, 'width': 800, 'x': 0, 'y': 80}
        response   = <Response status=500 error=<UnsupportedOperationException http_status=500>>
        session    = <Session 12f7af73-e3a6-4b25-9e03-2c31944a36e1>
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

response = <Response status=500 error=<UnsupportedOperationException http_status=500>>
error_code = 'unexpected alert open'

    def assert_error(response, error_code):
        """
        Verify that the provided webdriver.Response instance described
        a valid error response as defined by `dfn-send-an-error` and
        the provided error code.
    
        :param response: ``webdriver.Response`` instance.
        :param error_code: String value of the expected error code
        """
        assert response.status == errors[error_code]
        assert "value" in response.body
>       assert response.body["value"]["error"] == error_code
E       AssertionError: assert 'unsupported operation' == 'unexpected alert open'
E         - unexpected alert open
E         + unsupported operation

error_code = 'unexpected alert open'
response   = <Response status=500 error=<UnsupportedOperationException http_status=500>>

webdriver/tests/support/asserts.py:53: AssertionError
  FAIL test_ignore[capabilities0-prompt] - AssertionError: assert 'unsupported operation' == 'unexpected alert open'
check_user_prompt_not_closed_but_exception = <function check_user_prompt_not_closed_but_exception.<locals>.check_user_prompt_not_closed_but_exception at 0x7f24bf2ca5e0>
dialog_type = 'prompt'

    @pytest.mark.capabilities({"unhandledPromptBehavior": "ignore"})
    @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"])
    def test_ignore(check_user_prompt_not_closed_but_exception, dialog_type):
>       check_user_prompt_not_closed_but_exception(dialog_type)

check_user_prompt_not_closed_but_exception = <function check_user_prompt_not_closed_but_exception.<locals>.check_user_prompt_not_closed_but_exception at 0x7f24bf2ca5e0>
dialog_type = 'prompt'

webdriver/tests/classic/set_window_rect/user_prompts.py:112: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
webdriver/tests/classic/set_window_rect/user_prompts.py:59: in check_user_prompt_not_closed_but_exception
    assert_error(response, "unexpected alert open")
        create_dialog = <function create_dialog.<locals>.create_dialog at 0x7f24bf2ca280>
        dialog_type = 'prompt'
        original_rect = {'height': 1200, 'width': 800, 'x': 0, 'y': 80}
        response   = <Response status=500 error=<UnsupportedOperationException http_status=500>>
        session    = <Session 12f7af73-e3a6-4b25-9e03-2c31944a36e1>
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

response = <Response status=500 error=<UnsupportedOperationException http_status=500>>
error_code = 'unexpected alert open'

    def assert_error(response, error_code):
        """
        Verify that the provided webdriver.Response instance described
        a valid error response as defined by `dfn-send-an-error` and
        the provided error code.
    
        :param response: ``webdriver.Response`` instance.
        :param error_code: String value of the expected error code
        """
        assert response.status == errors[error_code]
        assert "value" in response.body
>       assert response.body["value"]["error"] == error_code
E       AssertionError: assert 'unsupported operation' == 'unexpected alert open'
E         - unexpected alert open
E         + unsupported operation

error_code = 'unexpected alert open'
response   = <Response status=500 error=<UnsupportedOperationException http_status=500>>

webdriver/tests/support/asserts.py:53: AssertionError
  FAIL test_default[alert-None] - AssertionError: assert 'unsupported operation' == 'unexpected alert open'
check_user_prompt_closed_with_exception = <function check_user_prompt_closed_with_exception.<locals>.check_user_prompt_closed_with_exception at 0x7f24bf2ca8b0>
dialog_type = 'alert', retval = None

    @pytest.mark.parametrize("dialog_type, retval", [
        ("alert", None),
        ("confirm", False),
        ("prompt", None),
    ])
    def test_default(check_user_prompt_closed_with_exception, dialog_type, retval):
>       check_user_prompt_closed_with_exception(dialog_type, retval)

check_user_prompt_closed_with_exception = <function check_user_prompt_closed_with_exception.<locals>.check_user_prompt_closed_with_exception at 0x7f24bf2ca8b0>
dialog_type = 'alert'
retval     = None

webdriver/tests/classic/set_window_rect/user_prompts.py:121: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
webdriver/tests/classic/set_window_rect/user_prompts.py:41: in check_user_prompt_closed_with_exception
    assert_error(response, "unexpected alert open")
        create_dialog = <function create_dialog.<locals>.create_dialog at 0x7f24bf2caaf0>
        dialog_type = 'alert'
        original_rect = {'height': 1200, 'width': 800, 'x': 0, 'y': 80}
        response   = <Response status=500 error=<UnsupportedOperationException http_status=500>>
        retval     = None
        session    = <Session af960a70-1caf-422a-9bba-07653bd614f6>
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

response = <Response status=500 error=<UnsupportedOperationException http_status=500>>
error_code = 'unexpected alert open'

    def assert_error(response, error_code):
        """
        Verify that the provided webdriver.Response instance described
        a valid error response as defined by `dfn-send-an-error` and
        the provided error code.
    
        :param response: ``webdriver.Response`` instance.
        :param error_code: String value of the expected error code
        """
        assert response.status == errors[error_code]
        assert "value" in response.body
>       assert response.body["value"]["error"] == error_code
E       AssertionError: assert 'unsupported operation' == 'unexpected alert open'
E         - unexpected alert open
E         + unsupported operation

error_code = 'unexpected alert open'
response   = <Response status=500 error=<UnsupportedOperationException http_status=500>>

webdriver/tests/support/asserts.py:53: AssertionError
  FAIL test_default[confirm-False] - AssertionError: assert 'unsupported operation' == 'unexpected alert open'
check_user_prompt_closed_with_exception = <function check_user_prompt_closed_with_exception.<locals>.check_user_prompt_closed_with_exception at 0x7f24bf2cae50>
dialog_type = 'confirm', retval = False

    @pytest.mark.parametrize("dialog_type, retval", [
        ("alert", None),
        ("confirm", False),
        ("prompt", None),
    ])
    def test_default(check_user_prompt_closed_with_exception, dialog_type, retval):
>       check_user_prompt_closed_with_exception(dialog_type, retval)

check_user_prompt_closed_with_exception = <function check_user_prompt_closed_with_exception.<locals>.check_user_prompt_closed_with_exception at 0x7f24bf2cae50>
dialog_type = 'confirm'
retval     = False

webdriver/tests/classic/set_window_rect/user_prompts.py:121: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
webdriver/tests/classic/set_window_rect/user_prompts.py:41: in check_user_prompt_closed_with_exception
    assert_error(response, "unexpected alert open")
        create_dialog = <function create_dialog.<locals>.create_dialog at 0x7f24bf2cab80>
        dialog_type = 'confirm'
        original_rect = {'height': 1200, 'width': 800, 'x': 0, 'y': 80}
        response   = <Response status=500 error=<UnsupportedOperationException http_status=500>>
        retval     = False
        session    = <Session af960a70-1caf-422a-9bba-07653bd614f6>
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

response = <Response status=500 error=<UnsupportedOperationException http_status=500>>
error_code = 'unexpected alert open'

    def assert_error(response, error_code):
        """
        Verify that the provided webdriver.Response instance described
        a valid error response as defined by `dfn-send-an-error` and
        the provided error code.
    
        :param response: ``webdriver.Response`` instance.
        :param error_code: String value of the expected error code
        """
        assert response.status == errors[error_code]
        assert "value" in response.body
>       assert response.body["value"]["error"] == error_code
E       AssertionError: assert 'unsupported operation' == 'unexpected alert open'
E         - unexpected alert open
E         + unsupported operation

error_code = 'unexpected alert open'
response   = <Response status=500 error=<UnsupportedOperationException http_status=500>>

webdriver/tests/support/asserts.py:53: AssertionError
  FAIL test_default[prompt-None] - AssertionError: assert 'unsupported operation' == 'unexpected alert open'
check_user_prompt_closed_with_exception = <function check_user_prompt_closed_with_exception.<locals>.check_user_prompt_closed_with_exception at 0x7f24bf3fe700>
dialog_type = 'prompt', retval = None

    @pytest.mark.parametrize("dialog_type, retval", [
        ("alert", None),
        ("confirm", False),
        ("prompt", None),
    ])
    def test_default(check_user_prompt_closed_with_exception, dialog_type, retval):
>       check_user_prompt_closed_with_exception(dialog_type, retval)

check_user_prompt_closed_with_exception = <function check_user_prompt_closed_with_exception.<locals>.check_user_prompt_closed_with_exception at 0x7f24bf3fe700>
dialog_type = 'prompt'
retval     = None

webdriver/tests/classic/set_window_rect/user_prompts.py:121: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
webdriver/tests/classic/set_window_rect/user_prompts.py:41: in check_user_prompt_closed_with_exception
    assert_error(response, "unexpected alert open")
        create_dialog = <function create_dialog.<locals>.create_dialog at 0x7f24bf3feb80>
        dialog_type = 'prompt'
        original_rect = {'height': 1200, 'width': 800, 'x': 0, 'y': 80}
        response   = <Response status=500 error=<UnsupportedOperationException http_status=500>>
        retval     = None
        session    = <Session af960a70-1caf-422a-9bba-07653bd614f6>
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

response = <Response status=500 error=<UnsupportedOperationException http_status=500>>
error_code = 'unexpected alert open'

    def assert_error(response, error_code):
        """
        Verify that the provided webdriver.Response instance described
        a valid error response as defined by `dfn-send-an-error` and
        the provided error code.
    
        :param response: ``webdriver.Response`` instance.
        :param error_code: String value of the expected error code
        """
        assert response.status == errors[error_code]
        assert "value" in response.body
>       assert response.body["value"]["error"] == error_code
E       AssertionError: assert 'unsupported operation' == 'unexpected alert open'
E         - unexpected alert open
E         + unsupported operation

error_code = 'unexpected alert open'
response   = <Response status=500 error=<UnsupportedOperationException http_status=500>>

webdriver/tests/support/asserts.py:53: AssertionError
50:33.71 INFO Got 51 unexpected results, with 0 unexpected passes
50:34.03 wptserve INFO Stopped http server on 127.0.0.1:8445
50:34.03 wptserve INFO Stopped http server on 127.0.0.1:8446
50:34.04 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
50:34.04 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
50:34.05 wptserve INFO Stopped http server on 127.0.0.1:8444
50:34.07 wptserve INFO Stopped http server on 127.0.0.1:8002
50:34.08 wptserve INFO Stopped http server on 127.0.0.1:8000
50:34.10 wptserve INFO Stopped http server on 127.0.0.1:8001
50:34.10 wptserve INFO Stopped http server on 127.0.0.1:9000
50:34.11 wptserve INFO Stopped http server on 127.0.0.1:8003
50:34.19 wptserve INFO Stopped http server on 127.0.0.1:8443
50:34.22 INFO Removed font: Ahem.ttf
50:34.24 INFO Closing logging queue
50:34.24 INFO queue closed
50:34.24 INFO Tolerating 51 unexpected results
[taskcluster 2024-01-15 03:12:36.190Z] === Task Finished ===
[taskcluster 2024-01-15 03:12:37.729Z] Successful task run with exit code: 0 completed in 3106.305 seconds