6596 Commits

Author SHA1 Message Date
Jenkins
9ae9616d91 Merge "Updated from global requirements" 5 2015-06-26 08:08:25 +00:00
Jenkins
a96c9c2368 Merge "Added comment how to get list of network extensions in tempest.conf" 2015-06-26 07:34:09 +00:00
Jenkins
63e51066b0 Merge "Re-factor neutron client for 'create' methods" 2015-06-26 07:15:59 +00:00
ghanshyam
4d46033987 Re-factor neutron client for 'create' methods
Currently neutron client is written to auto generate
methods on fly. This is very difficult to debug and
make code very difficult to read.

As neutron client will be moved to lib, it will be better to
have its interfaces more readable and consistent with other
service clients.

This commit re-factor it for 'create_*' methods.

Change-Id: I77cec3cdb1bdf404fab6083c1417368bc8fb6cf5
2015-06-26 14:02:22 +09:00
Jenkins
b12cb81abb Merge "Apply a naming rule of GET to compute clients([ik])" 2015-06-26 04:59:09 +00:00
Jenkins
d6b9baeb47 Merge "Remove advanced services tests" 2015-06-26 01:41:01 +00:00
Ken'ichi Ohmichi
0943d9b0c3 Apply a naming rule of GET to compute clients([ik])
[GET /resources] methods should be "list_<resource name>s"
or "show_<resource name>", so this patch applies the rule
to compute clients which names are "[i-k]*".

Partially implements blueprint consistent-service-method-names

Change-Id: Ibf88309d7b013e805ced76b4ec88c22240e3ec50
2015-06-25 08:57:49 +00:00
Jenkins
de7412b021 Merge "Merge list_flavors_with_detail to list_flavors" 2015-06-25 06:17:35 +00:00
OpenStack Proposal Bot
74c4fe184e Updated from global requirements
Change-Id: I4ac3860e23651d03af1557279f081796d2ec7fa4
2015-06-24 20:45:34 +00:00
Jenkins
7c2118ba0f Merge "More javelin unit tests" 2015-06-24 15:53:49 +00:00
Alexander Gubanov
36e1f9b815 Added comment how to get list of network extensions in tempest.conf
Change-Id: I1f0d819e0f9a73d0477a3665a9e6fc4394f69f72
Closes-bug: #1428942
2015-06-24 17:17:59 +03:00
Jenkins
441d2cc917 Merge "Apply a naming rule of GET to compute clients(q*)" 2015-06-24 07:09:54 +00:00
Ken'ichi Ohmichi
3ecece8aad Fix the description in tempest.conf.sample
Ic2e5bd127c9f3a0f2807a25f29d8693baf3d65f2 of oslo.log has changed
the description of use_syslog, but current tempest.conf.sample does
not contain this change. As the result, the pep8 test continuously
fails on the gate now.
This patch fixes this description.

In addition, this patch adds fake body message to NotFound in
javelin test for avoiding the gate problem.

These gate problems happened at the same time, so this patch contains
mutiple purposes but that is necessary for fixing at the same time.

Closes-Bug: #1468141
Closes-Bug: #1468149
Change-Id: Iada215718651dc153b977008b376a956247ebc5d
2015-06-24 00:51:46 +00:00
OpenStack Proposal Bot
cfc3aff5de Updated from global requirements
Change-Id: I97e52fd9652df96de03d6d126026144731b87c70
2015-06-22 20:01:22 +00:00
Jenkins
1cfa1720e8 Merge "Provide a config option to customize remote shell command" 2015-06-22 14:21:53 +00:00
Jenkins
733eb0b531 Merge "re-enable glance notification tests" 2015-06-22 14:19:53 +00:00
Ken'ichi Ohmichi
9150968a8c Merge list_flavors_with_detail to list_flavors
Through consistent-service-method-names dev, list_<resources>_detail
methods are merged into list_<resources> method. But I forgot to do
it on I3fdfa1101b966015798a61aa6ba5acfdf4649831 .
This patch does it for consistent methods.

Partially implements blueprint consistent-service-method-names

Change-Id: Icb3404f18c24ff3a0ec1f34fde4f65811dce22a0
2015-06-22 08:35:51 +00:00
Ken'ichi Ohmichi
f9868fceb2 Apply a naming rule of GET to compute clients(q*)
[GET /resources] methods should be "list_<resource name>s"
or "show_<resource name>", so this patch applies the rule
to compute clients which names are "q*".

In addition, this patch removes unnecessary str() because
all callers specify string values and we need to pass py3
tests when migrating them into tempest-lib.

Partially implements blueprint consistent-service-method-names

Change-Id: Ifbb0a0bea4bfd1e94a054e1eafcc75e443ead1bb
2015-06-22 08:35:51 +00:00
Jenkins
352082ec9a Merge "Add a rule for blocking "-" from rand_name call" 2015-06-20 14:57:08 +00:00
Jenkins
4fcfe5ef51 Merge "Block additionalProperties on Nova API tests" 2015-06-19 09:20:43 +00:00
Ken'ichi Ohmichi
f0c30bc241 Block additionalProperties on Nova API tests
Now Nova team is allowing additional properties with microversions
only, that means Nova v2 and v2.1 should not contain additional
properties forever. In addition, we should not allow vender-specific
properties for OpenStack interoperability.
This patch disables additionalProperties for blocking such properties
for v2 and v2.1 API.

Change-Id: Ica929c402a3d042ae751302384e68853eb28b405
2015-06-19 04:48:53 +00:00
David Kranz
968f1b3a0b Provide a config option to customize remote shell command
Our remote ssh code makes all kinds of assumptions about the shell and
path of the guest. Recently some code was added to the command to generate
errors more promptly but it does not work if the shell is /bin/sh. This
commit allows the user to configure tempest with a desired prologue to handle
this case. It does nothing to solve the more general problem and, like the
other image-related options, cannot be customized individually for various
images that tempest may use.

Debug logging of remote commands was also added.

Change-Id: I669dd4386ffb539dad88a9487bef6c172b5d65fa
Closes-Bug: #1465682
2015-06-18 16:58:18 -04:00
Joseph Lanoux
b3e1f87c29 Add create_test_server function
This change adds a common create_test_server function including the new ssh
configuration parameters.

Partially implements: blueprint ssh-auth-strategy

Change-Id: Idb8a9b1fd9d933ab1fe7c99f7cd4dea41b22038a
2015-06-18 15:41:21 +00:00
Jenkins
8fc9dd2af4 Merge "Fix no attribute 'is_dvr_router' error in test_l3_agent_scheduler" 2015-06-18 14:33:01 +00:00
fumihiko kakuma
077e01ff23 Fix no attribute 'is_dvr_router' error in test_l3_agent_scheduler
cls.is_dvr_router attribute is invalid in the case which result of the
is_extension_enabled() called in resource_setup() is false.
This patch fixes it.

Closes-bug: #1465623
Change-Id: If3e9f80991b2675b4700c7cdc80b5689b444d40b
2015-06-18 09:57:28 +09:00
Ken'ichi Ohmichi
80369a96a2 Add a rule for blocking "-" from rand_name call
data_utils.rand_name() appends randam charactors with a hypen like:

 def rand_name(name=''):
     randbits = str(random.randint(1, 0x7fffffff))
     if name:
         return name + '-' + randbits

So it is not necessary to specify a hypen in caller side.
This patch adds a hacking rule for blocking "-" at the end of argument
of rand_name() calls.

Change-Id: I9b9f25dbe5a3ef5ac5900113bcc46e0d911becc9
2015-06-18 00:41:22 +00:00
gord chung
e10a3e4329 re-enable glance notification tests
introduced in Id049b6cb8ab3092c50f35894cf5a6bda7ff04617 and
disabled by I763212bad849980bea7fdb96384a5fba7889cce7

improvements to sql backend were made in Juno (see bug)

this patch re-enables the tests and makes a modification to the
expected list of meters (some of original meters are deprecated)

Change-Id: Ia87c120c50d8edf55da3d4b9d748c0680e25a97b
Related-Bug: #1351627
2015-06-17 15:56:32 -04:00
Jane Zadorozhna
98f62ee806 Made a several-seconds checking&waiting for object to be deleted
There is a bug https://bugs.launchpad.net/tempest/+bug/1452915
that describes failing test_get_object_after_expiry_time test
because in real clouds hardcoded 3 seconds waiting for the
container is not enough. Replaced hardcoded 3 seconds with the
checking and waiting in a loop for object to be deleted.

Change-Id: If90d9ef047344e2e094aa1b143c93c9fa4b56fbd
Closes-Bug: #1452915
2015-06-17 13:20:45 +03:00
Ken'ichi Ohmichi
b93e67690c Remove key 'absolute' from limits client
limits client should be just for getting a resource "limits",
it is not necessary to specify key 'absolute' at all as the library
method.
In addition, this patch removes get_specific_absolute_limit because
the method was just wrapper. That should be implemented on test side.

Change-Id: I5c0ffc136939d0aeb8574c180353715f2a0e2665
2015-06-16 23:38:11 +00:00
Jenkins
c2230b62f0 Merge "Apply a naming rule of GET to compute clients(n*)" 2015-06-16 21:10:19 +00:00
Jenkins
97be6211c0 Merge "Separate quota_classes client from quotas client" 2015-06-16 09:17:40 +00:00
Jenkins
7ebf503a9b Merge "Add passenv option to tox.ini" 2015-06-15 22:08:24 +00:00
Joe H. Rahme
94fd9699f8 More javelin unit tests
Improving test coverage of Javelin by covering more resources:

* routers: create/destroy
* secgroups: create/destroy
* subnets: destroy

Change-Id: Iccc827c6a50ea79de26cc0e8e00d83fe2498c858
2015-06-15 17:22:00 +02:00
Ken'ichi Ohmichi
46f574e74e Apply a naming rule of GET to compute clients(n*)
[GET /resources] methods should be "list_<resource name>s"
or "show_<resource name>", so this patch applies the rule
to compute clients which name is "networks".

In addition, this patch moves "name" filter of list_networks
to caller side because this filter is used at one place.

Partially implements blueprint consistent-service-method-names

Change-Id: Ic2f7b8a2724035f0b2cd9def13cd7f7fc1e9924d
2015-06-15 15:01:16 +00:00
Ken'ichi Ohmichi
a89dd6bcd0 Separate quota_classes client from quotas client
Each resource should be implemented in each separated module.
quota_classes and quotas are different resources like
  os-quota-class-sets
  os-quota-sets
So this patch separates quota_classes client from quotas client.

Partially implements blueprint consistent-service-method-names

Change-Id: Icd98294c7a161f5c8c1d7202df9f3e6d9daee1d9
2015-06-15 15:01:16 +00:00
Jenkins
423b9d6045 Merge "More Javelin Unit tests" 2015-06-15 14:56:34 +00:00
Jenkins
489f5e6278 Merge "Add router to resources section of yaml output" 2015-06-15 10:10:31 +00:00
Jenkins
5789461ed2 Merge "Remove error handling of list_networks" 2015-06-15 08:31:11 +00:00
Jenkins
08eb6c919d Merge "Apply a naming rule of GET to compute clients(l*)" 2015-06-15 07:48:22 +00:00
Jenkins
87a76a099c Merge "Apply a naming rule of GET to compute clients(h*)" 2015-06-15 07:02:16 +00:00
Jenkins
bc2dd22293 Merge "Apply other "get" rule of GET to image v2 client" 2015-06-15 05:56:00 +00:00
Ken'ichi Ohmichi
b2d57dd60a Remove error handling of list_networks
list_networks() of compute network client is implemented like:
  if name:
      networks = [n for n in body['networks'] if n['label'] == name]
So if the network of the specified name don't exist, the return value
is an empty dict. lib_exc.NotFound never happens.
This patch removes lib_exc.NotFound handling.

Change-Id: I8a48d31b6e9b932729d2156cf08669a1970d0b5b
2015-06-15 05:32:08 +00:00
Ken'ichi Ohmichi
354338da0a Apply a naming rule of GET to compute clients(l*)
[GET /resources] methods should be "list_<resource name>s"
or "show_<resource name>", so this patch applies the rule
to compute clients which name is "limits".

Partially implements blueprint consistent-service-method-names

Change-Id: Ibe30d01057936cea68f38984064dff107cdcbe5c
2015-06-15 04:14:44 +00:00
Ken'ichi Ohmichi
394e6e42ab Apply a naming rule of GET to compute clients(h*)
[GET /resources] methods should be "list_<resource name>s"
or "show_<resource name>", so this patch applies the rule
to compute clients which names are "h*".

Partially implements blueprint consistent-service-method-names

Change-Id: Id2346a6c65cd931b8876d6597fbb82361d1f5839
2015-06-15 02:43:05 +00:00
Jenkins
9b8ced51aa Merge "Neutron: Remove get_namespace from API extensions" 2015-06-12 20:56:19 +00:00
Jenkins
91d957cd7a Merge "Updated from global requirements" 2015-06-12 20:46:06 +00:00
Doug Wiegley
9d69317c31 Remove advanced services tests
- lbaas tests are now in neutron-lbaas

I2790239b8cd361bc4ac7905b4118f34648b97840
Ie4679b7131f29f33a18db4b5070add50563a0af9
I77a9038b81f01f9d85f20d4e2ad5cbe182a86da3

- fw/vpn tests are now in neutron api tests

Ie90671fbfe2f633e851da82728e152482133fd87

Change-Id: I3a8660838c1af2baefe21bbc57b006c9889ac35a
2015-06-12 11:19:26 -06:00
Jenkins
4209ecfa60 Merge "Fix L3AgentSchedulerTestJSON failure for dvr routers" 2015-06-11 12:54:18 +00:00
OpenStack Proposal Bot
ac095b44c6 Updated from global requirements
Change-Id: I1e5cac11417dc991d55cbfe2bd9d916392fe0062
2015-06-11 12:41:19 +00:00
Jenkins
8f8ffa9993 Merge "Provides a sample resourcefile for Javelin" 2015-06-11 11:25:39 +00:00