Commit Graph

79 Commits

Author SHA1 Message Date
Andreas Jaeger 08db3ad05f 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: I37b6a82c9c3c3893bb4b9b6a4c4b5a83a6d8193c
2019-12-18 09:50:01 +01:00
Dmitry Belyaninov 396a3d534f Disable Murano tests
Exclude murano and ceilometer roles from cluster.

Change-Id: Ib46dcbdd2a1b2806f438432af4dd758dfff3a549
Closes-Bug: 1671381
2017-03-28 08:09:11 +00:00
Alexey Stepanov f15352b934 update_node_networks: fuelweb_admin network is set directly
update_node_networks: fuelweb_admin network is set directly
Automatic substitution is not supported ant it was a reason
for tests failure on the fuel-devops 3

Change-Id: Ia7dcee574c3146a870cd317dd991566af7eaefbe
2016-09-28 11:44:04 +03:00
Maksym Strukov a9f7166199 Remove check_fuel_snapshot decorator
Change-Id: I649bb924a73549da1ba1bbc239e0bb075706beaf
Closes-Bug: #1619414
2016-09-14 23:53:34 +03:00
Alexey Stepanov dca635ef0a ha one controller tests: make unicode
Use repr in logwrap
make unicode strings ha one controller tests
get_cluster_block_devices -> make unicode output
  (method used 1 times in single test)

Change-Id: Ia72f57b6be13c66edfcb4512f99f01f11da20f13
Closes-bug: #1620330
(cherry picked from commit 5fb4f5d)
2016-09-06 12:41:54 +03:00
Anton Studenov ed18a79a06 Add timeout_msg values in fuelweb_test/tests
- removed redundant try/except/assert

Change-Id: Ic83e5e3333f7f8ad14f2e4ba7779b174b2585802
2016-07-21 15:53:34 +03:00
Alexey Stepanov 92006f3204 Replace custom HTTPClient by standard keystoneauth1 session
1. Use keystoneauth1 for making session
2. Nailgun/OSTF client uses keystoneauth1 session
3. Drop HTTPClient
4. Support NailgunClient construction by providing session
5. Requests has on-demand authorization and re-authorization
    by keystoneauth1.

Pros:
* interface unification, after implementation of bugfix fr 1581024
  we could transparently switch the most methods
  from our implmentation to python-fuelclient implementation.
* Less decorators magic (@jsonparse is not required)

Blueprint: python-fuel-client-in-system-tests
Change-Id: Idc0c0b3b0039f64d852ea1a08e02a9c3ecd65c46
2016-07-11 14:06:16 +03:00
Dmitry Tyzhnenko 4e11179097 Migrate group thread_1 to pytest scope
Implements blueprint migrate-fuel-qa-from-proboscis-nose-frameworks

Change-Id: I23231967b722dc8c1fe2cf2faa303f8c4a9df871
2016-06-02 13:14:06 +03:00
Alexandr Kostrikov 8778c6b2cc Add retries on mirror creation
Fuel-mirror can download files which it failed
to download in previous attempts.
Re-run will simply try to download absent files.

Change-Id: I54e5bbd2bac4904f6b8c1e3ce8392e170e60a1f2
Closes-bug: #1565857
2016-05-10 16:43:45 +03:00
Jenkins 55f5b608cf Merge "Revert "Disable Murano tests"" 2016-04-26 08:43:59 +00:00
Victor Ryzhenkin 86b0990fba Revert "Disable Murano tests"
This reverts commit bc16aa02b0.

Murano still available out of the box and we need to test it.

Closes-Bug: #1572975
Change-Id: I2566566c5124a76e4bfff232d20a8516f45ffac2
2016-04-21 11:23:45 +00:00
Jenkins 4287a4e354 Merge "Add decorator to check snapshot logs" 2016-04-06 04:43:23 +00:00
asledzinskiy 78ca9eb56e Add decorator to check snapshot logs
- Add check on snapshot logs for master, controller, compute
- Add decorator with checking snapshot logs to
deploy_multirole_controller_cinder test

Change-Id: I5507908b73e8d464adbcd42220e93d8fc9f62e9a
Closes-Bug: #1541779
2016-04-05 17:40:28 +03:00
Mikhail Samoylov 62ba3b4bc8 Fix checks for base_os role test.
Modified method for getting role of node from "readlink" to "hiera roles".

Closes bug: 1564798

Change-Id: I9e1d52f9a04953ca55dd33e4374e910baaabc597
2016-04-04 18:10:33 +03:00
Egor Kotko 811fe0c7bb Fix output of HDD size
Fix output of HDD size
in check_nodes_notifications test

Change-Id: I0eb9a23d67f8659e6ed3b7af5e557bd434eaf742
Closes-bug: #1561687
2016-03-29 15:11:21 +02:00
Alexey Stepanov 8dc43aadea Revert fix for bug 1561687
Bug is temporary required
Related-bug: #1561687

Change-Id: I5de0901d2269935275a33b521e10bb19be291c5b
2016-03-28 15:27:33 +03:00
Alexey Stepanov a3775ffb6d Fix mistype in pylint ignore block
Fix mistype in pylint ignore block
(+3 warnings was produced by this mistype)

Change-Id: Ie9ad7270d2026a8eba450cd0525a785fdf9417c3
Related-bug: #1561687
2016-03-28 08:06:20 +00:00
Alexey Stepanov 066eb35d7e Fix assertion text and disk size info
1. Made human readable assertion text.
2. Disk size is rounded to point 3 digits.

Change-Id: I2e7d9c313cfe94839a77700df84a606de626b530
Closes-bug: #1561687
2016-03-25 13:51:46 +03:00
Alexey Stepanov ed07d4aae7 Python3 code compatibility: division, round
Make division transparent-compatible (from __future__ import division, // for strict int result)
Do not use round due to different types of result objects

blueprint fuel-qa-python3-compatibility
Related-bug: #1556791

Change-Id: I7bb173c6f97ac046af45c3f52cc32846a93a8981
2016-03-22 17:56:24 +03:00
Alexey Stepanov 4c6ef9699b Python3 code compatibility: filter, map, zip
Do not use filter(), map() or zip() for not iterator tasks

blueprint fuel-qa-python3-compatibility
Related-bug: #1556791

Change-Id: I6e031ed2ca18080a15eecd5d0c1db275f9ec9aa1
2016-03-18 10:44:09 +03:00
Alexey Stepanov 41d761bfdc Pylint: fix trivial issues 3
Change-Id: If141aba37568d102524242ef22bda1ab5e68f080
fix: unused variables, cycles formed as unassigned lists
Related-bug: #1556791
2016-03-16 10:31:18 +03:00
Alexey Stepanov 37009b912a Pylint: fix trivial issues 1
Change-Id: Ie847c0c91f4de31d19e559ab6becaf0a3934a7d0
fix: invalid indent, incorrect formatting, incorrect type check
Related-bug: #1556791
2016-03-16 10:30:12 +03:00
Dennis Dmitriev 8f4e141146 Do not override exceptions with nested exceptions
- move diagnostic and environment snapshots creation to
  a separate method 'store_error_details', to not allow overriding
  exceptions in 'log_snapshot_after_test'

- fix UnexpectedExitCode exception logging: do not try to cast
  list of integers into a single decimal

- remove deprecated 'verbose' argument from fuel-devops method
  invocations.

Change-Id: Ibd5f22eff12b966b7c19c349b582d6b442e2ca28
Closes-Bug:#1557077
2016-03-14 17:38:18 +00:00
Tatyana Leontovich bc16aa02b0 Disable Murano tests
Disable Murano test according to Murano servise is not available out of box.
Also delete murano option from test deploy_multiple_services_local_mirror,
because we can not disable our single scenarion for check mirros

Change-Id: I9e6b8699c890a10fe6ea1e5267161a5c69125843
Related-Bug: #1546080
2016-02-23 12:32:45 +02:00
Alexandr Kostrikov 6dc3d87856 Fix multiple roles with local mirror
Mirrors are replaced and ubuntu is used as default to
be able to build bootstrap image.

Change-Id: I2e0971a6b49b457c03a82fcc1c9bd3b06ebaec60
Closes-bug: #1518960
2016-02-09 19:33:05 +03:00
asledzinskiy a3b5889147 Fix call of get_cluster_repos method
- Fix call of get_cluster_repos in
deploy_multiple_services_local_mirror test

Change-Id: If26194f04049f12a650897457696e0e07edbfbdf
Closes-Bug: #1540321
2016-02-01 19:25:29 +02:00
Jenkins e9f23e17ab Merge "Use Fuel default network provider instead of hardcoded in tests" 2015-12-16 09:07:34 +00:00
Alexandr Kostrikov 4d3b4d13f6 Replace if with method to get iface
I replaced if with a method which has logic
related to interface names.
Name is fetched by old naming schema to ease developer switch.

There is still a problem with yaml templates, should be fixed
in next commits.

Change-Id: I63787e51f9e74532f5dd49fb765cbe204b148eb1
Related-bug: #1523541
2015-12-09 14:19:07 +03:00
Dennis Dmitriev 2d50636eaa Use Fuel default network provider instead of hardcoded in tests
- Remove 'NEUTRON_ENABLE'
- Remove redundant configuring of 'network_provider' from tests.
  Keep it only for tests where a special segment type should be
  used.
- NEUTRON_SEGMENT_TYPE makes sense only if a test not configure
  custom network settings. If not set - defaults from Fuel should
  be used.
- nova-network is going to be removed from Fuel, so vcenter tests
  are outdated because vcenter will be moving to a plugin.

Change-Id: I68c6728832569e5bc92a52ad5dd7676b6924ee48
Related-Bug:#1503752
2015-12-05 02:23:55 +02:00
Alexandr Kostrikov c468c7cc39 Run CentOS 7 and predictable interfaces.
The tests should pass with ENV parameters
and preserve usual behaviour without ENV
parameters

Change-Id: I0d23f270bebc15492315c38c5e604ccb4002d165
2015-12-04 17:50:47 +03:00
penguinolog 2c7951055b Fix mass mistypes at english verbs
Fix mistypes at commentaries, log outputs and LOCAL variables

Change-Id: I1fb8eb4ae10be5c2f174336d3a8f124e61da5954
Closes-Bug: #1513777
2015-11-19 11:26:18 +03:00
asledzinskiy 2bf6333eb0 Remove verify_network_configuration method
- Remove verify_network_configuration from tests due
to having advanced check 'check_ipconfig_for_template'
that is used in networking templates tests

Change-Id: I441ed6b749c77ea81d07eaf192d34d00f7c78bf6
Closes-Bug: #1516046
2015-11-17 12:48:07 +02:00
Alexey Stepanov b63dd9848b Refactor & fix incorrect default args
Fix:
  1. Default arguments should not be mutable
  2. Set could be created without set() call (little faster)
  3. Redundant parenthesis (readability)
  4. lambdas is strictly not recommended by PEP8, especially as class variables
  5. fix old style classes (not inherited from object)
Update-reason: rebase

Closes-Bug: #1512671

Change-Id: Id8314b76848278b67da898600240b59cf76a7328
2015-11-09 14:52:15 +03:00
Maksym Strukov 1bb933788b Improve logging in deploy_multiple_services_local_mirror systest
Change-Id: I8439983268a7206f12b20e9bb35e13c182f8b090
Related-Bug: #1502239
2015-10-18 15:29:13 +00:00
Dmitry Tyzhnenko b298434996 Rework test for floatings ips
Adapt test with floatings ips for neturon

Change-Id: I7cdab8b5aa1bc077c74127d98bee6abe91407e21
Closes-bug: #1481322
2015-10-13 19:12:00 +03:00
Dennis Dmitriev 555f42ed5d Use only Neutron/VLAN for 'ha_one_controller_neutron_blocked_vlan'
Using other network segment types doesn't make sense for this test.

Change-Id: Ib3978337342b6fdad3908c96bc9da0205ff7cff3
Related-Bug:#1491845
2015-09-23 08:31:39 +03:00
Maksym Strukov 1b432a77a7 Use context manager for ssh sessions
Change-Id: I4dfd0918b1a9664e5c7a775688a059043b591969
Related-Bug: #1346362
2015-09-10 19:24:20 +03:00
Jenkins 25ededc88b Merge "Replace Ubuntu mirror in /etc/fuel/astute.yaml to local mirror" 2015-09-10 11:59:00 +00:00
Dennis Dmitriev 00dde4b1ba Replace Ubuntu mirror in /etc/fuel/astute.yaml to local mirror
- Use the local Ubuntu mirror to speed building the Ubuntu
bootstrap image,
- Move replace_repos modules to a separate module.

Change-Id: I263752884a7b629a76f5ce7cb3e921390c11af90
Closes-Bug:#1487498
2015-09-04 18:06:59 +03:00
Dennis Dmitriev c7c91b07aa Split "thread_2" into "one_controller_actions" and "multirole"
- disabled 'deploy_one_node' controller test for swarm;
- removed 'deploy_ha_one_controller_cinder', we have the same
  cluster configuration in several other testcases;
- add "one_controller_actions" test group for test cases that do
  some actions to the cluster;
- set "multirole" group as main group for multirole test cases.

Change-Id: Ibf5cab1317301b7856f100e640420267a03a4810
Related-Bug:#1492294
2015-09-04 17:53:21 +03:00
Veronica Krayneva b27468a3e9 Refactor assert_cluster_ready, use networks_count=2 by default
Change-Id: I7d754bbcfb5905903d1a3b843d7acd068db59a97
Closes-bug: #1489813
2015-08-31 14:40:19 +03:00
Dennis Dmitriev 92a4cb754d Fix os_conn credentials in backup/restore and arg list in usb case
Change-Id: I0f47583c8488b16ca3f094a08c72a1575a5d8f3b
Closes-Bug:#1484422
Closes-Bug:#1484933
2015-08-14 15:54:07 +03:00
Dennis Dmitriev ba29888902 Add REPLACE_DEFAULT_REPOS_ONLY_ONCE variable to manage repos list
export REPLACE_DEFAULT_REPOS_ONLY_ONCE=true
 - Along with REPLACE_DEFAULT_REPOS=true , enables replacing default
   repositories only when Fuel admin node has been installed

export REPLACE_DEFAULT_REPOS_ONLY_ONCE=false
 - Along with REPLACE_DEFAULT_REPOS=true , enables replacing default
   repositories only before a new cluster is created by tests.

export REPLACE_DEFAULT_REPOS=false
 - Disables replacing repositories, Nailgun keeps it's defaults.

Change-Id: Ief45650580cdd897bb785f286d850d27baf06adc
Closes-Bug:#1484137
2015-08-13 17:48:17 +03:00
Jenkins c915cc5032 Merge "Delete support for fuel-provisioning-scripts" 2015-08-13 13:55:07 +00:00
Dennis Dmitriev b6f5706f14 Separate test cases by names in multiple Jenkins jobs
Some test cases are started on more than one Jenkins jobs with
the same names. Different Jenkins jobs should use different
test case names.

- add class 'NeutronTunHaBase' as a base test case neutron_tun_ha
- move backup/restore cases in a separate module

Change-Id: Ia6dff6bf63206f767ba1bb48744fd7d69cb687e1
Related-Bug:#1482126
2015-08-13 14:23:13 +03:00
Egor Kotko e0425060dc Delete support for fuel-provisioning-scripts
Remove due to absence classical provisioning
in fuel release 7.0

Change-Id: I02c9ddfde6cdcddd0b833eb0e6cf261ed7f20598
Closes-bug: #1483644
2015-08-12 13:32:02 +02:00
Maksym Strukov a269b98dec Fix minor codestyle violations
Change-Id: I3598bea411649f181457ecc3889190a902feaa91
Related-Bug: #1482643
2015-08-07 17:33:11 +03:00
asledzinskiy c7cc8338a5 Refactor nova tests to use neutron
- Changed test_ha_one_controller_base to
use neutron
- Changed test_ha_one_controller to use neutron
- deploy_ha_one_controller_vlan test was deleted as
duplicate of deploy_ha_one_controller_neutron

Change-Id: Iff4fe9ce5876f8dd769873189c5c294c7a6c29fd
Closes-Bug: #1478915
2015-08-04 15:20:07 +03:00
Jenkins af2d7246a6 Merge "Remove classic provisioning support from system tests" 2015-07-29 15:49:37 +00:00
Dennis Dmitriev 481fde2f8e Add testcase for 'fuel-createmirror' to thread_2
- Add testcase 'deploy_multiple_services_local_mirror', where
  added more services to check more package dependencies during
  deploy;
- Move replacing of default repositories from 'empty' to 'ready'
  snapshot, to have a clear Fuel admin node with defaults in 'empty'
- Add a new test group 'prepare_release' that can be used instead
  of 'setup' to get Fuel admin node with customized settings;
- Remove excess calls for replace repositories from create_cluster()

Change-Id: Iace5351df4f5cb1a3e0c56dade96fd1a2dd7de24
Closes-Bug:#1463793
2015-07-27 15:37:40 +03:00