Re: New procps release soon

"Craig Small" <[email protected]> ("csmall") Wed, 25 Sep 2024 20:05:14 +1000
Newsgroups gmane.linux.procps.devel
Message-ID <CALy8Cw50YejzONdh8rQaqswD42aWU2chcyXJ4PLfqBWB2THn6Q@mail.gmail.com>
--000000000000ceb6e20622eec29f
Content-Type: text/plain; charset="UTF-8"

On Wed, 25 Sept 2024 at 06:18, Jim Warner <[email protected]>
wrote:

> When I can (inconsistently) reproduce the vmstat problem, it's following
> a build without --disable-shared and a 'sudo make install'.  So I was
> running vmstat from /usr/local/bin and /usr/local/lib still relied on
> that darn libtool libproc2.la script.
>
Ah ok, that's just the quirks of trying to run two libraries that are the
same SONAME.
We change it upon release, if I remember :)
This problem is very different.

Looking at the Debian-CI output:
48s autopkgtest [21:31:19]: test vmstat: [-----------------------
48s test_no_arguments
48s [1;31mASSERT: [0mvalue line
48s [1;31mshunit2:ERROR [0m test_no_arguments() returned non-zero return
code.

That first line is *important* and I missed it. This isn't a DEJAGNU
failure, this is a Debian autopkgtest failure.

For some reason, something in either Debian-CI or shunit2 is breaking the
18 numbers of vmstat output into lines of 10 and 8.
The output of 11 numbers comes to 81 characters soo.. might be a
coincidence, or not.
The test grep is looking for 18 so it fails.

There is no sane reason for this to occur, I thought it might be buffering
but the way it works is the output is redirected to a file and that is
grepped.

Anyway the identical DEJAGNU test passes, so I'll dumb down the autopkgtest
check to look for a few numbers, not all 18.

Getting back on topic, that was the last thing I personally had to clear
out. Anything else for 4.0.5 that anyone needs?

 - Craig

--000000000000ceb6e20622eec29f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">On Wed, 25 Sept 2024 at 06:18, Jim Warner=
 &lt;<a href=3D"mailto:[email protected]" target=3D"_blank">dmarc=
[email protected]</a>&gt; wrote:</div><div class=3D"gmail_quote"><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:=
1px solid rgb(204,204,204);padding-left:1ex">When I can (inconsistently) re=
produce the vmstat problem, it&#39;s following <br>
a build without --disable-shared and a &#39;sudo make install&#39;.=C2=A0 S=
o I was <br>
running vmstat from /usr/local/bin and /usr/local/lib still relied on <br>
that darn libtool <a href=3D"http://libproc2.la" rel=3D"noreferrer" target=
=3D"_blank">libproc2.la</a> script.<br></blockquote><div>Ah ok, that&#39;s =
just the quirks of trying to run two libraries that are the same SONAME.</d=
iv><div>We change it upon release, if I remember :)</div><div>This problem =
is very different.<br></div></div><div class=3D"gmail_quote"><br></div><div=
 class=3D"gmail_quote">Looking at the Debian-CI output:</div><div class=3D"=
gmail_quote"><div> 48s autopkgtest [21:31:19]: test vmstat: [--------------=
---------
</div>
                <div> 48s test_no_arguments
</div>
                <div> 48s  [1;31mASSERT: [0mvalue line
</div>
                 48s  [1;31mshunit2:ERROR [0m test_no_arguments() returned =
non-zero return code.</div><div class=3D"gmail_quote"><br></div><div class=
=3D"gmail_quote">That first line is *important* and I missed it. This isn&#=
39;t a DEJAGNU failure, this is a Debian autopkgtest failure.</div><div cla=
ss=3D"gmail_quote"><br></div><div class=3D"gmail_quote">For some reason, so=
mething in either Debian-CI or shunit2 is breaking the 18 numbers of vmstat=
 output into lines of 10 and 8.</div><div class=3D"gmail_quote">The output =
of 11 numbers comes to 81 characters soo.. might be a coincidence, or not.<=
br></div><div class=3D"gmail_quote">The test grep is looking for 18 so it f=
ails.</div><div class=3D"gmail_quote"><br></div><div class=3D"gmail_quote">=
There is no sane reason for this to occur, I thought it might be buffering =
but the way it works is the output is redirected to a file and that is grep=
ped.</div><div class=3D"gmail_quote"><br></div><div class=3D"gmail_quote">A=
nyway the identical DEJAGNU test passes, so I&#39;ll dumb down the autopkgt=
est check to look for a few numbers, not all 18.</div><div class=3D"gmail_q=
uote"><br></div><div class=3D"gmail_quote">Getting back on topic, that was =
the last thing I personally had to clear out. Anything else for 4.0.5 that =
anyone needs?</div><div class=3D"gmail_quote"><br></div><div class=3D"gmail=
_quote">=C2=A0- Craig</div><div class=3D"gmail_quote"><br></div></div>

--000000000000ceb6e20622eec29f--