← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1355186] [NEW] Run the Horizon integration tests on the Horizon gate

 

Public bug reported:

Horizon is building up a small collection of integration tests and it's
time to add a gate job so that we can run them on the Horizon gate for
the master branch.

The tests require Selenium to run. I have a patch pending for using the
recent "selenium-headless" flag to the tox job (py27integration) and
make the tests run headlessly. I'm hoping that the addition of the
"selenium-headless" flag removes the need for special casing on the gate
(i.e. https://git.openstack.org/cgit/openstack-
infra/config/tree/modules/openstack_project/files/slave_scripts/run-
selenium.sh ) (if I'm correct then separately we can also update the tox
job for the selenium unit tests and remove the need for that script
altogether).

I'm moderately familiar with adding new jobs for unit tests (as in,  it
should look something like that: https://git.openstack.org/cgit
/openstack-
infra/config/commit/?id=ecf346a668631e4f560949686c2669a0c2d281bd ) but
could humbly use additional advice from infra to figure out what needs
to work differently here since:

- The tests require a running devstack
- The instance running the tests needs to have the xvfb package installed, required for running selenium headlessly. Xvfb is referenced in run-selenium.sh so I understand it is installed in some cases at least?

I'd like to suggest making the job non-voting for the first few weeks
until we figure out how stable it is.

** Affects: horizon
     Importance: High
     Assignee: Julie Pichon (jpichon)
         Status: In Progress

** Affects: openstack-ci
     Importance: Undecided
         Status: New


** Tags: integration-test

** Also affects: openstack-ci
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1355186

Title:
  Run the Horizon integration tests on the Horizon gate

Status in OpenStack Dashboard (Horizon):
  In Progress
Status in OpenStack Core Infrastructure:
  New

Bug description:
  Horizon is building up a small collection of integration tests and
  it's time to add a gate job so that we can run them on the Horizon
  gate for the master branch.

  The tests require Selenium to run. I have a patch pending for using
  the recent "selenium-headless" flag to the tox job (py27integration)
  and make the tests run headlessly. I'm hoping that the addition of the
  "selenium-headless" flag removes the need for special casing on the
  gate (i.e. https://git.openstack.org/cgit/openstack-
  infra/config/tree/modules/openstack_project/files/slave_scripts/run-
  selenium.sh ) (if I'm correct then separately we can also update the
  tox job for the selenium unit tests and remove the need for that
  script altogether).

  I'm moderately familiar with adding new jobs for unit tests (as in,
  it should look something like that: https://git.openstack.org/cgit
  /openstack-
  infra/config/commit/?id=ecf346a668631e4f560949686c2669a0c2d281bd ) but
  could humbly use additional advice from infra to figure out what needs
  to work differently here since:

  - The tests require a running devstack
  - The instance running the tests needs to have the xvfb package installed, required for running selenium headlessly. Xvfb is referenced in run-selenium.sh so I understand it is installed in some cases at least?

  I'd like to suggest making the job non-voting for the first few weeks
  until we figure out how stable it is.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1355186/+subscriptions


Follow ups

References