Set Nodeset to debian-bullseye for npm, integration and selenium job

This patch changes nodeset to "debian-bullseye" from "ubuntu-focal" for
horizon-selenium-headless, horizon-nodejs, and horizon-integration-tests
jobs. Debian bullseye is also a runtime for the 2023.1 cycle as
mentioned here [1]. Right now if we change nodeset to "ubuntu-jammy"
all of the above jobs start failing. One possible solution to run these
jobs on "ubuntu-jammy" nodeset is to install firefox as a deb. package
instead of using snap as discussed here [2]. We can switch nodeset to
"ubuntu-jammy" in the future once the firefox issue with snap is fixed [3].

Also geckodriver version is upadted to latest(i.e. v0.32.0) to include
latest bug fix.

[1] https://governance.openstack.org/tc/reference/runtimes/2023.1.html
[2] https://meetings.opendev.org/irclogs/%23openstack-infra/%23openstack-infra.2022-11-23.log.html#t2022-11-23T14:15:08
[3] https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491

Depends-On: https://review.opendev.org/c/zuul/zuul-jobs/+/865459

Related-Bug: #1996638

Change-Id: Ic50fbb8b29fc5dec42d1a5e94095c9777c7d5fb6
This commit is contained in:
manchandavishal 2022-11-23 23:01:57 +05:30 committed by Vishal Manchanda
parent bebc8dad2f
commit 9a43c7964d
5 changed files with 7 additions and 6 deletions

View File

@ -10,7 +10,7 @@
- job:
name: horizon-selenium-headless
parent: horizon-openstack-tox-base
nodeset: ubuntu-focal
nodeset: debian-bullseye
pre-run: playbooks/horizon-selenium-headless/pre.yaml
vars:
tox_envlist: selenium-headless

View File

@ -6,7 +6,7 @@
vars:
node_version: 16
tox_constraints_file: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt"
nodeset: ubuntu-focal
nodeset: debian-bullseye
pre-run: playbooks/horizon-nodejs/pre.yaml
required-projects:
- openstack/horizon
@ -21,7 +21,7 @@
node_version: 16
tox_constraints_file: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt"
pre-run: playbooks/horizon-nodejs/pre.yaml
nodeset: ubuntu-focal
nodeset: debian-bullseye
required-projects:
- openstack/horizon
- openstack/requirements

View File

@ -1,7 +1,7 @@
- job:
name: horizon-integration-tests
parent: devstack
nodeset: openstack-single-node-focal
nodeset: devstack-single-node-debian-bullseye
pre-run: playbooks/horizon-devstack-integration/pre.yaml
run: playbooks/horizon-devstack-integration/run.yaml
post-run: playbooks/horizon-devstack-integration/post.yaml

View File

@ -1,6 +1,7 @@
# selenium tests
ffmpeg [selenium]
firefox [selenium]
firefox [selenium platform:ubuntu]
firefox-esr [selenium platform:debian]
xvfb [selenium platform:dpkg]
# already part of xorg-x11-server on openSUSE
xorg-x11-server-Xvfb [selenium platform:redhat]

View File

@ -1,2 +1,2 @@
---
geckodriver_url: "https://github.com/mozilla/geckodriver/releases/download/v0.27.0/geckodriver-v0.27.0-linux64.tar.gz"
geckodriver_url: "https://github.com/mozilla/geckodriver/releases/download/v0.32.0/geckodriver-v0.32.0-linux64.tar.gz"