This patch fixes incorrect suffix for deb repo url which
was introduced by copy paste.
Change-Id: Icb41c5d9e00c588e9535f4fe96c0690bb2413f3c
Closes-Bug: #1613210
This patch adds simple python file to convert
snapshots.params file for 10.x series to sourceable
shell file.
Change-Id: I906de73ba4a4edb3d9f5a5d8dbaea23456b9b37c
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
Change: %s by {:s}, %d by {:d} in string and use .format method for formatting
Closes-bug: #1552139
Change-Id: Ic9bdf9200fa89fa7c78f2806a7b94e3eee914cf9
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
- set python3 as an interpretator
- add '.decode()' to convert strings from 'binary' mode for python3
Change-Id: I92fe5fcee471af44e2c0bad3bf437480f12df703
Closes-Bug: #1439135
This tool can extract the useful lines from Astute and Puppet logs
within the Fuel log snapshot or on the live Fuel master node.
usage: fuel_logs [-h] [--astute] [--puppet] [--clear] [--sort] [--evals]
[--mcagent] [--less]
[SNAPSHOT [SNAPSHOT ...]]
positional arguments:
SNAPSHOT Take logs from these snapshots
optional arguments:
-h, --help show this help message and exit
--astute, -a Parse Astute log
--puppet, -p Parse Puppet logs
--clear, -c Clear the logs on the master node
--sort, -s Sort Puppet logs by date
--evals, -e Show Puppet evaltrace lines
--mcagent, -m Show Astute MCAgent calls debug
--less, -l Redirect data to the "less" pager
Using anywhere to view Fuel snapshot data:
fuel_logs.py fail_error_deploy_ha_vlan-2015_02_20__20_35_18.tar.gz
Using on the live Fuel Master node:
fuel_logs.py -a View the current Astute log
fuel_logs.py -p View the current Puppet logs
Using without -a and -p options assumes both options
fuel_logs.py -c Truncates Astute and Puppet logs. Respects -a and -p options.
It you are running and debugging many deployments on a single master node
you may want to truncate the logs from the previous deployments. Using -l
option is aslo recomended for interactive use.
Fuel-CI: disable
Change-Id: Id6985625c07bd4751cdb214fba8ed4f9243f3591