From 20f9f11a4221d9f37b14cf7fc4d7295e1569c10c Mon Sep 17 00:00:00 2001 From: eabdullin Date: Mon, 7 Nov 2022 10:55:31 +0300 Subject: [PATCH] Initial commit --- .gitignore | 1 + .os-auroinst.metadata | 1 + ...-video-device-setting-deprecate-QEMU.patch | 222 ++++++ SPECS/os-autoinst.spec | 713 ++++++++++++++++++ 4 files changed, 937 insertions(+) create mode 100644 .gitignore create mode 100644 .os-auroinst.metadata create mode 100644 SOURCES/0001-Consolidate-qemu-video-device-setting-deprecate-QEMU.patch create mode 100644 SPECS/os-autoinst.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..96426c8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/os-autoinst-436f134262416559c5b7248d4246cbfed67ae835.tar.gz \ No newline at end of file diff --git a/.os-auroinst.metadata b/.os-auroinst.metadata new file mode 100644 index 0000000..2f831e5 --- /dev/null +++ b/.os-auroinst.metadata @@ -0,0 +1 @@ +bf53d81a832cf0303b215a5bec019126272012b2 SOURCES/os-autoinst-436f134262416559c5b7248d4246cbfed67ae835.tar.gz diff --git a/SOURCES/0001-Consolidate-qemu-video-device-setting-deprecate-QEMU.patch b/SOURCES/0001-Consolidate-qemu-video-device-setting-deprecate-QEMU.patch new file mode 100644 index 0000000..4bd7648 --- /dev/null +++ b/SOURCES/0001-Consolidate-qemu-video-device-setting-deprecate-QEMU.patch @@ -0,0 +1,222 @@ +From 02f80e36cf982c2397cb6efc347106b023bebf75 Mon Sep 17 00:00:00 2001 +From: Adam Williamson +Date: Tue, 13 Sep 2022 11:09:15 -0700 +Subject: [PATCH] Consolidate qemu video device setting, deprecate QEMUVGA + +As discussed in #2170, this code has progressively become a bit +of a mess as special cases were added for different arches and +things changed in qemu. This rewrites it to at least consolidate +the mess in one place, and deprecate some things which will +allow us to simplify it in future. + +Always setting `-device` rather than sometimes `-vga` and +sometimes `-device` allows us to be much more consistent. We +'translate' `QEMUVGA` values into `-device` values after warning +that it is deprecated. Eventually we can hopefully get rid of +the handling of the deprecated vars, and the code will then be +much clearer and simpler. + +References for this: +https://www.kraxel.org/blog/2019/09/display-devices-in-qemu/ +https://www.kraxel.org/blog/2019/03/edid-support-for-qemu/ + +Signed-off-by: Adam Williamson +--- + backend/qemu.pm | 59 ++++++++++++++++++++++++++------------- + doc/backend_vars.asciidoc | 11 ++++---- + t/18-backend-qemu.t | 29 +++++++++++++++---- + 3 files changed, 68 insertions(+), 31 deletions(-) + +diff --git a/backend/qemu.pm b/backend/qemu.pm +index 36124879..35f2fb32 100644 +--- a/backend/qemu.pm ++++ b/backend/qemu.pm +@@ -501,7 +501,6 @@ sub delete_virtio_console_fifo () { unlink $_ or bmwqemu::fctwarn("Could not unl + + sub qemu_params_ofw ($self) { + my $vars = \%bmwqemu::vars; +- $vars->{QEMUVGA} ||= "std"; + $vars->{QEMUMACHINE} //= "usb=off"; + # set the initial resolution on PCC and SPARC + sp('g', "$self->{xres}x$self->{yres}"); +@@ -547,18 +546,38 @@ sub setup_tpm ($self, $arch) { + } + } + +-sub _set_graphics_backend ($self) { +- # note: Specifying EDID information explicitly for std/virtio backends to get consistent behavior across different QEMU +- # versions (as of QEMU 7.0.0 the default resolution is no longer 1024x768). +- +- my $qemu_vga = $bmwqemu::vars{QEMUVGA}; +- if (!$qemu_vga || $qemu_vga eq 'std') { +- sp('device', "VGA,edid=on,xres=$self->{xres},yres=$self->{yres}"); +- } elsif ($qemu_vga eq 'virtio') { +- sp('device', "virtio-vga,edid=on,xres=$self->{xres},yres=$self->{yres}"); +- } else { +- sp('vga', $qemu_vga); # adding this only if not specifying a device; otherwise we'd end up with two graphic cards ++sub _set_graphics_backend ($self, $is_arm) { ++ my $vars = \%bmwqemu::vars; ++ my $device = "VGA"; ++ my $options = ""; ++ if ($vars->{QEMU_OVERRIDE_VIDEO_DEVICE_AARCH64}) { ++ bmwqemu::fctwarn("QEMU_OVERRIDE_VIDEO_DEVICE_AARCH64 is deprecated, please set QEMU_VIDEO_DEVICE=VGA instead"); ++ } ++ else { ++ # annoying pre-existing special-case default for ARM ++ $device = "virtio-gpu-pci" if ($is_arm); ++ } ++ if ($vars->{QEMU_VIDEO_DEVICE}) { ++ bmwqemu::fctwarn("Both QEMUVGA and QEMU_VIDEO_DEVICE set, ignoring deprecated QEMUVGA!") if $vars->{QEMUVGA}; ++ $device = $vars->{QEMU_VIDEO_DEVICE}; ++ } ++ elsif ($vars->{QEMUVGA}) { ++ my $vga = $vars->{QEMUVGA}; ++ bmwqemu::fctwarn("QEMUVGA is deprecated, please set QEMU_VIDEO_DEVICE"); ++ $device = "virtio-vga" if ($vga eq "virtio"); ++ $device = "qxl-vga" if ($vga eq "qxl"); ++ $device = "cirrus-vga" if ($vga eq "cirrus"); ++ $device = "VGA" if ($vga eq "std"); ++ } ++ my @edids = ("VGA", "virtio-vga", "virtio-gpu-pci", "bochs-display"); ++ if (grep { $device eq $_ } @edids) { ++ # these devices support EDID ++ $options = ",edid=on,xres=$self->{xres},yres=$self->{yres}"; ++ } ++ if ($vars->{QEMU_VIDEO_DEVICE_OPTIONS}) { ++ $options .= "," . $vars->{QEMU_VIDEO_DEVICE_OPTIONS}; + } ++ sp('device', "${device}${options}"); + } + + sub start_qemu ($self) { +@@ -678,24 +697,24 @@ sub start_qemu ($self) { + $vars->{VDE_PORT} ||= ($vars->{WORKER_ID} // 0) * 2 + 2; + } + +- # misc +- my $arch_supports_boot_order = $vars->{UEFI} ? 0 : 1; # UEFI/OVMF supports ",bootindex=N", but not "-boot order=X" +- my $use_usb_kbd; ++ # arch discovery + my $arch = $vars->{ARCH} // ''; + $arch = 'arm' if ($arch =~ /armv6|armv7/); + my $is_arm = $arch eq 'aarch64' || $arch eq 'arm'; +- my $custom_video_device = $vars->{QEMU_VIDEO_DEVICE} // 'virtio-gpu-pci'; ++ ++ $self->_set_graphics_backend($is_arm); ++ ++ # misc ++ my $arch_supports_boot_order = $vars->{UEFI} ? 0 : 1; # UEFI/OVMF supports ",bootindex=N", but not "-boot order=X" ++ my $use_usb_kbd; + + if ($is_arm) { +- my $video_device = ($vars->{QEMU_OVERRIDE_VIDEO_DEVICE_AARCH64}) ? 'VGA' : "${custom_video_device},xres=$self->{xres},yres=$self->{yres}"; +- sp('device', $video_device); + $arch_supports_boot_order = 0; + $use_usb_kbd = 1; + } + elsif ($vars->{OFW}) { + $use_usb_kbd = $self->qemu_params_ofw; + } +- $self->_set_graphics_backend unless $is_arm; + + my @nicmac; + my @nicvlan; +@@ -798,7 +817,7 @@ sub start_qemu ($self) { + } + { + # Remove floppy drive device on architectures +- sp('global', 'isa-fdc.fdtypeA=none') unless ($arch eq 'aarch64' || $arch eq 'arm' || $vars->{QEMU_NO_FDC_SET}); ++ sp('global', 'isa-fdc.fdtypeA=none') unless ($is_arm || $vars->{QEMU_NO_FDC_SET}); + + sp('m', $vars->{QEMURAM}) if $vars->{QEMURAM}; + sp('machine', $vars->{QEMUMACHINE}) if $vars->{QEMUMACHINE}; +diff --git a/doc/backend_vars.asciidoc b/doc/backend_vars.asciidoc +index b5854918..23766252 100644 +--- a/doc/backend_vars.asciidoc ++++ b/doc/backend_vars.asciidoc +@@ -44,8 +44,8 @@ UPLOAD_METER;boolean;0;Display curl progress meter in `upload_logs()` and `uploa + UPLOAD_MAX_MESSAGE_SIZE_GB;integer;0;Specifies the max. upload size in GiB for the test API functions `upload_logs()` and `upload_assets()` and the underlying command server API. Zero denotes infinity. + UPLOAD_INACTIVITY_TIMEOUT;integer;300;Specifies the inactivity timeout in seconds for the test API functions `upload_logs()` and `upload_assets()` and underlying the command server API. + NO_DEPRECATE_BACKEND_$backend;boolean;0;Only warn about deprecated backends instead of aborting +-XRES;integer;1024;Resolution of display on x axis +-YRES;integer;768;Resolution of display on y axis ++XRES;integer;1024;Resolution of display on x axis. Sets the resolution of the video encoder, and in qemu, the initial console resolution when OFW is set (Power and SPARC), and the EDID resolution for devices that support EDID ++YRES;integer;768;Resolution of display on y axis. Sets the resolution of the video encoder, and in qemu, the initial console resolution when OFW is set (Power and SPARC), and the EDID resolution for devices that support EDID + + |==================== + +@@ -129,7 +129,7 @@ OFW;boolean;0;QEMU Open Firmware is in use + OVS_DEBUG;integer;undef;Set debug mode if value is 1 + QEMU_ONLY_EXEC;boolean;undef;If set, only execute the qemu process but return early before connecting to the process. This can be helpful for cutting testing time or to connect to the qemu process manually. + QEMU_WAIT_FINISH;boolean;undef;Only used for internal testing, see comment in t/18-qemu-options.t for details. +-QEMU_OVERRIDE_VIDEO_DEVICE_AARCH64;boolean;undef;If set, for aarch64 systems use VGA as video adapter ++QEMU_OVERRIDE_VIDEO_DEVICE_AARCH64;boolean;undef;(Deprecated, set QEMU_VIDEO_DEVICE=VGA) If set, and QEMU_VIDEO_DEVICE is not set, for arm systems use VGA as video adapter instead of virtio-gpu-pci + QEMU_DISABLE_SNAPSHOTS;boolean;undef;If set, disable snapshots in QEMU. This needs to be set when using vmdk disk images or in case the worker has slow disks to avoid save_vm calls failing due to timeouts (See https://bugzilla.suse.com/show_bug.cgi?id=1035453[bsc#1035453]) + QEMU_QMP_CONNECT_ATTEMPTS;integer;20;The number of attempts to connect to qemu qmp. Usually used for internal testing + PATHCNT;integer;2;Number of paths in MULTIPATH scenario +@@ -148,7 +148,7 @@ QEMUTHREADS;integer;undef;Number of CPU threads used by VM + QEMUTPM;'instance' or appropriate value for local swtpm config;undef;Configure VM to use a TPM emulator device, with appropriate args for the arch. If a TPM device is available at QEMUTPM_PATH_PREFIX + X, where X is the value of QEMUTPM or the worker instance number if QEMUTPM is set to 'instance', it will be used. Otherwise it will be created at test startup. See QEMUTPM_VER in the latter case. + QEMUTPM_VER;'1.2' or '2.0' depending on which TPM chip should be emulated;'2.0';If no TPM device has been setup otherwise, swtpm will be used internally to create one with a socket at /tmp/mytpmX + QEMUTPM_PATH_PREFIX;string;'/tmp/mytpm';Path prefix to use or create TPM emulator device in +-QEMUVGA;see qemu -device ?;QEMU's default;VGA device to use with VM ++QEMUVGA;virtio,qxl,cirrus,std;See QEMU_VIDEO_DEVICE;(Deprecated, use QEMU_VIDEO_DEVICE instead) VGA device to use with VM (will be converted to a matching -device parameter) + QEMU_COMPRESS_QCOW2;boolean;1;compress qcow2 images intended for upload + QEMU_IMG_CREATE_TRIES;integer;3;Define number of tries for qemu-img commands + QEMU_HUGE_PAGES_PATH;string;undef;Define a path to use huge pages (e.g. /dev/hugepages/) +@@ -195,7 +195,8 @@ VNC;integer;worker instance + 90;Display on which VNC server is running. Actual + VNCKB;;;Set the keyboard layout if you are not using en-us + WORKER_CLASS;string;undef;qemu system types + WORKER_HOSTNAME;string;undef;Worker hostname +-QEMU_VIDEO_DEVICE;string;virtio-gpu-pci;Video device to use for ARM architectures (can have options appended e.g. virtio-gpu-gl,edid=on) ++QEMU_VIDEO_DEVICE;string;virtio-gpu-pci on ARM, VGA otherwise;Video device to use with VM (using -device, not -vga). Can have options appended e.g. "virtio-gpu-gl,edid=on", but it is better to set QEMU_VIDEO_DEVICE_OPTIONS. See qemu docs and https://www.kraxel.org/blog/2019/09/display-devices-in-qemu/ for valid choices ++QEMU_VIDEO_DEVICE_OPTIONS;string;none;Additional options for QEMU_VIDEO_DEVICE (comma-separated). Will be appended after automatically-generated resolution setting options on devices that support EDID + |==================== + + .SVIRT backend +diff --git a/t/18-backend-qemu.t b/t/18-backend-qemu.t +index 854649ca..41f1cebf 100755 +--- a/t/18-backend-qemu.t ++++ b/t/18-backend-qemu.t +@@ -134,16 +134,33 @@ subtest 'switch_network' => sub { + subtest 'setting graphics backend' => sub { + my @params; + local *backend::qemu::sp = sub (@args) { @params = @args }; +- $backend->_set_graphics_backend; +- is_deeply \@params, [device => 'VGA,edid=on,xres=1024,yres=768'], 'consistent EDID info set for std backend (no QEMUVGA set)' or diag explain \@params; ++ $backend->_set_graphics_backend(0); ++ is_deeply \@params, [device => 'VGA,edid=on,xres=1024,yres=768'], 'default backend is VGA with EDID info (no QEMUVGA or QEMU_VIDEO_DEVICE set)' or diag explain \@params; ++ ++ $backend->_set_graphics_backend(1); ++ is_deeply \@params, [device => 'virtio-gpu-pci,edid=on,xres=1024,yres=768'], 'default backend for ARM is virtio with EDID info (no QEMUVGA or QEMU_VIDEO_DEVICE set)' or diag explain \@params; ++ ++ $bmwqemu::vars{QEMU_OVERRIDE_VIDEO_DEVICE_AARCH64} = '1'; ++ $backend->_set_graphics_backend(1); ++ is_deeply \@params, [device => 'VGA,edid=on,xres=1024,yres=768'], 'QEMU_OVERRIDE_VIDEO_DEVICE_AARCH64 changes ARM default to VGA' or diag explain \@params; ++ delete $bmwqemu::vars{QEMU_OVERRIDE_VIDEO_DEVICE_AARCH64}; + + $bmwqemu::vars{QEMUVGA} = 'virtio'; +- $backend->_set_graphics_backend; +- is_deeply \@params, [device => 'virtio-vga,edid=on,xres=1024,yres=768'], 'consistent EDID info set for virtio backend' or diag explain \@params; ++ $backend->_set_graphics_backend(0); ++ is_deeply \@params, [device => 'virtio-vga,edid=on,xres=1024,yres=768'], 'QEMUVGA=virtio results in device virtio-vga with EDID info' or diag explain \@params; + + $bmwqemu::vars{QEMUVGA} = 'cirrus'; +- $backend->_set_graphics_backend; +- is_deeply \@params, [vga => 'cirrus'], 'other backends passes as-is via "-vga" parameter' or diag explain \@params; ++ $backend->_set_graphics_backend(0); ++ is_deeply \@params, [device => 'cirrus-vga'], 'QEMUVGA=cirrus results in device cirrus-vga with no EDID info' or diag explain \@params; ++ ++ $bmwqemu::vars{QEMU_VIDEO_DEVICE} = 'virtio-vga'; ++ $backend->_set_graphics_backend(0); ++ is_deeply \@params, [device => 'virtio-vga,edid=on,xres=1024,yres=768'], 'QEMU_VIDEO_DEVICE wins if both it and QEMUVGA are set' or diag explain \@params; ++ ++ delete $bmwqemu::vars{QEMUVGA}; ++ $bmwqemu::vars{QEMU_VIDEO_DEVICE_OPTIONS} = 'foo=bar'; ++ $backend->_set_graphics_backend(0); ++ is_deeply \@params, [device => 'virtio-vga,edid=on,xres=1024,yres=768,foo=bar'], 'QEMU_VIDEO_DEVICE_OPTIONS gets appended to EDID values' or diag explain \@params; + }; + + subtest 'execute arbitrary QMP command' => sub { +-- +2.37.1 + diff --git a/SPECS/os-autoinst.spec b/SPECS/os-autoinst.spec new file mode 100644 index 0000000..0793519 --- /dev/null +++ b/SPECS/os-autoinst.spec @@ -0,0 +1,713 @@ +# Fedora spec initially based on upstream spec file from OBS: +# https://build.opensuse.org/package/view_file/devel:openQA/os-autoinst/os-autoinst.spec +# License: GPLv2+ + +# Full stack test only runs reliably on these arches, and they're all +# we really care about +%ifnarch %{ix86} x86_64 +%global no_fullstack 1 +%endif + +# This test fails intermittently on these arches, weird bug: +# https://github.com/mudler/Mojo-IOLoop-ReadWriteProcess/issues/20 +%ifarch ppc64le s390x +%global no_osutils 1 +%endif + +# os-autoinst has a bunch of annoyingly-badly-named private modules, +# we do not want automatic provides or requires for these +# ref https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering#Perl +# but per https://fedorahosted.org/fpc/ticket/591 , these have been +# improved, and contrary to the wiki it is safe to set them first and +# then call perl_default_filter, the values will be properly merged. +# I tried to sell upstream on naming these properly and installing +# them to the perl vendor dir, but they wouldn't bite. +# https://github.com/os-autoinst/os-autoinst/issues/387 +%global __provides_exclude_from %{_prefix}/lib/os-autoinst +%global __requires_exclude perl\\((autotest|backend|basetest|bmwqemu|commands|consoles|cv|distribution|lockapi|log|mmapi|myjsonrpc|needle|ocr|osutils|signalblocker|testapi|OpenQA::Exceptions|OpenQA::Benchmark::Stopwatch|OpenQA::Qemu|OpenQA::Isotovideo|OpenQA::NamedIOSelect) +%{?perl_default_filter} + +%global github_owner os-autoinst +%global github_name os-autoinst +%global github_version 4.6 +%global github_commit 436f134262416559c5b7248d4246cbfed67ae835 +# if set, will be a post-release snapshot build, otherwise a 'normal' build +%global github_date 20220923 +%global shortcommit %(c=%{github_commit}; echo ${c:0:7}) + +Name: os-autoinst +Version: %{github_version}%{?github_date:^%{github_date}git%{shortcommit}} +Release: 1%{?dist} +Summary: OS-level test automation +License: GPLv2+ +URL: https://os-autoinst.github.io/openQA/ +Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{github_commit}/%{github_name}-%{github_commit}.tar.gz +# Refactor video device output handling for qemu +# https://github.com/os-autoinst/os-autoinst/pull/2177 +Patch0: 0001-Consolidate-qemu-video-device-setting-deprecate-QEMU.patch + +# on SUSE this is conditional, for us it doesn't have to be but we +# still use a macro just to keep build_requires similar for ease of +# cross-comparison +%define opencv_require pkgconfig(opencv) +# The following line is generated from dependencies.yaml (upstream) +%define build_base_requires %opencv_require gcc-c++ perl(Pod::Html) pkg-config pkgconfig(fftw3) pkgconfig(libpng) pkgconfig(sndfile) pkgconfig(theoraenc) +# diff from SUSE: SUSE has 'ninja', Fedora has 'ninja-build' +# The following line is generated from dependencies.yaml (upstream) +%define build_requires %build_base_requires cmake ninja-build +# this is stuff we added to requires, we put it in its own macro +# to make resyncing with upstream spec changes easier. SUSE has +# perl-base, we have perl(base) +%define main_requires_additional perl(base) +# diff from SUSE: added main_requires_additional, dropped perl-base +# which does not exist in Fedora - we have perl(base) in +# main_requires_additional and the perl(:MODULE_COMPAT) require below +# The following line is generated from dependencies.yaml (upstream) +%define main_requires %main_requires_additional git-core perl(B::Deparse) perl(Carp) perl(Carp::Always) perl(Config) perl(Cpanel::JSON::XS) perl(Crypt::DES) perl(Cwd) perl(Data::Dumper) perl(Digest::MD5) perl(DynaLoader) perl(English) perl(Errno) perl(Exception::Class) perl(Exporter) perl(ExtUtils::testlib) perl(Fcntl) perl(File::Basename) perl(File::Find) perl(File::Path) perl(File::Temp) perl(File::Touch) perl(File::Which) perl(File::chdir) perl(IO::Handle) perl(IO::Scalar) perl(IO::Select) perl(IO::Socket) perl(IO::Socket::INET) perl(IO::Socket::UNIX) perl(IPC::Open3) perl(IPC::Run::Debug) perl(IPC::System::Simple) perl(JSON::Validator) perl(List::MoreUtils) perl(List::Util) perl(Mojo::IOLoop::ReadWriteProcess) >= 0.26 perl(Mojo::JSON) perl(Mojo::Log) perl(Mojo::URL) perl(Mojo::UserAgent) perl(Mojolicious) >= 8.42 perl(Mojolicious::Lite) perl(Net::DBus) perl(Net::IP) perl(Net::SNMP) perl(Net::SSH2) perl(POSIX) perl(Scalar::Util) perl(Socket) perl(Socket::MsgHdr) perl(Term::ANSIColor) perl(Thread::Queue) perl(Time::HiRes) perl(Time::Moment) perl(Time::Seconds) perl(Try::Tiny) perl(XML::LibXML) perl(XML::SemanticDiff) perl(YAML::PP) perl(YAML::XS) perl(autodie) perl(base) perl(constant) perl(integer) perl(strict) perl(version) perl(warnings) +# diff from SUSE: SUSE has python3-yamllint, Fedora has just yamllint +# The following line is generated from dependencies.yaml (upstream) +%define yamllint_requires yamllint +# all requirements needed by the tests, do not require on this in the package +# itself or any sub-packages +# diff from SUSE: replaced qemu with qemu-kvm, qemu-tools with +# qemu-img, qemu-x86 with qemu-system-i386, xorg-x11-Xvnc with +# tigervnc-server-minimal (provider of /usr/bin/Xvnc) +# Fedora +# The following line is generated from dependencies.yaml (upstream) +%define test_base_requires %main_requires cpio icewm perl(Benchmark) perl(Devel::Cover) perl(FindBin) perl(Pod::Coverage) perl(Test::Fatal) perl(Test::Mock::Time) perl(Test::MockModule) perl(Test::MockObject) perl(Test::MockRandom) perl(Test::Mojo) perl(Test::Most) perl(Test::Output) perl(Test::Pod) perl(Test::Strict) perl(Test::Warnings) >= 0.029 procps python3-setuptools qemu-kvm /usr/bin/qemu-img /usr/bin/qemu-system-i386 tigervnc-server-minimal xterm xterm-console +# The following line is generated from dependencies.yaml (upstream) +%define test_version_only_requires perl(Mojo::IOLoop::ReadWriteProcess) >= 0.28 +# diff from SUSE: it's python3-pillow-tk, not python3-Pillow-tk +# The following line is generated from dependencies.yaml (upstream) +%define test_requires %build_requires %test_base_requires %yamllint_requires perl(Inline::Python) perl(YAML::PP) python3-pillow-tk +# diff from SUSE: dropped perl(Devel::Cover::Report::Codecov) as it's +# not currently packaged for Fedora +# The following line is generated from dependencies.yaml (upstream) +%define devel_requires %test_requires ShellCheck perl(Code::TidyAll) perl(Devel::Cover) perl(Perl::Tidy) perl(Template::Toolkit) + +BuildRequires: perl-devel +BuildRequires: perl-generators +BuildRequires: systemd +%if 0%{?no_fullstack} +%else +BuildRequires: perl(Mojo::File) +%endif # no_fullstack +# tinycv is a compiled public module, so we should have this +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Recommends: tesseract +Recommends: qemu >= 4.0.0 +Recommends: qemu-kvm +Recommends: /usr/bin/qemu-img +# Optional dependency for Python test API support +Recommends: perl(Inline::Python) +BuildRequires: %test_requires %test_version_only_requires +# For unbuffered output of Perl testsuite +BuildRequires: expect +Requires: %main_requires +Requires(pre): %{_bindir}/getent +Requires(pre): %{_sbindir}/useradd +ExcludeArch: %{arm} + +%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 applications on top of a newly installed OS. + +%package devel +Summary: Development package pulling in all build+test dependencies +Requires: %devel_requires + +%description devel +Development package pulling in all build+test dependencies. + +%package openvswitch +Summary: Open vSwitch support for os-autoinst +Requires: openvswitch +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires(post): systemd +Requires(preun): systemd +Requires(postun): systemd +BuildRequires: systemd + +%description openvswitch +This package contains Open vSwitch support for os-autoinst. + +%prep +%autosetup -n %{github_name}-%{github_commit} -p1 + +%if 0%{?no_fullstack} +rm -f t/99-full-stack.t +%endif # no_fullstack + +%if 0%{?no_osutils} +rm -f t/13-osutils.t +%endif # no_osutils + +# Tesseract 4.0.0 (in Rawhide as of 2018-11) fails utterly to OCR +# the test needle properly: +# https://github.com/tesseract-ocr/tesseract/issues/2052 +rm -f t/02-test_ocr.t + +# exclude unnecessary author tests +rm xt/00-tidy.t +# Remove test relying on a git working copy +rm xt/30-make.t + +%build +%cmake \ + -DOS_AUTOINST_DOC_DIR:STRING="%{_docdir}/%{name}" \ + -DOS_AUTOINST_VERSION:STRING="%{github_version}" \ + -DSYSTEMD_SERVICE_DIR:STRING="%{_unitdir}" \ + -GNinja +%ninja_build -C %{__cmake_builddir} + +%install +%ninja_install -C %{__cmake_builddir} install-openvswitch +# we don't really need to ship this in the package, usually the web UI +# is much better for needle editing +rm %{buildroot}%{_prefix}/lib/os-autoinst/crop.py* +# we're going to %%license this +rm %{buildroot}%{_pkgdocdir}/COPYING +ls -lR %buildroot +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -depth -type d -and -not -name distri -exec rmdir {} \; + +# we need the stale symlinks to point to git +export NO_BRP_STALE_LINK_ERROR=yes + +%check +export CI=1 +# account for sporadic slowness in build environments +# https://progress.opensuse.org/issues/89059 +export OPENQA_TEST_TIMEOUT_SCALE_CI=20 +# Enable verbose test output as we can not store test artifacts within package +# build environments in case of needing to investigate failures +export PROVE_ARGS="--timer -v --nocolor" +# 00-compile-check-all.t fails if this is present and Perl::Critic is +# not installed +rm tools/lib/perlcritic/Perl/Critic/Policy/*.pm +%ninja_build -C %{__cmake_builddir} check-pkg-build + +%post openvswitch +%systemd_post os-autoinst-openvswitch.service + +%preun openvswitch +%systemd_preun os-autoinst-openvswitch.service + +%postun openvswitch +%systemd_postun_with_restart os-autoinst-openvswitch.service + +%files +%{_pkgdocdir} +%license COPYING +%{perl_vendorarch}/tinycv.pm +%{perl_vendorarch}/auto/tinycv +%dir %{_prefix}/lib/os-autoinst +%{_prefix}/lib/os-autoinst/videoencoder +%{_prefix}/lib/os-autoinst/basetest.pm +# +%{_prefix}/lib/os-autoinst/dmidata +# +%{_prefix}/lib/os-autoinst/bmwqemu.pm +%{_prefix}/lib/os-autoinst/commands.pm +%{_prefix}/lib/os-autoinst/distribution.pm +%{_prefix}/lib/os-autoinst/testapi.pm +%{_prefix}/lib/os-autoinst/mmapi.pm +%{_prefix}/lib/os-autoinst/myjsonrpc.pm +%{_prefix}/lib/os-autoinst/lockapi.pm +%{_prefix}/lib/os-autoinst/log.pm +%{_prefix}/lib/os-autoinst/cv.pm +%{_prefix}/lib/os-autoinst/ocr.pm +%{_prefix}/lib/os-autoinst/osutils.pm +%{_prefix}/lib/os-autoinst/signalblocker.pm +%{_prefix}/lib/os-autoinst/needle.pm +%{_prefix}/lib/os-autoinst/backend +%{_prefix}/lib/os-autoinst/OpenQA +%{_prefix}/lib/os-autoinst/consoles +%{_prefix}/lib/os-autoinst/autotest.pm +%{_prefix}/lib/os-autoinst/*.py +%{_prefix}/lib/os-autoinst/check_qemu_oom +%{_prefix}/lib/os-autoinst/dewebsockify +%{_prefix}/lib/os-autoinst/vnctest + +%dir %{_prefix}/lib/os-autoinst/schema +%{_prefix}/lib/os-autoinst/schema/Wheels-01.yaml + +%{_bindir}/isotovideo +%{_bindir}/debugviewer +%{_bindir}/snd2png + +%files openvswitch +%{_prefix}/lib/os-autoinst/os-autoinst-openvswitch +%{_unitdir}/os-autoinst-openvswitch.service +%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.opensuse.os_autoinst.switch.conf + +%files devel + +%changelog +* Fri Sep 23 2022 Adam Williamson - 4.6^20220923git436f134-1 +- Update to latest git +- Backport PR #2177 to clean up video device handling + +* Tue Aug 23 2022 Adam Williamson - 4.6^20220822giteb3f483-1 +- Update to latest git + +* Fri Jul 22 2022 Fedora Release Engineering - 4.6^20220620gitd3d433b-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Tue Jun 21 2022 Sérgio Basto - 4.6^20220620gitd3d433b-2 +- Rebuilt for opencv 4.6.0 + +* Mon Jun 20 2022 Adam Williamson - 4.6^20220620gitd3d433b-1 +- Update to latest git, backport PR #2096 to fix s390x properly + +* Fri Jun 17 2022 Adam Williamson - 4.6^20220617gitddf414b-3 +- Update to latest git, drop merged/superseded patches + +* Tue Jun 07 2022 Adam Williamson - 4.6^20220530git8a7a14f-2 +- Backport PR #2075 to fix warnings with perl 5.36 which break tests (#2093181) + +* Thu Jun 02 2022 Adam Williamson - 4.6^20220530git8a7a14f-1 +- Update to latest git, resync spec +- Include Python test support + +* Wed Jun 01 2022 Jitka Plesnikova - 4.6^20220201gitab6013d-2 +- Perl 5.36 rebuild + +* Wed Feb 02 2022 Adam Williamson - 4.6^20220201gitab6013d-1 +- Update to latest git, resync spec +- Switch to newer caret-based snapshot versioning scheme +- Add xterm-console dependencies and re-enable tests that use it + +* Mon Jan 24 2022 Adam Williamson - 4.6-44.20220119gitfdd1a2d +- Update to latest git, resync spec +- Disable some tests that don't work without xterm-console + +* Thu Nov 25 2021 Adam Williamson - 4.6-43.20211126git627473e +- Update to latest git, resync spec +- Don't build on 32-bit ARM (tests indicate it doesn't really work anyway) +- Update test exclusions + +* Fri Sep 03 2021 Adam Williamson - 4.6-42.20210803gitad28b4b +- Fix qemu-img invocation with qemu 6.1.0 (specify backing file format) + +* Tue Aug 03 2021 Adam Williamson - 4.6-41.20210803gitad28b4b +- Update to latest git + +* Thu Jul 22 2021 Fedora Release Engineering - 4.6-40.20210623git5361bf1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jun 23 2021 Dan Čermák - 4.6-39.20210623git5361bf1 +- Update to latest git, resync spec + +* Fri May 21 2021 Jitka Plesnikova - 4.6-38.20210519gitf21226c +- Perl 5.34 rebuild + +* Thu May 20 2021 Adam Williamson - 4.6-37.20210519gitf21226c +- Update to latest git, resync spec, drop all patches (merged upstream) + +* Thu Apr 15 2021 Adam Williamson - 4.6-36.20210326git24ec8f9 +- Backport fix for a bug in the dbus change from -35 (POO #91163) +- Update dbus change patch to final version so fix applies +- Backport PR #1646 to fix floppy disablement arg with qemu 6.0 + +* Tue Apr 13 2021 Adam Williamson - 4.6-35.20210326git24ec8f9 +- Backport upstream patch to hopefully fix crashes on isotovideo exit (#1667163) +- Try and fix dbus limit overflows due to persistent dbus connection (POO #90872) + +* Tue Mar 30 2021 Adam Williamson - 4.6-34.20210326git24ec8f9 +- Bump to latest git, resync spec + +* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 4.6-33.20210210git496edb5 +- Rebuilt for updated systemd-rpm-macros + See https://pagure.io/fesco/issue/2583. + +* Wed Feb 10 2021 Adam Williamson - 4.6-32.20210210git496edb5 +- Bump to latest git again (inc. correct fix for a test issue) + +* Tue Feb 09 2021 Adam Williamson - 4.6-31.20210209git2e2b378 +- Bump to latest git, resync spec + +* Tue Jan 26 2021 Fedora Release Engineering - 4.6-30.20201023gitf54bdea +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Nov 03 2020 Adam Williamson - 4.6-29.20201023gitf54bdea +- Bump to recent git, resync spec +- NOTE: moves from /usr/libexec/os-autoinst to /usr/lib/os-autoinst + +* Thu Oct 22 2020 Nicolas Chauvet - 4.6-28.20200804gitb781299 +- Rebuilt for OpenCV + +* Fri Aug 28 2020 Adam Williamson - 4.6-27.20200804gitb781299 +- Backport click-and-drag support by lruzicka + +* Thu Aug 27 2020 Adam Williamson - 4.6-26.20200804gitb781299 +- Backport fix for a test regex with recent qemu + +* Wed Aug 05 2020 Adam Williamson - 4.6-25.20200804gitb781299 +- Fix OS_AUTOINST_DATA_DIR definition so @INC comes out right + +* Wed Aug 05 2020 Adam Williamson - 4.6-24.20200804gitb781299 +- Exclude new private module Requires from latest bump (signalblocker) + +* Tue Aug 04 2020 Adam Williamson - 4.6-23.20200804gitb781299 +- Bump to latest git, resync spec again + +* Sat Aug 01 2020 Fedora Release Engineering - 4.6-22.20200623git5038d8c +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 4.6-21.20200623git5038d8c +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jul 23 2020 Adam Williamson - 4.6-20.20200623git5038d8c +- Backport (modified) PR #1468 - make local VM host IP configurable + +* Thu Jun 25 2020 Jitka Plesnikova - 4.6-19.20200623git5038d8c +- Perl 5.32 rebuild + +* Wed Jun 24 2020 Adam Williamson - 4.6-18.20200623git5038d8c +- Bump to latest git, resync spec again + +* Fri Jun 12 2020 Adam Williamson - 4.6-17.20200610gitf38e8b1 +- Drop -devel dep that doesn't exist in Fedora + +* Wed Jun 10 2020 Adam Williamson - 4.6-16.20200610gitf38e8b1 +- Bump to latest git, resync spec again + +* Mon Jun 08 2020 Adam Williamson - 4.6-15.20200608gitbcbc6c4 +- Bump to latest git, resync spec with upstream + +* Thu Jun 04 2020 Nicolas Chauvet - 4.6-14.20200430git85fa4f1 +- Rebuilt for OpenCV 4.3 + +* Mon May 25 2020 Adam Williamson - 4.6-13.20200430git85fa4f12 +- Backport PR #1419 to fix build on Rawhide (opencv4) + +* Thu Apr 30 2020 Adam Williamson - 4.6-12.20200430git85fa4f12 +- Bump to latest git +- Resync spec with upstream, tweak dependency macro implementation + +* Fri Apr 17 2020 Adam Williamson - 4.6-11.20200414git50464d4e +- Rearrange the dependencies ppisar added + +* Wed Apr 15 2020 Adam Williamson - 4.6-10.20200414git50464d4e +- Bump to latest git + +* Wed Apr 01 2020 Petr Pisar +- Add more Perl dependencies + +* Wed Mar 11 2020 Adam Williamson - 4.6-9.20200311git4e3dec50 +- Bump to latest git + +* Wed Feb 05 2020 Adam Williamson - 4.6-8.20200205git63af2f4f +- Bump to latest git + +* Wed Jan 29 2020 Fedora Release Engineering - 4.6-7.20191226gitd693abe +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Jan 28 2020 Nicolas Chauvet - 4.6-6.20191226gitd693abe +- Rebuild for OpenCV 4.2 + +* Thu Jan 02 2020 Adam Williamson - 4.6-5.20191226gitd693abe0 +- Bump to latest git + +* Sun Dec 29 2019 Nicolas Chauvet - 4.6-4.20191121git75fbe1d +- Rebuilt for opencv4 + +* Thu Nov 21 2019 Adam Williamson - 4.6-3.20191121git75fbe1d3 +- Update to latest git again + +* Thu Oct 31 2019 Adam Williamson - 4.6-2.20191029git447dab86 +- Properly generate -devel package + +* Wed Oct 30 2019 Adam Williamson - 4.6-1.20191029git447dab86 +- Bump to latest upstream git snapshot (new version 4.6 declared) +- Resync spec with upstream + +* Sat Oct 19 2019 Adam Williamson - 4.5-26.20190806git3391d60 +- Backport 'click_lastmatch' feature from upstream git master + +* Tue Oct 15 2019 Adam Williamson - 4.5-25.20190806git3391d60 +- Bump to slightly newer git snapshot to build with OpenCV 4.1 + +* Wed Aug 21 2019 Adam Williamson - 4.5-24.20190806gitc597122 +- Backport PR #1199 to improve validate_script_output result display + +* Tue Aug 20 2019 Adam Williamson - 4.5-23.20190806gitc597122 +- Allow PXE boot only once (-boot once=n) + +* Tue Aug 13 2019 Adam Williamson - 4.5-22.20190806gitc597122 +- Disable qemu-options test on 32-bit ARM (it fails on F30) + +* Tue Aug 06 2019 Adam Williamson - 4.5-21.20190806gitc597122 +- Update to latest git again + +* Thu Jul 25 2019 Fedora Release Engineering - 4.5-20.20190706gitc3d5e8a +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Jul 12 2019 Adam Williamson - 4.5-19.20190706gitc3d5e8a +- Bump to latest git again, drop merged patch + +* Fri Jul 05 2019 Adam Williamson - 4.5-18.20190527git43185de +- Backport #1174 to work around RHBZ #1727388 (key press order) + +* Fri May 31 2019 Jitka Plesnikova - 4.5-17.20190527git43185de +- Perl 5.30 rebuild + +* Mon May 27 2019 Adam Williamson - 4.5-16.20190527git43185de +- Bump to latest git again +- Add a couple of new/missing dependencies + +* Wed Mar 13 2019 Adam Williamson - 4.5-15.20190312git1080c39 +- Bump to latest git again + +* Wed Feb 06 2019 Adam Williamson - 4.5-14.20190206git519f2ee +- Bump to latest git again + +* Fri Feb 01 2019 Fedora Release Engineering - 4.5-13.20190114gitdfe4780 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Mon Jan 14 2019 Adam Williamson - 4.5-12.20190114gitdfe4780 +- Bump to latest git again (including virtio-rng /dev/urandom change) + +* Tue Jan 08 2019 Adam Williamson - 4.5-11.20190108gitcb3fa72 +- Bump to latest git again + +* Tue Dec 18 2018 Adam Williamson - 4.5-10.20181213git44e93d8 +- Bump to latest git again, drop backported patch + +* Mon Nov 19 2018 Adam Williamson - 4.5-9.20181119gitf5d9165 +- Bump to latest git again +- Backport a patch related to new video timestamp feature + +* Wed Nov 14 2018 Adam Williamson - 4.5-8.20181113gitdced72b +- Bump to latest git +- Resync with upstream spec +- Disable OCR test on Rawhide as Tesseract 4.0.0 sucks + +* Fri Jul 13 2018 Fedora Release Engineering - 4.5-7.20180208gitab8eeda +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Sat Jun 30 2018 Jitka Plesnikova - 4.5-6.20180208gitab8eeda +- Perl 5.28 rebuild + +* Fri Mar 02 2018 Adam Williamson - 4.5-5.20180208gitab8eeda +- Rebuild for opencv 3.4.1 + +* Thu Feb 08 2018 Adam Williamson - 4.5-4.20180208gitab8eeda +- Bump to latest git + +* Thu Feb 08 2018 Fedora Release Engineering - 4.5-3.20171222git1c7bb3f +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Tue Jan 02 2018 Adam Williamson - 4.5-2.20171222git1c7bb3f +- Bump to latest git, with an upstream bugfix (#901) +- Rebuild for opencv soname bump (Rawhide) + +* Wed Dec 20 2017 Adam Williamson - 4.5-1.20171220git25191d5 +- Bump to latest git again, bump version to 4.5 (per upstream) + +* Thu Aug 17 2017 Adam Williamson - 4.4-26.20170807gitcf2d051 +- Bump to latest git again (wait_screen_change enhancement looks nice) + +* Tue Aug 15 2017 Adam Williamson - 4.4-25.20170725git734682a +- Revert typing speed change, didn't help and we found the real bug + +* Tue Aug 15 2017 Adam Williamson - 4.4-24.20170725git734682a +- Make the default typing speed slower to work around typing fails + +* Mon Jul 31 2017 Adam Williamson - 4.4-23.20170725git734682a +- Bump to latest git + +* Mon Jul 31 2017 Florian Weimer - 4.4-22.20170410git97928a2 +- Rebuild with binutils fix for ppc64le (#1475636) + +* Tue Jul 25 2017 Adam Williamson - 4.4-21.20170410git97928a2 +- Recommend git to avoid error messages in logs (RHBZ #1467086) + +* Thu Jul 20 2017 Adam Williamson - 4.4-20.20170410git97928a2 +- Rebuild for new gdal (for new mariadb) +- Downstream patch the full-stack test to type a bit slower + +* Tue Jun 06 2017 Jitka Plesnikova - 4.4-19.20170410git97928a2 +- Perl 5.26 rebuild +- Fixed tests to build on Perl without dot in INC + +* Mon Apr 10 2017 Adam Williamson - 4.4-18.20170410git97928a2 +- Bump to latest git again +- Adjust isotovideo self-reported version at build time (as did SUSE) + +* Tue Mar 28 2017 Adam Williamson - 4.4-17.20170329gitd8f75d2 +- Bump again to fix assert_and_click mouse repositioning (see #744) +- Disable full-stack test on non-x86 arches + +* Thu Mar 02 2017 Adam Williamson - 4.4-16.20170327git201dc4e +- Update to latest git (many useful fixes) + +* Tue Feb 28 2017 Adam Williamson - 4.4-15.20170126gitc29555c +- Rebuild for new opencv + +* Mon Jan 30 2017 Adam Williamson - 4.4-14.20170126gitc29555c +- Update to latest git, drop merged patch + +* Wed Jan 18 2017 Adam Williamson - 4.4-13.20170104git84d91e6 +- Backport fix for duplicated qemu vga options (broke ARM jobs) + +* Wed Jan 04 2017 Adam Williamson - 4.4-12.20170104git84d91e6 +- Update to latest git, drop merged #686 patch + +* Wed Jan 04 2017 Adam Williamson - 4.4-11.20170103git26171f4 +- Backport #686 to fix os-autoinst on 32-bit arches, re-enable them + +* Tue Jan 03 2017 Adam Williamson - 4.4-10.20170103git26171f4 +- Filter out another bogus openQA provide + +* Tue Jan 03 2017 Adam Williamson - 4.4-9.20170103git26171f4 +- Bump to latest git again +- Add some additional test requirements +- Disable build entirely on arches broken by POO #13822 for now + +* Tue Dec 13 2016 Adam Williamson - 4.4-8.20161213git3050cfa +- bump to latest git again + +* Mon Nov 28 2016 Adam Williamson - 4.4-7.20161123gitdb6d2ef +- bump to latest git (inc. garretraziel's UEFI boot order patches) +- drop patches merged upstream + +* Tue Oct 25 2016 Adam Williamson - 4.4-6.20161021git9672031 +- bump to latest git +- backport a couple of small fixes for perl errors +- backport #625 so we can use the distro-packaged EDK2 + +* Mon Sep 19 2016 Adam Williamson - 4.4-5.20160915gitba7ea22 +- disable a failing test on 32-bit x86 + +* Thu Sep 15 2016 Adam Williamson - 4.4-4.20160915gitba7ea22 +- bump to git master again, drop merged patch + +* Wed Sep 14 2016 Adam Williamson - 4.4-3.20160912git62f67e7 +- final version of POO #13722 fix + +* Wed Sep 14 2016 Adam Williamson - 4.4-2.20160912git62f67e7 +- test fix for POO #13722 + +* Mon Sep 12 2016 Adam Williamson - 4.4-1.20160912git62f67e7 +- try a new git snapshot again, let's see how it's going +- SUSE started calling this 4.4 at some point, so let's follow along + +* Sun Sep 04 2016 Adam Williamson - 4.3-26.20160902git1962d68 +- slightly older git snapshot, may fix issues seen in last build + +* Sat Sep 03 2016 Adam Williamson - 4.3-25.20160902git0b5d885 +- bump to latest git again, drop merged patches + +* Wed Aug 31 2016 Adam Williamson - 4.3-24.20160826gitcd35b40 +- don't sha1sum qcow assets on shutdown (slow, blocks worker process) + +* Mon Aug 29 2016 Adam Williamson - 4.3-23.20160826gitcd35b40 +- apply PR #571 to try and fix POO #13456 / #12680 + +* Fri Aug 26 2016 Adam Williamson - 4.3-22.20160826gitcd35b40 +- bump to latest git (to get bug fixes, disable verbose JSON logging) + +* Tue Aug 09 2016 Adam Williamson - 4.3-21.20160712gitf5bb0fe +- fix an issue with cursor reset after assert_and_click triggering overview + +* Tue Jul 12 2016 Adam Williamson - 4.3-20.20160712gitf5bb0fe +- git bump again (still fixing issues related to the shutdown rewrite) + +* Mon Jul 11 2016 Adam Williamson - 4.3-19.20160711git243c036 +- bump to git master one more time for PR #536 (more shutdown stuff) + +* Sun Jul 10 2016 Adam Williamson - 4.3-18.20160710gitc5e11ab +- bump to git master once more with merged (updated) PR #534 + +* Sun Jul 10 2016 Adam Williamson - 4.3-17.20160708gitcb0f4a8 +- bump to current git master again to make PR apply cleanly +- backport PR #534 to fix #535 and openQA #781 + +* Fri Jul 08 2016 Adam Williamson - 4.3-16.20160708git7a1901d +- bump to latest git +- drop merged PR #524 patch + +* Wed Jul 06 2016 Adam Williamson - 4.3-15.20160624gitfe19b00 +- include the whole of PR #524 to help fix multiple interactive mode issues + +* Mon Jul 04 2016 Adam Williamson - 4.3-14.20160624gitfe19b00 +- fix worker crash on job cancel (#530) with a single commit from PR #524 + +* Tue Jun 28 2016 Adam Williamson - 4.3-13.20160624gitfe19b00 +- bump to latest upstream git, drop merged patches + +* Mon May 16 2016 Jitka Plesnikova - 4.3-12.20160408gitff760a3 +- Perl 5.24 rebuild + +* Tue May 03 2016 Adam Williamson - 4.3-11.20160408gitff760a3 +- update the upload_logs patch to the version merged upstream + +* Fri Apr 29 2016 Adam Williamson - 4.3-10.20160408gitff760a3 +- add an option to prevent test dying if upload_logs fails (PR #490) + +* Tue Apr 26 2016 Adam Williamson - 4.3-9.20160408gitff760a3 +- fix incorrect binary path in openvswitch service file (PR #487) + +* Sat Apr 23 2016 Adam Williamson - 4.3-8.20160408gitff760a3 +- rebuild against updated opencv + +* Fri Apr 08 2016 Adam Williamson - 4.3-7.20160408gitff760a3 +- bump to current git (to go along with openQA; patch load was getting huge) + +* Thu Mar 31 2016 Adam Williamson - 4.3-6 +- backport: allow needles to be in nested directories (jskladan) + +* Thu Feb 04 2016 Fedora Release Engineering - 4.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jan 15 2016 Adam Williamson - 4.3-4 +- simplify requires/provides excludes (thanks Zbigniew) + +* Fri Jan 15 2016 Adam Williamson - 4.3-3 +- add perl(:MODULE_COMPAT require + +* Fri Jan 15 2016 Adam Williamson - 4.3-2 +- exclude provides and requires from the private modules + +* Thu Jan 14 2016 Adam Williamson - 4.3-1 +- new release 4.3, drop patches merged upstream +- resync with upstream spec changes +- some package review cleanups +- fix 'format not a literal' errors in new snd2png (submitted upstream) + +* Tue Dec 22 2015 Adam Williamson - 4.2.1-6 +- changes requested in package review: + + improve 'find and destroy' commands + + drop tests/ directory (upstream did this too) + + drop git dependency (seems to be ancient stuff) + + use %%license + + mark dbus config file as (noreplace) + + 'Open vSwitch' not 'openvswitch' in summary/description + + systemd snippets for openvswitch service + + drop useless python scripts to avoid automatic python requirements + +* Thu Dec 03 2015 Adam Williamson - 4.2.1-5 +- fix a bug in the UEFI patch + +* Thu Dec 03 2015 Adam Williamson - 4.2.1-4 +- support Fedora UEFI firmware location (submitted upstream) + +* Mon Nov 2 2015 Adam Williamson - 4.2.1-3 +- tweak hardcoded path patch a little (upstream request) + +* Sat Oct 24 2015 Adam Williamson - 4.2.1-2 +- fix a hardcoded path which is incorrect on Fedora + +* Thu Oct 15 2015 Adam Williamson - 4.2.1-1 +- new release 4.2.1 +- merge changes from upstream + +* Thu Apr 23 2015 Adam Williamson - 4.1-1.20150423git24609047 +- initial Fedora package, based on OBS package