Your message dated Sat, 15 Mar 2025 09:44:44 +0000
with message-id <[email protected]>
and subject line Close 1091791
has caused the Debian Bug report #1091791,
regarding bookworm-pu: package seqan3/3.2.0+ds-6+deb12u1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1091791: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1091791
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: bookworm
User: [email protected]
Usertags: pu
X-Debbugs-Cc: [email protected], [email protected]
Control: affects -1 + src:seqan3

[ Reason ]
This fixes FTBFS Bug #1087373, some tests fail on single-cpu systems.

[ Impact ]
Anybody trying to build the package on a single-cpu system might find
that the package unexpectedly does not build due to failing tests.

[ Tests ]
I've tested that the package builds ok again.

[ Risks ]
Very low. Only some tests have been modified, and the fix comes
directly from the upstream authors after the issue was
forwarded to github.

[ Checklist ]
  [X] *all* changes are documented in the d/changelog
  [X] I reviewed all changes and I approve them
  [X] attach debdiff against the package in (old)stable
  [X] the issue is verified as fixed in unstable

[ Changes ]
Apply upstream fix for parallel tests.

[ Other info ]
Will wait for confirmation before upload and commit to salsa.
diff -Nru seqan3-3.2.0+ds/debian/changelog seqan3-3.2.0+ds/debian/changelog
--- seqan3-3.2.0+ds/debian/changelog    2022-12-05 17:47:29.000000000 +0100
+++ seqan3-3.2.0+ds/debian/changelog    2024-12-30 18:20:00.000000000 +0100
@@ -1,3 +1,10 @@
+seqan3 (3.2.0+ds-6+deb12u1) bookworm; urgency=medium
+
+  * Team upload.
+  * Fix parallel tests. Closes: #1087373.
+
+ -- Santiago Vila <[email protected]>  Mon, 30 Dec 2024 18:20:00 +0100
+
 seqan3 (3.2.0+ds-6) unstable; urgency=medium
 
   * Team upload.
diff -Nru seqan3-3.2.0+ds/debian/patches/fix-parallel-tests.patch 
seqan3-3.2.0+ds/debian/patches/fix-parallel-tests.patch
--- seqan3-3.2.0+ds/debian/patches/fix-parallel-tests.patch     1970-01-01 
01:00:00.000000000 +0100
+++ seqan3-3.2.0+ds/debian/patches/fix-parallel-tests.patch     2024-12-30 
18:20:00.000000000 +0100
@@ -0,0 +1,36 @@
+From: Enrico Seiler <[email protected]>
+Subject: Fix parallel tests
+Origin: upstream, 
https://github.com/seqan/seqan3/commit/54e011dd8e2190543f8bca2c0cba097d5dd5cb75
+Bug-Debian: https://bugs.debian.org/1087373
+Last-Update: 2024-11-13
+
+--- a/test/unit/contrib/parallel/buffer_queue_parallel_test.cpp
++++ b/test/unit/contrib/parallel/buffer_queue_parallel_test.cpp
+@@ -18,11 +18,8 @@
+ template <typename sequential_push_t, typename sequential_pop_t>
+ void test_buffer_queue_wait_status()
+ {
+-    size_t thread_count = std::thread::hardware_concurrency();
+-
+-    // limit thread count as virtualbox (used by Travis) seems to have 
problems with thread congestion
+-    if (thread_count > 4)
+-        thread_count = 4;
++    // At least two threads (one producer and one consumer), at most 4 
threads (avoid congestion).
++    size_t thread_count = 
std::clamp<size_t>(std::thread::hardware_concurrency(), 2u, 4u);
+ 
+     size_t writer_count = thread_count / 2;
+     if constexpr (sequential_push_t::value)
+@@ -132,11 +129,9 @@
+     }
+ 
+     volatile std::atomic<size_t> chk_sum2 = 0;
+-    size_t thread_count = std::thread::hardware_concurrency();
+ 
+-    // limit thread count as virtualbox (used by Travis) seems to have 
problems with thread congestion
+-    if (thread_count > 4)
+-        thread_count = 4;
++    // At least two threads (one producer and one consumer), at most 4 
threads (avoid congestion).
++    size_t thread_count = 
std::clamp<size_t>(std::thread::hardware_concurrency(), 2u, 4u);
+ 
+     size_t writer_count = thread_count / 2;
+     if constexpr (sequential_push_t::value)
diff -Nru seqan3-3.2.0+ds/debian/patches/series 
seqan3-3.2.0+ds/debian/patches/series
--- seqan3-3.2.0+ds/debian/patches/series       2022-12-05 17:47:29.000000000 
+0100
+++ seqan3-3.2.0+ds/debian/patches/series       2024-12-30 18:20:00.000000000 
+0100
@@ -5,3 +5,4 @@
 debian_cppreference
 fix_autopkgtests
 a04c764103dd96934d4587130847b480162ce473.patch
+fix-parallel-tests.patch

--- End Message ---
--- Begin Message ---
Version: 12.10
This update has been released as part of 12.10. Thank you for your contribution.

--- End Message ---

Reply via email to