diff --git a/os-autoinst-4.6.1575895968.5daf6345.obscpio b/os-autoinst-4.6.1575895968.5daf6345.obscpio deleted file mode 100644 index 95ba3df..0000000 --- a/os-autoinst-4.6.1575895968.5daf6345.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0e0a7a26e5e61977298b32ade26508545e735998064613adce0ea5f0b8d48e16 -size 24927757 diff --git a/os-autoinst-4.6.1576050328.08c055a7.obscpio b/os-autoinst-4.6.1576050328.08c055a7.obscpio new file mode 100644 index 0000000..84b3b35 --- /dev/null +++ b/os-autoinst-4.6.1576050328.08c055a7.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:72c7505068885abbd0dc4aff3572d5243d30bb524a47e6ea57af428f501fa88a +size 24936461 diff --git a/os-autoinst-test.spec b/os-autoinst-test.spec index 3121338..b533667 100644 --- a/os-autoinst-test.spec +++ b/os-autoinst-test.spec @@ -19,7 +19,7 @@ %define name_ext -test %define short_name os-autoinst Name: %{short_name}%{?name_ext} -Version: 4.6.1575895968.5daf6345 +Version: 4.6.1576050328.08c055a7 Release: 0 Summary: test package for os-autoinst #BuildRequires: %{short_name} == %{version} diff --git a/os-autoinst.changes b/os-autoinst.changes index 63f6940..0816ea3 100644 --- a/os-autoinst.changes +++ b/os-autoinst.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Wed Dec 11 21:04:17 UTC 2019 - okurz@suse.com + +- Update to version 4.6.1576050328.08c055a7: + * Add powerVM over HMC backend + * Remove "use Devel::Cover" from 07-commands.t + * t/22-svirt.t: add open_serial_console_via_ssh test + * Makefile: Check for spellcheck requirements + * sshXtermVt: check for SSH port available instead of a simple ping to check host availability + * svirt: open_serial_console_via_ssh - doc and cleanup + * Add new test/cover targets and run tests with prove + * Fix warning on failed load_snapshot command + * backend_vars: Add infos for generalhw ssh/noVNC and flash cmd + * generalhw: allow to use real serial with ssh/noVNC mode + * sshXtermVt: wait that SUT is alive on network before starting ssh in xterm Use SSH_XTERM_WAIT_SUT_ALIVE_TIMEOUT to adjust wait time, default 120 s + * generalhw: Add flash command support and handle optionnal args for cmd + * generalhw: Enable SSH access when VNC is not selected + * generalhw: truncate serial file on start + ------------------------------------------------------------------- Mon Dec 09 13:04:05 UTC 2019 - okurz@suse.com diff --git a/os-autoinst.obsinfo b/os-autoinst.obsinfo index 4392f13..2e4b6d9 100644 --- a/os-autoinst.obsinfo +++ b/os-autoinst.obsinfo @@ -1,5 +1,5 @@ name: os-autoinst -version: 4.6.1575895968.5daf6345 -mtime: 1575895968 -commit: 5daf6345dfa30a509b65876bca30ab5c44d88436 +version: 4.6.1576050328.08c055a7 +mtime: 1576050328 +commit: 08c055a7daf0c559727a582a1760f769921360e8 diff --git a/os-autoinst.spec b/os-autoinst.spec index 736fead..1dee28e 100644 --- a/os-autoinst.spec +++ b/os-autoinst.spec @@ -17,7 +17,7 @@ Name: os-autoinst -Version: 4.6.1575895968.5daf6345 +Version: 4.6.1576050328.08c055a7 Release: 0 Summary: OS-level test automation License: GPL-2.0-or-later @@ -31,15 +31,22 @@ Source0: %{name}-%{version}.tar.xz %define opencv_require pkgconfig(opencv4) %endif %define build_requires autoconf automake gcc-c++ libtool pkg-config perl(Module::CPANfile) pkgconfig(fftw3) pkgconfig(libpng) pkgconfig(sndfile) pkgconfig(theoraenc) make %opencv_require -%define requires perl(B::Deparse) perl(Mojolicious) >= 7.92, perl(Mojo::IOLoop::ReadWriteProcess) >= 0.23, perl(Carp::Always) perl(Data::Dump) perl(Data::Dumper) perl(Crypt::DES) perl(JSON) perl(autodie) perl(Class::Accessor::Fast) perl(Exception::Class) perl(File::Touch) 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(XML::SemanticDiff) perl(JSON::XS) perl(List::MoreUtils) perl(Mojo::IOLoop::ReadWriteProcess) perl(Socket::MsgHdr) perl(Cpanel::JSON::XS) perl(IO::Scalar) perl(Try::Tiny) perl-base +%define requires perl(B::Deparse) perl(Mojolicious) >= 7.92, perl(Mojo::IOLoop::ReadWriteProcess) >= 0.23, perl(Carp::Always) perl(Data::Dump) perl(Data::Dumper) perl(Crypt::DES) perl(JSON) perl(autodie) perl(Class::Accessor::Fast) perl(Exception::Class) perl(File::Touch) perl(File::Which) perl(IO::Socket::INET) perl(IPC::Run::Debug) perl(Net::DBus) perl(Net::SNMP) perl(Net::IP) perl(IPC::System::Simple) perl(Net::SSH2) perl(XML::LibXML) perl(XML::SemanticDiff) perl(JSON::XS) perl(List::MoreUtils) perl(Mojo::IOLoop::ReadWriteProcess) perl(Socket::MsgHdr) perl(Cpanel::JSON::XS) perl(IO::Scalar) perl(Try::Tiny) perl-base %define requires_not_needed_in_tests git-core # all requirements needed by the tests, do not require on this in the package # itself or any sub-packages # SLE is missing spell check requirements %if !0%{?is_opensuse} -%define spellcheck_requires %{nil} +%bcond_with spellcheck %else -%define spellcheck_requires perl(Pod::Spell) aspell-spell +%bcond_without spellcheck +%endif +%if %{with spellcheck} +%define spellcheck_requires perl(Pod::Spell) aspell-spell aspell-en +%define make_check_args %{nil} +%else +%define spellcheck_requires %{nil} +%define make_check_args CHECK_DOC=0 %endif %define test_requires %build_requires %requires perl(Perl::Tidy) perl(Test::Strict) perl(Test::Exception) perl(Test::Output) perl(Test::Fatal) perl(Test::Warnings) perl(Pod::Coverage) perl(Test::Pod) perl(Test::MockModule) perl(Test::MockObject) perl(Devel::Cover) perl(Test::Mock::Time) qemu-tools %spellcheck_requires %define devel_requires %test_requires %requires_not_needed_in_tests @@ -93,7 +100,7 @@ sed -i 's/ my $thisversion = qx{git.*rev-parse HEAD}.*;/ my $thisversion = "%{v # 07-commands: https://progress.opensuse.org/issues/60755 for i in 07-commands 13-osutils 14-isotovideo 18-qemu-options 18-backend-qemu 99-full-stack; do rm t/$i.t - sed -i "s/ \?$i\.t//g" t/Makefile.am + sed -i "s/ \?$i\.t//g" Makefile.am done %build @@ -129,7 +136,7 @@ rm tools/lib/perlcritic/Perl/Critic/Policy/*.pm # should work offline for p in $(cpanfile-dump); do rpm -q --whatprovides "perl($p)"; done -make check VERBOSE=1 +make check test VERBOSE=1 %{make_check_args} %pre openvswitch %service_add_pre os-autoinst-openvswitch.service