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-11-26 15:54:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/os-autoinst (Old)
 and      /work/SRC/openSUSE:Factory/.os-autoinst.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "os-autoinst"

Thu Nov 26 15:54:30 2026 rev:641 rq:1400684 version:5.1795647520.2cff646

Changes:
--------
--- /work/SRC/openSUSE:Factory/os-autoinst/os-autoinst.changes  2026-11-25 
16:12:53.274211441 +0100
+++ /work/SRC/openSUSE:Factory/.os-autoinst.new.1340718/os-autoinst.changes     
2026-11-26 15:55:28.164997296 +0100
@@ -1,0 +2,8 @@
+Wed Nov 25 22:58:53 UTC 2026 - [email protected]
+
+- Update to version 5.1795647520.2cff646:
+  * fix: Honor SUT_SSH_PORT in sshSerial console
+  * docs: List the consoles honoring SUT_SSH_PORT
+  * docs: Use SUT_SSH_PORT in jump host example
+
+-------------------------------------------------------------------

Old:
----
  os-autoinst-5.1795538728.d4232cc.obscpio

New:
----
  os-autoinst-5.1795647520.2cff646.obscpio

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

Other differences:
------------------
++++++ os-autoinst-devel-test.spec ++++++
--- /var/tmp/diff_new_pack.gdQdV8/_old  2026-11-26 15:55:31.981158788 +0100
+++ /var/tmp/diff_new_pack.gdQdV8/_new  2026-11-26 15:55:31.985158957 +0100
@@ -18,7 +18,7 @@
 
 %define         short_name os-autoinst-devel
 Name:           %{short_name}-test
-Version:        5.1795538728.d4232cc
+Version:        5.1795647520.2cff646
 Release:        0
 Summary:        Test package for %{short_name}
 License:        GPL-2.0-or-later

++++++ os-autoinst-openvswitch-test.spec ++++++
--- /var/tmp/diff_new_pack.gdQdV8/_old  2026-11-26 15:55:32.088163316 +0100
+++ /var/tmp/diff_new_pack.gdQdV8/_new  2026-11-26 15:55:32.091163443 +0100
@@ -19,7 +19,7 @@
 %define name_ext -test
 %define         short_name os-autoinst-openvswitch
 Name:           %{short_name}%{?name_ext}
-Version:        5.1795538728.d4232cc
+Version:        5.1795647520.2cff646
 Release:        0
 Summary:        test package for %{short_name}
 License:        GPL-2.0-or-later

++++++ os-autoinst-test.spec ++++++
--- /var/tmp/diff_new_pack.gdQdV8/_old  2026-11-26 15:55:32.205168268 +0100
+++ /var/tmp/diff_new_pack.gdQdV8/_new  2026-11-26 15:55:32.209168437 +0100
@@ -19,7 +19,7 @@
 %define name_ext -test
 %define         short_name os-autoinst
 Name:           %{short_name}%{?name_ext}
-Version:        5.1795538728.d4232cc
+Version:        5.1795647520.2cff646
 Release:        0
 Summary:        test package for os-autoinst
 License:        GPL-2.0-or-later

++++++ os-autoinst.spec ++++++
--- /var/tmp/diff_new_pack.gdQdV8/_old  2026-11-26 15:55:32.345174192 +0100
+++ /var/tmp/diff_new_pack.gdQdV8/_new  2026-11-26 15:55:32.350174404 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           os-autoinst
-Version:        5.1795538728.d4232cc
+Version:        5.1795647520.2cff646
 Release:        0
 Summary:        OS-level test automation
 License:        GPL-2.0-or-later

++++++ os-autoinst-5.1795538728.d4232cc.obscpio -> 
os-autoinst-5.1795647520.2cff646.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/os-autoinst-5.1795538728.d4232cc/README.md 
new/os-autoinst-5.1795647520.2cff646/README.md
--- old/os-autoinst-5.1795538728.d4232cc/README.md      2026-11-24 
17:45:28.000000000 +0100
+++ new/os-autoinst-5.1795647520.2cff646/README.md      2026-11-25 
23:58:40.000000000 +0100
@@ -442,7 +442,7 @@
 To run `isotovideo` locally against a SUT that is only reachable through a jump
 host (e.g. `o3`), forward the required ports to localhost and point the
 variables to the tunnel endpoints. Regular users cannot bind privileged ports
-such as 22, hence the SSH console port is configurable via `SUT_PORT`.
+such as 22, hence the SSH console port is configurable via `SUT_SSH_PORT`.
 
 - IPMI (UDP 623): run a local UDP listener that relays datagrams over SSH and
   point `ipmitool` to it:
@@ -450,15 +450,22 @@
   socat UDP4-LISTEN:6230,fork,reuseaddr EXEC:"ssh -q jump_host socat STDIO 
UDP4:sut_ipmi_ip:623"
   IPMI_HOSTNAME=127.0.0.1 IPMI_OPTIONS="-I lanplus -p 6230"
   ```
-- Serial console / SSH (TCP 22): forward a high local port to the SUT and use
-  it via `SUT_IP` and `SUT_PORT`:
+  The IPMI serial console (`ipmiSol`) calls `ipmiconsole` with only
+  `IPMI_HOSTNAME` and does not honor `IPMI_OPTIONS`, so it still needs direct
+  IPMI reachability.
+- Serial console / SSH (TCP 22): forward a high local port to the SUT and point
+  the console target and port at the tunnel:
   ```sh
   ssh -N -L 10022:sut_ip:22 jump_host
-  SUT_IP=127.0.0.1 SUT_PORT=10022
+  SUT_IP=127.0.0.1 SUT_SSH_PORT=10022
   ```
+  The distribution passes `SUT_IP` as the console `hostname`, so it has to name
+  the tunnel endpoint. On s390x the target comes from the parml `Hostname`
+  instead, so `sshX3270` only takes the port from here.
 
-`SUT_PORT` applies to the `sshXtermVt`, `sshIucvconn` and `localXvnc` consoles
-and defaults to 22.
+`SUT_SSH_PORT` applies to the SUT SSH consoles (`sshSerial`, `sshXtermVt`,
+`sshIucvconn`, `sshX3270`) and defaults to 22. Hypervisor SSH (`sshVirtsh`) is
+unaffected.
 
 # Running isotovideo as CI check
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/os-autoinst-5.1795538728.d4232cc/consoles/sshSerial.pm 
new/os-autoinst-5.1795647520.2cff646/consoles/sshSerial.pm
--- old/os-autoinst-5.1795538728.d4232cc/consoles/sshSerial.pm  2026-11-24 
17:45:28.000000000 +0100
+++ new/os-autoinst-5.1795647520.2cff646/consoles/sshSerial.pm  2026-11-25 
23:58:40.000000000 +0100
@@ -6,7 +6,7 @@
 
 package consoles::sshSerial;
 
-use Mojo::Base 'consoles::console', -signatures;
+use Mojo::Base 'consoles::network_console', -signatures;
 use consoles::ssh_screen;
 
 sub new ($class, $testapi_console, $args) {
@@ -29,7 +29,7 @@
     my $username = $self->{args}->{username} // 'root';
     my $use_ssh_agent = $self->{args}->{use_ssh_agent} // 0;
     my $pty_cols = $self->{args}->{pty_cols} // 2048;
-    my $port = $self->{args}->{port} // 22;
+    my $port = $self->ssh_port($self->{args});
 
     bmwqemu::diag("Connecting SSH serial console for $username\@$hostname port 
$port");
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/os-autoinst-5.1795538728.d4232cc/doc/backend_vars.md 
new/os-autoinst-5.1795647520.2cff646/doc/backend_vars.md
--- old/os-autoinst-5.1795538728.d4232cc/doc/backend_vars.md    2026-11-24 
17:45:28.000000000 +0100
+++ new/os-autoinst-5.1795647520.2cff646/doc/backend_vars.md    2026-11-25 
23:58:40.000000000 +0100
@@ -29,7 +29,7 @@
 | SSH_COMMAND_TIMEOUT_S | integer | 300 | Timeout in seconds for any SSH based 
command in SSH based consoles, disabled for a value of 0. It can be overriden 
by particular run_ssh_cmd() calls. Check out the documentation of this function 
for details. |
 | SSH_CONNECT_RETRY | integer | 5 | Maximum retries to connect to SSH based 
console targets |
 | SSH_CONNECT_RETRY_INTERVAL | float | 10 | Interval in seconds between 
retries to connect to SSH based console targets. Related to SSH_CONNECT_RETRY |
-| SUT_SSH_PORT | integer | 22 | SSH port used by the SUT SSH consoles 
(`sshXtermVt`, `sshIucvconn`). Set to a forwarded high port (e.g. 10022) when 
reaching the SUT through a local SSH tunnel. Does not affect hypervisor SSH 
(e.g. `sshVirtsh`). |
+| SUT_SSH_PORT | integer | 22 | SSH port used by the SUT SSH consoles 
(`sshSerial`, `sshXtermVt`, `sshIucvconn`, `sshX3270`). Set to a forwarded high 
port (e.g. 10022) when reaching the SUT through a local SSH tunnel as described 
in the jump host section of the README. Does not affect hypervisor SSH (e.g. 
`sshVirtsh`). |
 | VNC_STALL_THRESHOLD | integer | 4 | Time after which is VNC considered 
stalled |
 | VNC_TYPING_LIMIT | integer | 30 | Maximum number of keys per second |
 | VNC_CONNECT_TIMEOUT_LOCAL | integer | 10 | Timeout for local VNC connections 
in seconds |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/os-autoinst-5.1795538728.d4232cc/t/31-sshSerial.t 
new/os-autoinst-5.1795647520.2cff646/t/31-sshSerial.t
--- old/os-autoinst-5.1795538728.d4232cc/t/31-sshSerial.t       2026-11-24 
17:45:28.000000000 +0100
+++ new/os-autoinst-5.1795647520.2cff646/t/31-sshSerial.t       2026-11-25 
23:58:40.000000000 +0100
@@ -202,6 +202,24 @@
     is $mock_channel->{write_buffer}, 'A slightly longer test string.', 
'larger write buffer written in loop';
 };
 
+subtest 'activate passes SSH port resolved from console args and SUT_SSH_PORT' 
=> sub {
+    my $port;
+    $mock_backend->mock(new_ssh_connection => sub ($self, %args) { $port = 
$args{port}; $mock_ssh });
+    my @cases = (
+        {desc => 'port defaults to 22', vars => undef, args => {}, port => 22},
+        {desc => 'SUT_SSH_PORT used when no args port', vars => 10022, args => 
{}, port => 10022},
+        {desc => 'args port wins over SUT_SSH_PORT', vars => 10022, args => 
{port => 2222}, port => 2222},
+    );
+    for my $case (@cases) {
+        local $bmwqemu::vars{SUT_SSH_PORT} = $case->{vars};
+        $port = undef;
+        my $console = consoles::sshSerial->new(undef, {hostname => 
'localhost', %{$case->{args}}});
+        $console->backend($mock_backend);
+        $console->activate;
+        is $port, $case->{port}, $case->{desc};
+    }
+};
+
 done_testing;
 
 END {

++++++ os-autoinst.obsinfo ++++++
--- /var/tmp/diff_new_pack.gdQdV8/_old  2026-11-26 15:55:36.320342413 +0100
+++ /var/tmp/diff_new_pack.gdQdV8/_new  2026-11-26 15:55:36.326342667 +0100
@@ -1,5 +1,5 @@
 name: os-autoinst
-version: 5.1795538728.d4232cc
-mtime: 1795538728
-commit: d4232ccbdbf1acdda2578afc80d1effb074ca1a7
+version: 5.1795647520.2cff646
+mtime: 1795647520
+commit: 2cff64600737295259811742b009f046a5bc4c82
 

Reply via email to