Skip to content

[wptrunner] On WebKitGTK-based browsers do not open the new test window in a tab #49529

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

[wptrunner] On WebKitGTK-based browsers do not open the new test wind…

5ba0c8e
Select commit
Loading
Failed to load commit list.
Merged

[wptrunner] On WebKitGTK-based browsers do not open the new test window in a tab #49529

[wptrunner] On WebKitGTK-based browsers do not open the new test wind…
5ba0c8e
Select commit
Loading
Failed to load commit list.
Community-TC Integration / tools/ integration tests (Python 3.12) failed Dec 5, 2024 in 7m 36s

Community-TC (pull_request)

Integration tests for tools running under Python 3.12

Details

View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster

Task Status

Started: 2024-12-05T12:27:22.083Z
Resolved: 2024-12-05T12:31:21.868Z
Task Execution Time: 3 minutes, 59 seconds, 785 milliseconds
Task Status: failed
Reason Resolved: failed
RunId: 0

Artifacts

- public/logs/live_backing.log
- public/logs/live.log


[taskcluster 2024-12-05 12:27:22.147Z] Task ID: SryVCaqZQuOPc2It-UZ8Cw
[taskcluster 2024-12-05 12:27:22.147Z] Worker ID: 664878343748595578
[taskcluster 2024-12-05 12:27:22.147Z] Worker Group: us-east4-c
[taskcluster 2024-12-05 12:27:22.147Z] Worker Node Type: projects/757942385826/machineTypes/n2-standard-4
[taskcluster 2024-12-05 12:27:22.147Z] Worker Pool: proj-wpt/ci
[taskcluster 2024-12-05 12:27:22.147Z] Worker Version: 46.1.0
[taskcluster 2024-12-05 12:27:22.147Z] Public IP: 34.48.165.219
[taskcluster 2024-12-05 12:27:22.147Z] Hostname: proj-wpt-ci-b8lfu1sdqzmrmtp5-lpnca

[taskcluster 2024-12-05 12:27:22.771Z] === Task Starting ===
+ '[' '' ']'
+ '[' -d /etc/profile.d ']'
+ for i in /etc/profile.d/*.sh
+ '[' -r /etc/profile.d/01-locale-fix.sh ']'
+ . /etc/profile.d/01-locale-fix.sh
+++ /usr/bin/locale-check C.UTF-8
++ eval
+ for i in /etc/profile.d/*.sh
+ '[' -r /etc/profile.d/libvirt-uri.sh ']'
+ . /etc/profile.d/libvirt-uri.sh

...(934 lines hidden)...

                           # Taskcluster machines do not have GPUs, so use software rendering via --enable-swiftshader.

                           "--enable-swiftshader",

                           "chrome", "/non-existent-dir/non-existent-file.html"])



tests/test_wpt.py:188: 

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

wpt.py:210: in main

    venv = setup_virtualenv(main_args.venv, main_args.skip_venv_setup, props)

wpt.py:168: in setup_virtualenv

    venv.start()

virtualenv.py:142: in start

    self.activate()

virtualenv.py:129: in activate

    relative_path = host_path.relative_to(data_path)

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 



self = PosixPath('/home/test/web-platform-tests/tools/wpt/.tox/py312/lib/python3.12/site-packages')

other = PosixPath('/home/test/web-platform-tests/_venv3'), walk_up = False

_deprecated = (), step = 0



    def relative_to(self, other, /, *_deprecated, walk_up=False):

        """Return the relative path to another path identified by the passed

        arguments.  If the operation is not possible (because this is not

        related to the other path), raise ValueError.

    

        The *walk_up* parameter controls whether `..` may be used to resolve

        the path.

        """

        if _deprecated:

            msg = ("support for supplying more than one positional argument "

                   "to pathlib.PurePath.relative_to() is deprecated and "

                   "scheduled for removal in Python {remove}")

            warnings._deprecated("pathlib.PurePath.relative_to(*args)", msg,

                                 remove=(3, 14))

        other = self.with_segments(other, *_deprecated)

        for step, path in enumerate([other] + list(other.parents)):

            if self.is_relative_to(path):

                break

            elif not walk_up:

>               raise ValueError(f"{str(self)!r} is not in the subpath of {str(other)!r}")

E               ValueError: '/home/test/web-platform-tests/tools/wpt/.tox/py312/lib/python3.12/site-packages' is not in the subpath of '/home/test/web-platform-tests/_venv3'



/usr/lib/python3.12/pathlib.py:682: ValueError

____________________________ test_run_failing_test _____________________________



    @pytest.mark.slow

    @pytest.mark.remote_network

    @pytest.mark.skipif(sys.platform == "win32",

                        reason="https://github.com/web-platform-tests/wpt/issues/28745")

    def test_run_failing_test():

        """Failing tests should be reported with a non-zero exit status unless the

        `--no-fail-on-unexpected` option has been specified."""

        if is_port_8000_in_use():

            pytest.skip("port 8000 already in use")

        failing_test = "/infrastructure/expected-fail/failing-test.html"

    

        assert os.path.isfile("../../%s" % failing_test)

    

        with pytest.raises(SystemExit) as excinfo:

>           wpt.main(argv=["run", "--yes", "--no-pause", "--channel", "dev",

                           # WebTransport server is not needed (web-platform-tests/wpt#41675).

                           "--no-enable-webtransport-h3",

                           # Taskcluster machines do not have GPUs, so use software rendering via --enable-swiftshader.

                           "--enable-swiftshader",

                           "chrome", failing_test])



tests/test_wpt.py:221: 

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

wpt.py:210: in main

    venv = setup_virtualenv(main_args.venv, main_args.skip_venv_setup, props)

wpt.py:168: in setup_virtualenv

    venv.start()

virtualenv.py:142: in start

    self.activate()

virtualenv.py:129: in activate

    relative_path = host_path.relative_to(data_path)

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 



self = PosixPath('/home/test/web-platform-tests/tools/wpt/.tox/py312/lib/python3.12/site-packages')

other = PosixPath('/home/test/web-platform-tests/_venv3'), walk_up = False

_deprecated = (), step = 0



    def relative_to(self, other, /, *_deprecated, walk_up=False):

        """Return the relative path to another path identified by the passed

        arguments.  If the operation is not possible (because this is not

        related to the other path), raise ValueError.

    

        The *walk_up* parameter controls whether `..` may be used to resolve

        the path.

        """

        if _deprecated:

            msg = ("support for supplying more than one positional argument "

                   "to pathlib.PurePath.relative_to() is deprecated and "

                   "scheduled for removal in Python {remove}")

            warnings._deprecated("pathlib.PurePath.relative_to(*args)", msg,

                                 remove=(3, 14))

        other = self.with_segments(other, *_deprecated)

        for step, path in enumerate([other] + list(other.parents)):

            if self.is_relative_to(path):

                break

            elif not walk_up:

>               raise ValueError(f"{str(self)!r} is not in the subpath of {str(other)!r}")

E               ValueError: '/home/test/web-platform-tests/tools/wpt/.tox/py312/lib/python3.12/site-packages' is not in the subpath of '/home/test/web-platform-tests/_venv3'



/usr/lib/python3.12/pathlib.py:682: ValueError

___________________________ test_run_verify_unstable ___________________________



temp_test = <function temp_test.<locals>.make_test at 0x7f36fc620b80>



    @pytest.mark.slow

    @pytest.mark.remote_network

    @pytest.mark.skipif(sys.platform == "win32",

                        reason="https://github.com/web-platform-tests/wpt/issues/28745")

    def test_run_verify_unstable(temp_test):

        """Unstable tests should be reported with a non-zero exit status. Stable

        tests should be reported with a zero exit status."""

        if is_port_8000_in_use():

            pytest.skip("port 8000 already in use")

        unstable_test = temp_test("""

            test(function() {

                if (localStorage.getItem('wpt-unstable-test-flag')) {

                  throw new Error();

                }

    

                localStorage.setItem('wpt-unstable-test-flag', 'x');

            }, 'my test');

        """)

    

        with pytest.raises(SystemExit) as excinfo:

>           wpt.main(argv=["run", "--yes", "--verify", "--channel", "dev",

                           # WebTransport server is not needed (web-platform-tests/wpt#41675).

                           "--no-enable-webtransport-h3",

                           # Taskcluster machines do not have GPUs, so use software rendering via --enable-swiftshader.

                           "--enable-swiftshader",

                           "chrome", unstable_test])



tests/test_wpt.py:260: 

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

wpt.py:210: in main

    venv = setup_virtualenv(main_args.venv, main_args.skip_venv_setup, props)

wpt.py:168: in setup_virtualenv

    venv.start()

virtualenv.py:142: in start

    self.activate()

virtualenv.py:129: in activate

    relative_path = host_path.relative_to(data_path)

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 



self = PosixPath('/home/test/web-platform-tests/tools/wpt/.tox/py312/lib/python3.12/site-packages')

other = PosixPath('/home/test/web-platform-tests/_venv3'), walk_up = False

_deprecated = (), step = 0



    def relative_to(self, other, /, *_deprecated, walk_up=False):

        """Return the relative path to another path identified by the passed

        arguments.  If the operation is not possible (because this is not

        related to the other path), raise ValueError.

    

        The *walk_up* parameter controls whether `..` may be used to resolve

        the path.

        """

        if _deprecated:

            msg = ("support for supplying more than one positional argument "

                   "to pathlib.PurePath.relative_to() is deprecated and "

                   "scheduled for removal in Python {remove}")

            warnings._deprecated("pathlib.PurePath.relative_to(*args)", msg,

                                 remove=(3, 14))

        other = self.with_segments(other, *_deprecated)

        for step, path in enumerate([other] + list(other.parents)):

            if self.is_relative_to(path):

                break

            elif not walk_up:

>               raise ValueError(f"{str(self)!r} is not in the subpath of {str(other)!r}")

E               ValueError: '/home/test/web-platform-tests/tools/wpt/.tox/py312/lib/python3.12/site-packages' is not in the subpath of '/home/test/web-platform-tests/_venv3'



/usr/lib/python3.12/pathlib.py:682: ValueError

=============================== warnings summary ===============================

../wptserve/wptserve/request.py:4

  /home/test/web-platform-tests/tools/wptserve/wptserve/request.py:4: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13

    import cgi



-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

=========================== short test summary info ============================

FAILED tests/test_install.py::test_install_chrome - ValueError: '/home/test/web-platform-tests/tools/wpt/.tox/py312/lib/python3...

FAILED tests/test_install.py::test_install_firefox - ValueError: '/home/test/web-platform-tests/tools/wpt/.tox/py312/lib/python3...

FAILED tests/test_update_expectations.py::test_update - ValueError: '/home/test/web-platform-tests/tools/wpt/.tox/py312/lib/python3...

FAILED tests/test_wpt.py::test_list_tests - ValueError: '/home/test/web-platform-tests/tools/wpt/.tox/py312/lib/python3...

FAILED tests/test_wpt.py::test_list_tests_missing_manifest - ValueError: '/home/test/web-platform-tests/tools/wpt/.tox/py312/lib/python3...

FAILED tests/test_wpt.py::test_list_tests_invalid_manifest - ValueError: '/home/test/web-platform-tests/tools/wpt/.tox/py312/lib/python3...

FAILED tests/test_wpt.py::test_run_zero_tests - ValueError: '/home/test/web-platform-tests/tools/wpt/.tox/py312/lib/python3...

FAILED tests/test_wpt.py::test_run_failing_test - ValueError: '/home/test/web-platform-tests/tools/wpt/.tox/py312/lib/python3...

FAILED tests/test_wpt.py::test_run_verify_unstable - ValueError: '/home/test/web-platform-tests/tools/wpt/.tox/py312/lib/python3...

======== 9 failed, 74 passed, 1 skipped, 1 warning in 70.51s (0:01:10) =========

/usr/lib/python3.12/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 55 leaked semaphore objects to clean up at shutdown

  warnings.warn('resource_tracker: There appear to be %d '

py312: exit 1 (73.20 seconds) /home/test/web-platform-tests/tools/wpt> pytest -c/home/test/web-platform-tests/tools/wpt/../pytest.ini --rootdir=/home/test/web-platform-tests/tools/wpt pid=1367
  py312: FAIL code 1 (85.06=setup[11.85]+cmd[73.20] seconds)
  evaluation failed :( (85.12 seconds)
[taskcluster 2024-12-05 12:31:20.956Z] === Task Finished ===
[taskcluster 2024-12-05 12:31:21.001Z] Unsuccessful task run with exit code: 1 completed in 238.855 seconds