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=19
This commit is contained in:
Oliver Kurz 2017-10-28 12:23:59 +00:00 committed by Git OBS Bridge
parent b0a73c2769
commit 42d3e3ef63
8 changed files with 422 additions and 96 deletions

View File

@ -1,6 +1,5 @@
<?xml version="1.0"?>
<services>
<service name="tar_scm" mode="disabled">
<service name="tar_scm">
<param name="versionprefix">4.4</param>
<param name="versionformat">%ct.%h</param>
<param name="url">git://github.com/os-autoinst/os-autoinst.git</param>
@ -9,9 +8,9 @@
<param name="changesgenerate">enable</param>
<param name="changesauthor">okurz@suse.com</param>
</service>
<service name="recompress" mode="disabled">
<service name="recompress">
<param name="compression">xz</param>
<param name="file">*.tar</param>
</service>
<service name="set_version" mode="disabled"/>
<service name="set_version"/>
</services>

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3d3365acb5598d8de9a5d5bf9fcdbc0d72323ccd7fe84bc45b6bee0497bfb90e
size 18675720

View File

@ -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

View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">git://github.com/os-autoinst/os-autoinst.git</param>
<param name="changesrevision">39adc5eba3d594cfcaa96eb65ffe24a912dec07d</param></service></servicedata>

View File

@ -0,0 +1,211 @@
-------------------------------------------------------------------
Sat Oct 28 12:24: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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6520953d51193a1b9a68870965ad1336690e8074635517c3efc14c580e35a34b
size 18667336

View File

@ -1,77 +1,29 @@
-------------------------------------------------------------------
Mon Jun 19 11:49:31 UTC 2017 - okurz@suse.de
Wed Sep 20 13:32:16 UTC 2017 - coolo@suse.com
- Update to version 4.4.1497860778.ee583791:
* videoencoder: Reduce number of allocations and do not copy data around
* videoencoder: Trade bitrate for higher encoding speed
* videoencoder: Handle th_encode_packetout return value correctly
* videoencoder: Use SET_DUP_COUNT encoder control for repeated frames
* Set SCSI bus only for matching CD models (#775)
* virtio_console: Add carry buffer for post match data (#772)
* Distinguish between failed and timed out in script run (#773)
* Disable keepalive, restart ipmiconsole on non-zero death (#777)
* Import Scalar::Util to get blessed method (#778)
* IPMI Backend: Disable VNC stall detection (#780)
* Clarify error message for undiscoverable needle (#776)
* add preliminar support for nvme (#781)
* Add timeout parameter for testapi: upload_logs (#783)
* Always restart the SOL - dumpconsole exits with 0 :( (#782)
* tinycv: Use openCV implementation for PSNR instead of doing it manually (#784)
* Do not stop the debug viewer but keep running with old/black image
* Switch travis to trusty
* tinycv: Reenable cache for prepped images for needle search (#787)
* Request C++11 as minimum version (#788)
* Sort out duplicate needles on multiple tags (poo#19210) (#792)
* Allow to work on consoles never selected
* Allow sshXtermVt to start a serial command next the xterm
* Move IPMI SOL handling into a console so we can switch it
* Handle expects expects number, gets string (#779)
* tinycv: Cleanup output of processing durations in needle search
* tinycv: drop reporting of duration for MSE calculation
* tinycv: Swap color conversion and blur operation
* tinycv: Blur only ROI instead of whole image
* Pass required C++ version to Makefile.PL (#793)
* Add 'List::MoreUtils' dependency missing after e7221374 (#795)
* svirt: Poweroff Xen VM on restart (#796)
* Hyper-V: destroy & undefine VM on VM stop
* Hyper-V: Support snapshots
* Hyper-V: Handle is_shutdown query
* Hyper-V: disable backend's search for EFI firmware
* Add get_ssh_output() to svirt backend
* Extend run_cmd() to run on arbitrary server
* Hyper-V: Get serial output from intermediary
* Send EOF after we get output from SSH connection
* serial_terminal: Wait for prompt (#797)
* Make output of remaining time consistent with search_ratio calculation (#799)
* Track number of frame passed on to videoencoder (#802)
* Make sure last received frame is passed on after some delay (#801)
* Use common license header in source files (#804)
* tinycv: Simplify likely branch in minVec
* tinycv: Use reasonable upper error bound for matching needles
* tinycv: Shortcut perfect match at original location
* Add impiSol console to be installed (#807)
* Create utils package to regroup common functions and idioms found in the codebase
* backend::qemu refactor start_qemu()
* backend: move child process monitor/fork to baseclass
* backend::pvm refactor using gen_params()
* backend::s390x remove unused import
* backend::qemu prepare arguments before forking qemu
* Implement at least a dummy screen function in ipmisol
* Move the ssh password typing into the tests
* Add how to avoid warnings on wait_screen_change (#809)
* Allow to kill ssh connection (#811)
* Add check that a needle match has xpos and ypos
* Revert "tinycv: Use reasonable upper error bound for matching needles"
* Also compute and store needles git hash (#805)
* Make DEBUG_IO output configurable (#803)
* Prevent tiny resolution differences to fail the needle test (#814)
* doc: Add description for NO_DEBUG_IO
* doc: Extend description for SCREENSHOTINTERVAL
* Add one more test case for keeping position in fails (#816)
* tinycv: Use reasonable upper error bound for matching needles
* tinycv: Shortcut perfect match at original location
* Convert the needle tags to string.
* Add . to INC for coverage test (perl 5.26 doesn't) (#820)
- 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

View File

@ -1,7 +1,7 @@
#
# spec file for package os-autoinst
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@ -17,16 +17,12 @@
Name: os-autoinst
Version: 4.4.1497860778.ee583791
Version: 4.4
Release: 0
Summary: OS-level test automation
License: GPL-2.0+
Group: Development/Tools/Other
Source0: %{name}-%{version}.tar.xz
# audited dbus service is not accepted in older versions
%if %suse_version < 1330
Source100: os-autoinst-rpmlintrc
%endif
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
@ -46,14 +42,11 @@ BuildRequires: perl(Perl::Critic)
Requires: /usr/bin/qemu-img
Requires: git-core
Requires: optipng
%{perl_requires}
Requires: qemu >= 2.0.0
%if 0%{?suse_version} <= 132
Requires: tesseract
%else
Requires: tesseract-ocr
%endif
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)
%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)
@ -65,9 +58,6 @@ Recommends: /usr/bin/xkbcomp /usr/bin/Xvnc dumponlyconsole
Requires(pre): %{_bindir}/getent
Requires(pre): %{_sbindir}/useradd
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} < 131
Requires: kvm
%endif
%description
The OS-autoinst project aims at providing a means to run fully
@ -99,9 +89,6 @@ make INSTALLDIRS=vendor %{?_smp_mflags}
%install
%make_install INSTALLDIRS=vendor
%if %suse_version >= 1330
rm -f os-autoinst-rpmlintrc
%endif
# 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