Bug#1026326: procps breaks pslist autopkgtest

2022-12-19 Thread Paul Gevers

Control: reassign -1 src:procps 2:4.0.2-2
Control: affects -1 src:pslist

Hi Craig,

On 19-12-2022 06:54, Craig Small wrote:
On Mon, 19 Dec 2022 at 03:54, Paul Gevers > wrote:


With a recent upload of procps the autopkgtest of pslist fails in
testing when that autopkgtest is run with the binary packages of procps
from unstable. It passes when run with only packages from testing. In
tabular form:

The good news is the testing caught this, yay for autopkgtest!


:)


The fix, with a test case, is already in upstream.[2]


So let's reassign to procps exclusively. Doing so with this message.

Paul


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1026326: procps breaks pslist autopkgtest

2022-12-18 Thread Craig Small
On Mon, 19 Dec 2022 at 03:54, Paul Gevers  wrote:

> With a recent upload of procps the autopkgtest of pslist fails in
> testing when that autopkgtest is run with the binary packages of procps
> from unstable. It passes when run with only packages from testing. In
> tabular form:
>
The good news is the testing caught this, yay for autopkgtest!

What is happening here is that pslist is running in effect "ps axco
pid,ppid,command | grep "
It's a bit odd, asking for command and using the c option to change that to
comm, far better to use comm directly.
However, asking for something in a strange way should still work.

Ignoring the c means the program is not called "test-pslist" but
"/usr/bin/perl /test-pslist"

In any case, ps is ignoring the c option for the output of command. The
change happened at [1] and the fix is a two-liner in ps/output.c
The fix, with a test case, is already in upstream.[2]

 - Craig

1:
https://gitlab.com/procps-ng/procps/-/commit/584028dbe513127ef68c55aa631480454bcc26bf#30867ea709c90a1563b408e4c195a7124050135d_431_278
2:
https://gitlab.com/procps-ng/procps/-/commit/dd3cb0892d142e370413e1cba582d390042883e5


Bug#1026326: procps breaks pslist autopkgtest

2022-12-18 Thread Paul Gevers

Source: procps, pslist
Control: found -1 procps/2:4.0.2-2
Control: found -1 pslist/1.4.0-4
Severity: serious
Tags: sid bookworm
User: debian...@lists.debian.org
Usertags: breaks needs-update

Dear maintainer(s),

With a recent upload of procps the autopkgtest of pslist fails in 
testing when that autopkgtest is run with the binary packages of procps 
from unstable. It passes when run with only packages from testing. In 
tabular form:


   passfail
procps from testing2:4.0.2-2
pslist from testing1.4.0-4
all others from testingfrom testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of procps to testing 
[1]. Due to the nature of this issue, I filed this bug report against 
both packages. Can you please investigate the situation and reassign the 
bug to the right package?


More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=procps

https://ci.debian.net/data/autopkgtest/testing/amd64/p/pslist/29462267/log.gz


#   Failed test 'run the test tool succeeded'
#   at t/lib/Test/PSList.pm line 64.
#  got: 255
# expected: 0

#   Failed test 'run the test tool did not output any errors'
#   at t/lib/Test/PSList.pm line 65.
#  got: 'Parent: pslist did not return information about some 
children: 793 794 795 796 797 798

# '
# expected: ''
# Looks like you failed 2 tests of 2.
t/01-test-tool.t .. 1..2
not ok 1 - run the test tool succeeded
not ok 2 - run the test tool did not output any errors
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests t/02-feature-check.t .. 1..3
# Subtest: Check for the pslist feature
1..2
ok 1 - check for the "pslist" feature succeeded
ok 2 - check for the "pslist" feature did not output any errors
ok 1 - Check for the pslist feature
# Subtest: pslist feature version >= 1
1..2
ok 1 - the "pslist" feature >= 1 succeeded
ok 2 - the "pslist" feature >= 1 did not output any errors
ok 2 - pslist feature version >= 1
# Subtest: pslist feature version < 1000
1..2
ok 1 - the "pslist" feature < 1000 succeeded
ok 2 - the "pslist" feature < 1000 did not output any errors
ok 3 - pslist feature version < 1000
ok

Test Summary Report
---
t/01-test-tool.t(Wstat: 512 (exited 2) Tests: 2 Failed: 2)
  Failed tests:  1-2
  Non-zero exit status: 2
Files=2, Tests=5,  0 wallclock secs ( 0.01 usr  0.01 sys +  0.24 cusr 
0.02 csys =  0.28 CPU)

Result: FAIL
autopkgtest [05:15:26]: test upstream



OpenPGP_signature
Description: OpenPGP digital signature