From nscott@redhat.com Fri Jul 1 01:41:16 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id C2BAC7CA2
for ; Fri, 1 Jul 2016 01:41:16 -0500 (CDT)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay3.corp.sgi.com (Postfix) with ESMTP id 38DB6AC006
for ; Thu, 30 Jun 2016 23:41:15 -0700 (PDT)
X-ASG-Debug-ID: 1467355271-04cbb027373f13e0001-S8gJnT
Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by cuda.sgi.com with ESMTP id ei0do5pzowAaPQoY (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 30 Jun 2016 23:41:12 -0700 (PDT)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Effective-Source-IP: mx4-phx2.redhat.com[209.132.183.25]
X-Barracuda-Apparent-Source-IP: 209.132.183.25
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u616fBE8024733
for ; Fri, 1 Jul 2016 02:41:11 -0400
Date: Fri, 1 Jul 2016 02:41:11 -0400 (EDT)
From: Nathan Scott
Reply-To: Nathan Scott
To: pcp developers
Message-ID: <432136146.3353613.1467355271252.JavaMail.zimbra@redhat.com>
In-Reply-To: <763364663.3353564.1467355228106.JavaMail.zimbra@redhat.com>
Subject: pcp updates: marko+martins merges
MIME-Version: 1.0
X-ASG-Orig-Subj: pcp updates: marko+martins merges
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.64.50.125]
X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF47 (Linux)/8.0.6_GA_5922)
Thread-Topic: pcp updates: marko+martins merges
Thread-Index: W9Zx72Q3qWOPz6n9D9umbNkGfzYbzA==
X-Barracuda-Connect: mx4-phx2.redhat.com[209.132.183.25]
X-Barracuda-Start-Time: 1467355272
X-Barracuda-Encrypted: DHE-RSA-AES256-SHA
X-Barracuda-URL: https://192.48.176.25:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 2597
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.30917
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
Changes committed to git://git.pcp.io/pcp.git master
Marko Myllynen (2):
pmrep: support configuration file sources, local context
zsh completion: multi-archive support
Nathan Scott (2):
build: fix setup py syntax, add openbsd platform
mmv: revert accidental patch overlap in earlier commit
Martins Innus (1):
pmdaproc: include threads in hotproc results, if enabled
man/man5/mmv.5 | 126 ++++++++++++++++++++--------------------
qa/1069 | 10 +++
qa/1069.out | 16 +++++
src/include/pcp/mmv_dev.h | 58 +++++++++---------
src/include/pcp/mmv_stats.h | 58 +++++++++---------
src/pmdas/linux_proc/proc_pid.c | 10 +--
src/pmrep/pmrep.conf.5 | 7 +-
src/pmrep/pmrep.py | 49 +++++++++++----
src/python/pcp/pmapi.py | 3
src/python/pmapi.c | 29 +++++++++
src/python/setup.py | 9 +-
src/zshrc/_pcp | 14 ++--
12 files changed, 238 insertions(+), 151 deletions(-)
commit a581816f219b2a27122f715fe77c06c198bcc4fc
Author: Nathan Scott
Date: Fri Jul 1 16:37:16 2016 +1000
mmv: revert accidental patch overlap in earlier commit
commit 0da406b978e984b3578cd8f95bcb3f071c571463
Author: Martins Innus
Date: Fri Jul 1 09:24:15 2016 +1000
pmdaproc: include threads in hotproc results, if enabled
commit b8073b9c6f64fa3a4d632514b09ff3ea2dbac987
Author: Marko Myllynen
Date: Fri Jul 1 09:19:51 2016 +1000
zsh completion: multi-archive support
Today -a/--archive can be specified more than once.
Fix pmdumptext to allow only one -h/--host specification.
Metrics/instances completions do not need to handle multiple -h/--host
as none of the utilities accepting multiple -h/--host do not use
metrics/instances on their command lines.
commit 4b7b6efb2e1bfc772cc4c3bcbd6176f155f10970
Author: Marko Myllynen
Date: Fri Jul 1 09:18:56 2016 +1000
pmrep: support configuration file sources, local context
The below patch extends QA, exposes few methods to Python, uses
them to restore pmrep functionality as intended, and adds support
for defining local context in the configuration file.
commit e2468441e9299ff6999957e48d83bfdbab165a01
Author: Nathan Scott
Date: Fri Jul 1 08:48:49 2016 +1000
build: fix setup py syntax, add openbsd platform
From myllynen@redhat.com Fri Jul 1 02:49:44 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id E706D7CA2
for ; Fri, 1 Jul 2016 02:49:43 -0500 (CDT)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay3.corp.sgi.com (Postfix) with ESMTP id 4B489AC005
for ; Fri, 1 Jul 2016 00:49:40 -0700 (PDT)
X-ASG-Debug-ID: 1467359376-04cb6c063c2efb90001-S8gJnT
Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by cuda.sgi.com with ESMTP id SPuWJpyVCSYr10jT (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Fri, 01 Jul 2016 00:49:37 -0700 (PDT)
X-Barracuda-Envelope-From: myllynen@redhat.com
X-Barracuda-Effective-Source-IP: mail-wm0-f52.google.com[74.125.82.52]
X-Barracuda-Apparent-Source-IP: 74.125.82.52
Received: by mail-wm0-f52.google.com with SMTP id a66so17226101wme.0
for ; Fri, 01 Jul 2016 00:49:37 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:reply-to:to:from:subject:organization:message-id
:date:user-agent:mime-version:content-transfer-encoding;
bh=UYD+NOmZJcs8VLjpvybEGRJxLPYby55rHTyM7VQvFe4=;
b=F6oURhM7GOKYGn/vSqP6yTIitBhcyMIU2O1DpB9L47BLjM6CU5tZx9GXzTVPVmEYxO
LhK8UWbMx5Y7YOjkHV9HiKjsaJV7XfzUF2v1/jB62FSatwt6Oj/UnCLFK406QDp8E1HU
faKyJ1WaxMo1ujAhdHfoO/8Al3FQ9SGS/Vgof00sQAWOPY9bYWxaVaTikVDVds4VevsQ
n6fuUHnPgOwaJZ7m5gOPtgi2PyfeKosWmF/YGzMFCpaJ7/RloFLsQtOOfH8a4SZ1ggFQ
ry0qW2yGPbqHgcxnzd2IH5gnqew518+P5i2hkTPc0QAqjXOHrLgalveRaH46uMT5Um5E
Lb+g==
X-Gm-Message-State: ALyK8tJ41kpLkxZF5fdOWyY4TSh/hsHy2ro0/GJPcotiPrlWQoaoaiigOVqkhN22wqR7A7DS
X-Received: by 10.195.11.163 with SMTP id ej3mr2409773wjd.130.1467359376054;
Fri, 01 Jul 2016 00:49:36 -0700 (PDT)
Received: from [192.168.1.100] (176-93-63-190.bb.dnainternet.fi. [176.93.63.190])
by smtp.gmail.com with ESMTPSA id wo9sm1571019wjb.8.2016.07.01.00.49.35
for
(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Fri, 01 Jul 2016 00:49:35 -0700 (PDT)
Reply-To: Marko Myllynen
To: pcp developers
From: Marko Myllynen
Subject: PCP Libvirt PMDA
Organization: Red Hat
X-ASG-Orig-Subj: PCP Libvirt PMDA
Message-ID: <5776208D.4030701@redhat.com>
Date: Fri, 1 Jul 2016 10:49:33 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
Thunderbird/38.8.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Barracuda-Connect: mail-wm0-f52.google.com[74.125.82.52]
X-Barracuda-Start-Time: 1467359377
X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256
X-Barracuda-URL: https://192.48.176.15:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 7879
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.30918
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
Hi,
There was discussion on IRC yesterday wrt PCP and Libvirt metrics. I
investigated the situation a bit and it turns out writing a PMDA for
Libvirt looks pretty straightforward.
Below is an example how it could be done (obviously not yet ready for
merging). There are few metrics of different types, VMs coming and
going are always identified by the same internal/external ID, and the
PMDA handles libvirt becoming un/available.
The next steps, if someone is interested to pursue this further, would
probably be evaluating the metrics to report (or perhaps to come up
with a scheme how to report everything available automagically) and to
see how those perf event metrics mentioned yesterday could be fetched.
I'm providing the needed files inline for easier copy-pasting.
# Install:
#! /bin/sh
#
# Copyright (c) 2016 Red Hat.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2 of the License, or (at your
# option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# Install the libvirt PMDA
#
. $PCP_DIR/etc/pcp.env
. $PCP_SHARE_DIR/lib/pmdaproc.sh
iam=libvirt
python_opt=true
daemon_opt=false
forced_restart=true
pmdaSetup
pmdaInstall
exit 0
# Remove:
#! /bin/sh
#
# Copyright (c) 2016 Red Hat.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2 of the License, or (at your
# option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# Remove the libirt PMDA
#
. $PCP_DIR/etc/pcp.env
. $PCP_SHARE_DIR/lib/pmdaproc.sh
iam=libvirt
pmdaSetup
pmdaRemove
exit 0
# pmdalibvirt.python
#!/usr/bin/pcp python
# pylint: disable=line-too-long,bad-continuation,too-many-public-methods
#
# Copyright (C) 2016 Marko Myllynen
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2 of the License, or (at your
# option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
""" PCP Libvirt Performance Metrics Domain Agent """
import libvirt
import libxml2
from ctypes import c_int
from pcp.pmapi import pmUnits
from pcp.pmda import PMDA, pmdaIndom, pmdaMetric
from cpmapi import PM_TYPE_32, PM_TYPE_U32, PM_TYPE_64, PM_TYPE_U64
from cpmapi import PM_TYPE_FLOAT, PM_TYPE_DOUBLE, PM_TYPE_STRING
from cpmapi import PM_SEM_COUNTER, PM_SEM_INSTANT, PM_SEM_DISCRETE
from cpmapi import PM_ERR_INST, PM_ERR_NOTCONN, PM_ERR_PMID
class LibvirtPMDA(PMDA):
""" PCP Libvirt PMDA """
def __init__(self, name, domain):
""" Initializer """
PMDA.__init__(self, name, domain)
self.connect_pmcd()
self.conn = self.connect_libvirt()
self.doms = None
self.vm_indom = self.indom(0)
self.vm_cluster = 0
self.vm_metrics = [
[ 'name', PM_TYPE_STRING ],
[ 'uuid', PM_TYPE_STRING ],
[ 'title', PM_TYPE_STRING ],
[ 'description', PM_TYPE_STRING ],
[ 'vcpu', PM_TYPE_U32 ],
]
self.vm_insts = pmdaIndom(self.vm_indom, [])
self.add_indom(self.vm_insts)
self.add_metric(name + '.' + self.vm_metrics[0][0], pmdaMetric(self.pmid(self.vm_cluster, 0),
self.vm_metrics[0][1], self.vm_indom, PM_SEM_DISCRETE,
pmUnits(0, 0, 0, 0, 0, 0)), 'VM name', 'VM name')
self.add_metric(name + '.' + self.vm_metrics[1][0], pmdaMetric(self.pmid(self.vm_cluster, 1),
self.vm_metrics[1][1], self.vm_indom, PM_SEM_DISCRETE,
pmUnits(0, 0, 0, 0, 0, 0)), 'VM UUID', 'VM UUID')
self.add_metric(name + '.' + self.vm_metrics[2][0], pmdaMetric(self.pmid(self.vm_cluster, 2),
self.vm_metrics[2][1], self.vm_indom, PM_SEM_DISCRETE,
pmUnits(0, 0, 0, 0, 0, 0)), 'VM title', 'VM title')
self.add_metric(name + '.' + self.vm_metrics[3][0], pmdaMetric(self.pmid(self.vm_cluster, 3),
self.vm_metrics[3][1], self.vm_indom, PM_SEM_DISCRETE,
pmUnits(0, 0, 0, 0, 0, 0)), 'VM desc', 'VM desc')
self.add_metric(name + '.' + self.vm_metrics[4][0], pmdaMetric(self.pmid(self.vm_cluster, 4),
self.vm_metrics[4][1], self.vm_indom, PM_SEM_INSTANT,
pmUnits(0, 0, 0, 0, 0, 0)), 'VM vCPUs', 'VM vCPUs')
self.set_fetch(self.libvirt_fetch)
self.set_fetch_callback(self.libvirt_fetch_callback)
def connect_libvirt(self):
""" Connect to libvirt """
conn = None
try:
conn = libvirt.openReadOnly(None)
except libvirt.libvirtError as error:
self.log("Failed to connect to the hypervisor: %s" % error)
return conn
def libvirt_fetch(self):
""" Fetch """
if not self.conn:
self.conn = self.connect_libvirt()
if not self.conn:
self.replace_indom(self.vm_indom, {"0":c_int(1)})
return
try:
self.doms = self.conn.listAllDomains(libvirt.VIR_CONNECT_LIST_DOMAINS_ACTIVE)
except libvirt.libvirtError as error:
self.log("Failed to list domains: %s" % error)
self.conn = None
return
insts = {}
for dom in self.doms:
ctx = libxml2.parseDoc(dom.XMLDesc()).xpathNewContext()
uuid = ctx.xpathEval("string(/domain/uuid)")
insts[uuid] = c_int(1)
self.vm_insts.set_instances(self.vm_indom, insts)
self.replace_indom(self.vm_indom, insts)
def libvirt_fetch_callback(self, cluster, item, inst):
""" Fetch callback """
if not self.conn:
return [PM_ERR_NOTCONN, 0]
if cluster == self.vm_cluster:
for dom in self.doms:
ctx = libxml2.parseDoc(dom.XMLDesc()).xpathNewContext()
uuid = self.vm_insts.inst_name_lookup(inst)
if uuid != ctx.xpathEval("string(/domain/uuid)"):
continue
try:
path = "string(/domain/" + self.vm_metrics[item][0] + ")"
value = ctx.xpathEval(path)
if self.vm_metrics[item][1] == PM_TYPE_FLOAT or \
self.vm_metrics[item][1] == PM_TYPE_DOUBLE:
value = float(value)
elif self.vm_metrics[item][1] != PM_TYPE_STRING:
value = int(value)
return [value, 1]
except:
return [PM_ERR_INST, 0]
return [PM_ERR_PMID, 0]
if __name__ == '__main__':
LibvirtPMDA('libvirt', 491).run()
Cheers,
--
Marko Myllynen
From bugzilla@redhat.com Fri Jul 1 10:40:49 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id 106277CA3
for ; Fri, 1 Jul 2016 10:40:49 -0500 (CDT)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay3.corp.sgi.com (Postfix) with ESMTP id 9105DAC003
for ; Fri, 1 Jul 2016 08:40:45 -0700 (PDT)
X-ASG-Debug-ID: 1467387638-04bdf074b4285240001-S8gJnT
Received: from smtp-mx-server-8.servers.netregistry.net (smtp-outgoing-68.servers.netregistry.net [202.124.241.68]) by cuda.sgi.com with ESMTP id F1PVeOQFES9ujmHI (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Fri, 01 Jul 2016 08:40:40 -0700 (PDT)
X-Barracuda-Envelope-From: bugzilla@redhat.com
X-Barracuda-RBL-Trusted-Forwarder: 202.124.241.68
Received: from mx1-phx2.redhat.com ([209.132.183.26])
by smtp-mx-server-8.servers.netregistry.net protocol: esmtps (Exim 4.84_2 #1 (Debian))
id 1bJ0YQ-0000UO-AB
for ; Sat, 02 Jul 2016 01:40:37 +1000
Received: from bugweb-04.app.bz.hst.phx2.redhat.com (bugweb-04.app.bz.hst.phx2.redhat.com [10.5.117.34])
by mx1-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u61Fe6G8049056
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO)
for ; Fri, 1 Jul 2016 11:40:16 -0400
X-Barracuda-Registry: Level1 [redhat.com/209.132.183.26]
X-Barracuda-Effective-Source-IP: mx1-phx2.redhat.com[209.132.183.26]
X-Barracuda-Apparent-Source-IP: 209.132.183.26
X-Barracuda-RBL-IP: 209.132.183.26
X-Barracuda-BBL-IP: 209.132.183.26
Received: from bugweb-04.app.bz.hst.phx2.redhat.com (localhost [127.0.0.1])
by bugweb-04.app.bz.hst.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u61FPY9q032307
for ; Fri, 1 Jul 2016 11:25:34 -0400
Received: (from apache@localhost)
by bugweb-04.app.bz.hst.phx2.redhat.com (8.14.4/8.14.4/Submit) id u61FPX7A032306;
Fri, 1 Jul 2016 11:25:33 -0400
X-Authentication-Warning: bugweb-04.app.bz.hst.phx2.redhat.com: apache set sender to bugzilla@redhat.com using -f
From: bugzilla@redhat.com
To: pcp@kenj.com.au
Subject: [Bug 1351787] pminfo --container=CODE proc.* metrics missing
Date: Fri, 01 Jul 2016 15:25:33 +0000
X-ASG-Orig-Subj: [Bug 1351787] pminfo --container=CODE proc.* metrics missing
Precedence: bulk
Auto-Submitted: auto-generated
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Classification: Fedora
X-Bugzilla-Product: Fedora
X-Bugzilla-Component: pcp
X-Bugzilla-Sub-Component:
X-Bugzilla-Version: 24
X-Bugzilla-Keywords:
X-Bugzilla-Severity: unspecified
X-Bugzilla-Who: fche@redhat.com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: unspecified
X-Bugzilla-Assigned-To: nathans@redhat.com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields:
X-Bugzilla-Comment: public
X-Bugzilla-Reporter: fche@redhat.com
X-Loop: bugzilla@redhat.com
X-BeenThere: bugzilla@redhat.com
Message-ID:
In-Reply-To:
References:
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: https://bugzilla.redhat.com/
MIME-Version: 1.0
X-Barracuda-Connect: smtp-outgoing-68.servers.netregistry.net[202.124.241.68]
X-Barracuda-Start-Time: 1467387639
X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256
X-Barracuda-URL: https://192.48.157.11:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 674
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, NO_REAL_NAME
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.30924
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.00 NO_REAL_NAME From: does not include a real name
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
https://bugzilla.redhat.com/show_bug.cgi?id=3D1351787
--- Comment #1 from Frank Ch. Eigler ---
A more portable way of looking up cgroups would be:
- get the pid# from pmdaroot (and cache it!)
- open /proc/$pid/cgroup
- find the line corresponding to the cgroup class of interest
for this pmda (pids):
e.g.: 10:pids:/system.slice/docker-HEXCODE.scope
- construct path =3D /sys/fs/cgroup/pids/system.slice/docker-HEXCODE.scope
- open $path/cgroup.procs (or /tasks)
--=20
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=3DmQzdtEp=
L6I&a=3Dcc_unsubscribe=
From alec@alectenharmsel.com Fri Jul 1 11:42:16 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level: ***
X-Spam-Status: No, score=3.0 required=5.0 tests=TVD_SUBJ_NUM_OBFU_MINFP,
T_DKIM_INVALID autolearn=no version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 110BF7CA3
for ; Fri, 1 Jul 2016 11:42:16 -0500 (CDT)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay2.corp.sgi.com (Postfix) with ESMTP id C934A304048
for ; Fri, 1 Jul 2016 09:42:12 -0700 (PDT)
X-ASG-Debug-ID: 1467391327-04cb6c063e3038c0001-S8gJnT
Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by cuda.sgi.com with ESMTP id BR9K3QKqnWQFal05 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 01 Jul 2016 09:42:07 -0700 (PDT)
X-Barracuda-Envelope-From: alec@alectenharmsel.com
X-Barracuda-Effective-Source-IP: out3-smtp.messagingengine.com[66.111.4.27]
X-Barracuda-Apparent-Source-IP: 66.111.4.27
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42])
by mailout.nyi.internal (Postfix) with ESMTP id 43DE520366;
Fri, 1 Jul 2016 12:42:07 -0400 (EDT)
Received: from frontend2 ([10.202.2.161])
by compute2.internal (MEProxy); Fri, 01 Jul 2016 12:42:07 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
messagingengine.com; h=cc:content-transfer-encoding:content-type
:date:from:in-reply-to:message-id:mime-version:references
:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=LcoRUDPDzGArLFx
xXO91RuQvzfM=; b=IjnCt9osihTntw7vlY3bdfY8dz5ukQHYRqjZscWJpIMyjDr
WODf7I8sG1znft1ZdKVrFPLZD9UoxQDUnJBD0cV8GbizkepnNlr4JPD+CetfwWAF
Ks4ktr9ZcQnjXcXzt2qZrNxoJ3lf7QZuCMan/7mB7cG+KKqdvmmZyACvrp0A=
X-Sasl-enc: gRA/iNtDtJF3D+wbbiThYlY8xMGRYqP6YNnaKbnYqYdb 1467391326
Received: from [35.2.160.55] (0587374647.wireless.umich.net [35.2.160.55])
by mail.messagingengine.com (Postfix) with ESMTPA id AA173CCDA7;
Fri, 1 Jul 2016 12:42:06 -0400 (EDT)
Subject: Re: [pcp] pcp2influxdb - a clone of pcp2graphite
To: Nathan Scott
X-ASG-Orig-Subj: Re: [pcp] pcp2influxdb - a clone of pcp2graphite
References: <20160630184840.GB880@apio.adsroot.itcs.umich.edu>
<1219763127.3321732.1467327849186.JavaMail.zimbra@redhat.com>
Cc: pcp@oss.sgi.com
From: Alec Ten Harmsel
Message-ID:
Date: Fri, 1 Jul 2016 12:42:08 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101
Thunderbird/45.1.1
MIME-Version: 1.0
In-Reply-To: <1219763127.3321732.1467327849186.JavaMail.zimbra@redhat.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Barracuda-Connect: out3-smtp.messagingengine.com[66.111.4.27]
X-Barracuda-Start-Time: 1467391327
X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384
X-Barracuda-URL: https://192.48.176.15:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 1285
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, DKIM_SIGNED, DKIM_VERIFIED
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.30925
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
-0.00 DKIM_VERIFIED Domain Keys Identified Mail: signature passes
verification
0.00 DKIM_SIGNED Domain Keys Identified Mail: message has a signature
On 6/30/2016 7:04 PM, Nathan Scott wrote:
> Hi Alec,
>
> ----- Original Message -----
>> Hi,
>>
>> We are working on switching from graphite to InfluxDB for metric
>> storage, mostly for performance reasons. In order to do this, I copied
>> pcp2graphite and did a bit of a re-write to get it sending metrics to
>> InfluxDB.
>>
>> InfluxDB has an HTTP API, which is the main way of sending data to it.
>> This patch handles cases with and without authentication.
>>
> Good stuff.
>
>> I'm not sure if this is something that you all would be interested in
>> adding to PCP or not; InfluxDB is not production ready yet, although a
>> 1.0 release is coming soon.
> Yes, definitely something we'd love to have in PCP.
Thank you for taking some time to look at it. Glad that we can help, too.
>> We've been testing it for a couple of days and have not had any issues
>> with the patch.
> The one thing the patch lacks is the influxdb equivalent of regression
> test pcp/qa/667 which would take pcp2influxdb through its paces. Could
> you add something like that little shell script, for influxdb?
>
I will certainly do this, but it'll take a few days. We are pretty busy
getting ready for some maintenance that will happen in a couple of weeks.
Alec
From kenj@internode.on.net Fri Jul 1 16:27:17 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id ABAAA7CA6
for ; Fri, 1 Jul 2016 16:27:17 -0500 (CDT)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay2.corp.sgi.com (Postfix) with ESMTP id 7FA01304048
for ; Fri, 1 Jul 2016 14:27:17 -0700 (PDT)
X-ASG-Debug-ID: 1467408430-04cb6c063e30c170001-S8gJnT
Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [150.101.137.129]) by cuda.sgi.com with ESMTP id TF51mpITtJ7pPATY for ; Fri, 01 Jul 2016 14:27:10 -0700 (PDT)
X-Barracuda-Envelope-From: kenj@internode.on.net
X-Barracuda-Effective-Source-IP: ipmail06.adl2.internode.on.net[150.101.137.129]
X-Barracuda-Apparent-Source-IP: 150.101.137.129
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Am8CAEDfdld20ViVEGdsb2JhbAANRgqEFHyGb7Q2God9AQEBAQEBBwEBAQEBAQEBPoU2VTAGAgUWCwILAwIBAgEbFicGAgEBvF5nkEGBAY4MdII1gloFmRCGCYp1jHKQCYRWXIh0AQEB
Received: from ppp118-209-88-149.bras1.mel11.internode.on.net (HELO [192.168.1.100]) ([118.209.88.149])
by ipmail06.adl2.internode.on.net with ESMTP; 02 Jul 2016 06:57:06 +0930
To: pcp@oss.sgi.com
Subject: pcp updates: some SLES11 SP4 on IA64 changes from grundy.sgi.com
From: Ken McDonell
X-ASG-Orig-Subj: pcp updates: some SLES11 SP4 on IA64 changes from grundy.sgi.com
Message-ID: <5776E01C.7030906@internode.on.net>
Date: Sat, 2 Jul 2016 07:26:52 +1000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
Thunderbird/38.8.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Barracuda-Connect: ipmail06.adl2.internode.on.net[150.101.137.129]
X-Barracuda-Start-Time: 1467408430
X-Barracuda-URL: https://192.48.176.15:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 1348
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.30933
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
Changes committed to git://git.pcp.io/kenj/pcp master
Ken McDonell (3):
build/rpm/pcp.spec.in: tweak SLES11 Requires for infiniband libs
qa/admin/whatami: small change for Arch Linux
qa/admin/check-vm: add another step to refine the manifest
build/rpm/pcp.spec.in | 6 +++---
qa/admin/check-vm | 22 ++++++++++++++++++++++
qa/admin/whatami | 3 +++
3 files changed, 28 insertions(+), 3 deletions(-)
Details ...
commit 48ac224f558c40d680750d8fbc659b31284b41ba
Author: Ken McDonell
Date: Fri Jul 1 19:53:37 2016 +1000
qa/admin/check-vm: add another step to refine the manifest
Based on hostname, we can now enumerage package artefacts that
identify packages that we cannot or should not install (for a variety
of reasons) on this particular host.
commit fe34504eba898e76f3ff4b67b8e190bbd1187c81
Author: Ken McDonell
Date: Fri Jul 1 19:53:15 2016 +1000
qa/admin/whatami: small change for Arch Linux
commit 2fbf4d209139522390b1b112adb6648846b5c553
Author: Ken McDonell
Date: Fri Jul 1 19:51:37 2016 +1000
build/rpm/pcp.spec.in: tweak SLES11 Requires for infiniband libs
The earth moved some wth SP4 ... changes from grundy-dmz after it was
rebuilt.
From envelope@ftp-master.debian.org Sun Jul 3 14:15:11 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 299077CA0
for ; Sun, 3 Jul 2016 14:15:11 -0500 (CDT)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay2.corp.sgi.com (Postfix) with ESMTP id F0ACA304032
for ; Sun, 3 Jul 2016 12:15:07 -0700 (PDT)
X-ASG-Debug-ID: 1467573299-04cb6c063e39faa0001-S8gJnT
Received: from muffat.debian.org (muffat.debian.org [206.12.19.146]) by cuda.sgi.com with ESMTP id zvI4kFJQFLpWpv5i (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sun, 03 Jul 2016 12:14:59 -0700 (PDT)
X-Barracuda-Envelope-From: envelope@ftp-master.debian.org
X-Barracuda-Effective-Source-IP: muffat.debian.org[206.12.19.146]
X-Barracuda-Apparent-Source-IP: 206.12.19.146
Received: from franck.debian.org ([138.16.160.12])
from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=franck.debian.org,EMAIL=hostmaster@franck.debian.org (verified)
by muffat.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.84_2)
(envelope-from )
id 1bJmqw-0003lC-Ex; Sun, 03 Jul 2016 19:14:50 +0000
Received: from alteholz by franck.debian.org with local (Exim 4.84_2)
(envelope-from )
id 1bJmqv-0001Sf-EU; Sun, 03 Jul 2016 19:14:49 +0000
From: Thorsten Alteholz
To: PCP Development Team , Nathan Scott
Cc: Debian FTP Masters
X-Debian: DAK
X-Debian-Package: pcp
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Subject: Comments regarding pcp_3.11.3_amd64.changes
Message-Id:
X-ASG-Orig-Subj: Comments regarding pcp_3.11.3_amd64.changes
Date: Sun, 03 Jul 2016 19:14:49 +0000
X-Barracuda-Connect: muffat.debian.org[206.12.19.146]
X-Barracuda-Start-Time: 1467573299
X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256
X-Barracuda-URL: https://192.48.176.15:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 396
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.30982
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
Hi Nathan,
I marked your package for accept, but please take care of all lintian errors like:
E: pcp source: depends-on-build-essential-package-without-using-version dpkg-dev [build-depends: dpkg-dev]
E: pcp source: build-depends-on-build-essential build-depends
E: pcp source: depends-on-build-essential-package-without-using-version g++ [build-depends: g++]
Thanks!
Thorsten
From envelope@ftp-master.debian.org Sun Jul 3 15:00:54 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 0EFE07CA2
for ; Sun, 3 Jul 2016 15:00:54 -0500 (CDT)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay2.corp.sgi.com (Postfix) with ESMTP id C8832304032
for ; Sun, 3 Jul 2016 13:00:53 -0700 (PDT)
X-ASG-Debug-ID: 1467576047-04cbb027374d7240001-S8gJnT
Received: from muffat.debian.org (muffat.debian.org [206.12.19.146]) by cuda.sgi.com with ESMTP id yJrbhdUz9Emcf6Rt (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sun, 03 Jul 2016 13:00:47 -0700 (PDT)
X-Barracuda-Envelope-From: envelope@ftp-master.debian.org
X-Barracuda-Effective-Source-IP: muffat.debian.org[206.12.19.146]
X-Barracuda-Apparent-Source-IP: 206.12.19.146
Received: from franck.debian.org ([138.16.160.12])
from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=franck.debian.org,EMAIL=hostmaster@franck.debian.org (verified)
by muffat.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.84_2)
(envelope-from )
id 1bJnZN-0006qu-Ao; Sun, 03 Jul 2016 20:00:45 +0000
Received: from dak by franck.debian.org with local (Exim 4.84_2)
(envelope-from )
id 1bJnZM-0000IU-64; Sun, 03 Jul 2016 20:00:44 +0000
From: Debian FTP Masters
To: PCP Development Team , Nathan Scott
X-DAK: dak process-policy
X-Debian: DAK
X-Debian-Package: pcp
Precedence: bulk
Auto-Submitted: auto-generated
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Subject: pcp_3.11.3_amd64.changes ACCEPTED into unstable, unstable
Message-Id:
X-ASG-Orig-Subj: pcp_3.11.3_amd64.changes ACCEPTED into unstable, unstable
Date: Sun, 03 Jul 2016 20:00:44 +0000
X-Barracuda-Connect: muffat.debian.org[206.12.19.146]
X-Barracuda-Start-Time: 1467576047
X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256
X-Barracuda-URL: https://192.48.176.25:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 14050
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.30984
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
Accepted:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 17 Jun 2016 13:03:43 +1000
Source: pcp
Binary: pcp pcp-conf libpcp3-dev libpcp3 libpcp-gui2-dev libpcp-gui2 libpcp-mmv1-dev libpcp-mmv1 libpcp-pmda3-dev libpcp-pmda3 libpcp-trace2-dev libpcp-trace2 libpcp-import1-dev libpcp-import1 python-pcp python3-pcp libpcp-pmda-perl libpcp-import-perl libpcp-logsummary-perl libpcp-mmv-perl pcp-import-sar2pcp pcp-import-ganglia2pcp pcp-import-mrtg2pcp pcp-import-sheet2pcp pcp-import-iostat2pcp pcp-import-collectl2pcp pcp-export-pcp2graphite pcp-export-zabbix-agent pcp-doc pcp-testsuite pcp-manager pcp-webapi pcp-gui pcp-pmda-infiniband
Architecture: source amd64 all
Version: 3.11.3
Distribution: unstable
Urgency: low
Maintainer: PCP Development Team
Changed-By: Nathan Scott
Description:
libpcp-gui2 - Performance Co-Pilot graphical client tools library
libpcp-gui2-dev - Performance Co-Pilot graphical client tools library and headers
libpcp-import-perl - Performance Co-Pilot log import Perl module
libpcp-import1 - Performance Co-Pilot data import library
libpcp-import1-dev - Performance Co-Pilot data import library and headers
libpcp-logsummary-perl - Performance Co-Pilot historical log summary module
libpcp-mmv-perl - Performance Co-Pilot Memory Mapped Value Perl module
libpcp-mmv1 - Performance Co-Pilot Memory Mapped Value client library
libpcp-mmv1-dev - Performance Co-Pilot Memory Mapped Value library and headers
libpcp-pmda-perl - Performance Co-Pilot Domain Agent Perl module
libpcp-pmda3 - Performance Co-Pilot Domain Agent library
libpcp-pmda3-dev - Performance Co-Pilot Domain Agent library and headers
libpcp-trace2 - Performance Co-Pilot application tracing library
libpcp-trace2-dev - Performance Co-Pilot application tracing library and headers
libpcp3 - Performance Co-Pilot library
libpcp3-dev - Performance Co-Pilot library and headers
pcp - System level performance monitoring and performance management
pcp-conf - Performance Co-Pilot runtime configuration
pcp-doc - Documentation and tutorial for the Performance Co-Pilot
pcp-export-pcp2graphite - Tool for exporting data from PCP to Graphite
pcp-export-zabbix-agent - Module for exporting PCP metrics to Zabbix agent
pcp-gui - Visualisation tools for the Performance Co-Pilot toolkit
pcp-import-collectl2pcp - Tool for importing data from collectl into PCP archive logs
pcp-import-ganglia2pcp - Tool for importing data from ganglia into PCP archive logs
pcp-import-iostat2pcp - Tool for importing data from iostat into PCP archive logs
pcp-import-mrtg2pcp - Tool for importing data from MRTG into PCP archive logs
pcp-import-sar2pcp - Tool for importing data from sar into PCP archive logs
pcp-import-sheet2pcp - Tool for importing data from a spreadsheet into PCP archive logs
pcp-manager - Performance Co-Pilot (PCP) manager daemon
pcp-pmda-infiniband - Infiniband performance metrics domain agent (PMDA)
pcp-testsuite - Performance Co-Pilot (PCP) Test Suite
pcp-webapi - Performance Co-Pilot (PCP) web API service
python-pcp - Performance Co-Pilot Python PMAPI module
python3-pcp - Performance Co-Pilot Python3 PMAPI module
Changes:
pcp (3.11.3) unstable; urgency=low
.
* New release (full details in CHANGELOG).
Checksums-Sha1:
93eb93db9890e352561b930c9f28aaa9f268c7e2 4119 pcp_3.11.3.dsc
e63a0b7c04991dc92dcb53ad0ba75e01b7d5004a 12246180 pcp_3.11.3.tar.xz
1527f48cf671d91b3c0fa321d136c71aee385a91 16914 libpcp-gui2-dev_3.11.3_amd64.deb
12dbad06574e29217186d15cf503a14a9a05a71b 15754 libpcp-gui2_3.11.3_amd64.deb
5119a499026034e4042eb8a154fee28e65a0d77a 17454 libpcp-import-perl_3.11.3_amd64.deb
4ebf9b04a749e37dda3f2cd0f6bef2f4b29da7f3 16906 libpcp-import1-dev_3.11.3_amd64.deb
5e1091d1a65f8b71d4946a6d440845a980bf2cf5 16452 libpcp-import1_3.11.3_amd64.deb
b5017e5c0b435ef4b4f4d27fe3baed2b6b6bf71c 11618 libpcp-logsummary-perl_3.11.3_amd64.deb
00a71c8197dfd9e62a843cda1693ea59c4ee2b3b 18536 libpcp-mmv-perl_3.11.3_amd64.deb
42d0c07c41232f3df3675fe535af21e5e11ecd68 19354 libpcp-mmv1-dev_3.11.3_amd64.deb
b7255cd09e8c5b19d98f47db255e27fd0a2beefc 12618 libpcp-mmv1_3.11.3_amd64.deb
ca0e64a9ee031016f8eababf46a6621b1ee843b6 41958 libpcp-pmda-perl_3.11.3_amd64.deb
e707d7e97db78d7b0ebde2d18ac434689c494545 106604 libpcp-pmda3-dev_3.11.3_amd64.deb
1ce460b8f0b5279c58dbe0b6bac3ad1d9f116226 40776 libpcp-pmda3_3.11.3_amd64.deb
635ceeccc38007b96f0dd22f4106e170831a5196 27526 libpcp-trace2-dev_3.11.3_amd64.deb
34a0410ef592e14df79cd36b3e443ac9df63d7e5 20214 libpcp-trace2_3.11.3_amd64.deb
3a480f57c3a8354539b831b3c0cf2b5185b96a63 453694 libpcp3-dev_3.11.3_amd64.deb
85564782bd4a0477fe0a4061400dce5b4e018603 207440 libpcp3_3.11.3_amd64.deb
8cd9415693115b1c8cf14c241108d4000672eb22 19066 pcp-conf_3.11.3_amd64.deb
1a6904df04ed49dd6b8a48508902a5eaefcdf4ce 4610564 pcp-doc_3.11.3_all.deb
f5e2b64e53a2d446d17c31f07fef2e3d87e1dfe1 12550 pcp-export-pcp2graphite_3.11.3_amd64.deb
d21a3a3dd41c9ba04acda8cf22d73bc696192a6c 12636 pcp-export-zabbix-agent_3.11.3_amd64.deb
3ecf3b621a3458afafb96ed17fa8849f21b679a1 646028 pcp-gui_3.11.3_amd64.deb
e8d9583eac739c68a46f3f25302813dbd9cca1b5 25902 pcp-import-collectl2pcp_3.11.3_amd64.deb
c51952797142bd3af7d63bc2119763a3e316cb0a 14506 pcp-import-ganglia2pcp_3.11.3_all.deb
778c3b619a4ae8315747593e2312d1b47d65b457 16536 pcp-import-iostat2pcp_3.11.3_all.deb
84b0c48e262eefa6a8cf70ccf6d63a718bcfb12f 9612 pcp-import-mrtg2pcp_3.11.3_all.deb
4ad14ca74246d9cdf791094bbaee5b4a58edd63b 15508 pcp-import-sar2pcp_3.11.3_all.deb
aca95a485ac49eeb21c181040aae6cf7eb70dbd3 16184 pcp-import-sheet2pcp_3.11.3_all.deb
7f0f76610ed5d4a23d000ab0cd2776e8604a53fe 57186 pcp-manager_3.11.3_amd64.deb
97d9879c188cb7eaa539a27e367b40c7ad18caed 21040 pcp-pmda-infiniband_3.11.3_amd64.deb
205715813ad706c31b10a62fcd4e5a610bda3ad5 3989820 pcp-testsuite_3.11.3_amd64.deb
5a4b3bf7f8ed8b9e48817c8dc1115a154475f2d3 100512 pcp-webapi_3.11.3_amd64.deb
495958309f1a96195eb459f0909eed545e02a91d 1705702 pcp_3.11.3_amd64.deb
48c736a1f0748d7b426bb233c29bce7dbdf745cc 58480 python-pcp_3.11.3_amd64.deb
d84a326b8240c87fecb21a091789353647c32b9e 58596 python3-pcp_3.11.3_amd64.deb
Checksums-Sha256:
8716b070305032d5353aba5f04689271f3d2b1d3ab4208de8086f26f2254a35c 4119 pcp_3.11.3.dsc
b967c9668dd83814370968e95775a9cac67bc053585954350ae3b8e2602b659c 12246180 pcp_3.11.3.tar.xz
1ba8d6018949421ced7848cade981241f557d6c206f416bcb59580061b82153c 16914 libpcp-gui2-dev_3.11.3_amd64.deb
52b002e43f862a0d6bfefc4c8325e56e28f1458165ff47626835c2f9e1d1aee6 15754 libpcp-gui2_3.11.3_amd64.deb
e70672109c860c8bbcfcbe7b80ebe5d5463ed00b44129cc3b8cfae15718027f1 17454 libpcp-import-perl_3.11.3_amd64.deb
9f591a0d59b7656a13d6582849fef292ffc13c16fbeb2a1deaa08a28771ca969 16906 libpcp-import1-dev_3.11.3_amd64.deb
e1fc8fe7338aabd30f1d52a9f41b57f0b53b3f366c4b66bdf9c2fb7a5b75ffaa 16452 libpcp-import1_3.11.3_amd64.deb
40dc87730c3ef2fad9123e05075a0f66c184ec5127545fcb047c217b56f8bc4a 11618 libpcp-logsummary-perl_3.11.3_amd64.deb
11f890101d7ec729ffc953ec27c588acb3fecdb695d643695e03e6592ab348b1 18536 libpcp-mmv-perl_3.11.3_amd64.deb
20088479a5a8819d6e9bdc99cfe65d50090d28d0562a257029b093227b8e8985 19354 libpcp-mmv1-dev_3.11.3_amd64.deb
5a9a9224a3c0a4f4624d319ffdd7b974d6803b67474d8192155bacae236842fd 12618 libpcp-mmv1_3.11.3_amd64.deb
ae32a641892fa40353da819ec4b1e15f58930e954628e3e25b1a807d2814742e 41958 libpcp-pmda-perl_3.11.3_amd64.deb
1652c82b650b65f5a175d65a8a2bfa29238dfa5ca4791e374eaad2f2d8dfa0e8 106604 libpcp-pmda3-dev_3.11.3_amd64.deb
ba82b2af1dc5adf191790754363aac58653fb31bb0c4547dd8a88cbe247de717 40776 libpcp-pmda3_3.11.3_amd64.deb
d014b4ab0f26da904c76cf04a6500fe202076475d294a404a98a8b4e80985103 27526 libpcp-trace2-dev_3.11.3_amd64.deb
f04b5013daf22e0bff4dc7e22b820637023834bcd61a8008feb6fd3a3ff5bede 20214 libpcp-trace2_3.11.3_amd64.deb
ea317ee3a14b164c528ccc9ac0135cf52d03142ba0f15d01fa406c42eceeb956 453694 libpcp3-dev_3.11.3_amd64.deb
b6796ecbf99539f2bf2711b2029a4965bfe70e7063ad7c8d2fd30c2516a1a847 207440 libpcp3_3.11.3_amd64.deb
69abfdc6bd45a29b2e9223b8ef8092cc149071c68a87502c3bdf211151d4cee1 19066 pcp-conf_3.11.3_amd64.deb
fd8c09cfe02a49714f3e0c25f84e72a466633aefd540a2dc094f420af70de2ff 4610564 pcp-doc_3.11.3_all.deb
17dbe6a22662831c78958dbed71f88ad34b0d65cb7eb52af052ca7e6f6dd3aeb 12550 pcp-export-pcp2graphite_3.11.3_amd64.deb
35b40d756134292b4ef4605b6e89e5ee11a3fc4ebd5afd169df36e7accf0f194 12636 pcp-export-zabbix-agent_3.11.3_amd64.deb
a119cc4f5583bc6e46a4db008268407d77d7418423af03eed779b5766efd83c2 646028 pcp-gui_3.11.3_amd64.deb
3e093c5056992312e4a86c221c0291c52c294a2a8d519a3b738174d9adf91f5f 25902 pcp-import-collectl2pcp_3.11.3_amd64.deb
a620ce344e9d77904e88b9cc7920a59083b27c5302055664ed1f4d4c5dfb1199 14506 pcp-import-ganglia2pcp_3.11.3_all.deb
9f36beb724874f0792c17cff4d2c84dc53244d7915cd99e7669710b17b22a24f 16536 pcp-import-iostat2pcp_3.11.3_all.deb
4181096be1b4cad0818933a9e785e25dac5f2700f124203b1aa0d5f123422572 9612 pcp-import-mrtg2pcp_3.11.3_all.deb
fd5e2faf4e525cfb2d2114199524d1e272d722f5ce0ef1812921948ac71d8f7d 15508 pcp-import-sar2pcp_3.11.3_all.deb
fd538412324109af4e15e45eb80ba1e842d5ea4452fe6808ae9ee5c276e02a8f 16184 pcp-import-sheet2pcp_3.11.3_all.deb
c8bc1bf182ef6ed775f56883c4480bcf8eedad0c2417090d674e1ea73301ea37 57186 pcp-manager_3.11.3_amd64.deb
99fc95f520276238645c62e7365899bd94d2ddf68972d6e48ae03b1460a41a5b 21040 pcp-pmda-infiniband_3.11.3_amd64.deb
dd7932fadb51a5584e8d66c16fb102f3e24fe768ee80e8f2f5d4588d0b4483c9 3989820 pcp-testsuite_3.11.3_amd64.deb
90f30fe1f4f8e28933dffffbebb9fa2768961d171f6c5ec5a939b5e6a03abad2 100512 pcp-webapi_3.11.3_amd64.deb
1ca3eda2b8197bfb43c6629e81b911174ccd349bc52c9091cc287eadbd7340c2 1705702 pcp_3.11.3_amd64.deb
cf0fcd29a3963116a52623022e7ec756abbd9e89a68adddd65064f9e06cb89ef 58480 python-pcp_3.11.3_amd64.deb
7653adbe2fad140625fcd3f2b28efe986cf9cd966b18a325c0ad6b142c9ffd68 58596 python3-pcp_3.11.3_amd64.deb
Files:
04653c9ec56b115622882667fffde23b 4119 utils extra pcp_3.11.3.dsc
e2bc332e555158ac94e7854fb8d39d0c 12246180 utils extra pcp_3.11.3.tar.xz
3baabc35bd39b3465202160cf8289969 16914 libdevel extra libpcp-gui2-dev_3.11.3_amd64.deb
1fa00ae2064d6852142e5a0ef1616e92 15754 libs extra libpcp-gui2_3.11.3_amd64.deb
5af3fe8956adee1aa50b31ccdf1dd151 17454 perl extra libpcp-import-perl_3.11.3_amd64.deb
5ceaa4ac95b0ad5b0f357d688dd194a2 16906 libdevel extra libpcp-import1-dev_3.11.3_amd64.deb
c6a3bc577fb7a4b5ae70b1d4f086e74c 16452 libs extra libpcp-import1_3.11.3_amd64.deb
73b222735a4132e00449c49451f5c51c 11618 perl extra libpcp-logsummary-perl_3.11.3_amd64.deb
5e17f9baa56dfad15ef333663a2107e4 18536 perl extra libpcp-mmv-perl_3.11.3_amd64.deb
5b4a25074bcd74b0405298fd204b662d 19354 libdevel extra libpcp-mmv1-dev_3.11.3_amd64.deb
66c1d23fe4b49ccf6ec906c0a57607e5 12618 libs extra libpcp-mmv1_3.11.3_amd64.deb
cc0306436c93659858c0bf95b1201dea 41958 perl extra libpcp-pmda-perl_3.11.3_amd64.deb
1a5197fc0186441173855ddbd5acdb40 106604 libdevel extra libpcp-pmda3-dev_3.11.3_amd64.deb
26a8f14168e37f73ac65bcbb154eb0ef 40776 libs extra libpcp-pmda3_3.11.3_amd64.deb
75e7e14d156178c722b5d07fb8a62623 27526 libdevel extra libpcp-trace2-dev_3.11.3_amd64.deb
b458acd43ce3f8a514e0444c83d67c1e 20214 libs extra libpcp-trace2_3.11.3_amd64.deb
c0d8f9b20106dd1cba766f13047b8262 453694 libdevel extra libpcp3-dev_3.11.3_amd64.deb
1772d1c91dec1a8c6b589082b989ecfb 207440 libs extra libpcp3_3.11.3_amd64.deb
abcaf4868e19f10a66539fce14bdc921 19066 libs extra pcp-conf_3.11.3_amd64.deb
dfde4b68f835e26ca9073bd6180bf3bf 4610564 doc extra pcp-doc_3.11.3_all.deb
9e4cd557821e4031e3b1a82475ef107c 12550 utils extra pcp-export-pcp2graphite_3.11.3_amd64.deb
7bdbc75226556d4d67b93b7e4803163c 12636 utils extra pcp-export-zabbix-agent_3.11.3_amd64.deb
27372145ab1c7528b38a71c7f9aa68be 646028 utils extra pcp-gui_3.11.3_amd64.deb
1619df5baed7dae023d7d53708b60398 25902 utils extra pcp-import-collectl2pcp_3.11.3_amd64.deb
2676902608070877c75de8a7ffd709dc 14506 utils extra pcp-import-ganglia2pcp_3.11.3_all.deb
5f18cb83deaa5e11c98aa7e0fb35040c 16536 utils extra pcp-import-iostat2pcp_3.11.3_all.deb
248cdc5cd3f14a1be6a7b2c2b50ded79 9612 utils extra pcp-import-mrtg2pcp_3.11.3_all.deb
e8265fbafb5543707a95b1d9566d9e3f 15508 utils extra pcp-import-sar2pcp_3.11.3_all.deb
101856ee340cf14fca322f085b7e38b9 16184 utils extra pcp-import-sheet2pcp_3.11.3_all.deb
7d3e8910e9a277c2287a15e95e2ef710 57186 utils extra pcp-manager_3.11.3_amd64.deb
7a30ba59082d55ac7dfc9b9d23549857 21040 utils extra pcp-pmda-infiniband_3.11.3_amd64.deb
fd8cba105020fb88bfabfe9655d7e2b2 3989820 utils extra pcp-testsuite_3.11.3_amd64.deb
2c3855fdaa688cba2b2323064e4887cc 100512 utils extra pcp-webapi_3.11.3_amd64.deb
0f2a8fed162ef897f8e7f273fcfd8fc1 1705702 utils extra pcp_3.11.3_amd64.deb
83614dd76e16edf5da1b9a4d01ce3c69 58480 python extra python-pcp_3.11.3_amd64.deb
d0814525ea27058ace7b9b6d7f0fc874 58596 python extra python3-pcp_3.11.3_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJXaLmVAAoJEP4IQu423YwM5KkP/3tNRMpVzAw+cLM0+91Vnqdp
8KxuC5r0US81V/pEvJjWVzVPckSWvUgVeZ2GxaGtN9LWisPA2lgkhr6ZblF91Zxg
drTSAl62qqSl1fo7ufuRezOqr1c5kd81kwlt0EVoxDBUW2imdeM6dqJGmGDKxArr
Fh6+GxXRLxs4HKf4bFrI436fVaDwKpF6pTCVDfNSB1SLYLmi8bzEv3BuPs/4w8Jj
wePmYFFpwf1ds0f8143ItAPUbPW8Eahfr9qMH4b2Si/m4Ez0+5/4fjWLr4JFeNGR
yWMLbUWypiljVY2G1VM5xwjfnp9rCe0GCFjK3IqcTBBbnZjK9MiQ1eb4ELurNTk7
H6jOKa+RzqVHgQ1xaHf8XHPOlGNXlG0j+LRGhBFmDG3xQRZvj+V3siE1eeKNMWWI
j12b+B3mbwhTJ+4b07ocPXKYbYgUM1Sj7Un6dKYv/UnMTgnA3aYIS1dBEe0D+YY0
vFkn/UFCp2vtWy/oYVrTbb0RyCsW/RXCTSHRRUoPgl/FTeCDiNe6Z8lMNMs975V2
GBkAhZjSuLkN6u0c1aA3SIHL04UGkkzTXiAWbfGaJ/Tpo4CvOvfJlssL2gI+U9W/
bjRCEwD+QV+5ilAljWEABBPccbAxb8fU/4Mcixo4MwrzcbIVtIoSl1Uh2j/Q7BrX
N3776haOg5kXxsRPdkRT
=OyBP
-----END PGP SIGNATURE-----
Thank you for your contribution to Debian.
From nscott@redhat.com Sun Jul 3 20:52:25 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id 3B2727CA7
for ; Sun, 3 Jul 2016 20:52:25 -0500 (CDT)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay1.corp.sgi.com (Postfix) with ESMTP id F2F598F8035
for ; Sun, 3 Jul 2016 18:52:21 -0700 (PDT)
X-ASG-Debug-ID: 1467597136-04cbb027384e3b10001-S8gJnT
Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by cuda.sgi.com with ESMTP id cbKE2oWfVMfTWWjY (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 03 Jul 2016 18:52:16 -0700 (PDT)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Effective-Source-IP: mx4-phx2.redhat.com[209.132.183.25]
X-Barracuda-Apparent-Source-IP: 209.132.183.25
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u641px58003632;
Sun, 3 Jul 2016 21:51:59 -0400
Date: Sun, 3 Jul 2016 21:51:59 -0400 (EDT)
From: Nathan Scott
Reply-To: Nathan Scott
To: Thorsten Alteholz
Cc: PCP Development Team
Message-ID: <390610399.3550789.1467597119531.JavaMail.zimbra@redhat.com>
In-Reply-To:
References:
Subject: Re: [pcp] Comments regarding pcp_3.11.3_amd64.changes
MIME-Version: 1.0
X-ASG-Orig-Subj: Re: [pcp] Comments regarding pcp_3.11.3_amd64.changes
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.64.50.100]
X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF47 (Linux)/8.0.6_GA_5922)
Thread-Topic: Comments regarding pcp_3.11.3_amd64.changes
Thread-Index: 4v9YdATSk5SOyfcp+ueEq6zIPAE4Yg==
X-Barracuda-Connect: mx4-phx2.redhat.com[209.132.183.25]
X-Barracuda-Start-Time: 1467597136
X-Barracuda-Encrypted: DHE-RSA-AES256-SHA
X-Barracuda-URL: https://192.48.176.25:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 1093
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.30992
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
----- Original Message -----
> Hi Nathan,
>
> I marked your package for accept, but please take care of all lintian errors
> like:
> E: pcp source: depends-on-build-essential-package-without-using-version
> dpkg-dev [build-depends: dpkg-dev]
> E: pcp source: build-depends-on-build-essential build-depends
> E: pcp source: depends-on-build-essential-package-without-using-version g++
> [build-depends: g++]
>
Great, thanks Thorsten - and yep, I'll clean those up in the next upload.
In the next version of PCP there's likely to be a new pcp-export-influxdb
sub-package ... I wonder if there's any way we can streamline these pcp sub
package additions to the Debian archive? (or is it OK as-is?)
I could send you a note describing just the new sub-package details if that
helps? (everything else is likely to be as before in terms of packaging,
licensing, etc - re-reviewing all of PCP may not be required & is probably
quite time consuming for you).
Anyway, lemme know if there's anything I can do to make that process easier.
cheers.
--
Nathan
From nscott@redhat.com Sun Jul 3 22:02:33 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id BAF6C7CA7
for ; Sun, 3 Jul 2016 22:02:33 -0500 (CDT)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay3.corp.sgi.com (Postfix) with ESMTP id 09120AC001
for ; Sun, 3 Jul 2016 20:02:29 -0700 (PDT)
X-ASG-Debug-ID: 1467601346-04cbb027364e7dd0001-S8gJnT
Received: from mx5-phx2.redhat.com (mx5-phx2.redhat.com [209.132.183.37]) by cuda.sgi.com with ESMTP id Feb3TlPIDu7CXEgD (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sun, 03 Jul 2016 20:02:27 -0700 (PDT)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Effective-Source-IP: mx5-phx2.redhat.com[209.132.183.37]
X-Barracuda-Apparent-Source-IP: 209.132.183.37
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx5-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u6432MjU038887;
Sun, 3 Jul 2016 23:02:22 -0400
Date: Sun, 3 Jul 2016 23:02:21 -0400 (EDT)
From: Nathan Scott
Reply-To: Nathan Scott
To: Alec Ten Harmsel
Cc: pcp@oss.sgi.com
Message-ID: <343267617.3556068.1467601341893.JavaMail.zimbra@redhat.com>
In-Reply-To:
References: <20160630184840.GB880@apio.adsroot.itcs.umich.edu> <1219763127.3321732.1467327849186.JavaMail.zimbra@redhat.com>
Subject: Re: [pcp] pcp2influxdb - a clone of pcp2graphite
MIME-Version: 1.0
X-ASG-Orig-Subj: Re: [pcp] pcp2influxdb - a clone of pcp2graphite
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.64.50.100]
X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF47 (Linux)/8.0.6_GA_5922)
Thread-Topic: pcp2influxdb - a clone of pcp2graphite
Thread-Index: k4Lzu3NmaKZCvmttV0ld4uCLIQPjvQ==
X-Barracuda-Connect: mx5-phx2.redhat.com[209.132.183.37]
X-Barracuda-Start-Time: 1467601347
X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384
X-Barracuda-URL: https://192.48.176.25:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 712
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.30993
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
Hi Alec,
----- Original Message -----
> [...]
> >> We've been testing it for a couple of days and have not had any issues
> >> with the patch.
> > The one thing the patch lacks is the influxdb equivalent of regression
> > test pcp/qa/667 which would take pcp2influxdb through its paces. Could
> > you add something like that little shell script, for influxdb?
> >
>
> I will certainly do this, but it'll take a few days. We are pretty busy
> getting ready for some maintenance that will happen in a couple of weeks.
>
OK, thanks and no problem. Let me know if any assistance is needed there -
there's some high level notes about the test scripts in qa/README too.
cheers.
--
Nathan
From kenj@internode.on.net Mon Jul 4 00:35:18 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level: **
X-Spam-Status: No, score=3.0 required=5.0 tests=TVD_SUBJ_NUM_OBFU_MINFP
autolearn=no version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 8483D7CA7
for ; Mon, 4 Jul 2016 00:35:18 -0500 (CDT)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay2.corp.sgi.com (Postfix) with ESMTP id 49563304039
for ; Sun, 3 Jul 2016 22:35:15 -0700 (PDT)
X-ASG-Debug-ID: 1467610506-04cbb027364f0740001-S8gJnT
Received: from ipmail05.adl6.internode.on.net (ipmail05.adl6.internode.on.net [150.101.137.143]) by cuda.sgi.com with ESMTP id cnOUgNmEM702iXyO for ; Sun, 03 Jul 2016 22:35:07 -0700 (PDT)
X-Barracuda-Envelope-From: kenj@internode.on.net
X-Barracuda-Effective-Source-IP: ipmail05.adl6.internode.on.net[150.101.137.143]
X-Barracuda-Apparent-Source-IP: 150.101.137.143
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A2CTAQCE9HlXEJVY0XYNTYQUfIZvskSBeRqHZhQBAQEBAQEBBgEBAQEBAQEBPoU2VTAGAgUWCwILAwIBAgEbFicGAgEBuVFnj2uBAY8AgjWCWgWZE4YJkUeGIZAKHoQ4XIkMAQEB
Received: from ppp118-209-88-149.bras1.mel11.internode.on.net (HELO [192.168.1.100]) ([118.209.88.149])
by ipmail05.adl6.internode.on.net with ESMTP; 04 Jul 2016 15:05:04 +0930
To: pcp@oss.sgi.com
Subject: pcp updates: qa and collectl2pcp fixes
From: Ken McDonell
X-ASG-Orig-Subj: pcp updates: qa and collectl2pcp fixes
Message-ID: <5779F588.2060103@internode.on.net>
Date: Mon, 4 Jul 2016 15:35:04 +1000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
Thunderbird/38.8.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Barracuda-Connect: ipmail05.adl6.internode.on.net[150.101.137.143]
X-Barracuda-Start-Time: 1467610507
X-Barracuda-URL: https://192.48.176.25:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 2839
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.30995
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
Changes committed to git://git.pcp.io/kenj/pcp master
Ken McDonell (6):
qa/083: cleanup properly
qa/706: separate output for each multifetch process
qa/544: replace checksums by full output in .out file
qa/151: fix small error in diagnostics capture
qa/182: save the diagnostic output in $seq.full
collectl2pcp and qa/544: fix metadata and overflow issues, better QA
qa/083 | 4
qa/083.out | 1
qa/151 | 2
qa/182 | 2
qa/544 | 162
qa/544.out |10899 ++++++++++++++++++++++++++++++++++++++++++++-
qa/706 | 13
qa/706.out | 24
src/collectl2pcp/metrics.c | 42
src/collectl2pcp/proc.c | 4
10 files changed, 10911 insertions(+), 242 deletions(-)
Details ...
commit abbc73b4ca3fb5c632a3cd7e1c18b159117696f6
Author: Ken McDonell
Date: Mon Jul 4 15:29:57 2016 +1000
collectl2pcp and qa/544: fix metadata and overflow issues, better QA
Some metrics were just plain wrong. Some were wrong on 32-bit
platforms.
Extended qa/544 to compare values from pminfo and collectl for
randomly chosen metrics and instances.
commit ea37683095fbf7d3a285fe622773c180824bd3dc
Author: Ken McDonell
Date: Mon Jul 4 06:09:32 2016 +1000
qa/182: save the diagnostic output in $seq.full
commit af87b08c35dba468e1e63ad85bf7a360bd5abfe2
Author: Ken McDonell
Date: Mon Jul 4 06:08:01 2016 +1000
qa/151: fix small error in diagnostics capture
commit 9ac1e83ea57bb913aeef45fc4b2a0561d0bf3ec7
Author: Ken McDonell
Date: Sun Jul 3 06:57:59 2016 +1000
qa/544: replace checksums by full output in .out file
Checksums are good for keeping the .out file small, but when
a test fails there is insufficient information to debug it.
commit bd8d58577bd8e31fcbda1979f7a13db19ed369f1
Author: Ken McDonell
Date: Sun Jul 3 06:31:25 2016 +1000
qa/706: separate output for each multifetch process
This looked like it may have been done at some point in the past and
then regressed with subsequent changes.
This test is failing sporadically and this may help diagnose the
reason.
commit e85d9225dc573e656760aec83395063b991288e0
Author: Ken McDonell
Date: Sat Jul 2 20:54:14 2016 +1000
qa/083: cleanup properly
We end up with a non-standard primary pmlogger that needs to be killed
off ... prior to this change this test (083) was reliably causing
test 119 to fail (later on in a full QA run) on almost all hosts.
From myllynen@redhat.com Mon Jul 4 03:11:08 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id B12DD7CB0
for ; Mon, 4 Jul 2016 03:11:08 -0500 (CDT)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay1.corp.sgi.com (Postfix) with ESMTP id 84DA38F8039
for ; Mon, 4 Jul 2016 01:11:05 -0700 (PDT)
X-ASG-Debug-ID: 1467619858-04cb6c063c3b92c0001-S8gJnT
Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by cuda.sgi.com with ESMTP id TVCc68IJgNZ2FZjr (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Mon, 04 Jul 2016 01:10:59 -0700 (PDT)
X-Barracuda-Envelope-From: myllynen@redhat.com
X-Barracuda-Effective-Source-IP: mail-wm0-f51.google.com[74.125.82.51]
X-Barracuda-Apparent-Source-IP: 74.125.82.51
Received: by mail-wm0-f51.google.com with SMTP id z126so31568270wme.0
for ; Mon, 04 Jul 2016 01:10:59 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:reply-to:to:from:subject:organization:message-id
:date:user-agent:mime-version:content-transfer-encoding;
bh=DNcQff0z9AG7rR8dGCFR3H+av9zjxuryJhCrCaVW9mw=;
b=cCzjr2ysGsUEYK05ylJLZXPZWnRnZ481zbogRglY0vrosBgXELus8gK5O3dG+kT+kW
YlH2gJALpmXZE32MLzpBoLavKXDlG6FHveMTU7viLjxYqyhMQ0xuY1W2elYZ5hLtmnsm
DcT79A40Nsddyp37N2fxW3oMunchX3XnUvE9Qp46byEnWi7fdwt5q9Wt3GJ4tGdw5JkV
GpgYoGX3LYLHJBIFAwLMi4zY9j/my/gwdj7CyarIDJRFYGP8fKkVzVCedX+2oyHmSEaB
24ERyDJimezySu0CXhQ744XZ0kU8wAyIsbevHFeJhEKJWyzq0qdIjH9YStVW+cin/i7v
qhUg==
X-Gm-Message-State: ALyK8tKsLU1tqVPC5THok/Gva1BRYbO2bFH4Ws/FzWriUTcDGWrcWHu9axKFn/icSRVrbLJ3
X-Received: by 10.194.81.138 with SMTP id a10mr10559896wjy.53.1467619857655;
Mon, 04 Jul 2016 01:10:57 -0700 (PDT)
Received: from [192.168.1.100] (37-33-161-77.bb.dnainternet.fi. [37.33.161.77])
by smtp.gmail.com with ESMTPSA id d137sm3464056wmd.12.2016.07.04.01.10.56
for
(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Mon, 04 Jul 2016 01:10:56 -0700 (PDT)
Reply-To: Marko Myllynen
To: pcp developers
From: Marko Myllynen
Subject: Reporting archive timezone
Organization: Red Hat
X-ASG-Orig-Subj: Reporting archive timezone
Message-ID: <577A1A0F.4010708@redhat.com>
Date: Mon, 4 Jul 2016 11:10:55 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
Thunderbird/38.8.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Barracuda-Connect: mail-wm0-f51.google.com[74.125.82.51]
X-Barracuda-Start-Time: 1467619858
X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256
X-Barracuda-URL: https://192.48.176.15:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 6070
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.30998
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
Hi,
It seems that reporting of timezone from archives is not consistent
across PCP tools (pmval/pmdumptext/pmrep) when not using -Z or -z.
The QA archives pcp-atop and pcp-vmstat can be used as test cases, they
are from AEST-10/AEDT-11 as both pmdumplog(1) and pmrep(1) confirm
(using -z, both also include the mem.util.slab metric). Below is the
info shown by pmrep(1) for the pcp-vmstat archive today:
archive: pcp-vmstat
timezone: AEDT-11 (reporting, local is EEST-3)
start: Mon Feb 15 15:53:01 2016
end: Mon Feb 15 15:53:05 2016
The issue is that when the archive was created the timezone here was
not EEST-3 but EET-2 (so the real time difference was 9, not 8 hours).
pmval handles this correctly, without -Z/-z it reports first metric at
06:53:01 which was 9 hours earlier at EET-2 than 15:53 at AEDT-11.
pmdumptext/pmrep however report first metric at 07:53:03, thus they
report as it had been EEST-3 here in February. (With -Z/-z both
pmdumptext and pmrep use the correct time.)
For the pcp-atop archive we can see the same inconsistency, the real
time difference was 7 hours which pmval uses but pmdumptext/pmrep use 8
hours instead.
Below is a patch to fix pmrep to do the same as pmval. Unfortunately,
I'm not providing any concrete QA updates as I don't know how this could
be tested automatically as this is dependent on the local timezone.
Btw, I noticed this comment in the pmrep QA files:
# we also need to filter for AEST-10 during standard timezone
# as it appears that pmrep will report the change in -11 to -10
I'm not quite sure what this means, AFAICS pmrep report the TZ info
from the archive regardless of the local TZ and after the patch below
does the TZ change correctly when needed.
>From 45253a49198d8ce93e82cec7f3c67d45e20dd754 Mon Sep 17 00:00:00 2001
From: Marko Myllynen
Date: Sun, 3 Jul 2016 22:40:24 +0300
Subject: [PATCH 4/6] pmrep tz handling fix
---
qa/1069 | 6 +++---
qa/1070 | 4 ++--
qa/1071 | 6 +++---
src/pmrep/pmrep.py | 20 +++++++++++++-------
4 files changed, 21 insertions(+), 15 deletions(-)
diff --git a/qa/1069 b/qa/1069
index ddbc1be..78353c9 100755
--- a/qa/1069
+++ b/qa/1069
@@ -35,11 +35,11 @@ _path_filter()
#end
}
-# timezone: :Australia/Melbourne (creation, current is AEDT-11)
-# this is not deterministic .......................... ^^^^^^^
+# timezone: :Australia/Melbourne (reporting, current is AEDT-11)
+# this is not deterministic ........................... ^^^^^^^
# and
# timezone: AEDT-11
-# ^^^^ ... ditto
+# ^^^^^^^ ... ditto
#
# we also need to filter for AEST-10 during standard timezone
# as it appears that pmrep will report the change in -11 to -10
diff --git a/qa/1070 b/qa/1070
index f2e9192..0eade3d 100755
--- a/qa/1070
+++ b/qa/1070
@@ -39,12 +39,12 @@ _path_filter()
}
# deal with ...
-# timezone: PCP-10 (reporting, local is AEDT-11)
+# timezone: PCP-10 (reporting, current is AEDT-11)
#
_filter()
{
sed \
- -e 's/ (reporting, local is .*)$//g' \
+ -e 's/ (reporting, current is .*)$//g' \
#end
}
diff --git a/qa/1071 b/qa/1071
index 0093a55..ce7eae1 100755
--- a/qa/1071
+++ b/qa/1071
@@ -29,11 +29,11 @@ _path_filter()
#end
}
-# timezone: :Australia/Melbourne (creation, current is AEDT-11)
-# this is not deterministic .......................... ^^^^^^^
+# timezone: :Australia/Melbourne (reporting, current is AEDT-11)
+# this is not deterministic ........................... ^^^^^^^
# and
# timezone: AEDT-11
-# ^^^^ ... ditto
+# ^^^^^^^ ... ditto
#
# we also need to filter for AEST-10 during standard timezone
# as it appears that pmrep will report the change in -11 to -10
diff --git a/src/pmrep/pmrep.py b/src/pmrep/pmrep.py
index 0a91311..97b60e6 100755
--- a/src/pmrep/pmrep.py
+++ b/src/pmrep/pmrep.py
@@ -782,9 +782,11 @@ class PMReporter(object):
pmidA[i] = c_uint(p)
return pmidA
- def get_current_tz(self):
- """ Figure out the current timezone using the PCP convention """
+ def get_local_tz(self, set_dst=-1):
+ """ Figure out the local timezone using the PCP convention """
dst = time.localtime().tm_isdst
+ if set_dst >= 0:
+ dst = 1 if set_dst else 0
offset = time.altzone if dst else time.timezone
currtz = time.tzname[dst]
if offset:
@@ -823,14 +825,18 @@ class PMReporter(object):
self.delimiter = OUTSEP
# Time
- self.localtz = self.get_current_tz()
+ self.localtz = self.get_local_tz()
if self.opts.pmGetOptionHostZone():
os.environ['TZ'] = self.context.pmWhichZone()
time.tzset()
else:
- os.environ['TZ'] = self.localtz
+ tz = self.localtz
+ if self.context.type == PM_CONTEXT_ARCHIVE:
+ # Determine correct local TZ based on DST of the archive
+ tz = self.get_local_tz(time.localtime(self.opts.pmGetOptionOrigin()).tm_isdst)
+ os.environ['TZ'] = tz
time.tzset()
- self.context.pmNewZone(self.localtz)
+ self.context.pmNewZone(tz)
if self.opts.pmGetOptionTimezone():
os.environ['TZ'] = self.opts.pmGetOptionTimezone()
time.tzset()
@@ -1087,9 +1093,9 @@ class PMReporter(object):
if self.context.type == PM_CONTEXT_LOCAL:
host = "localhost, using DSO PMDAs"
- timezone = self.get_current_tz()
+ timezone = self.get_local_tz()
if timezone != self.localtz:
- timezone += " (reporting, local is " + self.localtz + ")"
+ timezone += " (reporting, current is " + self.localtz + ")"
self.writer.write(comm + "\n")
if self.context.type == PM_CONTEXT_ARCHIVE:
Thanks,
--
Marko Myllynen
From bugzilla@redhat.com Mon Jul 4 03:27:25 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id CFF087CA7
for ; Mon, 4 Jul 2016 03:27:25 -0500 (CDT)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay1.corp.sgi.com (Postfix) with ESMTP id 94AC18F8050
for ; Mon, 4 Jul 2016 01:27:25 -0700 (PDT)
X-ASG-Debug-ID: 1467620841-04cb6c063f3ba040001-S8gJnT
Received: from smtp-mx-server-8.servers.netregistry.net (smtp-outgoing-71.servers.netregistry.net [202.124.241.71]) by cuda.sgi.com with ESMTP id mFq0CZS5wZJSyaLX (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Mon, 04 Jul 2016 01:27:22 -0700 (PDT)
X-Barracuda-Envelope-From: bugzilla@redhat.com
X-Barracuda-RBL-Trusted-Forwarder: 202.124.241.71
Received: from mx1-phx2.redhat.com ([209.132.183.26])
by smtp-mx-server-8.servers.netregistry.net protocol: esmtps (Exim 4.84_2 #1 (Debian))
id 1bJzDm-0001r5-EV
for ; Mon, 04 Jul 2016 18:27:20 +1000
Received: from bugweb-04.app.bz.hst.phx2.redhat.com (bugweb-04.app.bz.hst.phx2.redhat.com [10.5.117.34])
by mx1-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u648QxXr000768
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO)
for ; Mon, 4 Jul 2016 04:26:59 -0400
X-Barracuda-Registry: Level1 [redhat.com/209.132.183.26]
X-Barracuda-Effective-Source-IP: mx1-phx2.redhat.com[209.132.183.26]
X-Barracuda-Apparent-Source-IP: 209.132.183.26
X-Barracuda-RBL-IP: 209.132.183.26
X-Barracuda-BBL-IP: 209.132.183.26
Received: from bugweb-04.app.bz.hst.phx2.redhat.com (localhost [127.0.0.1])
by bugweb-04.app.bz.hst.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u648QxkP024567
for ; Mon, 4 Jul 2016 04:26:59 -0400
Received: (from apache@localhost)
by bugweb-04.app.bz.hst.phx2.redhat.com (8.14.4/8.14.4/Submit) id u648Qxg8024566;
Mon, 4 Jul 2016 04:26:59 -0400
X-Authentication-Warning: bugweb-04.app.bz.hst.phx2.redhat.com: apache set sender to bugzilla@redhat.com using -f
From: bugzilla@redhat.com
To: pcp@kenj.com.au
Subject: [Bug 1352461] New: PCP options -s and -T are mutually exclusive
Date: Mon, 04 Jul 2016 08:26:58 +0000
X-ASG-Orig-Subj: [Bug 1352461] New: PCP options -s and -T are mutually exclusive
Precedence: bulk
Auto-Submitted: auto-generated
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Classification: Fedora
X-Bugzilla-Product: Fedora
X-Bugzilla-Component: pcp
X-Bugzilla-Sub-Component:
X-Bugzilla-Version: 24
X-Bugzilla-Keywords:
X-Bugzilla-Severity: unspecified
X-Bugzilla-Who: myllynen@redhat.com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: unspecified
X-Bugzilla-Assigned-To: nathans@redhat.com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields:
bug_id short_desc product version component assigned_to reporter qa_contact
cc
X-Bugzilla-Comment: public
X-Bugzilla-Reporter: myllynen@redhat.com
X-Loop: bugzilla@redhat.com
X-BeenThere: bugzilla@redhat.com
Message-ID:
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: https://bugzilla.redhat.com/
MIME-Version: 1.0
X-Barracuda-Connect: smtp-outgoing-71.servers.netregistry.net[202.124.241.71]
X-Barracuda-Start-Time: 1467620842
X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256
X-Barracuda-URL: https://192.48.176.15:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 1752
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, NO_REAL_NAME
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.30998
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.00 NO_REAL_NAME From: does not include a real name
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
https://bugzilla.redhat.com/show_bug.cgi?id=3D1352461
Bug ID: 1352461
Summary: PCP options -s and -T are mutually exclusive
Product: Fedora
Version: 24
Component: pcp
Assignee: nathans@redhat.com
Reporter: myllynen@redhat.com
QA Contact: extras-qa@fedoraproject.org
CC: brolley@redhat.com, fche@redhat.com, lberk@redhat.com,
mgoodwin@redhat.com, nathans@redhat.com,
pcp@kenj.com.au, scox@redhat.com
Description of problem:
$ pmrep -s 3 -T 1m -x -p -C mem.util.used
pmrep: at most one of -T and -s allowed
[...]
The same happens with other tools as well since this is coming from libpcp.
PCPIntro(1) does not describe this restriction and in fact some clients (li=
ke
pmrep(1)) would calculate the interval if -s and -T would be accepted toget=
her:
-T When reporting archived metrics, the report will be restricted=
to
those records logged before or at endtime. Refer to PCPIntro=
(1)
for a complete description of the syntax for endtime.
When used to define the runtime before pmrep will exit, if no s=
am=E2=80=90
ples is given (see -s) then the number of reported samples depe=
nds
on interval (see -t). If samples is given then interval will=
be
adjusted to allow reporting of samples during runtime. In c=
ase
all of -T, -s, and -t are given, endtime determines the act=
ual
time pmrep will run.
--=20
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=3DD0u5uOZ=
aFg&a=3Dcc_unsubscribe=
From bugzilla@redhat.com Mon Jul 4 03:41:11 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id 2948A7CA7
for ; Mon, 4 Jul 2016 03:41:11 -0500 (CDT)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay1.corp.sgi.com (Postfix) with ESMTP id E15978F8035
for ; Mon, 4 Jul 2016 01:41:10 -0700 (PDT)
X-ASG-Debug-ID: 1467621665-04cb6c063d3ba620001-S8gJnT
Received: from smtp-mx-server-8.servers.netregistry.net (smtp-outgoing-66.servers.netregistry.net [202.124.241.66]) by cuda.sgi.com with ESMTP id qUl0jASdOFCUz93p (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Mon, 04 Jul 2016 01:41:07 -0700 (PDT)
X-Barracuda-Envelope-From: bugzilla@redhat.com
X-Barracuda-RBL-Trusted-Forwarder: 202.124.241.66
Received: from mx1-phx2.redhat.com ([209.132.183.26])
by smtp-mx-server-8.servers.netregistry.net protocol: esmtps (Exim 4.84_2 #1 (Debian))
id 1bJzR3-0006zB-KD
for ; Mon, 04 Jul 2016 18:41:05 +1000
Received: from bugweb-03.app.bz.hst.phx2.redhat.com (bugweb-03.app.bz.hst.phx2.redhat.com [10.5.117.33])
by mx1-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u648eimd007944
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO)
for ; Mon, 4 Jul 2016 04:40:44 -0400
X-Barracuda-Registry: Level1 [redhat.com/209.132.183.26]
X-Barracuda-Effective-Source-IP: mx1-phx2.redhat.com[209.132.183.26]
X-Barracuda-Apparent-Source-IP: 209.132.183.26
X-Barracuda-RBL-IP: 209.132.183.26
X-Barracuda-BBL-IP: 209.132.183.26
Received: from bugweb-03.app.bz.hst.phx2.redhat.com (localhost [127.0.0.1])
by bugweb-03.app.bz.hst.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u648ei5V040815
for ; Mon, 4 Jul 2016 04:40:44 -0400
Received: (from apache@localhost)
by bugweb-03.app.bz.hst.phx2.redhat.com (8.14.4/8.14.4/Submit) id u648eiPW040814;
Mon, 4 Jul 2016 04:40:44 -0400
X-Authentication-Warning: bugweb-03.app.bz.hst.phx2.redhat.com: apache set sender to bugzilla@redhat.com using -f
From: bugzilla@redhat.com
To: pcp@kenj.com.au
Subject: [Bug 1352465] New: Python PMAPI pmWhichZone crashes Python
Date: Mon, 04 Jul 2016 08:40:44 +0000
X-ASG-Orig-Subj: [Bug 1352465] New: Python PMAPI pmWhichZone crashes Python
Precedence: bulk
Auto-Submitted: auto-generated
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Classification: Fedora
X-Bugzilla-Product: Fedora
X-Bugzilla-Component: pcp
X-Bugzilla-Sub-Component:
X-Bugzilla-Version: 24
X-Bugzilla-Keywords:
X-Bugzilla-Severity: unspecified
X-Bugzilla-Who: myllynen@redhat.com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: unspecified
X-Bugzilla-Assigned-To: nathans@redhat.com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields:
bug_id short_desc product version component assigned_to reporter qa_contact
cc
X-Bugzilla-Comment: public
X-Bugzilla-Reporter: myllynen@redhat.com
X-Loop: bugzilla@redhat.com
X-BeenThere: bugzilla@redhat.com
Message-ID:
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: https://bugzilla.redhat.com/
MIME-Version: 1.0
X-Barracuda-Connect: smtp-outgoing-66.servers.netregistry.net[202.124.241.66]
X-Barracuda-Start-Time: 1467621667
X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256
X-Barracuda-URL: https://192.48.176.15:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 1437
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, NO_REAL_NAME
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.30998
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.00 NO_REAL_NAME From: does not include a real name
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
https://bugzilla.redhat.com/show_bug.cgi?id=3D1352465
Bug ID: 1352465
Summary: Python PMAPI pmWhichZone crashes Python
Product: Fedora
Version: 24
Component: pcp
Assignee: nathans@redhat.com
Reporter: myllynen@redhat.com
QA Contact: extras-qa@fedoraproject.org
CC: brolley@redhat.com, fche@redhat.com, lberk@redhat.com,
mgoodwin@redhat.com, nathans@redhat.com,
pcp@kenj.com.au, scox@redhat.com
Description of problem:
$ cat ./test.py=20
#!/usr/bin/env python
import sys
from pcp import pmapi
options =3D pmapi.pmOptions("h:z")
options.pmSetLongOptionHost()
options.pmSetLongOptionHostZone()
ctx =3D pmapi.pmContext.fromOptions(options, sys.argv)
print(ctx.pmWhichZone())
print(ctx.pmWhichZone())
$ python ./test.py
Traceback (most recent call last):
File "./test.py", line 11, in
print(ctx.pmWhichZone())
File ".../site-packages/pcp/pmapi.py", line 1735, in pmWhichZone
raise pmErr(status)
pcp.pmapi.pmErr: Operation not permitted
$ python ./test.py -h localhost -z
EEST-3
*** Error in `python': double free or corruption (fasttop): 0x000000000080f=
460
***
[...]
--=20
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=3DLEWevQV=
H3t&a=3Dcc_unsubscribe=
From kenj@internode.on.net Mon Jul 4 18:35:49 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id B53047CA4
for ; Mon, 4 Jul 2016 18:35:49 -0500 (CDT)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay3.corp.sgi.com (Postfix) with ESMTP id 22893AC001
for ; Mon, 4 Jul 2016 16:35:46 -0700 (PDT)
X-ASG-Debug-ID: 1467675342-04cbb0273852a150001-S8gJnT
Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by cuda.sgi.com with ESMTP id bmANlv9LP8EMStPg for ; Mon, 04 Jul 2016 16:35:42 -0700 (PDT)
X-Barracuda-Envelope-From: kenj@internode.on.net
X-Barracuda-Effective-Source-IP: ipmail07.adl2.internode.on.net[150.101.137.131]
X-Barracuda-Apparent-Source-IP: 150.101.137.131
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A2AEAwD78XpXEJVY0XYNSAaEFHyGb7RIGogFAQEBAQEBBwEBAQEBAQEBPoU2gQsCBSECEQIcFAInCAEBFrEaZ49YgQGMU4FKCIMPgloFiBOHI4QjhTqGCYp2jHKQCoJcHIFeXIkMAQEB
Received: from ppp118-209-88-149.bras1.mel11.internode.on.net (HELO [192.168.1.100]) ([118.209.88.149])
by ipmail07.adl2.internode.on.net with ESMTP; 05 Jul 2016 09:05:41 +0930
To: pcp@oss.sgi.com
Subject: QA Status
From: Ken McDonell
X-ASG-Orig-Subj: QA Status
Message-ID: <577AF2CD.60104@internode.on.net>
Date: Tue, 5 Jul 2016 09:35:41 +1000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
Thunderbird/38.8.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Barracuda-Connect: ipmail07.adl2.internode.on.net[150.101.137.131]
X-Barracuda-Start-Time: 1467675342
X-Barracuda-URL: https://192.48.176.25:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 14389
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31014
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
Things not looking too good here. We have more hosts this time, but % failure rate is too high.
Lots of failures on a couple of unusual hosts (fuji and grundy) that are probably not too much of a concern.
119 is a known problem (actually debris from qa/083) that is fixed but still to work its way through the QA farm.
Ditto for 544 (fixed collectl2pcp and qa/544 issues).
The rest are all over the shop.
Details for the most commonly failing tests are available from
ftp://oss.sgi.com/projects/pcp/download/qa-status/
=== Synopsis ===
QA Status from Ken McDonell's QA Farm in Melbourne
Summary: 27033 run, 150 failed (0.55%)
QA Test Fail Failure Signatures (number of different failure patterns)
722 14 2 2 1 1 1 1 1 1 1 1 1 1
119 13 9 4
1108 10 1 1 1 1 1 1 1 1 1 1
600 9 8 1
544 6 3 3
823 5 4 1
361 4 4
274 4 4
^ ^
| |
| +-- A B C ... means one failure signature occurred A times,
| another occurred B times, a third occurred C times, ...
+-- total number of failures for this test, equals A+B+C+...
Each tarball in this directory contains .out, .out.bad and possibly
.full files for all failing test cases where a test failed on at least
9% of the QA hosts.
The latest tarball is 20160705.tgz.
==== QA Summary ====
Date Run Pass Fail Nrun Host
2016-07-03 839 837 2 91|bo|bozo PCP 3.11.4 x86_64 Ubuntu 16.04
2016-07-01 824 821 3 106|bl|bozo-laptop PCP 3.11.4 i686 LinuxMint 15
2016-07-05 857 851 6 73|bv|bozo-vm PCP 3.11.4 x86_64 Debian 8.5
2016-06-21 698 675 23 223|fu|fuji PCP unknown i386 Darwin 10.8.0
2016-07-05 739 727 12 145|gr|grundy.sgi.com|grundy.sgi.com
2016-07-05 850 846 4 80|00|vm00 PCP 3.11.4 x86_64 Ubuntu 12.04
2016-07-01 859 855 4 71|01|vm01 PCP 3.11.4 i686 Ubuntu 15.10
2016-07-01 841 835 6 89|02|vm02 PCP 3.11.4 i686 openSUSE 13.2
2016-07-01 874 869 5 56|03|vm03 PCP 3.11.4 x86_64 Fedora 24
2016-07-02 751 741 10 179|04|vm04 PCP 3.11.4 i686 CentOS 5.11
2016-07-02 845 840 5 85|05|vm05 PCP 3.11.4 x86_64 Gentoo 2.2
2016-07-02 61 60 1 4|06|vm06 PCP 3.11.4 amd64 FreeBSD 10.2-RELEASE
2016-07-02 816 810 6 79|07|vm07 PCP 3.11.4 x86_64 Debian stretch/sid
2016-07-04 870 868 2 60|08|vm08 PCP 3.11.4 x86_64 CentOS Linux7.2.1511
2016-07-04 61 60 1 4|09|vm09 PCP 3.11.4 i386 NetBSD 6.1.5
2016-07-02 61 61 0 4|10|vm10 PCP 3.11.4 i386 FreeBSD 9.3-RELEASE-p30
2016-07-02 817 811 6 78|11|vm11 PCP 3.11.4 i686 Debian stretch/sid
2016-07-02 865 859 6 65|12|vm12 PCP 3.11.4 i686 Fedora 22
2016-07-03 864 861 3 66|14|vm14 PCP 3.11.4 x86_64 CentOS6.7
2016-07-04 798 795 3 132|15|vm15 PCP 3.11.4 x86_64 Slackware "14.2"
2016-07-03 856 854 2 74|18|vm18 PCP 3.11.4 x86_64 LinuxMint 17.3
2016-07-03 837 836 1 93|19|vm19 PCP 3.11.4 x86_64 openSUSE 12.2
2016-07-03 797 797 0 133|20|vm20 PCP 3.11.4 x86_64 Ubuntu 13.04
2016-07-03 846 842 4 84|21|vm21 PCP 3.11.4 i686 Debian 7.10
2016-07-03 865 864 1 65|22|vm22 PCP 3.11.4 x86_64 Fedora 19
2016-07-04 868 865 3 62|23|vm23 PCP 3.11.4 i686 Fedora 20
2016-07-04 863 859 4 67|24|vm24 PCP 3.11.4 i686 openSUSE 13.1
2016-07-04 746 741 5 184|25|vm25 PCP 3.11.4 x86_64 CentOS 5.11
2016-07-05 867 866 1 63|26|vm26 PCP 3.11.4 x86_64 Fedora 21
2016-07-03 854 853 1 76|27|vm27 PCP 3.11.4 x86_64 Ubuntu 15.04
2016-07-04 861 858 3 69|28|vm28 PCP 3.11.4 x86_64 RHEL Server 6.8
2016-07-03 868 865 3 62|29|vm29 PCP 3.11.4 x86_64 RHEL Server 7.2
2016-07-04 866 864 2 64|30|vm30 PCP 3.11.4 x86_64 SUSE SLES12 SP0
2016-07-05 866 863 3 64|31|vm31 PCP 3.11.4 x86_64 Fedora 23
2016-07-04 61 60 1 4|32|vm32 PCP 3.11.4 amd64 FreeBSD 11.0-CURRENT
2016-07-04 64 62 2 1|33|vm33 PCP 3.11.4 amd64 OpenBSD 5.8
2016-07-05 858 852 6 72|34|vm34 PCP 3.11.4 x86_64 Arch Linux
Summary: 27033 run, 150 failed (0.55%)
==== QA Failure (X) Map ====
Host bo bl bv fu gr 00 01 02 03 04 05 06 07 08 09 11 12 14 15 18 19 21 22 23 24 25 26 27 28 29 30 31 32 33 34
Test %fail Test QA groups
722 38% X X X X X X X X X X X X X X 722 python
119 35% X X X X X X X X X X X X X 119 logutil
1108 27% X X X X X X X X X X 1108 logutil folio pmlogextract
600 24% X X X X X X X X X 600 libpcp timezone
544 16% X X X X X X 544 pmimport
823 14% X X X X X 823 pmda.sample pmstore secure
274 11% X X X X 274 pmda help pmda.install dbpmda
361 11% X X X X 361 pmda.linux cgroups
651 8% X X X 651 pmproxy
666 8% X X X 666 pmmgr slow valgrind
023 5% X X 023 pmcd pmprobe
066 5% X X 066 pmcd
155 5% X X 155 pmcd pmstore pmda.sample
340 5% X X 340 pmcd
354 5% X X 354 folio pmlc
359 5% X X 359 pmcd pminfo
365 5% X X 365 pmcd
430 5% X X 430 logutil folio
Host bo bl bv fu gr 00 01 02 03 04 05 06 07 08 09 11 12 14 15 18 19 21 22 23 24 25 26 27 28 29 30 31 32 33 34
648 5% X X 648 pmda.mmv
660 5% X X 660 pmwebapi
667 5% X X 667 python
669 5% X X 669 pmmgr
706 5% X X 706 libpcp
713 5% X X 713 context libpcp pmproxy secure
739 5% X X 739 python getopt timezone
836 5% X X 836 pmlogsummary pmdiff
892 5% X X 892 pmcd libpcp
914 5% X X 914 pmda.papi
990 5% X X 990 pmda.mmv
999 5% X X 999 pmns
051 3% X 051 pmcd
067 3% X 067 pmcd
069 3% X 069 pmcd pmval
098 3% X 098 pmlc pmlogger other pmdumplog
102 3% X 102 pmlc pmlogger
110 3% X 110 pmda.simple pmda.proc pmda.install
156 3% X 156 pmda.sample pmda.proc pmcd_wait pmda.install
193 3% X 193 libpcp pmcd pdu
216 3% X 216 pmda.linux
Host bo bl bv fu gr 00 01 02 03 04 05 06 07 08 09 11 12 14 15 18 19 21 22 23 24 25 26 27 28 29 30 31 32 33 34
243 3% X 243 pmcd pmprobe
244 3% X 244 pmcd pmprobe
255 3% X 255 compat pmda pmda.proc help pmda.install pmda.simple
280 3% X 280 pmlogger logutil folio pmlc
336 3% X 336 trace pmda.install
371 3% X 371 pmimport pmdumplog perl libpcp_pmi
372 3% X 372 pmimport pmdumplog perl
381 3% X 381 logutil pmlc
389 3% X 389 pmlogger
416 3% X 416 pmda.news dbpmda perl
449 3% X 449 threads flakey
459 3% X 459 pmlogreduce valgrind
527 3% X 527 libpcp_import perl timezone
560 3% X 560 pmda.simple pmda.install
578 3% X 578 pmcd pmda.install pmval
635 3% X 635 pmda.linux libirixpmda
662 3% X 662 pmwebapi pmda.sample
709 3% X 709 python
720 3% X 720 libpcp valgrind
769 3% X 769 other
779 3% X 779 pmda
Host bo bl bv fu gr 00 01 02 03 04 05 06 07 08 09 11 12 14 15 18 19 21 22 23 24 25 26 27 28 29 30 31 32 33 34
832 3% X 832 pmda.sample pmstore secure
842 3% X 842 python pmiostat pmval
878 3% X 878 pmda.pipe pmval
944 3% X 944 pmcd secure
956 3% X 956 pmcd
964 3% X 964 pmcd
983 3% X 983 pmie
1051 3% X 1051 pmieconf
1055 3% X 1055 pmlogger
Host bo bl bv fu gr 00 01 02 03 04 05 06 07 08 09 11 12 14 15 18 19 21 22 23 24 25 26 27 28 29 30 31 32 33 34
From nscott@redhat.com Mon Jul 4 19:07:32 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id DA6F67CA4
for ; Mon, 4 Jul 2016 19:07:32 -0500 (CDT)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay1.corp.sgi.com (Postfix) with ESMTP id 9FE028F8037
for ; Mon, 4 Jul 2016 17:07:28 -0700 (PDT)
X-ASG-Debug-ID: 1467677242-04cb6c063f3e20c0001-S8gJnT
Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id i4my6MHuXuD1QIY3 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 04 Jul 2016 17:07:23 -0700 (PDT)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Effective-Source-IP: mx3-phx2.redhat.com[209.132.183.24]
X-Barracuda-Apparent-Source-IP: 209.132.183.24
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u6507JKr023122;
Mon, 4 Jul 2016 20:07:19 -0400
Date: Mon, 4 Jul 2016 20:07:19 -0400 (EDT)
From: Nathan Scott
Reply-To: Nathan Scott
To: Ken McDonell
Cc: pcp@oss.sgi.com
Message-ID: <172419962.3662696.1467677239015.JavaMail.zimbra@redhat.com>
In-Reply-To: <577AF2CD.60104@internode.on.net>
References: <577AF2CD.60104@internode.on.net>
Subject: Re: [pcp] QA Status
MIME-Version: 1.0
X-ASG-Orig-Subj: Re: [pcp] QA Status
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.64.50.123]
X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF47 (Linux)/8.0.6_GA_5922)
Thread-Topic: QA Status
Thread-Index: AXh8HCCUiq/MGL4z1lcQfIkWKttDWA==
X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24]
X-Barracuda-Start-Time: 1467677243
X-Barracuda-Encrypted: DHE-RSA-AES256-SHA
X-Barracuda-URL: https://192.48.176.15:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 1308
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31015
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
Hi Ken,
----- Original Message -----
> Things not looking too good here. We have more hosts this time, but %
> failure rate is too high.
>
> Lots of failures on a couple of unusual hosts (fuji and grundy) that are
> probably not too much of a concern.
>
> 119 is a known problem (actually debris from qa/083) that is fixed but still
> to work its way through the QA farm.
>
> Ditto for 544 (fixed collectl2pcp and qa/544 issues).
>
> The rest are all over the shop.
>
> Details for the most commonly failing tests are available from
> ftp://oss.sgi.com/projects/pcp/download/qa-status/
>
> === Synopsis ===
>
> QA Status from Ken McDonell's QA Farm in Melbourne
>
> Summary: 27033 run, 150 failed (0.55%)
>
> QA Test Fail Failure Signatures (number of different failure patterns)
> 722 14 2 2 1 1 1 1 1 1 1 1 1 1
> 119 13 9 4
> 1108 10 1 1 1 1 1 1 1 1 1 1
> 600 9 8 1
> 544 6 3 3
> 823 5 4 1
> 361 4 4
> 274 4 4
I've pushed in a fix for 722, 'twas a memory corruption problem.
I saw 1108 fail once, but never again & running it in a loop isn't
able to hit it, so I'm wondering if its related to some state left
behind from an earlier test. I'll keep digging.
cheers.
--
Nathan
From wwwrun@oss.sgi.com Tue Jul 5 09:20:30 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=HTML_MESSAGE,NO_RELAYS
autolearn=ham version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: by oss.sgi.com (Postfix, from userid 30)
id 73E737CD7; Tue, 5 Jul 2016 09:20:30 -0500 (CDT)
From: bugzilla-daemon@oss.sgi.com
To: pcp@oss.sgi.com
Subject: [Bug 1100] libpcp interp.c crash on archive scan
Date: Tue, 05 Jul 2016 14:20:30 +0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Classification: Unclassified
X-Bugzilla-Product: pcp
X-Bugzilla-Component: pcp
X-Bugzilla-Keywords:
X-Bugzilla-Severity: major
X-Bugzilla-Who: brolley@redhat.com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: brolley@redhat.com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID:
In-Reply-To:
References:
Content-Type: multipart/alternative; boundary="1467728430.7b742.14055"; charset="us-ascii"
X-Bugzilla-URL: http://oss.sgi.com/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
--1467728430.7b742.14055
Date: Tue, 5 Jul 2016 09:20:30 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
http://oss.sgi.com/bugzilla/show_bug.cgi?id=1100
brolley@redhat.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--
You are receiving this mail because:
You are on the CC list for the bug.
--1467728430.7b742.14055
Date: Tue, 5 Jul 2016 09:20:30 -0500
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
brolley@redhat.com
changed
bug 1100
| What |
Removed |
Added |
| Status |
ASSIGNED
|
RESOLVED
|
| Resolution |
---
|
FIXED
|
You are receiving this mail because:
- You are on the CC list for the bug.
--1467728430.7b742.14055--
From kenj@internode.on.net Tue Jul 5 14:54:18 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id EC78A7CE7
for ; Tue, 5 Jul 2016 14:54:18 -0500 (CDT)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay2.corp.sgi.com (Postfix) with ESMTP id BD623304053
for ; Tue, 5 Jul 2016 12:54:15 -0700 (PDT)
X-ASG-Debug-ID: 1467748450-04cb6c063f410590001-S8gJnT
Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by cuda.sgi.com with ESMTP id Fnm7bNBDg6NTkKen for ; Tue, 05 Jul 2016 12:54:11 -0700 (PDT)
X-Barracuda-Envelope-From: kenj@internode.on.net
X-Barracuda-Effective-Source-IP: ipmail06.adl6.internode.on.net[150.101.137.145]
X-Barracuda-Apparent-Source-IP: 150.101.137.145
Received: from ppp118-209-88-149.bras1.mel11.internode.on.net (HELO [192.168.1.100]) ([118.209.88.149])
by ipmail06.adl6.internode.on.net with ESMTP; 06 Jul 2016 05:23:43 +0930
To: PCP
From: Ken McDonell
Subject: errors from socket code on Mac OS X
Message-ID: <577C1045.1040108@internode.on.net>
X-ASG-Orig-Subj: errors from socket code on Mac OS X
Date: Wed, 6 Jul 2016 05:53:41 +1000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
Thunderbird/38.8.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Barracuda-Connect: ipmail06.adl6.internode.on.net[150.101.137.145]
X-Barracuda-Start-Time: 1467748450
X-Barracuda-URL: https://192.48.176.15:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 538
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31039
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
I'm seeing this ...
[DATE] pmcd(PID) Error: auxconnect.c:__pmSockAddrInit: Invalid address family: 0
[DATE] pmcd(PID) Error: auxconnect.c:__pmSockAddrCompare: Invalid address family: 0
in about half the failing tests on Mac OS X.
Does anyone know how or why we'd be traversing the libpcp socket code for an AF of 0?
Seems like a missing or broken guard somewhere higher up the call stack, but I have not been able to diagnose this, so I'm seeking assistance from those who know more.
Thanks for any hints or suggestions.
From brolley@redhat.com Tue Jul 5 15:45:43 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 064397CCF
for ; Tue, 5 Jul 2016 15:45:43 -0500 (CDT)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay2.corp.sgi.com (Postfix) with ESMTP id CE493304059
for ; Tue, 5 Jul 2016 13:45:42 -0700 (PDT)
X-ASG-Debug-ID: 1467751538-04cbb0273855a850001-S8gJnT
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id 8o4pX0ZCHWun3AVa (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 05 Jul 2016 13:45:39 -0700 (PDT)
X-Barracuda-Envelope-From: brolley@redhat.com
X-Barracuda-Effective-Source-IP: mx1.redhat.com[209.132.183.28]
X-Barracuda-Apparent-Source-IP: 209.132.183.28
X-ASG-Whitelist: Client
Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.redhat.com (Postfix) with ESMTPS id 1AC4D80F92;
Tue, 5 Jul 2016 20:45:38 +0000 (UTC)
Received: from [10.10.54.22] (vpn-54-22.rdu2.redhat.com [10.10.54.22])
by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u65KjbOf005889;
Tue, 5 Jul 2016 16:45:37 -0400
Message-ID: <577C1D0A.6040300@redhat.com>
Date: Tue, 05 Jul 2016 16:48:10 -0400
From: Dave Brolley
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: Ken McDonell , PCP
Subject: Re: [pcp] errors from socket code on Mac OS X
References: <577C1045.1040108@internode.on.net>
X-ASG-Orig-Subj: Re: [pcp] errors from socket code on Mac OS X
In-Reply-To: <577C1045.1040108@internode.on.net>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Tue, 05 Jul 2016 20:45:38 +0000 (UTC)
X-Barracuda-Connect: mx1.redhat.com[209.132.183.28]
X-Barracuda-Start-Time: 1467751538
X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384
X-Barracuda-URL: https://192.48.176.25:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 1457
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
On 07/05/2016 03:53 PM, Ken McDonell wrote:
> I'm seeing this ...
>
> [DATE] pmcd(PID) Error: auxconnect.c:__pmSockAddrInit: Invalid address family: 0
> [DATE] pmcd(PID) Error: auxconnect.c:__pmSockAddrCompare: Invalid address family: 0
>
> in about half the failing tests on Mac OS X.
>
> Does anyone know how or why we'd be traversing the libpcp socket code for an AF of 0?
>
> Seems like a missing or broken guard somewhere higher up the call stack, but I have not been able to diagnose this, so I'm seeking assistance from those who know more.
>
> Thanks for any hints or suggestions.
>
This sequence of errors suggests to me that __pmSockAddrIsLoopBack() is
being called with an address containing family==0.
__pmSockAddrIsLoopBack first extracts the family from the given
address and the calls __pmLoopBackAddress(family), which in turn calls
__pmSockAddrInit() using that family (first error).
It then calls __pmSockAddrCompare() with the original address and the
manufactured loopback address, both of which will now have family==0
(second error).
Possible candidates:
__pmAccAddClient(new client adress)
__pmSockAddrIsLoopBack(const __pmSockAddr *addr)
HandleClientInput(__pmFdSet *fdsPtr)
DoCreds(addr from client table)
__pmSockAddrIsLoopBack(const __pmSockAddr *addr)
VerifyClient(addr from client table)
__pmSockAddrIsLoopBack(const __pmSockAddr *addr)
I hope this helps,
Dave
From nscott@redhat.com Tue Jul 5 21:54:45 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id A4C6E7CEB
for ; Tue, 5 Jul 2016 21:54:45 -0500 (CDT)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay2.corp.sgi.com (Postfix) with ESMTP id 64B84304059
for ; Tue, 5 Jul 2016 19:54:42 -0700 (PDT)
X-ASG-Debug-ID: 1467773676-04cb6c063f4221a0001-S8gJnT
Received: from mx6-phx2.redhat.com (mx6-phx2.redhat.com [209.132.183.39]) by cuda.sgi.com with ESMTP id 2xgpeTO7WxLI9Tnr (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 05 Jul 2016 19:54:36 -0700 (PDT)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Effective-Source-IP: mx6-phx2.redhat.com[209.132.183.39]
X-Barracuda-Apparent-Source-IP: 209.132.183.39
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx6-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u662sZfZ062225;
Tue, 5 Jul 2016 22:54:35 -0400
Date: Tue, 5 Jul 2016 22:54:35 -0400 (EDT)
From: Nathan Scott
Reply-To: Nathan Scott
To: Marko Myllynen
Cc: pcp developers
Message-ID: <521958454.4118241.1467773675918.JavaMail.zimbra@redhat.com>
In-Reply-To: <577A1A0F.4010708@redhat.com>
References: <577A1A0F.4010708@redhat.com>
Subject: Re: [pcp] Reporting archive timezone
MIME-Version: 1.0
X-ASG-Orig-Subj: Re: [pcp] Reporting archive timezone
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.64.50.158]
X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF47 (Linux)/8.0.6_GA_5922)
Thread-Topic: Reporting archive timezone
Thread-Index: iESDky/7JCxc2Y36AwSXrh4pLcafAQ==
X-Barracuda-Connect: mx6-phx2.redhat.com[209.132.183.39]
X-Barracuda-Start-Time: 1467773676
X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384
X-Barracuda-URL: https://192.48.176.15:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 846
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.03
X-Barracuda-Spam-Status: No, SCORE=0.03 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, BSF_SC0_SA_TO_FROM_DOMAIN_MATCH, THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31047
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
0.01 BSF_SC0_SA_TO_FROM_DOMAIN_MATCH Sender Domain Matches Recipient
Domain
----- Original Message -----
> [...]
> pmval handles this correctly, without -Z/-z it reports first metric at
> 06:53:01 which was 9 hours earlier at EET-2 than 15:53 at AEDT-11.
>From my scanning of the code, I believe pmval really doesn't touch the
timezone settings ($TZ etc) at all in the default case ...
> pmdumptext/pmrep however report first metric at 07:53:03, thus they
> report as it had been EEST-3 here in February. (With -Z/-z both
> pmdumptext and pmrep use the correct time.)
... whereas pmdumptext does always modify TZ to what it works out the
local timezone to be - perhaps there's something unexpected happening
there for pmdumptext.
> Below is a patch to fix pmrep to do the same as pmval.
I think that's a good strategy here, pmval is certainly using a simpler
approach.
cheers.
--
Nathan
From nscott@redhat.com Tue Jul 5 21:57:33 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 930D47CEB
for ; Tue, 5 Jul 2016 21:57:33 -0500 (CDT)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay2.corp.sgi.com (Postfix) with ESMTP id 50F8E304059
for ; Tue, 5 Jul 2016 19:57:33 -0700 (PDT)
X-ASG-Debug-ID: 1467773846-04bdf074b73f85e0001-S8gJnT
Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id AKpQmuLYY43WzRFd (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 05 Jul 2016 19:57:26 -0700 (PDT)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Effective-Source-IP: mx3-phx2.redhat.com[209.132.183.24]
X-Barracuda-Apparent-Source-IP: 209.132.183.24
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u662vPJP011316
for ; Tue, 5 Jul 2016 22:57:25 -0400
Date: Tue, 5 Jul 2016 22:57:25 -0400 (EDT)
From: Nathan Scott
Reply-To: Nathan Scott
To: pcp developers
Message-ID: <1792873164.4118480.1467773845955.JavaMail.zimbra@redhat.com>
In-Reply-To: <836987826.4118284.1467773700384.JavaMail.zimbra@redhat.com>
Subject: pcp updates: kenj+marko+mgoodwin merges, misc build & qa
MIME-Version: 1.0
X-ASG-Orig-Subj: pcp updates: kenj+marko+mgoodwin merges, misc build & qa
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.64.50.158]
X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF47 (Linux)/8.0.6_GA_5922)
Thread-Topic: pcp updates: kenj+marko+mgoodwin merges, misc build & qa
Thread-Index: gq9gX2bVUtHHYJR5T+hSyAacNGaqZw==
X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24]
X-Barracuda-Start-Time: 1467773846
X-Barracuda-Encrypted: DHE-RSA-AES256-SHA
X-Barracuda-URL: https://192.48.157.11:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 4606
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31047
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
Changes committed to git://git.pcp.io/pcp.git master
Marko Myllynen (5):
pmrep: remove useless cmd line check
pmrep: default tz handling fix
zsh completion: pmval fine-tuning
pmrep: clean up ext header calculation
pmrep: add speclocal support to config file
Nathan Scott (3):
build: remove build-essential packages from debian control file
python api: fix memory corruption bug picked up by qa/722
qa: small adjustment to one pmrep test expected output
Ken McDonell (1):
collectl2pcp and qa/544: fix metadata and overflow issues, better QA
Mark Goodwin (1):
pmdalinux: filesys metrics use persistent device mapper names
debian/control.master | 2
qa/1069 | 22 +-
qa/1069.out | 8
qa/1070 | 4
qa/1071 | 6
qa/1071.out | 16 -
qa/544 | 137 ++++++++++++++-
qa/544.out | 406 +++++++++++++++++++++++----------------------
src/collectl2pcp/metrics.c | 42 ++--
src/collectl2pcp/proc.c | 4
src/pmdas/linux/filesys.c | 10 -
src/pmdas/mounts/mounts.c | 5
src/pmrep/pmrep.conf.5 | 10 +
src/pmrep/pmrep.py | 76 +++++---
src/python/pmapi.c | 2
src/zshrc/_pcp | 4
16 files changed, 477 insertions(+), 277 deletions(-)
commit 44cd55efc478e526996ced0f1e11a4832a52906e
Author: Nathan Scott
Date: Wed Jul 6 12:47:34 2016 +1000
qa: small adjustment to one pmrep test expected output
commit be026f3deb3f1fc74bd72657945d25adc3f4a9b0
Author: Mark Goodwin
Date: Wed Jul 6 10:48:42 2016 +1000
pmdalinux: filesys metrics use persistent device mapper names
Change the filesys.* instance names from the non-persistent dm-*
names to the much more useful and persistent logical names.
This is consistent with the disk.dm.* metrics. A similar change
is made for the mounts.* metric instances too.
Resolves Red Hat BZ #1349932.
commit 67147948cf58b7fb5cc8e546f1626c808314e52d
Author: Marko Myllynen
Date: Wed Jul 6 10:05:17 2016 +1000
pmrep: add speclocal support to config file
Use the recently added API enhancement for speclocal (corresponding to
-K) in config file.
commit f56ece62992cfeae63ccfed053f8f68a44c22880
Author: Marko Myllynen
Date: Wed Jul 6 10:00:48 2016 +1000
pmrep: clean up ext header calculation
pmrep's write_ext_header() was almost impenetrable, clean it up,
fixes an issue where end time for archives was reported incorrectly
(beyond the end of the archive).
commit 606ee366e37c8c8409a50a2bad2fd8b6129980d9
Author: Marko Myllynen
Date: Wed Jul 6 09:59:14 2016 +1000
zsh completion: pmval fine-tuning
pmval(1) accepts multiple -U options.
--container can't be used with -U.
commit 091b9c8139fd8aa70f4656c40ea5da16c4eb9c18
Author: Marko Myllynen
Date: Wed Jul 6 09:58:24 2016 +1000
pmrep: default tz handling fix
Switch to consistent behaviour with pmval for default timezone.
commit d7101c0ee22ffa40439c32d249135cf2c7bde63b
Author: Marko Myllynen
Date: Wed Jul 6 09:38:40 2016 +1000
pmrep: remove useless cmd line check
Remove the "interval can't be longer than runtime" check, it was not
catching all the cases, libpcp does the right thing by default anyway,
and there's no such check in pmval(1) and others.
commit 8322c4d3d9860673a7bf43f7ccf043a2ab63c743
Author: Nathan Scott
Date: Tue Jul 5 10:02:44 2016 +1000
python api: fix memory corruption bug picked up by qa/722
commit abbc73b4ca3fb5c632a3cd7e1c18b159117696f6
Author: Ken McDonell
Date: Mon Jul 4 15:29:57 2016 +1000
collectl2pcp and qa/544: fix metadata and overflow issues, better QA
Some metrics were just plain wrong. Some were wrong on 32-bit
platforms.
Extended qa/544 to compare values from pminfo and collectl for
randomly chosen metrics and instances.
commit 19cece1a8fa8269ab6838ffdc62c80bbb5fe2c62
Author: Nathan Scott
Date: Mon Jul 4 13:29:49 2016 +1000
build: remove build-essential packages from debian control file
Generates a lintian error message, as reported by Thorsten.
From nscott@redhat.com Tue Jul 5 22:05:57 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id 441297CDC
for ; Tue, 5 Jul 2016 22:05:57 -0500 (CDT)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay3.corp.sgi.com (Postfix) with ESMTP id AC1BFAC001
for ; Tue, 5 Jul 2016 20:05:53 -0700 (PDT)
X-ASG-Debug-ID: 1467774346-04cbb02738568ba0001-S8gJnT
Received: from mx5-phx2.redhat.com (mx5-phx2.redhat.com [209.132.183.37]) by cuda.sgi.com with ESMTP id ePEA7t5imJiEGhC8 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 05 Jul 2016 20:05:48 -0700 (PDT)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Effective-Source-IP: mx5-phx2.redhat.com[209.132.183.37]
X-Barracuda-Apparent-Source-IP: 209.132.183.37
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx5-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u6635gJG012036;
Tue, 5 Jul 2016 23:05:42 -0400
Date: Tue, 5 Jul 2016 23:05:42 -0400 (EDT)
From: Nathan Scott
Reply-To: Nathan Scott
To: Ken McDonell , Dave Brolley
Cc: PCP
Message-ID: <2068385288.4119706.1467774342414.JavaMail.zimbra@redhat.com>
In-Reply-To: <577C1D0A.6040300@redhat.com>
References: <577C1045.1040108@internode.on.net> <577C1D0A.6040300@redhat.com>
Subject: Re: [pcp] errors from socket code on Mac OS X
MIME-Version: 1.0
X-ASG-Orig-Subj: Re: [pcp] errors from socket code on Mac OS X
Content-Type: multipart/mixed;
boundary="----=_Part_4119704_1541142890.1467774342412"
X-Originating-IP: [10.64.50.158]
X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF47 (Linux)/8.0.6_GA_5922)
Thread-Topic: errors from socket code on Mac OS X
Thread-Index: 9k7IpXiu582Q9Y/FaOwru0cGjWw2bQ==
X-Barracuda-Connect: mx5-phx2.redhat.com[209.132.183.37]
X-Barracuda-Start-Time: 1467774348
X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384
X-Barracuda-URL: https://192.48.176.25:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 2639
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31047
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
------=_Part_4119704_1541142890.1467774342412
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Hi guys,
----- Original Message -----
> On 07/05/2016 03:53 PM, Ken McDonell wrote:
> > I'm seeing this ...
> >
> > [DATE] pmcd(PID) Error: auxconnect.c:__pmSockAddrInit: Invalid address
> > family: 0
> > [DATE] pmcd(PID) Error: auxconnect.c:__pmSockAddrCompare: Invalid address
> > family: 0
> >
> > in about half the failing tests on Mac OS X.
> >
> > Does anyone know how or why we'd be traversing the libpcp socket code for
> > an AF of 0?
> >
> > Seems like a missing or broken guard somewhere higher up the call stack,
> > but I have not been able to diagnose this, so I'm seeking assistance from
> > those who know more.
> >
> > Thanks for any hints or suggestions.
> >
> This sequence of errors suggests to me that __pmSockAddrIsLoopBack() is
> being called with an address containing family==0.
>
> __pmSockAddrIsLoopBack first extracts the family from the given
> address and the calls __pmLoopBackAddress(family), which in turn calls
> __pmSockAddrInit() using that family (first error).
>
> It then calls __pmSockAddrCompare() with the original address and the
> manufactured loopback address, both of which will now have family==0
> (second error).
>
> Possible candidates:
> __pmAccAddClient(new client adress)
> __pmSockAddrIsLoopBack(const __pmSockAddr *addr)
>
> HandleClientInput(__pmFdSet *fdsPtr)
> DoCreds(addr from client table)
> __pmSockAddrIsLoopBack(const __pmSockAddr *addr)
>
> VerifyClient(addr from client table)
> __pmSockAddrIsLoopBack(const __pmSockAddr *addr)
>
> I hope this helps,
Ayup, certainly did.
I poked at this a bit today (hmm, "lldb" now eh? fun) ... and I think it may
be that accept is not filling in the family Dave. In your list above Dave I
was able to reproduce it from __pmAccAddClient. We have this libpcp code:
void
__pmCheckAcceptedAddress(__pmSockAddr *addr)
{
#if defined(HAVE_STRUCT_SOCKADDR_UN)
/*
* accept(3) doesn't set the peer address for unix domain sockets.
* We need to do it ourselves. The address family
* is set, so we can use it to test. There is only one unix domain socket
* open, so we know its path.
*/
if (__pmSockAddrGetFamily(addr) == AF_UNIX)
__pmSockAddrSetPath(addr, localSocketPath);
#endif
}
(via __pmAccept)
... and it looks like we are seeing a sockaddr that is (still) completely
zeroed after we accept on the fd in pmcd/client.c AcceptNewClient. The
attached patch seems to tidy it up for me ... whaddya think Dave? Are we
likely to see other places where this happens, I wonder?
cheers.
--
Nathan
------=_Part_4119704_1541142890.1467774342412
Content-Type: text/x-patch; name=mac.patch
Content-Disposition: attachment; filename=mac.patch
Content-Transfer-Encoding: base64
ZGlmZiAtLWdpdCBhL3NyYy9wbWNkL3NyYy9jbGllbnQuYyBiL3NyYy9wbWNkL3NyYy9jbGllbnQu
YwppbmRleCBiNGY1N2VmLi4xZGY0ZGRlIDEwMDY0NAotLS0gYS9zcmMvcG1jZC9zcmMvY2xpZW50
LmMKKysrIGIvc3JjL3BtY2Qvc3JjL2NsaWVudC5jCkBAIC03Niw3ICs3Niw3IEBAIE5vdGlmeUVu
ZENvbnRleHQoaW50IGN0eCkKIAogLyogRXN0YWJsaXNoIGEgbmV3IHNvY2tldCBjb25uZWN0aW9u
IHRvIGEgY2xpZW50ICovCiBDbGllbnRJbmZvICoKLUFjY2VwdE5ld0NsaWVudChpbnQgcmVxZmQp
CitBY2NlcHROZXdDbGllbnQoaW50IHJlcWZkLCBpbnQgZmFtaWx5KQogewogICAgIHN0YXRpYyB1
bnNpZ25lZCBpbnQJc2VxID0gMDsKICAgICBpbnQJCQlpLCBmZDsKQEAgLTg1LDYgKzg1LDcgQEAg
QWNjZXB0TmV3Q2xpZW50KGludCBy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DEzZWIgMTAwNjQ0Ci0tLSBhL3Ny
Yy9wbWNkL3NyYy9wbWNkLmMKKysrIGIvc3JjL3BtY2Qvc3JjL3BtY2QuYwpAQCAtNjU3LDcgKzY1
Nyw3IEBAIENoZWNrTmV3Q2xpZW50KF9fcG1GZFNldCAqIGZkc2V0LCBpbnQgcmZkLCBpbnQgZmFt
aWx5KQogICAgIENsaWVudEluZm8JKmNwOwogCiAgICAgaWYgKF9fcG1GRF9JU1NFVChyZmQsIGZk
c2V0KSkgewotCWlmICgoY3AgPSBBY2NlcHROZXdDbGllbnQocmZkKSkgPT0gTlVMTCkKKwlpZiAo
KGNwID0gQWNjZXB0TmV3Q2xpZW50KHJmZCwgZmFtaWx5KSkgPT0gTlVMTCkKIAkgICAgcmV0dXJu
OwkvKiBBY2NlcHQgZmFpbGVkIGFuZCBubyBjbGllbnQgYWRkZWQgKi8KIAogCXN0cyA9IF9fcG1B
Y2NBZGRDbGllbnQoY3AtPmFkZHIsICZjcC0+ZGVueU9wcyk7Cg==
------=_Part_4119704_1541142890.1467774342412--
From noreply@github.com Tue Jul 5 23:12:03 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=HTML_MESSAGE,T_DKIM_INVALID
autolearn=ham version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id 7E7C87CF0
for ; Tue, 5 Jul 2016 23:12:03 -0500 (CDT)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay1.corp.sgi.com (Postfix) with ESMTP id 3F9DE8F8049
for ; Tue, 5 Jul 2016 21:12:00 -0700 (PDT)
X-ASG-Debug-ID: 1467778314-04bdf074b73fbf80001-S8gJnT
Received: from smtp-mx-server-8.servers.netregistry.net (smtp-outgoing-66.servers.netregistry.net [202.124.241.66]) by cuda.sgi.com with ESMTP id PZdO4fYCyAi0p11c (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Tue, 05 Jul 2016 21:11:55 -0700 (PDT)
X-Barracuda-Envelope-From: noreply@github.com
X-Barracuda-RBL-Trusted-Forwarder: 202.124.241.66
Received: from github-smtp2-ext4.iad.github.net ([192.30.252.195] helo=github-smtp2a-ext-cp1-prd.iad.github.net)
by smtp-mx-server-8.servers.netregistry.net protocol: esmtps (Exim 4.84_2 #1 (Debian))
id 1bKeBh-0001NR-Ge
for ; Wed, 06 Jul 2016 14:11:53 +1000
Date: Tue, 05 Jul 2016 21:11:37 -0700
X-Barracuda-Effective-Source-IP: UNKNOWN[192.30.252.195]
X-Barracuda-Apparent-Source-IP: 192.30.252.195
X-Barracuda-RBL-IP: 192.30.252.195
X-Barracuda-BBL-IP: 192.30.252.195
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1467778297;
bh=npmP6bkxExfY7liTHniVe4ikaPzUN0JW5CP0tlHtRLE=;
h=From:Reply-To:To:Cc:Subject:List-ID:List-Archive:List-Post:
List-Unsubscribe:From;
b=NSskfOChgQtwXNI1F9h1YmOTZF6v8AKpkqFYh1G/nBxC41TQ5vgxQ8ZyzoQM2xu6l
F36BXsOS6So0EhKUmjE7xMemIMCMstb8ZrdI0UAfLdNmx64Y7QXaJGoVC1E2L5k+1Q
OoUuetOCP0aYuVb03ofMa1ftSQryqOZ0cOIoUBdI=
From: Sitaram Shelke
Reply-To: performancecopilot/pcp
To: performancecopilot/pcp
Cc:
Message-ID:
Subject: [performancecopilot/pcp] pcp-pidstat: initial commit of PCP
implementation of pidstat (#97)
Mime-Version: 1.0
X-ASG-Orig-Subj: [performancecopilot/pcp] pcp-pidstat: initial commit of PCP
implementation of pidstat (#97)
Content-Type: multipart/alternative;
boundary="--==_mimepart_577c84f9449ed_55dd3fb4e3ab52c0178699";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: sitaramshelke
X-GitHub-Recipient: pcpemail
List-ID: performancecopilot/pcp
List-Archive: https://github.com/performancecopilot/pcp
List-Post:
List-Unsubscribe: ,
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: pcp@kenj.com.au
X-Barracuda-Connect: smtp-outgoing-66.servers.netregistry.net[202.124.241.66]
X-Barracuda-Start-Time: 1467778315
X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256
X-Barracuda-URL: https://192.48.157.11:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 9150
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.20
X-Barracuda-Spam-Status: No, SCORE=0.20 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, BSF_SC0_SA074b, DKIM_SIGNED, DKIM_VERIFIED, HTML_MESSAGE
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31049
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
-0.00 DKIM_VERIFIED Domain Keys Identified Mail: signature passes
verification
0.00 DKIM_SIGNED Domain Keys Identified Mail: message has a signature
0.00 HTML_MESSAGE BODY: HTML included in message
0.20 BSF_SC0_SA074b Custom Rule SA074b
----==_mimepart_577c84f9449ed_55dd3fb4e3ab52c0178699
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
You can view, comment on, or merge this pull request online at:
https://github.com/performancecopilot/pcp/pull/97
-- Commit Summary --
* pcp-pidstat: initial commit of PCP implementation of pidstat
-- File Changes --
M GNUmakefile (6)
M build/rpm/fedora.spec (4)
M build/rpm/pcp.spec.in (2)
A qa/1078 (45)
A qa/1078.out (2769)
A qa/archives/pcp-pidstat.0 (0)
A qa/archives/pcp-pidstat.index (0)
A qa/archives/pcp-pidstat.meta (0)
M qa/group (1)
M src/GNUmakefile (5)
M src/pcp/GNUmakefile (5)
A src/pcp/pidstat/.gitignore (1)
A src/pcp/pidstat/GNUmakefile (40)
A src/pcp/pidstat/pcp-pidstat.1 (148)
A src/pcp/pidstat/pcp-pidstat.py (574)
A src/pcp/pidstat/test/cpu_process_memory_util_test.py (38)
A src/pcp/pidstat/test/cpu_process_priorities_test.py (38)
A src/pcp/pidstat/test/cpu_process_stack_util_test.py (38)
A src/pcp/pidstat/test/cpu_usage_reporter_test.py (122)
A src/pcp/pidstat/test/cpu_usage_test.py (38)
A src/pcp/pidstat/test/metric_repository_test.py (151)
A src/pcp/pidstat/test/none_handler_printer_decorator_test.py (40)
A src/pcp/pidstat/test/pcp-pidstat-pmlogger-config.txt (43)
A src/pcp/pidstat/test/pcp_pidstat.py (1)
A src/pcp/pidstat/test/process_cpu_usage_test.py (217)
A src/pcp/pidstat/test/process_filter_test.py (109)
A src/pcp/pidstat/test/process_memory_util_reporter_test.py (85)
A src/pcp/pidstat/test/process_memoryutil_test.py (162)
A src/pcp/pidstat/test/process_priority_reporter_test.py (58)
A src/pcp/pidstat/test/process_priority_test.py (73)
A src/pcp/pidstat/test/process_stack_util_reporter_test.py (57)
A src/pcp/pidstat/test/process_stackutil_test.py (69)
-- Patch Links --
https://github.com/performancecopilot/pcp/pull/97.patch
https://github.com/performancecopilot/pcp/pull/97.diff
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/performancecopilot/pcp/pull/97
----==_mimepart_577c84f9449ed_55dd3fb4e3ab52c0178699
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
You can view, comment on, or merge this pull request online at:
https://github.com/performancecopilot/pcp/pull/97
Commit Summary
- pcp-pidstat: initial commit of PCP implementation of pidstat
File Changes
Patch Links:
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
----==_mimepart_577c84f9449ed_55dd3fb4e3ab52c0178699--
From noreply@github.com Tue Jul 5 23:51:26 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level: *
X-Spam-Status: No, score=2.0 required=5.0 tests=HTML_IMAGE_ONLY_16,
HTML_MESSAGE,T_DKIM_INVALID autolearn=no version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 35A267CF1
for ; Tue, 5 Jul 2016 23:51:26 -0500 (CDT)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay2.corp.sgi.com (Postfix) with ESMTP id CF3CA30404E
for ; Tue, 5 Jul 2016 21:51:22 -0700 (PDT)
X-ASG-Debug-ID: 1467780678-04bdf074b53febc0001-S8gJnT
Received: from smtp-mx-server-8.servers.netregistry.net (smtp-outgoing-67.servers.netregistry.net [202.124.241.67]) by cuda.sgi.com with ESMTP id aFoCfedXjRh8G0IB (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Tue, 05 Jul 2016 21:51:19 -0700 (PDT)
X-Barracuda-Envelope-From: noreply@github.com
X-Barracuda-RBL-Trusted-Forwarder: 202.124.241.67
Received: from github-smtp2-ext8.iad.github.net ([192.30.252.199] helo=github-smtp2a-ext-cp1-prd.iad.github.net)
by smtp-mx-server-8.servers.netregistry.net protocol: esmtps (Exim 4.84_2 #1 (Debian))
id 1bKenp-00070o-Ds
for ; Wed, 06 Jul 2016 14:51:17 +1000
Date: Tue, 05 Jul 2016 21:51:05 -0700
X-Barracuda-Effective-Source-IP: UNKNOWN[192.30.252.199]
X-Barracuda-Apparent-Source-IP: 192.30.252.199
X-Barracuda-RBL-IP: 192.30.252.199
X-Barracuda-BBL-IP: 192.30.252.199
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1467780665;
bh=SGGF1L+S+tf2bbBbKGHnjGYAHdCVQoRyI7JFECuJFCc=;
h=From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID:
List-Archive:List-Post:List-Unsubscribe:From;
b=TOn0AqhdcGD7Hkbd/nrgJgD+apn1erfXJxOxv4c/sOTqQe8oKpSK7MrpO1xqeisji
xe4q1Q/OL1PLho3ZJ9Io8iCVV98+CtL+yMMxlMG0GZzECqUHgg7hZl9uxmUjg6o6YM
pXBxFIf7ewP0B7jywxDECi8X91WqXkWKzLYLL6+E=
From: Nathan Scott
Reply-To: performancecopilot/pcp
To: performancecopilot/pcp
Cc:
Message-ID:
In-Reply-To:
References:
Subject: Re: [performancecopilot/pcp] pcp-pidstat: initial commit of PCP
implementation of pidstat (#97)
Mime-Version: 1.0
X-ASG-Orig-Subj: Re: [performancecopilot/pcp] pcp-pidstat: initial commit of PCP
implementation of pidstat (#97)
Content-Type: multipart/alternative;
boundary="--==_mimepart_577c8e39d29a8_61b33fd9778a32bc11608";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: natoscott
X-GitHub-Recipient: pcpemail
List-ID: performancecopilot/pcp
List-Archive: https://github.com/performancecopilot/pcp
List-Post:
List-Unsubscribe: ,
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: pcp@kenj.com.au
X-Barracuda-Connect: smtp-outgoing-67.servers.netregistry.net[202.124.241.67]
X-Barracuda-Start-Time: 1467780679
X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256
X-Barracuda-URL: https://192.48.157.11:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 2398
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.63
X-Barracuda-Spam-Status: No, SCORE=0.63 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, DKIM_SIGNED, DKIM_VERIFIED, HTML_IMAGE_ONLY_16, HTML_IMAGE_ONLY_16_2, HTML_MESSAGE
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31050
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
-0.00 DKIM_VERIFIED Domain Keys Identified Mail: signature passes
verification
0.00 DKIM_SIGNED Domain Keys Identified Mail: message has a signature
0.00 HTML_IMAGE_ONLY_16 BODY: HTML: images with 1200-1600 bytes of words
0.00 HTML_MESSAGE BODY: HTML included in message
0.63 HTML_IMAGE_ONLY_16_2 HTML: images with 1200-1600 bytes of words
----==_mimepart_577c8e39d29a8_61b33fd9778a32bc11608
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Nice work Sitaram, looks good!
I'm seeing a failure in the new test qa/1078 - looks like two small things:
- We need to use -z to provide deterministic timestamps in the test output (I have a fix for this one)
- The individual processes are output in a different order for me - I guess different python version or different dictionary/hashing algorithm, or something like that. Is there a way to sort the pcp-pidstat output? (e.g. by pid or by top cpu user, or something like that - just to get that deterministic output). I'm not seeing it from a quick man page scan.
cheers.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/performancecopilot/pcp/pull/97#issuecomment-230670467
----==_mimepart_577c8e39d29a8_61b33fd9778a32bc11608
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Nice work Sitaram, looks good!
I'm seeing a failure in the new test qa/1078 - looks like two small things:
- We need to use -z to provide deterministic timestamps in the test output (I have a fix for this one)
- The individual processes are output in a different order for me - I guess different python version or different dictionary/hashing algorithm, or something like that. Is there a way to sort the pcp-pidstat output? (e.g. by pid or by top cpu user, or something like that - just to get that deterministic output). I'm not seeing it from a quick man page scan.
cheers.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
----==_mimepart_577c8e39d29a8_61b33fd9778a32bc11608--
From noreply@github.com Wed Jul 6 00:25:48 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level: *
X-Spam-Status: No, score=2.0 required=5.0 tests=HTML_IMAGE_ONLY_16,
HTML_MESSAGE,T_DKIM_INVALID autolearn=no version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 8B9227CCF
for ; Wed, 6 Jul 2016 00:25:48 -0500 (CDT)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay2.corp.sgi.com (Postfix) with ESMTP id 5F9C230405F
for ; Tue, 5 Jul 2016 22:25:48 -0700 (PDT)
X-ASG-Debug-ID: 1467782740-04cb6c063e4299e0001-S8gJnT
Received: from smtp-mx-server-8.servers.netregistry.net (smtp-outgoing-69.servers.netregistry.net [202.124.241.69]) by cuda.sgi.com with ESMTP id yH0ywxLs4kTHjTFG (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Tue, 05 Jul 2016 22:25:42 -0700 (PDT)
X-Barracuda-Envelope-From: noreply@github.com
X-Barracuda-RBL-Trusted-Forwarder: 202.124.241.69
Received: from github-smtp2-ext3.iad.github.net ([192.30.252.194] helo=github-smtp2b-ext-cp1-prd.iad.github.net)
by smtp-mx-server-8.servers.netregistry.net protocol: esmtps (Exim 4.84_2 #1 (Debian))
id 1bKfL6-0004xo-AD
for ; Wed, 06 Jul 2016 15:25:39 +1000
Date: Tue, 05 Jul 2016 22:25:28 -0700
X-Barracuda-Effective-Source-IP: UNKNOWN[192.30.252.194]
X-Barracuda-Apparent-Source-IP: 192.30.252.194
X-Barracuda-RBL-IP: 192.30.252.194
X-Barracuda-BBL-IP: 192.30.252.194
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1467782728;
bh=Ch24LowAsMkTg0z0mpSuLHhyhFam9yrYATz7DNm0sA8=;
h=From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID:
List-Archive:List-Post:List-Unsubscribe:From;
b=NBH6Sje1gWMqNIC0x4amW1Pelm2PW0NbbcuY9LaE7d0OXeuSw3A6rrAGEStb3p2vC
5LJE3TmJa4TpA/gacCViuYWMzMkX7CD88mrcxWTVLwPxN0jAxfWEF1wELtDZQtA/5I
yJuYjaC0AteTF2r/Gr9KKawAeufgxcAQ/Jv5wAP0=
From: Nathan Scott
Reply-To: performancecopilot/pcp
To: performancecopilot/pcp
Cc:
Message-ID:
In-Reply-To:
References:
Subject: Re: [performancecopilot/pcp] pcp-pidstat: initial commit of PCP
implementation of pidstat (#97)
Mime-Version: 1.0
X-ASG-Orig-Subj: Re: [performancecopilot/pcp] pcp-pidstat: initial commit of PCP
implementation of pidstat (#97)
Content-Type: multipart/alternative;
boundary="--==_mimepart_577c9648b0f2d_fae3fa56267d29c68120";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: natoscott
X-GitHub-Recipient: pcpemail
List-ID: performancecopilot/pcp
List-Archive: https://github.com/performancecopilot/pcp
List-Post:
List-Unsubscribe: ,
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: pcp@kenj.com.au
X-Barracuda-Connect: smtp-outgoing-69.servers.netregistry.net[202.124.241.69]
X-Barracuda-Start-Time: 1467782741
X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256
X-Barracuda-URL: https://192.48.176.15:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 1453
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.63
X-Barracuda-Spam-Status: No, SCORE=0.63 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, DKIM_SIGNED, DKIM_VERIFIED, HTML_IMAGE_ONLY_16, HTML_IMAGE_ONLY_16_2, HTML_MESSAGE
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31050
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
-0.00 DKIM_VERIFIED Domain Keys Identified Mail: signature passes
verification
0.00 DKIM_SIGNED Domain Keys Identified Mail: message has a signature
0.00 HTML_IMAGE_ONLY_16 BODY: HTML: images with 1200-1600 bytes of words
0.00 HTML_MESSAGE BODY: HTML included in message
0.63 HTML_IMAGE_ONLY_16_2 HTML: images with 1200-1600 bytes of words
----==_mimepart_577c9648b0f2d_fae3fa56267d29c68120
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Merged #97.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/performancecopilot/pcp/pull/97#event-713894515
----==_mimepart_577c9648b0f2d_fae3fa56267d29c68120
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Merged #97.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
----==_mimepart_577c9648b0f2d_fae3fa56267d29c68120--
From nscott@redhat.com Wed Jul 6 00:29:05 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id B3D217CDC
for ; Wed, 6 Jul 2016 00:29:05 -0500 (CDT)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay3.corp.sgi.com (Postfix) with ESMTP id 2D05EAC001
for ; Tue, 5 Jul 2016 22:29:02 -0700 (PDT)
X-ASG-Debug-ID: 1467782937-04cbb0273856d5d0001-S8gJnT
Received: from mx6-phx2.redhat.com (mx6-phx2.redhat.com [209.132.183.39]) by cuda.sgi.com with ESMTP id rro1RHoTCIMeJyZ4 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 05 Jul 2016 22:28:57 -0700 (PDT)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Effective-Source-IP: mx6-phx2.redhat.com[209.132.183.39]
X-Barracuda-Apparent-Source-IP: 209.132.183.39
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx6-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u665Su16018137
for ; Wed, 6 Jul 2016 01:28:56 -0400
Date: Wed, 6 Jul 2016 01:28:56 -0400 (EDT)
From: Nathan Scott
Reply-To: Nathan Scott
To: pcp developers
Message-ID: <611236143.4127822.1467782936810.JavaMail.zimbra@redhat.com>
In-Reply-To: <486650839.4127653.1467782817404.JavaMail.zimbra@redhat.com>
Subject: pcp updates: pcp-pidstat, qa
MIME-Version: 1.0
X-ASG-Orig-Subj: pcp updates: pcp-pidstat, qa
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.64.50.158]
X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF47 (Linux)/8.0.6_GA_5922)
Thread-Topic: pcp updates: pcp-pidstat, qa
Thread-Index: XYlY5pJADeqKOf2NodZHG7YVlSjvwQ==
X-Barracuda-Connect: mx6-phx2.redhat.com[209.132.183.39]
X-Barracuda-Start-Time: 1467782937
X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384
X-Barracuda-URL: https://192.48.176.25:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 3776
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.22
X-Barracuda-Spam-Status: No, SCORE=0.22 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_SA074b, THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31050
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
0.20 BSF_SC0_SA074b Custom Rule SA074b
Changes committed to git://git.pcp.io/pcp.git master
Nathan Scott (3):
libpcp: further refine setup of container env var for qa/722
qa: add -z to use timezone from the pcp archive in test 1078
qa: fix up 1078 expected output to match pidstat sorting by PID
sitaramshelke (1):
pcp-pidstat: initial commit of PCP implementation of pidstat
GNUmakefile | 6
build/rpm/fedora.spec | 4
build/rpm/pcp.spec.in | 2
qa/1078 | 47
qa/1078.out | 6483 ++++++++----
qa/archives/pcp-pidstat.0 |binary
qa/archives/pcp-pidstat.index |binary
qa/archives/pcp-pidstat.meta |binary
qa/group | 1
src/GNUmakefile | 5
src/libpcp/src/getopt.c | 7
src/pcp/GNUmakefile | 5
src/pcp/pidstat/.gitignore | 1
src/pcp/pidstat/GNUmakefile | 40
src/pcp/pidstat/pcp-pidstat.1 | 148
src/pcp/pidstat/pcp-pidstat.py | 574 +
src/pcp/pidstat/test/cpu_process_memory_util_test.py | 38
src/pcp/pidstat/test/cpu_process_priorities_test.py | 38
src/pcp/pidstat/test/cpu_process_stack_util_test.py | 38
src/pcp/pidstat/test/cpu_usage_reporter_test.py | 122
src/pcp/pidstat/test/cpu_usage_test.py | 38
src/pcp/pidstat/test/metric_repository_test.py | 151
src/pcp/pidstat/test/none_handler_printer_decorator_test.py | 40
src/pcp/pidstat/test/pcp-pidstat-pmlogger-config.txt | 43
src/pcp/pidstat/test/pcp_pidstat.py | 1
src/pcp/pidstat/test/process_cpu_usage_test.py | 217
src/pcp/pidstat/test/process_filter_test.py | 109
src/pcp/pidstat/test/process_memory_util_reporter_test.py | 85
src/pcp/pidstat/test/process_memoryutil_test.py | 162
src/pcp/pidstat/test/process_priority_reporter_test.py | 58
src/pcp/pidstat/test/process_priority_test.py | 73
src/pcp/pidstat/test/process_stack_util_reporter_test.py | 57
src/pcp/pidstat/test/process_stackutil_test.py | 69
33 files changed, 6798 insertions(+), 1864 deletions(-)
commit c5bd782b337ff3978c1969ce99a898aa61357978
Author: Nathan Scott
Date: Wed Jul 6 15:20:37 2016 +1000
qa: fix up 1078 expected output to match pidstat sorting by PID
commit 67e452708077ecb842b7e2ba838aabec3007dfb0
Author: Nathan Scott
Date: Wed Jul 6 15:19:57 2016 +1000
qa: add -z to use timezone from the pcp archive in test 1078
commit 0712a0edd310fcb117808a3945b7f05187ab6904
Author: Nathan Scott
Date: Wed Jul 6 14:16:37 2016 +1000
libpcp: further refine setup of container env var for qa/722
Still seeing intermittent failures on test 722 - use setenv
like the rest of libpcp for the container name setup & also
ensure we do setup PCP_CONTAINER environment multiple times.
commit 4a102ce237658c9ed64160dc67c1dafa649a0973
Author: sitaramshelke
Date: Wed Jul 6 07:57:01 2016 +0530
pcp-pidstat: initial commit of PCP implementation of pidstat
From wwwrun@oss.sgi.com Wed Jul 6 01:13:21 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=HTML_MESSAGE,NO_RELAYS
autolearn=ham version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: by oss.sgi.com (Postfix, from userid 30)
id F3AB77CF7; Wed, 6 Jul 2016 01:13:20 -0500 (CDT)
From: bugzilla-daemon@oss.sgi.com
To: pcp@oss.sgi.com
Subject: [Bug 1088] Add a pcp-pidstat(1) command
Date: Wed, 06 Jul 2016 06:13:20 +0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Classification: Unclassified
X-Bugzilla-Product: pcp
X-Bugzilla-Component: pcp
X-Bugzilla-Keywords: EasyFix
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: nathans@debian.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: pcp@kenj.com.au
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID:
In-Reply-To:
References:
Content-Type: multipart/alternative; boundary="1467785600.BfdFa631.11655"; charset="us-ascii"
X-Bugzilla-URL: http://oss.sgi.com/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
--1467785600.BfdFa631.11655
Date: Wed, 6 Jul 2016 01:13:20 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
http://oss.sgi.com/bugzilla/show_bug.cgi?id=1088
Nathan Scott changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Nathan Scott ---
Initial version is complete, will be in pcp-3.11.4 - thanks Sitaram!
--
You are receiving this mail because:
You are on the CC list for the bug.
--1467785600.BfdFa631.11655
Date: Wed, 6 Jul 2016 01:13:20 -0500
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Nathan Scott
changed
bug 1088
| What |
Removed |
Added |
| Status |
NEW
|
RESOLVED
|
| Resolution |
---
|
FIXED
|
You are receiving this mail because:
- You are on the CC list for the bug.
--1467785600.BfdFa631.11655--
From kenj@internode.on.net Wed Jul 6 02:05:59 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id 105287CF8
for ; Wed, 6 Jul 2016 02:05:59 -0500 (CDT)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay1.corp.sgi.com (Postfix) with ESMTP id C3DE08F804B
for ; Wed, 6 Jul 2016 00:05:58 -0700 (PDT)
X-ASG-Debug-ID: 1467788751-04bdf074b44069b0001-S8gJnT
Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by cuda.sgi.com with ESMTP id sqZ9dOObyklPbSKv for ; Wed, 06 Jul 2016 00:05:52 -0700 (PDT)
X-Barracuda-Envelope-From: kenj@internode.on.net
X-Barracuda-Effective-Source-IP: ipmail06.adl6.internode.on.net[150.101.137.145]
X-Barracuda-Apparent-Source-IP: 150.101.137.145
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A2DMAwCzrHxXEJVY0XYNUIt/tFaGGAKBfAEBAQEBAQcBAQEBAQEBAT6FDAEBBSMEUQEFBwQLGAICBRYLAgIJAwIBAgEbFhQGAQwIAQGzImePfgEBAQEBAQEBAgEBAQEBASGBAYlzhBIRAYMdgloFk1mFOpAxiASFPJAKglwcgV6IGYE1AQEB
Received: from ppp118-209-88-149.bras1.mel11.internode.on.net (HELO [192.168.1.100]) ([118.209.88.149])
by ipmail06.adl6.internode.on.net with ESMTP; 06 Jul 2016 16:35:50 +0930
Subject: Re: [pcp] errors from socket code on Mac OS X
To: Nathan Scott , Dave Brolley
X-ASG-Orig-Subj: Re: [pcp] errors from socket code on Mac OS X
References: <577C1045.1040108@internode.on.net> <577C1D0A.6040300@redhat.com>
<2068385288.4119706.1467774342414.JavaMail.zimbra@redhat.com>
Cc: PCP
From: Ken McDonell
Message-ID: <577CADCE.9010108@internode.on.net>
Date: Wed, 6 Jul 2016 17:05:50 +1000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
Thunderbird/38.8.0
MIME-Version: 1.0
In-Reply-To: <2068385288.4119706.1467774342414.JavaMail.zimbra@redhat.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Barracuda-Connect: ipmail06.adl6.internode.on.net[150.101.137.145]
X-Barracuda-Start-Time: 1467788752
X-Barracuda-URL: https://192.48.157.11:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 4050
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31052
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
On 06/07/16 13:05, Nathan Scott wrote:
> Hi guys,
>
> ----- Original Message -----
>> On 07/05/2016 03:53 PM, Ken McDonell wrote:
>>> I'm seeing this ...
>>>
>>> [DATE] pmcd(PID) Error: auxconnect.c:__pmSockAddrInit: Invalid address
>>> family: 0
>>> [DATE] pmcd(PID) Error: auxconnect.c:__pmSockAddrCompare: Invalid address
>>> family: 0
>>>
>>> in about half the failing tests on Mac OS X.
>>>
>>> Does anyone know how or why we'd be traversing the libpcp socket code for
>>> an AF of 0?
>>>
>>> Seems like a missing or broken guard somewhere higher up the call stack,
>>> but I have not been able to diagnose this, so I'm seeking assistance from
>>> those who know more.
>>>
>>> Thanks for any hints or suggestions.
>>>
>> This sequence of errors suggests to me that __pmSockAddrIsLoopBack() is
>> being called with an address containing family==0.
>>
>> __pmSockAddrIsLoopBack first extracts the family from the given
>> address and the calls __pmLoopBackAddress(family), which in turn calls
>> __pmSockAddrInit() using that family (first error).
>>
>> It then calls __pmSockAddrCompare() with the original address and the
>> manufactured loopback address, both of which will now have family==0
>> (second error).
>>
>> Possible candidates:
>> __pmAccAddClient(new client adress)
>> __pmSockAddrIsLoopBack(const __pmSockAddr *addr)
>>
>> HandleClientInput(__pmFdSet *fdsPtr)
>> DoCreds(addr from client table)
>> __pmSockAddrIsLoopBack(const __pmSockAddr *addr)
>>
>> VerifyClient(addr from client table)
>> __pmSockAddrIsLoopBack(const __pmSockAddr *addr)
>>
>> I hope this helps,
>
> Ayup, certainly did.
>
> I poked at this a bit today (hmm, "lldb" now eh? fun) ... and I think it may
> be that accept is not filling in the family Dave. In your list above Dave I
> was able to reproduce it from __pmAccAddClient. We have this libpcp code:
>
> void
> __pmCheckAcceptedAddress(__pmSockAddr *addr)
> {
> #if defined(HAVE_STRUCT_SOCKADDR_UN)
> /*
> * accept(3) doesn't set the peer address for unix domain sockets.
> * We need to do it ourselves. The address family
> * is set, so we can use it to test. There is only one unix domain socket
> * open, so we know its path.
> */
> if (__pmSockAddrGetFamily(addr) == AF_UNIX)
> __pmSockAddrSetPath(addr, localSocketPath);
> #endif
> }
>
> (via __pmAccept)
>
> ... and it looks like we are seeing a sockaddr that is (still) completely
> zeroed after we accept on the fd in pmcd/client.c AcceptNewClient. The
> attached patch seems to tidy it up for me ... whaddya think Dave? Are we
> likely to see other places where this happens, I wonder?
Independently (because I don't read email often enough when we have a house full of grandchildren), I came to the same conclusion ... accept() is returning a valid fd and sa_family is AF_UNSPEC (0).
Here is a snippet of my augmented output running qa/066
> __pmAccept: fd=9 sa_len=16 sa_family=1 sa_data[...]=0000.0000.0000.0000
> AcceptNewClient:__pmAccept returns: fd=9 addr=/var/run/pcp/pmcd.socket
> CheckNewClient: cp->addr=/var/run/pcp/pmcd.socket
> __pmAccAddClient: hostid=/var/run/pcp/pmcd.socket
> getClientIds: hostid=/var/run/pcp/pmcd.socket
> __pmAccept: fd=9 sa_len=16 sa_family=2 sa_data[...]=fffffff93b.7f00.0001.0000
> AcceptNewClient:__pmAccept returns: fd=9 addr=127.0.0.1
> CheckNewClient: cp->addr=127.0.0.1
> __pmAccAddClient: hostid=127.0.0.1
> getClientIds: hostid=127.0.0.1
> __pmAccept: fd=10 sa_len=0 sa_family=0 sa_data[...]=0000.0000.0000.0000
> AcceptNewClient:__pmAccept returns: fd=10 addr=(null)
> CheckNewClient: cp->addr=(null)
> __pmAccAddClient: hostid=(null)
> getClientIds: hostid=(null)
> __pmAccDelClient: hostid=(null)
> getClientIds: hostid=(null)
Note the 3rd __pmAccept!
I have a minimal patch that makes the warnings go away without introducing any apparent badness ... I'll commit and post when I have a bit more QA time.
From kenj@internode.on.net Wed Jul 6 05:35:33 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id 906707CD7
for ; Wed, 6 Jul 2016 05:35:33 -0500 (CDT)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay1.corp.sgi.com (Postfix) with ESMTP id 530E48F8035
for ; Wed, 6 Jul 2016 03:35:30 -0700 (PDT)
X-ASG-Debug-ID: 1467801326-04bdf074b7410a60001-S8gJnT
Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by cuda.sgi.com with ESMTP id tcOfLBQNfhA5FxJt for ; Wed, 06 Jul 2016 03:35:26 -0700 (PDT)
X-Barracuda-Envelope-From: kenj@internode.on.net
X-Barracuda-Effective-Source-IP: ipmail06.adl6.internode.on.net[150.101.137.145]
X-Barracuda-Apparent-Source-IP: 150.101.137.145
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A2BnAwAs3nxXEJVY0XYNUIQUfIZvtDkah3cBAQEBAQEHAQEBAQEBAj6FNlUwBgIFFgsCCwMCAQIBGxYnBgIBAbNHZ5ArgQGOf4I1gloFmROGCZdokAqEVlyIcgEBAQ
Received: from ppp118-209-88-149.bras1.mel11.internode.on.net (HELO [192.168.1.100]) ([118.209.88.149])
by ipmail06.adl6.internode.on.net with ESMTP; 06 Jul 2016 20:05:27 +0930
To: pcp@oss.sgi.com
Subject: pcp updates: misc Mac OS X driven changes
From: Ken McDonell
X-ASG-Orig-Subj: pcp updates: misc Mac OS X driven changes
Message-ID: <577CDEED.9010706@internode.on.net>
Date: Wed, 6 Jul 2016 20:35:25 +1000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
Thunderbird/38.8.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Barracuda-Connect: ipmail06.adl6.internode.on.net[150.101.137.145]
X-Barracuda-Start-Time: 1467801326
X-Barracuda-URL: https://192.48.157.11:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 1847
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31056
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
Changes committed to git://git.pcp.io/kenj/pcp master
Ken McDonell (4):
qa/669: strip spaces from wc(1) output
src/pmdas/mmv/src/mmv.c: avoid compiler warnings when printing size_t values
src/libpcp_pmda/src/open.c: fix (missing) negation of error status before reporting
src/libpcp/src/auxconnect.c: guard against accept() returning an AF_UNSPEC connection
qa/669 | 8 ++++----
src/libpcp/src/auxconnect.c | 9 +++++++++
src/libpcp_pmda/src/open.c | 2 +-
src/pmdas/mmv/src/mmv.c | 6 +++---
4 files changed, 17 insertions(+), 8 deletions(-)
Details ...
commit db29064ab2dd2fbcbc6c6888896b1a8bc062fc71
Author: Ken McDonell
Date: Wed Jul 6 20:08:20 2016 +1000
src/libpcp/src/auxconnect.c: guard against accept() returning an AF_UNSPEC connection
Only seen on Mac OS X to date, but we definitely see cases where pmcd
accepts connections but the socket's address family is undefined.
commit 24999774e6c6e087ae020cd2412ba09cf11a01cc
Author: Ken McDonell
Date: Wed Jul 6 20:01:41 2016 +1000
src/libpcp_pmda/src/open.c: fix (missing) negation of error status before reporting
commit 77852f6029e3e22f78bc56750ba600b62138fdc4
Author: Ken McDonell
Date: Wed Jul 6 20:00:32 2016 +1000
src/pmdas/mmv/src/mmv.c: avoid compiler warnings when printing size_t values
It is dangerous to make assumptions about the size and type of a
size_t.
commit e5349ee4f8a15f0999afbd6ece7cb725bf0237e5
Author: Ken McDonell
Date: Wed Jul 6 19:57:55 2016 +1000
qa/669: strip spaces from wc(1) output
wc is unfortunately different on different platforms in terms of
white space around the counts.
From bugzilla@redhat.com Wed Jul 6 08:32:13 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 05C377D0D
for ; Wed, 6 Jul 2016 08:32:13 -0500 (CDT)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay2.corp.sgi.com (Postfix) with ESMTP id CA783304059
for ; Wed, 6 Jul 2016 06:32:09 -0700 (PDT)
X-ASG-Debug-ID: 1467811924-04cbb02735589b60001-S8gJnT
Received: from smtp-mx-server-8.servers.netregistry.net (smtp-outgoing-70.servers.netregistry.net [202.124.241.70]) by cuda.sgi.com with ESMTP id DUWRoHlO9VkCYUmR (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Wed, 06 Jul 2016 06:32:06 -0700 (PDT)
X-Barracuda-Envelope-From: bugzilla@redhat.com
X-Barracuda-RBL-Trusted-Forwarder: 202.124.241.70
Received: from mx1-phx2.redhat.com ([209.132.183.26])
by smtp-mx-server-8.servers.netregistry.net protocol: esmtps (Exim 4.84_2 #1 (Debian))
id 1bKmvl-0006Nf-KG
for ; Wed, 06 Jul 2016 23:32:03 +1000
Received: from bugweb-04.app.bz.hst.phx2.redhat.com (bugweb-04.app.bz.hst.phx2.redhat.com [10.5.117.34])
by mx1-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u66DVjWm063681
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO)
for ; Wed, 6 Jul 2016 09:31:45 -0400
X-Barracuda-Registry: Level1 [redhat.com/209.132.183.26]
X-Barracuda-Effective-Source-IP: mx1-phx2.redhat.com[209.132.183.26]
X-Barracuda-Apparent-Source-IP: 209.132.183.26
X-Barracuda-RBL-IP: 209.132.183.26
X-Barracuda-BBL-IP: 209.132.183.26
Received: from bugweb-04.app.bz.hst.phx2.redhat.com (localhost [127.0.0.1])
by bugweb-04.app.bz.hst.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u66DVj1f034051
for ; Wed, 6 Jul 2016 09:31:45 -0400
Received: (from apache@localhost)
by bugweb-04.app.bz.hst.phx2.redhat.com (8.14.4/8.14.4/Submit) id u66DViHX034050;
Wed, 6 Jul 2016 09:31:44 -0400
X-Authentication-Warning: bugweb-04.app.bz.hst.phx2.redhat.com: apache set sender to bugzilla@redhat.com using -f
From: bugzilla@redhat.com
To: pcp@kenj.com.au
Subject: [Bug 1353194] New: Incorrect archive time/zone reporting
Date: Wed, 06 Jul 2016 13:31:44 +0000
X-ASG-Orig-Subj: [Bug 1353194] New: Incorrect archive time/zone reporting
Precedence: bulk
Auto-Submitted: auto-generated
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Classification: Fedora
X-Bugzilla-Product: Fedora
X-Bugzilla-Component: pcp
X-Bugzilla-Sub-Component:
X-Bugzilla-Version: 24
X-Bugzilla-Keywords:
X-Bugzilla-Severity: unspecified
X-Bugzilla-Who: myllynen@redhat.com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: unspecified
X-Bugzilla-Assigned-To: nathans@redhat.com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields:
bug_id short_desc product version component assigned_to reporter qa_contact
cc
X-Bugzilla-Comment: public
X-Bugzilla-Reporter: myllynen@redhat.com
X-Loop: bugzilla@redhat.com
X-BeenThere: bugzilla@redhat.com
Message-ID:
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: https://bugzilla.redhat.com/
MIME-Version: 1.0
X-Barracuda-Connect: smtp-outgoing-70.servers.netregistry.net[202.124.241.70]
X-Barracuda-Start-Time: 1467811925
X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256
X-Barracuda-URL: https://192.48.176.25:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 1401
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, NO_REAL_NAME
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31059
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.00 NO_REAL_NAME From: does not include a real name
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
https://bugzilla.redhat.com/show_bug.cgi?id=3D1353194
Bug ID: 1353194
Summary: Incorrect archive time/zone reporting
Product: Fedora
Version: 24
Component: pcp
Assignee: nathans@redhat.com
Reporter: myllynen@redhat.com
QA Contact: extras-qa@fedoraproject.org
CC: brolley@redhat.com, fche@redhat.com, lberk@redhat.com,
mgoodwin@redhat.com, nathans@redhat.com,
pcp@kenj.com.au, scox@redhat.com
Description of problem:
See http://oss.sgi.com/pipermail/pcp/2016-July/010948.html for background.
- pmdumptext(1) reports time/zone incorrectly as reported above
- pmchart(1) is incorrect like pmdumptext(1) but additionally the time cont=
rols
it shows are using times as if -z had been given (so in the case of
pcp-vmstat/EET-2 mentioned in the referenced email above, 06:53 is expected=
but
pmchart shows 07:53 and 15:53)
- pmcollectl(1) reports current local time not the archive time
I haven't checked pmdiff(1), pmie(1), pminfo(1), pmlogcheck(1) or most of t=
he
pcp(1) subcommands.
pmclient(1), pmiostat(1), pmlogsummary(1), pmstat(1) seem to handle this ok.
--=20
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=3DY5SWFHi=
vYT&a=3Dcc_unsubscribe=
From chinaregistry310@aliyun.com Wed Jul 6 09:33:04 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=HTML_MESSAGE,T_DKIM_INVALID,
UNPARSEABLE_RELAY autolearn=ham version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id 3FCD67D0D
for ; Wed, 6 Jul 2016 09:33:04 -0500 (CDT)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay1.corp.sgi.com (Postfix) with ESMTP id 03CA78F8039
for ; Wed, 6 Jul 2016 07:33:03 -0700 (PDT)
X-ASG-Debug-ID: 1467815571-04cb6c063d457230001-S8gJnT
Received: from smtpcm9-119.freemail.mail.aliyun.com (smtpcm9-119.freemail.mail.aliyun.com [115.124.18.19]) by cuda.sgi.com with ESMTP id nU6l3eSNZMHQJyFb for ; Wed, 06 Jul 2016 07:32:51 -0700 (PDT)
X-Barracuda-Envelope-From: chinaregistry310@aliyun.com
X-Barracuda-Effective-Source-IP: smtpcm9-119.freemail.mail.aliyun.com[115.124.18.19]
X-Barracuda-Apparent-Source-IP: 115.124.18.19
DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed;
d=aliyun.com; s=s1024;
t=1467815570; h=Date:From:To:Subject:Message-ID:Mime-Version:Content-Type;
bh=l57qsUHV3OEW+qmFA9Q2SwmvUXHoRUjALCRkZ1R/9/I=;
b=uZqpJrRdXe4D19px4dXIvqG48kPd943xQXop5tg58fHtWLueMhyVO22SrJ4gKJAu8lerNzpa3w+W7eLOCIlts43ozOWfH4t9Y0WzWOhYMn+IN8cuR1/FOeRyGsQcBQFQTBK2FDDSfiCzBxL/jyQBdnLu9KNDGJLMqGyNE+aCg4c=
X-Alimail-AntiSpam:AC=CONTINUE;BC=0.09465114|-1;FP=10877240775256287997|10|1|9|0|-1|-1|-1;HT=r75b01015;MF=chinaregistry310@aliyun.com;NM=1;PH=DS;RN=1;RT=1;SR=0;TI=SMTPD_----DpGdpVV_1467815569;
Received: from jk(mailfrom:chinaregistry310@aliyun.com ip:180.158.18.192)
by smtp.aliyun-inc.com(127.0.0.1);
Wed, 06 Jul 2016 22:32:49 +0800
Reply-To:
Date: Wed, 6 Jul 2016 22:32:36 +0800
From: "Nick Liu"
To:
Subject: pcp CN domain and keyword
Message-ID: <20160706223250683261@aliyun.com>
X-ASG-Orig-Subj: pcp CN domain and keyword
X-mailer: Foxmail 6, 13, 102, 15 [cn]
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="=====003_Dragon504876852664_====="
X-Barracuda-Connect: smtpcm9-119.freemail.mail.aliyun.com[115.124.18.19]
X-Barracuda-Start-Time: 1467815571
X-Barracuda-URL: https://192.48.176.15:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 8394
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 1.67
X-Barracuda-Spam-Status: No, SCORE=1.67 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=DKIM_SIGNED, DKIM_VERIFIED, HELO_DYNAMIC_DHCP, HELO_DYNAMIC_DHCP_2, HTML_MESSAGE, UNPARSEABLE_RELAY
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31059
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.00 HELO_DYNAMIC_DHCP Relay HELO'd using suspicious hostname (DHCP)
0.00 UNPARSEABLE_RELAY Informational: message has unparseable relay lines
-0.00 DKIM_VERIFIED Domain Keys Identified Mail: signature passes
verification
0.00 DKIM_SIGNED Domain Keys Identified Mail: message has a signature
0.00 HTML_MESSAGE BODY: HTML included in message
1.66 HELO_DYNAMIC_DHCP_2 HELO_DYNAMIC_DHCP_2
This is a multi-part message in MIME format.
--=====003_Dragon504876852664_=====
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: base64
KFBsZWFzZSBmb3J3YXJkIHRoaXMgdG8geW91ciBDRU8sIGJlY2F1c2UgdGhpcyBpcyB1cmdlbnQu
IFRoYW5rcykNCg0KV2UgYXJlIGEgTmV0d29yayBTZXJ2aWNlIENvbXBhbnkgd2hpY2ggaXMgdGhl
IGRvbWFpbiBuYW1lIHJlZ2lzdHJhdGlvbiBjZW50ZXIgaW4gU2hhbmdoYWksIENoaW5hLiBPbiBK
dWx5IDQsIDIwMTYsIHdlIHJlY2VpdmVkIGFuIGFwcGxpY2F0aW9uIGZyb20gS2Vob25nIEhvbGRp
bmdzIEx0ZCByZXF1ZXN0ZWQgInBjcCIgYXMgdGhlaXIgaW50ZXJuZXQga2V5d29yZCBhbmQgQ2hp
bmEgKENOKSBkb21haW4gbmFtZXMgKHBjcC5jbiwgcGNwLmNvbS5jbiwgcGNwLm5ldC5jbiwgcGNw
Lm9yZy5jbikuIEJ1dCBhZnRlciBjaGVja2luZyBpdCwgd2UgZmluZCB0aGlzIG5hbWUgY29uZmxp
Y3Qgd2l0aCB5b3VyIGNvbXBhbnkgbmFtZ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zLXNlcmlmJzsgQ09MT1I6IGdyYXki
PjxGT05UIA0KY29sb3I9YmxhY2s+PEZPTlQgY29sb3I9IzAwNDA4MD48Rk9OVCBzaXplPTMgDQpm
YWNlPUNhbGlicmk+PC9ESVY+PC9GT05UPjwvRk9OVD48L0ZPTlQ+PC9TUEFOPjwvRElWPjwvRk9O
VD48L0JPRFk+PC9IVE1MPg0K
--=====003_Dragon504876852664_=====--
From gotorima1972@pediatrician.com Wed Jul 6 09:42:22 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level: **
X-Spam-Status: No, score=2.6 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,
FREEMAIL_FROM,FROM_12LTRDOM,FUZZY_XPILL,HTML_MESSAGE autolearn=no
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id 00E657D0D
for ; Wed, 6 Jul 2016 09:42:22 -0500 (CDT)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay3.corp.sgi.com (Postfix) with ESMTP id 80584AC007
for ; Wed, 6 Jul 2016 07:42:18 -0700 (PDT)
X-ASG-Debug-ID: 1467816131-04bdf074b6436630001-S8gJnT
Received: from mx01.gmx.com (hosted-by-i3d.net [213.163.72.50]) by cuda.sgi.com with ESMTP id 76cf1OVabpHJRmlY for ; Wed, 06 Jul 2016 07:42:13 -0700 (PDT)
X-Barracuda-Envelope-From: gotorima1972@pediatrician.com
X-Barracuda-Effective-Source-IP: hosted-by-i3d.net[213.163.72.50]
X-Barracuda-Apparent-Source-IP: 213.163.72.50
Message-ID: <1667DC9131A1794CEF9928B0F5326DA2@TUFCWEFTFWI>
From: "=?utf-8?B?TWV0aG9kcyBvZiB0YXggZXZhc2lvbg==?="
To:
Subject: =?utf-8?B?0KDQuNGB0LrQuCDQuCDQvtGI0LjQsdC60Lgg0L/RgNC4INC00YDQvtCx0LvQtdC90LjQuCDQsdC40LfQvdC10YHQsA==?=
Date: Wed, 6 Jul 2016 17:42:11 +0300
X-ASG-Orig-Subj: =?utf-8?B?0KDQuNGB0LrQuCDQuCDQvtGI0LjQsdC60Lgg0L/RgNC4INC00YDQvtCx0LvQtdC90LjQuCDQsdC40LfQvdC10YHQsA==?=
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0018_01D1D7AD.B9F573C0"
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Mailer: Microsoft Windows Live Mail 15.4.3538.513
X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3538.513
X-Barracuda-Connect: hosted-by-i3d.net[213.163.72.50]
X-Barracuda-Start-Time: 1467816132
X-Barracuda-URL: https://192.48.157.11:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 10461
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 1.06
X-Barracuda-Spam-Status: No, SCORE=1.06 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=FROM_EXCESS_BASE64, FROM_EXCESS_BASE64_2, HTML_MESSAGE
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31060
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.00 HTML_MESSAGE BODY: HTML included in message
0.01 FROM_EXCESS_BASE64 From: base64 encoded unnecessarily
1.05 FROM_EXCESS_BASE64_2 From: base64 encoded unnecessarily
Ýòî — ñîîáùåíèå èç íåñêîëüêèõ ÷àñòåé â ôîðìàòå MIME.
------=_NextPart_000_0018_01D1D7AD.B9F573C0
Content-Type: text/plain;
charset="koi8-r"
Content-Transfer-Encoding: quoted-printable
13 =C9=C0=CC=D1 | =C7. =ED=CF=D3=CB=D7=C1 | =E1=D2=D4=C9=CB=D5=CC: 459
=20
=F0=C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C0 =
=C2=C9=DA=CE=C5=D3=C1, =D2=C1=DA=C2=CF=D2 =D3=CC=CF=D6=CE=D9=C8 =
=D3=CC=D5=DE=C1=C5=D7.
=F5=DE=C1=D3=D4=C9=C5: 11 800 =D2=D5=C2.=20
=F7=C8=CF=C4=C9=D4 =
=CD=C5=D4=CF=C4=C9=DE=C5=D3=CB=C9=CA =CD=C1=D4=C5=D2=C9=C1=CC, =
=CF=C2=C5=C4=D9,=20
=CB=CF=C6=C5-=D0=C1=D5=DA=D9, =
=D3=C5=D2=D4=C9=C6=C9=CB=C1=D4.
=F5=DE=C5=C2=CE=C1=D1 =
=C1=D5=C4=C9=D4=CF=D2=C9=D1 =CF=C2=CF=D2=D5=C4=CF=D7=C1=CE=C1 =
=D3=C9=D3=D4=C5=CD=CF=CA=20
=CB=CF=CE=C4=C9=C3=C9=CF=CE=C9=D2=CF=D7=C1=CE=C9=D1!
------=_NextPart_000_0018_01D1D7AD.B9F573C0--
From myllynen@redhat.com Wed Jul 6 10:34:12 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id 1431E7D0D
for ; Wed, 6 Jul 2016 10:34:12 -0500 (CDT)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay1.corp.sgi.com (Postfix) with ESMTP id DA8D48F8035
for ; Wed, 6 Jul 2016 08:34:08 -0700 (PDT)
X-ASG-Debug-ID: 1467819244-04cbb027355aaea0001-S8gJnT
Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by cuda.sgi.com with ESMTP id CuTuX2vUpEDt4ZRF (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Wed, 06 Jul 2016 08:34:05 -0700 (PDT)
X-Barracuda-Envelope-From: myllynen@redhat.com
X-Barracuda-Effective-Source-IP: mail-wm0-f44.google.com[74.125.82.44]
X-Barracuda-Apparent-Source-IP: 74.125.82.44
Received: by mail-wm0-f44.google.com with SMTP id f126so178365136wma.1
for ; Wed, 06 Jul 2016 08:34:05 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:reply-to:subject:references:to:cc:from
:organization:message-id:date:user-agent:mime-version:in-reply-to
:content-transfer-encoding;
bh=N4nqAQjUGxUQLe7T7SYnJKyPDToE/3KUbmTp2an+1w0=;
b=JRrsMNu5PChNhlnk/rEaEBVS/QxbLaVfKJBvgna6gxMOTOCWU6yEPXiTUsdoteqz94
lzrpuJp12ewK6CWq+RZXpU/HARIVvgVPvZ00gsctmsgeNRsC/t54g9hr71MswYQPg1EU
fYSeL/qB5e4BO5Z+H+ED1hs131ArnwaRaB/xgI6bmfIkoC8CsqeehkNuQ08xlTEGOcKx
DLYZgttJmkK6OJmpHxxrQvnLej4obN9BkSUy9w6Se9aQrJhejKa5kx6mpot+6HoHbcgz
oYGY0qbDghDRrcdIPEGHoNNgHZEne6GDpTPKP8lYtE2Wu5zmT4+2FEh7Ex6KfHUY1bBr
JAWA==
X-Gm-Message-State: ALyK8tLQRwU6zKhHq34uvKwd7LFb+giWIsbPvDLYrts31aAFwcANRXmv/p9Vp7VzXLF0kTdt
X-Received: by 10.194.6.36 with SMTP id x4mr21087433wjx.147.1467819244372;
Wed, 06 Jul 2016 08:34:04 -0700 (PDT)
Received: from [192.168.1.101] (176-93-121-29.bb.dnainternet.fi. [176.93.121.29])
by smtp.gmail.com with ESMTPSA id q69sm8970399wmd.4.2016.07.06.08.34.02
(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Wed, 06 Jul 2016 08:34:03 -0700 (PDT)
Reply-To: Marko Myllynen
Subject: Re: [pcp] Shouldn't pmrep use the default config file?
References:
<5763B86B.1070506@redhat.com>
X-ASG-Orig-Subj: Re: [pcp] Shouldn't pmrep use the default config file?
To: Jamie Bainbridge
Cc: pcp@oss.sgi.com
From: Marko Myllynen
Organization: Red Hat
Message-ID: <577D24E9.1090900@redhat.com>
Date: Wed, 6 Jul 2016 18:34:01 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
Thunderbird/38.8.0
MIME-Version: 1.0
In-Reply-To:
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Barracuda-Connect: mail-wm0-f44.google.com[74.125.82.44]
X-Barracuda-Start-Time: 1467819245
X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256
X-Barracuda-URL: https://192.48.176.25:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 4223
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31060
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
Hi,
On 2016-07-01 03:09, Jamie Bainbridge wrote:
> On 17 June 2016 at 18:44, Marko Myllynen wrote:
>>
>> Agreed, this on the TODO list already (see pcp.git/src/pmrep/TODO):
>>
>> - includedir config file support (?)
>>
>> There was also this item:
>>
>> - look for config in ./, ~/.pcp, ~/, /etc/pcp or so
>>
>> Do you think that would be helpful or should we just drop that item?
>
> I like the idea of cwd, user-specific config, then system-wide config.
>
> This allows users to easily have their own tools just work without
> having root access to modify the system-wide files.
Ok, how about the patch below?
---
src/pmrep/TODO | 1 -
src/pmrep/pmrep.1 | 16 ++++++++++------
src/pmrep/pmrep.conf.5 | 7 ++-----
src/pmrep/pmrep.py | 12 ++++++++----
4 files changed, 20 insertions(+), 16 deletions(-)
diff --git a/src/pmrep/TODO b/src/pmrep/TODO
index 805be88..23f6cb4 100644
--- a/src/pmrep/TODO
+++ b/src/pmrep/TODO
@@ -11,7 +11,6 @@
- add JSON output support
- add XML output support (like sadf)
- add XLS output support (like sar2xls)
-- look for config in ./, ~/.pcp, ~/, /etc/pcp or so
- possibly add more command line switch sanity checking
- modularize code to allow creating custom output plugins
- (e.g. pcp2graphite type socket, top-like output, separate pcp2zabbix)
diff --git a/src/pmrep/pmrep.1 b/src/pmrep/pmrep.1
index 2e91f92..d6593d4 100644
--- a/src/pmrep/pmrep.1
+++ b/src/pmrep/pmrep.1
@@ -251,8 +251,12 @@ See also
Specify the
.I config
file to use.
-The default is
-.BR ./pmrep.conf .
+The default is the first found of:
+.BR ./pmrep.conf ,
+.BR $HOME/.pmrep.conf ,
+.BR $HOME/pcp/pmrep.conf ,
+and
+.BR $PCP_SYSCONF_DIR/pmrep/pmrep.conf .
See
.BR pmrep.conf (5).
Unlike with other options,
@@ -681,11 +685,11 @@ $ pmrep -o archive -F ./a -t 5s -T 5m ds389 xfs kernel.all.cpu disk mem
.SH FILES
.PD 0
.TP 10
-.BI ./pmrep.conf
-Default configuration file.
+.BI pmrep.conf
+\fBpmrep\fR configuration file (see \fB-c\fR).
.TP 10
-.BI /etc/pcp/pmrep/pmrep.conf
-Example configuration file.
+.BI $PCP_SYSCONF_DIR/pmrep/pmrep.conf
+System provided configuration file.
.PD
.SH BUGS
No command line option can follow metrics.
diff --git a/src/pmrep/pmrep.conf.5 b/src/pmrep/pmrep.conf.5
index c4bbfa1..937ddce 100644
--- a/src/pmrep/pmrep.conf.5
+++ b/src/pmrep/pmrep.conf.5
@@ -465,11 +465,8 @@ pswitch.width = 8
.SH FILES
.PD 0
.TP 10
-.BI ./pmrep.conf
-Default configuration file.
-.TP 10
-.BI /etc/pcp/pmrep/pmrep.conf
-Example configuration file.
+.BI $PCP_SYSCONF_DIR/pmrep/pmrep.conf
+System provided configuration file.
.PD
.SH SEE ALSO
.BR PCPIntro (1),
diff --git a/src/pmrep/pmrep.py b/src/pmrep/pmrep.py
index bf817f5..15f852d 100755
--- a/src/pmrep/pmrep.py
+++ b/src/pmrep/pmrep.py
@@ -72,7 +72,7 @@ if sys.version_info[0] >= 3:
long = int
# Default config
-DEFAULT_CONFIG = "./pmrep.conf"
+DEFAULT_CONFIG = [ "./pmrep.conf", "$HOME/.pmrep.conf", "$HOME/.pcp/pmrep.conf", "$PCP_SYSCONF_DIR/pmrep/pmrep.conf" ]
# Default field separators, config/time formats, missing/truncated values
CSVSEP = ","
@@ -368,7 +368,13 @@ class PMReporter(object):
def set_config_file(self):
""" Set configuration file """
- config = DEFAULT_CONFIG
+ config = DEFAULT_CONFIG[0]
+ for conf in DEFAULT_CONFIG:
+ conf = conf.replace("$HOME", os.getenv("HOME"))
+ conf = conf.replace("$PCP_SYSCONF_DIR", os.getenv("PCP_SYSCONF_DIR"))
+ if os.path.isfile(conf) or os.access(conf, os.R_OK):
+ config = conf
+ break
# Possibly override the built-in default config file before
# parsing the rest of the command line options
@@ -415,8 +421,6 @@ class PMReporter(object):
def read_config(self):
""" Read options from configuration file """
- if self.config is None:
- return
config = ConfigParser.SafeConfigParser()
config.read(self.config)
if not config.has_section('options'):
Thanks,
--
Marko Myllynen
From myllynen@redhat.com Wed Jul 6 10:37:20 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id ECDA37D0D
for ; Wed, 6 Jul 2016 10:37:20 -0500 (CDT)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay2.corp.sgi.com (Postfix) with ESMTP id BEF96304039
for ; Wed, 6 Jul 2016 08:37:20 -0700 (PDT)
X-ASG-Debug-ID: 1467819438-04cbb027375ac120001-S8gJnT
Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by cuda.sgi.com with ESMTP id 1usmCDkdE0djgfIb (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Wed, 06 Jul 2016 08:37:19 -0700 (PDT)
X-Barracuda-Envelope-From: myllynen@redhat.com
X-Barracuda-Effective-Source-IP: mail-wm0-f50.google.com[74.125.82.50]
X-Barracuda-Apparent-Source-IP: 74.125.82.50
Received: by mail-wm0-f50.google.com with SMTP id f126so178473033wma.1
for ; Wed, 06 Jul 2016 08:37:18 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:reply-to:to:from:subject:organization:message-id
:date:user-agent:mime-version:content-transfer-encoding;
bh=LX/no0hlf+qOHqzJBaaC1meeGDRSF6SUy1M3UVxbV2k=;
b=MX3KvII3TGTH5zmfh04/9OWCfAioKPT2VuO9GmOkwOqIxYlI+PZQ1v6PWvjPKdVuHd
6Ll53CFlUw4yTzzjGdhJhh5HEqanvtJzrw6Vf5iAmWPzv0WoHWzbZ+tmFQ9FxA6lPjCf
ajSJNc24Z9+8J25ZM0sWSjundFckQVFAu7NhUFJwlZ6IMXwnTVuvfQQWAIyvI9Vurq7G
5tLU7b31dbIeDFWpep30g3/r2/bj71rrQ+q4xazARUmwtbSLLrLMsH6HszLbzzjLIPbr
agJws4Ru+bCyJnMzD63kKleMrGuUG/iPvDgie1kZ0t4W8RZezyTr+Tg3k6PF6atkGSoi
8PsQ==
X-Gm-Message-State: ALyK8tJB0kQifLG3nnt2OSuxP+PQ5KSoj+b2w7IldxjcqaMf4mANoXtSuz/963cTO1vp/ctH
X-Received: by 10.194.115.67 with SMTP id jm3mr21513877wjb.71.1467819437579;
Wed, 06 Jul 2016 08:37:17 -0700 (PDT)
Received: from [192.168.1.101] (176-93-121-29.bb.dnainternet.fi. [176.93.121.29])
by smtp.gmail.com with ESMTPSA id b200sm8439973wmb.9.2016.07.06.08.37.16
for
(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Wed, 06 Jul 2016 08:37:17 -0700 (PDT)
Reply-To: Marko Myllynen
To: pcp developers
From: Marko Myllynen
Subject: pmmgr.1: fix typo
Organization: Red Hat
X-ASG-Orig-Subj: pmmgr.1: fix typo
Message-ID: <577D25AB.1060804@redhat.com>
Date: Wed, 6 Jul 2016 18:37:15 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
Thunderbird/38.8.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Barracuda-Connect: mail-wm0-f50.google.com[74.125.82.50]
X-Barracuda-Start-Time: 1467819438
X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256
X-Barracuda-URL: https://192.48.176.25:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 497
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31060
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
Fix wrong path in the pmmgr(1) man page.
---
man/man1/pmmgr.1 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/man/man1/pmmgr.1 b/man/man1/pmmgr.1
index 2e8526b..309a026 100644
--- a/man/man1/pmmgr.1
+++ b/man/man1/pmmgr.1
@@ -446,7 +446,7 @@ files under the log directory.
.SH FILES
.PD 0
.TP 10
-.BI $PCP_SYSCONFIG_DIR/pmmgr/
+.BI $PCP_SYSCONF_DIR/pmmgr/
default configuration directory
.TP
.BI $PCP_LOG_DIR/pmmgr/
Thanks,
--
Marko Myllynen
From brolley@redhat.com Wed Jul 6 11:28:55 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id 5E5E57D0D
for ; Wed, 6 Jul 2016 11:28:55 -0500 (CDT)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay3.corp.sgi.com (Postfix) with ESMTP id CBE23AC007
for ; Wed, 6 Jul 2016 09:28:51 -0700 (PDT)
X-ASG-Debug-ID: 1467822529-04cbb027355c0cc0001-S8gJnT
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id Lbn2eobDy8nWLQQf (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 06 Jul 2016 09:28:50 -0700 (PDT)
X-Barracuda-Envelope-From: brolley@redhat.com
X-Barracuda-Effective-Source-IP: mx1.redhat.com[209.132.183.28]
X-Barracuda-Apparent-Source-IP: 209.132.183.28
X-ASG-Whitelist: Client
Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.redhat.com (Postfix) with ESMTPS id A13C985540;
Wed, 6 Jul 2016 16:28:49 +0000 (UTC)
Received: from [10.15.17.216] (unused-10-15-17-216.yyz.redhat.com [10.15.17.216])
by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u66GSmZO030486;
Wed, 6 Jul 2016 12:28:49 -0400
Message-ID: <577D325B.6060208@redhat.com>
Date: Wed, 06 Jul 2016 12:31:23 -0400
From: Dave Brolley
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: Nathan Scott , Ken McDonell
CC: PCP
Subject: Re: [pcp] errors from socket code on Mac OS X
References: <577C1045.1040108@internode.on.net> <577C1D0A.6040300@redhat.com> <2068385288.4119706.1467774342414.JavaMail.zimbra@redhat.com>
X-ASG-Orig-Subj: Re: [pcp] errors from socket code on Mac OS X
In-Reply-To: <2068385288.4119706.1467774342414.JavaMail.zimbra@redhat.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Wed, 06 Jul 2016 16:28:49 +0000 (UTC)
X-Barracuda-Connect: mx1.redhat.com[209.132.183.28]
X-Barracuda-Start-Time: 1467822530
X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384
X-Barracuda-URL: https://192.48.176.25:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 820
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
On 07/05/2016 11:05 PM, Nathan Scott wrote:
> ... and it looks like we are seeing a sockaddr that is (still) completely
> zeroed after we accept on the fd in pmcd/client.c AcceptNewClient. The
> attached patch seems to tidy it up for me ... whaddya think Dave? Are we
> likely to see other places where this happens, I wonder?
>
I would think that it could happen for any call to __pmAccept().
In your patch, based on __pmCheckAcceptedAddress() requiring that the
family be set in the address, you set it before calling __pmAccept(). If
we're going to require that the family be provided to
__pmCheckAcceptedAddress() via __pmAccept(), then we should probably
bite the bullet and enforce that by making the family a 4th parameter to
__pmAccept() and have __pmAccept set it, when needed.
Dave
From alec@alectenharmsel.com Wed Jul 6 12:57:33 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level: ***
X-Spam-Status: No, score=3.2 required=5.0 tests=NORMAL_HTTP_TO_IP,
TVD_SUBJ_NUM_OBFU_MINFP,T_DKIM_INVALID,WEIRD_PORT autolearn=no version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id 1FE177D0D
for ; Wed, 6 Jul 2016 12:57:33 -0500 (CDT)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay3.corp.sgi.com (Postfix) with ESMTP id 74856AC008
for ; Wed, 6 Jul 2016 10:57:29 -0700 (PDT)
X-ASG-Debug-ID: 1467827832-04cb6c063f4a7c00001-S8gJnT
Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by cuda.sgi.com with ESMTP id UxnEeX1IjGobSnrl (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 06 Jul 2016 10:57:13 -0700 (PDT)
X-Barracuda-Envelope-From: alec@alectenharmsel.com
X-Barracuda-Effective-Source-IP: out3-smtp.messagingengine.com[66.111.4.27]
X-Barracuda-Apparent-Source-IP: 66.111.4.27
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42])
by mailout.nyi.internal (Postfix) with ESMTP id B35D62027B;
Wed, 6 Jul 2016 13:57:12 -0400 (EDT)
Received: from frontend1 ([10.202.2.160])
by compute2.internal (MEProxy); Wed, 06 Jul 2016 13:57:12 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
messagingengine.com; h=cc:content-type:date:from:in-reply-to
:message-id:mime-version:references:subject:to:x-sasl-enc
:x-sasl-enc; s=smtpout; bh=1Kud2rFo/L5kHOhZoPm9NEQi8lc=; b=oewcV
Hs4vy5b3Q1+C//REAK8Z61O+wuFShz2g7A5RKOFerSSSo+vR+cMlXSiQe+AWWjG5
FL2/mb2WWDagiQOciCr2RF4Npvznh0eGqd127xkWCFPRJKYCTlYy8tqQmk0kv9+5
FVZ9jO7bKm5HTH+ArVKwCK6tZnkuIxy/VkFlj8=
X-Sasl-enc: c7Wcv9tdpIikuc52j5a1mDmx5AcDtEMuT+JJb0Ur9oKN 1467827832
Received: from apio.adsroot.itcs.umich.edu (0587387179.wireless.umich.net [35.2.209.43])
by mail.messagingengine.com (Postfix) with ESMTPA id 07497F29EE;
Wed, 6 Jul 2016 13:57:11 -0400 (EDT)
Date: Wed, 6 Jul 2016 13:57:07 -0400
From: Alec Ten Harmsel
To: Nathan Scott
Cc: pcp@oss.sgi.com
Subject: Re: [pcp] pcp2influxdb - a clone of pcp2graphite
Message-ID: <20160706175707.GA945@apio.adsroot.itcs.umich.edu>
X-ASG-Orig-Subj: Re: [pcp] pcp2influxdb - a clone of pcp2graphite
References: <20160630184840.GB880@apio.adsroot.itcs.umich.edu>
<1219763127.3321732.1467327849186.JavaMail.zimbra@redhat.com>
<343267617.3556068.1467601341893.JavaMail.zimbra@redhat.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="ibTvN161/egqYuK8"
Content-Disposition: inline
In-Reply-To: <343267617.3556068.1467601341893.JavaMail.zimbra@redhat.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Barracuda-Connect: out3-smtp.messagingengine.com[66.111.4.27]
X-Barracuda-Start-Time: 1467827833
X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384
X-Barracuda-URL: https://192.48.176.15:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 2315
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.50
X-Barracuda-Spam-Status: No, SCORE=0.50 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, DKIM_SIGNED, DKIM_VERIFIED, NORMAL_HTTP_TO_IP, WEIRD_PORT
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31064
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
-0.00 DKIM_VERIFIED Domain Keys Identified Mail: signature passes
verification
0.00 DKIM_SIGNED Domain Keys Identified Mail: message has a signature
0.00 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL
0.50 WEIRD_PORT URI: Uses non-standard port number for HTTP
--ibTvN161/egqYuK8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hi Nathan,
On Sun, Jul 03, 2016 at 11:02:21PM -0400, Nathan Scott wrote:
> Hi Alec,
>
> ----- Original Message -----
> > [...]
> > >> We've been testing it for a couple of days and have not had any issues
> > >> with the patch.
> > > The one thing the patch lacks is the influxdb equivalent of regression
> > > test pcp/qa/667 which would take pcp2influxdb through its paces. Could
> > > you add something like that little shell script, for influxdb?
> > >
> >
> > I will certainly do this, but it'll take a few days. We are pretty busy
> > getting ready for some maintenance that will happen in a couple of weeks.
> >
>
> OK, thanks and no problem. Let me know if any assistance is needed there -
> there's some high level notes about the test scripts in qa/README too.
>
I have added a test - qa/9001 - in the new version of the patch,
attached to this mail. I did not want to pick a number in the low 1000's
just in case it would be taken by now; that can be changed to whatever.
Sorry if that causes any trouble. Updates to qa/group and other metadata
are not included in the patch so that it can be easily re-numbered.
The test that I added is not as full featured as qa/667. `socat' quits
after receiving EOF, which makes it not useful for testing
pcp2influxdb. pcp2influxdb aggregates metrics for a single request as
much as possible, but two separate calls to Relay.send() will generate
two separate connections. Without using another program or writing a
little python HTTP server to use for testing, I wasn't sure how to add
that to the test script.
I did some refactoring, with the only change being that
multiple-instance metrics are now recorded in a better way. A metric
like `disk.partitions.read' would have created a handful of
"measurements" in InfluxDB, each with a single "field" with a key of
"value":
* disk_partitions_read_sda1
* disk_partitions_read_sda2
* disk_partitions_read_sda3
Now, just a single `disk_partitions_read' "measurement" is created, with
multiple "fields":
* _sda1
* _sda2
* _sda3
In InfluxDB query language, "measurements" are similar to SQL tables and
"fields" are similar to SQL columns.
If there's anything else - docs, bugs, etc. - I will of course be happy
to take a look.
Thanks,
Alec
--ibTvN161/egqYuK8
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="pcp2influxdb-2.patch"
diff --git a/build/rpm/pcp.spec.in b/build/rpm/pcp.spec.in
index f5f7d77..30aebe9 100755
--- a/build/rpm/pcp.spec.in
+++ b/build/rpm/pcp.spec.in
@@ -520,6 +520,27 @@ Requires: python-pcp = @package_version@
%description export-pcp2graphite
Performance Co-Pilot (PCP) front-end tools for exporting metric values
to graphite (http://graphite.readthedocs.org).
+
+#
+# pcp-export-pcp2influxdb
+#
+%package export-pcp2influxdb
+License: GPLv2+
+Group: Applications/System
+Summary: Performance Co-Pilot tools for exporting PCP metrics to InfluxDB
+URL: http://www.pcp.io
+Requires: pcp-libs >= %{version}-%{release}
+%if "@enable_python3@" == "true"
+Requires: python3-pcp = @package_version@
+Requires: python3-requests
+%else
+Requires: python-pcp = @package_version@
+Requires: python-requests
+%endif
+
+%description export-pcp2influxdb
+Performance Co-Pilot (PCP) front-end tools for exporting metric values
+to InfluxDB (https://influxdata.com/time-series-platform/influxdb).
%endif
%if "@enable_python2@" == "true"
@@ -1737,6 +1758,7 @@ awk '{print $NF}' $DIST_MANIFEST | egrep 'ganglia2pcp' >import_ganglia2pcp_files
awk '{print $NF}' $DIST_MANIFEST | egrep 'collectl2pcp' >import_collectl2pcp_files
%if "@have_python@" == "true"
awk '{print $NF}' $DIST_MANIFEST | egrep 'pcp2graphite' >export_pcp2graphite_files
+awk '{print $NF}' $DIST_MANIFEST | egrep 'pcp2influxdb' >export_pcp2influxdb_files
%endif
awk '{print $NF}' $DIST_MANIFEST | egrep 'zabbix|zbxpcp' >export_zabbix_agent_files
%if "@pmda_infiniband@" == "true"
@@ -1944,6 +1966,7 @@ BEGIN {
while( getline < "pmda_unbound_files") pmda_unbound[$0]=1;
while( getline < "pmda_mic_files") pmda_mic[$0]=1;
while( getline < "export_pcp2graphite_files") export_pcp2graphite[$0]=1;
+ while( getline < "export_pcp2influxdb_files") export_pcp2influxdb[$0]=1;
%endif
while( getline < "export_zabbix_agent_files") export_zabbix_agent[$0]=1;
%if "@pmda_json@" == "true"
@@ -2041,6 +2064,7 @@ BEGIN {
else if (pmda_unbound[$NF]) f="pmda_unbound_files.rpm";
else if (pmda_mic[$NF]) f="pmda_mic_files.rpm";
else if (export_pcp2graphite[$NF]) f="export_pcp2graphite_files.rpm";
+ else if (export_pcp2influxdb[$NF]) f="export_pcp2influxdb_files.rpm";
%endif
else if (export_zabbix_agent[$NF]) f="export_zabbix_agent_files.rpm";
%if "@pmda_json@" == "true"
@@ -2668,6 +2692,8 @@ cd
%files pmda-mic -f pmda_mic_files.rpm
%files export-pcp2graphite -f export_pcp2graphite_files.rpm
+
+%files export-pcp2influxdb -f export_pcp2influxdb_files.rpm
%endif
%files export-zabbix-agent -f export_zabbix_agent_files.rpm
diff --git a/qa/9001 b/qa/9001
new file mode 100755
index 0000000..8de11d5
--- /dev/null
+++ b/qa/9001
@@ -0,0 +1,108 @@
+#! /bin/sh
+# PCP QA Test No. 9001
+# checks basic pcp2influxdb functionality
+#
+# Copyright (c) 2015 Red Hat, Inc.
+#
+seq=`basename $0`
+echo "QA output created by $seq"
+
+. ./common.python
+
+$python -c "from pcp import pmapi" >/dev/null 2>&1
+[ $? -eq 0 ] || _notrun "python pcp pmapi module not installed"
+which socat >/dev/null 2>&1 || _notrun "socat binary not installed"
+which pcp2influxdb >$seq.full 2>&1 || _notrun "pcp2influxdb not installed"
+
+port=8086
+echo | $PCP_BINADM_DIR/telnet-probe localhost $port \
+ && _notrun "Someone already listening on typical InfluxDB $port"
+
+$sudo rm -rf $seq.full $tmp.*
+signal=$PCP_BINADM_DIR/pmsignal
+status=1 # failure is the default!
+
+trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
+
+_full_stash()
+{
+ echo "--- pcp2influxdb stdout --" >>$seq.full
+ cat $tmp.p2i.out >>$seq.full
+ echo "--- pcp2influxdb stderr --" >>$seq.full
+ cat $tmp.p2i.err >>$seq.full
+ echo "--- socket cat stdout --" >>$seq.full
+ cat $tmp.socat.out >>$seq.full
+ echo "--- socket cat stderr --" >>$seq.full
+ cat $tmp.socat.err >>$seq.full
+}
+
+scale=10
+ncpu=`pmprobe -v hinv.ncpu | awk '{print $3*'$scale'".0"}'`
+pcp2influxdb="$python `which pcp2influxdb`"
+
+echo | tee -a $seq.full
+echo "=== 1. pcp2influxdb one-shot noauth ===" | tee -a $seq.full
+socat tcp-listen:$port,reuseaddr - >$tmp.socat.out 2>$tmp.socat.err &
+pid=$!
+sleep 2
+$pcp2influxdb --database roar -t 1 hinv.ncpu >$tmp.p2i.out 2>$tmp.p2i.err & # will error out after socket cat dies
+p2ipid=$!
+sleep 3
+$signal $pid $p2ipid 2>/dev/null
+wait
+egrep -q "^POST \/write\?db=roar" $tmp.socat.out
+[ $? -eq 0 ] && echo "Found POST URL in noauth output"
+egrep -q "hinv_ncpu value=[0-9]+(\.[0-9]+)? [0-9]+$" $tmp.socat.out
+[ $? -eq 0 ] && echo "Found proper metric body in noauth output"
+_full_stash
+
+echo "=== 2. pcp2influxdb noauth with tags ===" | tee -a $seq.full
+socat tcp-listen:$port,reuseaddr - >$tmp.socat.out 2>$tmp.socat.err &
+pid=$!
+sleep 2
+$pcp2influxdb --database roar --tag-string host=me.example.com -t 1 hinv.ncpu \
+ >$tmp.p2i.out 2>$tmp.p2i.err & # will error out after socket cat dies
+p2ipid=$!
+sleep 3
+$signal $pid $p2ipid 2>/dev/null
+wait
+egrep -q "^POST \/write\?db=roar" $tmp.socat.out
+[ $? -eq 0 ] && echo "Found POST URL in noauth output"
+egrep -q "hinv_ncpu,host=me\.example\.com value=[0-9]+(\.[0-9]+)? [0-9]+$" $tmp.socat.out
+[ $? -eq 0 ] && echo "Found proper metric body in noauth output"
+_full_stash
+
+echo "=== 3. pcp2influxdb auth with tags ===" | tee -a $seq.full
+socat tcp-listen:$port,reuseaddr - >$tmp.socat.out 2>$tmp.socat.err &
+pid=$!
+sleep 2
+$pcp2influxdb --database roar --db-user pcp --db-password hey \
+ --tag-string host=me.example.com -t 1 hinv.ncpu \
+ >$tmp.p2i.out 2>$tmp.p2i.err & # will error out after socket cat dies
+p2ipid=$!
+sleep 3
+$signal $pid $p2ipid 2>/dev/null
+wait
+egrep -q "^POST \/write\?db=roar" $tmp.socat.out
+[ $? -eq 0 ] && echo "Found POST URL in output"
+egrep -q "Authorization: Basic cGNwOmhleQ==" $tmp.socat.out
+[ $? -eq 0 ] && echo "Found auth data in HTTP request"
+egrep -q "hinv_ncpu,host=me\.example\.com value=[0-9]+(\.[0-9]+)? [0-9]+$" $tmp.socat.out
+[ $? -eq 0 ] && echo "Found proper metric body in output"
+_full_stash
+
+echo "=== 4. pcp2influxdb bad-instance tolerance ===" | tee -a $seq.full
+rm -f $tmp.socat.out $tmp.socat.err
+socat tcp-listen:$port,reuseaddr - >>$tmp.socat.out 2>>$tmp.socat.err &
+pid=$!
+sleep 2
+$pcp2influxdb -t 2 sample.bogus_bin sample.aggregate.null sample.string.hullo NoSuchMetric sample.bad >$tmp.p2i.out 2>$tmp.p2i.err &
+p2ipid=$!
+sleep 8 # enough for at least 2 messages
+$signal $pid $p2ipid 2>/dev/null
+wait
+grep 'Excluding' $tmp.p2i.err
+_full_stash
+
+status=0
+exit
diff --git a/qa/9001.out b/qa/9001.out
new file mode 100644
index 0000000..fbe457c
--- /dev/null
+++ b/qa/9001.out
@@ -0,0 +1,18 @@
+QA output created by 9001
+
+=== 1. pcp2influxdb one-shot noauth ===
+Found POST URL in noauth output
+Found proper metric body in noauth output
+=== 2. pcp2influxdb noauth with tags ===
+Found POST URL in noauth output
+Found proper metric body in noauth output
+=== 3. pcp2influxdb auth with tags ===
+Found POST URL in output
+Found auth data in HTTP request
+Found proper metric body in output
+=== 4. pcp2influxdb bad-instance tolerance ===
+Excluding metric sample.aggregate.null (need numeric type)
+Excluding metric sample.string.hullo (need numeric type)
+Excluding metric NoSuchMetric (PM_ERR_NAME Unknown metric name)
+Excluding metric sample.bad.unknown (PM_ERR_PMID Unknown or illegal metric identifier)
+Excluding metric sample.bad.nosupport (need numeric type)
diff --git a/src/GNUmakefile b/src/GNUmakefile
index 5ae0f92..7eaa8f2 100644
--- a/src/GNUmakefile
+++ b/src/GNUmakefile
@@ -43,6 +43,7 @@ OTHER_SUBDIRS = \
newhelp \
pcp \
pcp2graphite \
+ pcp2influxdb \
pmafm \
pmfind \
pmcpp \
diff --git a/src/pcp2influxdb/GNUmakefile b/src/pcp2influxdb/GNUmakefile
new file mode 100644
index 0000000..4a98999
--- /dev/null
+++ b/src/pcp2influxdb/GNUmakefile
@@ -0,0 +1,37 @@
+#
+# Copyright (c) 2014-2015 Red Hat, Inc. All Rights Reserved.
+#
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation; either version 2 of the License, or (at your
+# option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+# for more details.
+#
+
+TOPDIR = ../..
+include $(TOPDIR)/src/include/builddefs
+
+TARGET = pcp2influxdb
+MAN_SECTION = 1
+MAN_PAGES = $(TARGET).$(MAN_SECTION)
+MAN_DEST = $(PCP_MAN_DIR)/man$(MAN_SECTION)
+
+default: $(TARGET).py $(MAN_PAGES)
+
+default:
+
+include $(BUILDRULES)
+
+install: default
+ifeq "$(HAVE_PYTHON)" "true"
+ $(INSTALL) -m 755 $(TARGET).py $(PCP_BIN_DIR)/$(TARGET)
+ @$(INSTALL_MAN)
+endif
+
+default_pcp: default
+
+install_pcp: install
diff --git a/src/pcp2influxdb/pcp2influxdb.1 b/src/pcp2influxdb/pcp2influxdb.1
new file mode 100644
index 0000000..43eb500
--- /dev/null
+++ b/src/pcp2influxdb/pcp2influxdb.1
@@ -0,0 +1,114 @@
+.TH PCP2INFLUXDB 1 "PCP" "Performance Co-Pilot"
+.SH NAME
+.B pcp2influxdb
+\- pcp-to-influxdb metrics exporter
+.SH SYNOPSIS
+.B pcp2influxdb
+[\f3\-h\f1 \f2hostspec\f1]
+[\f3\-a\f1 \f2archive\f1]
+[\f3\-L\f1]
+[\f3\-O\f1 \f2origin\f1]
+[\f3\-T\f1 \f2finish\f1]
+[\f3\-s\f1 \f2samples\f1]
+[\f3\-t\f1 \f2delta\f1]
+[\f3\-i\f1 \f2influxdbaddress\f1]
+[\f3\-u\f1 \f2units\f1]
+[\f3\-d\f1 \f2database\f1]
+[\f3\-U\f1 \f2username\f1]
+[\f3\-P\f1 \f2password\f1]
+[\f3\-I\f1 \f2tagstring\f1]
+\f2metricname\f1 ...
+.SH DESCRIPTION
+.B pcp2influxdb
+is a PCP metric exporter.
+It relays metrics of the
+.BR pmns (5)
+to a designated
+InfluxDB database by periodically polling, then
+copying/converting relevant numerical metrics across the InfluxDB
+HTTP(S) protocols. Metric values are optionally
+scaled to a given unit/scale, but are not rate-converted. Metric
+names are somewhat canonicalized (mangled) to fit the
+InfluxDB namespace rules.
+.PP
+The data transfer will continue on a best-effort basis until the
+program is interrupted. Temporary errors are ignored, but reported. Multiple
+copies of this program may be run in parallel, to populate different
+InfluxDB databases or subtrees, with different scaling or sampling
+intervals.
+.PP
+.SH OPTIONS
+.TP
+.B \-h \f2hostspec\f1
+Extract metrics from the specified
+.BR pmcd (1)
+daemon, using a host specification as described on
+.BR PCPIntro (1).
+The default is \f3local:\f1.
+.TP
+.B \-a \f2archive\f1
+Extract metrics from the given set of archives,
+which is a comma-separated list of names, each
+of which may be the base name of an archive or the name of a directory containing
+one or more archives.
+.TP
+.B \-L
+Extract metrics from the local context PCP PMDAs.
+.TP
+.B \-t \f2delta\f1
+Specify the polling interval in seconds. If live, polling is aligned to
+natural multiples of this interval. The default is \f360\f1 seconds.
+.TP
+.B \-O \f2origin\f1
+Set the time origin for archive scanning. The default is the start of the
+set of archives.
+.TP
+.B \-T \f2finish\f1
+Set the time finish for archive scanning. The default is the end of the
+set of archives.
+.TP
+.B \-s \f2samples\f1
+Set the maximum number of samples to relay. The default is unlimited.
+.TP
+.B \-i \f2influxdbaddress\f1
+Specify the influxdb HTTP(S) address where the relayed data is to
+be relayed. The default is \f3http://localhost:8086\f1.
+.TP
+.B \-u \f2units\f1
+Rescale the metrics to the given UNITS string, as parsed by the
+.IR pmParseUnitsStr (3)
+function. This must be dimensionally consistent with the underlying
+PCP metric. The default is to perform no scaling.
+.TP
+.B \-d \f2database\f1
+The name of the database to write to. Must exist already; will not be created.
+Defaults to "pcp".
+.TP
+.B \-U \f2username\f1
+The username to use to authenticate to InfluxDB. Must have write access on the
+database that metrics are written to.
+.TP
+.B \-P \f2password\f1
+The password to use to authenticate to InfluxDB that goes with the given
+username.
+.TP
+.B \-I \f2tagstring\f1
+A string of tags, in InfluxDB's format (i.e. host=www.example.com,gpu=tesla).
+Not required, but recommended to be enable richer querying and dashboard
+creation.
+.TP
+.I metricname
+Relay all numeric metrics nested at or below the given name in the PMNS.
+This option may be repeated. This is a compulsory option, having no
+default.
+.SH "SEE ALSO"
+.BR PCPIntro (1),
+.BR pmcd (1),
+.BR pmParseUnitsStr (3),
+.BR https://influxdata.com/time-series-platform/influxdb/,
+.BR pmmgr (1),
+.BR pmval (1),
+.BR PMAPI (3),
+.BR pcp.conf (5)
+and
+.BR pmns (5).
diff --git a/src/pcp2influxdb/pcp2influxdb.py b/src/pcp2influxdb/pcp2influxdb.py
new file mode 100644
index 0000000..38c5746
--- /dev/null
+++ b/src/pcp2influxdb/pcp2influxdb.py
@@ -0,0 +1,436 @@
+#!/usr/bin/env pmpython
+#
+# Copyright (C) 2014-2015 Red Hat.
+#
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation; either version 2 of the License, or (at your
+# option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+# for more details.
+#
+""" Relay PCP metrics to an InfluxDB server """
+
+import re
+import sys
+import time
+
+from pcp import pmapi
+import cpmapi as c_api
+
+
+class Metric:
+ """ A wrapper around metrics, due to InfluxDB's non-heirachical way of
+ organizing metrics.
+
+ For example, take disk.partitions.read, which (on my machine) has 4
+ instances (sda1, sda2, sda3, and sr0). For graphite, appending the instance
+ name after the metric name with a dot (i.e. disk.partitions.read.sda1) is
+ both easy and the correct solution, since graphite stores metrics
+ in an heirarchy.
+
+ For InfluxDB, the proper solution is to submit a "measurement" with 4
+ "fields". The request body could look like:
+
+ disk_partitions_read,host=myhost.example.com sda1=5,sda2=4,sda3=10,sr0=0 1147483647000000000
+
+ If there is only a single value, like for proc.nprocs, then the field key
+ will be "value". For example:
+
+ proc_nprocs,host=myhost.example.com value=200 1147483647000000000
+
+ This class deals with this format.
+ """
+
+ def __init__(self, name):
+ self.name = self.sanitize_name(name)
+ self.fields = dict()
+ self.tags = None
+
+ def add_field(self, key="value", value=None):
+ if value:
+ self.fields[key] = value
+
+ def set_tag_string(self, tag_str):
+ self.tags = tag_str
+
+ def sanitize_name(self, name):
+ tmp = name
+
+ for c in ['.', '-']:
+ tmp = tmp.replace(c, '_')
+
+ while '__' in tmp:
+ tmp = tmp.replace('__', '_')
+
+ return tmp
+
+ def set_timestamp(self, ts):
+ self.ts = ts
+
+ def __str__(self):
+ tmp = self.name
+
+ if self.tags:
+ tmp += ',' + self.tags
+
+ tmp += ' '
+
+ fields = []
+ for k in self.fields:
+ fields.append(k + '=' + str(self.fields[k]))
+
+ tmp += ','.join(fields)
+ tmp += ' '
+
+ # converting to nanoseconds for influxdb
+ tmp += str(self.ts) + '000000000'
+
+ return tmp
+
+
+class WriteBody(object):
+ """ Create a request to POST to /write on an InfluxDB server
+
+ name will be used for the measurement name after it has been
+ transformed to be allowable. Characters like '-' and '.' will be replaced
+ with '_', and multiple underscores in a row will be replaced with a single
+ underscore.
+
+ value will be put into the measurement with a field key of 'value'.
+ It should be a numeric type, but it will _not_ be checked, just cast
+ directly to a string.
+
+ timestamp should be an integer that is unix time from epoch in seconds.
+
+ tags should be a dictionary of tags to add, with keys being tag
+ keys and values being tag values.
+ """
+
+ def __init__(self):
+ self.metrics = []
+
+ def add(self, metric):
+ if metric.fields:
+ self.metrics.append(metric)
+
+ def __str__(self):
+ if self.metrics:
+ return "\n".join(map(lambda t: str(t), self.metrics))
+
+ raise ValueError("Invalid request - no metrics")
+
+
+class Relay(object):
+ """ Sends a periodic report to InfluxDB about all instances of named
+ metrics. Knows about some of the default PCP arguments.
+ """
+
+ def describe_source(self):
+ """ Return a string describing our context; apprx. inverse of
+ pmapi.fromOptions
+ """
+
+ ctxtype = self.context.type
+ if ctxtype == c_api.PM_CONTEXT_ARCHIVE:
+ return "archive " + ", ".join(self.opts.pmGetOptionArchives())
+ elif ctxtype == c_api.PM_CONTEXT_HOST:
+ hosts = self.opts.pmGetOptionHosts()
+
+ # pmapi.py idiosyncracy; it has already defaulted to this
+ if hosts is None:
+ hosts = ["local:"]
+
+ return "host " + ", ".join(hosts)
+ elif ctxtype == c_api.PM_CONTEXT_LOCAL:
+ hosts = ["local:"]
+
+ return "host " + ", ".join(hosts)
+ else:
+ raise pmapi.pmUsageErr
+
+ def __init__(self):
+ """ Construct object, parse command line """
+ self.context = None
+ self.database = 'pcp'
+ self.influxdb_tags = ''
+ self.influxdb_address = 'http://127.0.0.1:8086'
+ self.influxdb_user = None
+ self.influxdb_pass = None
+ self.sample_count = 0
+ self.unitsstr = None
+ self.units = None
+ self.units_mult = None
+
+ # option setup
+ self.opts = pmapi.pmOptions()
+ self.opts.pmSetShortOptions("a:O:s:T:g:p:P:r:m:t:u:h:t:D:LV?")
+ self.opts.pmSetShortUsage("[options] metricname ...")
+ self.opts.pmSetLongOptionText("""
+Description: Periodically, relay raw values of all instances of a
+given hierarchies of PCP metrics to an InfluxDB server on the network.""")
+ self.opts.pmSetLongOptionHeader("Options")
+ self.opts.pmSetOptionCallback(self.option)
+
+ # common options
+ self.opts.pmSetLongOptionVersion()
+ self.opts.pmSetLongOptionArchive()
+ self.opts.pmSetLongOptionOrigin()
+ self.opts.pmSetLongOptionSamples()
+ self.opts.pmSetLongOptionFinish()
+ self.opts.pmSetLongOptionDebug()
+ self.opts.pmSetLongOptionHost()
+ self.opts.pmSetLongOptionLocalPMDA()
+ self.opts.pmSetLongOptionInterval()
+
+ # custom options
+ self.opts.pmSetLongOption("influxdb-address", 1, 'i', '',
+ "InfluxDB HTTP/HTTPS address " +
+ "(default \"" + self.influxdb_address +
+ "\")")
+ self.opts.pmSetLongOption("units", 1, 'u', '',
+ "rescale units " +
+ "(e.g. \"MB\", will omit incompatible units)")
+ self.opts.pmSetLongOption("database", 1, 'd', '',
+ "database for metric (default \"pcp\")")
+ self.opts.pmSetLongOption("db-user", 1, 'U', '',
+ "username for InfluxDB database")
+ self.opts.pmSetLongOption("db-password", 1, 'P', '',
+ "password for InfluxDB database")
+ self.opts.pmSetLongOption("tag-string", 1, 'I', '',
+ "string of tags to add to the metrics")
+ self.opts.pmSetLongOptionHelp()
+
+ # parse options
+ self.context = pmapi.pmContext.fromOptions(self.opts, sys.argv)
+ self.interval = self.opts.pmGetOptionInterval() or pmapi.timeval(60, 0)
+ if self.unitsstr is not None:
+ units = self.context.pmParseUnitsStr(self.unitsstr)
+ (self.units, self.units_mult) = units
+ self.metrics = []
+ self.pmids = []
+ self.descs = []
+ metrics = self.opts.pmGetNonOptionsFromList(sys.argv)
+ if metrics:
+ for m in metrics:
+ try:
+ self.context.pmTraversePMNS(m,
+ self.handle_candidate_metric)
+ except pmapi.pmErr as error:
+ sys.stderr.write("Excluding metric %s (%s)\n" %
+ (m, str(error)))
+
+ sys.stderr.flush()
+
+ if len(self.metrics) == 0:
+ sys.stderr.write("No acceptable metrics specified.\n")
+ raise pmapi.pmUsageErr()
+
+ # Report what we're about to do
+ print("Relaying %d %smetric(s) to database %s with tags %s from %s "
+ "to %s every %f s" %
+ (len(self.metrics),
+ "rescaled " if self.units else "",
+ self.database,
+ self.influxdb_tags,
+ self.describe_source(),
+ self.influxdb_address,
+ self.interval))
+
+ sys.stdout.flush()
+
+ def option(self, opt, optarg, index):
+ # need only handle the non-common options
+ if opt == 'i':
+ self.influxdb_address = optarg
+ elif opt == 'u':
+ self.unitsstr = optarg
+ elif opt == 'd':
+ self.database = optarg
+ elif opt == 'U':
+ self.influxdb_user = optarg
+ elif opt == 'P':
+ self.influxdb_pass = optarg
+ elif opt == 'I':
+ self.influxdb_tags = optarg
+ else:
+ raise pmapi.pmUsageErr()
+
+ # Check the given metric name (a leaf in the PMNS) for
+ # acceptability for InfluxDB: it needs to be numeric, and
+ # convertable to the given unit (if specified).
+ #
+ # Print an error message here if needed; can't throw an exception
+ # through the pmapi pmTraversePMNS wrapper.
+ def handle_candidate_metric(self, name):
+ try:
+ pmid = self.context.pmLookupName(name)[0]
+ desc = self.context.pmLookupDescs(pmid)[0]
+ except pmapi.pmErr as err:
+ sys.stderr.write("Excluding metric %s (%s)\n" % (name, str(err)))
+ return
+
+ # reject non-numeric types (future pmExtractValue failure)
+ types = desc.contents.type
+ if not ((types == c_api.PM_TYPE_32) or
+ (types == c_api.PM_TYPE_U32) or
+ (types == c_api.PM_TYPE_64) or
+ (types == c_api.PM_TYPE_U64) or
+ (types == c_api.PM_TYPE_FLOAT) or
+ (types == c_api.PM_TYPE_DOUBLE)):
+ sys.stderr.write("Excluding metric %s (%s)\n" %
+ (name, "need numeric type"))
+ return
+
+ # reject dimensionally incompatible (future pmConvScale failure)
+ if self.units is not None:
+ units = desc.contents.units
+ if (units.dimSpace != self.units.dimSpace or
+ units.dimTime != self.units.dimTime or
+ units.dimCount != self.units.dimCount):
+ sys.stderr.write("Excluding metric %s (%s)\n" %
+ (name, "incompatible dimensions"))
+ return
+
+ self.metrics.append(name)
+ self.pmids.append(pmid)
+ self.descs.append(desc)
+
+
+ # Convert a python list of pmids (numbers) to a ctypes LP_c_uint
+ # (a C array of uints).
+ def convert_pmids_to_ctypes(self, pmids):
+ from ctypes import c_uint
+ pmidA = (c_uint * len(pmids))()
+ for i, p in enumerate(pmids):
+ pmidA[i] = c_uint(p)
+ return pmidA
+
+ def send(self, timestamp, metrics):
+ import requests
+
+ body = WriteBody()
+
+ for metric in metrics:
+ metric.set_tag_string(self.influxdb_tags)
+ metric.set_timestamp(timestamp)
+ body.add(metric)
+
+ url = self.influxdb_address + '/write'
+ params = {'db': self.database}
+ auth = None
+
+ if self.influxdb_user and self.influxdb_pass:
+ auth = requests.auth.HTTPBasicAuth(self.influxdb_user,
+ self.influxdb_pass)
+
+ try:
+ res = requests.post(url, params=params, data=str(body), auth=auth)
+
+ if res.status_code != 204:
+ print("could not send for some reason")
+
+ if res.status_code == 200:
+ print("influx could not complete the request")
+ else:
+ print("request to " + res.url + " failed with code " +
+ str(res.status_code))
+
+ print("body of request is:")
+ print(body)
+ except ValueError:
+ print("Can't send a request that has no metrics")
+
+ def sanitize_nameindom(self, string):
+ """ Quote the given instance-domain string for proper digestion
+ by influxdb. """
+ return "_" + re.sub('[^a-zA-Z_0-9-]', '_', string)
+
+ def execute(self):
+ """ Using a PMAPI context (could be either host or archive),
+ fetch and report a fixed set of values related to influxdb.
+ """
+
+ # align poll interval to host clock
+ ctype = self.context.type
+ if ctype == c_api.PM_CONTEXT_HOST or ctype == c_api.PM_CONTEXT_LOCAL:
+ align = float(self.interval) - (time.time() % float(self.interval))
+ time.sleep(align)
+
+ # We would like to do: result = self.context.pmFetch(self.pmids)
+ # But pmFetch takes ctypes array-of-uint's and not a python list;
+ # ideally, pmFetch would become polymorphic to improve this code.
+ result = self.context.pmFetch(self.convert_pmids_to_ctypes(self.pmids))
+ sample_time = result.contents.timestamp.tv_sec
+ # + (result.contents.timestamp.tv_usec/1000000.0)
+
+ if ctype == c_api.PM_CONTEXT_ARCHIVE:
+ endtime = self.opts.pmGetOptionFinish()
+ if endtime is not None:
+ if float(sample_time) > float(endtime.tv_sec):
+ raise SystemExit
+
+ metrics = []
+
+ for i, name in enumerate(self.metrics):
+ tmp = Metric(name)
+ for j in range(0, result.contents.get_numval(i)):
+ # a fetch or other error will just omit that data value
+ # from the influxdb-bound set
+ try:
+ atom = self.context.pmExtractValue(
+ result.contents.get_valfmt(i),
+ result.contents.get_vlist(i, j),
+ self.descs[i].contents.type, c_api.PM_TYPE_FLOAT)
+
+ inst = result.contents.get_vlist(i, j).inst
+ if inst is None or inst < 0:
+ suffix = "value"
+ else:
+ indom = self.context.pmNameInDom(self.descs[i], inst)
+ suffix = self.sanitize_nameindom(indom)
+
+ # Rescale if desired
+ if self.units is not None:
+ atom = self.context.pmConvScale(c_api.PM_TYPE_FLOAT,
+ atom,
+ self.descs, i,
+ self.units)
+
+ if self.units_mult is not None:
+ atom.f = atom.f * self.units_mult
+
+ tmp.add_field(key=suffix, value=atom.f)
+
+ except pmapi.pmErr as error:
+ sys.stderr.write("%s[%d]: %s, continuing\n" %
+ (name, inst, str(error)))
+
+ metrics.append(tmp)
+
+ self.send(sample_time, metrics)
+ self.context.pmFreeResult(result)
+
+ self.sample_count += 1
+ max_samples = self.opts.pmGetOptionSamples()
+ if max_samples is not None and self.sample_count >= max_samples:
+ raise SystemExit
+
+
+if __name__ == '__main__':
+ try:
+ relay = Relay()
+ while True:
+ relay.execute()
+
+ except pmapi.pmErr as error:
+ if error.args[0] == c_api.PM_ERR_EOL:
+ pass
+ sys.stderr.write('%s: %s\n' % (error.progname(), error.message()))
+ except pmapi.pmUsageErr as usage:
+ usage.message()
+ except KeyboardInterrupt:
+ pass
--ibTvN161/egqYuK8--
From fche@redhat.com Wed Jul 6 14:01:30 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id 624D17D11
for ; Wed, 6 Jul 2016 14:01:30 -0500 (CDT)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay1.corp.sgi.com (Postfix) with ESMTP id 2260F8F8040
for ; Wed, 6 Jul 2016 12:01:27 -0700 (PDT)
X-ASG-Debug-ID: 1467831685-04cbb02737607200001-S8gJnT
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id 5h2Pfmt9LgrTVNnL (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 06 Jul 2016 12:01:26 -0700 (PDT)
X-Barracuda-Envelope-From: fche@redhat.com
X-Barracuda-Effective-Source-IP: mx1.redhat.com[209.132.183.28]
X-Barracuda-Apparent-Source-IP: 209.132.183.28
X-ASG-Whitelist: Client
Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.redhat.com (Postfix) with ESMTPS id 4B1727DCD7
for ; Wed, 6 Jul 2016 19:01:25 +0000 (UTC)
Received: from fche.csb (unused [10.10.52.236] (may be forged))
by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u66J1OWj031199
for ; Wed, 6 Jul 2016 15:01:24 -0400
Received: by fche.csb (Postfix, from userid 2569)
id A748C5817C; Wed, 6 Jul 2016 15:01:27 -0400 (EDT)
Date: Wed, 6 Jul 2016 15:01:27 -0400
From: "Frank Ch. Eigler"
To: pcp developers
Subject: archive+live mode
Message-ID: <20160706190127.GH32090@redhat.com>
X-ASG-Orig-Subj: archive+live mode
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4.2.2i
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Wed, 06 Jul 2016 19:01:25 +0000 (UTC)
X-Barracuda-Connect: mx1.redhat.com[209.132.183.28]
X-Barracuda-Start-Time: 1467831686
X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384
X-Barracuda-URL: https://192.48.176.25:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 1460
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
Hi -
We keep hearing regular calls for pcp operation mode where an
application is interested in both historical and live data regarding a
host. The PMAPI's and pcp clients' complete bifurcation between -h/-a
is contrary to this goal.
This is not a new topic. [1....]. The main related bits of progress
we've made have been the multi-archive libpcp mode and the pmwebd
server, but much more remains. It would be nice to come to some
general points of agreement and make some progress again.
Amongst the high-level questions:
- Does the pcp developer community agree that there is a need, and
that the status quo is not sufficient?
- Should the functionality include remote access to archive+live mode,
in the sense that remote archives could be a data source?
- How soon?
- Are there subsets of functionality that could go into peripheral PCP
tools while waiting for core PCP for a fuller solution?
- Should we consider older parts of PCP (pmlogger, pmcd core) apprx.
untouchable, so extra functionality would need to go into new
tools/services rather than extending old ones?
[1]
http://oss.sgi.com/pipermail/pcp/2013-September/003963.html
http://oss.sgi.com/pipermail/pcp/2013-November/004090.html
http://oss.sgi.com/pipermail/pcp/2014-January/004205.html
http://oss.sgi.com/pipermail/pcp/2014-October/005715.html
https://github.com/Netflix/vector/issues/91
[...and plenty of others...]
- FChE
From nscott@redhat.com Wed Jul 6 19:47:43 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id 79C537D1A
for ; Wed, 6 Jul 2016 19:47:43 -0500 (CDT)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay1.corp.sgi.com (Postfix) with ESMTP id 251358F80C3
for ; Wed, 6 Jul 2016 17:47:39 -0700 (PDT)
X-ASG-Debug-ID: 1467852431-04cb6c063f561350001-S8gJnT
Received: from mx5-phx2.redhat.com (mx5-phx2.redhat.com [209.132.183.37]) by cuda.sgi.com with ESMTP id Sa9UCHdPEikRhN3x (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 06 Jul 2016 17:47:12 -0700 (PDT)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Effective-Source-IP: mx5-phx2.redhat.com[209.132.183.37]
X-Barracuda-Apparent-Source-IP: 209.132.183.37
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx5-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u670l4QN013845;
Wed, 6 Jul 2016 20:47:04 -0400
Date: Wed, 6 Jul 2016 20:47:04 -0400 (EDT)
From: Nathan Scott
Reply-To: Nathan Scott
To: Alec Ten Harmsel
Cc: pcp@oss.sgi.com
Message-ID: <244171152.4348296.1467852424001.JavaMail.zimbra@redhat.com>
In-Reply-To: <20160706175707.GA945@apio.adsroot.itcs.umich.edu>
References: <20160630184840.GB880@apio.adsroot.itcs.umich.edu> <1219763127.3321732.1467327849186.JavaMail.zimbra@redhat.com> <343267617.3556068.1467601341893.JavaMail.zimbra@redhat.com> <20160706175707.GA945@apio.adsroot.itcs.umich.edu>
Subject: Re: [pcp] pcp2influxdb - a clone of pcp2graphite
MIME-Version: 1.0
X-ASG-Orig-Subj: Re: [pcp] pcp2influxdb - a clone of pcp2graphite
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.64.50.190]
X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF47 (Linux)/8.0.6_GA_5922)
Thread-Topic: pcp2influxdb - a clone of pcp2graphite
Thread-Index: peIYjZOS9i1CpLjfnyC6hSuki9J2Ng==
X-Barracuda-Connect: mx5-phx2.redhat.com[209.132.183.37]
X-Barracuda-Start-Time: 1467852431
X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384
X-Barracuda-URL: https://192.48.176.15:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 2492
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31077
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
Hi Alec,
----- Original Message -----
> On Sun, Jul 03, 2016 at 11:02:21PM -0400, Nathan Scott wrote:
> > ----- Original Message -----
> > > [...]
> > > >> We've been testing it for a couple of days and have not had any issues
> > > >> with the patch.
> > > > The one thing the patch lacks is the influxdb equivalent of regression
> > > > test pcp/qa/667 which would take pcp2influxdb through its paces. Could
> > > > you add something like that little shell script, for influxdb?
> > > >
> > >
> > > I will certainly do this, but it'll take a few days. We are pretty busy
> > > getting ready for some maintenance that will happen in a couple of weeks.
> > >
> >
> > OK, thanks and no problem. Let me know if any assistance is needed there -
> > there's some high level notes about the test scripts in qa/README too.
> >
>
> I have added a test - qa/9001 - in the new version of the patch,
> attached to this mail. I did not want to pick a number in the low 1000's
> just in case it would be taken by now; that can be changed to whatever.
No problem - I renumbered to a nice memorable "1111" :) and added it into
the qa/group file.
> Sorry if that causes any trouble.
No trouble at all - we can also reserve test numbers in the qa/group file
if that helps (and others wont use them - the qa/new script skips 'em).
> Updates to qa/group and other metadata
> are not included in the patch so that it can be easily re-numbered.
All sorted. I've also added the debian/ubuntu packaging.
> The test that I added is not as full featured as qa/667. `socat' quits
> after receiving EOF, which makes it not useful for testing
> pcp2influxdb. pcp2influxdb aggregates metrics for a single request as
> much as possible, but two separate calls to Relay.send() will generate
> two separate connections. Without using another program or writing a
> little python HTTP server to use for testing, I wasn't sure how to add
> that to the test script.
S'OK - it looks like its still giving good coverage to me, and more cases
can be added over time as the need arises.
> In InfluxDB query language, "measurements" are similar to SQL tables and
> "fields" are similar to SQL columns.
Ah, interesting, good to know. Some of the comments in the code were very
informative too.
> If there's anything else - docs, bugs, etc. - I will of course be happy
> to take a look.
Everything looks fine to me, thanks Alec.
cheers.
--
Nathan
From kenj@internode.on.net Wed Jul 6 19:47:46 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id BD3487D1F
for ; Wed, 6 Jul 2016 19:47:46 -0500 (CDT)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay2.corp.sgi.com (Postfix) with ESMTP id 8156E304089
for ; Wed, 6 Jul 2016 17:47:43 -0700 (PDT)
X-ASG-Debug-ID: 1467852458-04cb6c063d5616c0001-S8gJnT
Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by cuda.sgi.com with ESMTP id NKU3CfRRv8FNxt0Y for ; Wed, 06 Jul 2016 17:47:39 -0700 (PDT)
X-Barracuda-Envelope-From: kenj@internode.on.net
X-Barracuda-Effective-Source-IP: ipmail06.adl6.internode.on.net[150.101.137.145]
X-Barracuda-Apparent-Source-IP: 150.101.137.145
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A2BOAwBipn1XEJVY0XYNT4t/tCWGGAKBdQEBAQEBAQcBAQEBAQECPoUNAQUjBFEBEAsYCRYLAgIJAwIBAgEbFhQGAQwIAQG0UmePOQEBAQEBAQEBAQEBAQEBAQEBAREOinSHQYJaBZkTgy+BbJhWkAqEV4lYAQEB
Received: from ppp118-209-88-149.bras1.mel11.internode.on.net (HELO [192.168.1.100]) ([118.209.88.149])
by ipmail06.adl6.internode.on.net with ESMTP; 07 Jul 2016 10:17:24 +0930
Subject: Re: [pcp] errors from socket code on Mac OS X
To: Dave Brolley , Nathan Scott
X-ASG-Orig-Subj: Re: [pcp] errors from socket code on Mac OS X
References: <577C1045.1040108@internode.on.net> <577C1D0A.6040300@redhat.com>
<2068385288.4119706.1467774342414.JavaMail.zimbra@redhat.com>
<577D325B.6060208@redhat.com>
Cc: PCP
From: Ken McDonell
Message-ID: <577DA69B.1080602@internode.on.net>
Date: Thu, 7 Jul 2016 10:47:23 +1000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
Thunderbird/38.8.0
MIME-Version: 1.0
In-Reply-To: <577D325B.6060208@redhat.com>
Content-Type: multipart/mixed;
boundary="------------090806090103040300010404"
X-Barracuda-Connect: ipmail06.adl6.internode.on.net[150.101.137.145]
X-Barracuda-Start-Time: 1467852459
X-Barracuda-URL: https://192.48.176.15:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 1231
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31077
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
This is a multi-part message in MIME format.
--------------090806090103040300010404
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
On 07/07/16 02:31, Dave Brolley wrote:
> On 07/05/2016 11:05 PM, Nathan Scott wrote:
>> ... and it looks like we are seeing a sockaddr that is (still) completely
>> zeroed after we accept on the fd in pmcd/client.c AcceptNewClient. The
>> attached patch seems to tidy it up for me ... whaddya think Dave? Are we
>> likely to see other places where this happens, I wonder?
>>
> I would think that it could happen for any call to __pmAccept().
>
> In your patch, based on __pmCheckAcceptedAddress() requiring that the
> family be set in the address, you set it before calling __pmAccept(). If
> we're going to require that the family be provided to
> __pmCheckAcceptedAddress() via __pmAccept(), then we should probably
> bite the bullet and enforce that by making the family a 4th parameter to
> __pmAccept() and have __pmAccept set it, when needed.
>
> Dave
>
I don't think the change needs to be that intrusive. I have a simpler
approach that I've committed in my tree (patch attached).
This addresses the Mac OS X issues and passes all the -g pmcd QA tests
on both Mac OS X and Ubuntu 16.04 and now has good air time on a handful
of other QA hosts.
--------------090806090103040300010404
Content-Type: text/x-patch;
name="pmaccept.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="pmaccept.patch"
diff --git a/src/libpcp/src/auxconnect.c b/src/libpcp/src/auxconnect.c
index e5ba692..7f81030 100644
--- a/src/libpcp/src/auxconnect.c
+++ b/src/libpcp/src/auxconnect.c
@@ -88,6 +88,10 @@ __pmSockAddrInit(__pmSockAddr *addr, int family, int address, int port)
else
addr->sockaddr.ipv6.sin6_addr = in6addr_any;
}
+ else if (family == AF_UNSPEC) {
+ /* do nothing */
+ ;
+ }
else
__pmNotifyErr(LOG_ERR,
"%s:__pmSockAddrInit: Invalid address family: %d\n", __FILE__, addr->sockaddr.raw.sa_family);
@@ -230,6 +234,11 @@ __pmSockAddrCompare(const __pmSockAddr *addr1, const __pmSockAddr *addr2)
sizeof(addr1->sockaddr.local.sun_path));
}
#endif
+
+ if (addr1->sockaddr.raw.sa_family == AF_UNSPEC) {
+ /* if the address family is unspecified, assume not equal */
+ return 1;
+ }
/* Unknown address family. */
__pmNotifyErr(LOG_ERR,
--------------090806090103040300010404--
From nscott@redhat.com Wed Jul 6 19:48:08 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id 7524D7D1A
for ; Wed, 6 Jul 2016 19:48:08 -0500 (CDT)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay1.corp.sgi.com (Postfix) with ESMTP id 27EF68F80C4
for ; Wed, 6 Jul 2016 17:48:08 -0700 (PDT)
X-ASG-Debug-ID: 1467852482-04cbb027366a78b0001-S8gJnT
Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id R1ysVIBJtnC0NCAp (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 06 Jul 2016 17:48:03 -0700 (PDT)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Effective-Source-IP: mx3-phx2.redhat.com[209.132.183.24]
X-Barracuda-Apparent-Source-IP: 209.132.183.24
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u670m22d031387
for ; Wed, 6 Jul 2016 20:48:02 -0400
Date: Wed, 6 Jul 2016 20:48:02 -0400 (EDT)
From: Nathan Scott
Reply-To: Nathan Scott
To: pcp developers
Message-ID: <60424166.4348328.1467852482733.JavaMail.zimbra@redhat.com>
In-Reply-To: <135478224.4348297.1467852436358.JavaMail.zimbra@redhat.com>
Subject: pcp updates: pcp2influxdb
MIME-Version: 1.0
X-ASG-Orig-Subj: pcp updates: pcp2influxdb
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.64.50.190]
X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF47 (Linux)/8.0.6_GA_5922)
Thread-Topic: pcp updates: pcp2influxdb
Thread-Index: 2ODBWBvRIPmbXFeIlCTljCeMvTyPcw==
X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24]
X-Barracuda-Start-Time: 1467852483
X-Barracuda-Encrypted: DHE-RSA-AES256-SHA
X-Barracuda-URL: https://192.48.176.25:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 3132
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31076
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
Changes committed to git://git.pcp.io/pcp.git master
Marko Myllynen (3):
zsh completion: fix for pcp subcommands
docs: fix pmmgr.1 path typo
docs: keep pmrep.conf in sync
Alec Ten Harmsel (1):
pcp2influxdb: export PCP metrics to InfluxDB
Nathan Scott (1):
build: misc small packaging and qa updates for pcp2influxdb
build/rpm/fedora.spec | 26 +
build/rpm/pcp.spec.in | 26 +
debian/control.master | 7
debian/pcp-export-pcp2influxdb.install | 2
debian/rules | 4
man/man1/pmmgr.1 | 2
qa/1111 | 108 ++++++++
qa/1111.out | 18 +
qa/9001 | 216 ++++++++--------
qa/9001.out | 36 +-
qa/group | 1
src/GNUmakefile | 1
src/pcp2influxdb/GNUmakefile | 37 ++
src/pcp2influxdb/pcp2influxdb.1 | 114 ++++++++
src/pcp2influxdb/pcp2influxdb.py | 436 +++++++++++++++++++++++++++++++++
src/pmrep/pmrep.conf | 1
src/pmrep/pmrep.conf.5 | 3
src/zshrc/_pcp | 4
18 files changed, 912 insertions(+), 130 deletions(-)
commit 8dda65ea73bf901b463ac97c6697b88c5182adef
Author: Nathan Scott
Date: Thu Jul 7 10:28:03 2016 +1000
build: misc small packaging and qa updates for pcp2influxdb
Add a deb package for influxdb, bring new test into the fold
adding a pcp2graphite group as well. Update fedora packages
spec file to match Makepkgs variant.
commit abe399e39cd1a52273e727ed37ec01c6185b9d11
Author: Alec Ten Harmsel
Date: Thu Jul 7 09:56:24 2016 +1000
pcp2influxdb: export PCP metrics to InfluxDB
We are working on switching from graphite to InfluxDB for metric
storage, mostly for performance reasons. In order to do this, I
copied pcp2graphite and did a bit of a re-write to get it sending
metrics to InfluxDB.
InfluxDB has an HTTP API, which is the main way of sending data
to it. This patch handles cases with and without authentication.
commit 61c94c7ecf6e300800d323a7e915dab2b60c8f66
Author: Marko Myllynen
Date: Thu Jul 7 09:08:10 2016 +1000
docs: keep pmrep.conf in sync
Keep example pmrep.conf in sync with available options.
Add earlier mentioned man page to SEE ALSO section.
commit d14431711c1396b9818e836223104c739466d1bb
Author: Marko Myllynen
Date: Thu Jul 7 09:06:33 2016 +1000
docs: fix pmmgr.1 path typo
commit 55216d51db9dca37948f28d7018a0c9c739a78c3
Author: Marko Myllynen
Date: Thu Jul 7 09:04:02 2016 +1000
zsh completion: fix for pcp subcommands
Allow options for pcp(1) while completing subcommand options as well.
A bit heavy but called only when needed.
From nscott@redhat.com Wed Jul 6 19:49:38 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id 740437D1A
for ; Wed, 6 Jul 2016 19:49:38 -0500 (CDT)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay1.corp.sgi.com (Postfix) with ESMTP id 247988F80C3
for ; Wed, 6 Jul 2016 17:49:38 -0700 (PDT)
X-ASG-Debug-ID: 1467852575-04cb6c063f562490001-S8gJnT
Received: from mx6-phx2.redhat.com (mx6-phx2.redhat.com [209.132.183.39]) by cuda.sgi.com with ESMTP id jdOVI4UcGukOkiIg (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 06 Jul 2016 17:49:36 -0700 (PDT)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Effective-Source-IP: mx6-phx2.redhat.com[209.132.183.39]
X-Barracuda-Apparent-Source-IP: 209.132.183.39
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx6-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u670nWsi064581;
Wed, 6 Jul 2016 20:49:32 -0400
Date: Wed, 6 Jul 2016 20:49:32 -0400 (EDT)
From: Nathan Scott
Reply-To: Nathan Scott
To: Ken McDonell , Dave Brolley
Cc: PCP
Message-ID: <1261358087.4348399.1467852572215.JavaMail.zimbra@redhat.com>
In-Reply-To: <577DA69B.1080602@internode.on.net>
References: <577C1045.1040108@internode.on.net> <577C1D0A.6040300@redhat.com> <2068385288.4119706.1467774342414.JavaMail.zimbra@redhat.com> <577D325B.6060208@redhat.com> <577DA69B.1080602@internode.on.net>
Subject: Re: [pcp] errors from socket code on Mac OS X
MIME-Version: 1.0
X-ASG-Orig-Subj: Re: [pcp] errors from socket code on Mac OS X
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.64.50.190]
X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF47 (Linux)/8.0.6_GA_5922)
Thread-Topic: errors from socket code on Mac OS X
Thread-Index: rGikSVbdb4ZI7nhqShDO72rDGvOA9g==
X-Barracuda-Connect: mx6-phx2.redhat.com[209.132.183.39]
X-Barracuda-Start-Time: 1467852576
X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384
X-Barracuda-URL: https://192.48.176.15:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 1397
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31077
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
----- Original Message -----
> On 07/07/16 02:31, Dave Brolley wrote:
> > On 07/05/2016 11:05 PM, Nathan Scott wrote:
> >> ... and it looks like we are seeing a sockaddr that is (still) completely
> >> zeroed after we accept on the fd in pmcd/client.c AcceptNewClient. The
> >> attached patch seems to tidy it up for me ... whaddya think Dave? Are we
> >> likely to see other places where this happens, I wonder?
> >>
> > I would think that it could happen for any call to __pmAccept().
> >
> > In your patch, based on __pmCheckAcceptedAddress() requiring that the
> > family be set in the address, you set it before calling __pmAccept(). If
> > we're going to require that the family be provided to
> > __pmCheckAcceptedAddress() via __pmAccept(), then we should probably
> > bite the bullet and enforce that by making the family a 4th parameter to
> > __pmAccept() and have __pmAccept set it, when needed.
> >
> > Dave
> >
>
> I don't think the change needs to be that intrusive. I have a simpler
> approach that I've committed in my tree (patch attached).
Yep, lets go with that one.
> This addresses the Mac OS X issues and passes all the -g pmcd QA tests
> on both Mac OS X and Ubuntu 16.04 and now has good air time on a handful
> of other QA hosts.
>
Looking good on Fedora & RHEL here too, as you'd expect - thanks Ken.
cheers.
--
Nathan
From noreply@github.com Wed Jul 6 21:32:53 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level: **
X-Spam-Status: No, score=2.8 required=5.0 tests=HTML_IMAGE_ONLY_24,
HTML_MESSAGE,T_DKIM_INVALID autolearn=no version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 1A3737D11
for ; Wed, 6 Jul 2016 21:32:53 -0500 (CDT)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay2.corp.sgi.com (Postfix) with ESMTP id DE5F330408C
for ; Wed, 6 Jul 2016 19:32:49 -0700 (PDT)
X-ASG-Debug-ID: 1467858765-04cb6c063c58ead0001-S8gJnT
Received: from smtp-mx-server-8.servers.netregistry.net (smtp-outgoing-71.servers.netregistry.net [202.124.241.71]) by cuda.sgi.com with ESMTP id Lpqb30lhmxWbJQpb (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Wed, 06 Jul 2016 19:32:46 -0700 (PDT)
X-Barracuda-Envelope-From: noreply@github.com
X-Barracuda-RBL-Trusted-Forwarder: 202.124.241.71
Received: from github-smtp2-ext3.iad.github.net ([192.30.252.194] helo=github-smtp2b-ext-cp1-prd.iad.github.net)
by smtp-mx-server-8.servers.netregistry.net protocol: esmtps (Exim 4.84_2 #1 (Debian))
id 1bKz7H-00080y-Gs
for ; Thu, 07 Jul 2016 12:32:43 +1000
Date: Wed, 06 Jul 2016 19:32:31 -0700
X-Barracuda-Effective-Source-IP: UNKNOWN[192.30.252.194]
X-Barracuda-Apparent-Source-IP: 192.30.252.194
X-Barracuda-RBL-IP: 192.30.252.194
X-Barracuda-BBL-IP: 192.30.252.194
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1467858751;
bh=xXWa5A7NLy96+lqlPsdzPVuhtaSx0dsDJUX7iqe5dzk=;
h=From:Reply-To:To:Cc:Subject:List-ID:List-Archive:List-Post:
List-Unsubscribe:From;
b=iNO7Ciey49ZObJVM69lgA9+xT21GuZFw1qKsb4VzX2i4QXWYvA8J/tB0jQ5grQfn+
lP142ujHkS8v1APbBO5fElndsd+x8vMsaiDNd8ZaQckbcZMmRKztefB4G2ghYDYt/g
u4E4DxYHEEZurqYa4g8WekCJtRShgAIAWPU9aAQ0=
From: Sitaram Shelke
Reply-To: performancecopilot/pcp
To: performancecopilot/pcp
Cc:
Message-ID:
Subject: [performancecopilot/pcp] pcp pidstat fixes (#98)
Mime-Version: 1.0
X-ASG-Orig-Subj: [performancecopilot/pcp] pcp pidstat fixes (#98)
Content-Type: multipart/alternative;
boundary="--==_mimepart_577dbf3f31ba1_59773f8e7b10b2bc22451";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: sitaramshelke
X-GitHub-Recipient: pcpemail
List-ID: performancecopilot/pcp
List-Archive: https://github.com/performancecopilot/pcp
List-Post:
List-Unsubscribe: ,
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: pcp@kenj.com.au
X-Barracuda-Connect: smtp-outgoing-71.servers.netregistry.net[202.124.241.71]
X-Barracuda-Start-Time: 1467858766
X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256
X-Barracuda-URL: https://192.48.176.15:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 2934
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 1.28
X-Barracuda-Spam-Status: No, SCORE=1.28 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, DKIM_SIGNED, DKIM_VERIFIED, HTML_IMAGE_ONLY_24, HTML_IMAGE_ONLY_24_2, HTML_MESSAGE
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31078
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
-0.00 DKIM_VERIFIED Domain Keys Identified Mail: signature passes
verification
0.00 DKIM_SIGNED Domain Keys Identified Mail: message has a signature
0.00 HTML_IMAGE_ONLY_24 BODY: HTML: images with 2000-2400 bytes of words
0.00 HTML_MESSAGE BODY: HTML included in message
1.28 HTML_IMAGE_ONLY_24_2 HTML: images with 2000-2400 bytes of words
----==_mimepart_577dbf3f31ba1_59773f8e7b10b2bc22451
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Fixed floating point precision for total_percent()
Fixed argument parsing for -P
Changed `-P` to `-p` to match with the original pidstat :)
You can view, comment on, or merge this pull request online at:
https://github.com/performancecopilot/pcp/pull/98
-- Commit Summary --
* pcp-pidstat: Override and use -p to match original pidstat
* pcp-pidstat: Use list() when parsing pid_list
* pcp-pidstat: fix floating point precision for total_percent
-- File Changes --
M src/pcp/pidstat/pcp-pidstat.py (17)
-- Patch Links --
https://github.com/performancecopilot/pcp/pull/98.patch
https://github.com/performancecopilot/pcp/pull/98.diff
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/performancecopilot/pcp/pull/98
----==_mimepart_577dbf3f31ba1_59773f8e7b10b2bc22451
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Fixed floating point precision for total_percent()
Fixed argument parsing for -P
Changed -P to -p to match with the original pidstat :)
You can view, comment on, or merge this pull request online at:
https://github.com/performancecopilot/pcp/pull/98
Commit Summary
- pcp-pidstat: Override and use -p to match original pidstat
- pcp-pidstat: Use list() when parsing pid_list
- pcp-pidstat: fix floating point precision for total_percent
File Changes
Patch Links:
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
----==_mimepart_577dbf3f31ba1_59773f8e7b10b2bc22451--
From nscott@redhat.com Wed Jul 6 21:55:44 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id D71037CA7
for ; Wed, 6 Jul 2016 21:55:44 -0500 (CDT)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay3.corp.sgi.com (Postfix) with ESMTP id 5CED2AC01F
for ; Wed, 6 Jul 2016 19:55:41 -0700 (PDT)
X-ASG-Debug-ID: 1467860134-04cbb027356ddf70001-S8gJnT
Received: from mx5-phx2.redhat.com (mx5-phx2.redhat.com [209.132.183.37]) by cuda.sgi.com with ESMTP id H95abB4gM90WCXDy (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 06 Jul 2016 19:55:35 -0700 (PDT)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Effective-Source-IP: mx5-phx2.redhat.com[209.132.183.37]
X-Barracuda-Apparent-Source-IP: 209.132.183.37
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx5-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u672tXnL032084
for ; Wed, 6 Jul 2016 22:55:33 -0400
Date: Wed, 6 Jul 2016 22:55:33 -0400 (EDT)
From: Nathan Scott
Reply-To: Nathan Scott
To: PCP
Message-ID: <9210722.4357026.1467860133830.JavaMail.zimbra@redhat.com>
Subject: pcp updates: pidstat
MIME-Version: 1.0
X-ASG-Orig-Subj: pcp updates: pidstat
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.64.50.190]
X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF47 (Linux)/8.0.6_GA_5922)
Thread-Topic: pcp updates: pidstat
Thread-Index: a0/7i7rINvvCvg0L4/rD652vbhW39g==
X-Barracuda-Connect: mx5-phx2.redhat.com[209.132.183.37]
X-Barracuda-Start-Time: 1467860134
X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384
X-Barracuda-URL: https://192.48.176.25:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 1833
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31079
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
Changes committed to git://git.pcp.io/pcp.git master
sitaramshelke (3):
pcp-pidstat: Override and use -p to match original pidstat
pcp-pidstat: Use list() when parsing pid_list
pcp-pidstat: fix floating point precision for total_percent
Nathan Scott (2):
qa: update process-list option to match latest pcp-pidstat code
build: tweak gitignore file for pidstat compressed manpage
qa/1078 | 2 +-
src/pcp/pidstat/.gitignore | 1 +
src/pcp/pidstat/pcp-pidstat.py | 17 ++++++++++++-----
3 files changed, 14 insertions(+), 6 deletions(-)
commit 4f4f7b6c43dba73e59d0541bab4f1b1fd6c585f0
Author: Nathan Scott
Date: Thu Jul 7 12:52:00 2016 +1000
build: tweak gitignore file for pidstat compressed manpage
commit bc5e9cc08d4b3b64e0d3859b1f31905593e3a939
Author: Nathan Scott
Date: Thu Jul 7 12:51:36 2016 +1000
qa: update process-list option to match latest pcp-pidstat code
commit d76327ea642bf06c51e24fafac4102c2ce5b4caf
Author: sitaramshelke
Date: Wed Jul 6 18:12:53 2016 +0530
pcp-pidstat: fix floating point precision for total_percent
commit 5641945a7f834c6231547ee224ad201ec5dde28c
Author: sitaramshelke
Date: Wed Jul 6 17:56:28 2016 +0530
pcp-pidstat: Use list() when parsing pid_list
pcp uses python3 and from python3, map() returns an iterator instead.
commit a6cb92e83b6f09e3b13c38e1bec8f375fddb8a60
Author: sitaramshelke
Date: Wed Jul 6 17:38:56 2016 +0530
pcp-pidstat: Override and use -p to match original pidstat
Since original pidstat uses -p option to list the processes to be filtered, now pcp-pidstat -p matches with it.
From kenj@internode.on.net Thu Jul 7 06:42:31 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id 54D717CFB
for ; Thu, 7 Jul 2016 06:42:31 -0500 (CDT)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay1.corp.sgi.com (Postfix) with ESMTP id 0AF268F8100
for ; Thu, 7 Jul 2016 04:42:27 -0700 (PDT)
X-ASG-Debug-ID: 1467891743-04cbb027367b4160001-S8gJnT
Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by cuda.sgi.com with ESMTP id tCHiThcfc9iXRwCJ for ; Thu, 07 Jul 2016 04:42:24 -0700 (PDT)
X-Barracuda-Envelope-From: kenj@internode.on.net
X-Barracuda-Effective-Source-IP: ipmail06.adl6.internode.on.net[150.101.137.145]
X-Barracuda-Apparent-Source-IP: 150.101.137.145
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A2BeBAAyP35XEJVY0XYNToQUfIZvtCYah3QBAQEBAQEHAQEBAQEBAQE+hTZVMAYCBRYLAgsDAgECARsWJwYCAQG1FWePcYEBjn+CNYJaBY4DixCGCZdokAqEV1yIfAEBAQ
Received: from ppp118-209-88-149.bras1.mel11.internode.on.net (HELO [192.168.1.100]) ([118.209.88.149])
by ipmail06.adl6.internode.on.net with ESMTP; 07 Jul 2016 21:12:23 +0930
To: pcp@oss.sgi.com
Subject: pcp updates: qa for FreeBSD
From: Ken McDonell
X-ASG-Orig-Subj: pcp updates: qa for FreeBSD
Message-ID: <577E401D.2040308@internode.on.net>
Date: Thu, 7 Jul 2016 21:42:21 +1000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
Thunderbird/38.8.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Barracuda-Connect: ipmail06.adl6.internode.on.net[150.101.137.145]
X-Barracuda-Start-Time: 1467891743
X-Barracuda-URL: https://192.48.176.25:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 3107
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31087
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
Changes committed to git://git.pcp.io/kenj/pcp master
Ken McDonell (3):
qa/common: add -X and fix -r
qa/pmdas/slow_python/Install: tweak expr(1) use
qa various: FreeBSD changes
qa/066 | 12 +++-
qa/067 | 11 +++
qa/1019 | 2
qa/1020 | 2
qa/1092 | 4 -
qa/110 | 2
qa/159 | 2
qa/199 | 6 +-
qa/255 | 13 +++-
qa/258 | 2
qa/274 | 2
qa/279 | 7 ++
qa/282 | 16 ++++-
qa/296 | 2
qa/301 | 2
qa/324 | 12 ++--
qa/365 | 9 +++
qa/367 | 2
qa/411 | 2
qa/445 | 11 +++
qa/446 | 8 +-
qa/512 | 8 +-
qa/560 | 6 +-
qa/565 | 8 +-
qa/572 | 2
qa/578 | 29 ++++++----
qa/587 | 12 +++-
qa/587.freebsd | 122 +++++++++++++++++++++++++++++++++++++++++++
qa/601 | 4 -
qa/603 | 2
qa/605 | 33 ++++++-----
qa/628 | 2
qa/643 | 2
qa/667 | 14 ++--
qa/756 | 2
qa/763 | 2
qa/771 | 4 -
qa/841 | 4 -
qa/843 | 2
qa/956 | 8 +-
qa/common | 54 +++++++++++++++++--
qa/common.filter | 7 ++
qa/pmdas/slow_python/Install | 2
43 files changed, 360 insertions(+), 98 deletions(-)
Details ...
commit c59acb5f9e05d5f9f51bdcd6fa0c0f2d774a3c9c
Author: Ken McDonell
Date: Thu Jul 7 21:39:26 2016 +1000
qa various: FreeBSD changes
Several tests, a few generic changes
1. use $PCP_MAKE_PROG not make in scripts (the "make" we need is
called gmake in FreeBSD land)
2. add pmcd.conf stub logic for FreeBSD
3. be more careful with expr(1) usage
commit d5398d10cae043f0b0eb40a88bd75a0ec094a979
Author: Ken McDonell
Date: Thu Jul 7 19:52:29 2016 +1000
qa/pmdas/slow_python/Install: tweak expr(1) use
expr -1 \* 123 does not work on some platforms (e.g. FreeBSD), but
expr \( -1 \) \* 123 does.
commit 3927ac05255fc89a5d715815005d769ae7409c57
Author: Ken McDonell
Date: Thu Jul 7 19:50:51 2016 +1000
qa/common: add -X and fix -r
-X allows individual tests to be excluded (like -x group, but with
finer focus)
-r logic was just wrong
From kenj@internode.on.net Thu Jul 7 16:16:53 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id 4D5547CDC
for ; Thu, 7 Jul 2016 16:16:53 -0500 (CDT)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay1.corp.sgi.com (Postfix) with ESMTP id 20AB68F8148
for ; Thu, 7 Jul 2016 14:16:49 -0700 (PDT)
X-ASG-Debug-ID: 1467926202-04cbb027377d6e80001-S8gJnT
Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by cuda.sgi.com with ESMTP id juuIqlI9xltSN00e for ; Thu, 07 Jul 2016 14:16:43 -0700 (PDT)
X-Barracuda-Envelope-From: kenj@internode.on.net
X-Barracuda-Effective-Source-IP: ipmail06.adl6.internode.on.net[150.101.137.145]
X-Barracuda-Apparent-Source-IP: 150.101.137.145
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A2BUBACLxX5XEJVY0XYNRAqEFHyGb7QdGoV+AoF4AQEBAQEBBwEBAQEBAQI+hQwBAQQBIxVAAQULCxgCAgUWCwICCQMCAQIBGxYUBg0IAQGIJKx4Z49IAQEBAQEBBAEBAQEBIoEBiXOEGCiDAYJaBZkThgmKdoxykAqEV1yJFgEBAQ
Received: from ppp118-209-88-149.bras1.mel11.internode.on.net (HELO [192.168.1.100]) ([118.209.88.149])
by ipmail06.adl6.internode.on.net with ESMTP; 08 Jul 2016 06:46:42 +0930
Subject: Re: [pcp] QA Status
To: Nathan Scott
X-ASG-Orig-Subj: Re: [pcp] QA Status
References: <577AF2CD.60104@internode.on.net>
<172419962.3662696.1467677239015.JavaMail.zimbra@redhat.com>
Cc: pcp@oss.sgi.com
From: Ken McDonell
Message-ID: <577EC6B9.3000503@internode.on.net>
Date: Fri, 8 Jul 2016 07:16:41 +1000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
Thunderbird/38.8.0
MIME-Version: 1.0
In-Reply-To: <172419962.3662696.1467677239015.JavaMail.zimbra@redhat.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Barracuda-Connect: ipmail06.adl6.internode.on.net[150.101.137.145]
X-Barracuda-Start-Time: 1467926203
X-Barracuda-URL: https://192.48.176.25:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 1469
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31100
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
On 05/07/16 10:07, Nathan Scott wrote:
> ...
> I've pushed in a fix for 722, 'twas a memory corruption problem.
Hi Nathan,
722 is still failing on some hosts, e.g. on grundy I'm seeing this
(running the container test by hand)
kenj@grundy-dmz:~/src/pcp/qa> TEST_SET_CONTAINER=abc012345 python
src/test_set_source.python
== Test ==
Hosts: None
Archives: None
Container: abc012345
Traceback (most recent call last):
File "src/test_set_source.python", line 93, in
test.connect()
File "src/test_set_source.python", line 88, in connect
self.context = pmapi.pmContext.fromOptions(self.opts, sys.argv)
File "/usr/local/lib/python2.6/site-packages/pcp/pmapi.py", line
1204, in fromOptions
context = builder(typed, source)
File "/usr/local/lib/python2.6/site-packages/pcp/pmapi.py", line
1162, in __init__
raise pmErr(self._ctx, [target])
pcp.pmapi.pmErr: Operation not supported ['local:']
And similar results on vm14 and vm21.
> I saw 1108 fail once, but never again & running it in a loop isn't
> able to hit it, so I'm wondering if its related to some state left
> behind from an earlier test. I'll keep digging.
Your guess seems correct ... the 1108.full records show pmnewlog trying
to kill off TWO pmloggers ... this is badness ... I've made a change to
pmnewlog to detect this and report the details and I hope this will
identify where the additional process is coming from.
From noreply@github.com Thu Jul 7 18:39:33 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id C1EC67CEB
for ; Thu, 7 Jul 2016 18:39:33 -0500 (CDT)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay3.corp.sgi.com (Postfix) with ESMTP id 5B521AC056
for ; Thu, 7 Jul 2016 16:39:33 -0700 (PDT)
X-ASG-Debug-ID: 1467934769-04bdf074b668e3b0001-S8gJnT
Received: from smtp-mx-server-8.servers.netregistry.net (smtp-outgoing-69.servers.netregistry.net [202.124.241.69]) by cuda.sgi.com with ESMTP id Hj4HXwG1Lxin4IJl (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Thu, 07 Jul 2016 16:39:31 -0700 (PDT)
X-Barracuda-Envelope-From: noreply@github.com
X-Barracuda-RBL-Trusted-Forwarder: 202.124.241.69
Received: from github-smtp2-ext1.iad.github.net ([192.30.252.192] helo=github-smtp2a-ext-cp1-prd.iad.github.net)
by smtp-mx-server-8.servers.netregistry.net protocol: esmtps (Exim 4.84_2 #1 (Debian))
id 1bLItB-0000J1-Af
for ; Fri, 08 Jul 2016 09:39:28 +1000
Date: Thu, 07 Jul 2016 16:39:17 -0700
X-Barracuda-Effective-Source-IP: UNKNOWN[192.30.252.192]
X-Barracuda-Apparent-Source-IP: 192.30.252.192
X-Barracuda-RBL-IP: 192.30.252.192
X-Barracuda-BBL-IP: 192.30.252.192
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1467934757;
bh=9e4zg82Pt1XQpvKy7U/XbxQM3mVWF4wY18EfuLRXu8w=;
h=From:To:Subject:From;
b=R8HeX/YbKJ1nRPZ5PmowOB47MQbPD/u9wmtQsgIgtm9Br2PxB6M1ToKsxZg4qFLKj
hCF0JVdW+I+xs1QjSU3zjA5oVG6+n5oyqlJKchIkt11l7TFHZlHjGVqaQDlhotiIwy
LmbnwtV+gffG7eLAKNcAhFK5ZiMKNO/IPQRqkCqs=
From: GitHub
To: pcp@kenj.com.au
Message-ID: <577ee8258bd91_3613fd1dd4ab2a06995@github-lowworker7-cp1-prd.iad.github.net.mail>
Subject: [GitHub] Subscribed to 2 performancecopilot repositories
Mime-Version: 1.0
X-ASG-Orig-Subj: [GitHub] Subscribed to 2 performancecopilot repositories
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Auto-Response-Suppress: All
X-Barracuda-Connect: smtp-outgoing-69.servers.netregistry.net[202.124.241.69]
X-Barracuda-Start-Time: 1467934770
X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256
X-Barracuda-URL: https://192.48.157.11:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 568
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, DKIM_SIGNED, DKIM_VERIFIED
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31105
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
-0.00 DKIM_VERIFIED Domain Keys Identified Mail: signature passes
verification
0.00 DKIM_SIGNED Domain Keys Identified Mail: message has a signature
Hey there, we=E2=80=99re just writing to let you know that you=E2=80=99ve=
automatically started watching several repositories on GitHub.
You=E2=80=99ll receive notifications for all issues, pull requests, and c=
omments that happen inside the repository. If you would like to stop watc=
hing any of these repositories, you can manage your settings here:
https://github.com/performancecopilot/pcp2pdf/subscription
https://github.com/performancecopilot/speed/subscription
You automatically watched these repositories because you=E2=80=99ve been =
given push access to them.
Thanks!
From nscott@redhat.com Thu Jul 7 19:03:01 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id C658C7CE5
for ; Thu, 7 Jul 2016 19:03:01 -0500 (CDT)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay1.corp.sgi.com (Postfix) with ESMTP id 982EC8F80E1
for ; Thu, 7 Jul 2016 17:02:58 -0700 (PDT)
X-ASG-Debug-ID: 1467936168-04cbb027377e3dd0001-S8gJnT
Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id zMKjbMADIfSHDMse (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 07 Jul 2016 17:02:48 -0700 (PDT)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Effective-Source-IP: mx3-phx2.redhat.com[209.132.183.24]
X-Barracuda-Apparent-Source-IP: 209.132.183.24
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u6802lFd030623
for ; Thu, 7 Jul 2016 20:02:47 -0400
Date: Thu, 7 Jul 2016 20:02:47 -0400 (EDT)
From: Nathan Scott
Reply-To: Nathan Scott
To: PCP
Message-ID: <1995662347.4573289.1467936167893.JavaMail.zimbra@redhat.com>
In-Reply-To: <523303824.4573276.1467936155642.JavaMail.zimbra@redhat.com>
Subject: pcp updates: marko+kenj merges
MIME-Version: 1.0
X-ASG-Orig-Subj: pcp updates: marko+kenj merges
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.64.50.225]
X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF47 (Linux)/8.0.6_GA_5922)
Thread-Topic: pcp updates: marko+kenj merges
Thread-Index: mhOUABhh2TmXR1Ds9XIGwql+37XMGw==
X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24]
X-Barracuda-Start-Time: 1467936168
X-Barracuda-Encrypted: DHE-RSA-AES256-SHA
X-Barracuda-URL: https://192.48.176.25:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 4507
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31105
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
Changes committed to git://git.pcp.io/pcp.git master
Ken McDonell (3):
qa/common: add -X and fix -r
qa/pmdas/slow_python/Install: tweak expr(1) use
qa various: FreeBSD changes
Marko Myllynen (2):
pmrep: allow sub-second sampling intervals
pmrep: robustify csv output
qa/066 | 12 +++-
qa/067 | 11 +++
qa/1019 | 2
qa/1020 | 2
qa/1069 | 7 ++
qa/1069.out | 47 +++++++++++++++-
qa/1092 | 4 -
qa/110 | 2
qa/159 | 2
qa/199 | 6 +-
qa/255 | 13 +++-
qa/258 | 2
qa/274 | 2
qa/279 | 7 ++
qa/282 | 16 ++++-
qa/296 | 2
qa/301 | 2
qa/324 | 12 ++--
qa/365 | 9 +++
qa/367 | 2
qa/411 | 2
qa/445 | 11 +++
qa/446 | 8 +-
qa/512 | 8 +-
qa/560 | 6 +-
qa/565 | 8 +-
qa/572 | 2
qa/578 | 29 ++++++----
qa/587 | 12 +++-
qa/587.freebsd | 122 +++++++++++++++++++++++++++++++++++++++++++
qa/601 | 4 -
qa/603 | 2
qa/605 | 33 ++++++-----
qa/628 | 2
qa/643 | 2
qa/667 | 14 ++--
qa/756 | 2
qa/763 | 2
qa/771 | 4 -
qa/841 | 4 -
qa/843 | 2
qa/956 | 8 +-
qa/common | 54 +++++++++++++++++--
qa/common.filter | 7 ++
qa/pmdas/slow_python/Install | 2
src/pmrep/pmrep.py | 53 +++++++++++-------
46 files changed, 445 insertions(+), 120 deletions(-)
commit 3f303b9f54cba1148b4a026dbdcdf80b14cadb95
Author: Marko Myllynen
Date: Fri Jul 8 09:22:47 2016 +1000
pmrep: robustify csv output
See https://en.wikipedia.org/wiki/Comma-separated_values
commit 8c5b893c9c551809c8cd5992c02d8bba2d6ae9a4
Author: Marko Myllynen
Date: Fri Jul 8 09:18:58 2016 +1000
pmrep: allow sub-second sampling intervals
There's no particular reason to forbid interval being less than
one second for pmrep(1), the only reason preventing it were some
internal calculations using int().
Lift the restriction and update the code as needed. Add some QA.
Interval 0 would work as well but I guess it's best to forbid it,
hard to see any realistic use cases for it (and something like
-t 0.1 should suffice just fine in any case).
Note that in some cases the external header's end time now may
differ from what will be the actual end time (interval and
samples still being correct), but I think the approach below
is the most reasonable one, it shouldn't surprise users.
commit c59acb5f9e05d5f9f51bdcd6fa0c0f2d774a3c9c
Author: Ken McDonell
Date: Thu Jul 7 21:39:26 2016 +1000
qa various: FreeBSD changes
Several tests, a few generic changes
1. use $PCP_MAKE_PROG not make in scripts (the "make" we need is
called gmake in FreeBSD land)
2. add pmcd.conf stub logic for FreeBSD
3. be more careful with expr(1) usage
commit d5398d10cae043f0b0eb40a88bd75a0ec094a979
Author: Ken McDonell
Date: Thu Jul 7 19:52:29 2016 +1000
qa/pmdas/slow_python/Install: tweak expr(1) use
expr -1 \* 123 does not work on some platforms (e.g. FreeBSD), but
expr \( -1 \) \* 123 does.
commit 3927ac05255fc89a5d715815005d769ae7409c57
Author: Ken McDonell
Date: Thu Jul 7 19:50:51 2016 +1000
qa/common: add -X and fix -r
-X allows individual tests to be excluded (like -x group, but with
finer focus)
-r logic was just wrong
From kenj@internode.on.net Thu Jul 7 19:11:25 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id 77B1A7CEB
for ; Thu, 7 Jul 2016 19:11:25 -0500 (CDT)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay3.corp.sgi.com (Postfix) with ESMTP id 11823AC054
for ; Thu, 7 Jul 2016 17:11:21 -0700 (PDT)
X-ASG-Debug-ID: 1467936677-04bdf074b668f580001-S8gJnT
Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by cuda.sgi.com with ESMTP id KK1pp6iI3EogNWEZ for ; Thu, 07 Jul 2016 17:11:17 -0700 (PDT)
X-Barracuda-Envelope-From: kenj@internode.on.net
X-Barracuda-Effective-Source-IP: ipmail06.adl6.internode.on.net[150.101.137.145]
X-Barracuda-Apparent-Source-IP: 150.101.137.145
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A2A1AwC97n5XEJVY0XYNT4QUfIZvtCIah3kBAQEBAQEHAQEBAQEBAQE+hTZVMAYCBRYLAgsDAgECARsWJwYCAQG1LWePb4EBjwCCNYJaBZkThguKd4x0kAyEV1yJFgEBAQ
Received: from ppp118-209-88-149.bras1.mel11.internode.on.net (HELO [192.168.1.100]) ([118.209.88.149])
by ipmail06.adl6.internode.on.net with ESMTP; 08 Jul 2016 09:41:16 +0930
To: pcp@oss.sgi.com
Subject: pcp updates: misc
From: Ken McDonell
X-ASG-Orig-Subj: pcp updates: misc
Message-ID: <577EEFA4.1030204@internode.on.net>
Date: Fri, 8 Jul 2016 10:11:16 +1000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
Thunderbird/38.8.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Barracuda-Connect: ipmail06.adl6.internode.on.net[150.101.137.145]
X-Barracuda-Start-Time: 1467936677
X-Barracuda-URL: https://192.48.157.11:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 2119
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31105
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
Changes committed to git://git.pcp.io/kenj/pcp master
Ken McDonell (4):
qa/1108: add extra diagnostics
qa/admin/pcp-daily: add some more tests to run for one of the FreeBSD hosts
src/pmlogger/pmnewlog.sh: improve checking
src/pmcd/src/client.c: small change to new client connection logic
qa/1108 | 3 +++
qa/admin/pcp-daily | 12 +++++++++---
src/pmcd/src/client.c | 20 +++++++++++++-------
src/pmlogger/pmnewlog.sh | 14 ++++++++++++++
4 files changed, 39 insertions(+), 10 deletions(-)
Details ...
commit cd6a6b97672d29f6cde37ff717ee9fe1a20298ab
Author: Ken McDonell
Date: Fri Jul 8 10:07:46 2016 +1000
src/pmcd/src/client.c: small change to new client connection logic
In AcceptNewClient(), ECONNABORTED is a (sort of) expected result
from __pmAccept() ... at least it has been seen in QA on FreeBSD
platforms.
Also in the same area, if the error from __pmAccept() is not
expected we should just drop the client connection, not terminate
pmcd as was previously the case.
commit 58bf69753faeeb4109e6a0cbd9098ec3c41e909f
Author: Ken McDonell
Date: Fri Jul 8 09:34:57 2016 +1000
src/pmlogger/pmnewlog.sh: improve checking
pmnewlog is supposed to restart _exactly_ one pmlogger process.
If it find more than one "target" processes it should report and quit.
This situation is most unlikely in production environments but has
been seen in QA, with some earlier test probably causing qa/1108 to
fail as a result ... this change should caue qa/1108 to fail with
more useful error messages.
commit 548e435c44c71b27d3d3a0029aef7c94441f88e0
Author: Ken McDonell
Date: Fri Jul 8 09:34:22 2016 +1000
qa/admin/pcp-daily: add some more tests to run for one of the FreeBSD hosts
commit 44b0b1e427807388b71adb0d76e990f1a4bffd38
Author: Ken McDonell
Date: Fri Jul 8 09:33:53 2016 +1000
qa/1108: add extra diagnostics
From nscott@redhat.com Thu Jul 7 19:14:58 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id 48C3B7CEB
for ; Thu, 7 Jul 2016 19:14:58 -0500 (CDT)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay1.corp.sgi.com (Postfix) with ESMTP id 1A2028F815B
for ; Thu, 7 Jul 2016 17:14:57 -0700 (PDT)
X-ASG-Debug-ID: 1467936895-04cbb027357e46f0001-S8gJnT
Received: from mx5-phx2.redhat.com (mx5-phx2.redhat.com [209.132.183.37]) by cuda.sgi.com with ESMTP id JQtuKTBfqbroZ57U (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 07 Jul 2016 17:14:56 -0700 (PDT)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Effective-Source-IP: mx5-phx2.redhat.com[209.132.183.37]
X-Barracuda-Apparent-Source-IP: 209.132.183.37
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx5-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u680Epqi034784;
Thu, 7 Jul 2016 20:14:51 -0400
Date: Thu, 7 Jul 2016 20:14:51 -0400 (EDT)
From: Nathan Scott
Reply-To: Nathan Scott
To: Ken McDonell
Cc: pcp@oss.sgi.com
Message-ID: <880239278.4574196.1467936891447.JavaMail.zimbra@redhat.com>
In-Reply-To: <577EC6B9.3000503@internode.on.net>
References: <577AF2CD.60104@internode.on.net> <172419962.3662696.1467677239015.JavaMail.zimbra@redhat.com> <577EC6B9.3000503@internode.on.net>
Subject: Re: [pcp] QA Status
MIME-Version: 1.0
X-ASG-Orig-Subj: Re: [pcp] QA Status
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.64.50.225]
X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF47 (Linux)/8.0.6_GA_5922)
Thread-Topic: QA Status
Thread-Index: cPmeEgIFutX2xW09/6k7xb36hdWnIQ==
X-Barracuda-Connect: mx5-phx2.redhat.com[209.132.183.37]
X-Barracuda-Start-Time: 1467936895
X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384
X-Barracuda-URL: https://192.48.176.25:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 2093
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31105
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
Mornin',
----- Original Message -----
> On 05/07/16 10:07, Nathan Scott wrote:
> > ...
> > I've pushed in a fix for 722, 'twas a memory corruption problem.
>
> Hi Nathan,
>
> 722 is still failing on some hosts, e.g. on grundy I'm seeing this
> (running the container test by hand)
>
> kenj@grundy-dmz:~/src/pcp/qa> TEST_SET_CONTAINER=abc012345 python
> src/test_set_source.python
> == Test ==
> Hosts: None
> Archives: None
> Container: abc012345
> Traceback (most recent call last):
> File "src/test_set_source.python", line 93, in
> test.connect()
> File "src/test_set_source.python", line 88, in connect
> self.context = pmapi.pmContext.fromOptions(self.opts, sys.argv)
> File "/usr/local/lib/python2.6/site-packages/pcp/pmapi.py", line
> 1204, in fromOptions
> context = builder(typed, source)
> File "/usr/local/lib/python2.6/site-packages/pcp/pmapi.py", line
> 1162, in __init__
> raise pmErr(self._ctx, [target])
> pcp.pmapi.pmErr: Operation not supported ['local:']
>
> And similar results on vm14 and vm21.
>
Hmm, that's a error code from pmNewContext - different kind of problem
to the last one - what does "pmprobe -v pmcd.features" say? I'm gonna
guess pmcd.feature.containers has value 0 on all those hosts.
If so, I suppose either a pmprobe-based _notrun() is needed here or we
could split the containers check out into a new test.
> > I saw 1108 fail once, but never again & running it in a loop isn't
> > able to hit it, so I'm wondering if its related to some state left
> > behind from an earlier test. I'll keep digging.
>
> Your guess seems correct ... the 1108.full records show pmnewlog trying
> to kill off TWO pmloggers ... this is badness ... I've made a change to
> pmnewlog to detect this and report the details and I hope this will
> identify where the additional process is coming from.
Sounds good. In other news I saw a single spurious 651 failure the other
day ... so not sure we've got to the bottom of that one yet either. :(
cheers.
--
Nathan
From nscott@redhat.com Thu Jul 7 19:25:20 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id 411FE7CEB
for ; Thu, 7 Jul 2016 19:25:20 -0500 (CDT)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay3.corp.sgi.com (Postfix) with ESMTP id BC6E2AC058
for ; Thu, 7 Jul 2016 17:25:19 -0700 (PDT)
X-ASG-Debug-ID: 1467937517-04cbb027387e4b70001-S8gJnT
Received: from mx5-phx2.redhat.com (mx5-phx2.redhat.com [209.132.183.37]) by cuda.sgi.com with ESMTP id s98hoT6WdG1WjE8C (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 07 Jul 2016 17:25:17 -0700 (PDT)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Effective-Source-IP: mx5-phx2.redhat.com[209.132.183.37]
X-Barracuda-Apparent-Source-IP: 209.132.183.37
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx5-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u680PDT0036027;
Thu, 7 Jul 2016 20:25:13 -0400
Date: Thu, 7 Jul 2016 20:25:13 -0400 (EDT)
From: Nathan Scott
Reply-To: Nathan Scott
To: Ken McDonell
Cc: pcp@oss.sgi.com
Message-ID: <963195514.4574901.1467937513727.JavaMail.zimbra@redhat.com>
In-Reply-To: <880239278.4574196.1467936891447.JavaMail.zimbra@redhat.com>
References: <577AF2CD.60104@internode.on.net> <172419962.3662696.1467677239015.JavaMail.zimbra@redhat.com> <577EC6B9.3000503@internode.on.net> <880239278.4574196.1467936891447.JavaMail.zimbra@redhat.com>
Subject: Re: [pcp] QA Status
MIME-Version: 1.0
X-ASG-Orig-Subj: Re: [pcp] QA Status
Content-Type: multipart/mixed;
boundary="----=_Part_4574899_530192551.1467937513726"
X-Originating-IP: [10.64.50.225]
X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF47 (Linux)/8.0.6_GA_5922)
Thread-Topic: QA Status
Thread-Index: cPmeEgIFutX2xW09/6k7xb36hdWnIeSbGz6E
X-Barracuda-Connect: mx5-phx2.redhat.com[209.132.183.37]
X-Barracuda-Start-Time: 1467937517
X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384
X-Barracuda-URL: https://192.48.176.25:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 497
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31105
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
------=_Part_4574899_530192551.1467937513726
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
----- Original Message -----
> [...]
>
> Hmm, that's a error code from pmNewContext - different kind of problem
> to the last one - what does "pmprobe -v pmcd.features" say? I'm gonna
> guess pmcd.feature.containers has value 0 on all those hosts.
>
> If so, I suppose either a pmprobe-based _notrun() is needed here or we
> could split the containers check out into a new test.
>
Actually, attached patch is probably simpler than both those options.
cheers.
--
Nathan
------=_Part_4574899_530192551.1467937513726
Content-Type: text/x-patch; name=pyoptqa.patch
Content-Disposition: attachment; filename=pyoptqa.patch
Content-Transfer-Encoding: base64
ZGlmZiAtLWdpdCBhL3FhL3NyYy90ZXN0X3NldF9zb3VyY2UucHl0aG9uIGIvcWEvc3JjL3Rlc3Rf
c2V0X3NvdXJjZS5weXRob24KaW5kZXggNWVmMTZiNy4uZDY4YTk3NCAxMDA3NTUKLS0tIGEvcWEv
c3JjL3Rlc3Rfc2V0X3NvdXJjZS5weXRob24KKysrIGIvcWEvc3JjL3Rlc3Rfc2V0X3NvdXJjZS5w
eXRob24KQEAgLTg1LDcgKzg1LDExIEBAIGNsYXNzIFRlc3Qob2JqZWN0KToKICAgICAgICAgbG9j
YWxwbWRhID0gc2VsZi5vcHRzLnBtR2V0T3B0aW9uTG9jYWxQTURBKCkKICAgICAgICAgaWYgbG9j
YWxwbWRhOgogICAgICAgICAgICAgcHJpbnQoIkxvY2FsIFBNREE6ICVzIiAlIChzdHIobG9jYWxw
bWRhKSkpCi0gICAgICAgIHNlbGYuY29udGV4dCA9IHBtYXBpLnBtQ29udGV4dC5mcm9tT3B0aW9u
cyhzZWxmLm9wdHMsIHN5cy5hcmd2KQorICAgICAgICB0cnk6CisgICAgICAgICAgICBzZWxmLmNv
bnRleHQgPSBwbWFwaS5wbUNvbnRleHQuZnJvbU9wdGlvbnMoc2VsZi5vcHRzLCBzeXMuYXJndikK
KyAgICAgICAgZXhjZXB0IHBtYXBpLnBtRXJyIGFzIGVycm9yOgorICAgICAgICAgICAgaWYgY29u
dGFpbmVyIGFuZCBzdHIoZXJyb3IpLmZpbmQoIk9wZXJhdGlvbiBub3Qgc3VwcG9ydGVkIikgPT0g
LTE6CisgICAgICAgICAgICAgICAgcHJpbnQoc3RyKGVycm9yKSkKIAogaWYgX19uYW1lX18gPT0g
J19fbWFpbl9fJzoKICAgICB0cnk6Cg==
------=_Part_4574899_530192551.1467937513726--
From kenj@internode.on.net Thu Jul 7 20:36:17 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id 5E03D7CE5
for ; Thu, 7 Jul 2016 20:36:17 -0500 (CDT)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay1.corp.sgi.com (Postfix) with ESMTP id 216788F8162
for ; Thu, 7 Jul 2016 18:36:13 -0700 (PDT)
X-ASG-Debug-ID: 1467941766-04cbb027357e7a00001-S8gJnT
Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by cuda.sgi.com with ESMTP id BuIGJmQhJRPCoGD8 for ; Thu, 07 Jul 2016 18:36:07 -0700 (PDT)
X-Barracuda-Envelope-From: kenj@internode.on.net
X-Barracuda-Effective-Source-IP: ipmail06.adl6.internode.on.net[150.101.137.145]
X-Barracuda-Apparent-Source-IP: 150.101.137.145
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A2A1AwCmAn9XEJVY0XYNT4t/tCKGGAKBeQEBAQEBAQcBAQEBAQEBAT6FDAEBBAEjFUABBQsLGAICBRYLAgIJAwIBAgEbFhQGDQgBAYgkrHRnj0IBAQEBAQEBAwEBAQEBIoEBiXOHQoJaBZkTkB6NWJAMhFeJcgEBAQ
Received: from ppp118-209-88-149.bras1.mel11.internode.on.net (HELO [192.168.1.100]) ([118.209.88.149])
by ipmail06.adl6.internode.on.net with ESMTP; 08 Jul 2016 11:06:06 +0930
Subject: Re: [pcp] QA Status
To: Nathan Scott
X-ASG-Orig-Subj: Re: [pcp] QA Status
References: <577AF2CD.60104@internode.on.net>
<172419962.3662696.1467677239015.JavaMail.zimbra@redhat.com>
<577EC6B9.3000503@internode.on.net>
<880239278.4574196.1467936891447.JavaMail.zimbra@redhat.com>
Cc: pcp@oss.sgi.com
From: Ken McDonell
Message-ID: <577F0384.4010302@internode.on.net>
Date: Fri, 8 Jul 2016 11:36:04 +1000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
Thunderbird/38.8.0
MIME-Version: 1.0
In-Reply-To: <880239278.4574196.1467936891447.JavaMail.zimbra@redhat.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Barracuda-Connect: ipmail06.adl6.internode.on.net[150.101.137.145]
X-Barracuda-Start-Time: 1467941766
X-Barracuda-URL: https://192.48.176.25:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 577
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31107
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
On 08/07/16 10:14, Nathan Scott wrote:
> ...
> Hmm, that's a error code from pmNewContext - different kind of problem
> to the last one - what does "pmprobe -v pmcd.features" say? I'm gonna
> guess pmcd.feature.containers has value 0 on all those hosts.
kenj@grundy-dmz:~/src/pcp/qa> pmprobe -v pmcd.feature.containers
pmcd.feature.containers 1 0
> If so, I suppose either a pmprobe-based _notrun() is needed here or we
> could split the containers check out into a new test.
Probably split ... I'll do it next week if I don't see a commit in the
interim.
From nscott@redhat.com Fri Jul 8 05:29:12 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id D413C7CCD
for ; Fri, 8 Jul 2016 05:29:12 -0500 (CDT)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay1.corp.sgi.com (Postfix) with ESMTP id 9F8698F804B
for ; Fri, 8 Jul 2016 03:29:12 -0700 (PDT)
X-ASG-Debug-ID: 1467973745-04cb6c063c6b12d0001-S8gJnT
Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id GPCUgCDGx9fOu9mW (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 08 Jul 2016 03:29:06 -0700 (PDT)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Effective-Source-IP: mx3-phx2.redhat.com[209.132.183.24]
X-Barracuda-Apparent-Source-IP: 209.132.183.24
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u68AT5VE003232
for ; Fri, 8 Jul 2016 06:29:05 -0400
Date: Fri, 8 Jul 2016 06:29:05 -0400 (EDT)
From: Nathan Scott
Reply-To: Nathan Scott
To: PCP
Message-ID: <1929486931.4629335.1467973745235.JavaMail.zimbra@redhat.com>
Subject: pcp updates: qa
MIME-Version: 1.0
X-ASG-Orig-Subj: pcp updates: qa
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.64.50.225]
X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF47 (Linux)/8.0.6_GA_5922)
Thread-Topic: pcp updates: qa
Thread-Index: 8oAFD1WBp+D7Pm/VvmP/ucMVHrozFA==
X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24]
X-Barracuda-Start-Time: 1467973746
X-Barracuda-Encrypted: DHE-RSA-AES256-SHA
X-Barracuda-URL: https://192.48.176.15:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 922
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31115
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
Changes committed to git://git.pcp.io/pcp.git master
Marko Myllynen (1):
pmrep: enhance unit conversion QA tests
Nathan Scott (1):
qa: deal with missing container support for test 722
qa/1069 | 9 ++++--
qa/1069.out | 62 +++++++++++++++++++++++++++++-------------
qa/src/test_set_source.python | 6 +++-
3 files changed, 54 insertions(+), 23 deletions(-)
commit 66a9deb47994d0c44475fe75ad9016376c0f9963
Author: Marko Myllynen
Date: Fri Jul 8 20:27:25 2016 +1000
pmrep: enhance unit conversion QA tests
Test unit conversions to both directions.
All reported values are as expected AFAICS.
commit 0d968a17629761e7ebc4d53e1e8282ae1548c21d
Author: Nathan Scott
Date: Fri Jul 8 12:26:07 2016 +1000
qa: deal with missing container support for test 722
From myllynen@redhat.com Fri Jul 8 05:37:28 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id 9FFF17CD3
for ; Fri, 8 Jul 2016 05:37:28 -0500 (CDT)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay1.corp.sgi.com (Postfix) with ESMTP id 699A08F8049
for ; Fri, 8 Jul 2016 03:37:28 -0700 (PDT)
X-ASG-Debug-ID: 1467974244-04cb6c063d6b2520001-S8gJnT
Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by cuda.sgi.com with ESMTP id Yob0hclbXAEOw9PF (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Fri, 08 Jul 2016 03:37:25 -0700 (PDT)
X-Barracuda-Envelope-From: myllynen@redhat.com
X-Barracuda-Effective-Source-IP: mail-wm0-f50.google.com[74.125.82.50]
X-Barracuda-Apparent-Source-IP: 74.125.82.50
Received: by mail-wm0-f50.google.com with SMTP id z126so10550208wme.0
for ; Fri, 08 Jul 2016 03:37:25 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:reply-to:subject:references:to:cc:from
:organization:message-id:date:user-agent:mime-version:in-reply-to
:content-transfer-encoding;
bh=GlCWO+oxPacsjjIC9ArPxZU+9eicYTYMyYDWNsx2slw=;
b=GS8v0Urm2zkIMtx2uJZdPy7Ia2SXZRfpmUU9JyQ6uNqOAqhA/JCOaynXRXgoTZUbmi
MTEHlgA+4ZsNMYgvDFeCKPd4HIvf1Ok420k52o1LiT5jvWhqHYqrrHHNOGSmd8ppj70i
QEsl52QfT5+X57PtT3wAvwy2U0+d7K2Vf4zyXluCMcO8Wb5yICS/JlIztY6d66zhgIb+
iYJnr6edHjJYD6XWyFYAcMTj91ytcfpX/4DfMC63uaNS4/+IV3YOI2pQkCWtbH8jgKxT
uJcwLtqoTCxHkmITcWHimFmQvAzFeKuyObyWIn1jn8d3dKdaubszpk3qeQNyJO5OTsnO
6PQw==
X-Gm-Message-State: ALyK8tLnYu+Y9Tcu9pds1TGaBKK951kcvTWFLP0zN6t2GxtWuqX1IljoMw/bFEp2tM7gOeo8
X-Received: by 10.28.86.214 with SMTP id k205mr2567946wmb.17.1467974244154;
Fri, 08 Jul 2016 03:37:24 -0700 (PDT)
Received: from [192.168.1.101] (37-33-159-141.bb.dnainternet.fi. [37.33.159.141])
by smtp.gmail.com with ESMTPSA id b1sm2514009wjx.9.2016.07.08.03.37.22
(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Fri, 08 Jul 2016 03:37:23 -0700 (PDT)
Reply-To: Marko Myllynen
Subject: Re: pmrep: convert to use pmfg
References: <576926AB.7070608@redhat.com>
<717761407.765523.1466558073136.JavaMail.zimbra@redhat.com>
<576FDCE3.9010706@redhat.com>
X-ASG-Orig-Subj: Re: pmrep: convert to use pmfg
To: "Frank Ch. Eigler"
Cc: Nathan Scott , pcp@oss.sgi.com
From: Marko Myllynen
Organization: Red Hat
Message-ID: <577F8261.5060008@redhat.com>
Date: Fri, 8 Jul 2016 13:37:21 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
Thunderbird/38.8.0
MIME-Version: 1.0
In-Reply-To:
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Barracuda-Connect: mail-wm0-f50.google.com[74.125.82.50]
X-Barracuda-Start-Time: 1467974245
X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256
X-Barracuda-URL: https://192.48.176.15:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 3414
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.01
X-Barracuda-Spam-Status: No, SCORE=0.01 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, BSF_SC0_SA_TO_FROM_DOMAIN_MATCH
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31115
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
0.01 BSF_SC0_SA_TO_FROM_DOMAIN_MATCH Sender Domain Matches Recipient
Domain
Hi,
On 2016-06-29 17:45, Frank Ch. Eigler wrote:
>
>>>> - in QA 1069 for sample.seconds we get 1 (integer) unlike with
>>>> pmval/pmrep which give typically something like ~0.999-1.001 and for
>>>> sample.milliseconds we get ~1000.002 or such where pmval/pmrep report
>>>> ~1.000.
>>> [...]
>
> This is because the pmfg layer does not presume that second/second is
> the appropriate rate-conversion target for any sort of time rate. It
> will rate-convert automatically via a "/second" denominator only, so
> in the default case the output value would be in "milliseconds/second".
> That explains exactly the 1000 number.
>
> Note that pmval.c lines 221-224 performs the second/second numerator
> conversion heuristic in the application, as does the previous pmrep.py
> (line 1261...). You could bring that logic forward into the new pmfg
> pmrep, or change the testsuite to accept the different-but-correct
> ms/s-scaled numbers.
I think I've sorted out the above but I've got one related question, is
this still expected based on your explanation above or something else?
$ pmval -s 5 -t 2 -z -U qa/archives/20130706 -i sdb disk.dev.avactive
Note: timezone set to local timezone of host "billing02" from archive
metric: disk.dev.avactive
archive: /tmp/pcp/var/lib/pcp/testsuite/archives/20130706
host: billing02
start: Sat Jul 6 00:17:01 2013
end: Sun Jul 7 00:15:43 2013
semantics: cumulative counter (converting to rate)
units: millisec (converting to time utilization)
samples: 5
08:44:01.548 Archive logging suspended
sdb
08:58:23.115 No values available
08:59:23.113 5.590E-02
09:00:23.112 8.877E-02
09:01:23.110 0.1752
09:02:23.108 5.422E-02
$ cat /tmp/testpmfg.py
#!/usr/bin/env python
from pcp import pmapi
import cpmapi as c_api
pmfg = pmapi.fetchgroup(c_api.PM_CONTEXT_ARCHIVE, "qa/archives/20130706")
scale0 = pmfg.extend_item("disk.dev.avactive", mtype=c_api.PM_TYPE_DOUBLE, scale=None, instance="sdb")
scale1 = pmfg.extend_item("disk.dev.avactive", mtype=c_api.PM_TYPE_DOUBLE, scale="microsec/s", instance="sdb")
scale2 = pmfg.extend_item("disk.dev.avactive", mtype=c_api.PM_TYPE_DOUBLE, scale="millisec/s", instance="sdb")
scale3 = pmfg.extend_item("disk.dev.avactive", mtype=c_api.PM_TYPE_DOUBLE, scale="sec/s", instance="sdb")
pmfg.fetch()
for _ in range(0, 5):
pmfg.fetch()
print ("Value:\t%.6f" % scale0())
print ("Value:\t%.6f" % scale1())
print ("Value:\t%.6f" % scale2())
print ("Value:\t%.6f" % scale3())
$ python3 /tmp/testpmfg.py
Value: 55.901528
Value: 55901.527975
Value: 55.901528
Value: 0.055902
Value: 88.769056
Value: 88769.056034
Value: 88.769056
Value: 0.088769
Value: 175.189301
Value: 175189.301449
Value: 175.189301
Value: 0.175189
Value: 54.218071
Value: 54218.070915
Value: 54.218071
Value: 0.054218
Value: 71.018635
Value: 71018.635067
Value: 71.018635
Value: 0.071019
$
So pmval(1) describes units as "millisec (converting to time utilization)"
which does not correspond to "millisec/s" but to "sec/s" scale value for
pmfg. Since the value disk.dev.avactive shows for how many millisecods
there was active I/O for any device, e.g., 175 looks more expected than
0.175. Is the only confusion on this end or is pmval(1) perhaps a bit
misleading here?
Thanks,
--
Marko Myllynen
From brolley@redhat.com Fri Jul 8 09:35:22 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 3C01B7CC9
for ; Fri, 8 Jul 2016 09:35:22 -0500 (CDT)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay2.corp.sgi.com (Postfix) with ESMTP id F1BB2304048
for ; Fri, 8 Jul 2016 07:35:21 -0700 (PDT)
X-ASG-Debug-ID: 1467988514-04bdf074b76b5f60001-S8gJnT
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id Yoo2ErVDE0aGoK4n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 08 Jul 2016 07:35:14 -0700 (PDT)
X-Barracuda-Envelope-From: brolley@redhat.com
X-Barracuda-Effective-Source-IP: mx1.redhat.com[209.132.183.28]
X-Barracuda-Apparent-Source-IP: 209.132.183.28
X-ASG-Whitelist: Client
Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.redhat.com (Postfix) with ESMTPS id 4E40E804E7
for ; Fri, 8 Jul 2016 14:35:14 +0000 (UTC)
Received: from [10.10.52.148] (unused [10.10.52.148] (may be forged))
by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u68EZDER024934
for ; Fri, 8 Jul 2016 10:35:14 -0400
Message-ID: <577FBABE.1020507@redhat.com>
Date: Fri, 08 Jul 2016 10:37:50 -0400
From: Dave Brolley
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: PCP Mailing List
Subject: PCP Updates: Kenj: qa + pmcd client connection
Content-Type: text/plain; charset=utf-8; format=flowed
X-ASG-Orig-Subj: PCP Updates: Kenj: qa + pmcd client connection
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Fri, 08 Jul 2016 14:35:14 +0000 (UTC)
X-Barracuda-Connect: mx1.redhat.com[209.132.183.28]
X-Barracuda-Start-Time: 1467988514
X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384
X-Barracuda-URL: https://192.48.157.11:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 2812
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
Changes committed to git://git.pcp.io/pcp master
Ken McDonell (6):
qa/1108: add extra diagnostics
qa/admin/pcp-daily: add some more tests to run for one of the
FreeBSD hosts
src/pmlogger/pmnewlog.sh: improve checking
src/pmcd/src/client.c: small change to new client connection logic
qa/119: stop pmmgr at the beginning and restart at the end
src/pmlogger/pmnewlog.sh: fix typo in last commit
qa/1108 | 3 +++
qa/119 | 7 +++++++
qa/admin/pcp-daily | 12 +++++++++---
src/pmcd/src/client.c | 20 +++++++++++++-------
src/pmlogger/pmnewlog.sh | 16 +++++++++++++++-
5 files changed, 47 insertions(+), 11 deletions(-)
Details ...
commit b002ddb7f2e2d7aa3814f321a3eff5d27502da55
Author: Ken McDonell
Date: Fri Jul 8 16:27:42 2016 +1000
src/pmlogger/pmnewlog.sh: fix typo in last commit
commit 194af2bcc605bc477407bdfba1bac0fe255e8b83
Author: Ken McDonell
Date: Fri Jul 8 16:26:22 2016 +1000
qa/119: stop pmmgr at the beginning and restart at the end
pmlogger processes from pmmgr that may, or may not, be there were
making this test non-deterministic.
commit cd6a6b97672d29f6cde37ff717ee9fe1a20298ab
Author: Ken McDonell
Date: Fri Jul 8 10:07:46 2016 +1000
src/pmcd/src/client.c: small change to new client connection logic
In AcceptNewClient(), ECONNABORTED is a (sort of) expected result
from __pmAccept() ... at least it has been seen in QA on FreeBSD
platforms.
Also in the same area, if the error from __pmAccept() is not
expected we should just drop the client connection, not terminate
pmcd as was previously the case.
commit 58bf69753faeeb4109e6a0cbd9098ec3c41e909f
Author: Ken McDonell
Date: Fri Jul 8 09:34:57 2016 +1000
src/pmlogger/pmnewlog.sh: improve checking
pmnewlog is supposed to restart _exactly_ one pmlogger process.
If it find more than one "target" processes it should report and quit.
This situation is most unlikely in production environments but has
been seen in QA, with some earlier test probably causing qa/1108 to
fail as a result ... this change should caue qa/1108 to fail with
more useful error messages.
commit 548e435c44c71b27d3d3a0029aef7c94441f88e0
Author: Ken McDonell
Date: Fri Jul 8 09:34:22 2016 +1000
qa/admin/pcp-daily: add some more tests to run for one of the
FreeBSD hosts
commit 44b0b1e427807388b71adb0d76e990f1a4bffd38
Author: Ken McDonell
Date: Fri Jul 8 09:33:53 2016 +1000
qa/1108: add extra diagnostics
From fche@redhat.com Fri Jul 8 10:24:58 2016
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 0331B7CD2
for ; Fri, 8 Jul 2016 10:24:58 -0500 (CDT)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay2.corp.sgi.com (Postfix) with ESMTP id C9846304039
for ; Fri, 8 Jul 2016 08:24:54 -0700 (PDT)
X-ASG-Debug-ID: 1467991490-04cbb0273580b7e0001-S8gJnT
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id z4jFlYE2mEmYR3dJ (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 08 Jul 2016 08:24:50 -0700 (PDT)
X-Barracuda-Envelope-From: fche@redhat.com
X-Barracuda-Effective-Source-IP: mx1.redhat.com[209.132.183.28]
X-Barracuda-Apparent-Source-IP: 209.132.183.28
X-ASG-Whitelist: Client
Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.redhat.com (Postfix) with ESMTPS id EB3C37F342
for ; Fri, 8 Jul 2016 15:24:49 +0000 (UTC)
Received: from fche.csb (unused [10.10.52.236] (may be forged))
by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u68FOnZm007979;
Fri, 8 Jul 2016 11:24:49 -0400
Received: by fche.csb (Postfix, from userid 2569)
id 5A249584B4; Fri, 8 Jul 2016 11:24:52 -0400 (EDT)
Date: Fri, 8 Jul 2016 11:24:52 -0400
From: "Frank Ch. Eigler"
To: Marko Myllynen