Fix Geo QA CI job log artifacts replication tests
What does this MR do and why?
Fixes the spec failures at #363583 (closed)
Errors are:
1) Geo CI job replicates the job artifact to the secondary Geo site
Failure/Error: Flow::Pipeline.visit_latest_pipeline(wait: Runtime::Geo.max_file_replication_time)
NameError:
uninitialized constant QA::Runtime::Geo
Did you mean? Gem
# ./qa/specs/features/ee/browser_ui/12_geo/geo_replication_ci_job_log_artifacts_spec.rb:99:in `block (4 levels) in <module:QA>'
# ./qa/flow/login.rb:11:in `while_signed_in'
# ./qa/specs/features/ee/browser_ui/12_geo/geo_replication_ci_job_log_artifacts_spec.rb:87:in `block (3 levels) in <module:QA>'
# ./qa/specs/spec_helper.rb:133:in `block (2 levels) in <top (required)>'
# ./qa/specs/runner.rb:64:in `perform'
# ./qa/scenario/template.rb:10:in `block in perform'
# ./qa/scenario/template.rb:8:in `tap'
# ./qa/scenario/template.rb:8:in `perform'
# ./qa/ee/scenario/test/geo.rb:47:in `perform'
# ./qa/scenario/template.rb:10:in `block in perform'
# ./qa/scenario/template.rb:8:in `tap'
# ./qa/scenario/template.rb:8:in `perform'
# ./qa/scenario/bootable.rb:51:in `launch!'
How to set up and validate locally
We have a GET+Geo 1k env if anyone needs to test this (ping me so I can start the env if someone doesn't have permissions; I've already tested there), using:
...vars QA_DEBUG=true WEBDRIVER_HEADLESS=false bundle exec bin/qa QA::EE::Scenario::Test::Geo --primary-address http://35.235.101.88/ --secondary-address http://34.89.13.155/ --without-setup -- qa/specs/features/ee/browser_ui/12_geo/geo_replication_ci_job_log_artifacts_spec.rb
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Catalin Irimie