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 2026-07-07 21:01:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/os-autoinst (Old) and /work/SRC/openSUSE:Factory/.os-autoinst.new.1982 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "os-autoinst" Tue Jul 7 21:01:03 2026 rev:611 rq:1364051 version:5.1783329367.214f5bc Changes: -------- --- /work/SRC/openSUSE:Factory/os-autoinst/os-autoinst.changes 2026-07-06 12:33:06.805018946 +0200 +++ /work/SRC/openSUSE:Factory/.os-autoinst.new.1982/os-autoinst.changes 2026-07-07 21:03:04.157997047 +0200 @@ -2 +2 @@ -Fri Jul 03 12:49:21 UTC 2026 - [email protected] +Mon Jul 06 09:16:15 UTC 2026 - [email protected] @@ -4 +4,3 @@ -- Update to version 5.1783082953.c3cb41d: +- Update to version 5.1783329367.214f5bc: + * test: fix flaky timeout in t/18-qemu-options.t + * feat: optimize and shorten pretty serial hook @@ -7 +8,0 @@ - * feat(ci): disable Mergify interactive queue controls in PR comments @@ -11 +11,0 @@ - * fix: mmapi test failures and infinite loop hangs @@ -13 +12,0 @@ - * fix: exclude virt-firmware on all older Leap archs Old: ---- os-autoinst-5.1783082953.c3cb41d.obscpio New: ---- os-autoinst-5.1783329367.214f5bc.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ os-autoinst-devel-test.spec ++++++ --- /var/tmp/diff_new_pack.Qs5hXG/_old 2026-07-07 21:03:06.346071903 +0200 +++ /var/tmp/diff_new_pack.Qs5hXG/_new 2026-07-07 21:03:06.350072040 +0200 @@ -18,7 +18,7 @@ %define short_name os-autoinst-devel Name: %{short_name}-test -Version: 5.1783082953.c3cb41d +Version: 5.1783329367.214f5bc Release: 0 Summary: Test package for %{short_name} License: GPL-2.0-or-later ++++++ os-autoinst-openvswitch-test.spec ++++++ --- /var/tmp/diff_new_pack.Qs5hXG/_old 2026-07-07 21:03:06.398073682 +0200 +++ /var/tmp/diff_new_pack.Qs5hXG/_new 2026-07-07 21:03:06.398073682 +0200 @@ -19,7 +19,7 @@ %define name_ext -test %define short_name os-autoinst-openvswitch Name: %{short_name}%{?name_ext} -Version: 5.1783082953.c3cb41d +Version: 5.1783329367.214f5bc Release: 0 Summary: test package for %{short_name} License: GPL-2.0-or-later ++++++ os-autoinst-test.spec ++++++ --- /var/tmp/diff_new_pack.Qs5hXG/_old 2026-07-07 21:03:06.454075598 +0200 +++ /var/tmp/diff_new_pack.Qs5hXG/_new 2026-07-07 21:03:06.458075735 +0200 @@ -19,7 +19,7 @@ %define name_ext -test %define short_name os-autoinst Name: %{short_name}%{?name_ext} -Version: 5.1783082953.c3cb41d +Version: 5.1783329367.214f5bc Release: 0 Summary: test package for os-autoinst License: GPL-2.0-or-later ++++++ os-autoinst.spec ++++++ --- /var/tmp/diff_new_pack.Qs5hXG/_old 2026-07-07 21:03:06.526078061 +0200 +++ /var/tmp/diff_new_pack.Qs5hXG/_new 2026-07-07 21:03:06.526078061 +0200 @@ -17,7 +17,7 @@ Name: os-autoinst -Version: 5.1783082953.c3cb41d +Version: 5.1783329367.214f5bc Release: 0 Summary: OS-level test automation License: GPL-2.0-or-later ++++++ os-autoinst-5.1783082953.c3cb41d.obscpio -> os-autoinst-5.1783329367.214f5bc.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-autoinst-5.1783082953.c3cb41d/distribution.pm new/os-autoinst-5.1783329367.214f5bc/distribution.pm --- old/os-autoinst-5.1783082953.c3cb41d/distribution.pm 2026-07-03 14:49:13.000000000 +0200 +++ new/os-autoinst-5.1783329367.214f5bc/distribution.pm 2026-07-06 11:16:07.000000000 +0200 @@ -184,11 +184,13 @@ $str = testapi::hashed_string('SR' . $cmd . $args{timeout}); $wait_pattern = qr/$str-(\d+)-/; if ($level == 2) { - testapi::type_string "export __OA_MARK=$str; $cmd\n", max_interval => $args{max_interval}; + # _OAM: openQA Marker, passes the expected marker string to the shell hook + testapi::type_string "export _OAM=$str; $cmd\n", max_interval => $args{max_interval}; } else { my $marker = "; echo $str-\$?-" . ($args{output} ? "Comment: $args{output}" : ''); - my $final_cmd = $skip_pretty ? "OA_NO_MARKER=1; $cmd" : $cmd; + # _OANM: openQA No Marker, skips printing the hook's done marker + my $final_cmd = $skip_pretty ? "_OANM=1; $cmd" : $cmd; if (testapi::is_serial_terminal) { testapi::type_string "$final_cmd$marker", max_interval => $args{max_interval}; testapi::wait_serial($final_cmd . $marker, no_regex => 1, quiet => $args{quiet}, buffer_size => (length $final_cmd) + 128, internal_marker => 1) @@ -456,18 +458,21 @@ return undef if $level < 2; my $dev = "/dev/$testapi::serialdev"; my $func; + # _oap: openQA prompt hook function + # _OANM: openQA No Marker (skip hook done marker) + # _OAM: openQA Marker (custom marker string) if ($level == 3) { - $func = qq{__oa_prompt() { r=\$?; if [ -n "\$OA_NO_MARKER" ]; then unset OA_NO_MARKER; else c=\$(fc -ln -1 2>/dev/null); printf "OA:DONE-%04x-%d-%s\\nOA:START\\n" \$RANDOM \$r "\${c#\${c%%[![:space:]]*}}" > $dev; fi; }}; + $func = qq{_oap(){ r=\$?;if [ -n "\$_OANM" ];then unset _OANM;else c=\$(fc -ln -1 2>/dev/null);printf "OA:DONE-%04x-%d-%s\\nOA:START\\n" \$RANDOM \$r "\${c#\${c%%[![:space:]]*}}">$dev;fi;}}; } else { - $func = qq{__oa_prompt() { r=\$?; if [ -n "\$OA_NO_MARKER" ]; then unset OA_NO_MARKER; elif [ -n "\$__OA_MARK" ]; then echo "\${__OA_MARK}-\$r-" > $dev; unset __OA_MARK; fi; echo "OA:START" > $dev; }}; + $func = qq{_oap(){ r=\$?;if [ -n "\$_OANM" ];then unset _OANM;elif [ -n "\$_OAM" ];then echo "\$_OAM-\$r-">$dev;unset _OAM;fi;echo "OA:START">$dev;}}; } - my $pc = 'PROMPT_COMMAND=__oa_prompt'; + my $pc = 'PROMPT_COMMAND=_oap'; # Consolidate installation and persistence into a single typed line to minimize VNC overhead. # We append to both ~/.bashrc and ~/.profile to cover both interactive and login shells. # Sourcing ~/.bashrc then activates the hook in the current session. - testapi::type_string "grep -q __oa_prompt ~/.bashrc 2>/dev/null || { echo '$func; $pc' | tee -a ~/.bashrc ~/.profile >/dev/null; }; . ~/.bashrc\n"; + testapi::type_string "grep -q _oap ~/.bashrc 2>/dev/null||{ echo '$func;$pc'|tee -a ~/.bashrc ~/.profile>/dev/null;};. ~/.bashrc\n"; my $console = testapi::current_console() // 'sut'; $self->{_serial_marker_hook_installed}->{$console} = 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-autoinst-5.1783082953.c3cb41d/t/05-distribution.t new/os-autoinst-5.1783329367.214f5bc/t/05-distribution.t --- old/os-autoinst-5.1783082953.c3cb41d/t/05-distribution.t 2026-07-03 14:49:13.000000000 +0200 +++ new/os-autoinst-5.1783329367.214f5bc/t/05-distribution.t 2026-07-06 11:16:07.000000000 +0200 @@ -93,7 +93,7 @@ $typed_string = ''; $d->{_serial_marker_level}->{'test-console'} = 2; $d->script_run('foo'); - like $typed_string, qr/export __OA_MARK=.*; foo\n/, 'Level 2 uses export marker'; + like $typed_string, qr/export _OAM=.*; foo\n/, 'Level 2 uses export marker'; $mock_testapi->redefine(wait_serial => sub ($regexp, @) { return 'BASH:4.4:' if ref($regexp) eq 'Regexp' && 'BASH:4.4:' =~ $regexp; @@ -147,7 +147,7 @@ $d->invalidate_serial_marker_hook('test-console'); is $d->detect_serial_marker_capability(), 2, 'Returns cached level 2'; - like $typed, qr/grep -q __oa_prompt.*\. ~\/\.bashrc/, 'Calls install_serial_marker_hook (types consolidated setup with sourcing)'; + like $typed, qr/grep -q _oap.*\. ~\/\.bashrc/, 'Calls install_serial_marker_hook (types consolidated setup with sourcing)'; ok $d->{_serial_marker_hook_installed}->{'test-console'}, 'Hook marked as installed'; }; @@ -173,7 +173,7 @@ }); $d->script_run('foo'); - like $typed_string, qr/grep -q __oa_prompt.*__oa_prompt\(\).*OA:DONE.*\. ~\/\.bashrc/s, 'Initial install'; + like $typed_string, qr/grep -q _oap.*_oap\(\).*OA:DONE.*\. ~\/\.bashrc/s, 'Initial install'; $typed_string = ''; # Simulate console selection (e.g. after reboot/login) @@ -189,7 +189,7 @@ $d->reset_serial_marker('test-console'); $typed_string = ''; $d->script_run('baz'); - like $typed_string, qr/grep -q __oa_prompt.*__oa_prompt\(\).*OA:DONE.*\. ~\/\.bashrc/s, 'Re-detect and re-install after resetting the serial marker'; + like $typed_string, qr/grep -q _oap.*_oap\(\).*OA:DONE.*\. ~\/\.bashrc/s, 'Re-detect and re-install after resetting the serial marker'; like $typed_string, qr/baz\n/, 'Command typed after re-installation'; # Case 3: select_console triggers reset @@ -296,7 +296,7 @@ # First install $d->install_serial_marker_hook(3); - like $typed, qr/grep -q __oa_prompt.*\. ~\/\.bashrc/, 'Types consolidated setup with persistence and sourcing'; + like $typed, qr/grep -q _oap.*\. ~\/\.bashrc/, 'Types consolidated setup with persistence and sourcing'; ok $d->{_serial_marker_hook_persistent}->{'test-console'}, 'Persistence marked'; # Invalidate hook but keep persistence @@ -345,11 +345,11 @@ $d->script_run($case->{cmd}); if ($case->{guard}) { - like $typed, qr/OA_NO_MARKER=1; /, $case->{msg}; + like $typed, qr/_OANM=1; /, $case->{msg}; like $diag_msg, qr/Manual redirection to \/dev\/ttyS0 is deprecated/, 'deprecation warning shown'; } else { - unlike $typed, qr/OA_NO_MARKER=1; /, $case->{msg}; + unlike $typed, qr/_OANM=1; /, $case->{msg}; unlike $diag_msg, qr/Manual redirection to \/dev\/ttyS0 is deprecated/, 'no deprecation warning for normal command'; } is $vars{PRETTY_SERIAL_MARKER}, 1, "PRETTY_SERIAL_MARKER is active again after '$case->{cmd}'"; @@ -360,7 +360,7 @@ delete $d->{_serial_marker_hook_persistent}->{'test-console'}; $d->{_serial_marker_level}->{'test-console'} = 3; $d->install_serial_marker_hook(3); - like $typed, qr/__oa_prompt\(\) \{ r=\$\?; if \[ -n "\$OA_NO_MARKER" \]/, '__oa_prompt must capture the exit status r=$? as the absolute first statement to prevent internal conditional checks from overwriting it'; + like $typed, qr/_oap\(\)\{ r=\$\?;if \[ -n "\$_OANM" \]/, '_oap must capture the exit status r=$? as the absolute first statement to prevent internal conditional checks from overwriting it'; }; subtest 'terminal_session_boundary' => sub { @@ -383,16 +383,16 @@ }); $d->script_run('first_cmd'); - like $typed, qr/__oa_prompt/, 'pretty serial marker hook is initially configured and installed on the terminal session'; + like $typed, qr/_oap/, 'pretty serial marker hook is initially configured and installed on the terminal session'; $typed = ''; $d->script_run('second_cmd'); - unlike $typed, qr/__oa_prompt/, 'hook re-installation is skipped on subsequent commands if cached status is stale'; + unlike $typed, qr/_oap/, 'hook re-installation is skipped on subsequent commands if cached status is stale'; $d->invalidate_serial_marker_hook('x11'); $typed = ''; $d->script_run('third_cmd'); - like $typed, qr/__oa_prompt/, 'hook is successfully re-installed on the next command after cached status is explicitly invalidated'; + like $typed, qr/_oap/, 'hook is successfully re-installed on the next command after cached status is explicitly invalidated'; }; done_testing; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-autoinst-5.1783082953.c3cb41d/t/18-qemu-options.t new/os-autoinst-5.1783329367.214f5bc/t/18-qemu-options.t --- old/os-autoinst-5.1783082953.c3cb41d/t/18-qemu-options.t 2026-07-03 14:49:13.000000000 +0200 +++ new/os-autoinst-5.1783329367.214f5bc/t/18-qemu-options.t 2026-07-06 11:16:07.000000000 +0200 @@ -28,7 +28,7 @@ $ENV{OSUTILS_WAIT_ATTEMPT_INTERVAL} //= 1; $ENV{QEMU_QMP_CONNECT_ATTEMPTS} //= 1; $ENV{EXPECTED_ISOTOVIDEO_RUNTIME_SCALE_COVER} //= Devel::Cover->can('report') ? 12 : 1; -$ENV{EXPECTED_ISOTOVIDEO_RUNTIME} //= $ENV{EXPECTED_ISOTOVIDEO_RUNTIME_SCALE_COVER} * 4; +$ENV{EXPECTED_ISOTOVIDEO_RUNTIME} //= $ENV{EXPECTED_ISOTOVIDEO_RUNTIME_SCALE_COVER} * 8; my @common_options = ( ARCH => 'i386', ++++++ os-autoinst.obsinfo ++++++ --- /var/tmp/diff_new_pack.Qs5hXG/_old 2026-07-07 21:03:15.206375021 +0200 +++ /var/tmp/diff_new_pack.Qs5hXG/_new 2026-07-07 21:03:15.238376116 +0200 @@ -1,5 +1,5 @@ name: os-autoinst -version: 5.1783082953.c3cb41d -mtime: 1783082953 -commit: c3cb41daa60ce53156b4c36222a89e14145e7c93 +version: 5.1783329367.214f5bc +mtime: 1783329367 +commit: 214f5bc676a21cf1aca1d1cc017d180de886f234
