6298 Commits

Author SHA1 Message Date
Jenkins
f27e00917c Merge "Decouple Sahara templates test from vanilla plugin" 2015-04-23 20:46:52 +00:00
Jenkins
628c965d62 Merge "remove swift cli tests" 2015-04-23 03:49:39 +00:00
Sean Dague
48ddb89c9f remove swift cli tests
These are covered by swiftclient functional testing, no need to have
them also in Tempest.

These are functionally covered by:

http://git.openstack.org/cgit/openstack/python-swiftclient/tree/tests/unit/test_shell.py

and

http://git.openstack.org/cgit/openstack/python-swiftclient/tree/tests/functional/test_swiftclient.py

Change-Id: Iffb75d10ad07d1516660549fc8eb60204aac4904
2015-04-22 13:14:26 +00:00
Itzik Brown
5eb0555fbf Direct ssh bash output to /dev/null
When using Fedora image the ssh command that executes
netcat doesn't return because stdout remanins open.

Closes-Bug: 1439065
Change-Id: I41a75a5a262ce184cbbb57c39863af3d8f21ad61
2015-04-22 10:30:07 +03:00
Jenkins
30ab7d9596 Merge "Apply a naming rule of GET to messaging client" 2015-04-20 22:25:21 +00:00
Jenkins
bf9f6117a0 Merge "Adding port_admin_state_change option to config" 2015-04-20 22:24:10 +00:00
Jenkins
7c38c5144c Merge "Fix test accounts unit test race with networks" 2015-04-20 21:20:15 +00:00
Jenkins
6de59270e7 Merge "Revert "Test creation of server attached to created port"" 2015-04-20 18:58:32 +00:00
Matthew Treinish
a59bd0c7d0 Fix test accounts unit test race with networks
Previously the unit tests for the accounts providers were assuming that
all tests would be run in order. This was causing an occasional failure
when 1 of 2 accounts with a network in the fake accounts list were used
for a test not mocking the network clients. This commit addresses this
issue by changing the fake test list in setUp to not use accounts with
networks. Then the test which does test accounts with networks will do
a cleanup on the mock from setup and use it's own accounts list.

Closes-Bug: #1446309

Change-Id: Id7eedc4f9063f33287c945ed72edd59f52d80952
2015-04-20 17:11:30 +00:00
Matt Riedemann
92b63aa821 Revert "Test creation of server attached to created port"
This reverts commit 2b34ec3ff444e6e6ec7b3e52832ecd6e8ca20552

This breaks gate-grenade-dsvm-ironic-sideways on
stable/juno because the requested port's mac address is not
in the list of available mac addresses from the ironic
driver.

It's also unclear how useful this is given we already have
the test_preserve_preexisting_port test which is
essentially testing the same scenario, except it's not
run on stable/icehouse or stable/juno since preserving
pre-existing ports in nova wasn't fixed until Kilo.

Change-Id: I24403c1ae734b2137ddee5c3bf5a1594cf5375d8
Closes-Bug: #1445917
2015-04-19 15:45:38 +00:00
Jenkins
7e22845cb2 Merge "Test creation of server attached to created port" 2015-04-17 04:22:15 +00:00
Jenkins
ad7f455cf4 Merge "Add network support to the accounts providers" 2015-04-16 21:59:51 +00:00
Jenkins
9536498aa7 Merge "Improve logging in fixed_networks" 2015-04-16 18:13:47 +00:00
Jenkins
f89a598f32 Merge "Merge flavor response schema into one file" 2015-04-16 15:10:20 +00:00
Jenkins
41d6dc6b30 Merge "Rearrange keypairs response schema into one file" 2015-04-16 15:08:52 +00:00
Jenkins
728e39e48e Merge "Arrange quotas response schema into one file" 2015-04-16 15:03:54 +00:00
Jenkins
1f970f0716 Merge "Merge hosts response schema into one file" 2015-04-16 14:55:30 +00:00
Jenkins
347defda0e Merge "FIx Accounts with identity v3 and v2 data in yaml" 2015-04-16 14:28:02 +00:00
Richard Winters
f87059b8da Update linux client to support basic MTU testing
BP MTU selection and adervertisement requires sending pkts of known
sizes to verify MTU.  This patch allows basic MTU testing via the
linux_client

Change-Id: Ia98ad49bad9ebbf783de599689b4684d31fadca6
2015-04-15 20:15:54 +00:00
Jenkins
1370b7db6f Merge "Add new multi ssh configuration options" 2015-04-15 16:35:21 +00:00
Jenkins
faac59c798 Merge "Deprecates 'format' in Javelin image description" 2015-04-15 16:13:19 +00:00
Jenkins
796f59b12a Merge "Make this script work with keystone v2 and v3" 2015-04-14 16:22:19 +00:00
Matthew Treinish
f83f35c9e2
Add network support to the accounts providers
This commits adds support for specifying the network to use with a
user/tenant into the accounts.yaml file. You can only specify a single
network which will be the network used for all that requires a
pre-existing network. This also means regardless of which cred provider
is configured the fixed_network can assume a TestResource object will
be returned from a get_creds call. As part of this change a common
method to return the full network dict from a just a network name is
abstracted out into tempest.common.fixed_network module since this
same method is needed to have the accounts file provide a network by
name.

Partially-implements: bp test-accounts-continued
Change-Id: I6f5ac1239d18f2935847b385a08de608f40fdda5
2015-04-14 11:05:42 -04:00
Matthew Treinish
a47c3edc2d
Improve logging in fixed_networks
This commit makes some logging improvements to the common methods in
fixed_networks.py. Previously it was very difficult to trace through
any issues around network selection since it only would log the final
result and on failures. It also didn't attribute any messages to the
tests making the call. This fixes both issues by first leveraging
find_test_caller() from tempest-lib to get the test caller name and
secondly add more logging to help trace through the logic if something
fails. Additionally as part of this it was necessary to add additional
checks to the logic to ensure the logging was accurate and things were
in a known state.

Change-Id: Ifef67ed4578f48d7701635e7d81c144dc28b6120
2015-04-14 10:56:21 -04:00
Jenkins
dac1a8d4ef Merge "Fix external connectivity check for dualstack" 2015-04-14 10:26:08 +00:00
Andrea Frittoli (andreaf)
f39f9f31f2 FIx Accounts with identity v3 and v2 data in yaml
When tempest uses identity v3 - either because it's forced by a
test, or because it's configured as default, accounts can still
work with v2 accounts configured in accounts.yaml, under the
assumption that those accounts belong to
CONF.identity.admin_domain_name. The domain name is added on the
fly to newly created credentials by cred_provider, however this
is not accounted for in the get_hash function - fixing that.

Change-Id: Id0e72b9a8b85fdc682b9e14c39ecc1d8495ef35c
2015-04-13 20:55:31 +01:00
Joseph Lanoux
2f81cc1981 Add new multi ssh configuration options
This patch add new configuration options for the multiple strategies
for ssh access to VMs.

Partially implements: blueprint ssh-auth-strategy

Change-Id: I16cdbe0982aa35b752828054b6be2cae6c51c6ef
2015-04-13 13:54:36 +00:00
Ken'ichi Ohmichi
7e3ccd5341 Apply a naming rule of GET to messaging client
[GET /resources] methods should be "list_<resource name>s"
or "show_<resource name>", so this patch applies the rule
to messaging client.

Partially implements blueprint consistent-service-method-names

Change-Id: Ibae5f78b3dee12dbab5095872b8d868fbfec7f5d
2015-04-13 00:07:06 +00:00
Itzik Brown
beb30d3116 Adding port_admin_state_change option to config
Adding the ability to skip test_update_instance_port_admin_state
when this operation is not supported by the test environment.
Closes-Bug: 1436839

Change-Id: Icda251c46e2fefcc80b0c712d6f42d76a7d247b7
2015-04-12 09:41:43 +03:00
Jenkins
7c8fcc6734 Merge "Apply a naming rule of GET to orchestration client" 2015-04-10 20:53:43 +00:00
Jenkins
cc2befc531 Merge "Apply a naming rule of GET to volume client" 2015-04-10 20:52:10 +00:00
Andrew Boik
4a3daf1b59 Fix external connectivity check for dualstack
This patch modifies the _check_network_external_connectivity()
method in test_network_basic_ops such that it asserts there exists
one IPv4 subnet (instead of one subnet of any address family) and such
that it tests external connectivity to only the IPv4 subnet (in the
case of a dualstack external network).

The external connectivity test currently relies on SSH'ing to an
instance through its floating IP and pinging the external gateway IP.
To test IPv6 external connectivity, this test would have to be
modified to SSH to an instance's IPv6 GUA address and use the ping6
utility to ping the external IPv6 gateway address. That enhancement is
outside the scope of this patch and can be implemented in the future.

Change-Id: I0f9ea98cb84aa72cb1505fb9ff8ac61561cc1376
Closes-Bug: #1440226
Partially-implements: blueprint multiple-ipv6-prefixes
2015-04-10 13:29:48 -04:00
Jenkins
bf804da849 Merge "Remove EC2 test case that incompatible with Amazon" 2015-04-10 01:59:31 +00:00
Jenkins
c21afc0a42 Merge "Prevent failures when running as non-admin" 2015-04-09 16:09:16 +00:00
abhishek60014726
2b34ec3ff4 Test creation of server attached to created port
Add test to creation of server attachec to user created port
  - Create security group
  - Create network, subnet, router
  - Create port with security group
  - Call a function to create a server with port id
  - Check public network connectivity

Change-Id: I7aad651c5b1899d21f3c4b1c11d67b523ae6e727
2015-04-09 00:57:13 -07:00
Jenkins
8165079f99 Merge "Rearrange hypervisors response schemas into one file" 2015-04-08 21:19:20 +00:00
Jenkins
d61c949f07 Merge "Allows selection of floating IP pool in Javelin" 2015-04-08 20:47:37 +00:00
Jenkins
839567cc0b Merge "Skip test_volume_boot_pattern until bug 1439371 is fixed" 2015-04-08 20:43:36 +00:00
Jenkins
b9423e8d5a Merge "Fix fixed_network bug 1439634 - ipsec issue" 2015-04-08 20:40:13 +00:00
Jenkins
be86708fcf Merge "Make L3AgentSchedulerTestJSON DVR-aware" 2015-04-08 16:02:01 +00:00
David Kranz
799eee1254 Make this script work with keystone v2 and v3
Change-Id: Ic3871eeadd77945ff70f925892e25d36435075fd
2015-04-08 11:18:19 -04:00
Jenkins
2a80c59913 Merge "Remove Sahara CLI tests (migrated)" 2015-04-08 15:08:58 +00:00
Jenkins
f0f063967e Merge "Embed network resoruces and credentials in TestResources" 2015-04-08 04:45:00 +00:00
Jenkins
b3c96db970 Merge "Skip test_security_groups_basic_ops for vnic_type=direct of macvtap" 2015-04-08 04:44:50 +00:00
ghanshyam
ec470d5ae3 Rearrange hypervisors response schemas into one file
After removing v3 schemas, we have only 1 set of schemas for v2 (/v2.1)
APIs but those end up in scattered structure.

Schema files needs to be re arranged into a clean structure. Any
resource schema should be defined in single file for better readability.

This patch rearrange hypervisors response schema into one file and merge some
of common schema definition.

Partially implements blueprint rearrange-nova-response-schemas

Change-Id: I21b90b8410ea62a94f8f41ecf714e2158015c6d2
2015-04-08 10:51:39 +09:00
Jenkins
040fc6c6e7 Merge "Use network from get_tenant_network in scenario" 2015-04-08 00:04:26 +00:00
Jenkins
5ba2b0464a Merge "Use the catalog to discover available services instead of get_service" 2015-04-08 00:02:37 +00:00
Andrea Frittoli (andreaf)
9540dfd4d7 Embed network resoruces and credentials in TestResources
Define a new class TestResources which embeds credentials and
their network resources.
This makes it easier to obtain network resources for a set
of credentials in case of preprovisioned accounts.

Partially-implements: bp test-accounts-continued

Change-Id: Ie3d5e2471db7371e1109fd24a716e7c449843904
2015-04-07 22:53:27 +01:00
Jenkins
d007723ed8 Merge "Allows Javelin to specify Swift role" 2015-04-07 18:03:47 +00:00
Swaminathan Vasudevan
4f473a9f2f Make L3AgentSchedulerTestJSON DVR-aware
test_add_list_remove_router_on_l3_agent fails when testing with DVR
routers as distributed routers follow a different agent binding logic.

Due to this failure, performance improvements like e99f6e00 were reverted.
This called for a revision of the test case. This change ensures that,
when needed, the test provisions extra resources so that the binding logic
can be successful.

Closes-Bug: #1433349

Co-Authored-By: Armando Migliaccio <armamig@gmail.com>

Change-Id: I15bbf16fd4378c6431e9da8942d0968e7a012a91
2015-04-07 09:40:50 -07:00