Commit Graph

9 Commits

Author SHA1 Message Date
Akihiro Motoki 83187ce009 Fix ironic-ui cross job
ironic-ui npm job uses phantomjs which requires libfontconfig1.
libfontconfig1 is installed via bindep.txt in ironic-ui [1],
but in case of horizon it is not a direct dependency of horizon.
To handle the situation, this commit adds a playbook to install
libfontconfig1 and use it in horizon-cross-ironic-ui-npm job only
instead of adding libfontconfig1 to horizon bindep.txt.

[1] https://review.opendev.org/#/c/744708/

Change-Id: I525ab42d1d5a16b982f6afdfae0b6544a6c7a057
2020-09-10 06:10:38 +00:00
Ivan Kolodyazhny dc21158e31 Improve integration tests logging
* Add fetch-video-output role based on fetch-tox-output
* Fix test log collection to work with Python3
* Fix page HTML source log

Change-Id: I2e865cc5544d6e77bc3af5e413cbaedceb6df1c1
2020-09-04 12:46:17 +03:00
Akihiro Motoki 5dd94f6598 npm job: Add 'nodejs' bindep profile
During the focal migration, npm jobs in some plugins requires
extra packages like libfontconfig. They are specific to npm jobs,
so it would be nice to have a dedicated bindep profile (as 'test'
profile is too general for this purpose). horizon job definition
provides a common layer for the npm jobs, so we decide to add a
task to the job definition in the horizon repo. Each plugin can
add packages with 'nodejs' profile in its bindep.txt if needed.

Change-Id: I5eac6b1c724e9b21a78fda5ba41002224dd9b356
2020-09-02 19:14:18 +09:00
Andreas Jaeger 7cd0debebe Fix horizon-nodejs10-run jobs
Tox is not anymore pre-installed on the OpenDev CI images.
The file package.json needs tox, install it to fix the job.

Install it via a pre-run playbook so that this is run in addition to all
of the playbooks of the parent.

Change-Id: Icf82fa96f7d90453f78cf564c847682a286ed575
2020-06-19 15:37:06 +02:00
Ivan Kolodyazhny 8f887350e0 Fix video recording for integration tests
libav-tools package doesn't exist anymore so we need to use ffmpeg now
to capture the screen.

Change-Id: I58384f42ded3ed864de0dc2a9a56d2d9943168b9
2020-04-09 09:20:04 +00:00
Akihiro Motoki decb90bf6e Experimental tests with xstatic reviews
This commit adds experimental jobs to run horizon with the master branches
of xstatic repositories. It allows us to test xstatic packages before
merging/releasing them.

The existing npm jobs do not support sibling installation into the tox
env "npm" which is used by the npm jobs. In a new experimental npm job
with xstatic master repos, sibling installation is now supported.

Note that this change is proposed only to the horizon repo
to avoid sending the similar change to many xstatic repos.

Change-Id: I5fa29c3af9c896561d1738471b7464a2ea81b7a0
2020-01-27 18:14:38 +09:00
Akihiro Motoki c5dd1536a0 Prepare non-primary Django tests in zuul jobs
We already have a template 'horizon-non-primary-django-jobs'
to test horizon and plugins with non-primary django versions,
but we still need to update tox.ini in all horizon plugins
whenever we change Django versions used.

This commit prepares per-Django environment in the zuul job.

Per-Django tox environments like py3-{dj111,dj20,dj22} are
no longer needed. It would be a big merit that we will no longer
need to update tox.ini in all horizon plugins.

The downside is that we do not provide a convenient way to
test it locally, but I think it can be covered in the document.

Change-Id: I726b19130ee9e7d06eb33231071c2673cfd3a49f
2019-12-29 05:20:33 +09:00
Ivan Kolodyazhny 0c8de3eb4c Add non-voting integration tests job
Thi patch skip integration tests which fails on gates until specified
bug will be resolved.

@decorators.skip_because doesn't work somewhy so I used unittest.skip
instead of it. I'll fix skip_because decorator in a follow up patch.

Related-Bug: #1792028
Change-Id: Ida79b5064c2457afc15db6e63a45478d711e02b5
2019-01-18 19:50:51 +00:00
Ivan Kolodyazhny ee95bf15d9 Fix selenuim-headless tests
This patch leave selenuim-headless non-voting since it was broken for a
while so we should be sure that it's stable enough.

Related blueprint: improve-horizon-testing
Change-Id: Ic2a877a4eefc2f10fb25e64c387b81fc18302a2a
2018-06-08 12:22:10 +00:00