#9029 Nightly webui test failure (rawhide): selenium issue
Closed: fixed by frenaud. Opened 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

Affecting Fedora 35 as well: http://freeipa-org-pr-ci.s3-website.eu-central-1.amazonaws.com/jobs/1f3e84a2-422d-11ec-9495-fa163ef390f3/runner.log.gz

@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

New boxes:

  • master: https://github.com/freeipa/freeipa/pull/6087
  • ipa-4-9: https://github.com/freeipa/freeipa/pull/6088

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

master:

  • 15da3a8ea595e6e82444dd2bc697d35ec2c49ba0 ipatests: Fix UI_driver method after Selenium upgrade

ipa-4-9:

  • bb5ef716070cb564b3455ddf7a6656de5e228d0e 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)

Metadata