From e03ee12f54a8c6575a950d5c630524fae53bdf5f Mon Sep 17 00:00:00 2001 From: Petr "Stone" Hracek Date: Jun 16 2017 07:49:02 +0000 Subject: New upstream release (#1462096) Signed-off-by: Petr "Stone" Hracek --- diff --git a/.gitignore b/.gitignore index d13e532..32ed545 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /modularity-testing-framework-0.2.5.tar.gz /modularity-testing-framework-0.2.45.tar.gz +/modularity-testing-framework-0.5.1.tar.gz diff --git a/modularity-testing-framework.spec b/modularity-testing-framework.spec index 795df02..a37421f 100644 --- a/modularity-testing-framework.spec +++ b/modularity-testing-framework.spec @@ -1,7 +1,7 @@ %global framework_name moduleframework Name: modularity-testing-framework -Version: 0.2.45 +Version: 0.5.1 Release: 1%{?dist} Summary: Framework for writing tests for modules and containers @@ -11,41 +11,352 @@ Source0: http://releases.pagure.org/%{name}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel -BuildRequires: python-setuptools +BuildRequires: python2-setuptools Requires: python2-avocado Requires: python2-avocado-plugins-output-html Requires: python-netifaces Requires: docker - +Requires: python2-dockerfile-parse %description -Framework for writing tests for modules and containers +%{summary}. %prep -%setup -q -n %{name}-%{version} +%autosetup # Remove bundled egg-info rm -rf %{name}.egg-info %build -%{__python2} setup.py build +%py2_build %install -%{__python2} setup.py install --skip-build --root %{buildroot} -install -d -m 755 %{buildroot}%{_datadir}/%{framework_name} +%py2_install +install -d -p -m 755 %{buildroot}%{_datadir}/%{framework_name} chmod a+x %{buildroot}%{python_sitelib}/%{framework_name}/{module_framework,generator,bashhelper,setup}.py %files %license LICENSE -%doc CHANGELOG %{_bindir}/moduleframework-cmd %{_bindir}/modulelint +%{_bindir}/mtf-generator %{_bindir}/generator -%{python2_sitelib}/moduleframework -%{python2_sitelib}/modularity_testing_framework-?.?.*-py?.?.egg-info -%{_datadir}/moduleframework - +%{python2_sitelib}/moduleframework/ +%{python2_sitelib}/modularity_testing_framework-*.egg-info/ +%{_datadir}/moduleframework/ %changelog +* Fri Jun 16 2017 Petr Hracek - 0.5.1-1 +- New upstream release (#1462096) + +* Mon Jun 12 2017 Jan Scotka 0.4.61-1 +- Add upstream check_modulemd (phracek@redhat.com) +- added doc strings (jscotka@redhat.com) +- added functions to get architectures (jscotka@redhat.com) + +* Fri Jun 09 2017 Jan Scotka 0.4.60-1 +- added dockerfile to None in case path does not exist (jscotka@redhat.com) + +* Fri Jun 09 2017 Petr "Stone" Hracek 0.4.59-1 +- Use version directly in setup.py and SPEC file in main dir. + (phracek@redhat.com) + +* Fri Jun 09 2017 Petr "Stone" Hracek 0.4.58-1 +- fix Dockerlint tests and using AvocadoTest class directly + +* Wed Jun 07 2017 Jan Scotka 0.4.56-1 +- Add dependency into python2-dockerfile-parse (phracek@redhat.com) + +* Tue Jun 06 2017 Jan Scotka 0.4.55-1 + - code cleanup + - added check_modulemd as submodule + - exceptions improvement + +* Mon May 29 2017 Jan Scotka 0.4.39-1 +- adapted to new avocado self.cancel() instead of using internal exception for skipping tests on the fly +- imporved links to composes in testing module. No modules builds in koji. + +* Fri May 26 2017 Jan Scotka 0.4.36-1 +- removed appearance of change log inside (jscotka@redhat.com) + +* Thu May 25 2017 Jan Scotka 0.4.34-1 +- removed setup.py symlink (jscotka@redhat.com) + +* Wed May 24 2017 Jan Scotka 0.4.33-1 +- try this vice versa removed symlinked specfile and added symlink to setup.py + (jscotka@redhat.com) + +* Wed May 24 2017 Jan Scotka 0.4.30-1 +- rename 'generator' script to 'mtf-generator' (nils@redhat.com) + +* Fri May 19 2017 Jan Scotka 0.4.28-1 +- changes with specfile (jscotka@redhat.com) + +* Fri May 19 2017 Jan Scotka 0.4.27-1 +- disabled test for package signing (jscotka@redhat.com) +- Moving SPEC to specific distro directory (phracek@redhat.com) + +* Thu May 18 2017 Petr Hracek - 0.4.26-1 +- Calulcate correct path to SPEC file + +* Thu May 18 2017 Petr "Stone" Hracek 0.4.25-2 +- Calculate correct path to SPEC file (phracek@redhat.com) + +* Thu May 18 2017 Petr Hracek - 0.4.25-2 +- Calulcate correct path to SPEC file + +* Wed May 17 2017 Jan Scotka 0.4.24-1 +- added new version of module lint, it is now directory, so that repaired in + common tests (jscotka@redhat.com) + +* Tue May 16 2017 Jan Scotka 0.4.23-1 +- do not remove base packages (jscotka@redhat.com) + +* Tue May 16 2017 Jan Scotka 0.4.22-1 +- modulelint tests in subdirectory and some improvements (jscotka@redhat.com) +- packaging: trivial fixes (ignatenkobrain@fedoraproject.org) + +* Fri May 12 2017 Jan Scotka 0.4.21-1 +- fix typo in test dependencies section (nils@redhat.com) + +* Fri May 12 2017 Jan Scotka 0.4.20-1 +- version read from specfile, test if it will work well (jscotka@redhat.com) + +* Fri May 12 2017 Jan Scotka 0.4.19-1 +- added longer delay and number of attempts for koji, seems that koji is + somethimes broken for longer time (jscotka@redhat.com) + +* Fri May 12 2017 Jan Scotka 0.4.18-1 +- added longer delay and number of attempts for koji, seems that koji is + somethimes broken for longer time (jscotka@redhat.com) + +* Thu May 11 2017 Jan Scotka 0.4.17-1 +- improved makefiles and vagrant (jscotka@redhat.com) +- added new lines to doc strings (jscotka@redhat.com) +- added blank line to doc scrings (jscotka@redhat.com) + +* Thu May 11 2017 Jan Scotka 0.4.16-1 +- repaired one mistake caused by removing avocado from common library + (jscotka@redhat.com) +- repaired one mistake caused by removing avocado from common library + (jscotka@redhat.com) +- added link to read the docs documentation (jscotka@redhat.com) + +* Thu May 11 2017 Jan Scotka 0.4.15-1 +- added link to read the docs documentation (jscotka@redhat.com) +- removed dnf search via dnf command, beter to ask path directly + (jscotka@redhat.com) +- added dependencies to setup.py file (jscotka@redhat.com) +- try to be more prepared for virt-env (jscotka@redhat.com) +- delete html folder in make clean (phracek@redhat.com) +- Several documentation updates (phracek@redhat.com) +- Remove obsolete documentation (phracek@redhat.com) + +* Tue May 09 2017 Jan Scotka 0.4.14-1 +- external setup and teardown moved to begin or end of module init/clean + (jscotka@redhat.com) + +* Tue May 09 2017 Jan Scotka 0.4.13-1 +- added args and kwargs to init because baseruntime uses that -> it caused + troubles when inherited with __init__method (jscotka@redhat.com) +- typo introduced inside formatting (jscotka@redhat.com) +- removed retry block and try to use direct wait (jscotka@redhat.com) +- improved multihoste test to use created function instead of calling it + directly (jscotka@redhat.com) +- improved multihoste test to use created function instead of calling it + directly (jscotka@redhat.com) + +* Tue May 09 2017 Jan Scotka 0.4.12-1 +- solved issue with shell tests (jscotka@redhat.com) +- added longer timeout for retry, try to solve issue with shell tests + (jscotka@redhat.com) +- try to remove outside retry (jscotka@redhat.com) + +* Mon May 08 2017 Jan Scotka 0.4.11-1 +- bumped version (jscotka@redhat.com) +- disables sh test (jscotka@redhat.com) + +* Mon May 08 2017 Jan Scotka 0.4.10-1 +- disabled microdnf test to see ci for framework passing (jscotka@redhat.com) + +* Mon May 08 2017 Jan Scotka 0.4.9-1 +- imporved test module, removed bash test because it needs deeper inspection + (jscotka@redhat.com) + +* Mon May 08 2017 Jan Scotka 0.4.8-1 +- bumped version (jscotka@redhat.com) +- cleaner solution to set repos and what to install instead for rewriting class + values (jscotka@redhat.com) +- solved issues with changing to use init of classes (there is 60s timeout in + avocado) (jscotka@redhat.com) +- added debug options for shell command, there is some issue with running + nspawn on background, TODO: needs inspect (jscotka@redhat.com) +- Several updates for documentation stuff. (phracek@redhat.com) + +* Fri May 05 2017 Jan Scotka 0.4.7-1 +- version increased (jscotka@redhat.com) +- added straight usage of bashhelper python lib it is in same directory + (jscotka@redhat.com) + +* Fri May 05 2017 Jan Scotka 0.4.6-1 +- version increased (jscotka@redhat.com) +- allow use more picle file in bash helper to support more machines + (jscotka@redhat.com) +- removed workaround characters around command to have better output + (jscotka@redhat.com) +- mistake in bash helper (jscotka@redhat.com) +- imporved makefile for test module to check more possibilities + (jscotka@redhat.com) +- small typo there (jscotka@redhat.com) +- skip in setup phase should be faster (jscotka@redhat.com) + +* Thu May 04 2017 Jan Scotka 0.4.5-1 +- added better handling of running machines in nspawn (jscotka@redhat.com) + +* Thu May 04 2017 Jan Scotka 0.4.4-1 +- repaired problem with dictionary change on the fly (jscotka@redhat.com) + +* Thu May 04 2017 Jan Scotka 0.4.3-1 +- typo (jscotka@redhat.com) +- version back (jscotka@redhat.com) +- removed unwanted symlink (jscotka@redhat.com) + +* Thu May 04 2017 Jan Scotka 0.4.2-1 +- bumped version (jscotka@redhat.com) +- added info for chroot path (jscotka@redhat.com) + +* Thu May 04 2017 Jan Scotka 0.4.1-1 +- small trouble inside multios test caused by using function get correct + backend (jscotka@redhat.com) +- version increased (jscotka@redhat.com) +- added initsection for base class (jscotka@redhat.com) + +* Thu May 04 2017 Jan Scotka 0.3.32-1 +- added possibility to add more machines if you want, and play with them + (jscotka@redhat.com) + +* Thu May 04 2017 Jan Scotka 0.3.31-1 +- after discussion with jkaluza added more retry (jscotka@redhat.com) + +* Thu May 04 2017 Jan Scotka 0.3.30-1 +- added better debugging to Retry (allow to output also original exception) + (jscotka@redhat.com) + +* Thu May 04 2017 Jan Scotka 0.3.29-1 +- added possibility to retry PDC URL in case of no data (jscotka@redhat.com) + +* Wed May 03 2017 Jan Scotka 0.3.28-1 +- added better debugging in case container is not running (jscotka@redhat.com) + +* Wed May 03 2017 Jan Scotka 0.3.27-1 +- bumperd version (jscotka@redhat.com) + +* Wed May 03 2017 Jan Scotka 0.3.26-1 +- added symlink to docs directory, to enable pydoc (jscotka@redhat.com) +- Add documents for generation RTD (phracek@redhat.com) + +* Wed May 03 2017 Jan Scotka 0.3.25-1 +- version increased (jscotka@redhat.com) +- removed hardcoded dnf and microdnf commands and added possibility to use null + moduleMD file (jscotka@redhat.com) + +* Wed May 03 2017 Jan Scotka 0.3.24-1 +- adde back filter active=true for PDC, it causes strange errors + (jscotka@redhat.com) + +* Tue May 02 2017 Jan Scotka 0.3.23-1 +- bumped version (jscotka@redhat.com) + +* Tue May 02 2017 Jan Scotka 0.3.21-1 +- nspawn used inheride status/start/stop functions, it was bad, because it was + on host not inside container (jscotka@redhat.com) + +* Tue May 02 2017 Jan Scotka 0.3.20-1 +- there is missing space (jscotka@redhat.com) + +* Tue May 02 2017 Jan Scotka 0.3.19-1 +- added more packages to io install based on baseruntime baseimage profile + (jscotka@redhat.com) + +* Tue May 02 2017 Jan Scotka 0.3.18-1 +- small typo, it is not cmd but command (jscotka@redhat.com) + +* Tue May 02 2017 Jan Scotka 0.3.17-1 +- version increased (jscotka@redhat.com) +- added explicit wait after commands in nspawn (jscotka@redhat.com) +- added example how it can be used for multimachine testing in actual way + (jscotka@redhat.com) +- added better koji handling in case of missing some packages because of issue + in koji (jscotka@redhat.com) +- removed changing file inside copy test, it causes traceback on docker (bad + selinux context probably) (jscotka@redhat.com) + +* Sat Apr 29 2017 Jan Scotka 0.3.16-1 +- removed exceptions and added if expressions (jscotka@redhat.com) + +* Sat Apr 29 2017 Jan Scotka 0.3.15-1 +- allow in setup cleanup, start stop etc section to let processes at background + (jscotka@redhat.com) + +* Sat Apr 29 2017 Jan Scotka 0.3.14-1 +- fixed issue with duplicated shell cmd param (jscotka@redhat.com) + +* Sat Apr 29 2017 Jan Scotka 0.3.13-1 +- improved copy selftest (jscotka@redhat.com) + +* Sat Apr 29 2017 Jan Scotka 0.3.12-1 +- removed sleep caused big issue there, because it starts on background + (jscotka@redhat.com) + +* Sat Apr 29 2017 Jan Scotka 0.3.11-1 +- added timeout library from cockpit project, improved debug output handling in + pdc_data lib, changes in documentation, added debug option + (jscotka@redhat.com) + +* Fri Apr 28 2017 Jan Scotka 0.3.10-1 +- repaired issue when avocado returns other code that 1 (jscotka@redhat.com) + +* Fri Apr 28 2017 Jan Scotka 0.3.9-1 +- moved back to version what do copy via machinectl (jscotka@redhat.com) + +* Fri Apr 28 2017 Jan Scotka 0.3.8-1 +- added dependency solver for modules (jscotka@redhat.com) + +* Fri Apr 28 2017 Jan Scotka 0.3.7-1 +- switching to proper commit version for test (jscotka@redhat.com) + +* Fri Apr 28 2017 Jan Scotka 0.3.6-1 +- fixing logic inside (jscotka@redhat.com) +- better logging inside code and divided some variables to common library + (jscotka@redhat.com) +- list of repos in nspawn, to see how it is set (jscotka@redhat.com) + +* Fri Apr 28 2017 Jan Scotka 0.3.5-1 +- imporved package section, removed installation of all src pacakges, because + it fails manytimes with comflict packages (jscotka@redhat.com) + +* Thu Apr 27 2017 Jan Scotka 0.3.4-1 +- added value to Makefile of testing module (jscotka@redhat.com) + +* Thu Apr 27 2017 Jan Scotka 0.3.3-1 +- missing brackets for functions. causing bad output (jscotka@redhat.com) + +* Thu Apr 27 2017 Jan Scotka 0.3.2-1 +- added documentation README, and config files repaired few smalled things + called autopep8 (jscotka@redhat.com) +- rewritten part of documentation (jscotka@redhat.com) + +* Thu Apr 27 2017 Jan Scotka 0.3.1-1 +- added verbosity, it will be cleaner if you see output somehow + (jscotka@redhat.com) + +* Thu Apr 27 2017 Jan Scotka 0.2.47-1 +- solved issue with stdout and stderr for nspawn (jscotka@redhat.com) + +* Wed Apr 26 2017 Jan Scotka 0.2.46-1 +- version increasion (jscotka@redhat.com) +- removed active=true it seems that somewthing changed (jscotka@redhat.com) +- remove docker-distribution package (phracek@redhat.com) + * Wed Apr 26 2017 Jan Scotka 0.2.45-1 - copytree needs nonexisting directory (jscotka@redhat.com) @@ -104,9 +415,6 @@ chmod a+x %{buildroot}%{python_sitelib}/%{framework_name}/{module_framework,gene * Mon Apr 24 2017 Jan Scotka 0.2.30-1 - removed doing repos although it already exists (jscotka@redhat.com) -* Fri Apr 21 2017 Jan Scotka 0.2.29-1 -- - * Fri Apr 21 2017 Jan Scotka 0.2.28-1 - I've introduced mistake by this echo (jscotka@redhat.com) - I've introduced mistake by this echo (jscotka@redhat.com) @@ -140,9 +448,6 @@ chmod a+x %{buildroot}%{python_sitelib}/%{framework_name}/{module_framework,gene - added resources for baseruntime, it is copy from theitrss project (jscotka@redhat.com) -* Fri Apr 21 2017 Jan Scotka -- - * Fri Apr 21 2017 Jan Scotka 0.2.18-1 - restricted it for nspawn for now (jscotka@redhat.com) @@ -167,9 +472,6 @@ chmod a+x %{buildroot}%{python_sitelib}/%{framework_name}/{module_framework,gene - added changes to support baseruntime exit commands inside code (jscotka@redhat.com) -* Thu Apr 20 2017 Jan Scotka 0.2.12-1 -- - * Thu Apr 20 2017 Jan Scotka 0.2.11-1 - version and specfile imporved (jscotka@redhat.com) @@ -177,9 +479,6 @@ chmod a+x %{buildroot}%{python_sitelib}/%{framework_name}/{module_framework,gene - new version (jscotka@redhat.com) - new version (jscotka@redhat.com) -* Thu Apr 20 2017 Jan Scotka 0.2.9-1 -- - * Thu Apr 20 2017 Jan Scotka 0.2.8-1 - prepare for databases, add some common varibles what could be used for testing inside code and in configs (jscotka@redhat.com) @@ -337,12 +636,6 @@ chmod a+x %{buildroot}%{python_sitelib}/%{framework_name}/{module_framework,gene * Fri Mar 24 2017 Petr Hracek - 0.2.0-1 - New upstream version -* Fri Mar 24 2017 Jan Scotka 0.1.9-1 -- - -* Fri Mar 24 2017 Jan Scotka 0.1.8-1 -- - * Fri Mar 24 2017 Jan Scotka 0.1.7-1 - added symlink to testing module to minimal.yaml (jscotka@redhat.com) - removed source section form minimal config, actually is not anyhow used diff --git a/sources b/sources index 2050628..bdb2f25 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (modularity-testing-framework-0.2.45.tar.gz) = 2aa40844e474b44fbe169167e500811826608d35643c660f0c68d74894059dc787552019bdfadfb58fad549cef88ecd3437a3b98f8dde54a304bf86ddd73502b +SHA512 (modularity-testing-framework-0.5.1.tar.gz) = ee743e4d16c6032ed198c7b13135d30903f9c8168ff76b9503e05400323df7b45c2e7ea28b5b029e7cd78f4856d3e7377aa7acd431869cc49f5cbe18e2e93ee3