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-03-05 17:30:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openQA (Old) and /work/SRC/openSUSE:Factory/.openQA.new.561 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openQA" Thu Mar 5 17:30:55 2026 rev:817 rq:1336730 version:5.1772705410.5c7fe0aa Changes: -------- --- /work/SRC/openSUSE:Factory/openQA/openQA.changes 2026-03-04 21:06:12.754899919 +0100 +++ /work/SRC/openSUSE:Factory/.openQA.new.561/openQA.changes 2026-03-05 17:33:47.745042285 +0100 @@ -1,0 +2,9 @@ +Thu Mar 05 10:10:51 UTC 2026 - [email protected] + +- Update to version 5.1772705410.5c7fe0aa: + * style(t): fix formatting of long line in t/37-limit_assets.t + * test(Makefile): treat t/01-style consistently with tidy+compile tests + * ci: cover sporadic download errors with retries + * feat: support show_build=1 for overview badges + +------------------------------------------------------------------- Old: ---- openQA-5.1772550094.48b5cce5.obscpio New: ---- openQA-5.1772705410.5c7fe0aa.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openQA-client-test.spec ++++++ --- /var/tmp/diff_new_pack.aK0ecE/_old 2026-03-05 17:33:49.205102913 +0100 +++ /var/tmp/diff_new_pack.aK0ecE/_new 2026-03-05 17:33:49.209103080 +0100 @@ -18,7 +18,7 @@ %define short_name openQA-client Name: %{short_name}-test -Version: 5.1772550094.48b5cce5 +Version: 5.1772705410.5c7fe0aa Release: 0 Summary: Test package for %{short_name} License: GPL-2.0-or-later ++++++ openQA-devel-test.spec ++++++ --- /var/tmp/diff_new_pack.aK0ecE/_old 2026-03-05 17:33:49.253104906 +0100 +++ /var/tmp/diff_new_pack.aK0ecE/_new 2026-03-05 17:33:49.253104906 +0100 @@ -18,7 +18,7 @@ %define short_name openQA-devel Name: %{short_name}-test -Version: 5.1772550094.48b5cce5 +Version: 5.1772705410.5c7fe0aa Release: 0 Summary: Test package for %{short_name} License: GPL-2.0-or-later ++++++ openQA-test.spec ++++++ --- /var/tmp/diff_new_pack.aK0ecE/_old 2026-03-05 17:33:49.301106900 +0100 +++ /var/tmp/diff_new_pack.aK0ecE/_new 2026-03-05 17:33:49.305107066 +0100 @@ -18,7 +18,7 @@ %define short_name openQA Name: %{short_name}-test -Version: 5.1772550094.48b5cce5 +Version: 5.1772705410.5c7fe0aa Release: 0 Summary: Test package for openQA License: GPL-2.0-or-later ++++++ openQA-worker-test.spec ++++++ --- /var/tmp/diff_new_pack.aK0ecE/_old 2026-03-05 17:33:49.333108228 +0100 +++ /var/tmp/diff_new_pack.aK0ecE/_new 2026-03-05 17:33:49.337108395 +0100 @@ -18,7 +18,7 @@ %define short_name openQA-worker Name: %{short_name}-test -Version: 5.1772550094.48b5cce5 +Version: 5.1772705410.5c7fe0aa Release: 0 Summary: Test package for %{short_name} License: GPL-2.0-or-later ++++++ openQA.spec ++++++ --- /var/tmp/diff_new_pack.aK0ecE/_old 2026-03-05 17:33:49.377110055 +0100 +++ /var/tmp/diff_new_pack.aK0ecE/_new 2026-03-05 17:33:49.381110222 +0100 @@ -99,7 +99,7 @@ %define devel_requires %devel_no_selenium_requires chromedriver Name: openQA -Version: 5.1772550094.48b5cce5 +Version: 5.1772705410.5c7fe0aa Release: 0 Summary: The openQA web-frontend, scheduler and tools License: GPL-2.0-or-later ++++++ openQA-5.1772550094.48b5cce5.obscpio -> openQA-5.1772705410.5c7fe0aa.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openQA-5.1772550094.48b5cce5/.github/workflows/check-helm-chart.yml new/openQA-5.1772705410.5c7fe0aa/.github/workflows/check-helm-chart.yml --- old/openQA-5.1772550094.48b5cce5/.github/workflows/check-helm-chart.yml 2026-03-03 16:01:34.000000000 +0100 +++ new/openQA-5.1772705410.5c7fe0aa/.github/workflows/check-helm-chart.yml 2026-03-05 11:10:10.000000000 +0100 @@ -47,4 +47,4 @@ uses: helm/kind-action@v1 - name: Run chart-testing - run: make test-helm-install + run: make RETRY=3 test-helm-install diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openQA-5.1772550094.48b5cce5/Makefile new/openQA-5.1772705410.5c7fe0aa/Makefile --- old/openQA-5.1772550094.48b5cce5/Makefile 2026-03-03 16:01:34.000000000 +0100 +++ new/openQA-5.1772705410.5c7fe0aa/Makefile 2026-03-05 11:10:10.000000000 +0100 @@ -233,11 +233,11 @@ endif .PHONY: test-checkstyle -test-checkstyle: test-checkstyle-standalone test-tidy-compile ## Run checkstyle and tidy-compile tests +test-checkstyle: test-checkstyle-standalone test-tidy-compile-style ## Run checkstyle and tidy-compile-style tests .PHONY: test-t test-t: node_modules ## Run standard Perl tests - $(MAKE) test-with-database TIMEOUT_M=25 PROVE_ARGS="$$HARNESS t/*.t" GLOBIGNORE="t/*tidy*:t/*compile*:$(unstables)" + $(MAKE) test-with-database TIMEOUT_M=25 PROVE_ARGS="$$HARNESS t/*.t" GLOBIGNORE="t/*tidy*:t/*compile*:t/*style*:$(unstables)" .PHONY: test-heavy test-heavy: node_modules ## Run heavy tests @@ -245,11 +245,11 @@ .PHONY: test-ui test-ui: node_modules ## Run UI tests - $(MAKE) test-with-database TIMEOUT_M=25 PROVE_ARGS="$$HARNESS t/ui/*.t" GLOBIGNORE="t/*tidy*:t/*compile*:$(unstables)" + $(MAKE) test-with-database TIMEOUT_M=25 PROVE_ARGS="$$HARNESS t/ui/*.t" GLOBIGNORE="t/*tidy*:t/*compile*:t/*style*:$(unstables)" .PHONY: test-api test-api: node_modules ## Run API tests - $(MAKE) test-with-database TIMEOUT_M=20 PROVE_ARGS="$$HARNESS t/api/*.t" GLOBIGNORE="t/*tidy*:t/*compile*:$(unstables)" + $(MAKE) test-with-database TIMEOUT_M=20 PROVE_ARGS="$$HARNESS t/api/*.t" GLOBIGNORE="t/*tidy*:t/*compile*:t/*style*:$(unstables)" # put unstable tests in tools/unstable_tests.txt and uncomment in circle CI config to handle unstables with retries .PHONY: test-unstable @@ -369,9 +369,9 @@ test-critic: ## Run Perl Critic tools/perlcritic lib -.PHONY: test-tidy-compile -test-tidy-compile: ## Run tidy and compile tests - $(MAKE) test-unit-and-integration TIMEOUT_M=20 PROVE_ARGS="$$HARNESS t/*{tidy,compile}*.t" GLOBIGNORE="$(unstables)" +.PHONY: test-tidy-compile-style +test-tidy-compile-style: ## Run tidy, compile and style tests + $(MAKE) test-unit-and-integration TIMEOUT_M=20 PROVE_ARGS="$$HARNESS t/*{tidy,compile,style}*.t" GLOBIGNORE="$(unstables)" .PHONY: test-shellcheck test-shellcheck: ## Run shellcheck on scripts @@ -426,7 +426,7 @@ .PHONY: test-helm-install test-helm-install: ## Install helm chart for testing - tools/test_helm_chart install + RETRY=${RETRY} timeout --foreground -s SIGINT -k 5 -v ${TIMEOUT_RETRIES} tools/retry tools/test_helm_chart install .PHONY: update-deps update-deps: ## Update dependencies in cpanfile and specfile diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openQA-5.1772550094.48b5cce5/docs/UsersGuide.asciidoc new/openQA-5.1772705410.5c7fe0aa/docs/UsersGuide.asciidoc --- old/openQA-5.1772550094.48b5cce5/docs/UsersGuide.asciidoc 2026-03-03 16:01:34.000000000 +0100 +++ new/openQA-5.1772705410.5c7fe0aa/docs/UsersGuide.asciidoc 2026-03-05 11:10:10.000000000 +0100 @@ -588,12 +588,11 @@ The first two routes refer to a specific job or the latest job of a scenario. The `/tests/overview/badge` route summarizes the status of multiple jobs based -on overview query parameters, in this example reflecting the most severe -status. It supports the same query parameters as the overview page for example -to filter out states taken into consideration. +on overview query parameters, reflecting the most critical status (e.g. `failed`). +It supports the same query parameters as the overview page. -There is an optional parameter 'show_build=1' for single job badges that will -prefix the status with the build number. +There is an optional parameter `show_build=1` that will prefix the status with +the build number (or `multi` if multiple builds are targeted). === Build a continuous openQA monitoring dashboard diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openQA-5.1772550094.48b5cce5/lib/OpenQA/WebAPI/Controller/Test.pm new/openQA-5.1772705410.5c7fe0aa/lib/OpenQA/WebAPI/Controller/Test.pm --- old/openQA-5.1772550094.48b5cce5/lib/OpenQA/WebAPI/Controller/Test.pm 2026-03-03 16:01:34.000000000 +0100 +++ new/openQA-5.1772705410.5c7fe0aa/lib/OpenQA/WebAPI/Controller/Test.pm 2026-03-05 11:10:10.000000000 +0100 @@ -659,7 +659,15 @@ state $mapping = {not_complete => 'incomplete', aborted => 'cancelled', none => 'cancelled'}; my $badge_color_key = $mapping->{$status} // $status; - $self->_render_badge($status =~ tr/_/ /r, $BADGE_RESULT_COLORS{$badge_color_key}); + my $badge_text = $status =~ tr/_/ /r; + if ($self->param('show_build')) { + if (my $build = $data->{search_args}->{build}) { + my $build_str = ref $build eq 'ARRAY' ? (@$build == 1 ? $build->[0] : 'multi') : $build; + $badge_text = "$build_str: $badge_text"; + } + } + + $self->_render_badge($badge_text, $BADGE_RESULT_COLORS{$badge_color_key}); } sub job_next_previous_ajax ($self) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openQA-5.1772550094.48b5cce5/t/10-overview_badge.t new/openQA-5.1772705410.5c7fe0aa/t/10-overview_badge.t --- old/openQA-5.1772550094.48b5cce5/t/10-overview_badge.t 2026-03-03 16:01:34.000000000 +0100 +++ new/openQA-5.1772705410.5c7fe0aa/t/10-overview_badge.t 2026-03-05 11:10:10.000000000 +0100 @@ -22,6 +22,9 @@ $t->get_ok('/tests/overview/badge?build=0048')->status_is(200)->content_like(qr/failed/); $t->get_ok('/tests/overview/badge?distri=nonexistent')->status_is(200)->content_like(qr/none/); $t->get_ok('/tests/overview/badge?groupid=1001&build=0091')->status_is(200)->content_like(qr/running/); +$t->get_ok('/tests/overview/badge?build=0048&show_build=1')->status_is(200)->content_like(qr/0048: failed/); +$t->get_ok('/tests/overview/badge?build=0048&build=87.5011&show_build=1')->status_is(200) + ->content_like(qr/multi: failed/); subtest 'svg badge' => sub { $t->get_ok('/tests/99927/badge')->status_is(200)->content_type_is('image/svg+xml') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openQA-5.1772550094.48b5cce5/t/37-limit_assets.t new/openQA-5.1772705410.5c7fe0aa/t/37-limit_assets.t --- old/openQA-5.1772550094.48b5cce5/t/37-limit_assets.t 2026-03-03 16:01:34.000000000 +0100 +++ new/openQA-5.1772705410.5c7fe0aa/t/37-limit_assets.t 2026-03-05 11:10:10.000000000 +0100 @@ -225,8 +225,7 @@ picked_into_parent_id => 1, name => 'iso/openSUSE-13.1-DVD-x86_64-Build0091-Media.iso', fixed => 0, - groups => {1001 => 99963, 1002 => 99961} - , # specific job groups still visible when a job group is within a parent group + groups => {1001 => 99963, 1002 => 99961}, # groups visible when within a parent group parents => {1 => 1}, type => 'iso', pending => 1, ++++++ openQA.obsinfo ++++++ --- /var/tmp/diff_new_pack.aK0ecE/_old 2026-03-05 17:34:02.305646905 +0100 +++ /var/tmp/diff_new_pack.aK0ecE/_new 2026-03-05 17:34:02.309647070 +0100 @@ -1,5 +1,5 @@ name: openQA -version: 5.1772550094.48b5cce5 -mtime: 1772550094 -commit: 48b5cce540fe4b70075d79605e9033cd2d7c358e +version: 5.1772705410.5c7fe0aa +mtime: 1772705410 +commit: 5c7fe0aa2fbb8e0c48512bd85e584117e229001f
