152 Commits

Author SHA1 Message Date
Matthew Treinish
3472386273 Install tempest-lib as part of install_tempest
This commit adds support to devstack to install the newly created
tempest-lib project.

Change-Id: Ifcf56639757ec4814dcd31f791931afe61f5a672
2014-09-16 21:52:03 -04:00
Ian Wienand
887fb54013 Fix preparation of aki/ari/ami images on Ubuntu
The boto tests currently don't run because euca-bundle-image fails on
Ubuntu; e.g.

---
 ++ euca-bundle-image -r x86_64 \
  -i /opt/stack/new/devstack/files/images/cirros-0.3.2-x86_64-uec/cirros-0.3.2-x86_64-vmlinuz \
  --kernel true \
  -d /opt/stack/new/devstack/files/images/s3-materials/cirros-0.3.2

 euca-bundle-image: error: No such file or directory: /opt/stack/new/devstack/files/images/s3-materials/cirros-0.3.2
---

I noticed this in debugging why Fedora tests are running slower.  I
think that the version of euca-bundle-image in Fedora must create the
directory if it doesn't exist, while the Ubuntu one fails.

I also think this doesn't get caught by errexit because it's running
in a special sub-shell to use other credentials.

Change-Id: I79125e956088353aa76a3f7d6d81af1e4f6a27d4
2014-09-14 23:57:25 +00:00
Jenkins
62a66f7121 Merge "Configure enabled and disabled extensions in tempest" 2014-09-12 17:41:51 +00:00
Jenkins
38417fc9e0 Merge "Migrate from using glance image-list to openstackclient" 2014-08-25 14:05:53 +00:00
Jenkins
6f579e66fd Merge "Set suspend feature flag in tempest for ironic" 2014-08-25 13:58:05 +00:00
Salvatore Orlando
3046bc68c0 Configure enabled and disabled extensions in tempest
This patch adds support for configuring the api_extensions
option of the various feature-$service-(enabled|disabled)
sections in tempest's configuration file.

Please note that enabled extensions for the object storage
service are specified in tempest using the discoverable_apis
configuration options.

Partially-implements: Blueprint branchless-tempest-extensions

Change-Id: Ib64c0a474b153f42f3a4a427d86275c85f107997
2014-08-21 15:41:33 -07:00
Clark Boylan
33dc8699e6 Latest tox should work for openstack now, use it
Remove the tox pin that was in place to avoid issues with tox 1.7.0 and
1.7.1. Latest tox (1.7.2) is compatbile with openstack's tox.ini files
again and should work with tempest. This change is self testing and will
confirm this.

Making this change is important so that devs can stop worrying about
package version pins and helps ensure we don't get left behind by
upstream.

Change-Id: Ibf2102d6ad439dd354ae687f7aafec9ceca6cf9c
2014-08-19 22:37:10 -07:00
David Shrewsbury
cf21b71024 Set suspend feature flag in tempest for ironic
Suspend isn't a feature supported by ironic/baremetal.

Change-Id: I49b3b07f9ffd3fcbda8e32e48dcf20062ac7f7d8
2014-08-13 07:03:58 -04:00
Jenkins
1316ff1140 Merge "Enable custom BUILD_TIMEOUT" 2014-08-12 06:43:14 +00:00
Adam Gandelman
fdfe7a010e Set Tempest feature flags for Ironic
Many features tested by Tempest are not relevant to baremetal deployments.
This sets compute-feature-enabled flags accordingly.

Change-Id: I8a1820946bfc5d8f8c25692f9db67df59506126e
2014-08-06 16:42:01 -07:00
Steve Martinelli
5c206c2b7d Migrate from using glance image-list to openstackclient
Modify instance of `glance image-list` to `openstack image list`,
in an effort to migrate all commands to unified CLI.

Change-Id: Ieef661d209606e088fbf6a3a394f9a6577667618
2014-08-04 17:00:18 -04:00
Jenkins
8827d2f61d Merge "Fixes tempest script to accomodate Storage Vendor Names with spaces." 2014-08-04 14:59:41 +00:00
Ed Balduf
2f23d75733 Fixes tempest script to accomodate Storage Vendor Names with spaces.
Change-Id: Ic651fbffaba9a9723ab572e8e8b732f6bea6d1c6
Closes-Bug: 1329597
2014-07-29 14:42:27 -06:00
Arx Cruz
1bde9b4baf Enable custom BUILD_TIMEOUT
The BUILD_TIMEOUT is hardcoded in lib/tempest. This patch
enables people to pass a custom BUILD_TIMEOUT parameter

Change-Id: I260c32e7ed6bf9a49a6bc40272a5535afbca2731
2014-07-28 12:48:50 -03:00
Adalberto Medeiros
5397153987 Add architecture to tempest configuration
Cirros may be also built in other architectures other than
x86_64 (ex: ppc). This option should be broader,
so adding a new variable CIRROS_ARCH

Change-Id: I9fcd3f15e04bb581cf647ad49172c7d698e8e574
2014-07-22 17:49:13 -03:00
Bartosz Górski
0abde393c5 Adds support for multi-region
Change-Id: Ib85fe7cb375692b04aca4c46f61ba7e1fbfa501b
Implements: blueprint multi-region
2014-07-01 14:58:35 +00:00
Jenkins
a4de9a9c35 Merge "devstack should put admin_tenant_id in tempest.conf file while setup" 2014-06-17 19:47:10 +00:00
Jenkins
5b3d97044b Merge "Add flag to set nova v3 api for tempest" 2014-06-17 16:31:06 +00:00
Attila Fazekas
51557a5025 Cut the heat flavor
1024Mb memory is too much for single instance.
approximately 4 GiB memory used even without a booted VM.

The heat auto-scaling scenario needs to boot 3 VM
(currently disabled), if any other test running in parallel
and boots up a vm it would easily can cause OOM an
issue.

The heat-slow job can work with 128 MiB instance memory,
but this change reduces it just to 512 MiB (safer for the guest),
and enough to avoid OOM issues on the host,
and let us to heve more vm at the same time.

The m1.tiny flavor is not good because now it has a hard coded
1 GiB disk limit and the f20 image requires 2 GiB.
Setting the disk size to '0' -> automatically use the virtual size
of the image.

Using multiple cores does not really helps in boot time :(,
but it might cause higher host load. (More locking)
Reducing the core number to 1.

Change-Id: Ice7c1253d15e91fd1c02bc8c6809335aaebfff4a
2014-06-14 22:00:04 +00:00
Jenkins
27c29e8959 Merge "remove the build timeouts" 2014-06-12 18:31:32 +00:00
Matthew Treinish
d514d60f5f Add flag to set nova v3 api for tempest
This commit adds a new env variable, TEMPEST_NOVA_API_V3 to set
whether the tempest api v3 tests are enabled.

Change-Id: If14deb80f271061e70fae6c3d13b210ac0dd9399
2014-06-12 14:31:21 -04:00
Jenkins
f46ac27999 Merge "Set default value for IPv6 subnet attribute flag" 2014-06-12 09:22:02 +00:00
Vadim Rovachev
2541d611ff Add flag for ceilometer tests
Added flag for enable or disable tests for ceilometer
feature of fast work with databases

Change-Id: If68c2b733358a98f56265b70c31366e6a9120dfa
2014-06-03 13:44:56 +04:00
sridhargaddam
fe733ae676 Set default value for IPv6 subnet attribute flag
This patch would set the IPv6 subnet extended attributes flag
to True. The following thread has some additional information.
https://review.openstack.org/#/c/96723/

Change-Id: Ie6ac42646cc2a4d808c05126bf7dd51f2b03ee6b
Partially implements: bp tempest-ipv6-attributes-support
2014-06-03 09:03:57 +05:30
Sean Dague
b57cda9866 remove the build timeouts
the defaults in tempest will be set to 1s in a related change,
so we can remove these.

Change-Id: I05d8b4f08614fdf92611e3ff34d124fe918bd457
Depends-On: If8332d4be8515ac574cbbf4e00cbe0a75b6ebc5d
2014-05-28 07:41:58 -04:00
Harshada Mangesh Kakad
4912623321 devstack should put admin_tenant_id in tempest.conf file while setup
Some of the test cases in tempest related to quota use
admin_tenant_name, ideally it should use admin_tenant_id.
As tempest.conf file does not contains admin_tenant_id
it should also be updated. tempest.conf file is generated
by devstack while setup of openstack, changes should be made
in devstack so as to put admin_tenant_id in tempest conf file.

Change-Id: I62baf5b1e21ebf8d3b511624c54741015b304955
Closes-Bug: #1321624
2014-05-23 09:16:52 +00:00
Jenkins
0cf98966fd Merge "Add support for the IPv6 extended attributes in Tempest" 2014-05-22 18:09:19 +00:00
Jenkins
d65f7a2858 Merge "Upgrade to cirros 0.3.2" 2014-05-19 19:20:00 +00:00
Sean M. Collins
bb2908b7e7 Add support for the IPv6 extended attributes in Tempest
Implements blueprint tempest-ipv6-attributes-support

Change-Id: I96bb78828eeb5548bb075f936342a027b9d11652
2014-05-15 10:24:31 -04:00
Attila Fazekas
522cfe0951 tempest py26 setup
Simplifying the steps between devstack install and tempest run, by
 * installing tox<1.7, bacuse 1.7 is not compatible with our tox.ini
 * installing and patching 'discover' when the python version is 2.6

Change-Id: I8008837d2fae6cebeeeb051b63066279ca477e01
2014-05-05 07:36:49 +02:00
Roger Luethi
73919cbcdd Remove lib/tempest errexit handling
lib/tempest had code to set -o errexit and restore the setting after
configure_tempest had run. This code didn't work, but it is no longer
necessary since we set errexit for all of devstack (see change 88521;
Change-Id Ia477e04567046a7fcdedf699423165bc577b72ad).

This changeset removes the errexit handling code from lib/tempest.

Change-Id: I2b0bc3c55a5d9bbb688f1e2e8e0fe133830a4172
2014-04-30 07:12:19 +02:00
JordanP
34f2f13bd4 lib/tempest: $HEAT_CREATE_TEST_IMAGE is not used anymore
Ridiculous patch to remove a not true anymore code comment. If
one wants to have Devstack get a heat compatible image, one
should add HEAT_FETCHED_TEST_IMAGE=Fedora-i386-20-20131211.1-sda
in his localrc

Change-Id: I2702a322fe1332be5c1301bb32710288ec683350
2014-04-22 15:39:30 +02:00
Jenkins
404fbfefe2 Merge "increase heat guests" 2014-04-14 19:21:08 +00:00
Jenkins
efbdc0859c Merge "Set flag in Tempest enabling Ironic scenario tests" 2014-04-10 22:22:39 +00:00
Jenkins
fe420ec7dd Merge "euca-bundle-image requires a new architecture parameter" 2014-04-10 20:22:42 +00:00
Andrea Frittoli
0352325617 Inject the domain name for devstack in tempest
A new setting for the keystone domain name is introduced in
tempest by change https://review.openstack.org/#/c/81872/.

The default value in tempest is set to None, so that it is
not devstack specific. It's up to devstack to configure
the name of the keystone domain defined in devstack.

Partially implements bp multi-keystone-api-version-tests

Change-Id: I3d1406407759e1fdce0704fa2d6aa025f23a5f08
2014-04-08 23:28:04 +01:00
Davanum Srinivas
6066327474 euca-bundle-image requires a new architecture parameter
Ran into this issue while trying to enable UCA. This switch was
documented by the euca2ools team in:
https://eucalyptus.atlassian.net/browse/DOC-807

Closes-Bug: #1304571

Change-Id: I1ea7c6a760c75e67f09e566d73e571be3a1d89ea
2014-04-08 13:53:59 -04:00
Sean Dague
669c4fc4af increase heat guests
heat is booting a real fedora, which makes m1.tiny completely not
appropriate. We want to limit disk io, so boot as a 2 vcpu 1G guest
to try to get some better performance out of these guests when
tested in tempest.

Change-Id: I80de67080a5106c2d8921e146c37c614ee5f8abf
2014-04-03 17:28:23 -04:00
Sean Dague
ad13ba2917 download fedora x86_64 image if heat is enabled
clean up the logic around producing a valid cfn image for heat
testing. If heat is enabled, add the f20 x86_64 imageurl to the
list of images that we support, and set that as the tempest
orchestration image.

The crux of this change is left commented out for now because we
need a two phase update of nodepool content before we can move
away from the old image (otherwise fedora mirrors will kill us
with bad downloads).

Change-Id: I1da9f259a3267b1bd27e9899755204c8fff41153
2014-04-03 17:28:21 -04:00
Adam Gandelman
43bd667be6 Set flag in Tempest enabling Ironic scenario tests
When Ironic has been configured as the backing compute driver,
set the corresponding flag in Tempest that will cause a corresponding
scenario test to run.

Change-Id: I2bb6009c338cb301bd332e640a845fc1f6cb9336
2014-04-03 11:13:13 -07:00
Attila Fazekas
2d4c8da803 Upgrade to cirros 0.3.2
Cirros 0.3.2 is fixing the host name setting issue, which
is required for turning on the tempest instance validation tests.

Change-Id: I1b87740ab02c4eb0a8df653a35e1f85d40abda51
Related-Bug: #1132686
2014-03-20 23:12:58 +01:00
Matthew Treinish
270f93e526 Fix incorrect tempest config groups
This commit fixes a couple of tempest config options that were being
iniset to the wrong config group. This wasn't caught in the gate
because the default behaviors matched.

Change-Id: I273db85ba310faa1ba7662a42f951a1ee97b431b
2014-03-20 21:21:25 +00:00
Sean Dague
de19bf9b8c turn on resize feature
tempest should test resize based on the config devstack sets up,
but we lost this somewhere.

Change-Id: I12364e7c73c54cc1b231b984dbbc5489c7bbe400
2014-03-20 16:54:58 -04:00
Jenkins
5d4406c56d Merge "Complete moving Keystone setup out of keystone_data.sh" 2014-03-18 05:46:48 +00:00
Attila Fazekas
7eb9934397 Setup the correct ec2 manifest path
setup correctly the path to the ec2 boundled images.

Change-Id: If3bce845e009a73c6b685976de3fa6d44b907bed
2014-03-13 19:23:09 +01:00
Dean Troyer
42a59c2bfa Complete moving Keystone setup out of keystone_data.sh
* Move remaining role creation to create_keystone_accounts()
* Move glance creation to create_glance_accounts()
* Move nova/ec2/s3 creation to create_nova_accounts()
* Move ceilometer creation to create_ceilometer_accounts()
* Move tempest creation to create_tempest_accounts()
* Convert moved code to use OpenStackClient for setup
* files/keystone_data.sh is removed

Note that the SERVICE_TENANT and ADMIN_ROLE lookups in the other service
implementations are not necessary with OSC, all operations can be done
using names rather than requiring IDs.

Change-Id: I4283ca0036ae39fd44ed2eed834b69d78e4f8257
2014-03-10 15:17:30 -05:00
Jenkins
c6fc45582c Merge "Put tempest ipv6 option in the correct group" 2014-03-08 15:26:35 +00:00
Jenkins
fa210d2ab6 Merge "make compute-admin correct" 2014-03-08 01:46:55 +00:00
Sean Dague
e530ba30a6 make compute-admin correct
we lost the admin tenant at some point in the last couple of
days which disabled 500 tempest tests. Bring this back.

Change-Id: I5cab2074777cab99982ae8fc4a83663e9d128284
2014-03-07 07:55:46 -05:00
Andrea Frittoli
07f1d0ef3d Iniset keystone auth version
Introduces support for suth_version config flag in lib/tempest.
The variable is named TEMPEST_AUTH_VERSION, and it can be set
via localrc, so that the devstack-vm-gate-wrap may control it.

The aim is to setup a keystone v3 based experimental check
job in tempest experimental pipeline.

Partially implements bp multi-keystone-api-version-tests

Change-Id: Ia6832d87308c6c7109e6ae0dbd8dff61134718ee
2014-03-07 07:53:37 +00:00