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-11-24 12:39:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openQA (Old) and /work/SRC/openSUSE:Factory/.openQA.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openQA" Tue Nov 24 12:39:43 2026 rev:911 rq:1400056 version:5.1795441465.39dc1745 Changes: -------- --- /work/SRC/openSUSE:Factory/openQA/openQA.changes 2026-11-21 21:48:22.158095381 +0100 +++ /work/SRC/openSUSE:Factory/.openQA.new.1340718/openQA.changes 2026-11-24 12:45:38.660294621 +0100 @@ -1,0 +2,21 @@ +Mon Nov 23 13:44:45 UTC 2026 - [email protected] + +- Update to version 5.1795441465.39dc1745: + * refactor: use storage wording in check_df error + * docs: document the cleanup dry-run switch + +------------------------------------------------------------------- +Sat Nov 21 05:07:58 UTC 2026 - [email protected] + +- Update to version 5.1795237662.a0b5f8fa: + * chore(deps): Dependency cron 2026-11-21 + +------------------------------------------------------------------- +Fri Nov 20 20:57:40 UTC 2026 - [email protected] + +- Update to version 5.1795208246.249c48c2: + * fix(overview): Avoid displaying wrong cookie info when creating comment + * test: Fix test for command output + * fix(run_cmd): Output only if there is any warning + +------------------------------------------------------------------- Old: ---- openQA-5.1795190948.0362803c.obscpio New: ---- openQA-5.1795441465.39dc1745.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openQA-client-test.spec ++++++ --- /var/tmp/diff_new_pack.EDg68h/_old 2026-11-24 12:45:40.835386804 +0100 +++ /var/tmp/diff_new_pack.EDg68h/_new 2026-11-24 12:45:40.838386931 +0100 @@ -18,7 +18,7 @@ %define short_name openQA-client Name: %{short_name}-test -Version: 5.1795190948.0362803c +Version: 5.1795441465.39dc1745 Release: 0 Summary: Test package for %{short_name} License: GPL-2.0-or-later ++++++ openQA-test.spec ++++++ --- /var/tmp/diff_new_pack.EDg68h/_old 2026-11-24 12:45:40.878388626 +0100 +++ /var/tmp/diff_new_pack.EDg68h/_new 2026-11-24 12:45:40.881388754 +0100 @@ -18,7 +18,7 @@ %define short_name openQA Name: %{short_name}-test -Version: 5.1795190948.0362803c +Version: 5.1795441465.39dc1745 Release: 0 Summary: Test package for openQA License: GPL-2.0-or-later ++++++ openQA-worker-test.spec ++++++ --- /var/tmp/diff_new_pack.EDg68h/_old 2026-11-24 12:45:40.922390491 +0100 +++ /var/tmp/diff_new_pack.EDg68h/_new 2026-11-24 12:45:40.924390576 +0100 @@ -18,7 +18,7 @@ %define short_name openQA-worker Name: %{short_name}-test -Version: 5.1795190948.0362803c +Version: 5.1795441465.39dc1745 Release: 0 Summary: Test package for %{short_name} License: GPL-2.0-or-later ++++++ openQA.spec ++++++ --- /var/tmp/diff_new_pack.EDg68h/_old 2026-11-24 12:45:40.973392653 +0100 +++ /var/tmp/diff_new_pack.EDg68h/_new 2026-11-24 12:45:40.977392822 +0100 @@ -104,7 +104,7 @@ %define devel_requires %devel_no_selenium_requires chromedriver Name: openQA -Version: 5.1795190948.0362803c +Version: 5.1795441465.39dc1745 Release: 0 Summary: Framework for automated system-level testing (web-frontend, scheduler and tools) Group: Development/Tools/Other ++++++ openQA-5.1795190948.0362803c.obscpio -> openQA-5.1795441465.39dc1745.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openQA-5.1795190948.0362803c/assets/javascripts/overview.js new/openQA-5.1795441465.39dc1745/assets/javascripts/overview.js --- old/openQA-5.1795190948.0362803c/assets/javascripts/overview.js 2026-11-20 17:09:08.000000000 +0100 +++ new/openQA-5.1795441465.39dc1745/assets/javascripts/overview.js 2026-11-23 14:44:25.000000000 +0100 @@ -271,8 +271,7 @@ parentChild[i].addEventListener('mouseout', unhighlightDeps); } - const cookies = new URLSearchParams(document.cookie); - const flash = cookies.get('flash'); + const flash = getCookie('flash'); if (flash) { addFlash(...flash.split(':', 2)); document.cookie = 'flash=; expires=Thu, 01 Jan 1970 00:00:00 UTC;'; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openQA-5.1795190948.0362803c/docs/UsersGuide.md new/openQA-5.1795441465.39dc1745/docs/UsersGuide.md --- old/openQA-5.1795190948.0362803c/docs/UsersGuide.md 2026-11-20 17:09:08.000000000 +0100 +++ new/openQA-5.1795441465.39dc1745/docs/UsersGuide.md 2026-11-23 14:44:25.000000000 +0100 @@ -1857,6 +1857,11 @@ | **Cleanup Lower Bound** | `[misc_limits]` | Deletes older logs and results (independently of time retentions) until the specified free percentage is restored. | `result_cleanup_min_free_percentage`<br>`archive_cleanup_min_free_percentage` | | **Cleanup Skip Threshold** | `[misc_limits]` | Skips or aborts the cleanup job early if there is already sufficient free headroom, saving system I/O resources. | `result_cleanup_max_free_percentage`<br>`asset_cleanup_max_free_percentage` | +In addition to these thresholds, `cleanup_min_free_dry_run` in `[misc_limits]` is a +switch: instead of cleaning up, it evaluates the space-aware cleanup and accounts +for the space the deletions would free while leaving the files on the file +systems in place. + The deletion during the space-aware cleanup lower bound happens in the following order: 1. Videos of unimportant jobs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openQA-5.1795190948.0362803c/lib/OpenQA/Utils.pm new/openQA-5.1795441465.39dc1745/lib/OpenQA/Utils.pm --- old/openQA-5.1795190948.0362803c/lib/OpenQA/Utils.pm 2026-11-20 17:09:08.000000000 +0100 +++ new/openQA-5.1795441465.39dc1745/lib/OpenQA/Utils.pm 2026-11-23 14:44:25.000000000 +0100 @@ -362,7 +362,7 @@ log_info $message; } else { - log_warning($stdout . $stderr); + log_warning($stdout . $stderr) if length($stdout . $stderr); log_error $message; } return { @@ -919,7 +919,7 @@ my $df = Filesys::Df::df($dir, 1) // {}; my $available_bytes = $df->{bavail}; my $total_bytes = $df->{blocks}; - die "Unable to determine disk usage of '$dir'" + die "Unable to determine storage usage of '$dir'" if !(looks_like_number($available_bytes) && looks_like_number($total_bytes) && $total_bytes > 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openQA-5.1795190948.0362803c/t/16-utils-runcmd.t new/openQA-5.1795441465.39dc1745/t/16-utils-runcmd.t --- old/openQA-5.1795190948.0362803c/t/16-utils-runcmd.t 2026-11-20 17:09:08.000000000 +0100 +++ new/openQA-5.1795441465.39dc1745/t/16-utils-runcmd.t 2026-11-23 14:44:25.000000000 +0100 @@ -44,13 +44,15 @@ subtest 'run (arbitrary) command' => sub { ok run_cmd_with_log([qw(echo Hallo Welt)]), 'run simple command'; - stdout_like { is run_cmd_with_log([qw(false)]), '' } qr/[WARN].*[ERROR]/i; + stdout_like { is run_cmd_with_log([qw(false)]), '' } qr/\[ERROR\]/i; + stdout_like { is run_cmd_with_log([qw(perl -E), q{warn "oops"; exit 1}]), '' } qr/\[WARN\].*\[ERROR\]/si; my $res = run_cmd_with_log_return_error([qw(echo Hallo Welt)]); is $res->{return_code}, 0, 'correct zero exit code returned ($? >> 8)'; ok $res->{status}, 'status ok'; is $res->{stdout}, "Hallo Welt\n", 'cmd output returned'; + stdout_unlike { $res = run_cmd_with_log_return_error([qw(false)]) } qr/\[warn\]/i; stdout_like { $res = run_cmd_with_log_return_error([qw(false)]) } qr/.*\[error\].*cmd returned [1-9][0-9]*/i; is $res->{return_code}, 1, 'correct non-zero exit code returned ($? >> 8)'; ok !$res->{status}, 'status not ok non-zero status returned'; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openQA-5.1795190948.0362803c/t/25-cache.t new/openQA-5.1795441465.39dc1745/t/25-cache.t --- old/openQA-5.1795190948.0362803c/t/25-cache.t 2026-11-20 17:09:08.000000000 +0100 +++ new/openQA-5.1795441465.39dc1745/t/25-cache.t 2026-11-23 14:44:25.000000000 +0100 @@ -471,7 +471,7 @@ $df_mock->redefine(df => {}); $cache_log = ''; is $cache->_exceeds_limit(21), 0, 'limit ignored when free disk space cannot be determined'; - like $cache_log, qr/.*Unable to determine disk usage of.*/, + like $cache_log, qr/.*Unable to determine storage usage of.*/, 'warning shown when free disk space cannot be determined'; $cache_log = ''; }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openQA-5.1795190948.0362803c/t/42-df-based-cleanup.t new/openQA-5.1795441465.39dc1745/t/42-df-based-cleanup.t --- old/openQA-5.1795190948.0362803c/t/42-df-based-cleanup.t 2026-11-20 17:09:08.000000000 +0100 +++ new/openQA-5.1795441465.39dc1745/t/42-df-based-cleanup.t 2026-11-23 14:44:25.000000000 +0100 @@ -155,7 +155,7 @@ subtest 'df returns bad data' => sub { %df_main_storage = (bavail => 10, blocks => 5); - my $expected_log = qr{Unable to determine disk usage of \'.*/data/openqa/testresults\'}; + my $expected_log = qr{Unable to determine storage usage of \'.*/data/openqa/testresults\'}; my $job = job_log_like $expected_log, 'error logged'; is $job->{state}, 'failed', 'job considered failed'; like $job->{result}, $expected_log, 'error if df returns bad results'; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openQA-5.1795190948.0362803c/t/ui/10-tests_overview.t new/openQA-5.1795441465.39dc1745/t/ui/10-tests_overview.t --- old/openQA-5.1795190948.0362803c/t/ui/10-tests_overview.t 2026-11-20 17:09:08.000000000 +0100 +++ new/openQA-5.1795441465.39dc1745/t/ui/10-tests_overview.t 2026-11-23 14:44:25.000000000 +0100 @@ -649,14 +649,17 @@ $driver->find_element_by_link_text('Login')->click; $driver->get('/tests/overview?state=done&result=failed'); + $driver->execute_script("document.cookie = 'berghain=test_session_data';"); $driver->find_element('button[title="Restart or comment jobs"]')->click; my $comment_text = 'comment via add-comments'; my $submit_button = $driver->find_element('#add-comments-controls button[id="commentJobsBtn"]'); $driver->find_element_by_id('text')->send_keys($comment_text); is $submit_button->get_text, 'Comment on all 2 jobs', 'submit button displayed with number of jobs'; $submit_button->click; - ok wait_for_element(selector => '#flash-messages .alert-info', like => qr/The comments have been created\./), - 'info about success shown'; + ok wait_for_element(selector => '#flash-messages .alert-info span', like => qr/^The comments have been created\.$/), + 'info about success shown without cookie data'; + like $driver->execute_script('return document.cookie'), qr/berghain=test_session_data/, 'other cookies not cleared'; + unlike $driver->execute_script('return document.cookie'), qr/\bflash=/, 'flash cookie cleared'; ok wait_for_element(selector => '.label_comment', is_displayed => 1), 'comment shown without manual reloading'; my @failed_job_ids = map { $_->id } $jobs->search({result => FAILED})->all; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openQA-5.1795190948.0362803c/tools/ci/autoinst.sha new/openQA-5.1795441465.39dc1745/tools/ci/autoinst.sha --- old/openQA-5.1795190948.0362803c/tools/ci/autoinst.sha 2026-11-20 17:09:08.000000000 +0100 +++ new/openQA-5.1795441465.39dc1745/tools/ci/autoinst.sha 2026-11-23 14:44:25.000000000 +0100 @@ -1 +1 @@ -5.044000-d6803d976ec3e254b432e0e446d814170e31ea7f \ No newline at end of file +5.044000-c9da151cd0f3061f093ca45a28fb03fcd0872319 \ No newline at end of file ++++++ openQA.obsinfo ++++++ --- /var/tmp/diff_new_pack.EDg68h/_old 2026-11-24 12:45:58.985156012 +0100 +++ /var/tmp/diff_new_pack.EDg68h/_new 2026-11-24 12:45:58.991156267 +0100 @@ -1,5 +1,5 @@ name: openQA -version: 5.1795190948.0362803c -mtime: 1795190948 -commit: 0362803c0fe4683d019c4d1e1972c9e1be891918 +version: 5.1795441465.39dc1745 +mtime: 1795441465 +commit: 39dc17450d3024393e825b1e15274f66ad126a30
