Details
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:
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
For Gerrit Dashboard: QTBUG-122729 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
543264,3 | Provisioning: Install webdriver-manager for Python3 | dev | qt/qt5 | Status: MERGED | +2 | 0 |
543265,3 | wasm tests: Use WebDriverManager to install chromedriver | dev | qt/qtbase | Status: MERGED | +2 | 0 |
545412,2 | wasm: Temporarily disable selenium tests | dev | qt/qtbase | Status: MERGED | +2 | 0 |