Commit Graph

17 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
Alexey Stepanov 3990b5fb65 Fix inspection issues
1. PyCharm inspection: ignore no member for magic places
  (six.moves, mixin for system_test, unicode<->string on python2)
2. Fix docstrings
3. Fix reraise of SkipTest
  (use raise instead of raising again the same exception, but no args)
4. Bash simple variable usage

Closes-bug: #1578998

Change-Id: Ifac2dcb68b323ce48c6c80598abfd18ed9bf2caf
2016-05-10 11:54:55 +03:00
Alexey Stepanov 08b5af4bf5 Replace % formatting by str.format method
Change: %s by {:s}, %d by {:d} in string and use .format method for formatting
Closes-bug: #1552139

Change-Id: Ic9bdf9200fa89fa7c78f2806a7b94e3eee914cf9
2016-03-03 10:45:20 +03:00
Alexey Stepanov 77b5f71332 Do not raise exception classes
Replace `raise Exception` by `raise Exception()`

Closes-bug: #1551113

Change-Id: Ic7b9ca7fd06750c58a4710fb55f6114ec00cefd9
2016-03-02 16:32:11 +03:00
Dmitry Tyzhnenko 82b392284a Refactoring of system_test classes
Some design of system_test packages:
    - move actions to separate package
    - move core fuctionality to core package

Change-Id: I7b12380a687c9cccbd44d79819f842b1b2470cd5
Implemets blueprint template-based-testcases
2016-02-25 16:53:59 +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
Dmitry Tyzhnenko c106f6be54 Add new runner for system test
For run the tests from both test suites (fuelweb_test, system_test) we
    may use new runner - run_system_test.py.

Changes in framework:
    - add @testcase decorator use instead of @factory

Features of new runner:
    - auto discovering all test in both test suites
    - show the groups from the test suites
    - explain content of groups
    - run the several groups at the same time
    - combine configuration with the test groups from new suite
    - run old groups
    - use runner in utils/jenkins/system_tests.sh

Changes in tests:
    - remove @factory function
    - add @testcase to each test class

Change-Id: Ic4086dde60ca8a94dcd2ee079376c97ce719ff03
Implemets blueprint template-based-testcases
2016-02-11 16:58:39 +02:00
Jenkins 58ae9a57af Merge "Fis mistypes with affect on API" 2015-11-27 11:15:40 +00:00
Alexey Stepanov 6cae33f50a Fis mistypes with affect on API
1. screnarios -> scenarios
2. spended_time -> spent time (used only at 1 place)
3. rename few test methods (not groups)
4. removed unused code (
      assign element of dictionary before return of this element only,
      redundant parenthesis - again,
      comeback of mutable defaults - again,
      variable, which redefined on the next line in if-else)

Change-Id: I68ffdc85c2d1289d7ab6ef6a7f4084c19e7afcf9
Related-Bug: #1513777
2015-11-27 11:59:47 +03:00
Dmitry Tyzhnenko 06a6405c00 Extends system tests to use devops template
Runtime changing of yaml config via environment variable use !os_env

Add validator for unique file name of yaml config file. We should have
    unique file names in system_test/tests_templates/tests_configs

Yaml configuration compiled only when test started, than increase
    creation speed of test plan and improve isolation of config files

Using name of yaml file for link config and test case instead of the
    test-group node in yaml file before

Add several types of group names:
    case_group.CONFIG
    case_gorup(CONFIG)
    case_gorup[CONFIG]
    case_gorup{CONFIG}

Add default devops template
    system_test/tests_templates/devops_configs/default.yaml

Use devops config in ceph_all_on_neutron_vlan.yaml

Implements blueprint template-based-testcases
Change-Id: Ib5ae4126041b2aad059199e93d0c78457125b1fe
2015-11-25 16:35:46 +02:00
Dmitry Tyzhnenko f5adbdfbde Add nested action to template tests
Add @nested_action decorator

To combine some actions into one use @nested_action for method
    which returns list of sub actions.

Implement blueprint template-based-testcases
Change-Id: Iac85df6ddaaa83ae2966d3a4e0963aa534c38877
2015-11-23 15:38:20 +02:00
eprohoda c8ae05294d Update class names from lowercase to CamelCase
Closes-Bug: #1515962
Change-Id: I72b7fb005b37fcf0f81d109230ece8699e681b91
2015-11-19 13:06:57 +00:00
Dmitry Tyzhnenko f3363b2a79 Fix snapshot name fot template test cases
For snapshot name used case class + hash from config name + step
    DeployCheckRadosGW_562aa0fd_Step002

Implements blueprint template-based-testcases

Change-Id: Iad3be3f4a4f7cd7977ed7a22948247e4c2354624
2015-11-13 15:11:52 +02:00
Maksym Strukov cbb12596c5 Hotfix for fuel-qa docs to apply zero-errors in verify-fuel-qa-docs job
Change-Id: Ic3baa6b56aacaea3c01682f5410abf2ef8b34693
Related-Bug: #1515234
2015-11-11 15:42:47 +02:00
Dmitry Tyzhnenko ab466cb0f5 Add decorator @action
Use decorator @action for method which used as step.

Prefix _action_ still work.

Implements blueprint template-based-testcases

Change-Id: I802d79071c313528a29d6f63abf2db5f6cebbe7f
2015-11-06 19:33:32 +02:00
Maksym Strukov d89cb76503 Small fix of codestyle violations
Change-Id: Ib6046c83a1261421b930cd25e29e88f5169fbb61
Related-Bug: #1482643
2015-10-13 22:50:30 +03:00
Dmitry Tyzhnenko fdcff1cba3 Template based tests with yaml configs
Rework fuleweb_test framworks for automation generating TestCase

put yaml confs into fuelweb_test/system_tests_templates
define Case in fuelweb_test/actions_tests
proboscis generate group of test for each case and config

For sen new test plans use Jenkins script.
    for all matrix:
        sh -x "utils/jenkins/system_tests.sh" -L -j $JOB_NAME \
            -t test -w "$WORKSPACE" -i $ISO_PATH \
            -o --group=system_test \
            -o --show-plan -k -K

    for some case and all configuration:
        sh -x "utils/jenkins/system_tests.sh" -L -j $JOB_NAME \
            -t test -w "$WORKSPACE" -i $ISO_PATH \
            -o --group=system_test.create_deploy_ostf \
            -o --show-plan -k -K

    for some case and some config
        sh -x "utils/jenkins/system_tests.sh" -L -j $JOB_NAME \
            -t test -w "$WORKSPACE" -i $ISO_PATH \
            -o --group=system_test.create_deploy_ostf.1ctrl_1comp_1cinder_neutronVLAN \
            -o --show-plan -k -K

    for run all destroy controllers failover cases
        sh -x "utils/jenkins/system_tests.sh" -L -j $JOB_NAME \
            -t test -w "$WORKSPACE" -i $ISO_PATH \
            -o --group=system_test.failover.destroy_controllers.3ctrl_2comp_1cndr_neutronVLAN \
            -o --show-plan -k -K

Change-Id: I81eeb0df84a0f373be029f20ec6c53e8d3596596
Implements blueprint template-based-testcases
2015-10-07 17:23:03 +03:00