Not all hypervisors support getting serial console logs. This adds
a new compute feature flag. It skips tests that stress this call and
avoids logging console logs to debug if it is not supported.
Change-Id: Icc37e9f3497fb7bd72f359197663c71abbf16921
Dynamic attachment of network interfaces is not currently a supported feature
in the baremetal case. This adds feature flag to skip related API tests.
Change-Id: Ia09e84d7acfcd7291b3c9b58bc163603d6a0fb34
This commit adds a new credential provider to use credentials provided
from a list of available credentials.
Partially implements bp test-accounts
Change-Id: I69c3105f8b413102ea567ccb92965572ce03d679
test.is_extension_enabled() is not checking if
config_dict[service] list is empty
Added a check if config_dict[service] is empty the
function will return False which means no extensions
are enabled
Change-Id: I2ee64f205c393637b5fc65897f1489292781c0be
Closes-Bug: 1342516
Shelving/unshelving is not supported across all drivers (e.g., Ironic).
This adds a new compute feature flag and skips tests where this function
is performed.
Change-Id: Ib94b479db2b691e73c6121c17cb47ae1c25636a8
The oslo log fix to actually print out CRITICAL exceptions
is needed to debug tempest/javelin2 in any real way.
Change-Id: I5a91cff829fec268ebf9c01a5fe84225e4fe72d1
test_list_drivers and test_show_driver in test_drivers.py use hard_coded
driver name.
This patch make these tests use driver name which is written in config file.
Closes-Bug: #1317717
Change-Id: Idad4c496a42c9253548fdf9020ffb8013fef951f
This adds a new feature flag to toggle whether rescue mode is supported by
the hypervisor and skips rescue tests accordingly. The feature is enabled by
default.
Change-Id: I4dabe663a177aac853ea0e6f4b58b28da890be71
Closes-bug: #1331870.
This commit switches the default value for the nova v3 api config
option from true to false. This changes the default behavior to not
run the Nova v3 API tests. This is because the v3 is still marked as
experimental and is able to change in a non-backwards compatible way
which will cause issues when running with branchless tempest.
Additionally, the nova team decided not to do a standalone v3 api so
at some point this will disappear and instead become v2.1 of the api
with microversions. When you couple this with the fact that tempest's
gate budget is basically exhausted (tests shouldn't take over an hour
to run in the gate) this should be defaulted off. For more discussion
see:
http://lists.openstack.org/pipermail/openstack-dev/2014-June/037370.html
Change-Id: I13dbc4b433a0f6defbeebce958b2e1cbcf64ba7a
The hard coded cidr used by heat neutron scenario,
was overlapping with the host systems cidr.
Because the neutron scenario does not used his own router,
it also caused issue for the cfn init scenario.
* The neutron scenario will use the first configured cidr
* The neutron scenario will use his own router
* The neutron scenario will retry singaling the heat-cfn-api,
because if neutron is overload and the vm boot is fast and we
do not wait even for the meta data api service connectivity (enabled
config drive), the signal could be sent in a wrong time when
the L3 connectivity is not ready, but the L2 is.
* Let neutron decide the allocation_pools (simplification)
* Using comma_delimited_list for passing not hard coded dns servers
to the stack
Change-Id: I06bd197b0f6c012a1416016a40f29ddd080b21b9
Partial-Bug: #1297560
This patch adds the test for following Nova V2 APIs-
- Create Floating Ips bulk
- Delete Floating Ips bulk
- List Floating Ips bulk
This patch also adds the config option for unallocated
Floating IP Range
Change-Id: I6af52bb2ce2caadf8491740097df71d041643e78
Increases the default timeouts for baremetal nodes to complete
certain state transitions. This is required so Ironic can gain
support for waiting on external events (eg, neutron port updates)
at various times during a node's lifecycle.
Change-Id: If037ebd903bd64a6bcf3e925f38709a4d74bf353
On Nova API, we can see two names for each API extension. The one is
"Name", the other is "Alias". The "Name" is represented with camelcase
and the "Alias" is done with characters and hyphens:
$ nova list-extensions
+--------------+-----------------------+------------------+---------+
| Name | Summary | Alias | Updated |
+--------------+-----------------------+------------------+---------+
| AdminActions | Enable admin-only ... | os-admin-actions | ... |
| Agents | Agents support. | os-agents | ... |
| ConsoleOutput| Console log output... | os-console-output| ... |
| Consoles | Interactive Console.. | os-consoles | ... |
In Tempest, we can select API extensions what we test and it should be
based on "Alias", because on Nova side we have been a lot stricter about
format/uniqueness for the alias which is seen as the canonical name.
This patch clarifies it.
Change-Id: I3e753c81182af83e01ad3a1f2eb9782c8abb6f50
This commit removes the weird default values for the image_ref option.
The IMAGE_ID defaults were probably a hold away from when they were
set in env from an early version of tempest. This sets no default and
lists them as required opts in the help field.
Change-Id: Iaeff5ff2278b0076306ed2cbfe592c06cfbbe316
10s build interval is really long, and not very sensible. Setting
to 1s should speed things up a lot.
Change-Id: If8332d4be8515ac574cbbf4e00cbe0a75b6ebc5d
Add smoke tests that check the existence of queues.
Add test that checks list queues.
Add test that gets queue statistics.
Add test that sets and gets queue metadata.
Tests for List Queues and Queue Stats use JSON Schema
validation.
Change-Id: I084d1ae0de4a729a913a7084f14c0d3172af29d3
Implements: blueprint add-basic-marconi-tests
Added a new file "test_versions.py" to verify the current
version of the Database API. Required supporting
functions are added in a new client file "versions_client.py"
under the JSON interface.
Modified api/base.py, etc/tempest.conf.sample, clients.py and
config.py files
Partially implements blueprint: trove-tempest
Change-Id: I3dbe4e40b8b2a1ec3c69573dd40c3c8a643d73d6
Extend the Credentials class hierarchy to include keystone v3
Credentials. Extend unit tests accordingly.
Extend credentials configurations parameters to include domain.
Partially implements: bp multi-keystone-api-version-tests
Change-Id: I4c7f21f769a20ab45c0f9672ebaa738b146cf6a0
This patch adds Nova V3 API Test to get the Spice and RDP
console of a server
Partially implements blueprint nova-v3-api-tests
Change-Id: I9560983c29398f9479e4139ef2f096902c3eae66
This is the first part of the patch series which
implements multiple ssh instance validation strategy.
This patch adds the new config options and have the effected
test classes to prepare the basic neutron resources for usage.
The default is using the fixed ips for connection, but
on the devstack side the configuration options are configured,
for neutron usage.
Change-Id: Ic5fc9bd1f7407d3430fcd33b03a226deed696d57
Implements: blueprint ssh-auth-strategy
This commit ups the default stack build timeout from 600 to 1200.
The stack frequently can take longer than 600 secs to build so
doubling it should give us a safe margin.
Related-Bug: #1297560
Change-Id: I3b13a225793d42e2fa9f4871b2fe81c745954c56
1. Provide a "volume_size" config at VolumeGroup
2. Make size as optional prameter, modify all volumes_client to
read the size from CONf if size is None.
3. Modify the testcase: test_volume_create_get_update
_delete_from_image to call create_volume with no size
parameter specified.
Change-Id: I2897f6d6bd970f73867f56d9d23a768cafcbfd80
Closes-Bug: #1293885
this supports the use case that David Kranz has in tracing
specific tests for test development. Because this is expected to
be development only, and not used in a general case, we don't do
all the md5 niceties of the previous code.
Change-Id: Ia9c7a7d10456d0583f8897111b958050c8e95ed7
Adds an Ironic scenario test that validates a full instance
boot using Ironic. In addition to verifying the Nova instance
boots and has connectivity, it monitors power and state transitions
on the Ironic side. It currently validates orchestration of the pxe_ssh
driver but the goal would be to support other drivers, and test them
conditionally based on the driver associated with the configured Ironic
node.
Change-Id: I7a98ab9c771fe17387dfb591df5a40d27194a5c8
Add test_limits check that heat rejects stacks with more than
the allowed maximum number of resources
Change-Id: I84eaf11b88f36b79221a99b87c5beb98f121c6e4