Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package os-autoinst for openSUSE:Factory checked in at 2025-12-10 15:33:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/os-autoinst (Old) and /work/SRC/openSUSE:Factory/.os-autoinst.new.1939 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "os-autoinst" Wed Dec 10 15:33:28 2025 rev:550 rq:1321842 version:5.1765311639.7e3a762 Changes: -------- --- /work/SRC/openSUSE:Factory/os-autoinst/os-autoinst.changes 2025-12-01 11:13:28.230885335 +0100 +++ /work/SRC/openSUSE:Factory/.os-autoinst.new.1939/os-autoinst.changes 2025-12-10 15:34:14.539649841 +0100 @@ -1,0 +2,10 @@ +Tue Dec 09 20:44:16 UTC 2025 - [email protected] + +- Update to version 5.1765311639.7e3a762: + * Simplify the code to increment the counter + * audio: Allow for multiple audio recordings per test + * Add port forwarding example for NICTYPE_USER_OPTIONS + * Fix regression from abcaa66b by disabling virtio-keyboard by default + * Add IPv6 support for multi machine tests + +------------------------------------------------------------------- Old: ---- os-autoinst-5.1764330105.c5cfd48.obscpio New: ---- os-autoinst-5.1765311639.7e3a762.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ os-autoinst-devel-test.spec ++++++ --- /var/tmp/diff_new_pack.xKKNwR/_old 2025-12-10 15:34:16.427729720 +0100 +++ /var/tmp/diff_new_pack.xKKNwR/_new 2025-12-10 15:34:16.427729720 +0100 @@ -18,7 +18,7 @@ %define short_name os-autoinst-devel Name: %{short_name}-test -Version: 5.1764330105.c5cfd48 +Version: 5.1765311639.7e3a762 Release: 0 Summary: Test package for %{short_name} License: GPL-2.0-or-later ++++++ os-autoinst-openvswitch-test.spec ++++++ --- /var/tmp/diff_new_pack.xKKNwR/_old 2025-12-10 15:34:16.463731243 +0100 +++ /var/tmp/diff_new_pack.xKKNwR/_new 2025-12-10 15:34:16.467731412 +0100 @@ -19,7 +19,7 @@ %define name_ext -test %define short_name os-autoinst-openvswitch Name: %{short_name}%{?name_ext} -Version: 5.1764330105.c5cfd48 +Version: 5.1765311639.7e3a762 Release: 0 Summary: test package for %{short_name} License: GPL-2.0-or-later ++++++ os-autoinst-test.spec ++++++ --- /var/tmp/diff_new_pack.xKKNwR/_old 2025-12-10 15:34:16.503732935 +0100 +++ /var/tmp/diff_new_pack.xKKNwR/_new 2025-12-10 15:34:16.507733105 +0100 @@ -19,7 +19,7 @@ %define name_ext -test %define short_name os-autoinst Name: %{short_name}%{?name_ext} -Version: 5.1764330105.c5cfd48 +Version: 5.1765311639.7e3a762 Release: 0 Summary: test package for os-autoinst License: GPL-2.0-or-later ++++++ os-autoinst.spec ++++++ --- /var/tmp/diff_new_pack.xKKNwR/_old 2025-12-10 15:34:16.539734458 +0100 +++ /var/tmp/diff_new_pack.xKKNwR/_new 2025-12-10 15:34:16.543734628 +0100 @@ -17,7 +17,7 @@ Name: os-autoinst -Version: 5.1764330105.c5cfd48 +Version: 5.1765311639.7e3a762 Release: 0 Summary: OS-level test automation License: GPL-2.0-or-later ++++++ os-autoinst-5.1764330105.c5cfd48.obscpio -> os-autoinst-5.1765311639.7e3a762.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-autoinst-5.1764330105.c5cfd48/basetest.pm new/os-autoinst-5.1765311639.7e3a762/basetest.pm --- old/os-autoinst-5.1764330105.c5cfd48/basetest.pm 2025-11-28 12:41:45.000000000 +0100 +++ new/os-autoinst-5.1765311639.7e3a762/basetest.pm 2025-12-09 21:20:39.000000000 +0100 @@ -47,6 +47,7 @@ $self->{test_count} = 0; $self->{screen_count} = 0; $self->{wav_fn} = undef; + $self->{recording_number} = 0; $self->{dents} = 0; $self->{post_fail_hook_running} = 0; $self->{timeoutcounter} = 0; @@ -553,8 +554,8 @@ } sub capture_filename ($self) { - my $fn = $self->{name} . "-captured.wav"; die "audio capture already in progress. Stop it first!\n" if ($self->{wav_fn}); + my $fn = sprintf('%s-%03d-captured.wav', $self->{name}, ++$self->{recording_number}); $self->{wav_fn} = $fn; return $fn; } @@ -569,6 +570,7 @@ }; push @{$self->{details}}, $result; + $self->{wav_fn} = undef; return $result; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-autoinst-5.1764330105.c5cfd48/t/03-testapi.t new/os-autoinst-5.1765311639.7e3a762/t/03-testapi.t --- old/os-autoinst-5.1764330105.c5cfd48/t/03-testapi.t 2025-11-28 12:41:45.000000000 +0100 +++ new/os-autoinst-5.1765311639.7e3a762/t/03-testapi.t 2025-12-09 21:20:39.000000000 +0100 @@ -1287,6 +1287,8 @@ $mock_testapi->noop('_snd2png'); $mock_basetest->noop('verify_sound_image'); ok assert_recorded_sound('foo'), 'assert_recorded_sound can be called'; + dies_ok { check_record_sound('foo') } 'second evaluation of the same recording is rejected'; + lives_ok { start_audiocapture } 'start_audiocapture can be called for a second recording'; ok check_recorded_sound('foo'), 'check_recorded_sound can be called'; }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-autoinst-5.1764330105.c5cfd48/t/17-basetest.t new/os-autoinst-5.1765311639.7e3a762/t/17-basetest.t --- old/os-autoinst-5.1764330105.c5cfd48/t/17-basetest.t 2025-11-28 12:41:45.000000000 +0100 +++ new/os-autoinst-5.1765311639.7e3a762/t/17-basetest.t 2025-12-09 21:20:39.000000000 +0100 @@ -481,7 +481,11 @@ subtest capture_filename => sub { my $test = basetest->new(); $test->capture_filename; - is($test->{wav_fn}, 'basetest-captured.wav', 'capture_filename works as expected'); + is($test->{wav_fn}, 'basetest-001-captured.wav', 'capture_filename works as expected'); + dies_ok { $test->capture_filename } 'nested recordings are prevented'; + $test->{wav_fn} = undef; + $test->capture_filename; + is($test->{wav_fn}, 'basetest-002-captured.wav', 'capture_filename works as expected'); }; subtest stop_audiocapture => sub { ++++++ os-autoinst.obsinfo ++++++ --- /var/tmp/diff_new_pack.xKKNwR/_old 2025-12-10 15:34:19.203847169 +0100 +++ /var/tmp/diff_new_pack.xKKNwR/_new 2025-12-10 15:34:19.211847507 +0100 @@ -1,5 +1,5 @@ name: os-autoinst -version: 5.1764330105.c5cfd48 -mtime: 1764330105 -commit: c5cfd48b19ddccceb356c4080b163d775381741d +version: 5.1765311639.7e3a762 +mtime: 1765311639 +commit: 7e3a7626939cb8d3f90860d31f3cbcdee271cc2e
