rsyslog ftbfs in tests on resolute armhf

Bug #2137562 reported by Simon Poirier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
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.

https://launchpadlibrarian.net/841950904/buildlog_ubuntu-resolute-armhf.rsyslog_8.2512.0-1ubuntu1_BUILDING.txt.gz

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/imdiag/.libs/imdiag, timeout 60000 ms
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://www.rsyslog.com/e/2439 ]
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_NUMERIC_OPT < ${SEQ_CHECK_FILE} > $RSYSLOG_DYNNAME.error.log
sequence error detected in rstb_887253_0000xdBW.out.log

Related branches

Simon Poirier (simpoir)
Changed in rsyslog (Ubuntu):
assignee: nobody → Simon Poirier (simpoir)
status: New → In Progress
tags: added: ftbfs resolute
description: updated
Simon Poirier (simpoir)
tags: added: update-excuse
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (8.6 KiB)

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:
    - 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/50-default.conf: set of default rules for syslog
      + debian/50-default.conf: separated default rules
      + 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/rsyslog.conf:
      + enable $RepeatedMsgReduction to avoid bloating the syslog file.
      + enable $KLogPermitNonKernelFacility for non-kernel klog messages
      + 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/rsyslog.d
      + d/usr.sbin.rsyslogd apparmor profile for rsyslogd
      + d/{apparmor/rsyslog-mysql,rsyslog-mysql.install}: add apparmor
        profile for mysql plugin
      + d/{apparmor/rsyslog-pgsql,rsyslog-pgsql.install}: add apparmor
        profile for postgresql plugin
      + d/{apparmor/rsyslog-gnutls.apparmor,rsyslog-gnutls.install}: add
        apparmor profile for the gnutls plugin
      + d/{apparmor/rsyslog-openssl.apparmor,rsyslog-gnutls.install}: add
        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-apparmor-profile
        * d/reload-apparmor-profile: script to reload the
          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.apparmor.rsyslog.d, d/rsyslog.install: install a specific
        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-mmnormalize & --enable-pmnormalize
      + d/rsyslog.install: remo...

Read more...

Changed in rsyslog (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Sylvestre Ledru (sylvestre) wrote :
Changed in rust-coreutils (Ubuntu):
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.