11651 Commits

Author SHA1 Message Date
Zuul
e8bd7db76e Merge "Add Networks client unit tests" 2017-11-30 15:23:27 +00:00
Zuul
bec1aa02ab Merge "Add some verify in test_create_ebs_image_and_check_boot" 2017-11-30 14:27:50 +00:00
Zuul
b957a9e84b Merge "Use addClassResourceCleanup in test_list_projects" 2017-11-30 14:27:48 +00:00
Zuul
4fe6c8a356 Merge "Move wait_for_interface_status into _check_interface" 2017-11-30 07:07:37 +00:00
Zuul
c040528a19 Merge "Updated from global requirements" 2017-11-29 23:00:30 +00:00
Trevor McCasland
1c008c5121 Use addClassResourceCleanup in test_list_projects
Replaces resource_cleanup with addClassResourceCleanup in
test_list_projects.

cls.projects was used only for resource_cleanup so that is
removed too. cls.project_ids is used in the tests.

Change-Id: Ia585d42b9d140b18e72871b7ce2ba833a64347af
2017-11-29 13:34:51 -06:00
jeremy.zhang
0648215f58 Remove deprecated skip_unless_attr decorator
This patch aims to remove 'skip_unless_attr' decorator, which marked as
deprecated and would be removed in Queens.

Change-Id: I33fb4466df2747fdbbf023373e53079a99a4d2c2
2017-11-29 14:37:04 +00:00
OpenStack Proposal Bot
26cd92b43d Updated from global requirements
Change-Id: I1671fd5cf37bf015e1c0089fd086308da99c73b3
2017-11-29 09:24:14 +00:00
lianghao
1635334c61 Move wait_for_interface_status into _check_interface
1.Move wait_for_interface_status into _check_interface.

2.In the case of test_reassign_port_between_servers, before check
iface['port_id'] and delete_interface, it is better to wait for the
status of port reach to active.

Change-Id: I9e185543da91d159709a2b773bab3945f4e79947
2017-11-29 16:44:47 +08:00
Zuul
e12d98aacf Merge "Fix verbose grammar" 2017-11-29 06:46:47 +00:00
Zuul
3df36ad64e Merge "Remove a redundant self argument in decorators" 2017-11-28 20:55:51 +00:00
mmkmmk57
7295698fde Fix verbose grammar
Fix verbose grammar about "import as."

Change-Id: If7841e177c47b00a52fd4638a21295e14ebc110f
2017-11-28 20:48:00 +00:00
Zuul
dd3bd291e6 Merge "Add the verify of network_id in _test_create_interface_by_port_id" 2017-11-28 05:28:43 +00:00
Zuul
6154e314fb Merge "Change Conflict's error message" 2017-11-27 15:43:49 +00:00
Zuul
13ad363a24 Merge "Use addClassResourceCleanup to cleanup floatingips" 2017-11-27 10:08:54 +00:00
lkuchlan
b599242a28 Use service tagging 'decorators'
The test 'test_extend_attached_volume' makes api call to
nova which is differ from the parent directory name(volume).

Change-Id: I68962bf7a04fcb73412c94700c8301d170b3b1a3
2017-11-26 16:49:18 +02:00
lianghao
b61314dec0 Add the verify of network_id in _test_create_interface_by_port_id
When create interface by port_id,
not only iface['port_id'] is equal to port_id,
but also iface['net_id'] should be same with network_id.

I think only check iface['port_id'] is not enough.

Change-Id: I82b53a996e8a3c1945fd16a7cf10ee85850be60d
2017-11-24 16:42:36 +08:00
Zuul
6e3b0b0d95 Merge "test_mtu_sized_frames: sanity check connectivity first" 2017-11-23 16:58:45 +00:00
zhufl
f312f1506d Change Conflict's error message
Conflict exception's error message is sometimes misleading,
e.g.,

<class 'tempest.lib.exceptions.Conflict'>,
An object with that identifier already exists
Details: {u'message':
            u'Unable to complete operation on subnet
              98575cac-0a2f-4214-8dea-50c62d31e736:
            One or more ports have an IP allocation from this subnet.',
            u'type': u'SubnetInUse', u'detail': u''}

according to https://tools.ietf.org/html/rfc7231#section-6.5.8,
"The 409 (Conflict) status code indicates that the request could not
be completed due to a conflict with the current state of the target
resource", so this is to change the error message to
"Conflict with state of target resource".

Change-Id: Icc118ec67f05cc7640e2b5f12162547ae5c3dae5
2017-11-23 16:51:37 +08:00
lkuchlan
f5c190535e Remove a redundant self argument in decorators
The wrapper function takes *func_args and **kwargs,
therefore, "self" argument is redundant.

Change-Id: Ibbe7acfe4cb91d4f1b26d96dbc5088a4720a2b56
2017-11-23 09:42:24 +02:00
Zuul
6d33d9f86c Merge "Add docs for running a single test" 2017-11-23 00:24:52 +00:00
Zuul
0e7ebb5ad1 Merge "Don't check console output if not available" 2017-11-22 21:59:46 +00:00
junboli
9e25a57ebe Add docs for running a single test
Add docs to elaborate on running a single test, running
all test in a file or use regular expressions to run any
matching tests.

Change-Id: I78f3a24e01b0f5e36c6edd76cc0579ba1e4f06cb
2017-11-23 00:06:10 +08:00
zhufl
437e31e266 Use addClassResourceCleanup to cleanup floatingips
This is to use addClassResourceCleanup for the cleanup of floatingips,
so the cleanup in resource_cleanup can be removed.

Change-Id: If8fdf2278b1b70f94816c4fe1a78566c8ac999a5
2017-11-22 13:34:40 +08:00
Eric Fried
b3eab67390 Fix a pointer to NotFound exception
Noticed an error in a run like this:

 Captured traceback-1:
 ~~~~~~~~~~~~~~~~~~~~~
     Traceback (most recent call last):
       File "tempest/api/compute/base.py", line 437, in _detach_volume
         except exceptions.NotFound:
     AttributeError: 'module' object has no attribute 'NotFound'

This exception was moved (I guess) but this spot was missed.

Closes-Bug: #1733674

Change-Id: Ia61eafe58ffc9658f70a8867c7729555a4e1d91c
2017-11-21 18:48:27 +00:00
Zuul
9bd78bcd65 Merge "Add role to build the stackviz report" 17.2.0 2017-11-21 10:57:21 +00:00
lianghao
2e0ee04bf1 Add some verify in test_create_ebs_image_and_check_boot
When boot instance from EBS image,add some verify to
make sure the server was created from the image.

Change-Id: Ibf4fa2df311468a07ab0aa7be4245f1c480f3d8e
2017-11-21 12:34:26 +08:00
Zuul
87adf8d84f Merge "Process test results from a tempest run" 2017-11-21 04:12:38 +00:00
Evgeny Antyshev
cc40091d03 Don't check console output if not available
As it is in case of Virtuozzo container virtualization
Verify instance's ssh connectivity if available

Change-Id: I8d3bf871711c1186a10728c7fa53a1c089634cd9
2017-11-20 14:50:00 +00:00
Zuul
ce5f6094a1 Merge "Use zuul v3 for running tempest plugin sanity check" 2017-11-20 14:11:37 +00:00
Zuul
b754942534 Merge "Modify the help message for getting identity extensions" 2017-11-20 14:11:34 +00:00
Zuul
11f1558981 Merge "Remove unnecessary argument in "skip_because" decorator" 2017-11-20 14:04:10 +00:00
Zuul
a86585de84 Merge "Fix indentation in docs" 2017-11-20 12:40:33 +00:00
Chandan Kumar
cf576b2af6 Use zuul v3 for running tempest plugin sanity check
Create a zuulv3 native job to replace the existing legacy tempest plugin
sanity check. The tempest plugin sanity script has been modified to fail
if at least one of the plugins failed.

Related fixed in plugins:
* Id08618a497b0f9205680a97d31600481b92eab08
* I3de3d6c6928d31af9c2deeba800b201bb681ac4e

Change-Id: I2bd52892b05d5c4044e11a34b2ca150dd2445c07
2017-11-20 10:36:13 +00:00
Zuul
a115314d11 Merge "run-tempest role: new tempest_test_regex variable" 2017-11-20 09:37:01 +00:00
Zuul
52c2358727 Merge "Add post step to Tempest base job" 2017-11-20 09:36:59 +00:00
Masayuki Igawa
b78b923e5a Fix indentation in docs
This commit fixes indentation in tempest docs. These indentations are
not necessary and it causes a weird html outputs.

Change-Id: I9c8714558a3327b7ad0b0ab0d3fdc7e770c3c75b
2017-11-20 07:39:09 +00:00
Zuul
0f7071b948 Merge "Edit documentation for account-generator" 2017-11-18 15:36:55 +00:00
Andrea Frittoli (andreaf)
e4fdd2fece Add role to build the stackviz report
Add a role to build the stackviz report and include it in the
tempest post play.

Change-Id: I085460fc7a4fe6baee2d85c8ab3ea3a2128ea54d
2017-11-18 10:16:12 +00:00
Zuul
45e4c45209 Merge "Use get_tenant_network in get_server_ip" 2017-11-18 08:25:50 +00:00
Zuul
12c20f6e8f Merge "test_network_v6: log console when test fails" 2017-11-18 02:17:11 +00:00
Zuul
75a7a96fdb Merge "Updated from global requirements" 2017-11-17 07:30:16 +00:00
Zuul
10d9e73349 Merge "Remove setting of version/release from releasenotes" 2017-11-17 06:40:06 +00:00
Zuul
d7f39ba7d7 Merge "Use addClassResourceCleanup in BaseImageTest" 2017-11-17 05:31:54 +00:00
Zuul
3e779242a5 Merge "Stop using resource_cleanup in identity_v2 tests" 2017-11-17 04:55:16 +00:00
Zuul
73ec48f4c4 Merge "Use addClassResourceCleanup to clear domains" 2017-11-17 04:55:15 +00:00
Zuul
3440d854f6 Merge "Fix volume v1 api ref links" 2017-11-17 04:55:13 +00:00
Zuul
585b48d642 Merge "Update URL from "http" to "https"" 2017-11-17 03:07:16 +00:00
Ihar Hrachyshka
f9fda2d4db test_network_v6: log console when test fails
Console may help debugging failures when they happen. For example, if an
IP address was not configured for an instance, console output may reveal
that dhcp client failed to get the lease in due time.

Also log failed ip address output.

Change-Id: I7189c6d261c4d8b74aee23f360becc1171d17501
2017-11-16 21:39:48 +00:00
Andreas Jaeger
a12e8daff8 Remove setting of version/release from releasenotes
Release notes are version independent, so remove version/release
values. We've found that projects now require the service package
to be installed in order to build release notes, and this is entirely
due to the current convention of pulling in the version information.

Release notes should not need installation in order to build, so this
unnecessary version setting needs to be removed.

This is needed for new release notes publishing, see
I56909152975f731a9d2c21b2825b972195e48ee8 and the discussion starting
at
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html
.

Change-Id: I87a073ba9d61a4817aff0c57cd31c143a2c16259
2017-11-16 22:30:56 +01:00