atop autopkgtest regression on armhf

Bug #2037910 reported by Vladimir Petko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
atop (Debian)
Fix Released
Unknown
atop (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

atop fails autopkgtest on armhf[1]
---------
453s autopkgtest [10:04:02]: test 01-numcpus: [-----------------------
459s autopkgtest 01-numcpus failedatop thinks 0 CPUs, truth is 8 CPUs
462s /tmp/autopkgtest.qzseyS/build.3A3/src/debian/tests/01-numcpus: line 15: 886 Floating point exception(core dumped) atop -P cpu 5 1 1>&2
462s # The following is the parsable format, which can be fed to other
462s # programs. Each different item in every column has an unique ID
462s # starting usually from zero.
462s # CPU,Core,Socket,Node
462s 0,0,0,0
462s 1,1,0,0
462s 2,2,0,0
462s 3,3,0,0
462s 4,4,0,0
462s 5,5,0,0
462s 6,6,0,0
462s 7,7,0,0
463s autopkgtest [10:04:12]: test 01-numcpus: -----------------------]
467s autopkgtest [10:04:16]: test 01-numcpus: - - - - - - - - - - results - - - - - - - - - -
467s 01-numcpus FAIL non-zero exit status 1
---------

Armhf tests are performed in lxc containers.

atop tries to read data from `/var/run/pacct_shadow.d/0000000000.paf` provided by ./atopacctd

which fails to start with ` cannot switch on process accounting: Operation not permitted` but leaves the shadow file behind.

Atop tries to read it, finds empty file, retries (handling `daemon is still starting` condition) but does not handle retry timeout correctly and ends up with empty accounting size record. (see atopacctd)

[1] https://autopkgtest.ubuntu.com/results/autopkgtest-mantic/mantic/armhf/a/atop/20230921_100425_99856@/log.gz

Related branches

Vladimir Petko (vpa1977)
description: updated
tags: added: update-excuse
Revision history for this message
Vladimir Petko (vpa1977) wrote :
Revision history for this message
Vladimir Petko (vpa1977) wrote (last edit ):

It seems that it is related to LP: #1725896.
Crashed atopacctd causes a FP exception.

Revision history for this message
Vladimir Petko (vpa1977) wrote :

Submitted PR https://github.com/Atoptool/atop/pull/278

I will wait the review from upstream before updating the package.

Revision history for this message
Vladimir Petko (vpa1977) wrote :

piuparts test log

Revision history for this message
Dave Jones (waveform) wrote :

Sponsored; removing ubuntu-sponsors

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package atop - 2.9.0-1ubuntu1

---------------
atop (2.9.0-1ubuntu1) mantic; urgency=medium

  * d/p/atopacctd_return_error.patch: apply upstream patch to fix SIGFPE in
    acctprocnt() (LP: #1725896, LP: #2037910).

 -- Vladimir Petko <email address hidden> Thu, 05 Oct 2023 15:25:12 +1300

Changed in atop (Ubuntu):
status: New → Fix Released
Changed in atop (Debian):
status: Unknown → New
Changed in atop (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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