fac24451af8e85baead7b9a67d1b5c2f1379fe7c
Commit Graph

154 Commits

Author SHA1 Message Date
Xingchao Yu
fac24451af Add swap precheck and clean jobs
Before create and add swap on system, check whether swapfile
is mounted. If so, try to swapoff the swapfile and remove it.
Change-Id: Ic3a9ffc34872a83a491412237369442f369c21d1
2017年04月12日 20:15:20 +08:00
Emilien Macchi
321810628b Create $::rdo_mirror_host
Currently, openstack-infra has create an proxy cache of
trunk.rdoproject.org. This is a short term solutions until we add RDO
to our AFS mirrors. Update repo.pp to start using it.
We also use the direct hash from delorean.repo, to avoid potential
issue where packages chages on remote node after we start downloading
things.
Change-Id: Id1819cf0dc49a89256a971ce9d8420622db901e8
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017年03月30日 15:58:12 -04:00
Emilien Macchi
a4b61214d4 Add support for Ceph mirrors on CentOS
Until now, we were only supporting the Ceph mirrors for Ubuntu platform.
- Enforce http for OpenStack Infra AFS mirrors (https is not supported
 yet)
- Set CEPH_MIRROR_HOST to the right mirror depending of the platform
- Force https when possible
Change-Id: Ica91b23c0954ccee17ea13903048b6133758f9f3
2017年03月27日 23:06:05 +00:00
Jenkins
d1e54bead9 Merge "use a diffrent smoke test for vitrage" 2017年03月24日 15:04:56 +00:00
Eyal
846b5a95c3 use a diffrent smoke test for vitrage
choose a test without heat
checking a basic functionality of vitrage
sending an event to raise an alarm and see it in vitrage
Change-Id: I0bc2eb459e1ac4458833bac2d319a94b23b98b6a
2017年03月22日 09:11:27 +02:00
Alex Schultz
1db252b125 Update Ubuntu tempest exclusions
We're now well past ocata-m3, so lets remove the exclusions we had for
issues with ocata ubuntu packages.
Change-Id: I7af84157a6c91c58981108747549c15ff8feb80a
2017年03月16日 13:50:24 -06:00
Alfredo Moralejo
423c3d1058 Grab additional data about IO to profile service timeouts
We are hitting timeouts in IO bound processes as swift but we
don't have much information about what processes are causing
this IO peaks.
This patch adds iotop and iostat information to the logs in
addition to dstat output.
Change-Id: I4c50d4405a923eb2652fc39f6cea9889597ae44e
2017年03月09日 17:05:48 +01:00
Emilien Macchi
05a6bba1af Align the stars
CI is currently flacky / broken.
1. ubuntu: exclude test_create_show_delete_firewall from tempest
f2088f3b7b
This patch broke us when running Tempest with Ubuntu Ocata.
 File "/usr/lib/python2.7/dist-packages/neutron_fwaas/tests/tempest_plugin/tests/api/test_fwaas_extensions.py", line 102, in _wait_until_ready
 if not test.call_until_true(_wait, CONF.network.build_timeout,
AttributeError: 'module' object has no attribute 'call_until_true'
2. Start Designate services after RabbitMQ resources are ready
This makes sure Designate services can start correctly at first Puppet
run and make second Puppet run idempotent.
3. Disable vitrage which is unstable now, until we figure out what's
wrong with configuration. It seems related to auth parameters.
Change-Id: I84921cbf4f4f838bff4f970113e709181801bed9
2017年03月01日 10:57:36 -05:00
Alex Schultz
db28e9c2a7 Revert "Pin tempest until designate promotes"
This reverts commit 9919ccfbb0.
Change-Id: Ieb444340b15b2d6866f82785d13c9143c7d050a6
2017年02月25日 16:32:54 +00:00
Emilien Macchi
11f4f51048 Disable TelemetryNotificationAPITest
ceilometer-api is being deprecated, so we want to stop running the tests
and move forward with Gnocchi tests, with auto-scaling (coming in future
patches).
Removing TelemetryNotificationAPITest that is not a valid use case
anymore when using Gnocchi.
Change-Id: I0e09dea793e86a6be40a2ccc4715a1dc9794713e
2017年02月23日 16:32:57 -05:00
Alex Schultz
9919ccfbb0 Pin tempest until designate promotes
Tempest recently merged a change
I54a001cb562a8aac91537bf61e82a7e7d3498788 removing an option that
our designate packages still have. Lets pin until we promote.
Change-Id: Ifa1663f3b8f6cf51fb9911349885aa0ba6b9205a
2017年02月21日 11:16:44 -07:00
Eyal
94fad23968 add vitrage
Change-Id: Ibdb1e687ec348fa4147a9ca970b4f0f1c355ade9
2017年02月14日 16:55:08 +02:00
Luigi Toscano
8f1627e934 tempest-lib should not be required anymore
Tempest-style tests have been migrated to tempest.lib, part of tempest.
Change-Id: I46e33abfaffd8d78240376b272a75f63f2c37e13
2017年02月09日 14:24:04 +01:00
Chandan Kumar
ab15e5cf14 Enable using tempest rpm in a configurable mode
* TEMPEST_FROM_SOURCE is set to true to install tempest from source.
* Added capability to use tempest rpm
* change the cirros image directory to /tmp/openstack/image
 if the image gets firstly downloaded in tempest workspace,
 Tempest init will fail to create tempest workspace.
* Create image_dir if not exists.
Change-Id: I349783ace314a3575e93e6c853a7756f0f9b85ac
2017年02月08日 09:26:26 +00:00
Alex Schultz
97ea1dc349 Update ubuntu excludes for ocata-m2
Since ocata-m2 has been published in proposed for UCA, let's see what
tests still fail.
Depends-On: I272c03f19d7182c4a731a1ef0fcbc2b9c6ca0b97
Change-Id: I4c8e102dea02e931abdc708f6ad2c508765a4c5b
2017年01月26日 04:12:52 +00:00
Emilien Macchi
4de9f26865 run_tests.sh: default WORKSPACE to /tmp
When I run p-o-i on my laptop, logs go into / which is weird.
Default $WORKSPACE to /tmp, so when we run the scripts outside OpenStack
Infra environment, logs are visible in a safe place.
Change-Id: Ib8b0f9417098bcf703e31984804f2b72a8d93866
2017年01月12日 07:46:35 -05:00
Jenkins
629a21f98a Merge "Remove testing for Glance Registry" 2017年01月09日 20:14:33 +00:00
Emilien Macchi
76813468bd Re-enable Mistral testing
This reverts commit 4d6b918cef.
It activates Mistral testing again, module one test that fails all the
time:
https://bugs.launchpad.net/mistral/+bug/1654555
Change-Id: I763fd9b13ba94d1e76682a7a1c4264d7507c922c
2017年01月06日 11:37:59 -05:00
Emilien Macchi
817f19550a Remove testing for Glance Registry
Glance registry is not required for the v2 of the API and there are
plans to deprecate it in the glance community. Allow for it to be
disabled in tests.
Change-Id: I89f319f18f4cbda4244e96732a16df81a0f836b0
2017年01月06日 11:11:47 -05:00
Emilien Macchi
96f76cd047 Unpin Tempest
Tempest has been fixed upstream. We shouldn't have to pin it anymore.
Change-Id: I14ceda3ebad7797cbd278199ea3c3bc8151dbf66
2016年12月20日 11:16:58 -05:00
David Moreau-Simard
b6243b1617 Adjust how we pin (or not) Tempest depending on where we're running
We don't want to pin Tempest if we're running inside the Tempest gate.
This allows their patchsets to be properly tested inside the p-o-i jobs
that are running there.
If we're not running inside the Tempest gate, pin to whatever version
is in TEMPEST_VERSION.
Change-Id: If2221480fb13a69e64adc26fa6bc211bf563bfa8
2016年12月20日 08:48:23 -05:00
Emilien Macchi
dafc82ccfb Don't pin Tempest if jobs are run in Tempest gate
Do not pin Tempest if the jobs are run in Tempest gate, so they can
actually see the errors we have without the pin.
Change-Id: I439dc6b8200a59f31c0227a124b4a2a6e8d443ba
2016年12月19日 15:22:46 -05:00
Emilien Macchi
f43dfbd91d Pin tempest to unblock CI scenarios
openstack/tempest/master interface breaks Trove and more services.
There is an attempt to fix it here:
https://review.openstack.org/#/c/412511/
Let's pin Tempest until the fix works and is merged.
Change-Id: Iadf7c3164d2f16c5caa1b5d53089f35b22b7b289
2016年12月19日 12:53:32 -05:00
Jenkins
30a78d1b80 Merge "Add update step after enabling OpenStack repos" 2016年12月08日 00:04:47 +00:00
Alex Schultz
62de30c08c Remove tempest pin for UCA
This is a partial revert of the pin we implemented as part of
I2330faf700230fe40119169347ad72f8332d0821 to be able to promote the
RDO packages.
Change-Id: Id19998448591e9e3fb997602ec95a51cb2070889
2016年12月05日 10:09:16 -07:00
Alex Schultz
7f0a1834c5 Disable lbaas listener tests
On ubuntu these tests are flakey with ocata-m1. Let's disable them for
now.
Change-Id: Id0141edd8bf40449ef26b49ae94121f6779e0c3f
2016年12月02日 14:16:10 -07:00
David Moreau-Simard
d78aa7a46a No longer modprobe br_netfilter on Ubuntu
The launchpad bug was resolved+released
Change-Id: Ie20346dd6c4618866da47cded612319c03348fec
2016年11月29日 16:36:37 -05:00
David Moreau-Simard
8b56bad90c Reduce the amount of Murano tests from 108 to 61
By including the whole application_catalog regex, we were trying to
run ~108 tempest tests on top of Murano.
Since Murano tempest tests already have the 'smoke' tag, let's just
rely on that to provide the testing that we need.
Murano still has 61 tests tagged as smoke but it's already a start and
we can lower that further by optimizing which tests are run directly
in the Murano tempest plugin afterwards.
Change-Id: I4d975b2c73e1f7fe8013d1ca7638a01b68a24971
2016年11月25日 19:00:38 +00:00
David Moreau-Simard
86195304b1 Reduce the amount of ec2api tests from 161 to 14
The previous ec2api tempest regex was matching 161 tests so we were
trying to run all of that, greatly affecting testing duration.
We're lowering that to 14 which is much more reasonable.
Change-Id: Ib662094e588414bf7a87d2b9659d8e9ead0a0077
2016年11月25日 12:48:19 -05:00
Alfredo Moralejo
dc8c6f1c90 Add update step after enabling OpenStack repos
In specific cases, there may be conflicts between packages
provided by Centos and RDO repos. In that case RDO repos
should be used. To avoid any of these issues, this patch
updates packages right after enabling the repos.
Change-Id: Ide3265c5dc84971f19da2b5af049693cff5442b4
2016年11月25日 18:32:08 +01:00
maliki
5f078936e2 Install ebtables for missing br_netfilter
On fresh new ubuntu, modprobe command fails with error
complaining br_netfilter. After installing ebtables,
it got through it.
Change-Id: I53ae0d6e057b1845a53960bb4f7f96ebddab4336
Closes-Bug: #1644329 
2016年11月23日 10:37:41 -08:00
Alfredo Moralejo
e7bd64b108 Make version of tempest configurable
This patch makes tempest version configurable so we can override
it in CI for DLRN promotion jobs for stable branches.
There have been some backwards incompatible changes in tempest
and ceilometer ( https://review.openstack.org/#/c/395506/ ) not
tagged yet in stable/newton. In order to get p-o-i pass with this
commits we need to use an updated version of tempest.
Change-Id: Ifb37a5a3a809c8a94d055d9cdc2b880e1ec9a115
2016年11月14日 10:43:31 +01:00
Alex Schultz
e4c6f48efa Split out puppet logs
To improve troubleshooting and readability, let's not have the puppet
logs print to the console. This change updates the puppet apply to
output the logs to puppet.log which will still be captured and provided
in the CI results. When the puppet apply fails, we will grep for
warnings and errors from the puppet log and only print those out which
should simplify troubleshooting failures.
Change-Id: I1084223f805f1960aebb9c5868fdef84ff3667e4
2016年11月01日 14:41:01 -06:00
David Moreau-Simard
5bec5495b2 Really whitelist the Murano tempest tests
In Iedad1e0871388965acefb806369dc32b6c85cbd9 we merged the Murano
implementation but did not properly whitelist the application_catalog
regex for running tempest tests.
It doesn't look like the Murano plugin cares, though, since it ran
anyway but let's clean this up.
Change-Id: I4dd4abc7265ef295a8e6a2ae911dd5ec08006523
2016年10月31日 15:01:53 -04:00
Jenkins
5ceee076e4 Merge "scenario003: enable application catalog service" 2016年10月31日 12:40:22 +00:00
Alexey Deryugin
ec85a6724a scenario003: enable application catalog service
- install & configure Murano services
 - enable Murano tests in Tempest
Depends-On: Iae5e04fdd320dc16eb03974f3632f58d5389b565
Change-Id: Iedad1e0871388965acefb806369dc32b6c85cbd9
2016年10月31日 11:47:47 +02:00
Emilien Macchi
5faf60ac39 Promote gate to master
A fix was merged in Tempest so we need to update run_tests.sh to stop
pinning Tempest. Because of that we need to promote the repo otherwise
the downstream CI job will never update the packages.
After this patch got merged, we'll come back on the static URL.
- Unpin Tempest on CentOS
- Pin Tempest on Ubuntu (Ocata not packaged yet)
Change-Id: I2330faf700230fe40119169347ad72f8332d0821
2016年10月26日 10:00:58 +02:00
Emilien Macchi
a6c16896b8 Pin tempest (ceilometer tests are now broken)
Until https://review.openstack.org/#/c/389848/ is merged and promoted in
RDO, we need to pin Tempest.
Change-Id: Iaad03ec7d4263dca0a317031925df8e7ba4502b6
2016年10月21日 23:26:22 +02:00
Sven Anderson
d7d1321081 Disable flaky ec2-api tempest test.
test_assign_unassign_private_addresses_by_addresses seems to be flaky
and is being disabled until the race condition has been identified
and fixed.
Change-Id: If4ffe5afec22619b2a33b63b1857b661d89dcc4b
2016年10月18日 22:54:26 +02:00
Sven Anderson
34bc917b98 scenario002: Enable ec2api tempest tests
Depends-On: I2a60bde92e8522362fefebc34c99cbb0346c6347
Change-Id: Ibebf638af2bf4daf867b7d06856bdf7758de54d3
2016年10月14日 18:34:43 +02:00
Keith Schincke
195872d0d8 Add cinder backup to scenario002
Configure cinder backup to use swift and test
Change-Id: I9b645b2e7b76e97403b95459578979ec9f53c0b4
Depends-On: I588c9864cd20c75de7caecf733603a3587c34d12
2016年10月11日 17:18:36 -04:00
Emilien Macchi
889cffbba9 Enable TestEncryptedCinderVolumes tests (for real)
https://review.openstack.org/#/c/363142/ was merged but it was basically
noop since the pattern to enable the test was wrong and reviewers missed
it.
This patch enables TestEncryptedCinderVolumes tests for real.
Change-Id: Iee97dfc3fc9b6a313f274dc1bee11ff8c1611782
2016年10月06日 10:52:34 +00:00
Emilien Macchi
b674d6c97c Enable Volume encryption testing again
Change-Id: I5566d1aea8a8393ffed0601b12986e2e4676ea59
2016年09月29日 14:02:08 +00:00
David Moreau-Simard
0d13153e54 Provision from pre-cached/pre-downloaded CirrOS image
In run_tests.sh we symlink a cached image to /tmp/openstack/tempest
or it is downloaded to that location using wget which is more reliable.
Let's use that instead.
Change-Id: I3777d9d035ceb31827b8df4264c2f7d213f50aea
2016年09月23日 10:26:07 -04:00
Matthew Treinish
73642a916d Stop using tox
This commit abandons the tox usage in run_tests.sh script. At this
point tox is only being used to create a venv and not run any tests.
The primary advantage tox gives you is maintaining separate test
environments by handling the venv management, job commands, etc. Since
we are only using it venvs, tox is a bit heavyweight when we can just
call virtualenv and pip directly. This just make it more explict so
people can see exactly what is happening when we run tempest. It also
continues the work to decouple running the tests in CI from the tempest
repo itself.
Change-Id: I57ded07a2fd2cde4d532f65e68bacbf62547cf1f
2016年09月13日 14:08:37 -04:00
Matthew Treinish
65eed60135 Manually run test runner for tempest
The tempest tox.ini is going to be changed to use the tempest run
runner, however the CLI is slightly different. To avoid being broken
by the change this commit switches to just using tox as a venv wrapper
and manually calling the test runner inside that venv. This should
isolate us from any changes in the tox.ini and also make how we
execute tests explicit.
Change-Id: I0529c2922242d8ed9c92ef718328e09f3ea9e05b
2016年09月09日 17:43:21 -04:00
Emilien Macchi
834ab8a5fb Align the stars to bring our CI back
1) Add 2GB swap by default
Add some swap when running CI jobs, so we can reduce the number of
failures in CI related to missing memory.
By default 2GB, can be disabled or increased/decreased with parameters.
2) Promote RDO repository to have Oslo DB from master
python-oslo-db 4.13.x releases are known to break Gnocchi.
https://review.openstack.org/367221 will fix it, but it is not yet
in any release, so RDO unpinned oslo.db until that happens.
3) Disable Ironic testing on Ubuntu. Packages are broken in recent
 Newton upgrade. They are working on it.
4) Enable br_netfilter kernel module on Ubuntu.
See https://bugs.launchpad.net/cloud-archive/+bug/1621651
Even if it's not critical, it's a nice-to-have because it removed the
ERROR that we had in neutron logs. We'll see how the bug report evolve
and maybe remove this workaround.
5) Export lsmod in logs, easier for us to debug later.
6) Disable linuxbridge on scenario003 for Ubuntu
Also see https://bugs.launchpad.net/cloud-archive/+bug/1621651
7) Pin Puppetlabs release package.
Context: https://tickets.puppetlabs.com/browse/CPR-378
Change-Id: I732ef375a681f03af751ebb6ebd5b12df55a0ecc
2016年09月08日 20:33:20 -04:00
Emilien Macchi
f0203d99a2 Align the stars to promote Ci to latest Newton
1) Promote RDO to latest trunk
2) Configure puppet-keystone to manage credentials, as it's now required
 by keystone upstream.
3) Run Zaqar tests against API v2 (1.0 is deprecated and 1.1 will be
 deprecated soon).
Depends-On: I364f65c7009e400f2851e37999e1d8c0b6f5fd5a
Change-Id: I967038c872628a5a290e2890641c9c8dac45588d
2016年09月05日 15:27:45 -04:00
Emilien Macchi
bf7e86a1ff Revert "Revert "run_tests: disable TestEncryptedCinderVolumes tests""
This patch broke us:
993ba893ca
Until we fix it, let's disable the tests.
This reverts commit dfa7e56254.
Change-Id: I988dc7c742fe7669386aec8701ffce4d22f0bcd6
2016年08月30日 12:10:40 -04:00
Emilien Macchi
dfa7e56254 Revert "run_tests: disable TestEncryptedCinderVolumes tests"
https://review.openstack.org/358670 has merged.
This reverts commit 0aba68d737.
Change-Id: I6fd651bc667bbb36e53e686a9c41ba5f18f0448d
2016年08月26日 08:58:32 -04:00