Commit Graph

96 Commits

Author SHA1 Message Date
Andreas Jaeger 24d98abd3e Retire repository
Fuel (from openstack namespace) and fuel-ccp (in x namespace)
repositories are unused and ready to retire.

This change removes all content from the repository and adds the usual
README file to point out that the repository is retired following the
process from
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project

See also
http://lists.openstack.org/pipermail/openstack-discuss/2019-December/011647.html

Depends-On: https://review.opendev.org/699362
Change-Id: I658efd028f1b23bc21b327fc55d39a7fa5824ec1
2019-12-18 09:48:08 +01:00
Dmitry Mescheryakov ca43f60770 Add missing message parameter to LOG.exception call
Without the parameter call fails, see referenced bug for example.

Change-Id: Iaba6290ec92aabc8c9a0336dd3d6bf30de81ac3e
Closes-Bug: #1652281
2017-01-10 19:51:54 +04:00
Cao Xuan Hoang 876bee7572 Remove vim header from source files
trivialfix

Change-Id: I5d38c942354d3981ddb400be360c2a2350c5af7c
2016-09-27 15:18:53 +07:00
Cao Xuan Hoang 8520aeafd9 Clean imports in code
This patch set modifies lines which are importing objects
instead of modules. As per openstack import guide lines, user should
import modules in a file not objects.

http://docs.openstack.org/developer/hacking/#imports

Change-Id: I5b4bdcb674b58ab419d00ca9c6bff105ce19aca8
2016-09-07 13:28:38 +07:00
Alexey Stepanov a993603408 Use novaclient API instead of CLI for services check
Use novaclient API instead of CLI for services check
Closes-bug: #1615766

Change-Id: I691b434a54298b6ebeffa27470ed0fd354e06013
2016-09-05 07:53:35 +00:00
Jenkins 6b842b2cfb Merge "Replaces calls to traceback.format_exc()" 2016-04-28 11:13:15 +00:00
Matthew Mosesohn 1f9e4d7bd9 Run nova service-list only for online controllers
nova service-list only needs to report the status
of online controllers. Down and deleted nodes should
not cause the test to fail.

Change-Id: I56765f6cf889b6afb9780b32857a164e2b62c340
Related-Bug: #1570847
2016-04-21 12:01:06 +00:00
Anil Belur 2fc84886ce Replaces calls to traceback.format_exc()
* this change replaces occurrences of
`traceback.format_exc()` with the appropriate version of
`LOG.exception()` in fuel-ostf
* removes importing `traceback` module.
* incorporated review comments from fuel-dev team

Change-Id: I7055aeafdcb109bd3566f118379196ea6ca6037d
Closes-Bug: #1457397
Signed-off-by: Anil Belur <askb23@gmail.com>
2016-04-14 02:13:57 +00:00
Matthew Mosesohn 2bc719d43e Revert "Workaround for UCA known bug in nova service-list"
python-nova 13.0.0~b3-0ubuntu1~cloud0 no longer reports
incorrect services as being available and down.

This reverts commit 1bccfe65f6.

Change-Id: I51369ee54ae8519c266f577b4abb6767ba7e52d0
2016-03-14 12:21:50 +00:00
Matthew Mosesohn 1bccfe65f6 Workaround for UCA known bug in nova service-list
nova service-list shows osapi_compute and metadata
services as down, when these are APIs, not RPC receivers,
which should not be reported by this command. The bug is
fixed upstream and in Fuel, but not in UCA Trusty packages.

blueprint deploy-with-uca-packages

Change-Id: I632051fb77d713cd8584bba398486f70cb8901d5
2016-03-07 15:50:15 +00:00
vgusev 8f005134be Fix for test with nova services checking
Currently OSTF tests use deprecated nova-manage command to check
nova-service status. Result of nova-manage command is incorrect:
it contains services which aren't enabled. We should switch on
nova service-list usage.

Change-Id: Ie52d9f6014201be9d8d4221b1611465c840793c1
Closes-bug: #1544981
2016-02-12 16:46:54 +03:00
Jenkins 1a09c09ee7 Merge "Get dns servers from cluster attribute" 2015-05-05 14:27:26 +00:00
Kyrylo Romanenko 1574cdbd28 Changed timeout value in test_001_services_state test
Changed duration in test description.
Sometimes it tooks more time to update nova services state on slow environment.
120 seconds must be enough.
Closes-Bug: #1449995

Change-Id: I934ed7e1fddfb847d201913f8cea10c2a1fc943c
2015-04-29 15:10:50 +03:00
Tatyana Leontovich 4ef38db3f4 Get dns servers from cluster attribute
Change-Id: I835d339636a1efb757239b1330651c7318d07670
Closes-Bug: #1422672
2015-04-08 20:11:21 +03:00
Sebastian Kalinowski cbe0ea30d9 Added hacking checks to tox
Fixed all places where hacking rules (v0.7) was failing
Replaced ''' with """ to make them consistent

Change-Id: I9c1c20f910df696056d2a6a91c33ff7bad266b9f
Related-Bug: #1404892
Closes-Bug: #1408240
2015-01-19 12:36:14 +00:00
Ricardo Ferreira 7fc625e0a1 Update timeout for the various network health tests
Edited verify method definition here:
https://github.com/stackforge/fuel-ostf/blob/master/fuel_health/common/test_mixins.py#L175

Increased the values for the timeout in several places, as related to the bug description.

test_nova_create_instance_with_connectivity.
test_sanity_infraestructure.

Closes-Bug: #1339691
Change-Id: Id3ddda91766a2f494fe86bfadc6677cf1cc8f8e0
2014-11-17 11:16:27 +00:00
Aleksey Kasatkin 907f25f8fa Skip compute connectivity tests when public is absent on computes
Closes-Bug: #1272349

Change-Id: Icb83c646bbb64a95032944ee8e8f2a7a232db223
2014-08-20 17:24:54 +03:00
tdubyk 9c0454b219 Add parsing of hypervisor deployment tags
Patch include:
* Deployment tag qemu|kvm
  added in  the sanity.test_sanity_infastructure for
  tests: Check internet connectivity from a compute,
  Check DNS resolution on compute node. This give for us
  possibility not discover those tests in case if vcenter
  is set as hypervisor
* Add parsing of hypervisor
  date into fuel_plugin.ostf_adapter.mixin.py
* Add check for  libvrt_data
Change-Id: Idce25c31c0f001aa1a71fb790b912cddea6fb85b
Related: blueprint vcenter-hv-full-scale-support
2014-07-28 13:42:02 +03:00
Stepan Rogov 58e892e840 Added vcenter support for ostf tests.
Because in the configuration with vCenter compute node is missing, added:
1. Getting type of virtualization from cluster settings
2. Processing case when the type of virtualization is vmvare (not checked for no compute node available)
3. In test_sanity_infrastructure compute node has been replaced by a controller because
   for vmvare and neutron interaction occurs via controller node

Implements: blueprint vcenter-hv-full-scale-support
Change-Id: I4f74011de5548990f163f220632fbf4fe2ffa39e
2014-07-23 18:29:31 +03:00
Artem Roma 8a81da9ae3 Add skipping to some ostf tests
Now tests that are supposed to be skipped in certain circumstances are
skipping using unittest native mechanism instead of just failing. Also
in db such tests are marked by 'skipped' status.

Change-Id: Icca993c1f9541b235e36e1d737e5704d07661990
Closes-Bug: #1338667
2014-07-09 15:53:19 +03:00
Aleksey Kasatkin eab8d0f7ee Allow retry on ping probe fail
Ping retry was not run when ping command had finished with error code != 0.
It is fixed now. Number of packets to be received is decreased to 1.

Closes-Bug: #1322102

Change-Id: I5fe84387e8e23fb918da2d4cc0bb3e9cf0fe02f8
2014-06-18 20:13:40 +03:00
Tatyana Leontovich ab76323cdb 5.1 Permit infrastructure test only if node is online
Permit sanity infrastructure tests only if node is online

Change-Id: I174120b313fd907e2c41c85dc3cf57a2ea0f35bd
Related-Bug: #1323252
2014-05-27 14:37:50 +03:00
Aleksey Kasatkin baf2746d58 Increase the count of ping probes
It's allowed now to get at least 3 answers for no more than 10 requests.
Interval between connectivity checks is increaced (30 -> 60 sec).

Closes-Bug: #1322102

Change-Id: I0b227e3426c3d8b453986e6545829a11e125ce0b
2014-05-23 12:31:54 +03:00
Tatyana Leontovich 8573a97664 Correct fail message for sanity infra tests
Correct message in sanity infrastructure tests
In case if there is no compute nodes

Change-Id: Ib6f9e21c5bc3a1885a065005ba3807771f1550ee
Closes-Bug: #1288660
2014-03-24 15:46:18 +02:00
Tatyana Leontovich 3b2119be77 Increase test duration displaying in expected field
Retries for transport operation was added previously
So in this patch test Duration, displaying
in Expected column on HealthCheck UI page was increased

Change-Id: I5b64eac6770ea5bce6d9eef22912cdb9afd9fb44
2013-12-20 19:08:05 +02:00
Tatyana Leontovich 559f2fdb19 Add import of traceback lib, add usgae of format_exc
Add logging in debug mode with format_exc function

Change-Id: Ieb30ff76430b987d3c2ca4e6502acd110696b613
2013-12-06 18:27:24 +02:00
AnastasiiaNaboikina c2db9bfa32 Fix servers deletion, add refactoring
Change-Id: Ie566ab9b9d967aa87987239c2062381822fb0961
2013-12-03 18:12:29 +02:00
Jenkins 5384a92a4b Merge "Add retry for nova services check" 2013-12-02 19:10:08 +00:00
AnastasiiaNaboikina df544f3f1f Fix for instance connectivity checks
Change-Id: I1384e40404f5f22833975059c8ddee214a8a74a5
2013-12-02 18:40:07 +02:00
Vladimir Kuklin 291b03c938 Add retry for nova services check
Change-Id: Ia5c0fec7ed5c8cd1d467cf4290d656d4c1fdbe4f
2013-12-02 19:54:58 +04:00
Tatyana Leontovich 7811d7d40d Clean OSTF code
Delete uneccessary imports and attribute
Change client initialization for heat, murano and savanna
Delete unused glance clietn initialization

Change-Id: I2407d2bb1e0e52310f559ff3d8454207f21a7899
2013-10-30 13:25:01 +02:00
AnastasiiaNaboikina 3f28678609 Fixed reported review comments
Change-Id: I93bae33c664e9d4b7c0296f56858d70a4d674e2d
2013-10-24 10:46:08 +00:00
Mikhail Dubov c365de582e Easy OSTF launching based on file config
The presented patch provides several necessary lines of code that make it
possible to run the OSTF tests based on a config written in a file. All the
user has to do is to insert an instruction like

os.environ['CUSTOM_FUEL_CONFIG'] = 'path/to/config/file'

before the actual OSFT launch. Changing the FuelConfig() method
implementation as well as moving its call in the BaseTestCase class
into the setUpClass() method serves for this goal and ensures that
the config values will override the default ones.
2013-09-24 02:41:08 +04:00
Sergey Lyopka a85ac08d46 Review comments applied 2013-08-13 11:22:00 +03:00
Sergey Lyopka 705b4f684d Merge branch 'master' into prd-1334-instance-connectivity
Conflicts:
	fuel_health/tests/sanity/test_sanity_compute.py
	fuel_health/tests/sanity/test_sanity_infrastructure.py
2013-08-12 13:29:14 +03:00
Sergey Lyopka 5416384399 PRD-1334: removing debug info 2013-08-09 19:37:46 +03:00
Sergey Lyopka ca362f2a5b OSTF-1334: fixes after test execution on the labs 2013-08-09 18:50:43 +03:00
anaboikina bdd6a2da1b Fixed time expectations in all tests. 2013-08-09 16:48:39 +03:00
Sergey Lyopka 7fe559f5de PRD-1247:
* Typo fixed
  * Infrastructure tests were renamed to be executed in
    more native order
2013-08-08 13:22:16 +03:00
Sergey Lyopka 0542b9d6a6 PRD-1247 DNS availability test: split on two or rewrite steps
* DNS availability test has been splitted into two tests
  * constructions like len(<list>)>=0 were removed from
    sanity test set. Scenarios were updated accordingly
  * PEP8 issues were fixed in all the sanity tests
2013-08-08 12:50:32 +03:00
Sergey Lyopka 2f60b1003a Obsolete import removed 2013-08-08 12:06:58 +03:00
Sergey Lyopka 9fc1c883d5 Typo fixed 2013-08-08 12:06:58 +03:00
Sergey Lyopka 3716141348 Typo fixed 2013-08-08 12:06:58 +03:00
Sergey Lyopka 650df019c5 Minor fixes after test execution 2013-08-08 12:06:58 +03:00
Sergey Lyopka 66b335d8d2 OSTF-219:
1. Steps in infrastructure tests wre fixed
2. Infrastructure tests were changed to use error codes
3. PEP 8 issuses in sanity foldef fixed
2013-08-08 12:06:58 +03:00
Dmitry Borodaenko 7f1ea125b5 English language improvements in test descriptions and error messages 2013-08-05 15:24:51 -07:00
Tatyana Leontovich ba8fce73da Merge branch 'master' of github.com:Mirantis/fuel-ostf-tests
Conflicts:
	fuel_health/tests/smoke/test_create_volume.py
	fuel_health/tests/smoke/test_image_actions.py
	fuel_health/tests/smoke/test_nova_create_instance_with_connectivity.py
2013-08-02 20:23:06 +03:00
Tatyana Leontovich f5143abf11 Add skipp verification to setup 2013-08-02 20:06:22 +03:00
Anastasiia 6d8110b368 Merge pull request #61 from Mirantis/error-messages
Fixed review comments. Fixed found issues.
2013-08-02 08:55:09 -07:00
anaboikina 4ceccb66a3 Fixed issues that were found during negative testing. 2013-08-02 12:22:36 +03:00