Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-122729

tst_qwasmwindow_harness fails after fixing Env in CI

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.8.0 FF
    • 6.7.0 RC, 6.8
    • Other
    • None
    • WebAssembly
    • c2b359721 (dev), a84104df1 (dev), 05f4a77e1 (dev)

    Description

      There is a bug in CI provisioning scripts where LLVM_INSTALL_DIR env variable is set. This causes env to be wrong in some cases, for example qtwebeninge is not built due to missing node-js path in PATH variable.

      Now when this flaw is tried to be fixed with https://codereview.qt-project.org/c/qt/qt5/+/541383 it introduces test failure:

      https://testresults.qt.io/logs/qt/qtbase/e04efd306f414d1f8bc30294858fb614e36e5843/LinuxopenSUSE_15_5x86_64LinuxWebAssemblyx86_64GCCqtci-linux-openSUSE-15.5-x86_64-52-42e6c5Sccache_TestOnly/f6ec3ad38ba05433590b61bdf1aa2c2c609594bc/test_1708858163/log.txt.gz

      agent:2024/02/25 10:22:00 build.go:404: 66: ======================================================================
      agent:2024/02/25 10:22:00 build.go:404: 66: ERROR: test_cannot_resize_over_screen_top_edge (__main__.WidgetTestCase.test_cannot_resize_over_screen_top_edge)
      agent:2024/02/25 10:22:00 build.go:404: 66: ----------------------------------------------------------------------
      agent:2024/02/25 10:22:00 build.go:404: 66: Traceback (most recent call last):
      agent:2024/02/25 10:22:00 build.go:404: 66:   File "/home/qt/work/qt/qtbase_standalone_tests/tests/auto/wasm/selenium/qwasmwindow.py", line 21, in setUp
      agent:2024/02/25 10:22:00 build.go:404: 66:     self._driver = Chrome()
      agent:2024/02/25 10:22:00 build.go:404: 66:                    ^^^^^^^^
      agent:2024/02/25 10:22:00 build.go:404: 66:   File "/home/qt/.local/lib/python3.11/site-packages/selenium/webdriver/chrome/webdriver.py", line 45, in __init__
      agent:2024/02/25 10:22:00 build.go:404: 66:     super().__init__(
      agent:2024/02/25 10:22:00 build.go:404: 66:   File "/home/qt/.local/lib/python3.11/site-packages/selenium/webdriver/chromium/webdriver.py", line 61, in __init__
      agent:2024/02/25 10:22:00 build.go:404: 66:     super().__init__(command_executor=executor, options=options)
      agent:2024/02/25 10:22:00 build.go:404: 66:   File "/home/qt/.local/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 208, in __init__
      agent:2024/02/25 10:22:00 build.go:404: 66:     self.start_session(capabilities)
      agent:2024/02/25 10:22:00 build.go:404: 66:   File "/home/qt/.local/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 292, in start_session
      agent:2024/02/25 10:22:00 build.go:404: 66:     response = self.execute(Command.NEW_SESSION, caps)["value"]
      agent:2024/02/25 10:22:00 build.go:404: 66:                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      agent:2024/02/25 10:22:00 build.go:404: 66:   File "/home/qt/.local/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 347, in execute
      agent:2024/02/25 10:22:00 build.go:404: 66:     self.error_handler.check_response(response)
      agent:2024/02/25 10:22:00 build.go:404: 66:   File "/home/qt/.local/lib/python3.11/site-packages/selenium/webdriver/remote/errorhandler.py", line 229, in check_response
      agent:2024/02/25 10:22:00 build.go:404: 66:     raise exception_class(message, screen, stacktrace)
      agent:2024/02/25 10:22:00 build.go:404: 66: selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 120
      

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            piwierci Piotr Wierciński
            falt Simo Fält
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes