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-10-09 21:46:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/os-autoinst (Old)
 and      /work/SRC/openSUSE:Factory/.os-autoinst.new.3698736 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "os-autoinst"

Fri Oct  9 21:46:03 2026 rev:628 rq:1383795 version:5.1791525166.fa267c1

Changes:
--------
--- /work/SRC/openSUSE:Factory/os-autoinst/os-autoinst.changes  2026-10-06 
19:16:40.999180864 +0200
+++ /work/SRC/openSUSE:Factory/.os-autoinst.new.3698736/os-autoinst.changes     
2026-10-09 21:47:29.218626602 +0200
@@ -1,0 +2,6 @@
+Fri Oct 09 05:53:04 UTC 2026 - [email protected]
+
+- Update to version 5.1791525166.fa267c1:
+  * feat: Incomplete job on fatal SSH serial disconnect
+
+-------------------------------------------------------------------

Old:
----
  os-autoinst-5.1790961809.b728c27.obscpio

New:
----
  os-autoinst-5.1791525166.fa267c1.obscpio

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ os-autoinst-devel-test.spec ++++++
--- /var/tmp/diff_new_pack.lOCkoO/_old  2026-10-09 21:47:30.845694839 +0200
+++ /var/tmp/diff_new_pack.lOCkoO/_new  2026-10-09 21:47:30.847694923 +0200
@@ -18,7 +18,7 @@
 
 %define         short_name os-autoinst-devel
 Name:           %{short_name}-test
-Version:        5.1790961809.b728c27
+Version:        5.1791525166.fa267c1
 Release:        0
 Summary:        Test package for %{short_name}
 License:        GPL-2.0-or-later

++++++ os-autoinst-openvswitch-test.spec ++++++
--- /var/tmp/diff_new_pack.lOCkoO/_old  2026-10-09 21:47:30.881696349 +0200
+++ /var/tmp/diff_new_pack.lOCkoO/_new  2026-10-09 21:47:30.883696433 +0200
@@ -19,7 +19,7 @@
 %define name_ext -test
 %define         short_name os-autoinst-openvswitch
 Name:           %{short_name}%{?name_ext}
-Version:        5.1790961809.b728c27
+Version:        5.1791525166.fa267c1
 Release:        0
 Summary:        test package for %{short_name}
 License:        GPL-2.0-or-later

++++++ os-autoinst-test.spec ++++++
--- /var/tmp/diff_new_pack.lOCkoO/_old  2026-10-09 21:47:30.913697691 +0200
+++ /var/tmp/diff_new_pack.lOCkoO/_new  2026-10-09 21:47:30.914697733 +0200
@@ -19,7 +19,7 @@
 %define name_ext -test
 %define         short_name os-autoinst
 Name:           %{short_name}%{?name_ext}
-Version:        5.1790961809.b728c27
+Version:        5.1791525166.fa267c1
 Release:        0
 Summary:        test package for os-autoinst
 License:        GPL-2.0-or-later

++++++ os-autoinst.spec ++++++
--- /var/tmp/diff_new_pack.lOCkoO/_old  2026-10-09 21:47:30.945699033 +0200
+++ /var/tmp/diff_new_pack.lOCkoO/_new  2026-10-09 21:47:30.948699159 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           os-autoinst
-Version:        5.1790961809.b728c27
+Version:        5.1791525166.fa267c1
 Release:        0
 Summary:        OS-level test automation
 License:        GPL-2.0-or-later

++++++ os-autoinst-5.1790961809.b728c27.obscpio -> 
os-autoinst-5.1791525166.fa267c1.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/os-autoinst-5.1790961809.b728c27/backend/baseclass.pm 
new/os-autoinst-5.1791525166.fa267c1/backend/baseclass.pm
--- old/os-autoinst-5.1790961809.b728c27/backend/baseclass.pm   2026-10-02 
19:23:29.000000000 +0200
+++ new/os-autoinst-5.1791525166.fa267c1/backend/baseclass.pm   2026-10-09 
07:52:46.000000000 +0200
@@ -1304,8 +1304,10 @@
     return 1 if $error_code == LIBSSH2_ERROR_EAGAIN;
 
     bmwqemu::fctwarn "ssh serial: unable to read: $error_string (error code: 
$error_code) - closing connection";
+    my $msg = "Lost SSH serial connection: $error_string (error code: 
$error_code)";
+    bmwqemu::serialize_state(component => 'backend', msg => $msg, result => 
'incomplete');
     $self->stop_ssh_serial();
-    return 1;
+    die "backend died: $msg\n";
 }
 
 =head2 run_ssh_cmd
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/os-autoinst-5.1790961809.b728c27/t/23-baseclass.t 
new/os-autoinst-5.1791525166.fa267c1/t/23-baseclass.t
--- old/os-autoinst-5.1790961809.b728c27/t/23-baseclass.t       2026-10-02 
19:23:29.000000000 +0200
+++ new/os-autoinst-5.1791525166.fa267c1/t/23-baseclass.t       2026-10-09 
07:52:46.000000000 +0200
@@ -338,10 +338,15 @@
         is $baseclass->check_ssh_serial(42), 0, 'Return 0 when called with 
wrong socket';
         is $baseclass->check_ssh_serial($ssh->sock, 1), 1, 'early return if 
$write is set';
 
+        my $base_state = path(bmwqemu::STATE_FILE);
+        $base_state->remove if -e $base_state;
         @net_ssh2_error = (666, 'UNKNOWN', 'OHA');
-        stdout_is { $exit_value = $baseclass->check_ssh_serial($ssh->sock()) } 
'', 'No output on ERROR only';
-        is $exit_value, 1, 'Check return value on EAGAIN';
-        is $baseclass->{serial}, undef, 'SSH serial get disconnected on 
unknown read ERROR';
+        throws_ok { $baseclass->check_ssh_serial($ssh->sock()) } qr/backend 
died: Lost SSH serial connection: OHA \(error code: 666\)/,
+          'dies with backend error when SSH serial read fails with fatal 
error';
+        is $baseclass->{serial}, undef, 'SSH serial is disconnected on fatal 
read error';
+        my $state = decode_json($base_state->slurp);
+        is $state->{result}, 'incomplete', 'state file records incomplete 
result on fatal serial error';
+        $base_state->remove;
 
         is $baseclass->check_ssh_serial(23), 0, 'Return 0 if SSH serial isn\'t 
connected';
     };

++++++ os-autoinst.obsinfo ++++++
--- /var/tmp/diff_new_pack.lOCkoO/_old  2026-10-09 21:47:32.793776538 +0200
+++ /var/tmp/diff_new_pack.lOCkoO/_new  2026-10-09 21:47:32.796776664 +0200
@@ -1,5 +1,5 @@
 name: os-autoinst
-version: 5.1790961809.b728c27
-mtime: 1790961809
-commit: b728c272762ca2f93a58dc61fb379d2e99d60bc9
+version: 5.1791525166.fa267c1
+mtime: 1791525166
+commit: fa267c159a95c274f98514d4810e0250d02cce22
 

Reply via email to