From b1b5ff484f979e85f8b15e8fe88be32b143061d4ce14a1d74681da8dc94b9407 Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Sun, 29 Oct 2017 09:43:03 +0000 Subject: [PATCH 01/22] osc copypac from project:devel:openQA package:os-autoinst revision:1690, using client side copy OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/os-autoinst?expand=0&rev=24 --- _service | 7 +- ...os-autoinst-4.4.1508936943.39adc5eb.tar.xz | 3 + _service:set_version:os-autoinst.spec | 173 ++++++++++++++ _service:tar_scm:_servicedata | 4 + _service:tar_scm:os-autoinst.changes | 211 ++++++++++++++++++ os-autoinst-4.4.1508936943.39adc5eb.tar.xz | 3 - os-autoinst-rpmlintrc | 1 + os-autoinst.changes | 15 -- os-autoinst.spec | 2 +- 9 files changed, 396 insertions(+), 23 deletions(-) create mode 100644 _service:recompress:tar_scm:os-autoinst-4.4.1508936943.39adc5eb.tar.xz create mode 100644 _service:set_version:os-autoinst.spec create mode 100644 _service:tar_scm:_servicedata create mode 100644 _service:tar_scm:os-autoinst.changes delete mode 100644 os-autoinst-4.4.1508936943.39adc5eb.tar.xz create mode 100644 os-autoinst-rpmlintrc diff --git a/_service b/_service index 5cd5944..78e7786 100644 --- a/_service +++ b/_service @@ -1,6 +1,5 @@ - - + 4.4 %ct.%h git://github.com/os-autoinst/os-autoinst.git @@ -9,9 +8,9 @@ enable okurz@suse.com - + xz *.tar - + diff --git a/_service:recompress:tar_scm:os-autoinst-4.4.1508936943.39adc5eb.tar.xz b/_service:recompress:tar_scm:os-autoinst-4.4.1508936943.39adc5eb.tar.xz new file mode 100644 index 0000000..d9ab8c6 --- /dev/null +++ b/_service:recompress:tar_scm:os-autoinst-4.4.1508936943.39adc5eb.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3d3365acb5598d8de9a5d5bf9fcdbc0d72323ccd7fe84bc45b6bee0497bfb90e +size 18675720 diff --git a/_service:set_version:os-autoinst.spec b/_service:set_version:os-autoinst.spec new file mode 100644 index 0000000..bf283bd --- /dev/null +++ b/_service:set_version:os-autoinst.spec @@ -0,0 +1,173 @@ +# +# spec file for package os-autoinst +# +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: os-autoinst +Version: 4.4.1508936943.39adc5eb +Release: 0 +Summary: OS-level test automation +License: GPL-2.0+ +Group: Development/Tools/Other +Source0: %{name}-%{version}.tar.xz +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gcc-c++ +BuildRequires: libtool +BuildRequires: opencv-devel +BuildRequires: pkg-config +BuildRequires: perl(Module::CPANfile) +BuildRequires: perl(Perl::Tidy) +BuildRequires: perl(Test::Compile) +BuildRequires: pkgconfig(fftw3) +BuildRequires: pkgconfig(libpng) +BuildRequires: pkgconfig(sndfile) +BuildRequires: pkgconfig(theoraenc) +%if %suse_version > 1320 +BuildRequires: perl(Perl::Critic) +%endif +Requires: /usr/bin/qemu-img +Requires: git-core +Requires: optipng +%{perl_requires} +Requires: qemu >= 2.0.0 +Requires: tesseract-ocr +Requires: withlock +%define t_requires perl(Carp::Always) perl(Data::Dump) perl(Crypt::DES) perl(JSON) perl(autodie) perl(Class::Accessor::Fast) perl(Exception::Class) perl(File::Which) perl(IPC::Run::Debug) perl(Net::DBus) perl(Net::SNMP) perl(Net::IP) perl(IPC::System::Simple) perl(Net::SSH2) perl(XML::LibXML) perl(Test::Output) perl(Test::Fatal) perl(Test::Warnings) perl(Pod::Coverage) perl(Test::Pod) perl(Test::MockModule) perl(Devel::Cover) perl(JSON::XS) perl(List::MoreUtils) perl(Test::Mock::Time) +BuildRequires: %t_requires +Requires: %t_requires +BuildRequires: perl(Mojolicious) +Requires: perl(Mojolicious) >= 5.60 +# we shuffle around a lot of JSON, so make sure this is fast +# and the JSON modules have subtle differences and we only test against XS in production +Requires: perl(JSON::XS) +Recommends: /usr/bin/xkbcomp /usr/bin/Xvnc dumponlyconsole +Requires(pre): %{_bindir}/getent +Requires(pre): %{_sbindir}/useradd +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +The OS-autoinst project aims at providing a means to run fully +automated tests. Especially to run tests of basic and low-level +operating system components such as bootloader, kernel, installer +and upgrade, which can not easily and safely be tested with other +automated testing frameworks. However, it can just as well be used +to test firefox and openoffice operation on top of a newly +installed OS. + +%package openvswitch +Summary: Openvswitch support for os-autoinst +Group: Development/Tools/Other +Requires: openvswitch +Requires: openvswitch-switch +Requires: os-autoinst + +%description openvswitch +This package contains openvswitch support for os-autoinst. + +%prep +%setup -q + +%build +mkdir -p m4 +autoreconf -f -i +%configure --docdir=%{_docdir}/%{name} +make INSTALLDIRS=vendor %{?_smp_mflags} + +%install +%make_install INSTALLDIRS=vendor +# Replace version number from git to what's reported by the package +sed -i 's/ my $thisversion = qx{git rev-parse HEAD};/ my $thisversion = "%{version}";/' %{buildroot}/usr/bin/isotovideo +# only internal stuff +rm %{buildroot}/usr/lib/os-autoinst/tools/tidy +rm -r %{buildroot}/usr/lib/os-autoinst/tools/lib/perlcritic +# +ls -lR %buildroot +find %{buildroot} -type f -name .packlist -print0 | xargs -0 --no-run-if-empty rm -f +find %{buildroot} -depth -type d -and -not -name distri -print0 | xargs -0 --no-run-if-empty rmdir 2>/dev/null || true +%perl_gen_filelist +# +# service symlink +mkdir -p %{buildroot}%{_sbindir} +ln -s ../sbin/service %{buildroot}%{_sbindir}/rcos-autoinst-openvswitch +# +# we need the stale symlinks to point to git +export NO_BRP_STALE_LINK_ERROR=yes + +%check +# disable perlcritic - too heavy dependency on old systems +if test -z "$(type -p perlcritic)"; then +sed '/perlcritic/d' -i Makefile +sed '/Perl::Critic/d' -i cpanfile +rm tools/lib/perlcritic/Perl/Critic/Policy/*.pm +fi +# don't require qemu within OBS +cp t/05-pod.t t/99-full-stack.t + +# should work offline +for p in $(cpanfile-dump); do rpm -q --whatprovides "perl($p)"; done +make check VERBOSE=1 + +%pre openvswitch +%service_add_pre os-autoinst-openvswitch.service + +%post openvswitch +%service_add_post os-autoinst-openvswitch.service + +%preun openvswitch +%service_del_preun os-autoinst-openvswitch.service + +%postun openvswitch +%service_del_postun os-autoinst-openvswitch.service + +%files -f %{name}.files +%defattr(-,root,root) +%{_docdir}/os-autoinst +%dir %{_libexecdir}/os-autoinst +%{_libexecdir}/os-autoinst/videoencoder +%{_libexecdir}/os-autoinst/basetest.pm +# +%{_libexecdir}/os-autoinst/dmidata +# +%{_libexecdir}/os-autoinst/bmwqemu.pm +%{_libexecdir}/os-autoinst/commands.pm +%{_libexecdir}/os-autoinst/distribution.pm +%{_libexecdir}/os-autoinst/testapi.pm +%{_libexecdir}/os-autoinst/mmapi.pm +%{_libexecdir}/os-autoinst/lockapi.pm +%{_libexecdir}/os-autoinst/cv.pm +%{_libexecdir}/os-autoinst/ocr.pm +%{_libexecdir}/os-autoinst/needle.pm +%{_libexecdir}/os-autoinst/osutils.pm +%{_libexecdir}/os-autoinst/myjsonrpc.pm +%{_libexecdir}/os-autoinst/backend +%{_libexecdir}/os-autoinst/OpenQA +%{_libexecdir}/os-autoinst/consoles +%dir %{_libexecdir}/os-autoinst/tools +%{_libexecdir}/os-autoinst/tools/absolutize +%{_libexecdir}/os-autoinst/tools/preparepool +%{_libexecdir}/os-autoinst/tools/check_coverage +%{_libexecdir}/os-autoinst/autotest.pm +%{_libexecdir}/os-autoinst/crop.py + +%files openvswitch +%defattr(-,root,root) +%{_libexecdir}/os-autoinst/os-autoinst-openvswitch +/usr/lib/systemd/system/os-autoinst-openvswitch.service +%config /etc/dbus-1/system.d/org.opensuse.os_autoinst.switch.conf +%{_sbindir}/rcos-autoinst-openvswitch + +%changelog diff --git a/_service:tar_scm:_servicedata b/_service:tar_scm:_servicedata new file mode 100644 index 0000000..12db1e5 --- /dev/null +++ b/_service:tar_scm:_servicedata @@ -0,0 +1,4 @@ + + + git://github.com/os-autoinst/os-autoinst.git + 39adc5eba3d594cfcaa96eb65ffe24a912dec07d \ No newline at end of file diff --git a/_service:tar_scm:os-autoinst.changes b/_service:tar_scm:os-autoinst.changes new file mode 100644 index 0000000..3bbbcc2 --- /dev/null +++ b/_service:tar_scm:os-autoinst.changes @@ -0,0 +1,211 @@ +------------------------------------------------------------------- +Sun Oct 29 09:43:12 UTC 2017 - okurz@suse.com + +- Update to version 4.4.1508936943.39adc5eb: + * Fix scale_timeout call in wait_serial function + * sshVirtsh: Hide confusing errors about undefined machines (#866) + * avoid accidentally cleaning (#865) + * Generalize x11_start_program with standard array argument (#863) + * Remove unused reload_needles property in backend + * Allow set_var to reevaluate needles + * Add option to exit early for test schedule evaluation (#853) + * Prevent diag message about _EXIT_AFTER_SCHEDULE if not requested + * Make sure select_console on broken vnc fails (#872) + * Introduce check_recorded_sound method (#873) + +------------------------------------------------------------------- +Wed Sep 20 13:32:16 UTC 2017 - coolo@suse.com + +- add Test::Mock::Time require + +------------------------------------------------------------------- +Wed Sep 20 12:12:18 UTC 2017 - okurz@suse.com + +- Update to version 4.4.1505909574.e0b4d014: + * Correct validate_script_output test to actually test something + * Add test for wait_still_screen + * testapi: Add 'no_wait' option to wait_still_screen + * Fix warning in test about 'prototype mismatch' + * Allow type_string to wait_still_screen + * Use hash ref in query_isotovideo + * Add test for wait_idle in full stack test. + * consoles: s3270: Make debug output of queue content less noisy + * Update API document referring function type_string + * Remove typing tests from integration tests (#857) + +------------------------------------------------------------------- +Sat Jun 17 17:13:00 UTC 2017 - stefan.bruens@rwth-aachen.de + +- Add dependency on matching perl version, as the tinycv module is + installed in a version dependent path +- Drop bogus conditionals, suse_version <= 132 will never match + +------------------------------------------------------------------- +Thu Mar 23 13:34:22 UTC 2017 - santiago.zarate@suse.com + +- Inline replacement for version parameter on isotovideo + +------------------------------------------------------------------- +Sun Mar 12 13:16:41 UTC 2017 - oholecek@suse.com + +- new perl(Test::Warnings) dependency + +------------------------------------------------------------------- +Wed Sep 7 14:27:00 UTC 2016 - oholecek@suse.com + +- new perl(Devel::Cover) dependency +- package os-autoinst/tools/check_coverage tool + +------------------------------------------------------------------- +Sat Jul 9 05:30:45 UTC 2016 - coolo@suse.com + +- update base version to 4.4 to express the new isotovideo API + towards the worker + +------------------------------------------------------------------- +Mon May 30 08:53:37 UTC 2016 - oholecek@suse.com + +- new perl(Test::MockModule) dependency + +------------------------------------------------------------------- +Mon Feb 15 09:15:19 UTC 2016 - oholecek@suse.com + +- new perl(Test::Output) dependency + +------------------------------------------------------------------- +Thu Jan 14 12:48:28 UTC 2016 - oholecek@suse.com + +- update base version to 4.3 + +------------------------------------------------------------------- +Tue Dec 8 19:16:38 UTC 2015 - coolo@suse.com + +- add snd2png + +------------------------------------------------------------------- +Fri Nov 27 07:49:46 UTC 2015 - coolo@suse.com + +- new dependencies + +------------------------------------------------------------------- +Tue Nov 24 09:26:26 UTC 2015 - coolo@suse.com + +- disable perlcritic outside of Factory - too useless to test with + old perlcritic versions + +------------------------------------------------------------------- +Tue Nov 24 08:53:36 UTC 2015 - coolo@suse.com + +- adapt file list + +------------------------------------------------------------------- +Tue Nov 17 05:23:43 UTC 2015 - coolo@suse.com + +- remove gone files from file list + +------------------------------------------------------------------- +Tue Aug 25 15:02:10 UTC 2015 - lnussel@suse.de + +- require tesseract-ocr on >= 13.2 + +------------------------------------------------------------------- +Thu Jul 9 14:31:50 UTC 2015 - nadvornik@suse.com + +- created os-autoinst-openvswitch subpackage + +------------------------------------------------------------------- +Tue Mar 10 10:39:17 UTC 2015 - oholecek@suse.com + +- add mmapi.pm + +------------------------------------------------------------------- +Sun Mar 1 09:59:08 UTC 2015 - oholecek@suse.com + +- add lockapi.pm + +------------------------------------------------------------------- +Thu Feb 19 15:34:02 UTC 2015 - lnussel@suse.de + +- remove fetchneedles call. now in openQA + +------------------------------------------------------------------- +Wed Jan 28 09:56:16 UTC 2015 - coolo@suse.com + +- make it version 4 + +------------------------------------------------------------------- +Thu Nov 27 18:50:31 UTC 2014 - coolo@suse.com + +- add videoencoder + +------------------------------------------------------------------- +Thu Nov 27 13:18:44 UTC 2014 - coolo@suse.com + +- add distribution.pm + +------------------------------------------------------------------- +Tue Nov 25 15:46:54 UTC 2014 - coolo@suse.com + +- recommend multimon too + +------------------------------------------------------------------- +Tue Nov 25 14:33:52 UTC 2014 - coolo@suse.com + +- add testapi.pm to the file list + +------------------------------------------------------------------- +Mon Nov 24 12:53:04 UTC 2014 - coolo@suse.com + +- recommend eatmydata for performance + +------------------------------------------------------------------- +Mon Aug 18 14:40:13 UTC 2014 - lnussel@suse.de + +- adjust filelist for removed files + +------------------------------------------------------------------- +Mon Jul 28 14:44:23 UTC 2014 - lnussel@suse.de + +- require qemu >= 2.0.0 + +------------------------------------------------------------------- +Tue Jul 8 12:36:48 UTC 2014 - lnussel@suse.de + +- include VNC.pm in file list +- add Crypt::DES to deps + +------------------------------------------------------------------- +Tue Apr 8 19:16:15 UTC 2014 - coolo@suse.com + +- remove tidy script + +------------------------------------------------------------------- +Tue Mar 25 14:35:11 UTC 2014 - lnussel@suse.de + +- remove rpc.pl from file list + +------------------------------------------------------------------- +Wed Mar 12 16:04:02 UTC 2014 - coolo@suse.com + +- require qemu-img, quite useful :) + +------------------------------------------------------------------- +Wed Mar 12 09:23:38 UTC 2014 - coolo@suse.com + +- switch github url to os-autoinst orga + +------------------------------------------------------------------- +Mon Mar 10 13:30:54 UTC 2014 - tchvatal@suse.com + +- Use devel dep over pkgconfig one to build with 11.4 opencv + +------------------------------------------------------------------- +Mon Mar 10 13:21:22 UTC 2014 - tchvatal@suse.com + +- Cleanup with spec-cleaner and use requires(pre) + +------------------------------------------------------------------- +Tue May 14 15:09:56 UTC 2013 - lnussel@suse.de + +- initial package + diff --git a/os-autoinst-4.4.1508936943.39adc5eb.tar.xz b/os-autoinst-4.4.1508936943.39adc5eb.tar.xz deleted file mode 100644 index efeb078..0000000 --- a/os-autoinst-4.4.1508936943.39adc5eb.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8aaa8effc9162a15e18220a43b9005a2ddc32920401cb65260029c15daca3b81 -size 18675788 diff --git a/os-autoinst-rpmlintrc b/os-autoinst-rpmlintrc new file mode 100644 index 0000000..0bf5fd9 --- /dev/null +++ b/os-autoinst-rpmlintrc @@ -0,0 +1 @@ +setBadness('suse-dbus-unauthorized-service', 0) diff --git a/os-autoinst.changes b/os-autoinst.changes index 98f2151..335b250 100644 --- a/os-autoinst.changes +++ b/os-autoinst.changes @@ -1,18 +1,3 @@ -------------------------------------------------------------------- -Sat Oct 28 12:25:49 UTC 2017 - okurz@suse.com - -- Update to version 4.4.1508936943.39adc5eb: - * Fix scale_timeout call in wait_serial function - * sshVirtsh: Hide confusing errors about undefined machines (#866) - * avoid accidentally cleaning (#865) - * Generalize x11_start_program with standard array argument (#863) - * Remove unused reload_needles property in backend - * Allow set_var to reevaluate needles - * Add option to exit early for test schedule evaluation (#853) - * Prevent diag message about _EXIT_AFTER_SCHEDULE if not requested - * Make sure select_console on broken vnc fails (#872) - * Introduce check_recorded_sound method (#873) - ------------------------------------------------------------------- Wed Sep 20 13:32:16 UTC 2017 - coolo@suse.com diff --git a/os-autoinst.spec b/os-autoinst.spec index bf283bd..0b39514 100644 --- a/os-autoinst.spec +++ b/os-autoinst.spec @@ -17,7 +17,7 @@ Name: os-autoinst -Version: 4.4.1508936943.39adc5eb +Version: 4.4 Release: 0 Summary: OS-level test automation License: GPL-2.0+ From 0bf5bee3bb65ea796976922797b7819aa3aecd898ce1860fb180f2caef12dc36 Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Sun, 29 Oct 2017 09:43:04 +0000 Subject: [PATCH 02/22] osc copypac from project:devel:openQA package:os-autoinst revision:1690, using client side copy OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/os-autoinst?expand=0&rev=25 --- _service:tar_scm:os-autoinst.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_service:tar_scm:os-autoinst.changes b/_service:tar_scm:os-autoinst.changes index 3bbbcc2..b6e39cc 100644 --- a/_service:tar_scm:os-autoinst.changes +++ b/_service:tar_scm:os-autoinst.changes @@ -1,5 +1,5 @@ ------------------------------------------------------------------- -Sun Oct 29 09:43:12 UTC 2017 - okurz@suse.com +Sun Oct 29 09:43:17 UTC 2017 - okurz@suse.com - Update to version 4.4.1508936943.39adc5eb: * Fix scale_timeout call in wait_serial function From 985ee1f92fc8755d106e0b060b7f1c26fee7b23099adcccd27dd08868329c230 Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Mon, 30 Oct 2017 00:28:41 +0000 Subject: [PATCH 03/22] osc copypac from project:devel:openQA package:os-autoinst revision:1690, using client side copy OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/os-autoinst?expand=0&rev=26 --- _service:tar_scm:os-autoinst.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_service:tar_scm:os-autoinst.changes b/_service:tar_scm:os-autoinst.changes index b6e39cc..ed146d7 100644 --- a/_service:tar_scm:os-autoinst.changes +++ b/_service:tar_scm:os-autoinst.changes @@ -1,5 +1,5 @@ ------------------------------------------------------------------- -Sun Oct 29 09:43:17 UTC 2017 - okurz@suse.com +Mon Oct 30 00:28:49 UTC 2017 - okurz@suse.com - Update to version 4.4.1508936943.39adc5eb: * Fix scale_timeout call in wait_serial function From 5adb2f77e31c0b9ce0e83b5ab0a6308d2287233d08334063d1b245133c26f99b Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Mon, 30 Oct 2017 00:28:42 +0000 Subject: [PATCH 04/22] osc copypac from project:devel:openQA package:os-autoinst revision:1690, using client side copy OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/os-autoinst?expand=0&rev=27 --- _service:tar_scm:os-autoinst.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_service:tar_scm:os-autoinst.changes b/_service:tar_scm:os-autoinst.changes index ed146d7..ff4ee19 100644 --- a/_service:tar_scm:os-autoinst.changes +++ b/_service:tar_scm:os-autoinst.changes @@ -1,5 +1,5 @@ ------------------------------------------------------------------- -Mon Oct 30 00:28:49 UTC 2017 - okurz@suse.com +Mon Oct 30 00:28:54 UTC 2017 - okurz@suse.com - Update to version 4.4.1508936943.39adc5eb: * Fix scale_timeout call in wait_serial function From 449a7da97ca0c566c7e3e3e96ff9eb27a2febb4793e52838accea0231b698323 Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Mon, 30 Oct 2017 08:35:56 +0000 Subject: [PATCH 05/22] osc copypac from project:devel:openQA package:os-autoinst revision:1690, using client side copy OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/os-autoinst?expand=0&rev=28 --- _service:tar_scm:os-autoinst.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_service:tar_scm:os-autoinst.changes b/_service:tar_scm:os-autoinst.changes index ff4ee19..afd29f4 100644 --- a/_service:tar_scm:os-autoinst.changes +++ b/_service:tar_scm:os-autoinst.changes @@ -1,5 +1,5 @@ ------------------------------------------------------------------- -Mon Oct 30 00:28:54 UTC 2017 - okurz@suse.com +Mon Oct 30 08:36:07 UTC 2017 - okurz@suse.com - Update to version 4.4.1508936943.39adc5eb: * Fix scale_timeout call in wait_serial function From 67803de0ce8d89903d0264d6ff9df983bcaf66810e3cbe0935021844548cad86 Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Mon, 30 Oct 2017 08:35:56 +0000 Subject: [PATCH 06/22] osc copypac from project:devel:openQA package:os-autoinst revision:1690, using client side copy OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/os-autoinst?expand=0&rev=29 --- _service:tar_scm:os-autoinst.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_service:tar_scm:os-autoinst.changes b/_service:tar_scm:os-autoinst.changes index afd29f4..59cac54 100644 --- a/_service:tar_scm:os-autoinst.changes +++ b/_service:tar_scm:os-autoinst.changes @@ -1,5 +1,5 @@ ------------------------------------------------------------------- -Mon Oct 30 08:36:07 UTC 2017 - okurz@suse.com +Mon Oct 30 08:36:12 UTC 2017 - okurz@suse.com - Update to version 4.4.1508936943.39adc5eb: * Fix scale_timeout call in wait_serial function From 412c77e7bc6585f5f7e4627995818dada6104ae31f39bb8e38fc9cc27820c8b9 Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Mon, 30 Oct 2017 08:40:46 +0000 Subject: [PATCH 07/22] Offline generation of 4.4.1508936943.39adc5eb OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/os-autoinst?expand=0&rev=30 --- _service | 7 +- _service:set_version:os-autoinst.spec | 173 -------------- _service:tar_scm:_servicedata | 4 - _service:tar_scm:os-autoinst.changes | 211 ------------------ ...os-autoinst-4.4.1508936943.39adc5eb.tar.xz | 0 os-autoinst.changes | 15 ++ os-autoinst.spec | 2 +- 7 files changed, 20 insertions(+), 392 deletions(-) delete mode 100644 _service:set_version:os-autoinst.spec delete mode 100644 _service:tar_scm:_servicedata delete mode 100644 _service:tar_scm:os-autoinst.changes rename _service:recompress:tar_scm:os-autoinst-4.4.1508936943.39adc5eb.tar.xz => os-autoinst-4.4.1508936943.39adc5eb.tar.xz (100%) diff --git a/_service b/_service index 78e7786..5cd5944 100644 --- a/_service +++ b/_service @@ -1,5 +1,6 @@ + - + 4.4 %ct.%h git://github.com/os-autoinst/os-autoinst.git @@ -8,9 +9,9 @@ enable okurz@suse.com - + xz *.tar - + diff --git a/_service:set_version:os-autoinst.spec b/_service:set_version:os-autoinst.spec deleted file mode 100644 index bf283bd..0000000 --- a/_service:set_version:os-autoinst.spec +++ /dev/null @@ -1,173 +0,0 @@ -# -# spec file for package os-autoinst -# -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. - -# Please submit bugfixes or comments via http://bugs.opensuse.org/ -# - - -Name: os-autoinst -Version: 4.4.1508936943.39adc5eb -Release: 0 -Summary: OS-level test automation -License: GPL-2.0+ -Group: Development/Tools/Other -Source0: %{name}-%{version}.tar.xz -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: gcc-c++ -BuildRequires: libtool -BuildRequires: opencv-devel -BuildRequires: pkg-config -BuildRequires: perl(Module::CPANfile) -BuildRequires: perl(Perl::Tidy) -BuildRequires: perl(Test::Compile) -BuildRequires: pkgconfig(fftw3) -BuildRequires: pkgconfig(libpng) -BuildRequires: pkgconfig(sndfile) -BuildRequires: pkgconfig(theoraenc) -%if %suse_version > 1320 -BuildRequires: perl(Perl::Critic) -%endif -Requires: /usr/bin/qemu-img -Requires: git-core -Requires: optipng -%{perl_requires} -Requires: qemu >= 2.0.0 -Requires: tesseract-ocr -Requires: withlock -%define t_requires perl(Carp::Always) perl(Data::Dump) perl(Crypt::DES) perl(JSON) perl(autodie) perl(Class::Accessor::Fast) perl(Exception::Class) perl(File::Which) perl(IPC::Run::Debug) perl(Net::DBus) perl(Net::SNMP) perl(Net::IP) perl(IPC::System::Simple) perl(Net::SSH2) perl(XML::LibXML) perl(Test::Output) perl(Test::Fatal) perl(Test::Warnings) perl(Pod::Coverage) perl(Test::Pod) perl(Test::MockModule) perl(Devel::Cover) perl(JSON::XS) perl(List::MoreUtils) perl(Test::Mock::Time) -BuildRequires: %t_requires -Requires: %t_requires -BuildRequires: perl(Mojolicious) -Requires: perl(Mojolicious) >= 5.60 -# we shuffle around a lot of JSON, so make sure this is fast -# and the JSON modules have subtle differences and we only test against XS in production -Requires: perl(JSON::XS) -Recommends: /usr/bin/xkbcomp /usr/bin/Xvnc dumponlyconsole -Requires(pre): %{_bindir}/getent -Requires(pre): %{_sbindir}/useradd -BuildRoot: %{_tmppath}/%{name}-%{version}-build - -%description -The OS-autoinst project aims at providing a means to run fully -automated tests. Especially to run tests of basic and low-level -operating system components such as bootloader, kernel, installer -and upgrade, which can not easily and safely be tested with other -automated testing frameworks. However, it can just as well be used -to test firefox and openoffice operation on top of a newly -installed OS. - -%package openvswitch -Summary: Openvswitch support for os-autoinst -Group: Development/Tools/Other -Requires: openvswitch -Requires: openvswitch-switch -Requires: os-autoinst - -%description openvswitch -This package contains openvswitch support for os-autoinst. - -%prep -%setup -q - -%build -mkdir -p m4 -autoreconf -f -i -%configure --docdir=%{_docdir}/%{name} -make INSTALLDIRS=vendor %{?_smp_mflags} - -%install -%make_install INSTALLDIRS=vendor -# Replace version number from git to what's reported by the package -sed -i 's/ my $thisversion = qx{git rev-parse HEAD};/ my $thisversion = "%{version}";/' %{buildroot}/usr/bin/isotovideo -# only internal stuff -rm %{buildroot}/usr/lib/os-autoinst/tools/tidy -rm -r %{buildroot}/usr/lib/os-autoinst/tools/lib/perlcritic -# -ls -lR %buildroot -find %{buildroot} -type f -name .packlist -print0 | xargs -0 --no-run-if-empty rm -f -find %{buildroot} -depth -type d -and -not -name distri -print0 | xargs -0 --no-run-if-empty rmdir 2>/dev/null || true -%perl_gen_filelist -# -# service symlink -mkdir -p %{buildroot}%{_sbindir} -ln -s ../sbin/service %{buildroot}%{_sbindir}/rcos-autoinst-openvswitch -# -# we need the stale symlinks to point to git -export NO_BRP_STALE_LINK_ERROR=yes - -%check -# disable perlcritic - too heavy dependency on old systems -if test -z "$(type -p perlcritic)"; then -sed '/perlcritic/d' -i Makefile -sed '/Perl::Critic/d' -i cpanfile -rm tools/lib/perlcritic/Perl/Critic/Policy/*.pm -fi -# don't require qemu within OBS -cp t/05-pod.t t/99-full-stack.t - -# should work offline -for p in $(cpanfile-dump); do rpm -q --whatprovides "perl($p)"; done -make check VERBOSE=1 - -%pre openvswitch -%service_add_pre os-autoinst-openvswitch.service - -%post openvswitch -%service_add_post os-autoinst-openvswitch.service - -%preun openvswitch -%service_del_preun os-autoinst-openvswitch.service - -%postun openvswitch -%service_del_postun os-autoinst-openvswitch.service - -%files -f %{name}.files -%defattr(-,root,root) -%{_docdir}/os-autoinst -%dir %{_libexecdir}/os-autoinst -%{_libexecdir}/os-autoinst/videoencoder -%{_libexecdir}/os-autoinst/basetest.pm -# -%{_libexecdir}/os-autoinst/dmidata -# -%{_libexecdir}/os-autoinst/bmwqemu.pm -%{_libexecdir}/os-autoinst/commands.pm -%{_libexecdir}/os-autoinst/distribution.pm -%{_libexecdir}/os-autoinst/testapi.pm -%{_libexecdir}/os-autoinst/mmapi.pm -%{_libexecdir}/os-autoinst/lockapi.pm -%{_libexecdir}/os-autoinst/cv.pm -%{_libexecdir}/os-autoinst/ocr.pm -%{_libexecdir}/os-autoinst/needle.pm -%{_libexecdir}/os-autoinst/osutils.pm -%{_libexecdir}/os-autoinst/myjsonrpc.pm -%{_libexecdir}/os-autoinst/backend -%{_libexecdir}/os-autoinst/OpenQA -%{_libexecdir}/os-autoinst/consoles -%dir %{_libexecdir}/os-autoinst/tools -%{_libexecdir}/os-autoinst/tools/absolutize -%{_libexecdir}/os-autoinst/tools/preparepool -%{_libexecdir}/os-autoinst/tools/check_coverage -%{_libexecdir}/os-autoinst/autotest.pm -%{_libexecdir}/os-autoinst/crop.py - -%files openvswitch -%defattr(-,root,root) -%{_libexecdir}/os-autoinst/os-autoinst-openvswitch -/usr/lib/systemd/system/os-autoinst-openvswitch.service -%config /etc/dbus-1/system.d/org.opensuse.os_autoinst.switch.conf -%{_sbindir}/rcos-autoinst-openvswitch - -%changelog diff --git a/_service:tar_scm:_servicedata b/_service:tar_scm:_servicedata deleted file mode 100644 index 12db1e5..0000000 --- a/_service:tar_scm:_servicedata +++ /dev/null @@ -1,4 +0,0 @@ - - - git://github.com/os-autoinst/os-autoinst.git - 39adc5eba3d594cfcaa96eb65ffe24a912dec07d \ No newline at end of file diff --git a/_service:tar_scm:os-autoinst.changes b/_service:tar_scm:os-autoinst.changes deleted file mode 100644 index 59cac54..0000000 --- a/_service:tar_scm:os-autoinst.changes +++ /dev/null @@ -1,211 +0,0 @@ -------------------------------------------------------------------- -Mon Oct 30 08:36:12 UTC 2017 - okurz@suse.com - -- Update to version 4.4.1508936943.39adc5eb: - * Fix scale_timeout call in wait_serial function - * sshVirtsh: Hide confusing errors about undefined machines (#866) - * avoid accidentally cleaning (#865) - * Generalize x11_start_program with standard array argument (#863) - * Remove unused reload_needles property in backend - * Allow set_var to reevaluate needles - * Add option to exit early for test schedule evaluation (#853) - * Prevent diag message about _EXIT_AFTER_SCHEDULE if not requested - * Make sure select_console on broken vnc fails (#872) - * Introduce check_recorded_sound method (#873) - -------------------------------------------------------------------- -Wed Sep 20 13:32:16 UTC 2017 - coolo@suse.com - -- add Test::Mock::Time require - -------------------------------------------------------------------- -Wed Sep 20 12:12:18 UTC 2017 - okurz@suse.com - -- Update to version 4.4.1505909574.e0b4d014: - * Correct validate_script_output test to actually test something - * Add test for wait_still_screen - * testapi: Add 'no_wait' option to wait_still_screen - * Fix warning in test about 'prototype mismatch' - * Allow type_string to wait_still_screen - * Use hash ref in query_isotovideo - * Add test for wait_idle in full stack test. - * consoles: s3270: Make debug output of queue content less noisy - * Update API document referring function type_string - * Remove typing tests from integration tests (#857) - -------------------------------------------------------------------- -Sat Jun 17 17:13:00 UTC 2017 - stefan.bruens@rwth-aachen.de - -- Add dependency on matching perl version, as the tinycv module is - installed in a version dependent path -- Drop bogus conditionals, suse_version <= 132 will never match - -------------------------------------------------------------------- -Thu Mar 23 13:34:22 UTC 2017 - santiago.zarate@suse.com - -- Inline replacement for version parameter on isotovideo - -------------------------------------------------------------------- -Sun Mar 12 13:16:41 UTC 2017 - oholecek@suse.com - -- new perl(Test::Warnings) dependency - -------------------------------------------------------------------- -Wed Sep 7 14:27:00 UTC 2016 - oholecek@suse.com - -- new perl(Devel::Cover) dependency -- package os-autoinst/tools/check_coverage tool - -------------------------------------------------------------------- -Sat Jul 9 05:30:45 UTC 2016 - coolo@suse.com - -- update base version to 4.4 to express the new isotovideo API - towards the worker - -------------------------------------------------------------------- -Mon May 30 08:53:37 UTC 2016 - oholecek@suse.com - -- new perl(Test::MockModule) dependency - -------------------------------------------------------------------- -Mon Feb 15 09:15:19 UTC 2016 - oholecek@suse.com - -- new perl(Test::Output) dependency - -------------------------------------------------------------------- -Thu Jan 14 12:48:28 UTC 2016 - oholecek@suse.com - -- update base version to 4.3 - -------------------------------------------------------------------- -Tue Dec 8 19:16:38 UTC 2015 - coolo@suse.com - -- add snd2png - -------------------------------------------------------------------- -Fri Nov 27 07:49:46 UTC 2015 - coolo@suse.com - -- new dependencies - -------------------------------------------------------------------- -Tue Nov 24 09:26:26 UTC 2015 - coolo@suse.com - -- disable perlcritic outside of Factory - too useless to test with - old perlcritic versions - -------------------------------------------------------------------- -Tue Nov 24 08:53:36 UTC 2015 - coolo@suse.com - -- adapt file list - -------------------------------------------------------------------- -Tue Nov 17 05:23:43 UTC 2015 - coolo@suse.com - -- remove gone files from file list - -------------------------------------------------------------------- -Tue Aug 25 15:02:10 UTC 2015 - lnussel@suse.de - -- require tesseract-ocr on >= 13.2 - -------------------------------------------------------------------- -Thu Jul 9 14:31:50 UTC 2015 - nadvornik@suse.com - -- created os-autoinst-openvswitch subpackage - -------------------------------------------------------------------- -Tue Mar 10 10:39:17 UTC 2015 - oholecek@suse.com - -- add mmapi.pm - -------------------------------------------------------------------- -Sun Mar 1 09:59:08 UTC 2015 - oholecek@suse.com - -- add lockapi.pm - -------------------------------------------------------------------- -Thu Feb 19 15:34:02 UTC 2015 - lnussel@suse.de - -- remove fetchneedles call. now in openQA - -------------------------------------------------------------------- -Wed Jan 28 09:56:16 UTC 2015 - coolo@suse.com - -- make it version 4 - -------------------------------------------------------------------- -Thu Nov 27 18:50:31 UTC 2014 - coolo@suse.com - -- add videoencoder - -------------------------------------------------------------------- -Thu Nov 27 13:18:44 UTC 2014 - coolo@suse.com - -- add distribution.pm - -------------------------------------------------------------------- -Tue Nov 25 15:46:54 UTC 2014 - coolo@suse.com - -- recommend multimon too - -------------------------------------------------------------------- -Tue Nov 25 14:33:52 UTC 2014 - coolo@suse.com - -- add testapi.pm to the file list - -------------------------------------------------------------------- -Mon Nov 24 12:53:04 UTC 2014 - coolo@suse.com - -- recommend eatmydata for performance - -------------------------------------------------------------------- -Mon Aug 18 14:40:13 UTC 2014 - lnussel@suse.de - -- adjust filelist for removed files - -------------------------------------------------------------------- -Mon Jul 28 14:44:23 UTC 2014 - lnussel@suse.de - -- require qemu >= 2.0.0 - -------------------------------------------------------------------- -Tue Jul 8 12:36:48 UTC 2014 - lnussel@suse.de - -- include VNC.pm in file list -- add Crypt::DES to deps - -------------------------------------------------------------------- -Tue Apr 8 19:16:15 UTC 2014 - coolo@suse.com - -- remove tidy script - -------------------------------------------------------------------- -Tue Mar 25 14:35:11 UTC 2014 - lnussel@suse.de - -- remove rpc.pl from file list - -------------------------------------------------------------------- -Wed Mar 12 16:04:02 UTC 2014 - coolo@suse.com - -- require qemu-img, quite useful :) - -------------------------------------------------------------------- -Wed Mar 12 09:23:38 UTC 2014 - coolo@suse.com - -- switch github url to os-autoinst orga - -------------------------------------------------------------------- -Mon Mar 10 13:30:54 UTC 2014 - tchvatal@suse.com - -- Use devel dep over pkgconfig one to build with 11.4 opencv - -------------------------------------------------------------------- -Mon Mar 10 13:21:22 UTC 2014 - tchvatal@suse.com - -- Cleanup with spec-cleaner and use requires(pre) - -------------------------------------------------------------------- -Tue May 14 15:09:56 UTC 2013 - lnussel@suse.de - -- initial package - diff --git a/_service:recompress:tar_scm:os-autoinst-4.4.1508936943.39adc5eb.tar.xz b/os-autoinst-4.4.1508936943.39adc5eb.tar.xz similarity index 100% rename from _service:recompress:tar_scm:os-autoinst-4.4.1508936943.39adc5eb.tar.xz rename to os-autoinst-4.4.1508936943.39adc5eb.tar.xz diff --git a/os-autoinst.changes b/os-autoinst.changes index 335b250..d42e419 100644 --- a/os-autoinst.changes +++ b/os-autoinst.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Mon Oct 30 08:39:44 UTC 2017 - okurz@suse.com + +- Update to version 4.4.1508936943.39adc5eb: + * Fix scale_timeout call in wait_serial function + * sshVirtsh: Hide confusing errors about undefined machines (#866) + * avoid accidentally cleaning (#865) + * Generalize x11_start_program with standard array argument (#863) + * Remove unused reload_needles property in backend + * Allow set_var to reevaluate needles + * Add option to exit early for test schedule evaluation (#853) + * Prevent diag message about _EXIT_AFTER_SCHEDULE if not requested + * Make sure select_console on broken vnc fails (#872) + * Introduce check_recorded_sound method (#873) + ------------------------------------------------------------------- Wed Sep 20 13:32:16 UTC 2017 - coolo@suse.com diff --git a/os-autoinst.spec b/os-autoinst.spec index 0b39514..bf283bd 100644 --- a/os-autoinst.spec +++ b/os-autoinst.spec @@ -17,7 +17,7 @@ Name: os-autoinst -Version: 4.4 +Version: 4.4.1508936943.39adc5eb Release: 0 Summary: OS-level test automation License: GPL-2.0+ From 4aa1857373177177c9c0ed880d7a44273376bda4e9567692069b72dc7f1d7741 Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Mon, 30 Oct 2017 11:01:00 +0000 Subject: [PATCH 08/22] osc copypac from project:devel:openQA package:os-autoinst revision:1690, using client side copy OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/os-autoinst?expand=0&rev=31 --- _service | 7 +- ...os-autoinst-4.4.1508936943.39adc5eb.tar.xz | 0 _service:set_version:os-autoinst.spec | 173 ++++++++++++++ _service:tar_scm:_servicedata | 4 + _service:tar_scm:os-autoinst.changes | 211 ++++++++++++++++++ os-autoinst.changes | 15 -- os-autoinst.spec | 2 +- 7 files changed, 392 insertions(+), 20 deletions(-) rename os-autoinst-4.4.1508936943.39adc5eb.tar.xz => _service:recompress:tar_scm:os-autoinst-4.4.1508936943.39adc5eb.tar.xz (100%) create mode 100644 _service:set_version:os-autoinst.spec create mode 100644 _service:tar_scm:_servicedata create mode 100644 _service:tar_scm:os-autoinst.changes diff --git a/_service b/_service index 5cd5944..78e7786 100644 --- a/_service +++ b/_service @@ -1,6 +1,5 @@ - - + 4.4 %ct.%h git://github.com/os-autoinst/os-autoinst.git @@ -9,9 +8,9 @@ enable okurz@suse.com - + xz *.tar - + diff --git a/os-autoinst-4.4.1508936943.39adc5eb.tar.xz b/_service:recompress:tar_scm:os-autoinst-4.4.1508936943.39adc5eb.tar.xz similarity index 100% rename from os-autoinst-4.4.1508936943.39adc5eb.tar.xz rename to _service:recompress:tar_scm:os-autoinst-4.4.1508936943.39adc5eb.tar.xz diff --git a/_service:set_version:os-autoinst.spec b/_service:set_version:os-autoinst.spec new file mode 100644 index 0000000..bf283bd --- /dev/null +++ b/_service:set_version:os-autoinst.spec @@ -0,0 +1,173 @@ +# +# spec file for package os-autoinst +# +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: os-autoinst +Version: 4.4.1508936943.39adc5eb +Release: 0 +Summary: OS-level test automation +License: GPL-2.0+ +Group: Development/Tools/Other +Source0: %{name}-%{version}.tar.xz +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gcc-c++ +BuildRequires: libtool +BuildRequires: opencv-devel +BuildRequires: pkg-config +BuildRequires: perl(Module::CPANfile) +BuildRequires: perl(Perl::Tidy) +BuildRequires: perl(Test::Compile) +BuildRequires: pkgconfig(fftw3) +BuildRequires: pkgconfig(libpng) +BuildRequires: pkgconfig(sndfile) +BuildRequires: pkgconfig(theoraenc) +%if %suse_version > 1320 +BuildRequires: perl(Perl::Critic) +%endif +Requires: /usr/bin/qemu-img +Requires: git-core +Requires: optipng +%{perl_requires} +Requires: qemu >= 2.0.0 +Requires: tesseract-ocr +Requires: withlock +%define t_requires perl(Carp::Always) perl(Data::Dump) perl(Crypt::DES) perl(JSON) perl(autodie) perl(Class::Accessor::Fast) perl(Exception::Class) perl(File::Which) perl(IPC::Run::Debug) perl(Net::DBus) perl(Net::SNMP) perl(Net::IP) perl(IPC::System::Simple) perl(Net::SSH2) perl(XML::LibXML) perl(Test::Output) perl(Test::Fatal) perl(Test::Warnings) perl(Pod::Coverage) perl(Test::Pod) perl(Test::MockModule) perl(Devel::Cover) perl(JSON::XS) perl(List::MoreUtils) perl(Test::Mock::Time) +BuildRequires: %t_requires +Requires: %t_requires +BuildRequires: perl(Mojolicious) +Requires: perl(Mojolicious) >= 5.60 +# we shuffle around a lot of JSON, so make sure this is fast +# and the JSON modules have subtle differences and we only test against XS in production +Requires: perl(JSON::XS) +Recommends: /usr/bin/xkbcomp /usr/bin/Xvnc dumponlyconsole +Requires(pre): %{_bindir}/getent +Requires(pre): %{_sbindir}/useradd +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +The OS-autoinst project aims at providing a means to run fully +automated tests. Especially to run tests of basic and low-level +operating system components such as bootloader, kernel, installer +and upgrade, which can not easily and safely be tested with other +automated testing frameworks. However, it can just as well be used +to test firefox and openoffice operation on top of a newly +installed OS. + +%package openvswitch +Summary: Openvswitch support for os-autoinst +Group: Development/Tools/Other +Requires: openvswitch +Requires: openvswitch-switch +Requires: os-autoinst + +%description openvswitch +This package contains openvswitch support for os-autoinst. + +%prep +%setup -q + +%build +mkdir -p m4 +autoreconf -f -i +%configure --docdir=%{_docdir}/%{name} +make INSTALLDIRS=vendor %{?_smp_mflags} + +%install +%make_install INSTALLDIRS=vendor +# Replace version number from git to what's reported by the package +sed -i 's/ my $thisversion = qx{git rev-parse HEAD};/ my $thisversion = "%{version}";/' %{buildroot}/usr/bin/isotovideo +# only internal stuff +rm %{buildroot}/usr/lib/os-autoinst/tools/tidy +rm -r %{buildroot}/usr/lib/os-autoinst/tools/lib/perlcritic +# +ls -lR %buildroot +find %{buildroot} -type f -name .packlist -print0 | xargs -0 --no-run-if-empty rm -f +find %{buildroot} -depth -type d -and -not -name distri -print0 | xargs -0 --no-run-if-empty rmdir 2>/dev/null || true +%perl_gen_filelist +# +# service symlink +mkdir -p %{buildroot}%{_sbindir} +ln -s ../sbin/service %{buildroot}%{_sbindir}/rcos-autoinst-openvswitch +# +# we need the stale symlinks to point to git +export NO_BRP_STALE_LINK_ERROR=yes + +%check +# disable perlcritic - too heavy dependency on old systems +if test -z "$(type -p perlcritic)"; then +sed '/perlcritic/d' -i Makefile +sed '/Perl::Critic/d' -i cpanfile +rm tools/lib/perlcritic/Perl/Critic/Policy/*.pm +fi +# don't require qemu within OBS +cp t/05-pod.t t/99-full-stack.t + +# should work offline +for p in $(cpanfile-dump); do rpm -q --whatprovides "perl($p)"; done +make check VERBOSE=1 + +%pre openvswitch +%service_add_pre os-autoinst-openvswitch.service + +%post openvswitch +%service_add_post os-autoinst-openvswitch.service + +%preun openvswitch +%service_del_preun os-autoinst-openvswitch.service + +%postun openvswitch +%service_del_postun os-autoinst-openvswitch.service + +%files -f %{name}.files +%defattr(-,root,root) +%{_docdir}/os-autoinst +%dir %{_libexecdir}/os-autoinst +%{_libexecdir}/os-autoinst/videoencoder +%{_libexecdir}/os-autoinst/basetest.pm +# +%{_libexecdir}/os-autoinst/dmidata +# +%{_libexecdir}/os-autoinst/bmwqemu.pm +%{_libexecdir}/os-autoinst/commands.pm +%{_libexecdir}/os-autoinst/distribution.pm +%{_libexecdir}/os-autoinst/testapi.pm +%{_libexecdir}/os-autoinst/mmapi.pm +%{_libexecdir}/os-autoinst/lockapi.pm +%{_libexecdir}/os-autoinst/cv.pm +%{_libexecdir}/os-autoinst/ocr.pm +%{_libexecdir}/os-autoinst/needle.pm +%{_libexecdir}/os-autoinst/osutils.pm +%{_libexecdir}/os-autoinst/myjsonrpc.pm +%{_libexecdir}/os-autoinst/backend +%{_libexecdir}/os-autoinst/OpenQA +%{_libexecdir}/os-autoinst/consoles +%dir %{_libexecdir}/os-autoinst/tools +%{_libexecdir}/os-autoinst/tools/absolutize +%{_libexecdir}/os-autoinst/tools/preparepool +%{_libexecdir}/os-autoinst/tools/check_coverage +%{_libexecdir}/os-autoinst/autotest.pm +%{_libexecdir}/os-autoinst/crop.py + +%files openvswitch +%defattr(-,root,root) +%{_libexecdir}/os-autoinst/os-autoinst-openvswitch +/usr/lib/systemd/system/os-autoinst-openvswitch.service +%config /etc/dbus-1/system.d/org.opensuse.os_autoinst.switch.conf +%{_sbindir}/rcos-autoinst-openvswitch + +%changelog diff --git a/_service:tar_scm:_servicedata b/_service:tar_scm:_servicedata new file mode 100644 index 0000000..12db1e5 --- /dev/null +++ b/_service:tar_scm:_servicedata @@ -0,0 +1,4 @@ + + + git://github.com/os-autoinst/os-autoinst.git + 39adc5eba3d594cfcaa96eb65ffe24a912dec07d \ No newline at end of file diff --git a/_service:tar_scm:os-autoinst.changes b/_service:tar_scm:os-autoinst.changes new file mode 100644 index 0000000..6135a1d --- /dev/null +++ b/_service:tar_scm:os-autoinst.changes @@ -0,0 +1,211 @@ +------------------------------------------------------------------- +Mon Oct 30 11:01:14 UTC 2017 - okurz@suse.com + +- Update to version 4.4.1508936943.39adc5eb: + * Fix scale_timeout call in wait_serial function + * sshVirtsh: Hide confusing errors about undefined machines (#866) + * avoid accidentally cleaning (#865) + * Generalize x11_start_program with standard array argument (#863) + * Remove unused reload_needles property in backend + * Allow set_var to reevaluate needles + * Add option to exit early for test schedule evaluation (#853) + * Prevent diag message about _EXIT_AFTER_SCHEDULE if not requested + * Make sure select_console on broken vnc fails (#872) + * Introduce check_recorded_sound method (#873) + +------------------------------------------------------------------- +Wed Sep 20 13:32:16 UTC 2017 - coolo@suse.com + +- add Test::Mock::Time require + +------------------------------------------------------------------- +Wed Sep 20 12:12:18 UTC 2017 - okurz@suse.com + +- Update to version 4.4.1505909574.e0b4d014: + * Correct validate_script_output test to actually test something + * Add test for wait_still_screen + * testapi: Add 'no_wait' option to wait_still_screen + * Fix warning in test about 'prototype mismatch' + * Allow type_string to wait_still_screen + * Use hash ref in query_isotovideo + * Add test for wait_idle in full stack test. + * consoles: s3270: Make debug output of queue content less noisy + * Update API document referring function type_string + * Remove typing tests from integration tests (#857) + +------------------------------------------------------------------- +Sat Jun 17 17:13:00 UTC 2017 - stefan.bruens@rwth-aachen.de + +- Add dependency on matching perl version, as the tinycv module is + installed in a version dependent path +- Drop bogus conditionals, suse_version <= 132 will never match + +------------------------------------------------------------------- +Thu Mar 23 13:34:22 UTC 2017 - santiago.zarate@suse.com + +- Inline replacement for version parameter on isotovideo + +------------------------------------------------------------------- +Sun Mar 12 13:16:41 UTC 2017 - oholecek@suse.com + +- new perl(Test::Warnings) dependency + +------------------------------------------------------------------- +Wed Sep 7 14:27:00 UTC 2016 - oholecek@suse.com + +- new perl(Devel::Cover) dependency +- package os-autoinst/tools/check_coverage tool + +------------------------------------------------------------------- +Sat Jul 9 05:30:45 UTC 2016 - coolo@suse.com + +- update base version to 4.4 to express the new isotovideo API + towards the worker + +------------------------------------------------------------------- +Mon May 30 08:53:37 UTC 2016 - oholecek@suse.com + +- new perl(Test::MockModule) dependency + +------------------------------------------------------------------- +Mon Feb 15 09:15:19 UTC 2016 - oholecek@suse.com + +- new perl(Test::Output) dependency + +------------------------------------------------------------------- +Thu Jan 14 12:48:28 UTC 2016 - oholecek@suse.com + +- update base version to 4.3 + +------------------------------------------------------------------- +Tue Dec 8 19:16:38 UTC 2015 - coolo@suse.com + +- add snd2png + +------------------------------------------------------------------- +Fri Nov 27 07:49:46 UTC 2015 - coolo@suse.com + +- new dependencies + +------------------------------------------------------------------- +Tue Nov 24 09:26:26 UTC 2015 - coolo@suse.com + +- disable perlcritic outside of Factory - too useless to test with + old perlcritic versions + +------------------------------------------------------------------- +Tue Nov 24 08:53:36 UTC 2015 - coolo@suse.com + +- adapt file list + +------------------------------------------------------------------- +Tue Nov 17 05:23:43 UTC 2015 - coolo@suse.com + +- remove gone files from file list + +------------------------------------------------------------------- +Tue Aug 25 15:02:10 UTC 2015 - lnussel@suse.de + +- require tesseract-ocr on >= 13.2 + +------------------------------------------------------------------- +Thu Jul 9 14:31:50 UTC 2015 - nadvornik@suse.com + +- created os-autoinst-openvswitch subpackage + +------------------------------------------------------------------- +Tue Mar 10 10:39:17 UTC 2015 - oholecek@suse.com + +- add mmapi.pm + +------------------------------------------------------------------- +Sun Mar 1 09:59:08 UTC 2015 - oholecek@suse.com + +- add lockapi.pm + +------------------------------------------------------------------- +Thu Feb 19 15:34:02 UTC 2015 - lnussel@suse.de + +- remove fetchneedles call. now in openQA + +------------------------------------------------------------------- +Wed Jan 28 09:56:16 UTC 2015 - coolo@suse.com + +- make it version 4 + +------------------------------------------------------------------- +Thu Nov 27 18:50:31 UTC 2014 - coolo@suse.com + +- add videoencoder + +------------------------------------------------------------------- +Thu Nov 27 13:18:44 UTC 2014 - coolo@suse.com + +- add distribution.pm + +------------------------------------------------------------------- +Tue Nov 25 15:46:54 UTC 2014 - coolo@suse.com + +- recommend multimon too + +------------------------------------------------------------------- +Tue Nov 25 14:33:52 UTC 2014 - coolo@suse.com + +- add testapi.pm to the file list + +------------------------------------------------------------------- +Mon Nov 24 12:53:04 UTC 2014 - coolo@suse.com + +- recommend eatmydata for performance + +------------------------------------------------------------------- +Mon Aug 18 14:40:13 UTC 2014 - lnussel@suse.de + +- adjust filelist for removed files + +------------------------------------------------------------------- +Mon Jul 28 14:44:23 UTC 2014 - lnussel@suse.de + +- require qemu >= 2.0.0 + +------------------------------------------------------------------- +Tue Jul 8 12:36:48 UTC 2014 - lnussel@suse.de + +- include VNC.pm in file list +- add Crypt::DES to deps + +------------------------------------------------------------------- +Tue Apr 8 19:16:15 UTC 2014 - coolo@suse.com + +- remove tidy script + +------------------------------------------------------------------- +Tue Mar 25 14:35:11 UTC 2014 - lnussel@suse.de + +- remove rpc.pl from file list + +------------------------------------------------------------------- +Wed Mar 12 16:04:02 UTC 2014 - coolo@suse.com + +- require qemu-img, quite useful :) + +------------------------------------------------------------------- +Wed Mar 12 09:23:38 UTC 2014 - coolo@suse.com + +- switch github url to os-autoinst orga + +------------------------------------------------------------------- +Mon Mar 10 13:30:54 UTC 2014 - tchvatal@suse.com + +- Use devel dep over pkgconfig one to build with 11.4 opencv + +------------------------------------------------------------------- +Mon Mar 10 13:21:22 UTC 2014 - tchvatal@suse.com + +- Cleanup with spec-cleaner and use requires(pre) + +------------------------------------------------------------------- +Tue May 14 15:09:56 UTC 2013 - lnussel@suse.de + +- initial package + diff --git a/os-autoinst.changes b/os-autoinst.changes index d42e419..335b250 100644 --- a/os-autoinst.changes +++ b/os-autoinst.changes @@ -1,18 +1,3 @@ -------------------------------------------------------------------- -Mon Oct 30 08:39:44 UTC 2017 - okurz@suse.com - -- Update to version 4.4.1508936943.39adc5eb: - * Fix scale_timeout call in wait_serial function - * sshVirtsh: Hide confusing errors about undefined machines (#866) - * avoid accidentally cleaning (#865) - * Generalize x11_start_program with standard array argument (#863) - * Remove unused reload_needles property in backend - * Allow set_var to reevaluate needles - * Add option to exit early for test schedule evaluation (#853) - * Prevent diag message about _EXIT_AFTER_SCHEDULE if not requested - * Make sure select_console on broken vnc fails (#872) - * Introduce check_recorded_sound method (#873) - ------------------------------------------------------------------- Wed Sep 20 13:32:16 UTC 2017 - coolo@suse.com diff --git a/os-autoinst.spec b/os-autoinst.spec index bf283bd..0b39514 100644 --- a/os-autoinst.spec +++ b/os-autoinst.spec @@ -17,7 +17,7 @@ Name: os-autoinst -Version: 4.4.1508936943.39adc5eb +Version: 4.4 Release: 0 Summary: OS-level test automation License: GPL-2.0+ From 4e319963352acb989daeed68ec44a19011163ff8f9c388ab2fc78fbc8277c2be Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Mon, 30 Oct 2017 11:01:00 +0000 Subject: [PATCH 09/22] osc copypac from project:devel:openQA package:os-autoinst revision:1690, using client side copy OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/os-autoinst?expand=0&rev=32 --- _service:tar_scm:os-autoinst.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_service:tar_scm:os-autoinst.changes b/_service:tar_scm:os-autoinst.changes index 6135a1d..54bd0c1 100644 --- a/_service:tar_scm:os-autoinst.changes +++ b/_service:tar_scm:os-autoinst.changes @@ -1,5 +1,5 @@ ------------------------------------------------------------------- -Mon Oct 30 11:01:14 UTC 2017 - okurz@suse.com +Mon Oct 30 11:01:08 UTC 2017 - okurz@suse.com - Update to version 4.4.1508936943.39adc5eb: * Fix scale_timeout call in wait_serial function From a4615a9f13d81ed5fdff537d22f03dc6805c73bb467655a4811bb6d547e76ada Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Mon, 30 Oct 2017 11:01:24 +0000 Subject: [PATCH 10/22] Offline generation of 4.4.1508936943.39adc5eb OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/os-autoinst?expand=0&rev=33 --- _service | 7 +- _service:set_version:os-autoinst.spec | 173 -------------- _service:tar_scm:_servicedata | 4 - _service:tar_scm:os-autoinst.changes | 211 ------------------ ...os-autoinst-4.4.1508936943.39adc5eb.tar.xz | 0 os-autoinst-rpmlintrc | 1 - os-autoinst.changes | 15 ++ os-autoinst.spec | 2 +- 8 files changed, 20 insertions(+), 393 deletions(-) delete mode 100644 _service:set_version:os-autoinst.spec delete mode 100644 _service:tar_scm:_servicedata delete mode 100644 _service:tar_scm:os-autoinst.changes rename _service:recompress:tar_scm:os-autoinst-4.4.1508936943.39adc5eb.tar.xz => os-autoinst-4.4.1508936943.39adc5eb.tar.xz (100%) delete mode 100644 os-autoinst-rpmlintrc diff --git a/_service b/_service index 78e7786..5cd5944 100644 --- a/_service +++ b/_service @@ -1,5 +1,6 @@ + - + 4.4 %ct.%h git://github.com/os-autoinst/os-autoinst.git @@ -8,9 +9,9 @@ enable okurz@suse.com - + xz *.tar - + diff --git a/_service:set_version:os-autoinst.spec b/_service:set_version:os-autoinst.spec deleted file mode 100644 index bf283bd..0000000 --- a/_service:set_version:os-autoinst.spec +++ /dev/null @@ -1,173 +0,0 @@ -# -# spec file for package os-autoinst -# -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. - -# Please submit bugfixes or comments via http://bugs.opensuse.org/ -# - - -Name: os-autoinst -Version: 4.4.1508936943.39adc5eb -Release: 0 -Summary: OS-level test automation -License: GPL-2.0+ -Group: Development/Tools/Other -Source0: %{name}-%{version}.tar.xz -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: gcc-c++ -BuildRequires: libtool -BuildRequires: opencv-devel -BuildRequires: pkg-config -BuildRequires: perl(Module::CPANfile) -BuildRequires: perl(Perl::Tidy) -BuildRequires: perl(Test::Compile) -BuildRequires: pkgconfig(fftw3) -BuildRequires: pkgconfig(libpng) -BuildRequires: pkgconfig(sndfile) -BuildRequires: pkgconfig(theoraenc) -%if %suse_version > 1320 -BuildRequires: perl(Perl::Critic) -%endif -Requires: /usr/bin/qemu-img -Requires: git-core -Requires: optipng -%{perl_requires} -Requires: qemu >= 2.0.0 -Requires: tesseract-ocr -Requires: withlock -%define t_requires perl(Carp::Always) perl(Data::Dump) perl(Crypt::DES) perl(JSON) perl(autodie) perl(Class::Accessor::Fast) perl(Exception::Class) perl(File::Which) perl(IPC::Run::Debug) perl(Net::DBus) perl(Net::SNMP) perl(Net::IP) perl(IPC::System::Simple) perl(Net::SSH2) perl(XML::LibXML) perl(Test::Output) perl(Test::Fatal) perl(Test::Warnings) perl(Pod::Coverage) perl(Test::Pod) perl(Test::MockModule) perl(Devel::Cover) perl(JSON::XS) perl(List::MoreUtils) perl(Test::Mock::Time) -BuildRequires: %t_requires -Requires: %t_requires -BuildRequires: perl(Mojolicious) -Requires: perl(Mojolicious) >= 5.60 -# we shuffle around a lot of JSON, so make sure this is fast -# and the JSON modules have subtle differences and we only test against XS in production -Requires: perl(JSON::XS) -Recommends: /usr/bin/xkbcomp /usr/bin/Xvnc dumponlyconsole -Requires(pre): %{_bindir}/getent -Requires(pre): %{_sbindir}/useradd -BuildRoot: %{_tmppath}/%{name}-%{version}-build - -%description -The OS-autoinst project aims at providing a means to run fully -automated tests. Especially to run tests of basic and low-level -operating system components such as bootloader, kernel, installer -and upgrade, which can not easily and safely be tested with other -automated testing frameworks. However, it can just as well be used -to test firefox and openoffice operation on top of a newly -installed OS. - -%package openvswitch -Summary: Openvswitch support for os-autoinst -Group: Development/Tools/Other -Requires: openvswitch -Requires: openvswitch-switch -Requires: os-autoinst - -%description openvswitch -This package contains openvswitch support for os-autoinst. - -%prep -%setup -q - -%build -mkdir -p m4 -autoreconf -f -i -%configure --docdir=%{_docdir}/%{name} -make INSTALLDIRS=vendor %{?_smp_mflags} - -%install -%make_install INSTALLDIRS=vendor -# Replace version number from git to what's reported by the package -sed -i 's/ my $thisversion = qx{git rev-parse HEAD};/ my $thisversion = "%{version}";/' %{buildroot}/usr/bin/isotovideo -# only internal stuff -rm %{buildroot}/usr/lib/os-autoinst/tools/tidy -rm -r %{buildroot}/usr/lib/os-autoinst/tools/lib/perlcritic -# -ls -lR %buildroot -find %{buildroot} -type f -name .packlist -print0 | xargs -0 --no-run-if-empty rm -f -find %{buildroot} -depth -type d -and -not -name distri -print0 | xargs -0 --no-run-if-empty rmdir 2>/dev/null || true -%perl_gen_filelist -# -# service symlink -mkdir -p %{buildroot}%{_sbindir} -ln -s ../sbin/service %{buildroot}%{_sbindir}/rcos-autoinst-openvswitch -# -# we need the stale symlinks to point to git -export NO_BRP_STALE_LINK_ERROR=yes - -%check -# disable perlcritic - too heavy dependency on old systems -if test -z "$(type -p perlcritic)"; then -sed '/perlcritic/d' -i Makefile -sed '/Perl::Critic/d' -i cpanfile -rm tools/lib/perlcritic/Perl/Critic/Policy/*.pm -fi -# don't require qemu within OBS -cp t/05-pod.t t/99-full-stack.t - -# should work offline -for p in $(cpanfile-dump); do rpm -q --whatprovides "perl($p)"; done -make check VERBOSE=1 - -%pre openvswitch -%service_add_pre os-autoinst-openvswitch.service - -%post openvswitch -%service_add_post os-autoinst-openvswitch.service - -%preun openvswitch -%service_del_preun os-autoinst-openvswitch.service - -%postun openvswitch -%service_del_postun os-autoinst-openvswitch.service - -%files -f %{name}.files -%defattr(-,root,root) -%{_docdir}/os-autoinst -%dir %{_libexecdir}/os-autoinst -%{_libexecdir}/os-autoinst/videoencoder -%{_libexecdir}/os-autoinst/basetest.pm -# -%{_libexecdir}/os-autoinst/dmidata -# -%{_libexecdir}/os-autoinst/bmwqemu.pm -%{_libexecdir}/os-autoinst/commands.pm -%{_libexecdir}/os-autoinst/distribution.pm -%{_libexecdir}/os-autoinst/testapi.pm -%{_libexecdir}/os-autoinst/mmapi.pm -%{_libexecdir}/os-autoinst/lockapi.pm -%{_libexecdir}/os-autoinst/cv.pm -%{_libexecdir}/os-autoinst/ocr.pm -%{_libexecdir}/os-autoinst/needle.pm -%{_libexecdir}/os-autoinst/osutils.pm -%{_libexecdir}/os-autoinst/myjsonrpc.pm -%{_libexecdir}/os-autoinst/backend -%{_libexecdir}/os-autoinst/OpenQA -%{_libexecdir}/os-autoinst/consoles -%dir %{_libexecdir}/os-autoinst/tools -%{_libexecdir}/os-autoinst/tools/absolutize -%{_libexecdir}/os-autoinst/tools/preparepool -%{_libexecdir}/os-autoinst/tools/check_coverage -%{_libexecdir}/os-autoinst/autotest.pm -%{_libexecdir}/os-autoinst/crop.py - -%files openvswitch -%defattr(-,root,root) -%{_libexecdir}/os-autoinst/os-autoinst-openvswitch -/usr/lib/systemd/system/os-autoinst-openvswitch.service -%config /etc/dbus-1/system.d/org.opensuse.os_autoinst.switch.conf -%{_sbindir}/rcos-autoinst-openvswitch - -%changelog diff --git a/_service:tar_scm:_servicedata b/_service:tar_scm:_servicedata deleted file mode 100644 index 12db1e5..0000000 --- a/_service:tar_scm:_servicedata +++ /dev/null @@ -1,4 +0,0 @@ - - - git://github.com/os-autoinst/os-autoinst.git - 39adc5eba3d594cfcaa96eb65ffe24a912dec07d \ No newline at end of file diff --git a/_service:tar_scm:os-autoinst.changes b/_service:tar_scm:os-autoinst.changes deleted file mode 100644 index 54bd0c1..0000000 --- a/_service:tar_scm:os-autoinst.changes +++ /dev/null @@ -1,211 +0,0 @@ -------------------------------------------------------------------- -Mon Oct 30 11:01:08 UTC 2017 - okurz@suse.com - -- Update to version 4.4.1508936943.39adc5eb: - * Fix scale_timeout call in wait_serial function - * sshVirtsh: Hide confusing errors about undefined machines (#866) - * avoid accidentally cleaning (#865) - * Generalize x11_start_program with standard array argument (#863) - * Remove unused reload_needles property in backend - * Allow set_var to reevaluate needles - * Add option to exit early for test schedule evaluation (#853) - * Prevent diag message about _EXIT_AFTER_SCHEDULE if not requested - * Make sure select_console on broken vnc fails (#872) - * Introduce check_recorded_sound method (#873) - -------------------------------------------------------------------- -Wed Sep 20 13:32:16 UTC 2017 - coolo@suse.com - -- add Test::Mock::Time require - -------------------------------------------------------------------- -Wed Sep 20 12:12:18 UTC 2017 - okurz@suse.com - -- Update to version 4.4.1505909574.e0b4d014: - * Correct validate_script_output test to actually test something - * Add test for wait_still_screen - * testapi: Add 'no_wait' option to wait_still_screen - * Fix warning in test about 'prototype mismatch' - * Allow type_string to wait_still_screen - * Use hash ref in query_isotovideo - * Add test for wait_idle in full stack test. - * consoles: s3270: Make debug output of queue content less noisy - * Update API document referring function type_string - * Remove typing tests from integration tests (#857) - -------------------------------------------------------------------- -Sat Jun 17 17:13:00 UTC 2017 - stefan.bruens@rwth-aachen.de - -- Add dependency on matching perl version, as the tinycv module is - installed in a version dependent path -- Drop bogus conditionals, suse_version <= 132 will never match - -------------------------------------------------------------------- -Thu Mar 23 13:34:22 UTC 2017 - santiago.zarate@suse.com - -- Inline replacement for version parameter on isotovideo - -------------------------------------------------------------------- -Sun Mar 12 13:16:41 UTC 2017 - oholecek@suse.com - -- new perl(Test::Warnings) dependency - -------------------------------------------------------------------- -Wed Sep 7 14:27:00 UTC 2016 - oholecek@suse.com - -- new perl(Devel::Cover) dependency -- package os-autoinst/tools/check_coverage tool - -------------------------------------------------------------------- -Sat Jul 9 05:30:45 UTC 2016 - coolo@suse.com - -- update base version to 4.4 to express the new isotovideo API - towards the worker - -------------------------------------------------------------------- -Mon May 30 08:53:37 UTC 2016 - oholecek@suse.com - -- new perl(Test::MockModule) dependency - -------------------------------------------------------------------- -Mon Feb 15 09:15:19 UTC 2016 - oholecek@suse.com - -- new perl(Test::Output) dependency - -------------------------------------------------------------------- -Thu Jan 14 12:48:28 UTC 2016 - oholecek@suse.com - -- update base version to 4.3 - -------------------------------------------------------------------- -Tue Dec 8 19:16:38 UTC 2015 - coolo@suse.com - -- add snd2png - -------------------------------------------------------------------- -Fri Nov 27 07:49:46 UTC 2015 - coolo@suse.com - -- new dependencies - -------------------------------------------------------------------- -Tue Nov 24 09:26:26 UTC 2015 - coolo@suse.com - -- disable perlcritic outside of Factory - too useless to test with - old perlcritic versions - -------------------------------------------------------------------- -Tue Nov 24 08:53:36 UTC 2015 - coolo@suse.com - -- adapt file list - -------------------------------------------------------------------- -Tue Nov 17 05:23:43 UTC 2015 - coolo@suse.com - -- remove gone files from file list - -------------------------------------------------------------------- -Tue Aug 25 15:02:10 UTC 2015 - lnussel@suse.de - -- require tesseract-ocr on >= 13.2 - -------------------------------------------------------------------- -Thu Jul 9 14:31:50 UTC 2015 - nadvornik@suse.com - -- created os-autoinst-openvswitch subpackage - -------------------------------------------------------------------- -Tue Mar 10 10:39:17 UTC 2015 - oholecek@suse.com - -- add mmapi.pm - -------------------------------------------------------------------- -Sun Mar 1 09:59:08 UTC 2015 - oholecek@suse.com - -- add lockapi.pm - -------------------------------------------------------------------- -Thu Feb 19 15:34:02 UTC 2015 - lnussel@suse.de - -- remove fetchneedles call. now in openQA - -------------------------------------------------------------------- -Wed Jan 28 09:56:16 UTC 2015 - coolo@suse.com - -- make it version 4 - -------------------------------------------------------------------- -Thu Nov 27 18:50:31 UTC 2014 - coolo@suse.com - -- add videoencoder - -------------------------------------------------------------------- -Thu Nov 27 13:18:44 UTC 2014 - coolo@suse.com - -- add distribution.pm - -------------------------------------------------------------------- -Tue Nov 25 15:46:54 UTC 2014 - coolo@suse.com - -- recommend multimon too - -------------------------------------------------------------------- -Tue Nov 25 14:33:52 UTC 2014 - coolo@suse.com - -- add testapi.pm to the file list - -------------------------------------------------------------------- -Mon Nov 24 12:53:04 UTC 2014 - coolo@suse.com - -- recommend eatmydata for performance - -------------------------------------------------------------------- -Mon Aug 18 14:40:13 UTC 2014 - lnussel@suse.de - -- adjust filelist for removed files - -------------------------------------------------------------------- -Mon Jul 28 14:44:23 UTC 2014 - lnussel@suse.de - -- require qemu >= 2.0.0 - -------------------------------------------------------------------- -Tue Jul 8 12:36:48 UTC 2014 - lnussel@suse.de - -- include VNC.pm in file list -- add Crypt::DES to deps - -------------------------------------------------------------------- -Tue Apr 8 19:16:15 UTC 2014 - coolo@suse.com - -- remove tidy script - -------------------------------------------------------------------- -Tue Mar 25 14:35:11 UTC 2014 - lnussel@suse.de - -- remove rpc.pl from file list - -------------------------------------------------------------------- -Wed Mar 12 16:04:02 UTC 2014 - coolo@suse.com - -- require qemu-img, quite useful :) - -------------------------------------------------------------------- -Wed Mar 12 09:23:38 UTC 2014 - coolo@suse.com - -- switch github url to os-autoinst orga - -------------------------------------------------------------------- -Mon Mar 10 13:30:54 UTC 2014 - tchvatal@suse.com - -- Use devel dep over pkgconfig one to build with 11.4 opencv - -------------------------------------------------------------------- -Mon Mar 10 13:21:22 UTC 2014 - tchvatal@suse.com - -- Cleanup with spec-cleaner and use requires(pre) - -------------------------------------------------------------------- -Tue May 14 15:09:56 UTC 2013 - lnussel@suse.de - -- initial package - diff --git a/_service:recompress:tar_scm:os-autoinst-4.4.1508936943.39adc5eb.tar.xz b/os-autoinst-4.4.1508936943.39adc5eb.tar.xz similarity index 100% rename from _service:recompress:tar_scm:os-autoinst-4.4.1508936943.39adc5eb.tar.xz rename to os-autoinst-4.4.1508936943.39adc5eb.tar.xz diff --git a/os-autoinst-rpmlintrc b/os-autoinst-rpmlintrc deleted file mode 100644 index 0bf5fd9..0000000 --- a/os-autoinst-rpmlintrc +++ /dev/null @@ -1 +0,0 @@ -setBadness('suse-dbus-unauthorized-service', 0) diff --git a/os-autoinst.changes b/os-autoinst.changes index 335b250..a8127ff 100644 --- a/os-autoinst.changes +++ b/os-autoinst.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Mon Oct 30 11:01:09 UTC 2017 - okurz@suse.com + +- Update to version 4.4.1508936943.39adc5eb: + * Fix scale_timeout call in wait_serial function + * sshVirtsh: Hide confusing errors about undefined machines (#866) + * avoid accidentally cleaning (#865) + * Generalize x11_start_program with standard array argument (#863) + * Remove unused reload_needles property in backend + * Allow set_var to reevaluate needles + * Add option to exit early for test schedule evaluation (#853) + * Prevent diag message about _EXIT_AFTER_SCHEDULE if not requested + * Make sure select_console on broken vnc fails (#872) + * Introduce check_recorded_sound method (#873) + ------------------------------------------------------------------- Wed Sep 20 13:32:16 UTC 2017 - coolo@suse.com diff --git a/os-autoinst.spec b/os-autoinst.spec index 0b39514..bf283bd 100644 --- a/os-autoinst.spec +++ b/os-autoinst.spec @@ -17,7 +17,7 @@ Name: os-autoinst -Version: 4.4 +Version: 4.4.1508936943.39adc5eb Release: 0 Summary: OS-level test automation License: GPL-2.0+ From bc77c13b66f209dca48526b785deb151c7135279ff414652b12c48933bf42eba Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Mon, 30 Oct 2017 11:03:00 +0000 Subject: [PATCH 11/22] osc copypac from project:devel:openQA package:os-autoinst revision:1690, using client side copy OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/os-autoinst?expand=0&rev=34 --- _service | 7 +- ...os-autoinst-4.4.1508936943.39adc5eb.tar.xz | 0 _service:set_version:os-autoinst.spec | 173 ++++++++++++++ _service:tar_scm:_servicedata | 4 + _service:tar_scm:os-autoinst.changes | 211 ++++++++++++++++++ os-autoinst-rpmlintrc | 1 + os-autoinst.changes | 15 -- os-autoinst.spec | 2 +- 8 files changed, 393 insertions(+), 20 deletions(-) rename os-autoinst-4.4.1508936943.39adc5eb.tar.xz => _service:recompress:tar_scm:os-autoinst-4.4.1508936943.39adc5eb.tar.xz (100%) create mode 100644 _service:set_version:os-autoinst.spec create mode 100644 _service:tar_scm:_servicedata create mode 100644 _service:tar_scm:os-autoinst.changes create mode 100644 os-autoinst-rpmlintrc diff --git a/_service b/_service index 5cd5944..78e7786 100644 --- a/_service +++ b/_service @@ -1,6 +1,5 @@ - - + 4.4 %ct.%h git://github.com/os-autoinst/os-autoinst.git @@ -9,9 +8,9 @@ enable okurz@suse.com - + xz *.tar - + diff --git a/os-autoinst-4.4.1508936943.39adc5eb.tar.xz b/_service:recompress:tar_scm:os-autoinst-4.4.1508936943.39adc5eb.tar.xz similarity index 100% rename from os-autoinst-4.4.1508936943.39adc5eb.tar.xz rename to _service:recompress:tar_scm:os-autoinst-4.4.1508936943.39adc5eb.tar.xz diff --git a/_service:set_version:os-autoinst.spec b/_service:set_version:os-autoinst.spec new file mode 100644 index 0000000..bf283bd --- /dev/null +++ b/_service:set_version:os-autoinst.spec @@ -0,0 +1,173 @@ +# +# spec file for package os-autoinst +# +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: os-autoinst +Version: 4.4.1508936943.39adc5eb +Release: 0 +Summary: OS-level test automation +License: GPL-2.0+ +Group: Development/Tools/Other +Source0: %{name}-%{version}.tar.xz +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gcc-c++ +BuildRequires: libtool +BuildRequires: opencv-devel +BuildRequires: pkg-config +BuildRequires: perl(Module::CPANfile) +BuildRequires: perl(Perl::Tidy) +BuildRequires: perl(Test::Compile) +BuildRequires: pkgconfig(fftw3) +BuildRequires: pkgconfig(libpng) +BuildRequires: pkgconfig(sndfile) +BuildRequires: pkgconfig(theoraenc) +%if %suse_version > 1320 +BuildRequires: perl(Perl::Critic) +%endif +Requires: /usr/bin/qemu-img +Requires: git-core +Requires: optipng +%{perl_requires} +Requires: qemu >= 2.0.0 +Requires: tesseract-ocr +Requires: withlock +%define t_requires perl(Carp::Always) perl(Data::Dump) perl(Crypt::DES) perl(JSON) perl(autodie) perl(Class::Accessor::Fast) perl(Exception::Class) perl(File::Which) perl(IPC::Run::Debug) perl(Net::DBus) perl(Net::SNMP) perl(Net::IP) perl(IPC::System::Simple) perl(Net::SSH2) perl(XML::LibXML) perl(Test::Output) perl(Test::Fatal) perl(Test::Warnings) perl(Pod::Coverage) perl(Test::Pod) perl(Test::MockModule) perl(Devel::Cover) perl(JSON::XS) perl(List::MoreUtils) perl(Test::Mock::Time) +BuildRequires: %t_requires +Requires: %t_requires +BuildRequires: perl(Mojolicious) +Requires: perl(Mojolicious) >= 5.60 +# we shuffle around a lot of JSON, so make sure this is fast +# and the JSON modules have subtle differences and we only test against XS in production +Requires: perl(JSON::XS) +Recommends: /usr/bin/xkbcomp /usr/bin/Xvnc dumponlyconsole +Requires(pre): %{_bindir}/getent +Requires(pre): %{_sbindir}/useradd +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +The OS-autoinst project aims at providing a means to run fully +automated tests. Especially to run tests of basic and low-level +operating system components such as bootloader, kernel, installer +and upgrade, which can not easily and safely be tested with other +automated testing frameworks. However, it can just as well be used +to test firefox and openoffice operation on top of a newly +installed OS. + +%package openvswitch +Summary: Openvswitch support for os-autoinst +Group: Development/Tools/Other +Requires: openvswitch +Requires: openvswitch-switch +Requires: os-autoinst + +%description openvswitch +This package contains openvswitch support for os-autoinst. + +%prep +%setup -q + +%build +mkdir -p m4 +autoreconf -f -i +%configure --docdir=%{_docdir}/%{name} +make INSTALLDIRS=vendor %{?_smp_mflags} + +%install +%make_install INSTALLDIRS=vendor +# Replace version number from git to what's reported by the package +sed -i 's/ my $thisversion = qx{git rev-parse HEAD};/ my $thisversion = "%{version}";/' %{buildroot}/usr/bin/isotovideo +# only internal stuff +rm %{buildroot}/usr/lib/os-autoinst/tools/tidy +rm -r %{buildroot}/usr/lib/os-autoinst/tools/lib/perlcritic +# +ls -lR %buildroot +find %{buildroot} -type f -name .packlist -print0 | xargs -0 --no-run-if-empty rm -f +find %{buildroot} -depth -type d -and -not -name distri -print0 | xargs -0 --no-run-if-empty rmdir 2>/dev/null || true +%perl_gen_filelist +# +# service symlink +mkdir -p %{buildroot}%{_sbindir} +ln -s ../sbin/service %{buildroot}%{_sbindir}/rcos-autoinst-openvswitch +# +# we need the stale symlinks to point to git +export NO_BRP_STALE_LINK_ERROR=yes + +%check +# disable perlcritic - too heavy dependency on old systems +if test -z "$(type -p perlcritic)"; then +sed '/perlcritic/d' -i Makefile +sed '/Perl::Critic/d' -i cpanfile +rm tools/lib/perlcritic/Perl/Critic/Policy/*.pm +fi +# don't require qemu within OBS +cp t/05-pod.t t/99-full-stack.t + +# should work offline +for p in $(cpanfile-dump); do rpm -q --whatprovides "perl($p)"; done +make check VERBOSE=1 + +%pre openvswitch +%service_add_pre os-autoinst-openvswitch.service + +%post openvswitch +%service_add_post os-autoinst-openvswitch.service + +%preun openvswitch +%service_del_preun os-autoinst-openvswitch.service + +%postun openvswitch +%service_del_postun os-autoinst-openvswitch.service + +%files -f %{name}.files +%defattr(-,root,root) +%{_docdir}/os-autoinst +%dir %{_libexecdir}/os-autoinst +%{_libexecdir}/os-autoinst/videoencoder +%{_libexecdir}/os-autoinst/basetest.pm +# +%{_libexecdir}/os-autoinst/dmidata +# +%{_libexecdir}/os-autoinst/bmwqemu.pm +%{_libexecdir}/os-autoinst/commands.pm +%{_libexecdir}/os-autoinst/distribution.pm +%{_libexecdir}/os-autoinst/testapi.pm +%{_libexecdir}/os-autoinst/mmapi.pm +%{_libexecdir}/os-autoinst/lockapi.pm +%{_libexecdir}/os-autoinst/cv.pm +%{_libexecdir}/os-autoinst/ocr.pm +%{_libexecdir}/os-autoinst/needle.pm +%{_libexecdir}/os-autoinst/osutils.pm +%{_libexecdir}/os-autoinst/myjsonrpc.pm +%{_libexecdir}/os-autoinst/backend +%{_libexecdir}/os-autoinst/OpenQA +%{_libexecdir}/os-autoinst/consoles +%dir %{_libexecdir}/os-autoinst/tools +%{_libexecdir}/os-autoinst/tools/absolutize +%{_libexecdir}/os-autoinst/tools/preparepool +%{_libexecdir}/os-autoinst/tools/check_coverage +%{_libexecdir}/os-autoinst/autotest.pm +%{_libexecdir}/os-autoinst/crop.py + +%files openvswitch +%defattr(-,root,root) +%{_libexecdir}/os-autoinst/os-autoinst-openvswitch +/usr/lib/systemd/system/os-autoinst-openvswitch.service +%config /etc/dbus-1/system.d/org.opensuse.os_autoinst.switch.conf +%{_sbindir}/rcos-autoinst-openvswitch + +%changelog diff --git a/_service:tar_scm:_servicedata b/_service:tar_scm:_servicedata new file mode 100644 index 0000000..12db1e5 --- /dev/null +++ b/_service:tar_scm:_servicedata @@ -0,0 +1,4 @@ + + + git://github.com/os-autoinst/os-autoinst.git + 39adc5eba3d594cfcaa96eb65ffe24a912dec07d \ No newline at end of file diff --git a/_service:tar_scm:os-autoinst.changes b/_service:tar_scm:os-autoinst.changes new file mode 100644 index 0000000..94d0147 --- /dev/null +++ b/_service:tar_scm:os-autoinst.changes @@ -0,0 +1,211 @@ +------------------------------------------------------------------- +Mon Oct 30 11:03:09 UTC 2017 - okurz@suse.com + +- Update to version 4.4.1508936943.39adc5eb: + * Fix scale_timeout call in wait_serial function + * sshVirtsh: Hide confusing errors about undefined machines (#866) + * avoid accidentally cleaning (#865) + * Generalize x11_start_program with standard array argument (#863) + * Remove unused reload_needles property in backend + * Allow set_var to reevaluate needles + * Add option to exit early for test schedule evaluation (#853) + * Prevent diag message about _EXIT_AFTER_SCHEDULE if not requested + * Make sure select_console on broken vnc fails (#872) + * Introduce check_recorded_sound method (#873) + +------------------------------------------------------------------- +Wed Sep 20 13:32:16 UTC 2017 - coolo@suse.com + +- add Test::Mock::Time require + +------------------------------------------------------------------- +Wed Sep 20 12:12:18 UTC 2017 - okurz@suse.com + +- Update to version 4.4.1505909574.e0b4d014: + * Correct validate_script_output test to actually test something + * Add test for wait_still_screen + * testapi: Add 'no_wait' option to wait_still_screen + * Fix warning in test about 'prototype mismatch' + * Allow type_string to wait_still_screen + * Use hash ref in query_isotovideo + * Add test for wait_idle in full stack test. + * consoles: s3270: Make debug output of queue content less noisy + * Update API document referring function type_string + * Remove typing tests from integration tests (#857) + +------------------------------------------------------------------- +Sat Jun 17 17:13:00 UTC 2017 - stefan.bruens@rwth-aachen.de + +- Add dependency on matching perl version, as the tinycv module is + installed in a version dependent path +- Drop bogus conditionals, suse_version <= 132 will never match + +------------------------------------------------------------------- +Thu Mar 23 13:34:22 UTC 2017 - santiago.zarate@suse.com + +- Inline replacement for version parameter on isotovideo + +------------------------------------------------------------------- +Sun Mar 12 13:16:41 UTC 2017 - oholecek@suse.com + +- new perl(Test::Warnings) dependency + +------------------------------------------------------------------- +Wed Sep 7 14:27:00 UTC 2016 - oholecek@suse.com + +- new perl(Devel::Cover) dependency +- package os-autoinst/tools/check_coverage tool + +------------------------------------------------------------------- +Sat Jul 9 05:30:45 UTC 2016 - coolo@suse.com + +- update base version to 4.4 to express the new isotovideo API + towards the worker + +------------------------------------------------------------------- +Mon May 30 08:53:37 UTC 2016 - oholecek@suse.com + +- new perl(Test::MockModule) dependency + +------------------------------------------------------------------- +Mon Feb 15 09:15:19 UTC 2016 - oholecek@suse.com + +- new perl(Test::Output) dependency + +------------------------------------------------------------------- +Thu Jan 14 12:48:28 UTC 2016 - oholecek@suse.com + +- update base version to 4.3 + +------------------------------------------------------------------- +Tue Dec 8 19:16:38 UTC 2015 - coolo@suse.com + +- add snd2png + +------------------------------------------------------------------- +Fri Nov 27 07:49:46 UTC 2015 - coolo@suse.com + +- new dependencies + +------------------------------------------------------------------- +Tue Nov 24 09:26:26 UTC 2015 - coolo@suse.com + +- disable perlcritic outside of Factory - too useless to test with + old perlcritic versions + +------------------------------------------------------------------- +Tue Nov 24 08:53:36 UTC 2015 - coolo@suse.com + +- adapt file list + +------------------------------------------------------------------- +Tue Nov 17 05:23:43 UTC 2015 - coolo@suse.com + +- remove gone files from file list + +------------------------------------------------------------------- +Tue Aug 25 15:02:10 UTC 2015 - lnussel@suse.de + +- require tesseract-ocr on >= 13.2 + +------------------------------------------------------------------- +Thu Jul 9 14:31:50 UTC 2015 - nadvornik@suse.com + +- created os-autoinst-openvswitch subpackage + +------------------------------------------------------------------- +Tue Mar 10 10:39:17 UTC 2015 - oholecek@suse.com + +- add mmapi.pm + +------------------------------------------------------------------- +Sun Mar 1 09:59:08 UTC 2015 - oholecek@suse.com + +- add lockapi.pm + +------------------------------------------------------------------- +Thu Feb 19 15:34:02 UTC 2015 - lnussel@suse.de + +- remove fetchneedles call. now in openQA + +------------------------------------------------------------------- +Wed Jan 28 09:56:16 UTC 2015 - coolo@suse.com + +- make it version 4 + +------------------------------------------------------------------- +Thu Nov 27 18:50:31 UTC 2014 - coolo@suse.com + +- add videoencoder + +------------------------------------------------------------------- +Thu Nov 27 13:18:44 UTC 2014 - coolo@suse.com + +- add distribution.pm + +------------------------------------------------------------------- +Tue Nov 25 15:46:54 UTC 2014 - coolo@suse.com + +- recommend multimon too + +------------------------------------------------------------------- +Tue Nov 25 14:33:52 UTC 2014 - coolo@suse.com + +- add testapi.pm to the file list + +------------------------------------------------------------------- +Mon Nov 24 12:53:04 UTC 2014 - coolo@suse.com + +- recommend eatmydata for performance + +------------------------------------------------------------------- +Mon Aug 18 14:40:13 UTC 2014 - lnussel@suse.de + +- adjust filelist for removed files + +------------------------------------------------------------------- +Mon Jul 28 14:44:23 UTC 2014 - lnussel@suse.de + +- require qemu >= 2.0.0 + +------------------------------------------------------------------- +Tue Jul 8 12:36:48 UTC 2014 - lnussel@suse.de + +- include VNC.pm in file list +- add Crypt::DES to deps + +------------------------------------------------------------------- +Tue Apr 8 19:16:15 UTC 2014 - coolo@suse.com + +- remove tidy script + +------------------------------------------------------------------- +Tue Mar 25 14:35:11 UTC 2014 - lnussel@suse.de + +- remove rpc.pl from file list + +------------------------------------------------------------------- +Wed Mar 12 16:04:02 UTC 2014 - coolo@suse.com + +- require qemu-img, quite useful :) + +------------------------------------------------------------------- +Wed Mar 12 09:23:38 UTC 2014 - coolo@suse.com + +- switch github url to os-autoinst orga + +------------------------------------------------------------------- +Mon Mar 10 13:30:54 UTC 2014 - tchvatal@suse.com + +- Use devel dep over pkgconfig one to build with 11.4 opencv + +------------------------------------------------------------------- +Mon Mar 10 13:21:22 UTC 2014 - tchvatal@suse.com + +- Cleanup with spec-cleaner and use requires(pre) + +------------------------------------------------------------------- +Tue May 14 15:09:56 UTC 2013 - lnussel@suse.de + +- initial package + diff --git a/os-autoinst-rpmlintrc b/os-autoinst-rpmlintrc new file mode 100644 index 0000000..0bf5fd9 --- /dev/null +++ b/os-autoinst-rpmlintrc @@ -0,0 +1 @@ +setBadness('suse-dbus-unauthorized-service', 0) diff --git a/os-autoinst.changes b/os-autoinst.changes index a8127ff..335b250 100644 --- a/os-autoinst.changes +++ b/os-autoinst.changes @@ -1,18 +1,3 @@ -------------------------------------------------------------------- -Mon Oct 30 11:01:09 UTC 2017 - okurz@suse.com - -- Update to version 4.4.1508936943.39adc5eb: - * Fix scale_timeout call in wait_serial function - * sshVirtsh: Hide confusing errors about undefined machines (#866) - * avoid accidentally cleaning (#865) - * Generalize x11_start_program with standard array argument (#863) - * Remove unused reload_needles property in backend - * Allow set_var to reevaluate needles - * Add option to exit early for test schedule evaluation (#853) - * Prevent diag message about _EXIT_AFTER_SCHEDULE if not requested - * Make sure select_console on broken vnc fails (#872) - * Introduce check_recorded_sound method (#873) - ------------------------------------------------------------------- Wed Sep 20 13:32:16 UTC 2017 - coolo@suse.com diff --git a/os-autoinst.spec b/os-autoinst.spec index bf283bd..0b39514 100644 --- a/os-autoinst.spec +++ b/os-autoinst.spec @@ -17,7 +17,7 @@ Name: os-autoinst -Version: 4.4.1508936943.39adc5eb +Version: 4.4 Release: 0 Summary: OS-level test automation License: GPL-2.0+ From c9117e6d8c853c516e6d0473afde890092546e2133cbbc301e2fd1e53ed5a155 Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Mon, 30 Oct 2017 11:03:02 +0000 Subject: [PATCH 12/22] osc copypac from project:devel:openQA package:os-autoinst revision:1690, using client side copy OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/os-autoinst?expand=0&rev=35 --- _service:tar_scm:os-autoinst.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_service:tar_scm:os-autoinst.changes b/_service:tar_scm:os-autoinst.changes index 94d0147..a08b65f 100644 --- a/_service:tar_scm:os-autoinst.changes +++ b/_service:tar_scm:os-autoinst.changes @@ -1,5 +1,5 @@ ------------------------------------------------------------------- -Mon Oct 30 11:03:09 UTC 2017 - okurz@suse.com +Mon Oct 30 11:03:14 UTC 2017 - okurz@suse.com - Update to version 4.4.1508936943.39adc5eb: * Fix scale_timeout call in wait_serial function From 6cc385c04044e77df969e6bdba62e06402161389ede6a8c264435e04ec21244a Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Mon, 30 Oct 2017 11:03:37 +0000 Subject: [PATCH 13/22] Offline generation of 4.4.1508936943.39adc5eb OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/os-autoinst?expand=0&rev=36 --- _service | 7 +- _service:set_version:os-autoinst.spec | 173 -------------- _service:tar_scm:_servicedata | 4 - _service:tar_scm:os-autoinst.changes | 211 ------------------ ...os-autoinst-4.4.1508936943.39adc5eb.tar.xz | 0 os-autoinst-rpmlintrc | 1 - os-autoinst.changes | 15 ++ os-autoinst.spec | 2 +- 8 files changed, 20 insertions(+), 393 deletions(-) delete mode 100644 _service:set_version:os-autoinst.spec delete mode 100644 _service:tar_scm:_servicedata delete mode 100644 _service:tar_scm:os-autoinst.changes rename _service:recompress:tar_scm:os-autoinst-4.4.1508936943.39adc5eb.tar.xz => os-autoinst-4.4.1508936943.39adc5eb.tar.xz (100%) delete mode 100644 os-autoinst-rpmlintrc diff --git a/_service b/_service index 78e7786..5cd5944 100644 --- a/_service +++ b/_service @@ -1,5 +1,6 @@ + - + 4.4 %ct.%h git://github.com/os-autoinst/os-autoinst.git @@ -8,9 +9,9 @@ enable okurz@suse.com - + xz *.tar - + diff --git a/_service:set_version:os-autoinst.spec b/_service:set_version:os-autoinst.spec deleted file mode 100644 index bf283bd..0000000 --- a/_service:set_version:os-autoinst.spec +++ /dev/null @@ -1,173 +0,0 @@ -# -# spec file for package os-autoinst -# -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. - -# Please submit bugfixes or comments via http://bugs.opensuse.org/ -# - - -Name: os-autoinst -Version: 4.4.1508936943.39adc5eb -Release: 0 -Summary: OS-level test automation -License: GPL-2.0+ -Group: Development/Tools/Other -Source0: %{name}-%{version}.tar.xz -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: gcc-c++ -BuildRequires: libtool -BuildRequires: opencv-devel -BuildRequires: pkg-config -BuildRequires: perl(Module::CPANfile) -BuildRequires: perl(Perl::Tidy) -BuildRequires: perl(Test::Compile) -BuildRequires: pkgconfig(fftw3) -BuildRequires: pkgconfig(libpng) -BuildRequires: pkgconfig(sndfile) -BuildRequires: pkgconfig(theoraenc) -%if %suse_version > 1320 -BuildRequires: perl(Perl::Critic) -%endif -Requires: /usr/bin/qemu-img -Requires: git-core -Requires: optipng -%{perl_requires} -Requires: qemu >= 2.0.0 -Requires: tesseract-ocr -Requires: withlock -%define t_requires perl(Carp::Always) perl(Data::Dump) perl(Crypt::DES) perl(JSON) perl(autodie) perl(Class::Accessor::Fast) perl(Exception::Class) perl(File::Which) perl(IPC::Run::Debug) perl(Net::DBus) perl(Net::SNMP) perl(Net::IP) perl(IPC::System::Simple) perl(Net::SSH2) perl(XML::LibXML) perl(Test::Output) perl(Test::Fatal) perl(Test::Warnings) perl(Pod::Coverage) perl(Test::Pod) perl(Test::MockModule) perl(Devel::Cover) perl(JSON::XS) perl(List::MoreUtils) perl(Test::Mock::Time) -BuildRequires: %t_requires -Requires: %t_requires -BuildRequires: perl(Mojolicious) -Requires: perl(Mojolicious) >= 5.60 -# we shuffle around a lot of JSON, so make sure this is fast -# and the JSON modules have subtle differences and we only test against XS in production -Requires: perl(JSON::XS) -Recommends: /usr/bin/xkbcomp /usr/bin/Xvnc dumponlyconsole -Requires(pre): %{_bindir}/getent -Requires(pre): %{_sbindir}/useradd -BuildRoot: %{_tmppath}/%{name}-%{version}-build - -%description -The OS-autoinst project aims at providing a means to run fully -automated tests. Especially to run tests of basic and low-level -operating system components such as bootloader, kernel, installer -and upgrade, which can not easily and safely be tested with other -automated testing frameworks. However, it can just as well be used -to test firefox and openoffice operation on top of a newly -installed OS. - -%package openvswitch -Summary: Openvswitch support for os-autoinst -Group: Development/Tools/Other -Requires: openvswitch -Requires: openvswitch-switch -Requires: os-autoinst - -%description openvswitch -This package contains openvswitch support for os-autoinst. - -%prep -%setup -q - -%build -mkdir -p m4 -autoreconf -f -i -%configure --docdir=%{_docdir}/%{name} -make INSTALLDIRS=vendor %{?_smp_mflags} - -%install -%make_install INSTALLDIRS=vendor -# Replace version number from git to what's reported by the package -sed -i 's/ my $thisversion = qx{git rev-parse HEAD};/ my $thisversion = "%{version}";/' %{buildroot}/usr/bin/isotovideo -# only internal stuff -rm %{buildroot}/usr/lib/os-autoinst/tools/tidy -rm -r %{buildroot}/usr/lib/os-autoinst/tools/lib/perlcritic -# -ls -lR %buildroot -find %{buildroot} -type f -name .packlist -print0 | xargs -0 --no-run-if-empty rm -f -find %{buildroot} -depth -type d -and -not -name distri -print0 | xargs -0 --no-run-if-empty rmdir 2>/dev/null || true -%perl_gen_filelist -# -# service symlink -mkdir -p %{buildroot}%{_sbindir} -ln -s ../sbin/service %{buildroot}%{_sbindir}/rcos-autoinst-openvswitch -# -# we need the stale symlinks to point to git -export NO_BRP_STALE_LINK_ERROR=yes - -%check -# disable perlcritic - too heavy dependency on old systems -if test -z "$(type -p perlcritic)"; then -sed '/perlcritic/d' -i Makefile -sed '/Perl::Critic/d' -i cpanfile -rm tools/lib/perlcritic/Perl/Critic/Policy/*.pm -fi -# don't require qemu within OBS -cp t/05-pod.t t/99-full-stack.t - -# should work offline -for p in $(cpanfile-dump); do rpm -q --whatprovides "perl($p)"; done -make check VERBOSE=1 - -%pre openvswitch -%service_add_pre os-autoinst-openvswitch.service - -%post openvswitch -%service_add_post os-autoinst-openvswitch.service - -%preun openvswitch -%service_del_preun os-autoinst-openvswitch.service - -%postun openvswitch -%service_del_postun os-autoinst-openvswitch.service - -%files -f %{name}.files -%defattr(-,root,root) -%{_docdir}/os-autoinst -%dir %{_libexecdir}/os-autoinst -%{_libexecdir}/os-autoinst/videoencoder -%{_libexecdir}/os-autoinst/basetest.pm -# -%{_libexecdir}/os-autoinst/dmidata -# -%{_libexecdir}/os-autoinst/bmwqemu.pm -%{_libexecdir}/os-autoinst/commands.pm -%{_libexecdir}/os-autoinst/distribution.pm -%{_libexecdir}/os-autoinst/testapi.pm -%{_libexecdir}/os-autoinst/mmapi.pm -%{_libexecdir}/os-autoinst/lockapi.pm -%{_libexecdir}/os-autoinst/cv.pm -%{_libexecdir}/os-autoinst/ocr.pm -%{_libexecdir}/os-autoinst/needle.pm -%{_libexecdir}/os-autoinst/osutils.pm -%{_libexecdir}/os-autoinst/myjsonrpc.pm -%{_libexecdir}/os-autoinst/backend -%{_libexecdir}/os-autoinst/OpenQA -%{_libexecdir}/os-autoinst/consoles -%dir %{_libexecdir}/os-autoinst/tools -%{_libexecdir}/os-autoinst/tools/absolutize -%{_libexecdir}/os-autoinst/tools/preparepool -%{_libexecdir}/os-autoinst/tools/check_coverage -%{_libexecdir}/os-autoinst/autotest.pm -%{_libexecdir}/os-autoinst/crop.py - -%files openvswitch -%defattr(-,root,root) -%{_libexecdir}/os-autoinst/os-autoinst-openvswitch -/usr/lib/systemd/system/os-autoinst-openvswitch.service -%config /etc/dbus-1/system.d/org.opensuse.os_autoinst.switch.conf -%{_sbindir}/rcos-autoinst-openvswitch - -%changelog diff --git a/_service:tar_scm:_servicedata b/_service:tar_scm:_servicedata deleted file mode 100644 index 12db1e5..0000000 --- a/_service:tar_scm:_servicedata +++ /dev/null @@ -1,4 +0,0 @@ - - - git://github.com/os-autoinst/os-autoinst.git - 39adc5eba3d594cfcaa96eb65ffe24a912dec07d \ No newline at end of file diff --git a/_service:tar_scm:os-autoinst.changes b/_service:tar_scm:os-autoinst.changes deleted file mode 100644 index a08b65f..0000000 --- a/_service:tar_scm:os-autoinst.changes +++ /dev/null @@ -1,211 +0,0 @@ -------------------------------------------------------------------- -Mon Oct 30 11:03:14 UTC 2017 - okurz@suse.com - -- Update to version 4.4.1508936943.39adc5eb: - * Fix scale_timeout call in wait_serial function - * sshVirtsh: Hide confusing errors about undefined machines (#866) - * avoid accidentally cleaning (#865) - * Generalize x11_start_program with standard array argument (#863) - * Remove unused reload_needles property in backend - * Allow set_var to reevaluate needles - * Add option to exit early for test schedule evaluation (#853) - * Prevent diag message about _EXIT_AFTER_SCHEDULE if not requested - * Make sure select_console on broken vnc fails (#872) - * Introduce check_recorded_sound method (#873) - -------------------------------------------------------------------- -Wed Sep 20 13:32:16 UTC 2017 - coolo@suse.com - -- add Test::Mock::Time require - -------------------------------------------------------------------- -Wed Sep 20 12:12:18 UTC 2017 - okurz@suse.com - -- Update to version 4.4.1505909574.e0b4d014: - * Correct validate_script_output test to actually test something - * Add test for wait_still_screen - * testapi: Add 'no_wait' option to wait_still_screen - * Fix warning in test about 'prototype mismatch' - * Allow type_string to wait_still_screen - * Use hash ref in query_isotovideo - * Add test for wait_idle in full stack test. - * consoles: s3270: Make debug output of queue content less noisy - * Update API document referring function type_string - * Remove typing tests from integration tests (#857) - -------------------------------------------------------------------- -Sat Jun 17 17:13:00 UTC 2017 - stefan.bruens@rwth-aachen.de - -- Add dependency on matching perl version, as the tinycv module is - installed in a version dependent path -- Drop bogus conditionals, suse_version <= 132 will never match - -------------------------------------------------------------------- -Thu Mar 23 13:34:22 UTC 2017 - santiago.zarate@suse.com - -- Inline replacement for version parameter on isotovideo - -------------------------------------------------------------------- -Sun Mar 12 13:16:41 UTC 2017 - oholecek@suse.com - -- new perl(Test::Warnings) dependency - -------------------------------------------------------------------- -Wed Sep 7 14:27:00 UTC 2016 - oholecek@suse.com - -- new perl(Devel::Cover) dependency -- package os-autoinst/tools/check_coverage tool - -------------------------------------------------------------------- -Sat Jul 9 05:30:45 UTC 2016 - coolo@suse.com - -- update base version to 4.4 to express the new isotovideo API - towards the worker - -------------------------------------------------------------------- -Mon May 30 08:53:37 UTC 2016 - oholecek@suse.com - -- new perl(Test::MockModule) dependency - -------------------------------------------------------------------- -Mon Feb 15 09:15:19 UTC 2016 - oholecek@suse.com - -- new perl(Test::Output) dependency - -------------------------------------------------------------------- -Thu Jan 14 12:48:28 UTC 2016 - oholecek@suse.com - -- update base version to 4.3 - -------------------------------------------------------------------- -Tue Dec 8 19:16:38 UTC 2015 - coolo@suse.com - -- add snd2png - -------------------------------------------------------------------- -Fri Nov 27 07:49:46 UTC 2015 - coolo@suse.com - -- new dependencies - -------------------------------------------------------------------- -Tue Nov 24 09:26:26 UTC 2015 - coolo@suse.com - -- disable perlcritic outside of Factory - too useless to test with - old perlcritic versions - -------------------------------------------------------------------- -Tue Nov 24 08:53:36 UTC 2015 - coolo@suse.com - -- adapt file list - -------------------------------------------------------------------- -Tue Nov 17 05:23:43 UTC 2015 - coolo@suse.com - -- remove gone files from file list - -------------------------------------------------------------------- -Tue Aug 25 15:02:10 UTC 2015 - lnussel@suse.de - -- require tesseract-ocr on >= 13.2 - -------------------------------------------------------------------- -Thu Jul 9 14:31:50 UTC 2015 - nadvornik@suse.com - -- created os-autoinst-openvswitch subpackage - -------------------------------------------------------------------- -Tue Mar 10 10:39:17 UTC 2015 - oholecek@suse.com - -- add mmapi.pm - -------------------------------------------------------------------- -Sun Mar 1 09:59:08 UTC 2015 - oholecek@suse.com - -- add lockapi.pm - -------------------------------------------------------------------- -Thu Feb 19 15:34:02 UTC 2015 - lnussel@suse.de - -- remove fetchneedles call. now in openQA - -------------------------------------------------------------------- -Wed Jan 28 09:56:16 UTC 2015 - coolo@suse.com - -- make it version 4 - -------------------------------------------------------------------- -Thu Nov 27 18:50:31 UTC 2014 - coolo@suse.com - -- add videoencoder - -------------------------------------------------------------------- -Thu Nov 27 13:18:44 UTC 2014 - coolo@suse.com - -- add distribution.pm - -------------------------------------------------------------------- -Tue Nov 25 15:46:54 UTC 2014 - coolo@suse.com - -- recommend multimon too - -------------------------------------------------------------------- -Tue Nov 25 14:33:52 UTC 2014 - coolo@suse.com - -- add testapi.pm to the file list - -------------------------------------------------------------------- -Mon Nov 24 12:53:04 UTC 2014 - coolo@suse.com - -- recommend eatmydata for performance - -------------------------------------------------------------------- -Mon Aug 18 14:40:13 UTC 2014 - lnussel@suse.de - -- adjust filelist for removed files - -------------------------------------------------------------------- -Mon Jul 28 14:44:23 UTC 2014 - lnussel@suse.de - -- require qemu >= 2.0.0 - -------------------------------------------------------------------- -Tue Jul 8 12:36:48 UTC 2014 - lnussel@suse.de - -- include VNC.pm in file list -- add Crypt::DES to deps - -------------------------------------------------------------------- -Tue Apr 8 19:16:15 UTC 2014 - coolo@suse.com - -- remove tidy script - -------------------------------------------------------------------- -Tue Mar 25 14:35:11 UTC 2014 - lnussel@suse.de - -- remove rpc.pl from file list - -------------------------------------------------------------------- -Wed Mar 12 16:04:02 UTC 2014 - coolo@suse.com - -- require qemu-img, quite useful :) - -------------------------------------------------------------------- -Wed Mar 12 09:23:38 UTC 2014 - coolo@suse.com - -- switch github url to os-autoinst orga - -------------------------------------------------------------------- -Mon Mar 10 13:30:54 UTC 2014 - tchvatal@suse.com - -- Use devel dep over pkgconfig one to build with 11.4 opencv - -------------------------------------------------------------------- -Mon Mar 10 13:21:22 UTC 2014 - tchvatal@suse.com - -- Cleanup with spec-cleaner and use requires(pre) - -------------------------------------------------------------------- -Tue May 14 15:09:56 UTC 2013 - lnussel@suse.de - -- initial package - diff --git a/_service:recompress:tar_scm:os-autoinst-4.4.1508936943.39adc5eb.tar.xz b/os-autoinst-4.4.1508936943.39adc5eb.tar.xz similarity index 100% rename from _service:recompress:tar_scm:os-autoinst-4.4.1508936943.39adc5eb.tar.xz rename to os-autoinst-4.4.1508936943.39adc5eb.tar.xz diff --git a/os-autoinst-rpmlintrc b/os-autoinst-rpmlintrc deleted file mode 100644 index 0bf5fd9..0000000 --- a/os-autoinst-rpmlintrc +++ /dev/null @@ -1 +0,0 @@ -setBadness('suse-dbus-unauthorized-service', 0) diff --git a/os-autoinst.changes b/os-autoinst.changes index 335b250..d11def0 100644 --- a/os-autoinst.changes +++ b/os-autoinst.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Mon Oct 30 11:03:20 UTC 2017 - okurz@suse.com + +- Update to version 4.4.1508936943.39adc5eb: + * Fix scale_timeout call in wait_serial function + * sshVirtsh: Hide confusing errors about undefined machines (#866) + * avoid accidentally cleaning (#865) + * Generalize x11_start_program with standard array argument (#863) + * Remove unused reload_needles property in backend + * Allow set_var to reevaluate needles + * Add option to exit early for test schedule evaluation (#853) + * Prevent diag message about _EXIT_AFTER_SCHEDULE if not requested + * Make sure select_console on broken vnc fails (#872) + * Introduce check_recorded_sound method (#873) + ------------------------------------------------------------------- Wed Sep 20 13:32:16 UTC 2017 - coolo@suse.com diff --git a/os-autoinst.spec b/os-autoinst.spec index 0b39514..bf283bd 100644 --- a/os-autoinst.spec +++ b/os-autoinst.spec @@ -17,7 +17,7 @@ Name: os-autoinst -Version: 4.4 +Version: 4.4.1508936943.39adc5eb Release: 0 Summary: OS-level test automation License: GPL-2.0+ From b60033fd80cfd856dc8553d83cd326ab2196f6f453926cf0b050c8e90eb490e5 Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Mon, 30 Oct 2017 13:45:49 +0000 Subject: [PATCH 14/22] osc copypac from project:devel:openQA package:os-autoinst revision:1690, using client side copy OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/os-autoinst?expand=0&rev=37 --- _service | 7 +- ...os-autoinst-4.4.1508936943.39adc5eb.tar.xz | 0 _service:set_version:os-autoinst.spec | 173 ++++++++++++++ _service:tar_scm:_servicedata | 4 + _service:tar_scm:os-autoinst.changes | 211 ++++++++++++++++++ os-autoinst-rpmlintrc | 1 + os-autoinst.changes | 15 -- os-autoinst.spec | 2 +- 8 files changed, 393 insertions(+), 20 deletions(-) rename os-autoinst-4.4.1508936943.39adc5eb.tar.xz => _service:recompress:tar_scm:os-autoinst-4.4.1508936943.39adc5eb.tar.xz (100%) create mode 100644 _service:set_version:os-autoinst.spec create mode 100644 _service:tar_scm:_servicedata create mode 100644 _service:tar_scm:os-autoinst.changes create mode 100644 os-autoinst-rpmlintrc diff --git a/_service b/_service index 5cd5944..78e7786 100644 --- a/_service +++ b/_service @@ -1,6 +1,5 @@ - - + 4.4 %ct.%h git://github.com/os-autoinst/os-autoinst.git @@ -9,9 +8,9 @@ enable okurz@suse.com - + xz *.tar - + diff --git a/os-autoinst-4.4.1508936943.39adc5eb.tar.xz b/_service:recompress:tar_scm:os-autoinst-4.4.1508936943.39adc5eb.tar.xz similarity index 100% rename from os-autoinst-4.4.1508936943.39adc5eb.tar.xz rename to _service:recompress:tar_scm:os-autoinst-4.4.1508936943.39adc5eb.tar.xz diff --git a/_service:set_version:os-autoinst.spec b/_service:set_version:os-autoinst.spec new file mode 100644 index 0000000..bf283bd --- /dev/null +++ b/_service:set_version:os-autoinst.spec @@ -0,0 +1,173 @@ +# +# spec file for package os-autoinst +# +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: os-autoinst +Version: 4.4.1508936943.39adc5eb +Release: 0 +Summary: OS-level test automation +License: GPL-2.0+ +Group: Development/Tools/Other +Source0: %{name}-%{version}.tar.xz +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gcc-c++ +BuildRequires: libtool +BuildRequires: opencv-devel +BuildRequires: pkg-config +BuildRequires: perl(Module::CPANfile) +BuildRequires: perl(Perl::Tidy) +BuildRequires: perl(Test::Compile) +BuildRequires: pkgconfig(fftw3) +BuildRequires: pkgconfig(libpng) +BuildRequires: pkgconfig(sndfile) +BuildRequires: pkgconfig(theoraenc) +%if %suse_version > 1320 +BuildRequires: perl(Perl::Critic) +%endif +Requires: /usr/bin/qemu-img +Requires: git-core +Requires: optipng +%{perl_requires} +Requires: qemu >= 2.0.0 +Requires: tesseract-ocr +Requires: withlock +%define t_requires perl(Carp::Always) perl(Data::Dump) perl(Crypt::DES) perl(JSON) perl(autodie) perl(Class::Accessor::Fast) perl(Exception::Class) perl(File::Which) perl(IPC::Run::Debug) perl(Net::DBus) perl(Net::SNMP) perl(Net::IP) perl(IPC::System::Simple) perl(Net::SSH2) perl(XML::LibXML) perl(Test::Output) perl(Test::Fatal) perl(Test::Warnings) perl(Pod::Coverage) perl(Test::Pod) perl(Test::MockModule) perl(Devel::Cover) perl(JSON::XS) perl(List::MoreUtils) perl(Test::Mock::Time) +BuildRequires: %t_requires +Requires: %t_requires +BuildRequires: perl(Mojolicious) +Requires: perl(Mojolicious) >= 5.60 +# we shuffle around a lot of JSON, so make sure this is fast +# and the JSON modules have subtle differences and we only test against XS in production +Requires: perl(JSON::XS) +Recommends: /usr/bin/xkbcomp /usr/bin/Xvnc dumponlyconsole +Requires(pre): %{_bindir}/getent +Requires(pre): %{_sbindir}/useradd +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +The OS-autoinst project aims at providing a means to run fully +automated tests. Especially to run tests of basic and low-level +operating system components such as bootloader, kernel, installer +and upgrade, which can not easily and safely be tested with other +automated testing frameworks. However, it can just as well be used +to test firefox and openoffice operation on top of a newly +installed OS. + +%package openvswitch +Summary: Openvswitch support for os-autoinst +Group: Development/Tools/Other +Requires: openvswitch +Requires: openvswitch-switch +Requires: os-autoinst + +%description openvswitch +This package contains openvswitch support for os-autoinst. + +%prep +%setup -q + +%build +mkdir -p m4 +autoreconf -f -i +%configure --docdir=%{_docdir}/%{name} +make INSTALLDIRS=vendor %{?_smp_mflags} + +%install +%make_install INSTALLDIRS=vendor +# Replace version number from git to what's reported by the package +sed -i 's/ my $thisversion = qx{git rev-parse HEAD};/ my $thisversion = "%{version}";/' %{buildroot}/usr/bin/isotovideo +# only internal stuff +rm %{buildroot}/usr/lib/os-autoinst/tools/tidy +rm -r %{buildroot}/usr/lib/os-autoinst/tools/lib/perlcritic +# +ls -lR %buildroot +find %{buildroot} -type f -name .packlist -print0 | xargs -0 --no-run-if-empty rm -f +find %{buildroot} -depth -type d -and -not -name distri -print0 | xargs -0 --no-run-if-empty rmdir 2>/dev/null || true +%perl_gen_filelist +# +# service symlink +mkdir -p %{buildroot}%{_sbindir} +ln -s ../sbin/service %{buildroot}%{_sbindir}/rcos-autoinst-openvswitch +# +# we need the stale symlinks to point to git +export NO_BRP_STALE_LINK_ERROR=yes + +%check +# disable perlcritic - too heavy dependency on old systems +if test -z "$(type -p perlcritic)"; then +sed '/perlcritic/d' -i Makefile +sed '/Perl::Critic/d' -i cpanfile +rm tools/lib/perlcritic/Perl/Critic/Policy/*.pm +fi +# don't require qemu within OBS +cp t/05-pod.t t/99-full-stack.t + +# should work offline +for p in $(cpanfile-dump); do rpm -q --whatprovides "perl($p)"; done +make check VERBOSE=1 + +%pre openvswitch +%service_add_pre os-autoinst-openvswitch.service + +%post openvswitch +%service_add_post os-autoinst-openvswitch.service + +%preun openvswitch +%service_del_preun os-autoinst-openvswitch.service + +%postun openvswitch +%service_del_postun os-autoinst-openvswitch.service + +%files -f %{name}.files +%defattr(-,root,root) +%{_docdir}/os-autoinst +%dir %{_libexecdir}/os-autoinst +%{_libexecdir}/os-autoinst/videoencoder +%{_libexecdir}/os-autoinst/basetest.pm +# +%{_libexecdir}/os-autoinst/dmidata +# +%{_libexecdir}/os-autoinst/bmwqemu.pm +%{_libexecdir}/os-autoinst/commands.pm +%{_libexecdir}/os-autoinst/distribution.pm +%{_libexecdir}/os-autoinst/testapi.pm +%{_libexecdir}/os-autoinst/mmapi.pm +%{_libexecdir}/os-autoinst/lockapi.pm +%{_libexecdir}/os-autoinst/cv.pm +%{_libexecdir}/os-autoinst/ocr.pm +%{_libexecdir}/os-autoinst/needle.pm +%{_libexecdir}/os-autoinst/osutils.pm +%{_libexecdir}/os-autoinst/myjsonrpc.pm +%{_libexecdir}/os-autoinst/backend +%{_libexecdir}/os-autoinst/OpenQA +%{_libexecdir}/os-autoinst/consoles +%dir %{_libexecdir}/os-autoinst/tools +%{_libexecdir}/os-autoinst/tools/absolutize +%{_libexecdir}/os-autoinst/tools/preparepool +%{_libexecdir}/os-autoinst/tools/check_coverage +%{_libexecdir}/os-autoinst/autotest.pm +%{_libexecdir}/os-autoinst/crop.py + +%files openvswitch +%defattr(-,root,root) +%{_libexecdir}/os-autoinst/os-autoinst-openvswitch +/usr/lib/systemd/system/os-autoinst-openvswitch.service +%config /etc/dbus-1/system.d/org.opensuse.os_autoinst.switch.conf +%{_sbindir}/rcos-autoinst-openvswitch + +%changelog diff --git a/_service:tar_scm:_servicedata b/_service:tar_scm:_servicedata new file mode 100644 index 0000000..12db1e5 --- /dev/null +++ b/_service:tar_scm:_servicedata @@ -0,0 +1,4 @@ + + + git://github.com/os-autoinst/os-autoinst.git + 39adc5eba3d594cfcaa96eb65ffe24a912dec07d \ No newline at end of file diff --git a/_service:tar_scm:os-autoinst.changes b/_service:tar_scm:os-autoinst.changes new file mode 100644 index 0000000..c4739c5 --- /dev/null +++ b/_service:tar_scm:os-autoinst.changes @@ -0,0 +1,211 @@ +------------------------------------------------------------------- +Mon Oct 30 13:45:58 UTC 2017 - okurz@suse.com + +- Update to version 4.4.1508936943.39adc5eb: + * Fix scale_timeout call in wait_serial function + * sshVirtsh: Hide confusing errors about undefined machines (#866) + * avoid accidentally cleaning (#865) + * Generalize x11_start_program with standard array argument (#863) + * Remove unused reload_needles property in backend + * Allow set_var to reevaluate needles + * Add option to exit early for test schedule evaluation (#853) + * Prevent diag message about _EXIT_AFTER_SCHEDULE if not requested + * Make sure select_console on broken vnc fails (#872) + * Introduce check_recorded_sound method (#873) + +------------------------------------------------------------------- +Wed Sep 20 13:32:16 UTC 2017 - coolo@suse.com + +- add Test::Mock::Time require + +------------------------------------------------------------------- +Wed Sep 20 12:12:18 UTC 2017 - okurz@suse.com + +- Update to version 4.4.1505909574.e0b4d014: + * Correct validate_script_output test to actually test something + * Add test for wait_still_screen + * testapi: Add 'no_wait' option to wait_still_screen + * Fix warning in test about 'prototype mismatch' + * Allow type_string to wait_still_screen + * Use hash ref in query_isotovideo + * Add test for wait_idle in full stack test. + * consoles: s3270: Make debug output of queue content less noisy + * Update API document referring function type_string + * Remove typing tests from integration tests (#857) + +------------------------------------------------------------------- +Sat Jun 17 17:13:00 UTC 2017 - stefan.bruens@rwth-aachen.de + +- Add dependency on matching perl version, as the tinycv module is + installed in a version dependent path +- Drop bogus conditionals, suse_version <= 132 will never match + +------------------------------------------------------------------- +Thu Mar 23 13:34:22 UTC 2017 - santiago.zarate@suse.com + +- Inline replacement for version parameter on isotovideo + +------------------------------------------------------------------- +Sun Mar 12 13:16:41 UTC 2017 - oholecek@suse.com + +- new perl(Test::Warnings) dependency + +------------------------------------------------------------------- +Wed Sep 7 14:27:00 UTC 2016 - oholecek@suse.com + +- new perl(Devel::Cover) dependency +- package os-autoinst/tools/check_coverage tool + +------------------------------------------------------------------- +Sat Jul 9 05:30:45 UTC 2016 - coolo@suse.com + +- update base version to 4.4 to express the new isotovideo API + towards the worker + +------------------------------------------------------------------- +Mon May 30 08:53:37 UTC 2016 - oholecek@suse.com + +- new perl(Test::MockModule) dependency + +------------------------------------------------------------------- +Mon Feb 15 09:15:19 UTC 2016 - oholecek@suse.com + +- new perl(Test::Output) dependency + +------------------------------------------------------------------- +Thu Jan 14 12:48:28 UTC 2016 - oholecek@suse.com + +- update base version to 4.3 + +------------------------------------------------------------------- +Tue Dec 8 19:16:38 UTC 2015 - coolo@suse.com + +- add snd2png + +------------------------------------------------------------------- +Fri Nov 27 07:49:46 UTC 2015 - coolo@suse.com + +- new dependencies + +------------------------------------------------------------------- +Tue Nov 24 09:26:26 UTC 2015 - coolo@suse.com + +- disable perlcritic outside of Factory - too useless to test with + old perlcritic versions + +------------------------------------------------------------------- +Tue Nov 24 08:53:36 UTC 2015 - coolo@suse.com + +- adapt file list + +------------------------------------------------------------------- +Tue Nov 17 05:23:43 UTC 2015 - coolo@suse.com + +- remove gone files from file list + +------------------------------------------------------------------- +Tue Aug 25 15:02:10 UTC 2015 - lnussel@suse.de + +- require tesseract-ocr on >= 13.2 + +------------------------------------------------------------------- +Thu Jul 9 14:31:50 UTC 2015 - nadvornik@suse.com + +- created os-autoinst-openvswitch subpackage + +------------------------------------------------------------------- +Tue Mar 10 10:39:17 UTC 2015 - oholecek@suse.com + +- add mmapi.pm + +------------------------------------------------------------------- +Sun Mar 1 09:59:08 UTC 2015 - oholecek@suse.com + +- add lockapi.pm + +------------------------------------------------------------------- +Thu Feb 19 15:34:02 UTC 2015 - lnussel@suse.de + +- remove fetchneedles call. now in openQA + +------------------------------------------------------------------- +Wed Jan 28 09:56:16 UTC 2015 - coolo@suse.com + +- make it version 4 + +------------------------------------------------------------------- +Thu Nov 27 18:50:31 UTC 2014 - coolo@suse.com + +- add videoencoder + +------------------------------------------------------------------- +Thu Nov 27 13:18:44 UTC 2014 - coolo@suse.com + +- add distribution.pm + +------------------------------------------------------------------- +Tue Nov 25 15:46:54 UTC 2014 - coolo@suse.com + +- recommend multimon too + +------------------------------------------------------------------- +Tue Nov 25 14:33:52 UTC 2014 - coolo@suse.com + +- add testapi.pm to the file list + +------------------------------------------------------------------- +Mon Nov 24 12:53:04 UTC 2014 - coolo@suse.com + +- recommend eatmydata for performance + +------------------------------------------------------------------- +Mon Aug 18 14:40:13 UTC 2014 - lnussel@suse.de + +- adjust filelist for removed files + +------------------------------------------------------------------- +Mon Jul 28 14:44:23 UTC 2014 - lnussel@suse.de + +- require qemu >= 2.0.0 + +------------------------------------------------------------------- +Tue Jul 8 12:36:48 UTC 2014 - lnussel@suse.de + +- include VNC.pm in file list +- add Crypt::DES to deps + +------------------------------------------------------------------- +Tue Apr 8 19:16:15 UTC 2014 - coolo@suse.com + +- remove tidy script + +------------------------------------------------------------------- +Tue Mar 25 14:35:11 UTC 2014 - lnussel@suse.de + +- remove rpc.pl from file list + +------------------------------------------------------------------- +Wed Mar 12 16:04:02 UTC 2014 - coolo@suse.com + +- require qemu-img, quite useful :) + +------------------------------------------------------------------- +Wed Mar 12 09:23:38 UTC 2014 - coolo@suse.com + +- switch github url to os-autoinst orga + +------------------------------------------------------------------- +Mon Mar 10 13:30:54 UTC 2014 - tchvatal@suse.com + +- Use devel dep over pkgconfig one to build with 11.4 opencv + +------------------------------------------------------------------- +Mon Mar 10 13:21:22 UTC 2014 - tchvatal@suse.com + +- Cleanup with spec-cleaner and use requires(pre) + +------------------------------------------------------------------- +Tue May 14 15:09:56 UTC 2013 - lnussel@suse.de + +- initial package + diff --git a/os-autoinst-rpmlintrc b/os-autoinst-rpmlintrc new file mode 100644 index 0000000..0bf5fd9 --- /dev/null +++ b/os-autoinst-rpmlintrc @@ -0,0 +1 @@ +setBadness('suse-dbus-unauthorized-service', 0) diff --git a/os-autoinst.changes b/os-autoinst.changes index d11def0..335b250 100644 --- a/os-autoinst.changes +++ b/os-autoinst.changes @@ -1,18 +1,3 @@ -------------------------------------------------------------------- -Mon Oct 30 11:03:20 UTC 2017 - okurz@suse.com - -- Update to version 4.4.1508936943.39adc5eb: - * Fix scale_timeout call in wait_serial function - * sshVirtsh: Hide confusing errors about undefined machines (#866) - * avoid accidentally cleaning (#865) - * Generalize x11_start_program with standard array argument (#863) - * Remove unused reload_needles property in backend - * Allow set_var to reevaluate needles - * Add option to exit early for test schedule evaluation (#853) - * Prevent diag message about _EXIT_AFTER_SCHEDULE if not requested - * Make sure select_console on broken vnc fails (#872) - * Introduce check_recorded_sound method (#873) - ------------------------------------------------------------------- Wed Sep 20 13:32:16 UTC 2017 - coolo@suse.com diff --git a/os-autoinst.spec b/os-autoinst.spec index bf283bd..0b39514 100644 --- a/os-autoinst.spec +++ b/os-autoinst.spec @@ -17,7 +17,7 @@ Name: os-autoinst -Version: 4.4.1508936943.39adc5eb +Version: 4.4 Release: 0 Summary: OS-level test automation License: GPL-2.0+ From c44f900c1ad129ae243b5db63ec459e129ea5a8457598f4cefee87f3b1899228 Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Mon, 30 Oct 2017 13:45:50 +0000 Subject: [PATCH 15/22] osc copypac from project:devel:openQA package:os-autoinst revision:1690, using client side copy OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/os-autoinst?expand=0&rev=38 --- _service:tar_scm:os-autoinst.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_service:tar_scm:os-autoinst.changes b/_service:tar_scm:os-autoinst.changes index c4739c5..6a05117 100644 --- a/_service:tar_scm:os-autoinst.changes +++ b/_service:tar_scm:os-autoinst.changes @@ -1,5 +1,5 @@ ------------------------------------------------------------------- -Mon Oct 30 13:45:58 UTC 2017 - okurz@suse.com +Mon Oct 30 13:46:03 UTC 2017 - okurz@suse.com - Update to version 4.4.1508936943.39adc5eb: * Fix scale_timeout call in wait_serial function From 67a401e2fad3034448bb65084eaee3c33f65cf7769ec2528e93335d2261a0d55 Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Tue, 31 Oct 2017 14:08:18 +0000 Subject: [PATCH 16/22] osc copypac from project:devel:openQA package:os-autoinst revision:1690, using client side copy OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/os-autoinst?expand=0&rev=39 --- _service:tar_scm:os-autoinst.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_service:tar_scm:os-autoinst.changes b/_service:tar_scm:os-autoinst.changes index 6a05117..8e71c21 100644 --- a/_service:tar_scm:os-autoinst.changes +++ b/_service:tar_scm:os-autoinst.changes @@ -1,5 +1,5 @@ ------------------------------------------------------------------- -Mon Oct 30 13:46:03 UTC 2017 - okurz@suse.com +Tue Oct 31 14:08:27 UTC 2017 - okurz@suse.com - Update to version 4.4.1508936943.39adc5eb: * Fix scale_timeout call in wait_serial function From 32b8632d769345396ccb163e966ba7f18fb3a261e4cde8b6a0b33840c32d7818 Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Tue, 31 Oct 2017 14:08:19 +0000 Subject: [PATCH 17/22] osc copypac from project:devel:openQA package:os-autoinst revision:1690, using client side copy OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/os-autoinst?expand=0&rev=40 --- _service:tar_scm:os-autoinst.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_service:tar_scm:os-autoinst.changes b/_service:tar_scm:os-autoinst.changes index 8e71c21..18b2a1b 100644 --- a/_service:tar_scm:os-autoinst.changes +++ b/_service:tar_scm:os-autoinst.changes @@ -1,5 +1,5 @@ ------------------------------------------------------------------- -Tue Oct 31 14:08:27 UTC 2017 - okurz@suse.com +Tue Oct 31 14:08:32 UTC 2017 - okurz@suse.com - Update to version 4.4.1508936943.39adc5eb: * Fix scale_timeout call in wait_serial function From 94e662b6847a5d765e0d7e642e9b5d7b12c77ab0b706178446320edc2594752f Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Tue, 31 Oct 2017 14:36:24 +0000 Subject: [PATCH 18/22] osc copypac from project:devel:openQA package:os-autoinst revision:1690, using client side copy OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/os-autoinst?expand=0&rev=41 --- _service:tar_scm:os-autoinst.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_service:tar_scm:os-autoinst.changes b/_service:tar_scm:os-autoinst.changes index 18b2a1b..1049c46 100644 --- a/_service:tar_scm:os-autoinst.changes +++ b/_service:tar_scm:os-autoinst.changes @@ -1,5 +1,5 @@ ------------------------------------------------------------------- -Tue Oct 31 14:08:32 UTC 2017 - okurz@suse.com +Tue Oct 31 14:36:34 UTC 2017 - okurz@suse.com - Update to version 4.4.1508936943.39adc5eb: * Fix scale_timeout call in wait_serial function From 8eae5be312cbb330560241f3a830b30f7e31866b6f3674e6adae7f8ea88068b6 Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Tue, 31 Oct 2017 14:36:25 +0000 Subject: [PATCH 19/22] osc copypac from project:devel:openQA package:os-autoinst revision:1690, using client side copy OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/os-autoinst?expand=0&rev=42 --- _service:tar_scm:os-autoinst.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_service:tar_scm:os-autoinst.changes b/_service:tar_scm:os-autoinst.changes index 1049c46..de24cb4 100644 --- a/_service:tar_scm:os-autoinst.changes +++ b/_service:tar_scm:os-autoinst.changes @@ -1,5 +1,5 @@ ------------------------------------------------------------------- -Tue Oct 31 14:36:34 UTC 2017 - okurz@suse.com +Tue Oct 31 14:36:39 UTC 2017 - okurz@suse.com - Update to version 4.4.1508936943.39adc5eb: * Fix scale_timeout call in wait_serial function From cfb60a133dabce0f137f5874e286016292d89b3d9361f4c0461810a71d8f2564 Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Thu, 2 Nov 2017 13:45:42 +0000 Subject: [PATCH 20/22] osc copypac from project:devel:openQA package:os-autoinst revision:1690, using client side copy OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/os-autoinst?expand=0&rev=43 --- _service:tar_scm:os-autoinst.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_service:tar_scm:os-autoinst.changes b/_service:tar_scm:os-autoinst.changes index de24cb4..e33cbe2 100644 --- a/_service:tar_scm:os-autoinst.changes +++ b/_service:tar_scm:os-autoinst.changes @@ -1,5 +1,5 @@ ------------------------------------------------------------------- -Tue Oct 31 14:36:39 UTC 2017 - okurz@suse.com +Thu Nov 02 13:45:52 UTC 2017 - okurz@suse.com - Update to version 4.4.1508936943.39adc5eb: * Fix scale_timeout call in wait_serial function From 87f0d843e91f9707d255c47300bcc4c446bd133d07913cc134652610c6aa3089 Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Thu, 2 Nov 2017 13:45:42 +0000 Subject: [PATCH 21/22] osc copypac from project:devel:openQA package:os-autoinst revision:1690, using client side copy OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/os-autoinst?expand=0&rev=44 --- _service:tar_scm:os-autoinst.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_service:tar_scm:os-autoinst.changes b/_service:tar_scm:os-autoinst.changes index e33cbe2..712f8de 100644 --- a/_service:tar_scm:os-autoinst.changes +++ b/_service:tar_scm:os-autoinst.changes @@ -1,5 +1,5 @@ ------------------------------------------------------------------- -Thu Nov 02 13:45:52 UTC 2017 - okurz@suse.com +Thu Nov 02 13:45:57 UTC 2017 - okurz@suse.com - Update to version 4.4.1508936943.39adc5eb: * Fix scale_timeout call in wait_serial function From 9387e527a7bce7a85c84129af72044148119c9d703be3cb3c8985963b8de5086 Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Thu, 2 Nov 2017 13:46:29 +0000 Subject: [PATCH 22/22] Offline generation of 4.4.1508936943.39adc5eb OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/os-autoinst?expand=0&rev=45 --- _service | 7 +- _service:set_version:os-autoinst.spec | 173 -------------- _service:tar_scm:_servicedata | 4 - _service:tar_scm:os-autoinst.changes | 211 ------------------ ...os-autoinst-4.4.1508936943.39adc5eb.tar.xz | 0 os-autoinst-rpmlintrc | 1 - os-autoinst.changes | 15 ++ os-autoinst.spec | 2 +- 8 files changed, 20 insertions(+), 393 deletions(-) delete mode 100644 _service:set_version:os-autoinst.spec delete mode 100644 _service:tar_scm:_servicedata delete mode 100644 _service:tar_scm:os-autoinst.changes rename _service:recompress:tar_scm:os-autoinst-4.4.1508936943.39adc5eb.tar.xz => os-autoinst-4.4.1508936943.39adc5eb.tar.xz (100%) delete mode 100644 os-autoinst-rpmlintrc diff --git a/_service b/_service index 78e7786..5cd5944 100644 --- a/_service +++ b/_service @@ -1,5 +1,6 @@ + - + 4.4 %ct.%h git://github.com/os-autoinst/os-autoinst.git @@ -8,9 +9,9 @@ enable okurz@suse.com - + xz *.tar - + diff --git a/_service:set_version:os-autoinst.spec b/_service:set_version:os-autoinst.spec deleted file mode 100644 index bf283bd..0000000 --- a/_service:set_version:os-autoinst.spec +++ /dev/null @@ -1,173 +0,0 @@ -# -# spec file for package os-autoinst -# -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. - -# Please submit bugfixes or comments via http://bugs.opensuse.org/ -# - - -Name: os-autoinst -Version: 4.4.1508936943.39adc5eb -Release: 0 -Summary: OS-level test automation -License: GPL-2.0+ -Group: Development/Tools/Other -Source0: %{name}-%{version}.tar.xz -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: gcc-c++ -BuildRequires: libtool -BuildRequires: opencv-devel -BuildRequires: pkg-config -BuildRequires: perl(Module::CPANfile) -BuildRequires: perl(Perl::Tidy) -BuildRequires: perl(Test::Compile) -BuildRequires: pkgconfig(fftw3) -BuildRequires: pkgconfig(libpng) -BuildRequires: pkgconfig(sndfile) -BuildRequires: pkgconfig(theoraenc) -%if %suse_version > 1320 -BuildRequires: perl(Perl::Critic) -%endif -Requires: /usr/bin/qemu-img -Requires: git-core -Requires: optipng -%{perl_requires} -Requires: qemu >= 2.0.0 -Requires: tesseract-ocr -Requires: withlock -%define t_requires perl(Carp::Always) perl(Data::Dump) perl(Crypt::DES) perl(JSON) perl(autodie) perl(Class::Accessor::Fast) perl(Exception::Class) perl(File::Which) perl(IPC::Run::Debug) perl(Net::DBus) perl(Net::SNMP) perl(Net::IP) perl(IPC::System::Simple) perl(Net::SSH2) perl(XML::LibXML) perl(Test::Output) perl(Test::Fatal) perl(Test::Warnings) perl(Pod::Coverage) perl(Test::Pod) perl(Test::MockModule) perl(Devel::Cover) perl(JSON::XS) perl(List::MoreUtils) perl(Test::Mock::Time) -BuildRequires: %t_requires -Requires: %t_requires -BuildRequires: perl(Mojolicious) -Requires: perl(Mojolicious) >= 5.60 -# we shuffle around a lot of JSON, so make sure this is fast -# and the JSON modules have subtle differences and we only test against XS in production -Requires: perl(JSON::XS) -Recommends: /usr/bin/xkbcomp /usr/bin/Xvnc dumponlyconsole -Requires(pre): %{_bindir}/getent -Requires(pre): %{_sbindir}/useradd -BuildRoot: %{_tmppath}/%{name}-%{version}-build - -%description -The OS-autoinst project aims at providing a means to run fully -automated tests. Especially to run tests of basic and low-level -operating system components such as bootloader, kernel, installer -and upgrade, which can not easily and safely be tested with other -automated testing frameworks. However, it can just as well be used -to test firefox and openoffice operation on top of a newly -installed OS. - -%package openvswitch -Summary: Openvswitch support for os-autoinst -Group: Development/Tools/Other -Requires: openvswitch -Requires: openvswitch-switch -Requires: os-autoinst - -%description openvswitch -This package contains openvswitch support for os-autoinst. - -%prep -%setup -q - -%build -mkdir -p m4 -autoreconf -f -i -%configure --docdir=%{_docdir}/%{name} -make INSTALLDIRS=vendor %{?_smp_mflags} - -%install -%make_install INSTALLDIRS=vendor -# Replace version number from git to what's reported by the package -sed -i 's/ my $thisversion = qx{git rev-parse HEAD};/ my $thisversion = "%{version}";/' %{buildroot}/usr/bin/isotovideo -# only internal stuff -rm %{buildroot}/usr/lib/os-autoinst/tools/tidy -rm -r %{buildroot}/usr/lib/os-autoinst/tools/lib/perlcritic -# -ls -lR %buildroot -find %{buildroot} -type f -name .packlist -print0 | xargs -0 --no-run-if-empty rm -f -find %{buildroot} -depth -type d -and -not -name distri -print0 | xargs -0 --no-run-if-empty rmdir 2>/dev/null || true -%perl_gen_filelist -# -# service symlink -mkdir -p %{buildroot}%{_sbindir} -ln -s ../sbin/service %{buildroot}%{_sbindir}/rcos-autoinst-openvswitch -# -# we need the stale symlinks to point to git -export NO_BRP_STALE_LINK_ERROR=yes - -%check -# disable perlcritic - too heavy dependency on old systems -if test -z "$(type -p perlcritic)"; then -sed '/perlcritic/d' -i Makefile -sed '/Perl::Critic/d' -i cpanfile -rm tools/lib/perlcritic/Perl/Critic/Policy/*.pm -fi -# don't require qemu within OBS -cp t/05-pod.t t/99-full-stack.t - -# should work offline -for p in $(cpanfile-dump); do rpm -q --whatprovides "perl($p)"; done -make check VERBOSE=1 - -%pre openvswitch -%service_add_pre os-autoinst-openvswitch.service - -%post openvswitch -%service_add_post os-autoinst-openvswitch.service - -%preun openvswitch -%service_del_preun os-autoinst-openvswitch.service - -%postun openvswitch -%service_del_postun os-autoinst-openvswitch.service - -%files -f %{name}.files -%defattr(-,root,root) -%{_docdir}/os-autoinst -%dir %{_libexecdir}/os-autoinst -%{_libexecdir}/os-autoinst/videoencoder -%{_libexecdir}/os-autoinst/basetest.pm -# -%{_libexecdir}/os-autoinst/dmidata -# -%{_libexecdir}/os-autoinst/bmwqemu.pm -%{_libexecdir}/os-autoinst/commands.pm -%{_libexecdir}/os-autoinst/distribution.pm -%{_libexecdir}/os-autoinst/testapi.pm -%{_libexecdir}/os-autoinst/mmapi.pm -%{_libexecdir}/os-autoinst/lockapi.pm -%{_libexecdir}/os-autoinst/cv.pm -%{_libexecdir}/os-autoinst/ocr.pm -%{_libexecdir}/os-autoinst/needle.pm -%{_libexecdir}/os-autoinst/osutils.pm -%{_libexecdir}/os-autoinst/myjsonrpc.pm -%{_libexecdir}/os-autoinst/backend -%{_libexecdir}/os-autoinst/OpenQA -%{_libexecdir}/os-autoinst/consoles -%dir %{_libexecdir}/os-autoinst/tools -%{_libexecdir}/os-autoinst/tools/absolutize -%{_libexecdir}/os-autoinst/tools/preparepool -%{_libexecdir}/os-autoinst/tools/check_coverage -%{_libexecdir}/os-autoinst/autotest.pm -%{_libexecdir}/os-autoinst/crop.py - -%files openvswitch -%defattr(-,root,root) -%{_libexecdir}/os-autoinst/os-autoinst-openvswitch -/usr/lib/systemd/system/os-autoinst-openvswitch.service -%config /etc/dbus-1/system.d/org.opensuse.os_autoinst.switch.conf -%{_sbindir}/rcos-autoinst-openvswitch - -%changelog diff --git a/_service:tar_scm:_servicedata b/_service:tar_scm:_servicedata deleted file mode 100644 index 12db1e5..0000000 --- a/_service:tar_scm:_servicedata +++ /dev/null @@ -1,4 +0,0 @@ - - - git://github.com/os-autoinst/os-autoinst.git - 39adc5eba3d594cfcaa96eb65ffe24a912dec07d \ No newline at end of file diff --git a/_service:tar_scm:os-autoinst.changes b/_service:tar_scm:os-autoinst.changes deleted file mode 100644 index 712f8de..0000000 --- a/_service:tar_scm:os-autoinst.changes +++ /dev/null @@ -1,211 +0,0 @@ -------------------------------------------------------------------- -Thu Nov 02 13:45:57 UTC 2017 - okurz@suse.com - -- Update to version 4.4.1508936943.39adc5eb: - * Fix scale_timeout call in wait_serial function - * sshVirtsh: Hide confusing errors about undefined machines (#866) - * avoid accidentally cleaning (#865) - * Generalize x11_start_program with standard array argument (#863) - * Remove unused reload_needles property in backend - * Allow set_var to reevaluate needles - * Add option to exit early for test schedule evaluation (#853) - * Prevent diag message about _EXIT_AFTER_SCHEDULE if not requested - * Make sure select_console on broken vnc fails (#872) - * Introduce check_recorded_sound method (#873) - -------------------------------------------------------------------- -Wed Sep 20 13:32:16 UTC 2017 - coolo@suse.com - -- add Test::Mock::Time require - -------------------------------------------------------------------- -Wed Sep 20 12:12:18 UTC 2017 - okurz@suse.com - -- Update to version 4.4.1505909574.e0b4d014: - * Correct validate_script_output test to actually test something - * Add test for wait_still_screen - * testapi: Add 'no_wait' option to wait_still_screen - * Fix warning in test about 'prototype mismatch' - * Allow type_string to wait_still_screen - * Use hash ref in query_isotovideo - * Add test for wait_idle in full stack test. - * consoles: s3270: Make debug output of queue content less noisy - * Update API document referring function type_string - * Remove typing tests from integration tests (#857) - -------------------------------------------------------------------- -Sat Jun 17 17:13:00 UTC 2017 - stefan.bruens@rwth-aachen.de - -- Add dependency on matching perl version, as the tinycv module is - installed in a version dependent path -- Drop bogus conditionals, suse_version <= 132 will never match - -------------------------------------------------------------------- -Thu Mar 23 13:34:22 UTC 2017 - santiago.zarate@suse.com - -- Inline replacement for version parameter on isotovideo - -------------------------------------------------------------------- -Sun Mar 12 13:16:41 UTC 2017 - oholecek@suse.com - -- new perl(Test::Warnings) dependency - -------------------------------------------------------------------- -Wed Sep 7 14:27:00 UTC 2016 - oholecek@suse.com - -- new perl(Devel::Cover) dependency -- package os-autoinst/tools/check_coverage tool - -------------------------------------------------------------------- -Sat Jul 9 05:30:45 UTC 2016 - coolo@suse.com - -- update base version to 4.4 to express the new isotovideo API - towards the worker - -------------------------------------------------------------------- -Mon May 30 08:53:37 UTC 2016 - oholecek@suse.com - -- new perl(Test::MockModule) dependency - -------------------------------------------------------------------- -Mon Feb 15 09:15:19 UTC 2016 - oholecek@suse.com - -- new perl(Test::Output) dependency - -------------------------------------------------------------------- -Thu Jan 14 12:48:28 UTC 2016 - oholecek@suse.com - -- update base version to 4.3 - -------------------------------------------------------------------- -Tue Dec 8 19:16:38 UTC 2015 - coolo@suse.com - -- add snd2png - -------------------------------------------------------------------- -Fri Nov 27 07:49:46 UTC 2015 - coolo@suse.com - -- new dependencies - -------------------------------------------------------------------- -Tue Nov 24 09:26:26 UTC 2015 - coolo@suse.com - -- disable perlcritic outside of Factory - too useless to test with - old perlcritic versions - -------------------------------------------------------------------- -Tue Nov 24 08:53:36 UTC 2015 - coolo@suse.com - -- adapt file list - -------------------------------------------------------------------- -Tue Nov 17 05:23:43 UTC 2015 - coolo@suse.com - -- remove gone files from file list - -------------------------------------------------------------------- -Tue Aug 25 15:02:10 UTC 2015 - lnussel@suse.de - -- require tesseract-ocr on >= 13.2 - -------------------------------------------------------------------- -Thu Jul 9 14:31:50 UTC 2015 - nadvornik@suse.com - -- created os-autoinst-openvswitch subpackage - -------------------------------------------------------------------- -Tue Mar 10 10:39:17 UTC 2015 - oholecek@suse.com - -- add mmapi.pm - -------------------------------------------------------------------- -Sun Mar 1 09:59:08 UTC 2015 - oholecek@suse.com - -- add lockapi.pm - -------------------------------------------------------------------- -Thu Feb 19 15:34:02 UTC 2015 - lnussel@suse.de - -- remove fetchneedles call. now in openQA - -------------------------------------------------------------------- -Wed Jan 28 09:56:16 UTC 2015 - coolo@suse.com - -- make it version 4 - -------------------------------------------------------------------- -Thu Nov 27 18:50:31 UTC 2014 - coolo@suse.com - -- add videoencoder - -------------------------------------------------------------------- -Thu Nov 27 13:18:44 UTC 2014 - coolo@suse.com - -- add distribution.pm - -------------------------------------------------------------------- -Tue Nov 25 15:46:54 UTC 2014 - coolo@suse.com - -- recommend multimon too - -------------------------------------------------------------------- -Tue Nov 25 14:33:52 UTC 2014 - coolo@suse.com - -- add testapi.pm to the file list - -------------------------------------------------------------------- -Mon Nov 24 12:53:04 UTC 2014 - coolo@suse.com - -- recommend eatmydata for performance - -------------------------------------------------------------------- -Mon Aug 18 14:40:13 UTC 2014 - lnussel@suse.de - -- adjust filelist for removed files - -------------------------------------------------------------------- -Mon Jul 28 14:44:23 UTC 2014 - lnussel@suse.de - -- require qemu >= 2.0.0 - -------------------------------------------------------------------- -Tue Jul 8 12:36:48 UTC 2014 - lnussel@suse.de - -- include VNC.pm in file list -- add Crypt::DES to deps - -------------------------------------------------------------------- -Tue Apr 8 19:16:15 UTC 2014 - coolo@suse.com - -- remove tidy script - -------------------------------------------------------------------- -Tue Mar 25 14:35:11 UTC 2014 - lnussel@suse.de - -- remove rpc.pl from file list - -------------------------------------------------------------------- -Wed Mar 12 16:04:02 UTC 2014 - coolo@suse.com - -- require qemu-img, quite useful :) - -------------------------------------------------------------------- -Wed Mar 12 09:23:38 UTC 2014 - coolo@suse.com - -- switch github url to os-autoinst orga - -------------------------------------------------------------------- -Mon Mar 10 13:30:54 UTC 2014 - tchvatal@suse.com - -- Use devel dep over pkgconfig one to build with 11.4 opencv - -------------------------------------------------------------------- -Mon Mar 10 13:21:22 UTC 2014 - tchvatal@suse.com - -- Cleanup with spec-cleaner and use requires(pre) - -------------------------------------------------------------------- -Tue May 14 15:09:56 UTC 2013 - lnussel@suse.de - -- initial package - diff --git a/_service:recompress:tar_scm:os-autoinst-4.4.1508936943.39adc5eb.tar.xz b/os-autoinst-4.4.1508936943.39adc5eb.tar.xz similarity index 100% rename from _service:recompress:tar_scm:os-autoinst-4.4.1508936943.39adc5eb.tar.xz rename to os-autoinst-4.4.1508936943.39adc5eb.tar.xz diff --git a/os-autoinst-rpmlintrc b/os-autoinst-rpmlintrc deleted file mode 100644 index 0bf5fd9..0000000 --- a/os-autoinst-rpmlintrc +++ /dev/null @@ -1 +0,0 @@ -setBadness('suse-dbus-unauthorized-service', 0) diff --git a/os-autoinst.changes b/os-autoinst.changes index 335b250..cd2e248 100644 --- a/os-autoinst.changes +++ b/os-autoinst.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Thu Nov 02 13:46:14 UTC 2017 - okurz@suse.com + +- Update to version 4.4.1508936943.39adc5eb: + * Fix scale_timeout call in wait_serial function + * sshVirtsh: Hide confusing errors about undefined machines (#866) + * avoid accidentally cleaning (#865) + * Generalize x11_start_program with standard array argument (#863) + * Remove unused reload_needles property in backend + * Allow set_var to reevaluate needles + * Add option to exit early for test schedule evaluation (#853) + * Prevent diag message about _EXIT_AFTER_SCHEDULE if not requested + * Make sure select_console on broken vnc fails (#872) + * Introduce check_recorded_sound method (#873) + ------------------------------------------------------------------- Wed Sep 20 13:32:16 UTC 2017 - coolo@suse.com diff --git a/os-autoinst.spec b/os-autoinst.spec index 0b39514..bf283bd 100644 --- a/os-autoinst.spec +++ b/os-autoinst.spec @@ -17,7 +17,7 @@ Name: os-autoinst -Version: 4.4 +Version: 4.4.1508936943.39adc5eb Release: 0 Summary: OS-level test automation License: GPL-2.0+