aboutsummaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorPiotr Milewski <vurmil@gmail.com>2026-01-20 17:51:39 +0100
committerMichal Nasiadka <mnasiadka@gmail.com>2026-01-27 05:21:02 +0000
commit22826c2ff3ee653ac8f3d931d3b11490567c1632 (patch)
treeaf57db34c1917394dc723816845b944630a5305d /roles
parent77e9d23a20fa39fe49f03210b6a20bc463c31078 (diff)
downloadkolla-ansible-22826c2ff3ee653ac8f3d931d3b11490567c1632.tar.gz
kolla-ansible-22826c2ff3ee653ac8f3d931d3b11490567c1632.zip
tests: Change Selenium port from 4444 to 4500
The default Selenium port (4444) conflicts with MariaDB SST (State Snapshot Transfer), which also uses port 4444. This overlap caused intermittent test failures and MariaDB timeouts during CI runs. This commit shifts the Selenium standalone container to port 4500 to ensure environment stability. Change-Id: Ie259629617d47367c412336434069e5d4f5cae3a Signed-off-by: Piotr Milewski <vurmil@gmail.com> (cherry picked from commit 2da3a2c0555c5671d8d473ef71c763cc0437b3b1)
Diffstat (limited to 'roles')
-rw-r--r--roles/kolla-ansible-test-dashboard/tasks/main.yml11
1 files changed, 9 insertions, 2 deletions
diff --git a/roles/kolla-ansible-test-dashboard/tasks/main.yml b/roles/kolla-ansible-test-dashboard/tasks/main.yml
index b55f5078d..02b218212 100644
--- a/roles/kolla-ansible-test-dashboard/tasks/main.yml
+++ b/roles/kolla-ansible-test-dashboard/tasks/main.yml
@@ -57,6 +57,9 @@
detach: true
image: "quay.io/opendevmirror/selenium-standalone-firefox:latest"
network_mode: host
+ env:
+ SE_NODE_PORT: "4500"
+ SE_OPTS: "--port 4500"
register: docker_result
retries: 5
delay: 3
@@ -70,14 +73,17 @@
detach: true
image: "quay.io/opendevmirror/selenium-standalone-firefox:latest"
network_mode: host
+ env:
+ SE_NODE_PORT: "4500"
+ SE_OPTS: "--port 4500"
register: podman_result
retries: 5
delay: 3
until: podman_result is succeeded
- - name: Wait for port 444 to be up
+ - name: Wait for port 4500 to be up
ansible.builtin.wait_for:
- port: 4444
+ port: 4500
- name: Run testinfra tests
environment:
@@ -85,6 +91,7 @@
ansible.builtin.shell:
cmd: >
. {{ kolla_ansible_venv_path }}/bin/activate &&
+ export SELENIUM_REMOTE_URL="http://localhost:4500/wd/hub" &&
py.test
--junit-xml /home/zuul/testinfra/testinfra-junit.xml -o junit_family=xunit1
--html=/home/zuul/testinfra/test-results-testinfra.html --self-contained-html