rsyslog ftbfs in tests on resolute armhf
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| rust-coreutils |
New
|
Undecided
|
Unassigned | ||
| rsyslog (Ubuntu) |
Fix Released
|
Undecided
|
Simon Poirier | ||
| rust-coreutils (Ubuntu) |
In Progress
|
Undecided
|
Unassigned | ||
Bug Description
rsyslog 8.2512.0-1 build-time tests fails on resolute with armhf.
This looks like a regression of rust-coreutils sort,
on memory allocation with very large files (2GB) on a 32bit system (armhf),
as compared to gnu coreutils and older versions of rust-coreutils.
18:24:58 Shutting down instance 1
imdiag: wait q_empty: qsize 0 nempty 1
imdiag[40723]: mainqueue empty
rsyslogd debug: info: trying to cooperatively stop input ../plugins/
rsyslogd debug: info: trying to cooperatively stop input imfile, timeout 60000 ms
18:24:59[285] wait on shutdown of 206282
rsyslog debug: main Q:Reg/w0: enter WrkrExecCleanup
rsyslog internal message (6,-2439): main Q:Reg: worker thread c117df0 (3884970752) terminated, now 1 active worker threads [v8.2512.0 try https:/
rsyslog debug: 0xc117df0: worker exiting
rsyslog debug: main Q:Reg/w0: thread joined
rsyslog debug: main Q:Reg/w1: enter WrkrExecCleanup
rsyslog debug: 0xc113b50: worker exiting
rsyslog debug: main Q:Reg/w1: thread joined
memory allocation of 1610612736 bytes failed
scanf error in index i=0
memory allocation of 1610612736 bytes failed
./diag.sh: line 1875: 206964 Aborted (core dumped) $RS_SORTCMD $RS_SORT_
sequence error detected in rstb_887253_
Related branches
- Nick Rosbrook (community): Approve
-
Diff: 72 lines (+39/-0)4 files modifieddebian/changelog (+7/-0)
debian/control (+1/-0)
debian/patches/gnusort-in-tests.patch (+30/-0)
debian/patches/series (+1/-0)
| Changed in rsyslog (Ubuntu): | |
| assignee: | nobody → Simon Poirier (simpoir) |
| status: | New → In Progress |
| tags: | added: ftbfs resolute |
| description: | updated |
| tags: | added: update-excuse |

This bug was fixed in the package rsyslog - 8.2512.0-1ubuntu2
---------------
rsyslog (8.2512.0-1ubuntu2) resolute; urgency=medium
* fix ftbfs with tests on armhf (LP: #2137562)
Revert to gnusort on test with large data for its memory usage on 32bit.
rsyslog (8.2512.0-1ubuntu1) resolute; urgency=medium
* Merge with Debian unstable (LP: #2130067). Remaining changes: 50-default. conf: set of default rules for syslog 50-default. conf: separated default rules rsyslog. conf: uction to avoid bloating the syslog file. ernelFacility for non-kernel klog messages d/rsyslog. d rsyslog- mysql,rsyslog- mysql.install} : add apparmor rsyslog- pgsql,rsyslog- pgsql.install} : add apparmor rsyslog- gnutls. apparmor, rsyslog- gnutls. install} : add rsyslog- openssl. apparmor, rsyslog- gnutls. install} : add apparmor- profile apparmor- profile: script to reload the apparmor. rsyslog. d, d/rsyslog.install: install a specific mmnormalize & --enable- pmnormalize
- d/00rsyslog.conf, d/rsyslog.postinst, d/rsyslog.install: Install
tmpfiles.d snippet to ensure that the syslog group can write into
/var/log/.
- debian/
+ debian/
+ d/rsyslog.install: install default rules
+ d/rsyslog.postrm: clear default rules on purge
+ d/rsyslog.postrm: remove conf file in postrm on purge. manage with ucf
+ d/rsyslog.postinst: Adapt script to use ucf for Ubuntu's config files
+ debian/control: Add Depends for ucf
- debian/
+ enable $RepeatedMsgRed
+ enable $KLogPermitNonK
+ Run as syslog:syslog, set $FileOwner to syslog
+ Remove rules moved to 50-default.conf
- Add AppArmor profile, enabled by default, with support for
AppArmor configuration snippets:
+ d/rsyslog.install: install apparmor rule
+ d/rsyslog.postinst: remove disabling of apparmor on upgrades if
we are upgrading from a version older than $now.
+ d/rules: use dh_apparmor to install profile before rsyslog is started
+ d/control: suggests apparmor (>= 2.3), Build-Depends on
dh-apparmor
+ d/rsyslog.dirs: install /etc/apparmor.
+ d/usr.sbin.rsyslogd apparmor profile for rsyslogd
+ d/{apparmor/
profile for mysql plugin
+ d/{apparmor/
profile for postgresql plugin
+ d/{apparmor/
apparmor profile for the gnutls plugin
+ d/{apparmor/
apparmor profile for the openssl plugin
+ New script to reload apparmor profile:
* d/rsyslog.service: reload apparmor profile in ExecStartPre and
set StandardError to journal so we can see errors from the
script
* d/rsyslog.install: install reload-
* d/reload-
rsyslogd apparmor profile
+ d/NEWS: add info about apparmor changes in the Ubuntu packaging
+ d/rsyslog.docs, d/README.apparmor: explains how the dynamic
component of the rsyslog apparmor profile is applied
+ d/README.
README file in the apparmor include directory for rsyslog
- d/rules: Fix LDFLAGS to avoid segfault on receipt of first message
- Drop [mm|pm]normalize modules, depending on liblognorm from universe.
+ d/rules: drop --enable-
+ d/rsyslog.install: remo...