|
|
|
@@ -1,5 +1,5 @@
|
|
|
|
|
Name: tmt
|
|
|
|
|
Version: 1.5.0
|
|
|
|
|
Version: 1.8.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
|
|
|
|
|
Summary: Test Management Tool
|
|
|
|
@@ -48,11 +48,13 @@ BuildRequires: python%{python3_pkgversion}-mock
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-requests
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-testcloud
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-markdown
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-junit_xml
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-ruamel-yaml
|
|
|
|
|
# Required for tests
|
|
|
|
|
BuildRequires: rsync
|
|
|
|
|
%{?python_provide:%python_provide python%{python3_pkgversion}-%{name}}
|
|
|
|
|
%if %{with oldreqs}
|
|
|
|
|
Requires: python%{python3_pkgversion}-PyYAML
|
|
|
|
|
Requires: python%{python3_pkgversion}-ruamel-yaml
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description -n python%{python3_pkgversion}-%{name}
|
|
|
|
@@ -73,7 +75,7 @@ Dependencies required to run tests in a container environment.
|
|
|
|
|
Summary: Virtual machine provisioner for the Test Management Tool
|
|
|
|
|
Obsoletes: tmt-testcloud < 0.17
|
|
|
|
|
Requires: tmt == %{version}-%{release}
|
|
|
|
|
Requires: python%{python3_pkgversion}-testcloud >= 0.5.0
|
|
|
|
|
Requires: python%{python3_pkgversion}-testcloud >= 0.6.1
|
|
|
|
|
Requires: ansible openssh-clients
|
|
|
|
|
|
|
|
|
|
%description provision-virtual
|
|
|
|
@@ -82,6 +84,7 @@ Dependencies required to run tests in a local virtual machine.
|
|
|
|
|
%package test-convert
|
|
|
|
|
Summary: Test import and export dependencies
|
|
|
|
|
Requires: make python3-nitrate python3-html2text python3-markdown
|
|
|
|
|
Requires: python3-bugzilla
|
|
|
|
|
|
|
|
|
|
%description test-convert
|
|
|
|
|
Additional dependencies needed for test metadata import and export.
|
|
|
|
@@ -94,6 +97,13 @@ Requires: python3-jinja2
|
|
|
|
|
Generate test results in the html format. Quickly review test
|
|
|
|
|
output thanks to direct links to output logs.
|
|
|
|
|
|
|
|
|
|
%package report-junit
|
|
|
|
|
Summary: Report plugin with support for generating JUnit output file
|
|
|
|
|
Requires: python3-junit_xml
|
|
|
|
|
|
|
|
|
|
%description report-junit
|
|
|
|
|
Generate test results in the JUnit format.
|
|
|
|
|
|
|
|
|
|
%package all
|
|
|
|
|
Summary: Extra dependencies for the Test Management Tool
|
|
|
|
|
Requires: tmt >= %{version}
|
|
|
|
@@ -101,6 +111,7 @@ Requires: tmt-provision-container >= %{version}
|
|
|
|
|
Requires: tmt-provision-virtual >= %{version}
|
|
|
|
|
Requires: tmt-test-convert >= %{version}
|
|
|
|
|
Requires: tmt-report-html >= %{version}
|
|
|
|
|
Requires: tmt-report-junit >= %{version}
|
|
|
|
|
|
|
|
|
|
%description all
|
|
|
|
|
All extra dependencies of the Test Management Tool. Install this
|
|
|
|
@@ -156,6 +167,7 @@ export LANG=en_US.utf-8
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%exclude %{python3_sitelib}/%{name}/steps/provision/{,__pycache__/}{podman,testcloud}.*
|
|
|
|
|
%exclude %{python3_sitelib}/%{name}/steps/report/{,__pycache__/}html.*
|
|
|
|
|
%exclude %{python3_sitelib}/%{name}/steps/report/{,__pycache__/}junit.*
|
|
|
|
|
|
|
|
|
|
%files provision-container
|
|
|
|
|
%{python3_sitelib}/%{name}/steps/provision/{,__pycache__/}podman.*
|
|
|
|
@@ -166,6 +178,9 @@ export LANG=en_US.utf-8
|
|
|
|
|
%files report-html
|
|
|
|
|
%{python3_sitelib}/%{name}/steps/report/{,__pycache__/}html.*
|
|
|
|
|
|
|
|
|
|
%files report-junit
|
|
|
|
|
%{python3_sitelib}/%{name}/steps/report/{,__pycache__/}junit.*
|
|
|
|
|
|
|
|
|
|
%files test-convert
|
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
|
@@ -174,6 +189,128 @@ export LANG=en_US.utf-8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Sep 30 2021 Lukáš Zachar <lzachar@redhat.com> - 1.8.0-1
|
|
|
|
|
- Add support for reboot in a reused provision
|
|
|
|
|
- Solve the reboot race condition
|
|
|
|
|
- Adjust the current git remote improvement
|
|
|
|
|
- Use current git remote for url in fmf-id
|
|
|
|
|
- Implement option to exit after first failure
|
|
|
|
|
- Clarify and update spec for the discover step
|
|
|
|
|
- Adjust the multihost test specification
|
|
|
|
|
- Add the multihost testing specification
|
|
|
|
|
- Make run --force behave more expectably
|
|
|
|
|
- Increase duration for tests using containers
|
|
|
|
|
- Rename soon-to-be deprecated resultcallback
|
|
|
|
|
- Remove the minute.obsolete provision plugin
|
|
|
|
|
- Document how to create a new minor/major release
|
|
|
|
|
- Explicitly mention '.' as special value for names
|
|
|
|
|
- Add Github Action for PyPI releases
|
|
|
|
|
- Improve fetching remote environment files
|
|
|
|
|
- Adjust the check for rsync before pull and push
|
|
|
|
|
- Install `rsync` before guest.pull()
|
|
|
|
|
- Second chapter of the Guide: Under The Hood
|
|
|
|
|
- Simplify the search for step method options
|
|
|
|
|
- Produce better errors for unsupported plugins
|
|
|
|
|
- Add more ignored files, categorize gitignore more
|
|
|
|
|
- Extend .gitignore with a few more common patterns
|
|
|
|
|
- (robin/master) Export fields of a case should be checked by lint
|
|
|
|
|
- Adjust the bugzilla support in test export
|
|
|
|
|
- Test export can link case to bugzilla
|
|
|
|
|
- Document the support for `open` key in html report
|
|
|
|
|
- Allow html report to be opened by plan
|
|
|
|
|
- Require essential packages for tmt testing
|
|
|
|
|
- Skip the docs test until the Sphinx issue is fixed
|
|
|
|
|
|
|
|
|
|
* Wed Aug 18 2021 Petr Šplíchal <psplicha@redhat.com> - 1.7.0-1
|
|
|
|
|
- Adjust support for exporting test fmf identifiers
|
|
|
|
|
- Add --fmf-id option for tests export
|
|
|
|
|
- Fix regression in image listing
|
|
|
|
|
- Update hardware spec with units and current status
|
|
|
|
|
- Adjust the reboot support in the internal executor
|
|
|
|
|
- Add support for reboot to internal executor
|
|
|
|
|
- Always try to save guest details
|
|
|
|
|
- Give hints about available report methods
|
|
|
|
|
- Handle libvirt exceptions correctly
|
|
|
|
|
- Handle FileNotFoundError when running commands
|
|
|
|
|
- Adjust framework detection during test import
|
|
|
|
|
- Detect test framework during test import
|
|
|
|
|
- Adjust the reboot command test, minor enhancements
|
|
|
|
|
- Adjust reboot command implementation
|
|
|
|
|
- Implement the reboot class and subcommand
|
|
|
|
|
- Adjust the improved login step selection
|
|
|
|
|
- Login after last done step without --step option
|
|
|
|
|
- Adjust default shell options implementation a bit
|
|
|
|
|
- Make multiline shell scripts fail on error
|
|
|
|
|
- Ensure environment files are within metadata tree
|
|
|
|
|
- Add pycharm .idea to .gitignore
|
|
|
|
|
- Ensure environment-file paths are only relative
|
|
|
|
|
- Adjust the 'environment-file' implementation
|
|
|
|
|
- Implement the 'environment-file' option
|
|
|
|
|
- Mention required packages on the Contribute page
|
|
|
|
|
- Migrate to ruamel.yaml
|
|
|
|
|
- Adjust tmt lint implementation
|
|
|
|
|
- Add tmt lint command
|
|
|
|
|
- Do not expand the process environment variables
|
|
|
|
|
- Adjust legacy match to cover both rhel and centos
|
|
|
|
|
- Guess pci/net when libguestfs python is missing
|
|
|
|
|
- Add timestamp to the tmt debug output
|
|
|
|
|
- Restart sshd on EL8 to prevent delays after boot
|
|
|
|
|
- Support systemd-networkd systems without nm too
|
|
|
|
|
- Testcloud: Use cache='unsafe' for a nice IO boost
|
|
|
|
|
- Check invalid attributes in plans with lint
|
|
|
|
|
- Require correct testcloud version in setup.py
|
|
|
|
|
- Adjust the support for plan parametrization
|
|
|
|
|
- Implement plan parametrization from environment
|
|
|
|
|
- Deprecation timing, mention vagrant box support
|
|
|
|
|
- Fix exit code for tmt story lint
|
|
|
|
|
- Require testcloud with the url guessing support
|
|
|
|
|
- Use testcloud for image url guessing
|
|
|
|
|
- Update the RHEL 8 / CentOS 8 install instructions
|
|
|
|
|
- Accept more ssh keys in the API
|
|
|
|
|
- Require a full path for local images in testcloud
|
|
|
|
|
- Adjust the conversion of Makefile types to tags
|
|
|
|
|
- Convert Type from Beaker Makefile into tags
|
|
|
|
|
- Make sure pip is available for integration testing
|
|
|
|
|
- Disable the white space test for container/virtual
|
|
|
|
|
- Use IdentitiesOnly=yes when key or password is set
|
|
|
|
|
|
|
|
|
|
* Wed Jun 02 2021 Petr Šplíchal <psplicha@redhat.com> - 1.6.0-1
|
|
|
|
|
- Adjust the new plugin documentation
|
|
|
|
|
- Add plugin examples and documentation
|
|
|
|
|
- Ensure that the discover git reference is a string
|
|
|
|
|
- Report plugin for JUnit output
|
|
|
|
|
- Fix issue when raising error for NoneType
|
|
|
|
|
- Print better error when nitrate testcase not found.
|
|
|
|
|
- Use `count=True` for multiple flag options
|
|
|
|
|
- Add option to explicitly use default plan
|
|
|
|
|
- Adjust debuginfo installation, add test coverage
|
|
|
|
|
- Use debuginfo-install for installing debuginfos
|
|
|
|
|
- Update the documentation based on refactoring
|
|
|
|
|
- Implement tmt story lint
|
|
|
|
|
- Refactor Node class to Core
|
|
|
|
|
- Correctly handle spaces in file/directory names
|
|
|
|
|
- Hand over plan environment during local execution
|
|
|
|
|
- Do not execute manual test cases
|
|
|
|
|
- Fix option handling for plugins with common prefix
|
|
|
|
|
- Propagate options to guests based on the step
|
|
|
|
|
- Support fetching libraries from a local directory
|
|
|
|
|
- Add a simple example of a test written in ansible
|
|
|
|
|
- Pass environment variables to ansible (local)
|
|
|
|
|
- Pass environment variables to ansible (virtual)
|
|
|
|
|
- Adjust warning for extra lines in Makefile targets
|
|
|
|
|
- Add test import warning for run and build targets
|
|
|
|
|
- Enable a few more pre-commit hooks, sort imports
|
|
|
|
|
- Give a warning about the obsoleted minute plugin
|
|
|
|
|
- Clarify adjust dependency on explicit context
|
|
|
|
|
- Fix the EPEL installation instructions
|
|
|
|
|
- Adjust the new list options for the minute plugin
|
|
|
|
|
- New print method, used now in minute plugin
|
|
|
|
|
- Implement listing available minute images/flavors
|
|
|
|
|
- Update default option values for verbose and debug
|
|
|
|
|
- Avoid creating workdir on --help
|
|
|
|
|
- Do not keep run workdir during testing
|
|
|
|
|
- Clean up the code style, remove the vagrant plugin
|
|
|
|
|
|
|
|
|
|
* Fri Apr 30 2021 Petr Šplíchal <psplicha@redhat.com> - 1.5.0-1
|
|
|
|
|
- Enable and document `pre-commit` and `autopep8`
|
|
|
|
|
- Reorganize feature stories, fix title duplication
|
|
|
|
|