85954db357e44ecfb9d0668677bf6cf6a8af6c99
Commit Graph

223 Commits

Author SHA1 Message Date
0c938590d2 Add support to all Scenarios to work with Fedora and RedHat > 7
Disable SSL as currently there are known issues in services
to work with python3 + SSL on Fedora.
Also fixed following:-
- watcher to work without SSL
- Handle source /etc/bashrc for users don't have .bashrc created
- Install python3-rbd in Fedora and RedHat > 7
Change-Id: I5b67f40ec3c687f5282c65e10b4a1ee1fe5528f3
2019年01月09日 20:11:43 +05:30
Tobias Urdin
863592bca0 Blacklist tempest_horizon on Debian based
Change-Id: I9881b0d6e3787c503079991c675dd12e809f1963
2018年11月24日 18:33:08 +01:00
Zuul
9d56711062 Merge "Use blacklist_file for skipping tests in Ubuntu/Debian" 2018年11月20日 11:05:13 +00:00
Zuul
cf52b7d552 Merge "Add puppet6 testing" 2018年11月19日 19:00:41 +00:00
Tobias Urdin
b7958b2589 Default PUPPET_MAJ_VERSION to 5
Shouldn't use puppet 4 when running tests manually
while testing. This is last cycle we will support
puppet 4.
Change-Id: I6edb56a1fc85559e1f96cb93781e52e4e99ff889
2018年11月15日 16:46:22 +01:00
Chandan Kumar
578419938d Use blacklist_file for skipping tests in Ubuntu/Debian
* --black-regex does not work on debian tempest package. So it is
 better to switch to blacklist_file for skipping tempest tests.
* Install tempest from source for Ubuntu.
* Fixed tempest binary for debian
Change-Id: Ifc80f48bfc626566193c8fb01b7daa3eed9c7a0e
2018年11月15日 13:14:11 +00:00
Tobias Urdin
eace0d6b15 Add puppet6 testing
Add puppet6 testing and run all those on Ubuntu Bionic.
Change from Xenial to Bionic for all other default jobs.
Run libraries unit for 6.0 on Ubuntu Bionic.
Change-Id: I4d9f1d1b62acece9bc0b4ce7bd49d2093af8e5ee
2018年11月15日 10:19:25 +01:00
Chandan Kumar
2bad7365b0 Blacklist tempest_horizon.tests test in Scenario003 CI
* tempest_horizon.tests.scenario.test_dashboard_basic_ops
 .TestDashboardBasicOps.test_basic_scenario fails sometimes and some
 time passes after multiple rechecks. In order to unblock the CI,
 we are adding it to skip list.
Change-Id: I3a5bc220fe1993fa1f72a67f974dba77f3ec7584
2018年11月03日 14:36:09 +00:00
Tobias Urdin
dedc5ccd0d Use noninteractive frontend for Debian upgrade
When upgrading packages for Debian based make
sure we set the frontend to noninteractive so
we dont get stopped on questions popping up.
Change-Id: I2dfa77840401261e4c58095b978e1f6374ed69a1
2018年09月18日 14:50:18 +02:00
Tobias Urdin
8dc7b22c35 Rework the package upgrade after repos
This moves back the generic upgrade process
for packages after the repos are added back
to the run_tests.sh script.
Instead if solves the known python-chardet
dependency bug for requests package for RPM
packaging in the repos.pp manifest.
This is because we need to fix that bug when
running the beaker tests.
We need to keep an eye out if we see any
similar bugs in the future now that updates
are now executed for all packages in beaker
tests.
Change-Id: If12897355d5a4ba7c05e6ee79d63417fcae03977
2018年09月08日 22:14:15 +02:00
Tobias Urdin
0a06eabd9b Update packages after adding repos
Make sure we upgrade packages after adding
repos so we have the latest packages when
testing in integration and beaker.
Change-Id: Ide4863f859931231636f21299be9d45f693d3b61
2018年08月23日 15:02:22 +02:00
Zuul
5844ae23fa Merge "Test bgp-dragent in scenario004" 2018年08月17日 02:44:05 +00:00
Tobias Urdin
b743ce036c Test bgp-dragent in scenario004
Adds testing for the bgp-dragent that is
shipped by neutron-dynamic-routing in
scenario004.
Depends-On: https://review.openstack.org/#/c/586462/
Change-Id: I8998a1a0f0a8e944cd5f836b3cbe568aa99fcedb
2018年08月16日 17:45:36 +02:00
Tobias Urdin
39e65c0b08 Support multiple nodetype library beaker tests
Change-Id: I7dc23d2a5c22c269929f82ac5579d913d4827c45
2018年07月27日 13:58:10 +02:00
Zuul
e723ae46b4 Merge "Use stestr-3 when it's available" 2018年07月03日 04:34:52 +00:00
Tobias Urdin
eaacd3f841 Add support to select ceph version
We are closing in on adding Ceph Mimic support and
want to ensure we can select either Luminous or Mimic
for running our tests.
For example Ubuntu 18.04 must run Ceph Mimic because
Luminous is not available (yet), Debian doesn't have
Ceph Mimic packages so we must run Luminous there.
Depends-On: https://review.openstack.org/#/c/576247/
Change-Id: If84ecbf86f3ebde8e69a1a26759ad967d061725a
2018年06月28日 19:54:10 +02:00
029101ab82 Use stestr-3 when it's available
python3-stestr provides stestr-3, With switch to fedora
it would be installed and used.
Change-Id: Ib9f23e592105d08281f400827416e6f126935b1d
2018年06月25日 14:28:18 +05:30
e931cd247a Allow running poi scenarios on Fedora
Change-Id: I409c11f31d4b82ef9a3d6ba20e2dd045156d66a9
2018年06月13日 19:07:13 +05:30
Thomas Goirand
fb4836d749 Check cirros symlink before creation
Currently, run_tests.sh does:
ln -s ~/cache/files/cirros-0.4.0-x86_64-disk.img $IMG_DIR
inconditionally. This patch checks if the file exists and is a symlink
before doing the ln -s.
This helps running ./all-in-one.sh twice if the first attempt failed, for
some reasons, which isn't hypothetical, it happens often that it fails
because of networking problems (bad WIFI) on my laptop.
Change-Id: I3faed512a1eeccef15f4965d6deb2151eab9d36d
2018年05月15日 22:51:04 +02:00
Thomas Goirand
ef34110574 Also install python3-tempest-horizon
Also install python3-tempest-horizon, which I forgot when switching to
packages instead of python setup.py install.
Change-Id: Ice662ce86efd9b93d962b1c0b2e43c748f44c35f
2018年05月02日 20:12:11 +02:00
Thomas Goirand
d67e93238a Debian: using packages for installing Tempest
Puppet-openstack attempst to install puppet using:
"python setup.py isntall"
Though in Debian, setuptools isn't even installed for Python 2, so it
fails. As the comment in run_tests.sh mentioned the use of setuptools
and pip is temporary, this patch switches to the packaged version of
tempest, testr and os-testr, using apt-get install instead of pip.
Change-Id: I6a2a04dd0e0f2d7d89da538a53af420d52dcfd20
2018年05月01日 13:28:59 +02:00
Chandan Kumar
e0302edb2d Get more details for debugging tempest errors
* In order to improve tempest debugging, It adds listing workspace,
 followed by listing tempest tests and then list plugins and they
 run tempest tests. If any of the above step fails, we have more
 details on debugging.
Change-Id: If797b38b371629c1fd07dae3ec4dfcaf53f06b39
2018年04月27日 06:59:39 +00:00
Zuul
ff32f568f1 Merge "Switch to stestr for generating subunit results" 2018年02月25日 08:40:35 +00:00
Alfredo Moralejo
9325150ded Remove --regex from tempest command when running with RDO
https://review.openstack.org/#/c/504345/ has changed the behavior of tempest
when running with --regex and --whitelist-file [1]
In order to promote we need to remove this regex option and implement [2] when ready
after promotion.
This patch is removing totally the --regex when not running in UCA. Note these tests
were disabled in [3] and hopefully they are more stable now and we can run
without skipping them until we can implement --blacklist-file.
[1] https://bugs.launchpad.net/tempest/+bug/1751115
[2] https://review.openstack.org/#/c/547278
[3] https://review.openstack.org/#/c/461969/
Change-Id: I0dd846a383ed2e1cb4c699a42e618156a9e628b2
2018年02月23日 09:56:18 +01:00
Chandan Kumar
c5a7236f78 Switch to stestr for generating subunit results
* https://review.openstack.org/#/c/504345/ moves the tempest run
 cli to stestr. In order to avoid breakage switch to stestr from
 testr.
* Check for .testresposity and .stestr folder and then use respective
 test runner. It will avoid the breakage in CI.
Change-Id: Ic6c5fb4bdf883708cf4fc08486db7e89e0a76c6a
2018年02月14日 15:01:45 +05:30
Zuul
d94a5c86dc Merge "Revert "scenario002: ignore ec2api snapshot test"" 2018年01月30日 05:52:01 +00:00
Zuul
301eba4436 Merge "Updated gnocchi tests name" 2018年01月22日 15:30:06 +00:00
cccb61fdef Revert "scenario002: ignore ec2api snapshot test"
Fix: https://review.openstack.org/#/c/531289/ is in repo now.
This reverts commit 2ddf0ba395.
Change-Id: I69e600dc6cd92b616e84d0f4bc1a35ae793ae924
2018年01月17日 14:56:41 +05:30
Zuul
ec6327b44c Merge "Update the cirros version to "0.4.0"" 2018年01月15日 21:11:04 +00:00
Chandan Kumar
b59fc6572a Updated gnocchi tests name
* https://review.openstack.org/#/c/532773/ moves gnocchi tests under
 telemetry-tempest-plugin. It is better to use and update the name
 space.
Depends-On: Iee9ca8ff41831849f41cc016a110c7fd933d02d7
Change-Id: I8225f1af013a12a09c031f80c9b67f8fb8b5e59f
2018年01月15日 19:55:47 +05:30
Chandan Kumar
169d4aa835 Fixed the test name of ec2api tempest tests
* Due to tempest plugin split goal, the test path
 ec2api.tests.functional is moved to ec2api_tempest_plugin
 in new repo. Since python-ec2api-tempest-plugin is packaged in
 RDO, let's consume it.
* https://review.rdoproject.org/r/11292
Change-Id: Iab207122705cb91de57f852520101f6b35b4cbca
2018年01月15日 16:56:41 +05:30
ZhongShengping
df5b0067d6 Update the cirros version to "0.4.0"
Change-Id: I72cedc1f0fe49a59f6eb38269ca1264e3d37925c
2018年01月10日 09:31:58 +08:00
Emilien Macchi
c46a85b8e5 ironic: run valid test in whitelist
ironic_tempest_plugin.tests.api.admin.test_drivers is the new namespace
of the test when running with the tempest plugin.
This will re-activate the Tempest tests for Ironic witht he new plugin.
Depends-On: Iddd38ccf9bee8de4eced61c72a63e274c753ac32
Change-Id: I1be0c45529dbec2f8c2da5658f775e2cdee35111
2018年01月09日 15:07:35 +00:00
Emilien Macchi
259cd4e726 Revert "Don't test idempotency on scenario001/centos"
This reverts commit 6d219f2a28.
Change-Id: If8567fe1abb141d06cacf4ccbc3eada8e8cfcc3b
2018年01月06日 22:09:02 +00:00
Zuul
21630bfb0f Merge "Don't test idempotency on scenario001/centos" 2018年01月04日 20:29:26 +00:00
Emilien Macchi
2ddf0ba395 scenario002: ignore ec2api snapshot test
It fails on RDO CI:
https://centos.logs.rdoproject.org/weirdo-generic-puppet-openstack-scenario002/3935/weirdo-project/logs/testr_results.html.gz
Until we figure out, let's disable it.
Change-Id: Ia94a91fd55651c7dacaee9b1614928250087952f
2018年01月03日 21:35:56 -08:00
Emilien Macchi
6d219f2a28 Don't test idempotency on scenario001/centos
Change-Id: Ic81ce1762d70be057eee3c186b2301cfdc62b77b
Related-Bug: #1741144 
2018年01月03日 16:46:50 -08:00
ZhongShengping
988fa0a371 Update the cirros version to "0.3.5"
Refer to
https://docs.openstack.org/ocata/install-guide-rdo/glance-verify.html
Change-Id: I84f081c8a387dcf4b98e7decac5fcae8e1e48283
2017年10月31日 15:54:03 +08:00
Alex Schultz
98a5f052a7 Add missing sudo for swap actions
The previous patch did not properly add sudo for the swapoff commands
when it is currently enabled.
Change-Id: I37c2ff9299a8ccff3f0c4f3eebb7d00d5cb5a7c3
2017年10月18日 08:24:10 -06:00
Alfredo Moralejo
7994398c62 Switch tempest to use RPM by default and disable trove
1) Switch tempest to be installed from RPM instead of source
Currently, tempest is deployed from source by default. This is
problematic as some changes in master trunk can be incompatible
with packages in promoted repo.
This patch switchs p-o-i to deploy tempest from the rpm package
used in the promoted repo, what should fix this kind of scenarios.
2) Disable trove until integration with keystone v3 is fixed upstream
Currently, trove doesn't work fine with keystone API v3. It's
being worked in https://review.openstack.org/#/c/507087/ in
upstream project.
3) Disable tempest tests for object_storage when running with ubuntu
as they are failing with the current version of tempest in the uca repo.
Until it's fixed, let's disable it from p-o-i to unblock promotion.
Change-Id: I385e2f34dd925bdc2fdbc1553d49dce104f566f2
2017年10月11日 15:32:54 +02:00
Jenkins
46779d9ab4 Merge "Revert "Temporarily pin cliff to 2.8.0 in tempest virtualenv"" 2017年10月05日 04:17:14 +00:00
Alfredo Moralejo
f37f530b56 Revert "Temporarily pin cliff to 2.8.0 in tempest virtualenv"
All tempest plugin packages have been fixed in RDO and have
been promoted in puppet promotion pipeline so this shouldn't
be needed anymore.
This reverts commit 5014f2cd5d.
Change-Id: I36845045faeb3863eac7bca4276c6d9d909d09e9
2017年09月29日 07:41:16 +00:00
Mohammed Naser
bde052c8e4 Add Zuul V3 support for Puppet Jobs
This patch moves in the Puppet OpenStack integration
jobs as well as the module tests in-repo.
Depends-On: Ib96ee354cbf9c88f9265f5743a97b2d013addc70
Change-Id: Idd846c569a6e067125e130f189be9ae8ffba1646
2017年09月28日 22:37:09 -04:00
Jenkins
f21f5864e9 Merge "Temporarily pin cliff to 2.8.0 in tempest virtualenv" 2017年09月27日 00:53:01 +00:00
Alfredo Moralejo
5014f2cd5d Temporarily pin cliff to 2.8.0 in tempest virtualenv
When installing tempest from source we are getting cliff-2.9.0
in the virtualenv. This version of cliff requires that all tempest
plugins have a top_level.txt in the egg-info [1] which is not
present in some RDO packages.
We are fixing this in RDO but it will take a while to fix the
macro, rebuild the packages and get a new puppet promotion
(which currently is blocked by other cinder issue), so I'm
proposing to temporarily pin back to cliff 2.8.0 until RDO
repos are ready for it.
[1] https://review.openstack.org/#/c/501863/
Change-Id: I9c91a316b2f8acaa1f4b0882f0799f90e11464d9
2017年09月26日 12:30:54 +02:00
Mohammed Naser
7f47c5adb5 Enable resource summary
In order to be able to identify slow execution times, we can enable
resoure summary in order to be able to know how long specific things
take to evaluate.
Change-Id: I1ed0251dcd57b6817f4bd5dd2e7ae4dec4f18706
2017年09月22日 00:20:36 +00:00
Mohammed Naser
2a9c23fc73 restore fwaas tests
Change-Id: Ib10ba2b8c2a8af4f8d625b4707edc9361a068720
2017年09月13日 17:36:20 -04:00
Alex Schultz
175fd077ef Split out mirror facts
This change splits out the facts from the run_tests.sh so it can be
leveraged elsewhere (like beaker) to write out the mirror information to
as static facter facts.
Refactor to fix hitting rdpoproject.org directly.
Added missing UCA nodepool variable.
Change-Id: Iae985e8b976850d8386390cfbadb75e434463479
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017年08月25日 09:19:30 -04:00
Emilien Macchi
dd9582ff9b run_tests: cp gemrc in /root
If .gemrc exists, make sure it's copied on /root, so we can use it when
deploying gems + modules as root in the scripts.
Change-Id: I8ff30d9cb147cf48fae74bf1963e2869f48875de
2017年08月18日 21:14:23 +00:00
Emilien Macchi
f9e13fb381 Deploy buildlogs from OpenStack Infra mirrors
Following the efforts to use more mirrors, this one is for using
buildlogs mirrors from OpenStack Infra, so we don't rely on centos.org
infra anymore from now.
Change-Id: I6c4db33f246aaa037b774b8af5ebf99d04022658
2017年08月04日 03:42:48 +00:00