Default behaviour of the system_tests.sh is unchanged,
but with -N it will update requirements on each run (without
--upgrade).
If fuel-devops has incorrect version or not installed, then
script will fail with -N option (until fuel-devops is not packed
to PyPi repository).
- Removed dependency on fuel-devops located on github.
This dependency splitted into two requirements:
requirements-devops.txt : will be used with -N option to
controll the installed fuel-devops version;
requirements-devops-source.txt : will be used for tox tests
and update python virtual environments on CI.
- Update system_tests.sh with two new options: -R and -N:
REQUIREMENTS_DIR or -R : name of the dir where requirements.txt
and constraints.txt are located (fuelweb_test by default)
UPDATE_REQUIREMENTS or -N : 'yes' or 'no' (-N == 'yes').
Perform update PyPi packages from requirements.txt.
Default : 'no'
- remove unused variables and code that was used for build ISO
Change-Id: Ib9efd2136226fb43b506db390079f1b72a06069d
Related-Bug:#1575065
Shotgun has been changed to use gzip for snapshot.
On the 15G snapshot data gz is 10 times faster than xz while compression
rate is just 36% against 50% with gzip.
For the pattern "create once - download once" this looks like a
reasonable solution.
Change-Id: I133ae854c619655169f6b42003087dd9cc21b8e0
Closes-Bug: #1546023
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
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