#9029 Nightly webui test failure (rawhide): selenium issue
Closed: fixed 2 years ago by frenaud. Opened 2 years ago by frenaud.

The nightly webui tests are failing in rawhide, see for instance in PR #1290 the test webui_cert (Report):
selenium.common.exceptions.WebDriverException: Message: Service geckodriver unexpectedly exited. Status code was: 64


The runner.log file displays the following error:

2021-11-06 16:20:10,326     INFO  Executing: Process "vagrant ssh -c ipa-run-webui-tests test_webui/test_cert.py --verbose --logging-level=debug --logfile-dir=/vagrant/ --html=/vagrant/report.html --junit-xml=/vagrant/junit.xml"
2021-11-06 16:20:12,473    DEBUG  Error: Invalid or corrupt jarfile /opt/selenium.jar
2021-11-06 16:20:14,517    DEBUG  <frozen importlib._bootstrap>:914: ImportWarning: IpaMetaImporter.find_spec() not found; falling back to find_module()

@abiagion could you have a look? Thanks

Metadata Update from @abiagion:
- Issue assigned to abiagion

2 years ago

@abiagion
The new fedora 35 image used in PR #1299 is generated with a fixed geckodriver version:
https://github.com/freeipa/freeipa-pr-ci/blob/02f3b32247442a20bacf17ee0e45c079b623c5de/ansible/roles/machine/setup/tasks/install_packages.yml#L128-134
Maybe there is a mismatch between this version and selenium and we should try with the latest geckodriver version?

@frenaud Fixes in PR-CI: https://github.com/freeipa/freeipa-pr-ci/pull/445
I'm building/uploading images based on that to fix the tests.

Latest version of Selenium needs this change in our tests: https://github.com/freeipa/freeipa/pull/6089

Metadata Update from @abiagion:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/6087

2 years ago

master:

  • 15da3a8 ipatests: Fix UI_driver method after Selenium upgrade

ipa-4-9:

  • bb5ef71 ipatests: Fix UI_driver method after Selenium upgrade

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata