Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openQA for openSUSE:Factory checked 
in at 2026-07-03 16:11:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openQA (Old)
 and      /work/SRC/openSUSE:Factory/.openQA.new.1982 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openQA"

Fri Jul  3 16:11:26 2026 rev:862 rq:1363682 version:5.1783076943.6691832d

Changes:
--------
--- /work/SRC/openSUSE:Factory/openQA/openQA.changes    2026-07-02 
20:13:23.353567159 +0200
+++ /work/SRC/openSUSE:Factory/.openQA.new.1982/openQA.changes  2026-07-03 
16:12:04.724185245 +0200
@@ -1,0 +2,6 @@
+Fri Jul 03 11:09:14 UTC 2026 - [email protected]
+
+- Update to version 5.1783076943.6691832d:
+  * test: Stabilize `t/05-scheduler-full.t`
+
+-------------------------------------------------------------------

Old:
----
  openQA-5.1782995932.ffeb09be.obscpio

New:
----
  openQA-5.1783076943.6691832d.obscpio

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

Other differences:
------------------
++++++ openQA-client-test.spec ++++++
--- /var/tmp/diff_new_pack.HyFfO0/_old  2026-07-03 16:12:06.084232413 +0200
+++ /var/tmp/diff_new_pack.HyFfO0/_new  2026-07-03 16:12:06.088232552 +0200
@@ -18,7 +18,7 @@
 
 %define         short_name openQA-client
 Name:           %{short_name}-test
-Version:        5.1782995932.ffeb09be
+Version:        5.1783076943.6691832d
 Release:        0
 Summary:        Test package for %{short_name}
 License:        GPL-2.0-or-later

++++++ openQA-devel-test.spec ++++++
--- /var/tmp/diff_new_pack.HyFfO0/_old  2026-07-03 16:12:06.132234078 +0200
+++ /var/tmp/diff_new_pack.HyFfO0/_new  2026-07-03 16:12:06.136234217 +0200
@@ -18,7 +18,7 @@
 
 %define         short_name openQA-devel
 Name:           %{short_name}-test
-Version:        5.1782995932.ffeb09be
+Version:        5.1783076943.6691832d
 Release:        0
 Summary:        Test package for %{short_name}
 License:        GPL-2.0-or-later

++++++ openQA-test.spec ++++++
--- /var/tmp/diff_new_pack.HyFfO0/_old  2026-07-03 16:12:06.180235743 +0200
+++ /var/tmp/diff_new_pack.HyFfO0/_new  2026-07-03 16:12:06.184235881 +0200
@@ -18,7 +18,7 @@
 
 %define         short_name openQA
 Name:           %{short_name}-test
-Version:        5.1782995932.ffeb09be
+Version:        5.1783076943.6691832d
 Release:        0
 Summary:        Test package for openQA
 License:        GPL-2.0-or-later

++++++ openQA-worker-test.spec ++++++
--- /var/tmp/diff_new_pack.HyFfO0/_old  2026-07-03 16:12:06.224237269 +0200
+++ /var/tmp/diff_new_pack.HyFfO0/_new  2026-07-03 16:12:06.224237269 +0200
@@ -18,7 +18,7 @@
 
 %define         short_name openQA-worker
 Name:           %{short_name}-test
-Version:        5.1782995932.ffeb09be
+Version:        5.1783076943.6691832d
 Release:        0
 Summary:        Test package for %{short_name}
 License:        GPL-2.0-or-later

++++++ openQA.spec ++++++
--- /var/tmp/diff_new_pack.HyFfO0/_old  2026-07-03 16:12:06.272238934 +0200
+++ /var/tmp/diff_new_pack.HyFfO0/_new  2026-07-03 16:12:06.276239072 +0200
@@ -104,7 +104,7 @@
 %define devel_requires %devel_no_selenium_requires chromedriver
 
 Name:           openQA
-Version:        5.1782995932.ffeb09be
+Version:        5.1783076943.6691832d
 Release:        0
 Summary:        Framework for automated system-level testing (web-frontend, 
scheduler and tools)
 Group:          Development/Tools/Other

++++++ openQA-5.1782995932.ffeb09be.obscpio -> 
openQA-5.1783076943.6691832d.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openQA-5.1782995932.ffeb09be/t/05-scheduler-full.t 
new/openQA-5.1783076943.6691832d/t/05-scheduler-full.t
--- old/openQA-5.1782995932.ffeb09be/t/05-scheduler-full.t      2026-07-02 
14:38:52.000000000 +0200
+++ new/openQA-5.1783076943.6691832d/t/05-scheduler-full.t      2026-07-03 
13:09:03.000000000 +0200
@@ -90,6 +90,7 @@
       for $schema->resultset('Workers')->all();
 }
 
+# waits until a worker with the given ID has registered; this does not mean 
its ws connection is ready so we might still need to retry job allocation
 sub wait_for_worker {
     my ($schema, $id, %opts) = @_;
     my $expected_error = $opts{error};
@@ -121,7 +122,7 @@
     wait_for_worker($schema, 4);
 
     note 'assigning one job to each worker';
-    $allocated = $job_model->schedule;
+    wait_for_or_bail_out { push @$allocated, @{$job_model->schedule}; 
@$allocated >= 2 } 'two jobs allocated';
     my $job_id1 = $allocated->[0]->{job};
     my $job_id2 = $allocated->[1]->{job};
     my $wr_id1 = $allocated->[0]->{worker};
@@ -167,16 +168,11 @@
 
     # simulate a worker in idle state that rejects all jobs assigned to it
     @workers = rejective_worker(@$worker_settings, 3, 'rejection reason');
+    $allocated = [];
     wait_for_worker($schema, 5);
 
     note 'waiting for job to be assigned and set back to re-scheduled';
-    # the loop is needed as the scheduler sometimes needs a second
-    # cycle before the worker is seen as unusable
-    for (1 .. 2) {
-        $allocated = $job_model->schedule;
-        last if $allocated && @$allocated >= 1;
-        note "scheduler could not yet assign to rejective worker, try: $_";    
# uncoverable statement
-    }
+    wait_for_or_bail_out { push @$allocated, @{$job_model->schedule}; 
@$allocated >= 1 } 'at least one job allocated';
     is @$allocated, 1, 'one job allocated'
       and is @{$allocated}[0]->{job}, $duplicated_id, 'right job allocated'
       and is @{$allocated}[0]->{worker}, 5, 'job allocated to expected worker';
@@ -201,12 +197,9 @@
     # start an unstable worker; it will register itself but ignore any job 
assignment (also not explicitly reject
     # assignments)
     @workers = unstable_worker(@$worker_settings, 3, -1);
+    $allocated = [];
     wait_for_worker($schema, 5);
-    for (1 .. 2) {
-        $allocated = $job_model->schedule;
-        last if $allocated && @$allocated >= 1;
-        note "scheduler could not yet assign to broken worker, try: $_";    # 
uncoverable statement
-    }
+    wait_for_or_bail_out { push @$allocated, @{$job_model->schedule}; 
@$allocated >= 1 } 'at least one job allocated';
     is @$allocated, 1, 'one job allocated'
       and is @{$allocated}[0]->{job}, $duplicated_id, 'right job allocated'
       and is @{$allocated}[0]->{worker}, 5, 'job allocated to expected worker';
@@ -239,7 +232,8 @@
     my $i = 2;
     wait_for_worker($schema, ++$i) for 1 .. $nr;
 
-    my $allocated = $job_model->schedule;    # Will try to allocate to 
previous worker and fail!
+    my $allocated = [];    # Will try to allocate to previous worker and fail!
+    wait_for_or_bail_out { push @$allocated, @{$job_model->schedule}; 
@$allocated >= 10 } 'at least ten jobs allocated';
     is @$allocated, 10, 'Allocated maximum number of jobs that could have been 
allocated' or die;
     my %jobs;
     my %w;

++++++ openQA.obsinfo ++++++
--- /var/tmp/diff_new_pack.HyFfO0/_old  2026-07-03 16:12:24.064856011 +0200
+++ /var/tmp/diff_new_pack.HyFfO0/_new  2026-07-03 16:12:24.068856150 +0200
@@ -1,5 +1,5 @@
 name: openQA
-version: 5.1782995932.ffeb09be
-mtime: 1782995932
-commit: ffeb09befc7935be9e2061df02043dee70f76d45
+version: 5.1783076943.6691832d
+mtime: 1783076943
+commit: 6691832dfb47aa144e9ddfe4e2ebd8183fb3753b
 

Reply via email to