Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package os-autoinst for openSUSE:Leap:16.0 
checked in at 2025-07-18 10:14:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:16.0/os-autoinst (Old)
 and      /work/SRC/openSUSE:Leap:16.0/.os-autoinst.new.8875 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "os-autoinst"

Fri Jul 18 10:14:53 2025 rev:11 rq:1293997 version:5.1752671185.6fc0c66

Changes:
--------
--- /work/SRC/openSUSE:Leap:16.0/os-autoinst/os-autoinst.changes        
2025-07-15 17:56:28.201935957 +0200
+++ /work/SRC/openSUSE:Leap:16.0/.os-autoinst.new.8875/os-autoinst.changes      
2025-07-18 10:14:56.009975850 +0200
@@ -1,0 +2,10 @@
+Thu Jul 17 05:16:00 UTC 2025 - ok...@suse.com
+
+- Update to version 5.1752671185.6fc0c66:
+  * Avoid running `$basetest->parse_serial_output_qemu` without checks
+  * t: use mock not redefine for lua_set
+  * t: make autotest tests pass if lua and/or python are missing
+  * setup-multi-machine: extend network service detection
+  * CI: Enable Leap 16.0 OBS build checks
+
+-------------------------------------------------------------------

Old:
----
  os-autoinst-5.1752576096.2a4e8ff.obscpio

New:
----
  os-autoinst-5.1752671185.6fc0c66.obscpio

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

Other differences:
------------------
++++++ os-autoinst-devel-test.spec ++++++
--- /var/tmp/diff_new_pack.ec88mu/_old  2025-07-18 10:14:56.425993180 +0200
+++ /var/tmp/diff_new_pack.ec88mu/_new  2025-07-18 10:14:56.425993180 +0200
@@ -18,7 +18,7 @@
 
 %define         short_name os-autoinst-devel
 Name:           %{short_name}-test
-Version:        5.1752576096.2a4e8ff
+Version:        5.1752671185.6fc0c66
 Release:        0
 Summary:        Test package for %{short_name}
 License:        GPL-2.0-or-later

++++++ os-autoinst-openvswitch-test.spec ++++++
--- /var/tmp/diff_new_pack.ec88mu/_old  2025-07-18 10:14:56.453994346 +0200
+++ /var/tmp/diff_new_pack.ec88mu/_new  2025-07-18 10:14:56.453994346 +0200
@@ -19,7 +19,7 @@
 %define name_ext -test
 %define         short_name os-autoinst-openvswitch
 Name:           %{short_name}%{?name_ext}
-Version:        5.1752576096.2a4e8ff
+Version:        5.1752671185.6fc0c66
 Release:        0
 Summary:        test package for %{short_name}
 License:        GPL-2.0-or-later

++++++ os-autoinst-test.spec ++++++
--- /var/tmp/diff_new_pack.ec88mu/_old  2025-07-18 10:14:56.477995346 +0200
+++ /var/tmp/diff_new_pack.ec88mu/_new  2025-07-18 10:14:56.481995512 +0200
@@ -19,7 +19,7 @@
 %define name_ext -test
 %define         short_name os-autoinst
 Name:           %{short_name}%{?name_ext}
-Version:        5.1752576096.2a4e8ff
+Version:        5.1752671185.6fc0c66
 Release:        0
 Summary:        test package for os-autoinst
 License:        GPL-2.0-or-later

++++++ os-autoinst.spec ++++++
--- /var/tmp/diff_new_pack.ec88mu/_old  2025-07-18 10:14:56.513996846 +0200
+++ /var/tmp/diff_new_pack.ec88mu/_new  2025-07-18 10:14:56.513996846 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           os-autoinst
-Version:        5.1752576096.2a4e8ff
+Version:        5.1752671185.6fc0c66
 Release:        0
 Summary:        OS-level test automation
 License:        GPL-2.0-or-later

++++++ os-autoinst-5.1752576096.2a4e8ff.obscpio -> 
os-autoinst-5.1752671185.6fc0c66.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/os-autoinst-5.1752576096.2a4e8ff/t/08-autotest.t 
new/os-autoinst-5.1752671185.6fc0c66/t/08-autotest.t
--- old/os-autoinst-5.1752576096.2a4e8ff/t/08-autotest.t        2025-07-15 
12:41:36.000000000 +0200
+++ new/os-autoinst-5.1752671185.6fc0c66/t/08-autotest.t        2025-07-16 
15:06:25.000000000 +0200
@@ -450,11 +450,23 @@
 
 subtest loadtestdir => sub {
     $bmwqemu::vars{CASEDIR} = 't/data/tests';
-    my $w = warning { stderr_like {
-            autotest::loadtestdir('tests');
-    } qr/debug.*scheduling/, 'loadtestdir is scheduling successfully'; };
-    like $w, qr{'testfunc37' is not exported by 'testlib'}, 'Warn about 
requesting not-exported method' if $has_lua;
+    stderr_like {
+        autotest::loadtestdir('tests');
+    } qr/debug.*scheduling/, 'loadtestdir is scheduling successfully (perl)';
     ok exists $autotest::tests{'tests-boot'}, 'boot.pm loaded';
+    if ($has_lua) {
+        my $w = warning { stderr_like {
+                autotest::loadtestdir('luatests');
+        } qr/debug.*scheduling/, 'loadtestdir is scheduling successfully 
(lua)'; };
+        like $w, qr{'testfunc37' is not exported by 'testlib'}, 'Warn about 
requesting not-exported method';
+        ok exists $autotest::tests{'luatests-unittest_lua'}, 'unittest_lua.lua 
loaded';
+    }
+    if ($has_python) {
+        stderr_like {
+            autotest::loadtestdir('pythontests');
+        } qr/debug.*scheduling/, 'loadtestdir is scheduling successfully 
(python)';
+        ok exists $autotest::tests{'pythontests-pre_boot'}, 'pre_boot.py 
loaded';
+    }
 };
 
 subtest croak => sub {
@@ -491,7 +503,7 @@
 
 subtest 'lua_use' => sub {
     my $lua_vars = {};
-    $mock_autotest->redefine('lua_set' => sub ($k, $v) { $lua_vars->{$k} = $v; 
});
+    $mock_autotest->mock('lua_set' => sub ($k, $v) { $lua_vars->{$k} = $v; });
     autotest::_lua_use('testapi');
     is $lua_vars->{realname}, 'Bernhard M. Wiedemann', 'Check importing 
strings';
     is ref($lua_vars->{assert_script_run}), 'CODE', 'Check importing 
functions';
@@ -508,7 +520,7 @@
 subtest 'lua_runtest' => sub {
     plan skip_all => 'Inline::Lua is not available' unless $has_lua;
 
-    my $luatest = $autotest::tests{'tests-unittest_lua'};
+    my $luatest = $autotest::tests{'luatests-unittest_lua'};
     my $out = combined_from { $luatest->runtest() };
     like $out, qr{testfunc1\ntestfunc2\ntestfunc3}, 'function calls work';
     like $out, qr{testarray:\t1,2,3}, 'arrays work';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/os-autoinst-5.1752576096.2a4e8ff/t/data/tests/luatests/pre_boot_lua.lua 
new/os-autoinst-5.1752671185.6fc0c66/t/data/tests/luatests/pre_boot_lua.lua
--- old/os-autoinst-5.1752576096.2a4e8ff/t/data/tests/luatests/pre_boot_lua.lua 
1970-01-01 01:00:00.000000000 +0100
+++ new/os-autoinst-5.1752671185.6fc0c66/t/data/tests/luatests/pre_boot_lua.lua 
2025-07-16 15:06:25.000000000 +0200
@@ -0,0 +1,23 @@
+use("testapi")
+use("testlib")
+use("testlib", {"testfunc2"})
+require 'luatestlib' -- load luatestlib.lua from ../lib/ dir
+
+function run(self)
+    assert(testfunc1() == 42)
+    assert(testfunc2() == 43)
+    assert(luatestlib.testfunc3() == 44)
+    -- just assume the first screen has a timeout so we should make sure not 
to miss it
+    assert(not check_screen('nothing to match here', 0, 'no_wait', 1))
+    send_key("esc")
+
+    -- More sophisticated example call
+    --assert_screen('on_prompt', 'timeout', 
get_var('TESTING_ASSERT_SCREEN_TIMEOUT') and 600 or 90)
+end
+
+--function test_flags(self)
+--    return {fatal = 1}
+--end
+
+--function post_fail_hook(self)
+--end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/os-autoinst-5.1752576096.2a4e8ff/t/data/tests/luatests/unittest_lua.lua 
new/os-autoinst-5.1752671185.6fc0c66/t/data/tests/luatests/unittest_lua.lua
--- old/os-autoinst-5.1752576096.2a4e8ff/t/data/tests/luatests/unittest_lua.lua 
1970-01-01 01:00:00.000000000 +0100
+++ new/os-autoinst-5.1752671185.6fc0c66/t/data/tests/luatests/unittest_lua.lua 
2025-07-16 15:06:25.000000000 +0200
@@ -0,0 +1,17 @@
+-- test module to be used loaded by unit tests in 08-autotest.t
+
+use("testapi")
+use("testlib")
+use("testlib", {"testfunc2","@testarray","%testhash"})
+use("testlib", {"testfunc37"}) -- this should raise a warning as it isn't 
exported
+require 'luatestlib' -- load luatestlib.lua from ../lib/ dir
+
+function run(self)
+    assert(testfunc1() == 42)
+    assert(testfunc2() == 43)
+    assert(luatestlib.testfunc3() == 44)
+    print("testarray:", table.concat(testarray,","))
+    for k,v in pairs(testhash) do
+        print(k.." = "..v)
+    end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/os-autoinst-5.1752576096.2a4e8ff/t/data/tests/main.pm 
new/os-autoinst-5.1752671185.6fc0c66/t/data/tests/main.pm
--- old/os-autoinst-5.1752576096.2a4e8ff/t/data/tests/main.pm   2025-07-15 
12:41:36.000000000 +0200
+++ new/os-autoinst-5.1752671185.6fc0c66/t/data/tests/main.pm   2025-07-16 
15:06:25.000000000 +0200
@@ -31,11 +31,11 @@
 # Add import path for local test python modules from pool directory
 if (!$integration_tests && eval { require Inline::Python }) {
     Inline::Python::py_eval("import os.path, sys; sys.path.insert(0, 
os.path.abspath(os.path.join(os.path.curdir, '../..')))");
-    autotest::loadtest "tests/pre_boot.py";
+    autotest::loadtest "pythontests/pre_boot.py";
 }
 
 if (!$integration_tests && eval { require Inline::Lua }) {
-    autotest::loadtest "tests/pre_boot_lua.lua";
+    autotest::loadtest "luatests/pre_boot_lua.lua";
 }
 
 autotest::loadtest "tests/boot.pm";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/os-autoinst-5.1752576096.2a4e8ff/t/data/tests/pythontests/pre_boot.py 
new/os-autoinst-5.1752671185.6fc0c66/t/data/tests/pythontests/pre_boot.py
--- old/os-autoinst-5.1752576096.2a4e8ff/t/data/tests/pythontests/pre_boot.py   
1970-01-01 01:00:00.000000000 +0100
+++ new/os-autoinst-5.1752671185.6fc0c66/t/data/tests/pythontests/pre_boot.py   
2025-07-16 15:06:25.000000000 +0200
@@ -0,0 +1,18 @@
+# Copyright 2019-2021 SUSE LLC
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+import sys
+
+print(sys.path)
+from testapi import *
+
+
+def run(self):
+    send_key("esc")
+    if not check_screen("should_not_match", 0):
+        return
+    raise Exception("Should not reach here")
+
+
+def test_flags(self):
+    return dict([("fatal", 1)])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/os-autoinst-5.1752576096.2a4e8ff/t/data/tests/tests/pre_boot.py 
new/os-autoinst-5.1752671185.6fc0c66/t/data/tests/tests/pre_boot.py
--- old/os-autoinst-5.1752576096.2a4e8ff/t/data/tests/tests/pre_boot.py 
2025-07-15 12:41:36.000000000 +0200
+++ new/os-autoinst-5.1752671185.6fc0c66/t/data/tests/tests/pre_boot.py 
1970-01-01 01:00:00.000000000 +0100
@@ -1,18 +0,0 @@
-# Copyright 2019-2021 SUSE LLC
-# SPDX-License-Identifier: GPL-2.0-or-later
-
-import sys
-
-print(sys.path)
-from testapi import *
-
-
-def run(self):
-    send_key("esc")
-    if not check_screen("should_not_match", 0):
-        return
-    raise Exception("Should not reach here")
-
-
-def test_flags(self):
-    return dict([("fatal", 1)])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/os-autoinst-5.1752576096.2a4e8ff/t/data/tests/tests/pre_boot_lua.lua 
new/os-autoinst-5.1752671185.6fc0c66/t/data/tests/tests/pre_boot_lua.lua
--- old/os-autoinst-5.1752576096.2a4e8ff/t/data/tests/tests/pre_boot_lua.lua    
2025-07-15 12:41:36.000000000 +0200
+++ new/os-autoinst-5.1752671185.6fc0c66/t/data/tests/tests/pre_boot_lua.lua    
1970-01-01 01:00:00.000000000 +0100
@@ -1,23 +0,0 @@
-use("testapi")
-use("testlib")
-use("testlib", {"testfunc2"})
-require 'luatestlib' -- load luatestlib.lua from ../lib/ dir
-
-function run(self)
-    assert(testfunc1() == 42)
-    assert(testfunc2() == 43)
-    assert(luatestlib.testfunc3() == 44)
-    -- just assume the first screen has a timeout so we should make sure not 
to miss it
-    assert(not check_screen('nothing to match here', 0, 'no_wait', 1))
-    send_key("esc")
-
-    -- More sophisticated example call
-    --assert_screen('on_prompt', 'timeout', 
get_var('TESTING_ASSERT_SCREEN_TIMEOUT') and 600 or 90)
-end
-
---function test_flags(self)
---    return {fatal = 1}
---end
-
---function post_fail_hook(self)
---end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/os-autoinst-5.1752576096.2a4e8ff/t/data/tests/tests/unittest_lua.lua 
new/os-autoinst-5.1752671185.6fc0c66/t/data/tests/tests/unittest_lua.lua
--- old/os-autoinst-5.1752576096.2a4e8ff/t/data/tests/tests/unittest_lua.lua    
2025-07-15 12:41:36.000000000 +0200
+++ new/os-autoinst-5.1752671185.6fc0c66/t/data/tests/tests/unittest_lua.lua    
1970-01-01 01:00:00.000000000 +0100
@@ -1,17 +0,0 @@
--- test module to be used loaded by unit tests in 08-autotest.t
-
-use("testapi")
-use("testlib")
-use("testlib", {"testfunc2","@testarray","%testhash"})
-use("testlib", {"testfunc37"}) -- this should raise a warning as it isn't 
exported
-require 'luatestlib' -- load luatestlib.lua from ../lib/ dir
-
-function run(self)
-    assert(testfunc1() == 42)
-    assert(testfunc2() == 43)
-    assert(luatestlib.testfunc3() == 44)
-    print("testarray:", table.concat(testarray,","))
-    for k,v in pairs(testhash) do
-        print(k.." = "..v)
-    end
-end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/os-autoinst-5.1752576096.2a4e8ff/tools/invoke-tests 
new/os-autoinst-5.1752671185.6fc0c66/tools/invoke-tests
--- old/os-autoinst-5.1752576096.2a4e8ff/tools/invoke-tests     2025-07-15 
12:41:36.000000000 +0200
+++ new/os-autoinst-5.1752671185.6fc0c66/tools/invoke-tests     2025-07-16 
15:06:25.000000000 +0200
@@ -65,7 +65,7 @@
 # set Perl module include path and coverage options
 export 
PERL5LIB="$source_directory:$source_directory/ppmclibs/blib/lib:$source_directory/ppmclibs/blib/arch/auto/tinycv:$PERL5LIB"
 if [[ $WITH_COVER_OPTIONS ]]; then
-    
ignore="external/|tools/|t/data/tests/tests/|t/data/wheels_dir|/tmp|$prove_path"
+    
ignore="external/|tools/|t/data/tests/tests/|t/data/tests/pythontests/|t/data/tests/luatests/|t/data/wheels_dir|/tmp|$prove_path"
     # add ' -MOpenQA::Test::PatchDeparse' for older OS versions to avoid 
warnings
     export PERL5OPT="$PERL5OPT 
-I$source_directory/external/os-autoinst-common/lib -MTest::CheckGitStatus 
-MDevel::Cover=-db,$db,-ignore,$ignore,-coverage,statement"
 fi

++++++ os-autoinst.obsinfo ++++++
--- /var/tmp/diff_new_pack.ec88mu/_old  2025-07-18 10:14:58.170065830 +0200
+++ /var/tmp/diff_new_pack.ec88mu/_new  2025-07-18 10:14:58.174065996 +0200
@@ -1,5 +1,5 @@
 name: os-autoinst
-version: 5.1752576096.2a4e8ff
-mtime: 1752576096
-commit: 2a4e8ffb0e4fc3fac524e08cbae9f7d1aaf02968
+version: 5.1752671185.6fc0c66
+mtime: 1752671185
+commit: 6fc0c66278aa12eb5db3581dfa30cc4aea066787
 

Reply via email to