pcp
[Top] [All Lists]

Re: [pcp] PCP Updates: mgoodwin pmrep + qa

To: pcp@xxxxxxxxxxx
Subject: Re: [pcp] PCP Updates: mgoodwin pmrep + qa
From: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Wed, 10 Feb 2016 11:56:22 +0200
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <56BA340C.1020300@xxxxxxxxxx>
Organization: Red Hat
References: <56BA340C.1020300@xxxxxxxxxx>
Reply-to: Marko Myllynen <myllynen@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
Hi,

On 2016-02-09 20:46, Dave Brolley wrote:
> Changes committed to git://git.pcp.io/pcp.git master
> 
> Mark Goodwin (2):
>       pmrep: cleanup stdio on exit to avoid Exception Ignored errors
>       qa: add test 880 to check pmrep for broken pipe exceptions and
> Exception Ignored errors

I'm still seeing issues after this patch, in fact now I have issues
also with Python 2:

$ python3 /tmp/pcp/bin/pmrep --archive $here/archives/20130706 -o csv -u -S 
@10:00 -x kernel.all.sysfork | head -n 1 
#
zsh: broken pipe  python3 /tmp/pcp/bin/pmrep --archive $here/archives/20130706 
-o csv -u -S  -x | 
zsh: done         head -n 1
$ python2 /tmp/pcp/bin/pmrep --archive $here/archives/20130706 -o csv -u -S 
@10:00 -x kernel.all.sysfork | head -n 1
#
zsh: broken pipe  python2 /tmp/pcp/bin/pmrep --archive $here/archives/20130706 
-o csv -u -S  -x | 
zsh: done         head -n 1
$ 

This is on RHEL 7 (Python 2.7 and Python 3.3 in use). The reason why
I'm so inclined to have this fixed shows above, with PRINT_EXIT_VALUE
Zsh prints some ugly diagnostics.

Does this work for everyone else or can this be a local hickup? I
already tried using SIG_IGN instead of SIG_DFL etc to no avail.

Thanks,

-- 
Marko Myllynen

<Prev in Thread] Current Thread [Next in Thread>