Commit Graph

54 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
Jenkins d6b67554ad Merge "Updated bootstrap repos after fuel-bootstrap-cli reinstall" 2017-03-21 15:08:58 +00:00
Igor Gajsin a0838e91a9 remove vmware
VMware not supported since Fuel 10. So we should stop test it.

Change-Id: I5996520ded3419fd2ce2cb1e76056eed157bfffb
Implements: blueprint remove-vmware
2017-02-15 11:03:42 +03:00
Vladimir Kozhukalov 40b2111120 Updated bootstrap repos after fuel-bootstrap-cli reinstall
Default fuel-bootstrap-cli conf file which is provided
by the package does not contain repos. We need to update
repos from astute.yaml before being able to build bootstrap
image.

Change-Id: I30ed1c372e7b2107f810e784c1d56807d3412527
Closes-Bug: #1644411
(cherry picked from commit bd45d96f39)
2016-12-27 11:38:58 +00:00
Vladimir Khlyunev e2d65c93f3 Fix incorrect usage of YamlEditor in gates tests
Removing of old methods was included an new error -
fix it.

Change-Id: Iab5c1f6cdc013a33dfc4252ab03a444a0bbc72a1
Closes-bug:1620966
2016-09-07 12:04:35 +03:00
Jenkins 3c878da14c Merge "Add devops_template for each test in fuel_library and puppet-openstack mapping" 2016-08-30 05:13:41 +00:00
Vladimir Khlyunev f5a4e7499b Drop old yaml-modification methods
YamlEditor is now tested and it's possible to replace old
docker-related methods with it.

Change-Id: I91f68fc92ab6580927027196f9b7de158e5f5a30
2016-08-29 11:06:59 +03:00
Artem Grechanichenko 8d3b5e3de9 Add devops_template for each test in fuel_library and puppet-openstack mapping
Closes-Bug: #1614546
Change-Id: Ifaacf0fab80de26a55d2ba1cfe5afeb6867766c1
2016-08-22 08:25:18 +00:00
Artem Grechanichenko 0f98906d3b Add new openstack_cinder module to fuel_library_mapping
Change-Id: I50cd68d23cd410c2c8bcb80a687051ad20a3fc8d
2016-07-05 15:15:35 +03:00
Artem Grechanichenko 761dfe2afd Add missed modules in fuel-library mapping
Add 3 missed modules in yaml with covered modules

Change-Id: Id698aff8c11a950b352dfd2e048b9f4313d54824
Closes-Bug: #1592307
2016-06-14 08:26:19 +00:00
Artem Grechanichenko 2fe3dc56ff Add fuel-qa system tests mapping for openstack/puppet-projects
Add new mapping structure for openstack/puppet-projects
For each project in openstack/puppet-* projects(limited by project described in
github.com/openstack/fuel-library/deployment/puppet/openstack_tasks/Puppetfile)
will be mapped fuel-qa system-test in gates_tests/helpers/openstack_puppet_modules_mapping.yaml

mapping=['system_test']=[list of openstack/puppet-projects]

Mapping takes project edited in review and register single test group -
"review_in_openstack_puppet_modules" which mapped to system_test from mapping.

Change-Id: I16d8015be6e02717893955b45f7c718413ee8c10
Closes-Bug: #1590066
2016-06-09 16:19:49 +03:00
Jenkins 6fcffb8667 Merge "Refactor test_nailgun_agent" 2016-06-09 10:52:17 +00:00
Artem Grechanichenko d3f262c368 Refactor test_nailgun_agent
1)As we have method for rebuilding bootstrap with packages from review
so no needed upload this package to master node and rebuild boostrap manually
and manually updating nailgun agent
2) moved update_bootstrap_cli_yaml to helpers/utils
3) removed not needed methods

Change-Id: I42008d795fc2875386144c10ec557ccc8e25df49
Closes-Bug: #1590331
2016-06-08 14:32:33 +00:00
Artem Grechanichenko 1659e6db3a Fix typo in module name in puppet_module_mapping
fix typo error in aodh module name in puppet_module_mapping

Change-Id: I3f2a236a8df11c8116af33cc97442f6b127c3929
Closes-Bug: #1590047
2016-06-08 17:29:18 +03:00
Artem Grechanichenko 1b11a4cbf1 Add missing modules ot puppet_module_mapping.yaml
Change-Id: Ie3764b954649320465f4aad058e987c6cc245bb2
Closes-bug: #1583045
2016-05-26 14:33:26 +00:00
Artem Grechanichenko c2c6a11c5c Extend fuel-agent gate with ironic checking
-Extend fuel-agent gate with ironic checking.
-Refactor update_fuel_agent_rpm method to be more universal
-Change updating fuel-agent in bootstrap to use fuel-bootstrap methods
-Delete patch_and_assemble ubuntu bootstrap method

Change-Id: I495e8c15ad05188bb0312ca8cf4fbc1169a88bae
Closes-Bug: #1551156
2016-04-13 14:19:22 +00:00
Jenkins 8160f6702f Merge " Do not check exit code while curl to ostf api" 2016-04-12 14:09:04 +00:00
Tatyana Leontovich 93bfc15b0e Do not check exit code while curl to ostf api
Change-Id: I1ada31a36bf85134877fb0d43140c3227b119b92
Closes-Bug: #1569252
2016-04-12 16:36:17 +03:00
Tatyana Leontovich 34138f1893 Support openstack_tasks in mapping tests
Change-Id: I8b6a53148522e08055e61bf4746fa2ca43f3e2df
Closes-Bug: #1567372
2016-04-11 14:39:14 +03:00
Tatyana Leontovich 2637797da1 Do not raise exception for ostf status check
We switch gate test to usage of ssh_manager,
where raise exception if exit code =! 0 is set by default.
But when we stop ostf service, systemctl status ostf never return 0,
so that we got false negative results.

Change-Id: I9dfb2501921dae8b1ce84a71de8ca794d227daed
Closes-Bug: #1567889
2016-04-08 15:24:24 +03:00
Tatyana Leontovich a76dfd31ff Delete Centos bootstrap usage
Centos bootstrap was depricated in 8.0 and deleted in 9.0,
so we need to clen the code


Closes-Bug: #1560579
Change-Id: Ieeba0a1d08f3be8bc88f7abfb2fb109023c672ac
2016-03-22 17:01:51 +00:00
Artem Grechanichenko 9eece05963 Add default behavior to review_in_fuel_library
If review_in_fuel_library launched by scheduler or manually -
then no GERRIT_* environment variables will be exported so need to
execute "bvt_2" system test

Change-Id: I535d36823e79ada5ecc1c52efb082ba3166d2d11
2016-03-17 00:24:22 +02:00
Jenkins 1fdd2e73fa Merge "Add module cgroups in mapping tests structure" 2016-03-16 17:51:07 +00:00
Tatyana Leontovich 92f25c3193 Add module cgroups in mapping tests structure
Change-Id: I72f16249d4e2b7641916d22a80213b17af7c77dc
Closes-Bug: #1557114
2016-03-16 14:54:53 +02: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 b661d47b32 Pylint: fix trivial issues 2
Change-Id: Id29cb8831714fd96960f85c29d866084a5565f5c
fix: invalid import order, double import, relative import, no super call, instance defined outside of init, incorrect __all__ variable
Related-bug: #1556791
2016-03-16 10:30:31 +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
Alexey Stepanov 6f7801cce4 Fix incorrect groups processing in gates tests
replace default value by list for fix TypeError
Closes-bug: #1555478

Change-Id: I8b2910a8db45899d66e80fdb61d1c580e7223c00
2016-03-10 11:30:13 +03:00
Artem Grechanichenko f8b52e8f73 Create test mapping for puppet-modules
As part of fuel-library-gates, adding mapping structure for puppet modules.
For each system-test as a key exist list of deployment/puppet,
deployment/Puppetfile, osnailyfactor/modular modules which it's system-test covers.
Mapping takes list of modules edit in review and register single test group - "review_fuel_library"
which mapped to system_test from mapping.

Change-Id: Ibce134668d74914bc6e3c5bdabadf6b5312dd3de
Closes-bug: #1529787
2016-03-06 17:58:10 +02:00
Tatyana Leontovich d2c6f59c35 Add gate test for nailgun agent
Add gate test for nailgun agent:
* should be run by group review_nailgun_agent
* CUSTON_ENV should be false
* UPDATE_FUEL should be TRUE
* UPDATE_FUEL_PATH path to nailgun-agent rpm

Change-Id: I8e2057ef61a53e704926bcb79a26b38cdcc5ad7a
Closes-Bug: #1551346
2016-03-03 12:37:39 +02:00
Vasily Gorin 0af42bd0f8 Refactoring functions in checkers.py(part 1)
Following functions were changed:
  * check_update_network_data_over_cli
  * check_get_network_data_over_cli
  * check_offload
  * check_client_smoke
  * check_hiera_hosts
  * check_log_lines_order
  * check_file_exists
  * check_cobbler_node_exists
  * check_haproxy_backend
  * check_public_ping
  * check_repo_managment
  * check_cinder_status
  * verify_service

Related tests are also modified.
Some typos are fixed.
Implements: blueprint sshmanager-integration

Change-Id: Ifdc2a01d100dbf3b809f6619d9877a8c98db3258
2016-02-27 11:05:49 +00:00
Tatyana Leontovich 0e5156b751 Add usage of SSHManager() in gate tests
Update next tests with SSHManager() usage:
* fuel-agent
* fuel-ostf
* fuel-web
* fuel-astute

Related  sshmanager-integration

Change-Id: Iafc39f1c2c08372c02762d0552d8e70f2aec70b5
2016-02-25 20:42:00 +02:00
Alexey Stepanov 70106730d9 Python3 code compatibility: Stage1
1. Fix imports (lovercase imported as UPPERCASE)
2. Fix local variables (CamelCase/UPPERCASE)
3. Use Python3 compatible syntax, when it possible
4. Define attributes in __init__
5. Remove redundant parenthesis
6. Add /logs to .gitignore (to prevent log publish and remove fake git status notifications)

blueprint fuel-qa-python3-compatibility
Change-Id: Ifd60646055d07f888b2e204083b99d9db507f93e
2016-02-17 11:36:59 +03:00
Tatyana Leontovich 04b38bf95c Add version check for ostf gate test
Add check if fuel-ostf package from review is installed in setup group.

Change-Id: I9ca1510b62cb4f15a340834654d7460d5d37e499
Closes-Bug: #1544496
2016-02-11 18:56:24 +00:00
Tatyana Leontovich a32cdc45e4 Adapt fuel-web gate test to work without docker
Change-Id: I360d4cd334c069dd2ba964a2ec0a178772df8696
Closes-Bug: #1544118
2016-02-10 17:57:13 +02:00
Artem Grechanichenko 41ef5ded95 Remove duplicated code in gates_tests/helpers/utils.py
As we don't use docker containers referring to
https://review.openstack.org/#/c/277427 then need to delete duplicated
part of code in replace_fuel_agent_rpm method.

Change-Id: I37f617e468018e686a8438950fa35ba70442e33a
Closes-bug: #1543573
2016-02-09 12:53:16 +00:00
Vladimir Kozhukalov f9ca28228b Fix gate tests that rely on docker containers
The thing is that some of our tests try to
update a package inside a docker container.
This patch fixes this.

Depends-On: I9c2a3b1f988ba9bb937546eab2a0dbe84d19b18b
Implements blueprint: get-rid-docker-containers

Change-Id: Ic334044d522de466f16f3c56ad5ac56323ab6926
2016-02-08 17:46:59 +03:00
Jenkins 0c2d8ac5da Merge "Add gate test for Astute" 2016-01-25 09:14:59 +00:00
Andrey Lavrentyev f5475aa4cb Add gate test for Astute
Add gate test for Astute that should be executed for each review in openstack/fuel-astute repo.

Next variables should be exported:
UPDATE_FUEL=True
UPDATE_FUEL_PATH=/path/to/rpm/to/be/downloaded

Test depends on ready_with_3_slaves, so it is better to run it with -k/-K options.

Scenario:

    1. Revert environment ready_with_3_slaves
    2. Upload package
    3. Update Astute rpm package from review
    4. Update network configuration
    5. Create env
    6. Update nodes with roles: controller, compute, cinder
    7. Deploy cluster
    8. Start ostf tests to check that changes do not reproduce regression

Change-Id: I4de4513e0f9186fda8750a74b44b5cff0edfbc21
2016-01-22 16:09:21 +03:00
Artem Grechanichenko 28309f2874 Move assert_equal method in to if construction for replace_fuel_agent_rpm
Move assert_equal method in to if construction for replace_fuel_agent_rpm
method in gates_tests/helpers/utils.py

Change-Id: Ia6ae4d6930355110f15f81cf132e1cec0cacd1dc
2016-01-21 18:55:26 +02:00
Artem Grechanichenko 6a0c4a3178 Fix retrieving installed version of fuel-agent on master_node
Add .strip() method to avoid \n in stdout in gates_test/helpers/utils.py

Change-Id: I8f4669eff09c69cb16f6b53faa417c269db801d7
Closes-Bug: #1536685
2016-01-21 17:25:20 +02:00
Tatyana Leontovich 8a7ff2f755 Try to get all units related to statistic in container
Related-Bug: #1532129
Change-Id: I86a126949b5a6f2af92c1970e7ce9dbb74980e38
2016-01-15 23:58:35 +02:00
Artem Grechanichenko 5f139fb7ad Compare installed fuel-agent with incoming from review
Compare installed fuel-agent with incoming from review

Change-Id: Icd94bb9f6d907fc8e7482dfcd2cda155adb6264c
2016-01-13 18:22:35 +02:00
Artem Grechanichenko d22652576c Fix incorrect packet name parsing in fuel-agent
According to ci gate job builded packets from review to directory,
which include not only fuel-agent*.noarch packets, need to change
parsing pattern

Change-Id: If17ff7f78e9ff6b1cee4fac4d5262e4baa3e6f1d
2016-01-13 15:31:09 +02:00
Artem Grechanichenko 6451b36c1e Additional variable in fuel-agent ci gate test
Using FUEL_AGENT_REPO_PATH to having access
to fuel-agent review code in patch_and_assemble_ubuntu_bootstrap
and patch_centos_boostrap methods

Change-Id: If436e3fa7ace8aa5d607b06d5566a543d23ac30e
2016-01-11 19:55:04 +02:00
Artem Grechanichenko cee8f4eb8b Fix fuel-agent ci gate test
Fixed invalid network provider in test_review_in_fuel_agent
Add full_pack_path to for avoiding of situations with the incorrect naming
of fuel-agent rpm package

Change-Id: Idf28ee751166f570f352f9423af6e0cd7e896382
2016-01-06 15:42:08 +02:00
Tatyana Leontovich 83cd865771 Add gate test for fuel web
Add gate test for python fuelweb  that should be executed
for each review in openstack/python-fuelweb repo.

Next variables should be exported:
UPDATE_FUEL=true
UPDATE_FUEL_PATH=/path/to/source

Test depends on empty,
so it is better to run it with -k option.
test_group: review_fuel_web_deploy
Scenario:
 1. Revert snapshot "empty"
 2. Apply changes into nailgun
 3. Get release id
 4. Update networks
 5. Bootstrap 3 nodes
 6. Create cluster
 7. Add 1 controller nodes
 8. Add 1 compute node
 9. Add 1 cinder node
 10. Deploy environment
 11. Run OSTF

Change-Id: I69ab8b657e996bec74333900f8a5e6d521c0743c
2015-12-30 20:40:41 +00:00
Artem Grechanichenko 7523e5e232 Adding bootstrapping rebuilding to test_review_in_fuel_agent
Adding gates_test/helpers/utils patch_bootstrap methods
to rebuild centos and ubuntu bootstraps to use new code
from fuel-agent review.
Methods for CentOS bootstrap commented and unused.

Change-Id: I8cc601dfa53f71b4e1d78814ce451ea9d98940e9
Closes-Bug: #1519880
2015-12-22 16:04:48 +00:00
Tatyana Leontovich c5fd4b578d Add gate test for python-fuelclient repo
Add gate test for python-fuelclient that should be executed
for each review in openstack/python-fuelclient repo.

Next variables should be exported:
UPDATE_FUEL=true
UPDATE_FUEL_PATH=/path/to/source

Test depends on ready_with_1_slaves,
so it is better to run it with -k option.

Scenario:
 1. Revert snapshot 'ready_with_1_slave'
 2. Apply changes from review
 3. Bootstrap 1 node
 4. Show  releases list
 5. Create cluster over cli
 6. Update networks
 7. Update SSL settings
 8. List environments
 9. Add and provision 1 node with controller role
 10. Deploy node
 11. Delete cluster

Change-Id: I0af077a7121e7978f2612b213e4905d07e57c0e9
2015-12-18 16:53:27 +02:00
Tatyana Leontovich 1926f5498b Add package version check
To avoid false positive result in gate fuel library test add next assertion:

* We have packages that should be updated - if not raise error
* Packages from review is higer version that installed - if not raise error

Change-Id: I065bef8f73d2abdb1b3a905a2720a2db5277e4fc
Closes-Bug: #1523466
2015-12-17 18:30:59 +02:00