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-05-09 13:00:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/os-autoinst (Old) and /work/SRC/openSUSE:Factory/.os-autoinst.new.1966 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "os-autoinst" Sat May 9 13:00:02 2026 rev:596 rq:1352161 version:5.1778246511.7a6bac3 Changes: -------- --- /work/SRC/openSUSE:Factory/os-autoinst/os-autoinst.changes 2026-05-07 15:46:30.650897416 +0200 +++ /work/SRC/openSUSE:Factory/.os-autoinst.new.1966/os-autoinst.changes 2026-05-09 13:00:24.934568694 +0200 @@ -1,0 +2,10 @@ +Fri May 08 13:22:00 UTC 2026 - [email protected] + +- Update to version 5.1778246511.7a6bac3: + * feat(qemu): improve port conflict detection and VNC error diagnostics + * fix: restore serial marker hook after switching users + * fix: handle pre-marker pending text in script_output + * fix: echo json_cmd_token in isotovideo responses + * style: unify copyright headers by dropping years + +------------------------------------------------------------------- Old: ---- os-autoinst-5.1778097909.35320dd.obscpio New: ---- os-autoinst-5.1778246511.7a6bac3.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ os-autoinst-devel-test.spec ++++++ --- /var/tmp/diff_new_pack.cFli8O/_old 2026-05-09 13:00:25.990612027 +0200 +++ /var/tmp/diff_new_pack.cFli8O/_new 2026-05-09 13:00:25.994612191 +0200 @@ -18,7 +18,7 @@ %define short_name os-autoinst-devel Name: %{short_name}-test -Version: 5.1778097909.35320dd +Version: 5.1778246511.7a6bac3 Release: 0 Summary: Test package for %{short_name} License: GPL-2.0-or-later ++++++ os-autoinst-openvswitch-test.spec ++++++ --- /var/tmp/diff_new_pack.cFli8O/_old 2026-05-09 13:00:26.026613504 +0200 +++ /var/tmp/diff_new_pack.cFli8O/_new 2026-05-09 13:00:26.030613668 +0200 @@ -19,7 +19,7 @@ %define name_ext -test %define short_name os-autoinst-openvswitch Name: %{short_name}%{?name_ext} -Version: 5.1778097909.35320dd +Version: 5.1778246511.7a6bac3 Release: 0 Summary: test package for %{short_name} License: GPL-2.0-or-later ++++++ os-autoinst-test.spec ++++++ --- /var/tmp/diff_new_pack.cFli8O/_old 2026-05-09 13:00:26.082615802 +0200 +++ /var/tmp/diff_new_pack.cFli8O/_new 2026-05-09 13:00:26.086615966 +0200 @@ -19,7 +19,7 @@ %define name_ext -test %define short_name os-autoinst Name: %{short_name}%{?name_ext} -Version: 5.1778097909.35320dd +Version: 5.1778246511.7a6bac3 Release: 0 Summary: test package for os-autoinst License: GPL-2.0-or-later ++++++ os-autoinst.spec ++++++ --- /var/tmp/diff_new_pack.cFli8O/_old 2026-05-09 13:00:26.122617443 +0200 +++ /var/tmp/diff_new_pack.cFli8O/_new 2026-05-09 13:00:26.122617443 +0200 @@ -17,7 +17,7 @@ Name: os-autoinst -Version: 5.1778097909.35320dd +Version: 5.1778246511.7a6bac3 Release: 0 Summary: OS-level test automation License: GPL-2.0-or-later ++++++ os-autoinst-5.1778097909.35320dd.obscpio -> os-autoinst-5.1778246511.7a6bac3.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-autoinst-5.1778097909.35320dd/bmwqemu.pm new/os-autoinst-5.1778246511.7a6bac3/bmwqemu.pm --- old/os-autoinst-5.1778097909.35320dd/bmwqemu.pm 2026-05-06 22:05:09.000000000 +0200 +++ new/os-autoinst-5.1778246511.7a6bac3/bmwqemu.pm 2026-05-08 15:21:51.000000000 +0200 @@ -185,11 +185,12 @@ my $requested_bytes = $total_hdd_size_gb * GIB; my $min_free_bytes = $total_storage * $keep_free; my $keep_free_gb = $vars{STORAGE_KEEP_FREE_GB} // STORAGE_KEEP_FREE_GB; - my $relative_exceeded = $requested_bytes > $available - $min_free_bytes; + my $relative_available = $available - $min_free_bytes; + my $relative_exceeded = $requested_bytes > $relative_available; my $absolute_exceeded = $keep_free_gb > 0 && $requested_bytes > $available - ($keep_free_gb * GIB); return undef unless $relative_exceeded && $absolute_exceeded; - my $msg = sprintf 'Not enough storage for requested HDDSIZEGB (requested %d GiB, available %d GiB, total %d GiB, keep-free %d%%)', - $total_hdd_size_gb, int($available / GIB), int($total_storage / GIB), int($keep_free * 100); + my $msg = sprintf 'Not enough storage for requested HDDSIZEGB (requested %d GiB, available keeping %d%% free: %d GiB, generally available %d GiB, total %d GiB)', + $total_hdd_size_gb, int($keep_free * 100), $relative_available > 0 ? int($relative_available / GIB) : 0, int($available / GIB), int($total_storage / GIB); serialize_state(result => 'incomplete', msg => $msg); die "$msg\n"; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-autoinst-5.1778097909.35320dd/t/12-bmwqemu.t new/os-autoinst-5.1778246511.7a6bac3/t/12-bmwqemu.t --- old/os-autoinst-5.1778097909.35320dd/t/12-bmwqemu.t 2026-05-06 22:05:09.000000000 +0200 +++ new/os-autoinst-5.1778246511.7a6bac3/t/12-bmwqemu.t 2026-05-08 15:21:51.000000000 +0200 @@ -191,7 +191,11 @@ {hdd_size_gb => 10, total_storage => 100, avail_storage => 100, expect => 'pass', desc => 'succeed if requested HDDSIZEGB is well within available space'}, {hdd_size_gb => 60, total_storage => 5, avail_storage => 5, expect => 'fail', extra_vars => {STORAGE_KEEP_FREE_RATIO => 0.9}, - desc => 'abort if requested HDDSIZEGB exceeds custom threshold'}, + desc => 'abort if requested HDDSIZEGB exceeds available storage (keeping certain ratio free) which is already negative anyway', + expected_stats => 'requested 60 GiB, available keeping 90% free: 0 GiB, generally available 5 GiB, total 5 GiB'}, + {hdd_size_gb => 30, total_storage => 36, avail_storage => 30, expect => 'fail', extra_vars => {STORAGE_KEEP_FREE_RATIO => 0.2}, + desc => 'abort if requested HDDSIZEGB exceeds available storage (keeping certain ratio free)', + expected_stats => 'requested 30 GiB, available keeping 20% free: 22 GiB, generally available 30 GiB, total 36 GiB'}, {hdd_size_gb => 1, total_storage => 1, avail_storage => 0.1, expect => 'pass', extra_vars => {STORAGE_KEEP_FREE_RATIO => 0}, desc => 'succeed if requested HDDSIZEGB exceeds available space but ratio is 0'}, {total_storage => 100, avail_storage => 100, expect => 'pass', @@ -223,7 +227,8 @@ lives_ok { bmwqemu::init(); bmwqemu::ensure_valid_vars(); } $case->{desc}; } else { - throws_ok { bmwqemu::init(); bmwqemu::ensure_valid_vars(); } qr/Not enough storage for requested HDDSIZEGB/, $case->{desc}; + my $stats = $case->{expected_stats} // ''; + throws_ok { bmwqemu::init(); bmwqemu::ensure_valid_vars(); } qr/Not enough storage for requested HDDSIZEGB.*$stats/, $case->{desc}; is decode_json(path(bmwqemu::STATE_FILE)->slurp)->{result}, 'incomplete', "serialized result is incomplete for: $case->{desc}"; } } ++++++ os-autoinst.obsinfo ++++++ --- /var/tmp/diff_new_pack.cFli8O/_old 2026-05-09 13:00:28.498714942 +0200 +++ /var/tmp/diff_new_pack.cFli8O/_new 2026-05-09 13:00:28.506715271 +0200 @@ -1,5 +1,5 @@ name: os-autoinst -version: 5.1778097909.35320dd -mtime: 1778097909 -commit: 35320ddf501173339ddaeba918223283d661d57e +version: 5.1778246511.7a6bac3 +mtime: 1778246511 +commit: 7a6bac3eb8024fccd38b53dd3d0b62e80822ac7b
