Compare commits

..

No commits in common. "factory" and "factory" have entirely different histories.

8 changed files with 20 additions and 510 deletions

View File

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

View File

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

View File

@ -1,7 +1,7 @@
#
# spec file for package os-autoinst-devel-test
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%define short_name os-autoinst-devel
Name: %{short_name}-test
Version: 4.6.1739204074.6765272
Version: 4.6.1725896784.e007c26
Release: 0
Summary: Test package for %{short_name}
License: GPL-2.0-or-later

View File

@ -1,7 +1,7 @@
#
# spec file for package os-autoinst-openvswitch-test
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
%define name_ext -test
%define short_name os-autoinst-openvswitch
Name: %{short_name}%{?name_ext}
Version: 4.6.1739204074.6765272
Version: 4.6.1725896784.e007c26
Release: 0
Summary: test package for %{short_name}
License: GPL-2.0-or-later

View File

@ -1,7 +1,7 @@
#
# spec file for package os-autoinst-test
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
%define name_ext -test
%define short_name os-autoinst
Name: %{short_name}%{?name_ext}
Version: 4.6.1739204074.6765272
Version: 4.6.1725896784.e007c26
Release: 0
Summary: test package for os-autoinst
License: GPL-2.0-or-later

View File

@ -1,474 +1,3 @@
-------------------------------------------------------------------
Mon Feb 10 18:26:22 UTC 2025 - okurz@suse.com
- Update to version 4.6.1739204074.6765272:
* t: Add reason for undefined Pod::Coverage result
* Avoid duplicating common rsync arguments in svirt code
* Show download statistics in svirt backend when downloading assets
* Use distinct and lower timeout for rsync call in svirt backend
* Extend timeout for rsync commands done by the svirt backend to 15 min
* Add dependency on Feature::Compat::Try
-------------------------------------------------------------------
Mon Feb 10 04:23:41 UTC 2025 - okurz@suse.com
- Update to version 4.6.1739096614.78d097a:
* Fix documentation for force_soft_failure and record_soft_failure
* t: Capture SYNC_ASSETS_HOOK debug output
* Remove unused module Test::MockModule from 01-test-needle
* Remove Test::Fatal dependency
* Modify connect_and_login() test to catch multiline carp warning
-------------------------------------------------------------------
Wed Feb 05 21:31:41 UTC 2025 - okurz@suse.com
- Update to version 4.6.1738778868.fe51f65:
* Remove unused module Test::MockModule from 01-test-needle
* Remove Test::Fatal dependency
* Modify connect_and_login() test to catch multiline carp warning
* Apply suggestions from code review
* Add unit tests for consoles/s3270.pm
* t: Use more simple prototyped Test::Exceptions functions
-------------------------------------------------------------------
Wed Feb 05 14:45:06 UTC 2025 - okurz@suse.com
- Update to version 4.6.1738752967.6623798:
* Modify connect_and_login() test to catch multiline carp warning
* Apply suggestions from code review
* Add unit tests for consoles/s3270.pm
* t: Use more simple prototyped Test::Exceptions functions
* t: Focus on using Test::Exception only instead of Test::Fatal
* t: Ensure we use implicit Test::Exception in all places
* Fix race condition when autotest terminates
-------------------------------------------------------------------
Tue Feb 04 14:42:26 UTC 2025 - okurz@suse.com
- Update to version 4.6.1738604220.30e658a:
* t: Use more simple prototyped Test::Exceptions functions
* t: Focus on using Test::Exception only instead of Test::Fatal
* t: Ensure we use implicit Test::Exception in all places
* Fix race condition when autotest terminates
* Make it obvious when autotest receives SIGTERM in any case
* Increase vnctest script coverage
-------------------------------------------------------------------
Mon Feb 03 14:31:52 UTC 2025 - okurz@suse.com
- Update to version 4.6.1738587296.1a8261d:
* Fix race condition when autotest terminates
* Make it obvious when autotest receives SIGTERM in any case
* Increase vnctest script coverage
* Remove call to unmock from code review suggestion
* Fix error handling when reading output of SSH commands after 0d09ec97e
-------------------------------------------------------------------
Tue Jan 28 15:56:09 UTC 2025 - okurz@suse.com
- Update to version 4.6.1738076220.6b39995:
* Add unit tests for consoles/sshXtermIPMI.pm
* Extend documentation of SSH related timeout parameters
* Allow specifying the timeout on `get_cmd_output` calls
* Avoid endless loop in case of SSH read errors in `check_ssh_serial`
* Add more code coverage for video_stream.pm
* Clone the disk image with nvram for vmware guest
-------------------------------------------------------------------
Mon Jan 27 20:34:38 UTC 2025 - okurz@suse.com
- Update to version 4.6.1737980001.69ac906:
* Add more code coverage for video_stream.pm
* Clone the disk image with nvram for vmware guest
* Update loadtestdir with correct paths
* Fix passing of variables
* Extract method in OpenQA::Isotovideo::Dewebsockify
* t: Fix 'The signatures feature is experimental' in t/39-dewebsockify.t
-------------------------------------------------------------------
Wed Jan 22 15:25:14 UTC 2025 - okurz@suse.com
- Update to version 4.6.1737544150.75887b5:
* Update loadtestdir with correct paths
* Fix passing of variables
* Extract method in OpenQA::Isotovideo::Dewebsockify
* t: Fix 'The signatures feature is experimental' in t/39-dewebsockify.t
* Add coverage for tags subroutine when called with more than 2
* Add test covering dewebsockify modulino
* Make script/dewebsockify a Modulino
* Improve test for websocket error handling
* Drop some orphaned lines about gocrbin
-------------------------------------------------------------------
Fri Jan 17 17:28:20 UTC 2025 - okurz@suse.com
- Update to version 4.6.1737129853.8e8f463:
* Add test coverage for sshXtermVt
* Add coverage for tags subroutine when called with more than 2
* Update perltidy to 20250105
* t: Fix hidden output of 'diag explain'
* Drop some orphaned lines about gocrbin
-------------------------------------------------------------------
Wed Jan 08 19:25:50 UTC 2025 - okurz@suse.com
- Update to version 4.6.1736332167.3796202:
* Add subtests for commands.pm
* Fix warn+return precendence
* Remove extra arguments from testapi::send_key()
* Modify loadtestdir in autotest for more code coverage
* t: cover both old and new qemu paths in 18-backend-qemu.t
-------------------------------------------------------------------
Mon Jan 06 18:31:44 UTC 2025 - okurz@suse.com
- Update to version 4.6.1736157351.7aa835c:
* Modify loadtestdir in autotest for more code coverage
* Remove unreachable states in tests 18-backend-qemu
* Fix code coverage for qemu.pm
* t: fix tests for #2550 for old and new qemu
* Fix test of qemu backend
* Enable multifd support
* Add unit test for 'ensure_installed' to improve code coverage
-------------------------------------------------------------------
Sun Jan 05 17:15:03 UTC 2025 - okurz@suse.com
- Update to version 4.6.1735912767.1d8e059:
* Remove unreachable states in tests 18-backend-qemu
* Fix code coverage for qemu.pm
* t: fix tests for #2550 for old and new qemu
* Fix test of qemu backend
* Enable multifd support
* Remove redundant newline in "GOT GO" message
* autotest: Simplify with post-if
-------------------------------------------------------------------
Wed Jan 01 15:14:32 UTC 2025 - okurz@suse.com
- Update to version 4.6.1735636267.be6a5a9:
* Remove redundant newline in "GOT GO" message
* autotest: Simplify with post-if
* Add unit test for 'ensure_installed' to improve code coverage
* Add more subtests for distribution.pm
* Add test for the old net ssh2 error
* Skip 28-signalblocker test in qemu emulation
-------------------------------------------------------------------
Tue Dec 24 06:26:33 UTC 2024 - okurz@suse.com
- Update to version 4.6.1734961973.9cefddf:
* Add more subtests for distribution.pm
* Replace print with bmwqemu::diag in autotest.pm
* Add subtest for autotest.pm
* Add test for the old net ssh2 error
* Remove subs on vnc_base that are already declared on base
* Skip 28-signalblocker test in qemu emulation
-------------------------------------------------------------------
Thu Dec 19 21:18:33 UTC 2024 - okurz@suse.com
- Update to version 4.6.1734613653.b57c68a:
* Slightly simplify autotest
* Remove _typing_limit subroutine because it's never used
* Update t/08-autotest.t
* Remove subs on vnc_base that are already declared on base
* Enable more unit test code for codecoverage
* Add more subtests for autotest.pm
-------------------------------------------------------------------
Wed Dec 18 23:58:20 UTC 2024 - okurz@suse.com
- Update to version 4.6.1734521846.22cc1e5:
* Remove _typing_limit subroutine because it's never used
* Update t/08-autotest.t
* Remove subs on vnc_base that are already declared on base
* Enable more unit test code for codecoverage
* Add more subtests for autotest.pm
* Add script/check_qemu_oom to fully covered paths on codecov
-------------------------------------------------------------------
Tue Dec 17 19:31:10 UTC 2024 - okurz@suse.com
- Update to version 4.6.1734460765.0a6685b:
* Remove _typing_limit subroutine because it's never used
* Update t/08-autotest.t
* Enable more unit test code for codecoverage
* Add more subtests for autotest.pm
* Add script/check_qemu_oom to fully covered paths on codecov
* Avoid adding message about termination from myjsonrpc as reason
-------------------------------------------------------------------
Mon Dec 16 19:14:36 UTC 2024 - okurz@suse.com
- Update to version 4.6.1734363783.193a720:
* Add script/check_qemu_oom to fully covered paths on codecov
* Add lockapi fully coverage 100% in codecov
* Add lockapi::mutex_wait test in t/30-mmapi.t
* Export handle_read_error function from read_json
* Set a bmwqemu diag uncoverable
* Refactor utility functions for myjsonrpc
* Avoid adding message about termination from myjsonrpc as reason
-------------------------------------------------------------------
Mon Dec 16 14:24:35 UTC 2024 - okurz@suse.com
- Update to version 4.6.1734344267.de97b92:
* Add lockapi fully coverage 100% in codecov
* Add lockapi::mutex_wait test in t/30-mmapi.t
* Export handle_read_error function from read_json
* Set a bmwqemu diag uncoverable
* Refactor utility functions for myjsonrpc
* Add coverage test for written bytes errors
* Avoid adding message about termination from myjsonrpc as reason
-------------------------------------------------------------------
Fri Dec 13 23:50:18 UTC 2024 - okurz@suse.com
- Update to version 4.6.1734104581.b0afc0e:
* Export handle_read_error function from read_json
* Set a bmwqemu diag uncoverable
* Refactor utility functions for myjsonrpc
* Add coverage test for written bytes errors
* Fix unhandled output "Sending tests_done" in t/08-autotest.t
* Avoid Perl warning about when handling tags to assert
-------------------------------------------------------------------
Thu Dec 12 22:14:59 UTC 2024 - okurz@suse.com
- Update to version 4.6.1734019324.33fca53:
* Fix unhandled output "Sending tests_done" in t/08-autotest.t
* Avoid Perl warning about when handling tags to assert
* Ensure full statement coverage in consoles::sshVirtsh
* Extend sshVirtsh console test coverage
* video_stream: add support for ustreamer >= 6.10
* video_stream: add support for RGB3 format
* video_stream: typo fix
* video_stream: adjust raw sink name for ustreamer >= 6.5
-------------------------------------------------------------------
Thu Dec 12 15:15:16 UTC 2024 - okurz@suse.com
- Update to version 4.6.1734015736.407e9c7:
* Avoid Perl warning about when handling tags to assert
* Extend sshVirtsh console test coverage
* Add logging and error handling
* video_stream: add support for ustreamer >= 6.10
* video_stream: add support for RGB3 format
* video_stream: typo fix
-------------------------------------------------------------------
Tue Dec 10 23:16:57 UTC 2024 - okurz@suse.com
- Update to version 4.6.1733849750.e4a580f:
* Extend sshVirtsh console test coverage
* Add logging and error handling
* video_stream: add support for ustreamer >= 6.10
* video_stream: add support for RGB3 format
* video_stream: typo fix
* video_stream: adjust raw sink name for ustreamer >= 6.5
-------------------------------------------------------------------
Tue Dec 10 09:15:29 UTC 2024 - okurz@suse.com
- Update to version 4.6.1733821168.aff71c7:
* Add logging and error handling
* video_stream: add support for ustreamer >= 6.10
* video_stream: add support for RGB3 format
* video_stream: typo fix
* video_stream: adjust raw sink name for ustreamer >= 6.5
* Fix: console reset on milestone loading
-------------------------------------------------------------------
Fri Dec 06 22:46:16 UTC 2024 - okurz@suse.com
- Update to version 4.6.1733508209.cfb5ba6:
* Add logging and error handling
* Fix: console reset on milestone loading
* codecov: Mark basetest as completely covered
* basetest: Simplify record_screenfail to increase coverage
* Remove obsolete basetest::ocr_checklist
-------------------------------------------------------------------
Thu Dec 05 11:26:04 UTC 2024 - okurz@suse.com
- Update to version 4.6.1733320281.c273366:
* Fix: console reset on milestone loading
* codecov: Mark basetest as completely covered
* basetest: Simplify record_screenfail to increase coverage
* Remove obsolete basetest::ocr_checklist
* cv: Mark extraordinary error handling as uncoverable
-------------------------------------------------------------------
Fri Nov 29 21:29:48 UTC 2024 - okurz@suse.com
- Update to version 4.6.1732909069.6642da0:
* cv: Mark extraordinary error handling as uncoverable
* Handle PID logging in Xvnc test
* Cover deprecation logging
* Remove obsolete amt backend
* snd2png: Clamping fix
-------------------------------------------------------------------
Tue Nov 26 09:55:46 UTC 2024 - okurz@suse.com
- Update to version 4.6.1732614935.3535e6c:
* Remove obsolete amt backend
* Make actually use of `%python_support_requires` for Python support
* snd2png: Clamping fix
* backend: Allow to configure IPMI options
* Add sshIucvconn to fully_covered of the codecov
-------------------------------------------------------------------
Thu Nov 14 19:27:32 UTC 2024 - okurz@suse.com
- Update to version 4.6.1731418769.97d9a7f:
* backend: Allow to configure IPMI options
* Add sshIucvconn to fully_covered of the codecov
* Extend sshIucvconn console test coverage
* Prevent socat from logging into stderr inside test
* Improve used functions in consoles::sshIucvconn
-------------------------------------------------------------------
Tue Nov 12 11:16:10 UTC 2024 - okurz@suse.com
- Update to version 4.6.1731365409.63aca04:
* Add sshIucvconn to fully_covered of the codecov
* Extend sshIucvconn console test coverage
* Prevent socat from logging into stderr inside test
* Improve used functions in consoles::sshIucvconn
* Handle expected output in t/29-backend-ipmi.t
-------------------------------------------------------------------
Sun Nov 10 03:32:25 UTC 2024 - okurz@suse.com
- Update to version 4.6.1731145997.c600099:
* Prevent socat from logging into stderr inside test
* Improve used functions in consoles::sshIucvconn
* Handle expected output in t/29-backend-ipmi.t
* Require ffmpeg during tests
* Silence expected error message from sudo
-------------------------------------------------------------------
Thu Nov 07 19:31:41 UTC 2024 - okurz@suse.com
- Update to version 4.6.1730887485.616b072:
* Handle expected output in t/29-backend-ipmi.t
* Require ffmpeg during tests
* Silence expected error message from sudo
* Cover remaining code paths of `testapi.pm`
* Cover remaining code paths in `_check_backend_response`
* Improve unit test coverage of test API code handling timeouts
-------------------------------------------------------------------
Mon Nov 04 22:54:25 UTC 2024 - okurz@suse.com
- Update to version 4.6.1730760855.29085e0:
* Require ffmpeg during tests
* Silence expected error message from sudo
* Cover remaining code paths of `testapi.pm`
* Cover remaining code paths in `_check_backend_response`
* Improve unit test coverage of test API code handling timeouts
* generalhw: implement eject_cd
* t: don't hardcode line number in t/29-backend-generalhw.t
-------------------------------------------------------------------
Thu Oct 31 19:34:34 UTC 2024 - okurz@suse.com
- Update to version 4.6.1730368148.a4ace9f:
* Cover remaining code paths of `testapi.pm`
* Cover remaining code paths in `_check_backend_response`
* Improve unit test coverage of test API code handling timeouts
* Cover `testapi::_handle_found_needle` in unit tests
* generalhw: implement eject_cd
* t: don't hardcode line number in t/29-backend-generalhw.t
-------------------------------------------------------------------
Mon Oct 28 14:45:15 UTC 2024 - okurz@suse.com
- Update to version 4.6.1730126707.79e7c91:
* Add dependencies of `tools/check-shellcheck` explicitly, fix CI checks
* Fully cover console in testapi.pm
* Fully cover select_console in testapi.pm
* Fully cover upload_asset in autotest.pm
* Fully cover mouse_drag in testapi.pm
* Fully cover get_test_data in testapi.pm
* Cover parse_extra_log in testapi.pm
* testapi: Slightly simplify upload_logs
-------------------------------------------------------------------
Thu Oct 10 15:05:18 UTC 2024 - okurz@suse.com
- Update to version 4.6.1728572709.326d308:
* Add xen-pv USBPV hub
* Add USBPV unit test
* Use double quotes for URLs
* git subrepo pull (merge) --force external/os-autoinst-common
* Exclude sub packages with many additional dependencies on SLE
* Replace single quotes with double of URLs in the log strings
* Remove obsolete support for "script_run" with "die_on_timeout=0"
* Fix pod for backend_get_wait_still_screen_on_here_doc_input
* Virsh VMware images shell snippet debugging added
* Use more compact syntax to add features to virsh config
* Avoid configuring ACPI on s390x for compat with newer libvirt/qemu
* ci: Add OBS helper workflow
* Avoid having devel package depend on CI-specific Perl module
* Document new variables for VMWare's provisioning options
* Update unit tests
* VMWare: add combustion and ignition support
* Remove workaround for broken chromium
* Explain regexp argument for wait_serial
* Disable building with OCR support on SLE
* Make Python support optional in fullstack test
* Fix build condition for Python support
* Allow package builds without `Inline::Python`
* Avoid dependency on `File::Touch` for easier SLE submission
* systemd: Fix path to os-autoinst-openvswitch (regression from aa027ef4)
* Fix script/ folder install
* Consistently provide all scripts in script/
* Add help for os-autoinst-setup-multi-machine
-------------------------------------------------------------------
Tue Sep 24 22:09:22 UTC 2024 - okurz@suse.com
- Update to version 4.6.1727108423.e2e59c5:
* Use double quotes for URLs
* git subrepo pull (merge) --force external/os-autoinst-common
* video_stream: fix setting EDID when using ffmpeg and explicit FPS
* Exclude sub packages with many additional dependencies on SLE
* Remove obsolete support for "script_run" with "die_on_timeout=0"
* Fix pod for backend_get_wait_still_screen_on_here_doc_input
-------------------------------------------------------------------
Sat Sep 21 15:59:40 UTC 2024 - okurz@suse.com
- Update to version 4.6.1726934371.91a005a:
* Use double quotes for URLs
* git subrepo pull (merge) --force external/os-autoinst-common
* video_stream: fix setting EDID when using ffmpeg and explicit FPS
* Exclude sub packages with many additional dependencies on SLE
* Replace single quotes with double of URLs in the log strings
-------------------------------------------------------------------
Mon Sep 16 10:04:02 UTC 2024 - okurz@suse.com
- Update to version 4.6.1726481035.fb2a478:
* git subrepo pull (merge) --force external/os-autoinst-common
* video_stream: fix setting EDID when using ffmpeg and explicit FPS
* Exclude sub packages with many additional dependencies on SLE
* Replace single quotes with double of URLs in the log strings
* Fix pod for backend_get_wait_still_screen_on_here_doc_input
-------------------------------------------------------------------
Fri Sep 13 17:21:31 UTC 2024 - okurz@suse.com
- Update to version 4.6.1726244934.3203a88:
* video_stream: fix setting EDID when using ffmpeg and explicit FPS
* Exclude sub packages with many additional dependencies on SLE
* Replace single quotes with double of URLs in the log strings
* Fix pod for backend_get_wait_still_screen_on_here_doc_input
* Virsh VMware images shell snippet debugging added
-------------------------------------------------------------------
Mon Sep 09 15:46:32 UTC 2024 - okurz@suse.com

View File

@ -1,4 +1,4 @@
name: os-autoinst
version: 4.6.1739204074.6765272
mtime: 1739204074
commit: 6765272cdd44b296d70f2eff8168c4a3454938c4
version: 4.6.1725896784.e007c26
mtime: 1725896784
commit: e007c26db0f8e0a1cc3d9d8bf87f249308fe9186

View File

@ -1,7 +1,7 @@
#
# spec file for package os-autoinst
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: os-autoinst
Version: 4.6.1739204074.6765272
Version: 4.6.1725896784.e007c26
Release: 0
Summary: OS-level test automation
License: GPL-2.0-or-later
@ -31,20 +31,12 @@ Source0: %{name}-%{version}.tar.xz
%else
%define opencv_require pkgconfig(opencv)
%endif
# exclude additional sub packages that would pull in a lot of extra dependencies on SLE
%if 0%{?sle_version} && !0%{?is_opensuse}
%bcond_with devel_package
%bcond_with deps_package
%else
%bcond_without devel_package
%bcond_without deps_package
%endif
# The following line is generated from dependencies.yaml
%define build_base_requires %opencv_require gcc-c++ perl(Pod::Html) pkg-config pkgconfig(fftw3) pkgconfig(libpng) pkgconfig(sndfile) pkgconfig(theoraenc)
# The following line is generated from dependencies.yaml
%define build_requires %build_base_requires cmake ninja
# The following line is generated from dependencies.yaml
%define main_requires 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(Feature::Compat::Try) perl(File::Basename) perl(File::Find) perl(File::Map) perl(File::Path) perl(File::Temp) 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) >= 9.340.0 perl(Mojolicious::Lite) perl(Net::DBus) perl(Net::Domain) 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) perl-base rsync sshpass
%define main_requires 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::Map) perl(File::Path) perl(File::Temp) 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) >= 9.340.0 perl(Mojolicious::Lite) perl(Net::DBus) perl(Net::Domain) 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) perl-base rsync sshpass
# 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
@ -114,13 +106,13 @@ Source0: %{name}-%{version}.tar.xz
%define test_non_s390_requires %{nil}
%endif
# The following line is generated from dependencies.yaml
%define test_base_requires %main_requires cpio icewm perl(Benchmark) perl(Devel::Cover) perl(FindBin) perl(Pod::Coverage) 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 >= 4.0 qemu-tools socat xorg-x11-Xvnc xterm xterm-console
%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 >= 4.0 qemu-tools socat xorg-x11-Xvnc xterm xterm-console
# The following line is generated from dependencies.yaml
%define test_version_only_requires perl(Mojo::IOLoop::ReadWriteProcess) >= 0.28
# The following line is generated from dependencies.yaml
%define test_requires %build_requires %ocr_requires %python_support_requires %spellcheck_requires %test_base_requires %test_non_s390_requires %yamllint_requires ffmpeg python3-Pillow-tk
%define test_requires %build_requires %ocr_requires %spellcheck_requires %test_base_requires %test_non_s390_requires %yamllint_requires python3-Pillow-tk
# The following line is generated from dependencies.yaml
%define devel_requires %python_style_requires %test_requires ShellCheck file perl(Code::TidyAll) perl(Devel::Cover) perl(Module::CPANfile) perl(Perl::Tidy) perl(Template::Toolkit) sed shfmt
%define devel_requires %python_style_requires %test_requires ShellCheck perl(Code::TidyAll) perl(Devel::Cover) perl(Module::CPANfile) perl(Perl::Tidy) perl(Template::Toolkit) shfmt
%define s390_zvm_requires /usr/bin/xkbcomp /usr/bin/Xvnc x3270 icewm xterm xterm-console xdotool fonts-config mkfontdir mkfontscale openssh-clients
%define ipmi_requires ipmitool
%define qemu_requires qemu-tools e2fsprogs
@ -136,7 +128,7 @@ Recommends: dumponlyconsole %s390_zvm_requires
Recommends: qemu >= 4.0.0
%if %{with python_support}
# Optional dependency for Python test API support
Recommends: %python_support_requires
Recommends: perl(Inline::Python)
%endif
# Optional dependency for crop.py
Recommends: python3-Pillow-tk
@ -158,7 +150,6 @@ automated testing frameworks. However, it can just as well be used
to test firefox and openoffice operation on top of a newly
installed OS.
%if %{with devel_package}
%package devel
Summary: Development package pulling in all build+test dependencies
Group: Development/Tools/Other
@ -166,7 +157,6 @@ Requires: %devel_requires
%description devel
Development package pulling in all build+test dependencies.
%endif
%package openvswitch
Summary: Openvswitch support for os-autoinst
@ -209,7 +199,6 @@ Requires: swtpm
%description swtpm
Convenience package providing os-autoinst and swtpm dependencies.
%if %{with deps_package}
%package s390-deps
Summary: Convenience package providing os-autoinst + s390 worker jumphost deps
Group: Development/Tools/Other
@ -227,7 +216,6 @@ Requires: os-autoinst
%description ipmi-deps
Convenience package providing os-autoinst + ipmi worker jumphost dependencies.
%endif
%prep
%setup -q
@ -251,10 +239,6 @@ rm t/27-consoles-vmware.t
%if %{without ocr}
rm t/02-test_ocr.t
%endif
%if 0%{?qemu_user_space_build}
# qemu emulation always starts a separate thread
rm t/28-signalblocker.t
%endif
%build
%define __builder ninja
@ -353,9 +337,7 @@ fi
%config /etc/dbus-1/system.d/org.opensuse.os_autoinst.switch.conf
%{_sbindir}/rcos-autoinst-openvswitch
%if %{with devel_package}
%files devel
%endif
%ifarch x86_64
%files qemu-kvm
@ -363,10 +345,9 @@ fi
%endif
%files swtpm
%if %{with deps_package}
%files s390-deps
%files ipmi-deps
%endif
%changelog