Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package distribution for openSUSE:Factory 
checked in at 2026-11-26 15:53:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/distribution (Old)
 and      /work/SRC/openSUSE:Factory/.distribution.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "distribution"

Thu Nov 26 15:53:55 2026 rev:29 rq:1400635 version:3.1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/distribution/distribution.changes        
2026-11-19 16:56:40.974770588 +0100
+++ /work/SRC/openSUSE:Factory/.distribution.new.1340718/distribution.changes   
2026-11-26 15:54:24.220289961 +0100
@@ -1,0 +2,13 @@
+Mon Nov 23 20:39:07 UTC 2026 - Zoltan Balogh <[email protected]>
+
+- Run the upstream unit tests in %check with go test -test.short.
+  -test.short omits the two 5 GB WriteReadLargeStreams cases.
+  TestHTTPChecker needs internet access and is skipped.
+  Skip TestDeleteOnlyDeletesSubpaths, TestDeleteFolder and
+  TestMoveNonexistent in the in-memory driver: find() walks one level
+  too deep when the last path component repeats its parent (upstream
+  PR #4996, merged after 3.1.2). On s390x skip the registry/handlers
+  package, which hits the 10m go test timeout on the slow s390x
+  workers (the TW/s390x build was also cut at the 46m build limit).
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ distribution.spec ++++++
--- /var/tmp/diff_new_pack.Yx11v0/_old  2026-11-26 15:54:25.268334485 +0100
+++ /var/tmp/diff_new_pack.Yx11v0/_new  2026-11-26 15:54:25.273334697 +0100
@@ -103,6 +103,25 @@
 mkdir -p %{buildroot}%{_tmpfilesdir}
 install -m 0644 %{SOURCE3} %{buildroot}%{_tmpfilesdir}/%{name}-registry.conf
 
+%if 0%{?suse_version} > 1500
+%check
+export CGO_ENABLED=1 GO111MODULE=auto
+# TestHTTPChecker queries public internet hosts, there is no network in the
+# build environment. find() in the in-memory driver walks one level too deep
+# when the last component repeats its parent (upstream PR #4996, merged after
+# 3.1.2), so the three tests that build such paths fail at random.
+skip='^TestHTTPChecker$|^TestInMemoryDriverSuite/(TestDeleteOnlyDeletesSubpaths|TestDeleteFolder|TestMoveNonexistent)$'
+%ifarch s390x
+# registry/handlers does not finish within the OBS build time limit on the
+# s390x workers (it hit the 10m go test timeout on other s390x builds).
+packages=$(go list ./... | grep -v '/registry/handlers$')
+%else
+packages=./...
+%endif
+go test -mod=vendor -tags %{buildtags} -test.short -count=1 -v \
+    -skip "$skip" $packages
+%endif
+
 %pre registry -f registry.pre
 %service_add_pre registry.service
 

Reply via email to