Merge ~simpoir/ubuntu/+source/rsyslog:fix/2137562 into ubuntu/+source/rsyslog:ubuntu/devel

Proposed by Simon Poirier
Status: Merged
Merged at revision: 08c0f6b9972113db28a58a3730d5d3f22fab81e6
Proposed branch: ~simpoir/ubuntu/+source/rsyslog:fix/2137562
Merge into: ubuntu/+source/rsyslog:ubuntu/devel
Diff against target: 72 lines (+39/-0)
4 files modified
debian/changelog (+7/-0)
debian/control (+1/-0)
debian/patches/gnusort-in-tests.patch (+30/-0)
debian/patches/series (+1/-0)
Reviewer Review Type Date Requested Status
Nick Rosbrook (community) Approve
Review via email: mp+498090@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Simon Poirier (simpoir) wrote :
Revision history for this message
Nick Rosbrook (enr0n) wrote :

LGTM, and uploaded. Thanks for following up on this.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index b0fd58e..1e80e72 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,10 @@
6+rsyslog (8.2512.0-1ubuntu2) resolute; urgency=medium
7+
8+ * fix ftbfs with tests on armhf (LP: #2137562)
9+ Revert to gnusort on test with large data for its memory usage on 32bit.
10+
11+ -- Simon Poirier <simon.poirier@canonical.com> Tue, 06 Jan 2026 09:55:32 -0500
12+
13 rsyslog (8.2512.0-1ubuntu1) resolute; urgency=medium
14
15 * Merge with Debian unstable (LP: #2130067). Remaining changes:
16diff --git a/debian/control b/debian/control
17index aecaecb..f59f244 100644
18--- a/debian/control
19+++ b/debian/control
20@@ -41,6 +41,7 @@ Build-Depends: debhelper-compat (= 13),
21 python3-sphinx <!nodoc>,
22 python3-sphinx-rtd-theme <!nodoc>,
23 python3-sphinxcontrib-mermaid <!nodoc>,
24+ gnu-coreutils,
25 Standards-Version: 4.7.2
26 Rules-Requires-Root: no
27 Vcs-Git: https://salsa.debian.org/debian/rsyslog.git
28diff --git a/debian/patches/gnusort-in-tests.patch b/debian/patches/gnusort-in-tests.patch
29new file mode 100644
30index 0000000..dc70451
31--- /dev/null
32+++ b/debian/patches/gnusort-in-tests.patch
33@@ -0,0 +1,30 @@
34+Description: fix ftbfs with tests on armhf
35+ Revert to gnusort on test with large data for its memory usage on 32bit arch.
36+Author: Simon Poirier <simon.poirier@canonical.com>
37+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/2137562
38+Last-Update: 2026-01-05
39+
40+Index: rsyslog/tests/imfile-basic-2GB-file.sh
41+===================================================================
42+--- rsyslog.orig/tests/imfile-basic-2GB-file.sh
43++++ rsyslog/tests/imfile-basic-2GB-file.sh
44+@@ -6,6 +6,7 @@
45+ # This is part of the rsyslog testbench, licensed under ASL 2.0
46+ . ${srcdir:=.}/diag.sh init
47+ export TB_TEST_MAX_RUNTIME=8000 # test is very slow as it works on large files
48++RS_SORTCMD=gnusort # dataset OOM with rust-coreutils on armhf
49+ generate_conf
50+ add_conf '
51+ module(load="../plugins/imfile/.libs/imfile")
52+Index: rsyslog/tests/imfile-truncate-2GB-file.sh
53+===================================================================
54+--- rsyslog.orig/tests/imfile-truncate-2GB-file.sh
55++++ rsyslog/tests/imfile-truncate-2GB-file.sh
56+@@ -6,6 +6,7 @@
57+ # This is part of the rsyslog testbench, licensed under ASL 2.0
58+ . ${srcdir:=.}/diag.sh init
59+ export TB_TEST_MAX_RUNTIME=8000 # test is very slow as it works on large files
60++RS_SORTCMD=gnusort # dataset OOM with rust-coreutils on armhf
61+ generate_conf
62+ add_conf '
63+ module(load="../plugins/imfile/.libs/imfile")
64diff --git a/debian/patches/series b/debian/patches/series
65index 1f7b37b..6260668 100644
66--- a/debian/patches/series
67+++ b/debian/patches/series
68@@ -2,3 +2,4 @@ Don-t-create-a-database.patch
69 Increase-timeouts-in-imfile-basic-2GB-file-and-imfile-tru.patch
70 Skip-tests-based-on-omfwd-lb-1target-retry-test_skeleton..patch
71 Skip-imfile-logrotate-async.sh.patch
72+gnusort-in-tests.patch

Subscribers

People subscribed via source and target branches