From goodwinos@gmail.com Thu Oct 1 02:40:41 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n917eemA077675 for ; Thu, 1 Oct 2009 02:40:41 -0500 X-ASG-Debug-ID: 1254382922-08ca00110000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mx1.redhat.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id B171DBB9B13; Thu, 1 Oct 2009 00:42:02 -0700 (PDT) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id GCG49LfzFNVejWhX; Thu, 01 Oct 2009 00:42:02 -0700 (PDT) Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n917fwQX010851; Thu, 1 Oct 2009 03:41:58 -0400 Received: from [10.64.176.217] (dhcp-176-217.mel.redhat.com [10.64.176.217]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n917fuJw029864; Thu, 1 Oct 2009 03:41:57 -0400 Message-ID: <4AC45D44.1050904@gmail.com> Date: Thu, 01 Oct 2009 17:41:56 +1000 From: Mark Goodwin User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: kenj@internode.on.net CC: Martin Hicks , pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] Dynamic PMNS changes finally arrive Subject: Re: [pcp] Dynamic PMNS changes finally arrive References: <1254034250.4466.12.camel@bozo-laptop.localdomain> <4AC14301.204@gmail.com> <20090929133936.GT10563@alcatraz.americas.sgi.com> <1254260619.12546.12.camel@bozo> In-Reply-To: <1254260619.12546.12.camel@bozo> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.17 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1254382923 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.10502 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Ken McDonell wrote: > On Tue, 2009-09-29 at 08:39 -0500, Martin Hicks wrote: > ... >> How much of the cluster PMDA must be done now? >> >> I suspect that we *must* at least update the duplicated data structures >> with the larger domain bit width. I think the optional part would be to >> also start using the new dynamic namespace stuff... > > Unless the cluster PMDA is assigned a domain number > 255 (seems > unlikely at this stage), it "should just work" (tm) ... the low-order 30 > bits of a pmID and pmInDom are unchanged with the PMDA_INTERFACE_4 round > of changes. OK, that's easy enough to test, when I get a tick. I think I can smell a new QA test cooking ;-) > > Now you may _want_ to make changes to the cluster PMDA but I'm not sure > they are necessary before declaring 3.0 ready to go ... ok, we can do that, depending on the results of the test > indeed one could > argue that 3.0 should happen first then the PMDA_INTERFACE_4 changes are > merged ready for a 3.1 release. > I'm still running QA, it's awfully slow in a VM. For the sake of relieving the constipation, I'll push all of this to the dev branch tomorrow - my stuff first (3.0.0), then with Ken's tree merged in too (3.0.1). Cheers -- Mark From mailman-bounces@oss.sgi.com Thu Oct 1 05:07:34 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=ALL_TRUSTED,BAYES_00, J_CHICKENPOX_25 autolearn=no version=3.3.0-rupdated Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n91A1Zum086611 for ; Thu, 1 Oct 2009 05:01:35 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: oss.sgi.com mailing list memberships reminder From: mailman-owner@oss.sgi.com To: pcp@oss.sgi.com X-No-Archive: yes Message-ID: Date: Thu, 01 Oct 2009 05:00:30 -0500 Precedence: bulk X-BeenThere: mailman@oss.sgi.com X-Mailman-Version: 2.1.11 List-Id: Mailman mail X-List-Administrivia: yes Sender: mailman-bounces@oss.sgi.com Errors-To: mailman-bounces@oss.sgi.com This is a reminder, sent out once a month, about your oss.sgi.com mailing list memberships. It includes your subscription info and how to use it to change it or unsubscribe from a list. You can visit the URLs to change your membership status or configuration, including unsubscribing, setting digest-style delivery or disabling delivery altogether (e.g., for a vacation), and so on. In addition to the URL interfaces, you can also use email to make such changes. For more info, send a message to the '-request' address of the list (for example, mailman-request@oss.sgi.com) containing just the word 'help' in the message body, and an email message will be sent to you with instructions. If you have questions, problems, comments, etc, send them to mailman-owner@oss.sgi.com. Thanks! Passwords for pcp@oss.sgi.com: List Password // URL ---- -------- pcp-announce@oss.sgi.com xE+IBctR http://oss.sgi.com/mailman/options/pcp-announce/pcp%40oss.sgi.com From kenj@internode.on.net Thu Oct 1 23:18:44 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n924Ih7s141798 for ; Thu, 1 Oct 2009 23:18:44 -0500 X-ASG-Debug-ID: 1254457204-777003a10000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id E481B499DB3 for ; Thu, 1 Oct 2009 21:20:05 -0700 (PDT) Received: from mail.internode.on.net (bld-mail14.adl6.internode.on.net [150.101.137.99]) by cuda.sgi.com with ESMTP id clAzv96X6fbESyPg for ; Thu, 01 Oct 2009 21:20:05 -0700 (PDT) Received: from [124.185.132.79] (unverified [124.185.132.79]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 6130020-1927428 for ; Fri, 02 Oct 2009 13:50:02 +0930 (CST) X-ASG-Orig-Subj: A few trivial changes for dynamic subtrees of the PMNS Subject: A few trivial changes for dynamic subtrees of the PMNS From: Ken McDonell Reply-To: kenj@internode.on.net To: pcp@oss.sgi.com Content-Type: text/plain Date: Fri, 02 Oct 2009 14:20:18 +1000 Message-Id: <1254457218.13137.8.camel@bozo-laptop.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail14.adl6.internode.on.net[150.101.137.99] X-Barracuda-Start-Time: 1254457206 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.10585 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean A couple of minor things I cleaned up ... Changes committed to git://oss.sgi.com/kenj/pcp.git master man/man1/dbpmda.1 | 72 +++++++++++++++++++++++++++++++++++++++++ src/libpcp_pmda/src/mainloop.c | 11 ------ 2 files changed, 73 insertions(+), 10 deletions(-) commit e29e5c373f4dadce551c64f9ae616c3a8870c823 Author: Ken McDonell Date: Fri Oct 2 14:08:56 2009 +1000 libpcp_pmda, dbpmda Minor additions for dynamic subtrees in the PMNS In libpcp_pmda the wrong error was being returned if an attempt was made to translate a dynamic metric name to a PMID, and the PMDA is NOT using PMDA_INTERFACE_4 (very low chance of this happening). And the additional documentation for dbpmda to describe the new commands to exercise the services a PMDA needs to provide to play in the dynamic subtrees of the PMNS (this was just forgotten in the "final" checkin for these changes). commit a8a2626aa86cf0ec4d03ac761a7cc960af26b2df Author: Ken McDonell Date: Thu Oct 1 15:32:33 2009 +1000 libpcp_pmda remove dead code Call to pmLoadNameSpace() is not needed at was guarded by #if 0. Removed code block to reduce confusion. From goodwinos@gmail.com Thu Oct 1 23:48:19 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n924mInj143454 for ; Thu, 1 Oct 2009 23:48:18 -0500 X-ASG-Debug-ID: 1254458979-51de00590000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mx1.redhat.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 2ED0F49A19B for ; Thu, 1 Oct 2009 21:49:39 -0700 (PDT) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id bm800GHvJq81dTGS for ; Thu, 01 Oct 2009 21:49:39 -0700 (PDT) Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n924nYro014443; Fri, 2 Oct 2009 00:49:34 -0400 Received: from [10.11.11.202] (vpn-11-202.rdu.redhat.com [10.11.11.202]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n924nVKm007784; Fri, 2 Oct 2009 00:49:33 -0400 Message-ID: <4AC5865A.20401@gmail.com> Date: Fri, 02 Oct 2009 14:49:30 +1000 From: Mark Goodwin User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: kenj@internode.on.net CC: pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] A few trivial changes for dynamic subtrees of the PMNS Subject: Re: [pcp] A few trivial changes for dynamic subtrees of the PMNS References: <1254457218.13137.8.camel@bozo-laptop.localdomain> In-Reply-To: <1254457218.13137.8.camel@bozo-laptop.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1254458980 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.10585 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean OK I just pulled that in too, for 3.0.1-1 and am now about to push this all out to the dev branch, along with a qa report. [mgoodwin@fletch pcp-kenj]$ git pull remote: Counting objects: 23, done. remote: Compressing objects: 100% (15/15), done. remote: Total 15 (delta 13), reused 0 (delta 0) Unpacking objects: 100% (15/15), done. From git://oss.sgi.com/kenj/pcp 4d16113..e29e5c3 master -> origin/master Updating 4d16113..e29e5c3 Fast forward man/man1/dbpmda.1 | 72 ++++++++++++++++++++++++++++++++++++++++ src/libpcp_pmda/src/mainloop.c | 11 +----- 2 files changed, 73 insertions(+), 10 deletions(-) Ken McDonell wrote: > A couple of minor things I cleaned up ... > > Changes committed to git://oss.sgi.com/kenj/pcp.git master > > man/man1/dbpmda.1 | 72 +++++++++++++++++++++++++++++++++++++++++ > src/libpcp_pmda/src/mainloop.c | 11 ------ > 2 files changed, 73 insertions(+), 10 deletions(-) > > commit e29e5c373f4dadce551c64f9ae616c3a8870c823 > Author: Ken McDonell > Date: Fri Oct 2 14:08:56 2009 +1000 > > libpcp_pmda, dbpmda Minor additions for dynamic subtrees in the PMNS > > In libpcp_pmda the wrong error was being returned if an attempt was > made to translate a dynamic metric name to a PMID, and the PMDA is NOT > using PMDA_INTERFACE_4 (very low chance of this happening). > > And the additional documentation for dbpmda to describe the new commands > to exercise the services a PMDA needs to provide to play in the dynamic > subtrees of the PMNS (this was just forgotten in the "final" checkin > for these changes). > > commit a8a2626aa86cf0ec4d03ac761a7cc960af26b2df > Author: Ken McDonell > Date: Thu Oct 1 15:32:33 2009 +1000 > > libpcp_pmda remove dead code > > Call to pmLoadNameSpace() is not needed at was guarded by #if 0. > Removed code block to reduce confusion. > > > > _______________________________________________ > pcp mailing list > pcp@oss.sgi.com > http://oss.sgi.com/mailman/listinfo/pcp From nscott@aconex.com Mon Oct 5 00:54:51 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n955soDl174634 for ; Mon, 5 Oct 2009 00:54:51 -0500 X-ASG-Debug-ID: 1254722173-1738014f0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 8F6951731E2B for ; Sun, 4 Oct 2009 22:56:14 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id RM267aCfdGF1VZ3z for ; Sun, 04 Oct 2009 22:56:14 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam & Virus Firewall) with ESMTP id 30D944BF301 for ; Mon, 5 Oct 2009 16:56:11 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id 7EhJvpn4Iof3O5iG for ; Mon, 05 Oct 2009 16:56:11 +1100 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id C249EA50283 for ; Mon, 5 Oct 2009 16:54:52 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 036754FD85 for ; Mon, 5 Oct 2009 16:56:11 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hXzLWLzhlGw3 for ; Mon, 5 Oct 2009 16:56:07 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 256E54FD84 for ; Mon, 5 Oct 2009 16:56:07 +1100 (EST) Date: Mon, 5 Oct 2009 16:56:06 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1764487313.30871254722166919.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp udpates Subject: pcp udpates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.18_GA_3011.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.18_GA_3011.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1254722175 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M, INFO_TLD X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.10872 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 INFO_TLD URI: Contains an URL in the INFO top-level domain 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcp.git build/GNUmakefile | 2 build/slack/README | 29 ++++++++++++ build/slack/pcp.SlackBuild | 105 ++++++++++++++++++++++++++++++++++++++++++++ build/slack/pcp.info | 10 ++++ build/slack/slack-desc | 19 +++++++ configure.in | 10 ---- src/pmcd/src/config.c | 25 ++++++---- src/pmdas/linux/pmda.c | 4 + src/pmdas/process/process.c | 12 ++--- 9 files changed, 191 insertions(+), 25 deletions(-) commit d6336a14df11b87d70dac562a3d0c9b298cfa518 Author: Roman Revyakin Date: Mon Oct 5 16:48:16 2009 +1100 Initial packaging work for the Slackware Linux distribution. commit f4622a57efc447928d0e0b905650cc563ba2f5ba Author: Nathan Scott Date: Mon Oct 5 16:40:08 2009 +1100 Descend into aix/sun build dirs to generate src tarball correctly on those platforms. commit 305423698c90804850f5bc72fdb82c33f9feecd2 Author: Nathan Scott Date: Mon Oct 5 16:38:08 2009 +1100 Ensure no linux builds ever go down the HAVE_ST_MTIME_WITH_E path. Its never the right thing to do with glibc. This resolves the long- standing build problem on Linux Alpha, which has horrendous macros in its /usr/include/bits/stat.h which ultimately end up with anonymous unions and multiple definitions of st_mtim(e) from our configure.in POV. Also, FreeBSD builds have been fixed, by making the conditional logic in pmcd and pmdas/process match that used in libpcp/src/pmns.c rather than a different combination of cpp macros. No longer need special case logic for FreeBSD in the configure script for stat fields. commit 2944bc109cc82ad35b5eb245e5005f2bb6dabe6a Author: Nathan Scott Date: Thu Oct 1 12:17:02 2009 +1000 Fix up kernel.uname.distro reporting for Debian too. commit ee572b121d57b1ed0ba5e3e85acbd84e47a40f9b Author: Nathan Scott Date: Thu Oct 1 12:12:40 2009 +1000 Add slackware version check for kernel.uname.distro. From goodwinos@gmail.com Mon Oct 5 06:21:40 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,J_CHICKENPOX_73 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n95BLeCf196817 for ; Mon, 5 Oct 2009 06:21:40 -0500 X-ASG-Debug-ID: 1254741782-4b2d02720000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail7.tpgi.com.au (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 695E3BC7D90 for ; Mon, 5 Oct 2009 04:23:02 -0700 (PDT) Received: from mail7.tpgi.com.au (mail7.tpgi.com.au [203.12.160.103]) by cuda.sgi.com with ESMTP id 4vhEUGLuGGcbqlXw for ; Mon, 05 Oct 2009 04:23:02 -0700 (PDT) X-TPG-Junk-Checked: Yes X-TPG-Junk-Status: Message not scanned because user authenticated using SMTP AUTH X-TPG-Antivirus: Passed X-TPG-Abuse: host=60-240-229-86-vic-pppoe.tpgi.com.au; ip=60.240.229.86; date=Mon, 5 Oct 2009 22:23:00 +1100; auth=ZDYVz3+B2QatCrP2C+pCyeqQYNuF+Yyc7r6u7dBY1Sc= Received: from [192.168.1.3] (60-240-229-86-vic-pppoe.tpgi.com.au [60.240.229.86]) (authenticated bits=0) by mail7.tpgi.com.au (envelope-from goodwinos@gmail.com) (8.14.3/8.14.3) with ESMTP id n95BMqbB010905 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 5 Oct 2009 22:23:00 +1100 Message-ID: <4AC9D70C.704@gmail.com> Date: Mon, 05 Oct 2009 22:22:52 +1100 From: Mark Goodwin User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: pcp@oss.sgi.com CC: mgoodwin@redhat.com X-ASG-Orig-Subj: pcp 3.0.0-7 pushed up to 'dev' branch Subject: pcp 3.0.0-7 pushed up to 'dev' branch Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Barracuda-Connect: mail7.tpgi.com.au[203.12.160.103] X-Barracuda-Start-Time: 1254741784 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.10893 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Changes committed to git://oss.sgi.com/pcp/pcp.git dev This is in the 'dev' branch only ('master' is still 2.9.3). See CHANGELOG for details : - remaining changes for Fedora conformance and rpmlint - merged Ken's PMDA_INTERFACE4 and dynamic PMNS - integrated perl-PCP RPM packages into the build - merged Nathan's debian changelog bump to 3.0 - VERSION.pcp now at 3.0.0-7 Still TODO for 3.0 - - debian / ubuntu build is broken in the perl packaging - RPM packaging broken for perl-PCP-LogSummary - merge Nathan's slackware packaging updates and have_mtime fixes for the alpha platform - check the cluster PMDA still works - some minor remaining rpmlint cleanups - more qa Cheers -- Mark From goodwinos@gmail.com Mon Oct 5 18:24:06 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n95NO6n1246529 for ; Mon, 5 Oct 2009 18:24:06 -0500 X-ASG-Debug-ID: 1254785130-03ca03030000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mx1.redhat.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 1131C4A3F1C for ; Mon, 5 Oct 2009 16:25:30 -0700 (PDT) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id LpS902ucFHKRyMIM for ; Mon, 05 Oct 2009 16:25:30 -0700 (PDT) Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n95NPUmo022620 for ; Mon, 5 Oct 2009 19:25:30 -0400 Received: from [10.64.176.217] (dhcp-176-217.mel.redhat.com [10.64.176.217]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n95NPSDi028917; Mon, 5 Oct 2009 19:25:29 -0400 Message-ID: <4ACA8068.9070300@gmail.com> Date: Tue, 06 Oct 2009 10:25:28 +1100 From: Mark Goodwin User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: pcp@oss.sgi.com CC: mgoodwin@redhat.com X-ASG-Orig-Subj: pcp updates to git://oss.sgi.com/pcp/pcp.git dev Subject: pcp updates to git://oss.sgi.com/pcp/pcp.git dev Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.21 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1254785132 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.10942 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Changes committed to git://oss.sgi.com/pcp/pcp.git dev Fix the debian build and merge Ken's follow-up patch (see commit a8a2626aa86cf0ec4d03ac761a7cc960af26b2df below). commit b13b90970cf4eb81449263b30f879cac1ca6e8e0 Author: Mark Goodwin Date: Tue Oct 6 10:04:46 2009 +1100 Fix the Debian build. The "packlist" for cpan modules is only needed for non-debian packaging (i.e. RPM). Debian uses a different mechanism and packages directly from the staged install tree. src/cpan/LogSummary/GNUmakefile | 2 ++ src/cpan/MMV/GNUmakefile | 2 ++ src/cpan/PMDA/GNUmakefile | 2 ++ Signed-off-by: Mark Goodwin commit 51775bc3e8546f5e791ce27394c1a11e36a84081 Merge: 708e397... e29e5c3... Author: Mark Goodwin Date: Tue Oct 6 09:49:37 2009 +1100 Merge branch 'master' of /home/mgoodwin/src/pcp-kenj into dev commit a8a2626aa86cf0ec4d03ac761a7cc960af26b2df Author: Ken McDonell Date: Thu Oct 1 15:32:33 2009 +1000 libpcp_pmda remove dead code Call to pmLoadNameSpace() is not needed at was guarded by #if 0. Removed code block to reduce confusion. From nscott@aconex.com Mon Oct 5 18:26:11 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n95NQAFg246693 for ; Mon, 5 Oct 2009 18:26:11 -0500 X-ASG-Debug-ID: 1254785253-2e8402750000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id F276ABD2CA0 for ; Mon, 5 Oct 2009 16:27:34 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id ywFaCBJe2h7wzpgT for ; Mon, 05 Oct 2009 16:27:34 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam & Virus Firewall) with ESMTP id A472468371A for ; Tue, 6 Oct 2009 10:27:32 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id 83cLBF8VTNkxLfQA for ; Tue, 06 Oct 2009 10:27:32 +1100 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id E4CD7A50133 for ; Tue, 6 Oct 2009 10:26:13 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 88EF34FD86 for ; Tue, 6 Oct 2009 10:27:32 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s7axfkfr5obQ; Tue, 6 Oct 2009 10:27:28 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id E3E414FD85; Tue, 6 Oct 2009 10:27:28 +1100 (EST) Date: Tue, 6 Oct 2009 10:27:28 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Cc: Roman Revyakin Message-ID: <1458635375.1101254785248736.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp updates Subject: pcp updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.18_GA_3011.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.18_GA_3011.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1254785255 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M, INFO_TLD X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.10941 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 INFO_TLD URI: Contains an URL in the INFO top-level domain 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcp.git build/GNUmakefile | 13 +++-- build/slack/GNUmakefile | 47 +++++++++++++++++- build/slack/pcp.SlackBuild | 105 ---------------------------------------- build/slack/pcp.SlackBuild.in | 108 +++++++++++++++++++++++++++++++++++++++++- build/slack/pcp.info | 10 --- build/slack/pcp.info.in | 12 ++++ build/tar/GNUmakefile | 2 configure.in | 7 ++ src/include/builddefs.in | 1 9 files changed, 181 insertions(+), 124 deletions(-) commit ef924a7f09e52067d75a54e10b2dd8d4625328d7 Author: Roman Revyakin Date: Tue Oct 6 10:19:58 2009 +1100 Corrrect location of include files for Slackware builds. commit 2bf825427ec2c963e65eede3d25fbd6cbfb3ab05 Author: Nathan Scott Date: Tue Oct 6 10:18:01 2009 +1100 Automate source md5sum calculation for Slackware packaging. commit bd9dc64fcef0d650c724b269f2c908eefdb44358 Author: Nathan Scott Date: Mon Oct 5 20:23:29 2009 +1100 Automate some of the Slackware package generation steps. From kenj@internode.on.net Mon Oct 5 22:55:33 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n963tWnG009964 for ; Mon, 5 Oct 2009 22:55:32 -0500 X-ASG-Debug-ID: 1254801415-3f1e03a90000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 70057BD43CF for ; Mon, 5 Oct 2009 20:56:55 -0700 (PDT) Received: from mail.internode.on.net (bld-mail18.adl2.internode.on.net [150.101.137.103]) by cuda.sgi.com with ESMTP id eCje8t4v9dpjo6XC for ; Mon, 05 Oct 2009 20:56:55 -0700 (PDT) Received: from [192.168.1.100] (unverified [118.208.169.2]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 6226258-1927428 for ; Tue, 06 Oct 2009 14:26:53 +1030 (CDT) X-ASG-Orig-Subj: pcpqa updates Subject: pcpqa updates From: Ken McDonell Reply-To: kenj@internode.on.net To: pcp@oss.sgi.com Content-Type: text/plain Date: Tue, 06 Oct 2009 14:56:35 +1100 Message-Id: <1254801395.25333.22.camel@bozo> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail18.adl2.internode.on.net[150.101.137.103] X-Barracuda-Start-Time: 1254801417 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.10959 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean These changes get us very close to passing qa with the 3.0.0-7 release candidate. Changes committed to git://oss.sgi.com/pcp/pcpqa.git 255 | 2 +- 255.out.1 | 32 ++++++++++++++++---------------- 255.out.2 | 32 ++++++++++++++++---------------- 255.out.3 | 32 ++++++++++++++++---------------- 578 | 2 +- 578.out | 8 ++++---- 628 | 1 - src-oss/.gitignore | 1 + 8 files changed, 55 insertions(+), 55 deletions(-) commit fefd1d34d5df703afce3c29491602ab2bcf73d15 Author: Ken McDonell Date: Tue Oct 6 14:33:03 2009 +1100 src-oss/killparent binary is not part of git tree commit 72116505fe3cb59f9cc539c7be38735c2cfed298 Author: Ken McDonell Date: Tue Oct 6 14:31:31 2009 +1100 628 Fix error in last merge Both Nathan and I made the same change, but not in the same place ... tryingto mv the same file twice is never going to work ... 8^)>628 Fix error in last merge commit 4e6b63c7305d00f59c66fc0340336ea5099eb85f Author: Ken McDonell Date: Tue Oct 6 14:28:48 2009 +1100 255,578 Handle non-determinism in PMNS ordering for simple PMDA Via perl installation procedures, the order of names in the PMNS is not deterministic ... adjust QA tests to handle this. From nscott@aconex.com Tue Oct 6 00:49:21 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n965nKVx023259 for ; Tue, 6 Oct 2009 00:49:21 -0500 X-ASG-Debug-ID: 1254808244-437f026e0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id EE74D4A4AF2 for ; Mon, 5 Oct 2009 22:50:44 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id T7g52hbBeUDNdqJQ for ; Mon, 05 Oct 2009 22:50:44 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam & Virus Firewall) with ESMTP id CF24D75BAF6; Tue, 6 Oct 2009 16:50:42 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id vFoERwhykOTvWHDr; Tue, 06 Oct 2009 16:50:42 +1100 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 04CFEA50283; Tue, 6 Oct 2009 16:49:24 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id BDE664FDDD; Tue, 6 Oct 2009 16:50:42 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lR3B3YefyBOT; Tue, 6 Oct 2009 16:50:38 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 023B84FDD7; Tue, 6 Oct 2009 16:50:38 +1100 (EST) Date: Tue, 6 Oct 2009 16:50:37 +1100 (EST) From: Nathan Scott To: kenj Cc: pcp@oss.sgi.com Message-ID: <735432216.16151254808237905.JavaMail.root@mail-au.aconex.com> In-Reply-To: <1433182526.16101254807992385.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: [patch] strndup is a GNU-ism, needs replacing Subject: [patch] strndup is a GNU-ism, needs replacing MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1055_1716292960.1254808237903" X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.18_GA_3011.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.18_GA_3011.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1254808245 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.10968 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ------=_Part_1055_1716292960.1254808237903 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hi Ken, You've used strndup() in a couple of places, but that routine is only available via glibc (AFAIK). So the pcp dev build fails on Windows at the moment, and likely also on Mac OS X, Solaris, FreeBSD, AIX, etc. The attached patch is something like what we'll need (Windows build passes with this) - do you want to commit something like this - the string length and NULL termination points need checking, this is just a quick hack to see if this is all we need to get a Win32 build going again. thanks! -- Nathan ------=_Part_1055_1716292960.1254808237903 Content-Type: application/octet-stream; name=patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=patch diff --git a/src/libpcp/src/pmns.c b/src/libpcp/src/pmns.c index 8c38487..01c657b 100644 --- a/src/libpcp/src/pmns.c +++ b/src/libpcp/src/pmns.c @@ -1762,12 +1762,13 @@ pmLookupName(int numpmid, char *namelist[], pmID pmidlist[]) char *pfx; int pfx_len; pfx_len = p - namelist[i]; - pfx = strndup(namelist[i], pfx_len+1); + pfx = (char *)malloc(pfx_len+1); if (pfx == NULL) { /* not sure this is recoverable ... */ sts = -errno; break; } + strncpy(pfx, namelist[i], pfx_len); pfx[pfx_len] = '\0'; np = locate(pfx, curr_pmns->root); free(pfx); diff --git a/src/pmdas/sample/src/sample.c b/src/pmdas/sample/src/sample.c index e90d450..efd83bd 100644 --- a/src/pmdas/sample/src/sample.c +++ b/src/pmdas/sample/src/sample.c @@ -1261,10 +1261,12 @@ sample_children(char *name, int traverse, char ***offspring, int **status, pmdaE * descendents only ... just want the next component of * PMNS name */ - if ((chn[nmatch-1] = strndup(&q[namelen+1], tlen)) == NULL) { + if ((chn[nmatch-1] = (char *)malloc(tlen+1)) == NULL) { /* TODO cleanup */ return -errno; } + strncpy(chn[nmatch-1], &q[namelen+1], tlen); + chn[nmatch-1][tlen] = '\0'; if (*qend == '.') sts[nmatch-1] = PMNS_NONLEAF_STATUS; else ------=_Part_1055_1716292960.1254808237903-- From nscott@aconex.com Tue Oct 6 14:03:00 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n96J30FJ085696 for ; Tue, 6 Oct 2009 14:03:00 -0500 X-ASG-Debug-ID: 1254855864-074801a80000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 8132B4A761C for ; Tue, 6 Oct 2009 12:04:25 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id pnwkON3jLtxaGvqM for ; Tue, 06 Oct 2009 12:04:25 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam & Virus Firewall) with ESMTP id 771294CB754; Wed, 7 Oct 2009 06:04:23 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id kswqKz5q5lpTb35P; Wed, 07 Oct 2009 06:04:23 +1100 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 527F5A50133; Wed, 7 Oct 2009 06:03:04 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 59A11C7A7F; Wed, 7 Oct 2009 06:04:23 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W+YK4fh4bSOH; Wed, 7 Oct 2009 06:04:18 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id A067EC7A6F; Wed, 7 Oct 2009 06:04:18 +1100 (EST) Date: Wed, 7 Oct 2009 06:04:18 +1100 (EST) From: Nathan Scott To: mgoodwin Cc: pcp Message-ID: <1130644005.21591254855858603.JavaMail.root@mail-au.aconex.com> In-Reply-To: <1856781336.21551254855715480.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: Mac OS X build failure in PCP::PMDA Subject: Mac OS X build failure in PCP::PMDA MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [211.28.150.226] X-Mailer: Zimbra 5.0.18_GA_3011.RHEL5_64 (ZimbraWebClient - SAF3 (Mac)/5.0.18_GA_3011.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1254855866 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.11018 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Hi Mark, I'm hitting this on Mac OS X in a top of tree dev branch build... find $DIST_ROOT -name .packlist -exec mv '{}' ../../../perl-pcp-pmda.list ';' sed -e s@$DIST_ROOT@@ -e 's/\.[0-9]pm$/&.gz/' -i ../../../perl-pcp-pmda.list sed: -i may not be used with stdin make[4]: *** [install] Error 1 make[3]: *** [install] Error 2 make[2]: *** [install_pcp] Error 2 make[1]: *** [install_pcp] Error 2 make: *** [pack_pcp] Error 2 Doesn't really make sense to me, since its not being asked to use stdin. Oh, wait, there's the problem - on Mac (and I assume *BSD) the -i option has a mandatory argument (while with GNU tools it seems its optional). Something like this works on Mac: sed -e s@$DIST_ROOT@@ -e 's/\.[0-9]pm$/&.gz/' -itmp ../../../perl-pcp-pmda.list With that and the strndup change, builds & packaging look OK on Mac & Windows. cheers. -- Nathan From kenj@internode.on.net Tue Oct 6 18:14:32 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n96NEUbY120875 for ; Tue, 6 Oct 2009 18:14:31 -0500 X-ASG-Debug-ID: 1254870954-461d01e80000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 26A8C1325EEB for ; Tue, 6 Oct 2009 16:15:55 -0700 (PDT) Received: from mail.internode.on.net (bld-mail14.adl6.internode.on.net [150.101.137.99]) by cuda.sgi.com with ESMTP id AvmqLBP7pozMJqh4 for ; Tue, 06 Oct 2009 16:15:55 -0700 (PDT) Received: from [192.168.1.100] (unverified [118.208.169.2]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 6359567-1927428 for ; Wed, 07 Oct 2009 09:45:53 +1030 (CDT) X-ASG-Orig-Subj: pcp updates Subject: pcp updates From: Ken McDonell Reply-To: kenj@internode.on.net To: pcp@oss.sgi.com Content-Type: text/plain Date: Wed, 07 Oct 2009 10:15:34 +1100 Message-Id: <1254870934.10516.0.camel@bozo> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail14.adl6.internode.on.net[150.101.137.99] X-Barracuda-Start-Time: 1254870957 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.11035 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Changes committed to git://oss.sgi.com/kenj/pcp.git dev src/libpcp/src/pmns.c | 3 +- src/pmdas/sample/src/sample.c | 46 +++++++++++++++++++++++++++++------------- 2 files changed, 34 insertions(+), 15 deletions(-) commit c9fc69ead098ace0172acbbe4e9853b6229f1846 Author: Ken McDonell Date: Wed Oct 7 10:09:02 2009 +1100 pmns.c, sample.c remove strndup(), clean up TODOs Applied Nathan's patch to remove strndup() usage. Also fixed and removed residual TODO items in sample.c from dynamic PMNS changes. From goodwinos@gmail.com Tue Oct 6 19:42:54 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n970gsLu144607 for ; Tue, 6 Oct 2009 19:42:54 -0500 X-ASG-Debug-ID: 1254876259-265301900000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mx1.redhat.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 787E74A8C4C for ; Tue, 6 Oct 2009 17:44:19 -0700 (PDT) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id ERCjlZ8QmvBewbAq for ; Tue, 06 Oct 2009 17:44:19 -0700 (PDT) Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n970iIAN012237 for ; Tue, 6 Oct 2009 20:44:18 -0400 Received: from [10.11.8.96] (vpn-8-96.rdu.redhat.com [10.11.8.96]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n970iG0s023051; Tue, 6 Oct 2009 20:44:17 -0400 Message-ID: <4ACBE45E.2070302@gmail.com> Date: Wed, 07 Oct 2009 11:44:14 +1100 From: Mark Goodwin User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: pcp@oss.sgi.com CC: mgoodwin@redhat.com X-ASG-Orig-Subj: pcp updates Subject: pcp updates Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1254876260 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.11040 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Changes committed to git://oss.sgi.com/pcp/pcp.git dev commit a37df06e234d745918aa00cfa09163cff19a936e Merge: 4a6f0d0... c9fc69e... Author: Mark Goodwin Date: Wed Oct 7 11:38:21 2009 +1100 Merge branch 'dev' of git://oss.sgi.com/kenj/pcp into dev commit 4a6f0d0ccf14fd54c8b768f50df5b70e968393d3 Author: Mark Goodwin Date: Wed Oct 7 10:12:41 2009 +1100 Fix build for platforms that insist on an argument to sed -i. modified: GNUmakefile modified: src/cpan/LogSummary/GNUmakefile modified: src/cpan/MMV/GNUmakefile modified: src/cpan/PMDA/GNUmakefile Signed-off-by: Mark Goodwin GNUmakefile | 2 +- src/cpan/LogSummary/GNUmakefile | 2 +- src/cpan/MMV/GNUmakefile | 2 +- src/cpan/PMDA/GNUmakefile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit c9fc69ead098ace0172acbbe4e9853b6229f1846 Author: Ken McDonell Date: Wed Oct 7 10:09:02 2009 +1100 pmns.c, sample.c remove strndup(), clean up TODOs Applied Nathan's patch to remove strndup() usage. Also fixed and removed residual TODO items in sample.c from dynamic PMNS changes. src/libpcp/src/pmns.c | 3 +- src/pmdas/sample/src/sample.c | 46 ++++++++++++++++++++++++++++------------ 2 files changed, 34 insertions(+), 15 deletions(-) From nscott@aconex.com Tue Oct 6 23:12:09 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_48 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n974C8wU159079 for ; Tue, 6 Oct 2009 23:12:09 -0500 X-ASG-Debug-ID: 1254888813-609501fc0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 1BB9D4A925D for ; Tue, 6 Oct 2009 21:13:34 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id SBKcBhCesSs5FqKR for ; Tue, 06 Oct 2009 21:13:34 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam & Virus Firewall) with ESMTP id 3D70875E70B for ; Wed, 7 Oct 2009 15:13:33 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id sCAJmF33ISyL9DgF for ; Wed, 07 Oct 2009 15:13:33 +1100 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id A4D45A5023B for ; Wed, 7 Oct 2009 15:12:13 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id E8E684FD86 for ; Wed, 7 Oct 2009 15:13:32 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 93lLfeScIOax for ; Wed, 7 Oct 2009 15:13:29 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 26DE64FD85 for ; Wed, 7 Oct 2009 15:13:29 +1100 (EST) Date: Wed, 7 Oct 2009 15:13:28 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <2018463478.8391254888808863.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp updates Subject: pcp updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.18_GA_3011.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.18_GA_3011.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1254888815 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.11054 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Status: Clean Changes committed to git://oss.sgi.com/pcp/pcp.git CHANGELOG | 4 +++- configure.in | 3 ++- src/include/platform_defs.h.in | 2 +- src/pmdas/pmcd/src/pmcd.c | 20 +++++++++++++++++--- src/pmdas/windows/instance.c | 2 +- src/pmdas/windows/open.c | 9 +++------ 6 files changed, 27 insertions(+), 13 deletions(-) commit 88b17eaba44dca99c62c7311a3a6fbad3804fdf3 Author: Nathan Scott Date: Wed Oct 7 15:05:09 2009 +1100 Update changelog for pmcd.timezone fix. commit e8f924df72beea21b84f4781ab01a45044af7bbd Author: Nathan Scott Date: Wed Oct 7 15:02:46 2009 +1100 Fix pmcd.timezone value so it updates with daylight savings. The root of the problem is that __pmTimezone writes the value of TZ that it returns into the environment as well, causing subsequent callers to always find the value of the first call instead of querying the system for the current timezone. Fix is to clear TZ setting before calling __pmTimezone, which demonstrably fixes the problem. Note some platforms (Windows) do not have unsetenv() so a suitable fallback is used in that situation. commit 7a70d4e7de80765cdef3a229e8f352e975381cf3 Author: Nathan Scott Date: Wed Oct 7 14:57:33 2009 +1100 Ensure we do not pass regular (short help) text as PDH regex. There's a couple of Windows PMDA metrics which define short help text themselves now - I noticed these can sometimes be incorrectly passed to the PDH API interfaces. Ensure we do not do that, as its never going to work and spams pmcd.log. commit f8770c33efa2912539ecb34b0daf40c5dde8cec5 Author: Nathan Scott Date: Wed Oct 7 14:54:24 2009 +1100 Add slackware distro type into the set of distros configure.in groks. From goodwinos@gmail.com Wed Oct 7 05:01:46 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n97A1kxo182757 for ; Wed, 7 Oct 2009 05:01:46 -0500 X-ASG-Debug-ID: 1254909790-20c500fd0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mx1.redhat.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 3919B1BF42B9 for ; Wed, 7 Oct 2009 03:03:11 -0700 (PDT) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id gkmxsoDfFx3hW7yZ for ; Wed, 07 Oct 2009 03:03:11 -0700 (PDT) Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n97A3Axu003896 for ; Wed, 7 Oct 2009 06:03:10 -0400 Received: from [10.11.8.96] (vpn-8-96.rdu.redhat.com [10.11.8.96]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n97A38to013856 for ; Wed, 7 Oct 2009 06:03:09 -0400 Message-ID: <4ACC675A.4050707@gmail.com> Date: Wed, 07 Oct 2009 21:03:06 +1100 From: Mark Goodwin User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: pcp@oss.sgi.com X-ASG-Orig-Subj: pcp updates Subject: pcp updates Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1254909792 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0001 1.0000 -2.0203 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.11078 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Changes committed to git://oss.sgi.com/pcp/pcp.git dev commit b6fc2985ab4daefb9ae11ee57d90a321e449aa7a Author: Mark Goodwin Date: Wed Oct 7 20:54:42 2009 +1100 More Fedora conformance and rpmlint tweaks. Don't use the %makeinstall macro in the Fedora spec since it's frowned upon. Don't ship zero length files; use standard 0755 mode for shared libs. modified: build/rpm/pcp_fedora.spec modified: src/cpan/LogSummary/GNUmakefile modified: src/cpan/MMV/GNUmakefile modified: src/cpan/PMDA/GNUmakefile Signed-off-by: Mark Goodwin build/rpm/pcp_fedora.spec | 2 +- src/cpan/LogSummary/GNUmakefile | 3 ++- src/cpan/MMV/GNUmakefile | 4 +++- src/cpan/PMDA/GNUmakefile | 4 +++- 4 files changed, 9 insertions(+), 4 deletions(-) From goodwinos@gmail.com Wed Oct 7 22:09:56 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_73 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9839upl231463 for ; Wed, 7 Oct 2009 22:09:56 -0500 X-ASG-Debug-ID: 1254971481-340102250000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mx1.redhat.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id F1E144ADA6A; Wed, 7 Oct 2009 20:11:21 -0700 (PDT) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id DXOF16auZAPBtavU; Wed, 07 Oct 2009 20:11:21 -0700 (PDT) Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n983BEDg030180; Wed, 7 Oct 2009 23:11:14 -0400 Received: from [10.11.8.114] (vpn-8-114.rdu.redhat.com [10.11.8.114]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n983B9R2019238; Wed, 7 Oct 2009 23:11:11 -0400 Message-ID: <4ACD584C.9010804@gmail.com> Date: Thu, 08 Oct 2009 14:11:08 +1100 From: Mark Goodwin User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: pcp@oss.sgi.com CC: Nathan Scott , Ken McDonell , mgoodwin@redhat.com, Martin Hicks X-ASG-Orig-Subj: pcp updates - 3.0.0-8 release candidate Subject: pcp updates - 3.0.0-8 release candidate Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.21 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1254971482 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.11145 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Changes committed to git://oss.sgi.com/pcp/pcp.git dev commit 688f4954d14659d1ce57b60584d3402c7011a53c Author: Mark Goodwin Date: Thu Oct 8 14:05:27 2009 +1100 Bump to 3.0.0-8 as 3.0 release candidate. modified: CHANGELOG modified: VERSION.pcp modified: build/rpm/pcp_fedora.spec Signed-off-by: Mark Goodwin CHANGELOG | 1 + VERSION.pcp | 2 +- build/rpm/pcp_fedora.spec | 12 +++++------- 3 files changed, 7 insertions(+), 8 deletions(-) commit 1e0b11fe9bd5076203200ffdad38e067e2f4102a Author: Mark Goodwin Date: Thu Oct 8 13:54:47 2009 +1100 Remove RPM packaging for perl-PCP-LogSummary. The perl-PCP-LogSummary packaging has problems with MakeMaker. The src is still shipped and it's still included in the Debian packages. modified: CHANGELOG modified: build/rpm/pcp.spec.in modified: build/rpm/pcp_fedora.spec modified: src/cpan/LogSummary/GNUmakefile Signed-off-by: Mark Goodwin From makc@iinet.net.au Wed Oct 7 23:12:08 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n984C7KL235495 for ; Wed, 7 Oct 2009 23:12:07 -0500 X-ASG-Debug-ID: 1254975209-5d9c00870000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from outbound.icp-qv1-irony-out4.iinet.net.au (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id A46A41BF4965 for ; Wed, 7 Oct 2009 21:13:31 -0700 (PDT) Received: from outbound.icp-qv1-irony-out4.iinet.net.au (outbound.icp-qv1-irony-out4.iinet.net.au [203.59.1.104]) by cuda.sgi.com with ESMTP id ZFcwjDKJCnpuyUjb for ; Wed, 07 Oct 2009 21:13:31 -0700 (PDT) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAOYDzUrL2Rwk/2dsb2JhbADYM4QqBIFW X-IronPort-AV: E=Sophos;i="4.44,523,1249228800"; d="scan'208";a="471730953" Received: from unknown (HELO alma.crabbed.net) ([203.217.28.36]) by outbound.icp-qv1-irony-out4.iinet.net.au with ESMTP; 08 Oct 2009 12:13:28 +0800 Received: by alma.crabbed.net (Postfix, from userid 501) id C264F3BEA6C; Thu, 8 Oct 2009 15:13:11 +1100 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19149.26327.739438.847084@iinet.net.au> Date: Thu, 8 Oct 2009 15:13:11 +1100 From: Max Matveev To: pcp@oss.sgi.com X-ASG-Orig-Subj: pcp updates Subject: pcp updates X-Mailer: VM 7.17 under 21.4 (patch 19) "Constant Variable" XEmacs Lucid X-Barracuda-Connect: outbound.icp-qv1-irony-out4.iinet.net.au[203.59.1.104] X-Barracuda-Start-Time: 1254975213 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.32 X-Barracuda-Spam-Status: No, SCORE=-1.32 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M, BSF_SC0_SA148d X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.11149 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.20 BSF_SC0_SA148d Custom Rule SA148d 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean I've got a few changes in the solaris branch of my repository (pull request at the end of the message). Some of them are required to build 3.0.0 on Solaris, others are fixing old bugs introduced before 3.0.0 - feel free to mix'n'match. max The following changes since commit b6fc2985ab4daefb9ae11ee57d90a321e449aa7a: Mark Goodwin (1): More Fedora conformance and rpmlint tweaks. are available in the git repository at: git://oss.sgi.com/makc/pcp solaris Max Matveev (6): Increase table sizes for dbpmda's lexer Explicitly mark bitfield sign in pmUnits. Treat UDP overflows as counter Deal with default lex on Solaris Don't change pointer types of pmCtime's arguments Pass information about compiler into Perl PMDA makefiles. src/cpan/MMV/GNUmakefile | 4 ++-- src/cpan/MMV/Makefile.PL | 2 ++ src/cpan/PMDA/GNUmakefile | 4 ++-- src/cpan/PMDA/Makefile.PL | 2 ++ src/dbpmda/src/lex.l | 2 ++ src/include/platform_defs.h.in | 3 --- src/include/pmapi.h | 28 ++++++++++++++-------------- src/pmclient/pmclient.c | 2 +- src/pmdas/solaris/netmib2.c | 1 + src/pmdumplog/pmdumplog.c | 6 +++--- src/pmlogextract/lex.l | 6 ++---- src/pmlogger/lex.l | 6 ++---- src/pmloglabel/pmloglabel.c | 5 +++-- src/pmlogsummary/pmlogcheck.c | 6 +++--- src/pmlogsummary/pmlogsummary.c | 6 +++--- src/pmval/pmval.c | 12 +++++------- 16 files changed, 47 insertions(+), 48 deletions(-) commit b99d6acc97d0545361f36d94e3e0cf3e69e14e4a Author: Max Matveev Date: Thu Oct 8 14:56:00 2009 +1100 Pass information about compiler into Perl PMDA makefiles. Make sure that compiler used to build the rest of the code is also used for building shared object for the Perl PMDAs - default choice of using 'cc' is not enough on platforms which support more the one ABI. commit d61b6ce738c91cfd46395407fcfd109789961617 Author: Max Matveev Date: Thu Oct 8 14:37:36 2009 +1100 Don't change pointer types of pmCtime's arguments On 64 bit Linux and Solaris platforms time_t is 64 bit integer, __pmTimeval assumes that time is 32 bit integer, the code was too liberal in passing pointers to the later into function which was expecting former. On at least one occasion this was causing segmentation violations in pmCtime when localtime(3) refused to deal with rubbish in the upper bytes of the 64 bit integer. commit e52821753b23b902a63225812f682dfda4bc060c Author: Max Matveev Date: Thu Oct 8 12:54:52 2009 +1100 Deal with default lex on Solaris Default lex on Solaris is derived from the old AT&T lex - unconditionally defining FLEX_SCANNER hides this fact and breaks custom input routine for dbpmda. Besides, using defintions which are automatically generated by tools as part of platform_defs is not something which friends should let friends do. commit 0782dda37c047e3c24bcab8d9798bedf7713773c Author: Max Matveev Date: Sun Oct 4 16:29:29 2009 +1100 Treat UDP overflows as counter network.udp.overflows is exported as counter from the kernel, do not treat is as rate - it scares Vinnie. commit 1c5cb90d01921ced4a44a6267611ed595d8c5016 Author: Max Matveev Date: Sun Oct 4 16:22:59 2009 +1100 Explicitly mark bitfield sign in pmUnits. SunStudio compiler treats bitfields marked as unadorned 'int' as unsigned (C99 standard leaves this area undefined) which means that dimTime of -1 becomes dimTime == 15. Marking the bitfields as 'signed' removes this ambiguity. pmUnits is the only bitfield which uses negative values. commit f1348ed0d10fe4bc3fdb304de6d8c6bb9de3549a Author: Max Matveev Date: Sun Oct 4 16:21:11 2009 +1100 Increase table sizes for dbpmda's lexer Changes to support new dynamic PMNS calls blew the limit on the number of transitions in old AT&T lex. From makc@iinet.net.au Wed Oct 7 23:17:05 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n984H5w7235802 for ; Wed, 7 Oct 2009 23:17:05 -0500 X-ASG-Debug-ID: 1254975510-5da600950000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from outbound.icp-qv1-irony-out2.iinet.net.au (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id F0C0C175AEB4 for ; Wed, 7 Oct 2009 21:18:30 -0700 (PDT) Received: from outbound.icp-qv1-irony-out2.iinet.net.au (outbound.icp-qv1-irony-out2.iinet.net.au [203.59.1.107]) by cuda.sgi.com with ESMTP id 82V8MC0jh1vLVfPA for ; Wed, 07 Oct 2009 21:18:30 -0700 (PDT) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAJsEzUrL2Rwk/2dsb2JhbADYK4QqBA X-IronPort-AV: E=Sophos;i="4.44,523,1249228800"; d="scan'208";a="569220582" Received: from unknown (HELO alma.crabbed.net) ([203.217.28.36]) by outbound.icp-qv1-irony-out2.iinet.net.au with ESMTP; 08 Oct 2009 12:18:25 +0800 Received: by alma.crabbed.net (Postfix, from userid 501) id CC9023BEA75; Thu, 8 Oct 2009 15:18:08 +1100 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19149.26624.537686.474313@iinet.net.au> Date: Thu, 8 Oct 2009 15:18:08 +1100 From: Max Matveev To: Nathan Scott Cc: pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] Building PERL PMDAs on Solaris Subject: Re: [pcp] Building PERL PMDAs on Solaris In-Reply-To: <1172878631.4421253588582478.JavaMail.root@mail-au.aconex.com> References: <19127.19461.625461.331046@iinet.net.au> <1172878631.4421253588582478.JavaMail.root@mail-au.aconex.com> X-Mailer: VM 7.17 under 21.4 (patch 19) "Constant Variable" XEmacs Lucid X-Barracuda-Connect: outbound.icp-qv1-irony-out2.iinet.net.au[203.59.1.107] X-Barracuda-Start-Time: 1254975511 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.11149 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Tue, 22 Sep 2009 13:03:02 +1000 (EST), Nathan Scott wrote: nscott> ----- "Max Matveev" wrote: >> I'm having problems with building Perl PMDAs on Solaris: the defaults >> which MakeMaker picks do not agree with what I've got - for example, >> I'm building with compiler set in 64 bit mode but Perl part of the >> build does not pick that setting and as a result fails to create >> DSOs. >> >> I'm thinking about applying the following changes to the Makefile.PL >> ... nscott> That should be fine, I think, though be even better if it handled both nscott> cases (with & without $CC set). If CC is not set then Makefile.PL then WriteMakefile() deals with empty arguments in the hash by using defaults - I've tried it with and without. >> export PCP_TOPDIR=`pwd`/$(TOPDIR); \ >> - perl Makefile.PL $(MAKEMAKER_OPTIONS) >> + CC="$(CC)" perl Makefile.PL $(MAKEMAKER_OPTIONS) nscott> Can you do an export on a separate line (like TOPDIR), for readability nscott> if/when more env vars needed? I'm not exporting, I'm adding CC to the perl's environment. I can change it to use export if that's easier to the eye but I prefer to have it on one line because it's a sigle shell "command". max From nscott@aconex.com Thu Oct 8 00:11:57 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n985BuVZ241310 for ; Thu, 8 Oct 2009 00:11:56 -0500 X-ASG-Debug-ID: 1254978801-76c1001e0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 5CAFF4ADC82 for ; Wed, 7 Oct 2009 22:13:22 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id qBjLU6sihlV6ObkU for ; Wed, 07 Oct 2009 22:13:22 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam & Virus Firewall) with ESMTP id EF78C4D6760; Thu, 8 Oct 2009 16:13:19 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id NOgAETI3wR4oSOXf; Thu, 08 Oct 2009 16:13:19 +1100 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 1164FA500A6; Thu, 8 Oct 2009 16:12:00 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id D74A44FD85; Thu, 8 Oct 2009 16:13:19 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XcLmnLO1f0p8; Thu, 8 Oct 2009 16:13:15 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id A30864FD86; Thu, 8 Oct 2009 16:13:15 +1100 (EST) Date: Thu, 8 Oct 2009 16:13:14 +1100 (EST) From: Nathan Scott To: Max Matveev Cc: pcp@oss.sgi.com Message-ID: <1535118565.2421254978794201.JavaMail.root@mail-au.aconex.com> In-Reply-To: <19149.26624.537686.474313@iinet.net.au> X-ASG-Orig-Subj: Re: [pcp] Building PERL PMDAs on Solaris Subject: Re: [pcp] Building PERL PMDAs on Solaris MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.18_GA_3011.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.18_GA_3011.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1254978803 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.11153 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Max Matveev" wrote: > On Tue, 22 Sep 2009 13:03:02 +1000 (EST), Nathan Scott wrote: > > nscott> That should be fine, I think, though be even better if it > handled both > nscott> cases (with & without $CC set). > > If CC is not set then Makefile.PL then WriteMakefile() deals with > empty arguments in the hash by using defaults - I've tried it with > and without. OK. > >> export PCP_TOPDIR=`pwd`/$(TOPDIR); \ > >> - perl Makefile.PL $(MAKEMAKER_OPTIONS) > >> + CC="$(CC)" perl Makefile.PL $(MAKEMAKER_OPTIONS) > > nscott> Can you do an export on a separate line (like TOPDIR), for > readability > nscott> if/when more env vars needed? > I'm not exporting, I'm adding CC to the perl's environment. I can > change it to use export if that's easier to the eye but I prefer to > have it on one line because it's a sigle shell "command". Then the line before should be consistent...? Whatever, doesn't really matter in the end... just go with what you've got. cheers. -- Nathan From nscott@aconex.com Thu Oct 8 17:25:09 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n98MP8cc033629 for ; Thu, 8 Oct 2009 17:25:08 -0500 X-ASG-Debug-ID: 1255040793-12bd02270000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 56C1EBEC2C2 for ; Thu, 8 Oct 2009 15:26:33 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id Xk2GbqnNSRbqHfRR for ; Thu, 08 Oct 2009 15:26:33 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam & Virus Firewall) with ESMTP id 3BE5683CC53; Fri, 9 Oct 2009 09:26:32 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id yy4bIoNrizQWMsgU; Fri, 09 Oct 2009 09:26:32 +1100 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id E40CDA5023B; Fri, 9 Oct 2009 09:25:11 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 227964FD82; Fri, 9 Oct 2009 09:26:32 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rvHS98ObC7Xu; Fri, 9 Oct 2009 09:26:27 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 620F44FD86; Fri, 9 Oct 2009 09:26:27 +1100 (EST) Date: Fri, 9 Oct 2009 09:26:27 +1100 (EST) From: Nathan Scott To: Max Matveev Cc: pcp@oss.sgi.com Message-ID: <489404631.5291255040787305.JavaMail.root@mail-au.aconex.com> In-Reply-To: <19149.26327.739438.847084@iinet.net.au> X-ASG-Orig-Subj: Re: [pcp] pcp updates Subject: Re: [pcp] pcp updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.18_GA_3011.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.18_GA_3011.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1255040795 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.11221 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Hey Max, ----- "Max Matveev" wrote: > I've got a few changes in the solaris branch of my repository (pull > request at the end of the message). Some of them are required to > build > 3.0.0 on Solaris, others are fixing old bugs introduced before 3.0.0 > - > feel free to mix'n'match. Are there any of these that you think are critical for 3.0 Max? We have run a fair bit of QA on the current bits & deployed them to quite a few test machines here, so unless there is something pressing hiding in here, I'm thinking we should off for a 3.0.1 for these... is that OK? We could cherry-pick the changes to Solaris-specific files, but it seems like maybe its not worth it without the rest. > Max Matveev (6): > Increase table sizes for dbpmda's lexer > Explicitly mark bitfield sign in pmUnits. > Treat UDP overflows as counter > Deal with default lex on Solaris > Don't change pointer types of pmCtime's arguments This one has me nervous... was that observed on 64 bit Linux? And isn't it going to introduce new compiler warnings (maybe copying to interim variables of the right pointer type would make this all safer?) > Pass information about compiler into Perl PMDA makefiles. > cheers. -- Nathan From nscott@aconex.com Thu Oct 8 18:39:08 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n98Nd7QB036089 for ; Thu, 8 Oct 2009 18:39:07 -0500 X-ASG-Debug-ID: 1255045233-118e01530000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 44255BEECD9 for ; Thu, 8 Oct 2009 16:40:33 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id VesdqLpmzbmiuSAp for ; Thu, 08 Oct 2009 16:40:33 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam & Virus Firewall) with ESMTP id 247774D9B37; Fri, 9 Oct 2009 10:40:32 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id 1u7d3sWnYvUDqF3g; Fri, 09 Oct 2009 10:40:32 +1100 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id C0655A5023B; Fri, 9 Oct 2009 10:39:11 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 06AE04FD85; Fri, 9 Oct 2009 10:40:32 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5-+KZTUgrWnZ; Fri, 9 Oct 2009 10:40:30 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 4FC594FD82; Fri, 9 Oct 2009 10:40:30 +1100 (EST) Date: Fri, 9 Oct 2009 10:40:30 +1100 (EST) From: Nathan Scott To: kenj Cc: pcp@oss.sgi.com Message-ID: <1418464706.8421255045230212.JavaMail.root@mail-au.aconex.com> In-Reply-To: <20091008133344.59F4128D7C1@prod.aconex.com> X-ASG-Orig-Subj: Timezones and archive rotation Subject: Timezones and archive rotation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.18_GA_3011.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.18_GA_3011.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1255045234 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.11227 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Hi Ken, Probably you have a better handle on this stuff than me, so here's a couple of observations/questions on archive rotation. - should pmlogextract prefer the final archive in its choice of timezone, rather than the first? [ since daylight savings changes usually/always/sometimes (dunno what other geographies ae like, but I assume they're like .au?) happen early in the morning, and the "standard" (as per man pages) time for doing archive rotation and merging in just after midnight. ] - any thoughts on .0 (data) files being mysteriously removed? pretty sure there's nothing touching our production logs outside of pmlogger_check/daily ... something in there seems to be nuking (/not creating?) .0 files (though .meta & .index files exist - so I suspect its somehow being nuked. I've seen it a few times, out of the blue, randomly - haven't been able to see any pattern to it though. cheers. > pmlogextract: Warning: timezone mismatch for input archives > archive: 20091008.00.10 timezone: EST-10 [will be used] > archive: 20091008.15.15 timezone: EST-11 [will be ignored] > pmlogextract: Warning: timezone mismatch for input archives > archive: 20091008.00.10 timezone: EST-10 [will be used] > archive: 20091008.15.15 timezone: EST-11 [will be ignored] > pmlogextract: Warning: timezone mismatch for input archives > archive: 20091008.00.10 timezone: EST-10 [will be used] > archive: 20091008.07.00 timezone: EST-11 [will be ignored] > pmlogextract: Warning: timezone mismatch for input archives > archive: 20091008.00.10 timezone: EST-10 [will be used] > archive: 20091008.07.00 timezone: EST-11 [will be ignored] > pmlogextract: Warning: timezone mismatch for input archives > archive: 20091008.00.10 timezone: EST-10 [will be used] > archive: 20091008.07.00 timezone: EST-11 [will be ignored] > pmlogextract: Warning: timezone mismatch for input archives > archive: 20091008.00.10 timezone: EST-10 [will be used] > archive: 20091008.07.00 timezone: EST-11 [will be ignored] > pmlogextract: Warning: timezone mismatch for input archives > archive: 20091008.00.10 timezone: EST-10 [will be used] > archive: 20091008.07.00 timezone: EST-11 [will be ignored] > pmlogger_merge: Error: "volume 0" file missing for archive > "20091002.00.10" > pmlogger_merge: Error: "volume 0" file missing for archive > "20091002.05.45" > pmlogger_merge: Error: "volume 0" file missing for archive > "20091002.06.00" > pmlogger_merge: Error: "volume 0" file missing for archive > "20091002.13.15" > pmlogger_merge: These error(s) are fatal, no output archive has been > created. > pmlogger_daily: Error: problems executing pmlogger_merge for host > "db2" > [/var/lib/pcp/config/pmlogger/control:36] ... logging for host "db2" > unchanged > pmlogextract: Warning: timezone mismatch for input archives > archive: 20091008.00.10 timezone: EST-10 [will be used] > archive: 20091008.07.00 timezone: EST-11 [will be ignored] > pmlogextract: Warning: timezone mismatch for input archives > archive: 20091008.00.10 timezone: EST-10 [will be used] > archive: 20091008.07.00 timezone: EST-11 [will be ignored] > pmlogextract: Warning: timezone mismatch for input archives > archive: 20091008.00.10 timezone: EST-10 [will be used] > archive: 20091008.07.00 timezone: EST-11 [will be ignored] > pmlogextract: Warning: timezone mismatch for input archives > archive: 20091008.00.10 timezone: EST-10 [will be used] > archive: 20091008.06.50 timezone: EST-11 [will be ignored] > pmlogextract: Warning: timezone mismatch for input archives > archive: 20091008.00.10 timezone: EST-10 [will be used] > archive: 20091008.07.00 timezone: EST-11 [will be ignored] -- Nathan From goodwinos@gmail.com Thu Oct 8 18:56:36 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n98Nua9t036639 for ; Thu, 8 Oct 2009 18:56:36 -0500 X-ASG-Debug-ID: 1255046282-420a03250000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mx1.redhat.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id B1F0C4B1BC6 for ; Thu, 8 Oct 2009 16:58:02 -0700 (PDT) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id prSaam6G8B7jOWP8 for ; Thu, 08 Oct 2009 16:58:02 -0700 (PDT) Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n98Nvtm8015385; Thu, 8 Oct 2009 19:57:55 -0400 Received: from [10.64.176.217] (dhcp-176-217.mel.redhat.com [10.64.176.217]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n98NvrpB011409; Thu, 8 Oct 2009 19:57:54 -0400 Message-ID: <4ACE7C81.1090707@gmail.com> Date: Fri, 09 Oct 2009 10:57:53 +1100 From: Mark Goodwin User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Nathan Scott CC: Max Matveev , pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] pcp updates Subject: Re: [pcp] pcp updates References: <489404631.5291255040787305.JavaMail.root@mail-au.aconex.com> In-Reply-To: <489404631.5291255040787305.JavaMail.root@mail-au.aconex.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1255046283 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.11228 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Nathan Scott wrote: > Are there any of these that you think are critical for 3.0 Max? > We have run a fair bit of QA on the current bits & deployed them > to quite a few test machines here, so unless there is something > pressing hiding in here, I'm thinking we should off for a 3.0.1 > for these... is that OK? Yes, I'd agree - this has come in during "phase-R". But let's hear from Max. IMO we are ready to release 3.0. So merge 3.0.0-8 from dev to master and tag both branches. Any objections? Then we can bump dev to 3.0.1-1 and pull in Max's changes and start a new QA cycle. Cheers -- Mark From kenj@internode.on.net Thu Oct 8 20:28:50 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n991SmHO039197 for ; Thu, 8 Oct 2009 20:28:50 -0500 X-ASG-Debug-ID: 1255051541-690300940000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id B0A7A4B1E56 for ; Thu, 8 Oct 2009 18:25:42 -0700 (PDT) Received: from mail.internode.on.net (bld-mail19.adl2.internode.on.net [150.101.137.104]) by cuda.sgi.com with ESMTP id AAfSFrSUzT92z7HD for ; Thu, 08 Oct 2009 18:25:42 -0700 (PDT) Received: from [121.218.62.209] (unverified [121.218.62.209]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 6342382-1927428 for multiple; Fri, 09 Oct 2009 11:55:40 +1030 (CDT) X-ASG-Orig-Subj: Re: [pcp] pcp updates Subject: Re: [pcp] pcp updates From: Ken McDonell Reply-To: kenj@internode.on.net To: Mark Goodwin Cc: Nathan Scott , pcp@oss.sgi.com In-Reply-To: <4ACE7C81.1090707@gmail.com> References: <489404631.5291255040787305.JavaMail.root@mail-au.aconex.com> <4ACE7C81.1090707@gmail.com> Content-Type: text/plain Date: Fri, 09 Oct 2009 12:25:38 +1100 Message-Id: <1255051538.30001.20.camel@bozo-laptop.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail19.adl2.internode.on.net[150.101.137.104] X-Barracuda-Start-Time: 1255051543 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.11233 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean I agree. On Fri, 2009-10-09 at 10:57 +1100, Mark Goodwin wrote: > Nathan Scott wrote: > > Are there any of these that you think are critical for 3.0 Max? > > We have run a fair bit of QA on the current bits & deployed them > > to quite a few test machines here, so unless there is something > > pressing hiding in here, I'm thinking we should off for a 3.0.1 > > for these... is that OK? > > Yes, I'd agree - this has come in during "phase-R". But let's > hear from Max. > > IMO we are ready to release 3.0. So merge 3.0.0-8 from dev to > master and tag both branches. Any objections? > > Then we can bump dev to 3.0.1-1 and pull in Max's changes and > start a new QA cycle. > > Cheers > -- Mark > > > _______________________________________________ > pcp mailing list > pcp@oss.sgi.com > http://oss.sgi.com/mailman/listinfo/pcp From nscott@aconex.com Thu Oct 8 21:32:03 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n992W2Sg041393 for ; Thu, 8 Oct 2009 21:32:03 -0500 X-ASG-Debug-ID: 1255055608-0cba00bc0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 2FE251327341 for ; Thu, 8 Oct 2009 19:33:28 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id 9q5PGT4lSSHhXy6D for ; Thu, 08 Oct 2009 19:33:28 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam & Virus Firewall) with ESMTP id DADCB4DAE2A for ; Fri, 9 Oct 2009 13:33:26 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id fIm1CV3ppWmDlJil for ; Fri, 09 Oct 2009 13:33:26 +1100 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 87559A5023B for ; Fri, 9 Oct 2009 13:32:06 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id D20314FD86 for ; Fri, 9 Oct 2009 13:33:26 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9cddlkyCXILR for ; Fri, 9 Oct 2009 13:33:22 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 26E244FD85 for ; Fri, 9 Oct 2009 13:33:22 +1100 (EST) Date: Fri, 9 Oct 2009 13:33:22 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1854004513.14011255055602025.JavaMail.root@mail-au.aconex.com> In-Reply-To: <878505620.13991255055531491.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: Re: [pcp] pcp updates Subject: Re: [pcp] pcp updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.18_GA_3011.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.18_GA_3011.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1255055610 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.11236 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Ken McDonell" wrote: > I agree. > > On Fri, 2009-10-09 at 10:57 +1100, Mark Goodwin wrote: > > ... > > IMO we are ready to release 3.0. So merge 3.0.0-8 from dev to > > master and tag both branches. Any objections? OK, done - git tree is all merged and tagged, and I've started some binary builds to put on oss. Mark, do you want to do the Redhat rpm builds this time? (maybe RHEL5 and Fedora)? That would make some operations folk here happy - "official" Redhat binary builds! :-) cheers. -- Nathan From nscott@aconex.com Thu Oct 8 21:41:42 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_73 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n992fflU041790 for ; Thu, 8 Oct 2009 21:41:42 -0500 X-ASG-Debug-ID: 1255056187-3d5d02c70000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id F0F98176692A for ; Thu, 8 Oct 2009 19:43:07 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id TU0CwF1I5vIUNSOK for ; Thu, 08 Oct 2009 19:43:07 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam & Virus Firewall) with ESMTP id 56C29685C46 for ; Fri, 9 Oct 2009 13:43:06 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id G1J9HvbNn5xOz7xb for ; Fri, 09 Oct 2009 13:43:06 +1100 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id F343CA5023B for ; Fri, 9 Oct 2009 13:41:45 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 49B744FD85 for ; Fri, 9 Oct 2009 13:43:06 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BGVwW+-x43y6 for ; Fri, 9 Oct 2009 13:43:02 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 7ADCF4FD82 for ; Fri, 9 Oct 2009 13:43:02 +1100 (EST) Date: Fri, 9 Oct 2009 13:43:02 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <878945565.14311255056182408.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp updates (3.0.0) Subject: pcp updates (3.0.0) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.18_GA_3011.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.18_GA_3011.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1255056189 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.11237 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Status: Clean Changes committed to git://oss.sgi.com/pcp/pcp.git CHANGELOG | 4 ++-- VERSION.pcp | 2 +- configure.in | 9 +-------- debian/changelog | 2 +- src/include/builddefs.in | 3 +-- 5 files changed, 6 insertions(+), 14 deletions(-) commit 02cf7db3840de3c68d00e8470dc43a630fb1085a Author: Nathan Scott Date: Fri Oct 9 13:11:56 2009 +1100 Final version bump (build 9) for pcp-3.0.0. commit f3426d7aeb795f0b17370edce0e1419938c0b321 Author: Nathan Scott Date: Fri Oct 9 13:09:31 2009 +1100 Correct a typo in makepkg macro, remove unused gendist macro. From makc@iinet.net.au Thu Oct 8 22:21:11 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_21 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n993L9BM042997 for ; Thu, 8 Oct 2009 22:21:11 -0500 X-ASG-Debug-ID: 1255058555-0c8301660000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from outbound.icp-qv1-irony-out4.iinet.net.au (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 6E02E13272FE for ; Thu, 8 Oct 2009 20:22:35 -0700 (PDT) Received: from outbound.icp-qv1-irony-out4.iinet.net.au (outbound.icp-qv1-irony-out4.iinet.net.au [203.59.1.104]) by cuda.sgi.com with ESMTP id whcFaAshWuHPA94A for ; Thu, 08 Oct 2009 20:22:35 -0700 (PDT) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAK9JzkrL2Rwk/2dsb2JhbADaUoQqBA X-IronPort-AV: E=Sophos;i="4.44,529,1249228800"; d="scan'208";a="471974976" Received: from unknown (HELO alma.crabbed.net) ([203.217.28.36]) by outbound.icp-qv1-irony-out4.iinet.net.au with ESMTP; 09 Oct 2009 11:22:33 +0800 Received: by alma.crabbed.net (Postfix, from userid 501) id 9C1DE3BEDBE; Fri, 9 Oct 2009 14:22:14 +1100 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19150.44134.587682.503633@iinet.net.au> Date: Fri, 9 Oct 2009 14:22:14 +1100 From: Max Matveev To: Nathan Scott Cc: pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] pcp updates Subject: Re: [pcp] pcp updates In-Reply-To: <489404631.5291255040787305.JavaMail.root@mail-au.aconex.com> References: <19149.26327.739438.847084@iinet.net.au> <489404631.5291255040787305.JavaMail.root@mail-au.aconex.com> X-Mailer: VM 7.17 under 21.4 (patch 19) "Constant Variable" XEmacs Lucid X-Barracuda-Connect: outbound.icp-qv1-irony-out4.iinet.net.au[203.59.1.104] X-Barracuda-Start-Time: 1255058556 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.11240 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Fri, 9 Oct 2009 09:26:27 +1100 (EST), Nathan Scott wrote: nscott> Are there any of these that you think are critical for 3.0 Max? I'd argue all of 'em or none: * Increase table sizes for dbpmda's lexer 3.0.0 will simply not build on Solaris. * Explicitly mark bitfield sign in pmUnits. making pmUnits looks like seconds ^ 15 instead of 1/seconds unless compiled with GCC. * Treat UDP overflows as counter Solaris only and fixes my botch. * Deal with default lex on Solaris make lexers actually work on Solaris - dbpmda gets its prompt back * Don't change pointer types of pmCtime's arguments is all platforms but Solaris is affected more because it causes core dumps on Solaris (see below) nscott> We have run a fair bit of QA on the current bits & deployed them nscott> to quite a few test machines here, so unless there is something nscott> pressing hiding in here, I'm thinking we should off for a 3.0.1 nscott> for these... is that OK? As long as yerall understand that it means that 3.0.0 does not support Solaris. >> Don't change pointer types of pmCtime's arguments nscott> This one has me nervous... was that observed on 64 bit Linux? The code in tz.c is different between Solaris and Linux: on Solaris it calls localtime which returns struct tm with year waaaaay up in the future and that breaks asctime, on Linux asctime_r can deal with future, so instead of core dump you get year 9057 from pmloglabel: bozo:~/src/misc$ pmloglabel -l ~/tmp/eek Log Label (Log Format Version 2) Performance metrics from host sonya commencing Wed Aug 26 19:32:02.665 9057 ending Mon Sep 21 19:32:50.674 2009 bozo:~/src/misc$ uname -a Linux bozo 2.6.27-7-server #1 SMP Fri Oct 24 07:20:47 UTC 2008 x86_64 GNU/Linux nscott> And isn't it going to introduce new compiler warnings (maybe nscott> copying to interim variables of the right pointer type would nscott> make this all safer?) No new warnings - I've actually compiled this on Linux: in most cases pmCtime gets the right pointer, either from struct timeval or from the local variable of type time_t, the only place which was passing wrong one was in pmloglabel which I've changed to use local stack variable and just removed the cast - whoever added those casts in the first place assumed that time will forever remain 32 bit integer. max From nscott@aconex.com Thu Oct 8 22:44:27 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_21 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n993iREh043702 for ; Thu, 8 Oct 2009 22:44:27 -0500 X-ASG-Debug-ID: 1255059952-667b02040000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 678611B32973 for ; Thu, 8 Oct 2009 20:45:53 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id L4lU5H7kMXf9E3iu for ; Thu, 08 Oct 2009 20:45:53 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam & Virus Firewall) with ESMTP id 19EC775F7BE; Fri, 9 Oct 2009 14:45:52 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id KXYf1wF1iIxFHgBy; Fri, 09 Oct 2009 14:45:52 +1100 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 994FAA5023B; Fri, 9 Oct 2009 14:44:31 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id E4AE84FD85; Fri, 9 Oct 2009 14:45:51 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B0xUNRMuWyjb; Fri, 9 Oct 2009 14:45:47 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 368384FD88; Fri, 9 Oct 2009 14:45:47 +1100 (EST) Date: Fri, 9 Oct 2009 14:45:47 +1100 (EST) From: Nathan Scott To: Max Matveev Cc: pcp@oss.sgi.com Message-ID: <904004745.1151255059947024.JavaMail.root@mail-au.aconex.com> In-Reply-To: <1228319013.491255059509395.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: Re: [pcp] pcp updates Subject: Re: [pcp] pcp updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.18_GA_3011.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.18_GA_3011.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1255059954 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.11241 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Max Matveev" wrote: > On Fri, 9 Oct 2009 09:26:27 +1100 (EST), Nathan Scott wrote: > > nscott> Are there any of these that you think are critical for 3.0 > Max? > > I'd argue all of 'em or none: OK, good, the latter won. > nscott> for these... is that OK? > As long as yerall understand that it means that 3.0.0 does not > support Solaris. Its unfortunate, but hopefully next time we will be a bit more organised (I'll make sure Solaris build gets at least attempted earlier on for the major releases). Probably the next Windows release will be done from a 3.0.1 code base too; 2.9.3 was good for that platform, and there's likely to be one or two more things fallout from our recent production deploy before another release is done there. > >> Don't change pointer types of pmCtime's arguments > nscott> This one has me nervous... was that observed on 64 bit > Linux? > > The code in tz.c is different between Solaris and Linux: on Solaris > ... > No new warnings - I've actually compiled this on Linux: in most cases > pmCtime gets the right pointer, either from struct timeval or from > the > local variable of type time_t, the only place which was passing wrong > one was in pmloglabel which I've changed to use local stack variable > ... OK, make sense - thanks. cheers. -- Nathan From nscott@aconex.com Thu Oct 8 23:08:31 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_34 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9948VKG044625 for ; Thu, 8 Oct 2009 23:08:31 -0500 X-ASG-Debug-ID: 1255061396-6909031f0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id B82FD4B2347 for ; Thu, 8 Oct 2009 21:09:57 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id sAt4jgCc37qSgfcz for ; Thu, 08 Oct 2009 21:09:57 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam & Virus Firewall) with ESMTP id 0D7C868608A for ; Fri, 9 Oct 2009 15:09:56 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id PosQ9VV1AbRq5F8T for ; Fri, 09 Oct 2009 15:09:56 +1100 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id A674FA50283 for ; Fri, 9 Oct 2009 15:08:35 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id EE9E04FD88 for ; Fri, 9 Oct 2009 15:09:55 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5y38oSfqwpSL for ; Fri, 9 Oct 2009 15:09:52 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 3DB514FD86 for ; Fri, 9 Oct 2009 15:09:52 +1100 (EST) Date: Fri, 9 Oct 2009 15:09:52 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <324961413.2241255061391988.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp updates (dev) Subject: pcp updates (dev) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.18_GA_3011.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.18_GA_3011.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1255061398 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.11243 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcp.git src/cpan/MMV/GNUmakefile | 4 ++-- src/cpan/MMV/Makefile.PL | 2 ++ src/cpan/PMDA/GNUmakefile | 4 ++-- src/cpan/PMDA/Makefile.PL | 2 ++ src/dbpmda/src/lex.l | 2 ++ src/include/platform_defs.h.in | 3 --- src/include/pmapi.h | 28 ++++++++++++++-------------- src/pmclient/pmclient.c | 2 +- src/pmdas/solaris/netmib2.c | 1 + src/pmdas/windows/pmda.c | 1 + src/pmdumplog/pmdumplog.c | 6 +++--- src/pmlogextract/lex.l | 6 ++---- src/pmlogger/lex.l | 6 ++---- src/pmloglabel/pmloglabel.c | 5 +++-- src/pmlogsummary/pmlogcheck.c | 6 +++--- src/pmlogsummary/pmlogsummary.c | 6 +++--- src/pmval/pmval.c | 12 +++++------- 17 files changed, 48 insertions(+), 48 deletions(-) commit 1076eeb17961f6f852bee948017be7eb9c3e880c Merge: 31cd157 b99d6ac Author: Nathan Scott Date: Fri Oct 9 14:58:52 2009 +1100 Merge branch 'solaris' of git://oss.sgi.com/makc/pcp into dev commit 31cd15785aca72897cb9e380d633adb7db2b27ea Author: Nathan Scott Date: Fri Oct 9 14:58:30 2009 +1100 Add missing return statement causing incorrect mem.util on Win32. From kenj@internode.on.net Fri Oct 9 04:26:18 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n999QHvm057073 for ; Fri, 9 Oct 2009 04:26:18 -0500 X-ASG-Debug-ID: 1255080461-5fcb00e90000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 7E2791B998D4 for ; Fri, 9 Oct 2009 02:27:42 -0700 (PDT) Received: from mail.internode.on.net (bld-mail17.adl2.internode.on.net [150.101.137.102]) by cuda.sgi.com with ESMTP id sSy1nqO3HTaAQyLC for ; Fri, 09 Oct 2009 02:27:42 -0700 (PDT) Received: from [58.165.131.232] (unverified [58.165.131.232]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 6377924-1927428 for multiple; Fri, 09 Oct 2009 19:57:40 +1030 (CDT) X-ASG-Orig-Subj: Re: Timezones and archive rotation Subject: Re: Timezones and archive rotation From: Ken McDonell Reply-To: kenj@internode.on.net To: Nathan Scott Cc: pcp@oss.sgi.com In-Reply-To: <1418464706.8421255045230212.JavaMail.root@mail-au.aconex.com> References: <1418464706.8421255045230212.JavaMail.root@mail-au.aconex.com> Content-Type: text/plain Date: Fri, 09 Oct 2009 20:26:24 +1100 Message-Id: <1255080384.30001.34.camel@bozo-laptop.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail17.adl2.internode.on.net[150.101.137.102] X-Barracuda-Start-Time: 1255080464 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0001 1.0000 -2.0205 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.11265 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Fri, 2009-10-09 at 10:40 +1100, Nathan Scott wrote: > Hi Ken, > > Probably you have a better handle on this stuff than me, so > here's a couple of observations/questions on archive rotation. > > - should pmlogextract prefer the final archive in its choice > of timezone, rather than the first? [ since daylight savings > changes usually/always/sometimes (dunno what other geographies > ae like, but I assume they're like .au?) happen early in the > morning, and the "standard" (as per man pages) time for doing > archive rotation and merging in just after midnight. ] This is 100% no-win territory. It does not matter when you run the daily script, the run that spans a timezone change is sort of doomed ... if you use the timezone from the first archive the times are off _after_ the timezone change, if you use the timezone from the last archive the times are off _before_ the timezone change. I think the status quo is probably the best one could hope for and the warnings are legitimate. > - any thoughts on .0 (data) files being mysteriously removed? > pretty sure there's nothing touching our production logs > outside of pmlogger_check/daily ... something in there seems > to be nuking (/not creating?) .0 files (though .meta & .index > files exist - so I suspect its somehow being nuked. I've seen > it a few times, out of the blue, randomly - haven't been able > to see any pattern to it though. In the output below is this all contiguous from one run? If so, Oct 9 merging the previous day's archives complain about timezone changes ... but Oct 8/9 is not a timezone change day for Oz ... ??? Now the missing archive is from a previously unmerged set of archives from Oct 2 ... I have no explanation for this ... I can see how it might be possible to have a missing file from an archive that is exactly $CULLAFTER days old, but this does not match your observation. I'd suggest using -t 7 to keep the last week's worth of verbose logs to help diagnose this. > cheers. > > > pmlogextract: Warning: timezone mismatch for input archives > > archive: 20091008.00.10 timezone: EST-10 [will be used] > > archive: 20091008.15.15 timezone: EST-11 [will be ignored] > > pmlogextract: Warning: timezone mismatch for input archives > > archive: 20091008.00.10 timezone: EST-10 [will be used] > > archive: 20091008.15.15 timezone: EST-11 [will be ignored] > > pmlogextract: Warning: timezone mismatch for input archives > > archive: 20091008.00.10 timezone: EST-10 [will be used] > > archive: 20091008.07.00 timezone: EST-11 [will be ignored] > > pmlogextract: Warning: timezone mismatch for input archives > > archive: 20091008.00.10 timezone: EST-10 [will be used] > > archive: 20091008.07.00 timezone: EST-11 [will be ignored] > > pmlogextract: Warning: timezone mismatch for input archives > > archive: 20091008.00.10 timezone: EST-10 [will be used] > > archive: 20091008.07.00 timezone: EST-11 [will be ignored] > > pmlogextract: Warning: timezone mismatch for input archives > > archive: 20091008.00.10 timezone: EST-10 [will be used] > > archive: 20091008.07.00 timezone: EST-11 [will be ignored] > > pmlogextract: Warning: timezone mismatch for input archives > > archive: 20091008.00.10 timezone: EST-10 [will be used] > > archive: 20091008.07.00 timezone: EST-11 [will be ignored] > > pmlogger_merge: Error: "volume 0" file missing for archive > > "20091002.00.10" > > pmlogger_merge: Error: "volume 0" file missing for archive > > "20091002.05.45" > > pmlogger_merge: Error: "volume 0" file missing for archive > > "20091002.06.00" > > pmlogger_merge: Error: "volume 0" file missing for archive > > "20091002.13.15" > > pmlogger_merge: These error(s) are fatal, no output archive has been > > created. > > pmlogger_daily: Error: problems executing pmlogger_merge for host > > "db2" > > [/var/lib/pcp/config/pmlogger/control:36] ... logging for host "db2" > > unchanged > > pmlogextract: Warning: timezone mismatch for input archives > > archive: 20091008.00.10 timezone: EST-10 [will be used] > > archive: 20091008.07.00 timezone: EST-11 [will be ignored] > > pmlogextract: Warning: timezone mismatch for input archives > > archive: 20091008.00.10 timezone: EST-10 [will be used] > > archive: 20091008.07.00 timezone: EST-11 [will be ignored] > > pmlogextract: Warning: timezone mismatch for input archives > > archive: 20091008.00.10 timezone: EST-10 [will be used] > > archive: 20091008.07.00 timezone: EST-11 [will be ignored] > > pmlogextract: Warning: timezone mismatch for input archives > > archive: 20091008.00.10 timezone: EST-10 [will be used] > > archive: 20091008.06.50 timezone: EST-11 [will be ignored] > > pmlogextract: Warning: timezone mismatch for input archives > > archive: 20091008.00.10 timezone: EST-10 [will be used] > > archive: 20091008.07.00 timezone: EST-11 [will be ignored] > From nscott@aconex.com Sun Oct 11 20:08:23 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_14, J_CHICKENPOX_48 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9C18MWI008237 for ; Sun, 11 Oct 2009 20:08:23 -0500 X-ASG-Debug-ID: 1255309789-27df00d10000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 65C2CC01F55 for ; Sun, 11 Oct 2009 18:09:50 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id AMUJMuy4TIK06YAf for ; Sun, 11 Oct 2009 18:09:50 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam & Virus Firewall) with ESMTP id 7287483E629; Mon, 12 Oct 2009 12:09:46 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id qonGgsnP6RMHplfK; Mon, 12 Oct 2009 12:09:46 +1100 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 54644A5023B; Mon, 12 Oct 2009 12:08:24 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 326594FD8A; Mon, 12 Oct 2009 12:09:46 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ME6asmAqk9Tm; Mon, 12 Oct 2009 12:09:42 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id DA6334FD82; Mon, 12 Oct 2009 12:09:42 +1100 (EST) Date: Mon, 12 Oct 2009 12:09:42 +1100 (EST) From: Nathan Scott To: kenj@internode.on.net Cc: pcp@oss.sgi.com Message-ID: <986285191.1251255309782072.JavaMail.root@mail-au.aconex.com> In-Reply-To: <1480161420.401255309160945.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: Re: Timezones and archive rotation Subject: Re: Timezones and archive rotation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.18_GA_3011.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.18_GA_3011.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1255309791 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.11519 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Status: Clean ----- "Ken McDonell" wrote: > On Fri, 2009-10-09 at 10:40 +1100, Nathan Scott wrote: > > Hi Ken, > > > > Probably you have a better handle on this stuff than me, so > > here's a couple of observations/questions on archive rotation. > > > > - should pmlogextract prefer the final archive in its choice > > of timezone, rather than the first? [ since daylight savings > > changes usually/always/sometimes (dunno what other geographies > > ae like, but I assume they're like .au?) happen early in the > > morning, and the "standard" (as per man pages) time for doing > > archive rotation and merging in just after midnight. ] > > This is 100% no-win territory. It does not matter when you run the > daily script, the run that spans a timezone change is sort of doomed > ... > if you use the timezone from the first archive the times are off > _after_ > the timezone change, if you use the timezone from the last archive > the > times are off _before_ the timezone change. > > I think the status quo is probably the best one could hope for and > the warnings are legitimate. I agree the warnings are legitimate. Probably. Its unfortunate that we send so much mail from our start scripts ... this is a regular, scheduled, well understood occurrence (daylight savings changes), so it is questionable that we should send mail out about this - it may cover many hundreds of hosts. But, *shrug* ... I can live with that. As to whether we have the ideal status quo, thats more questionable. I agree theres no one right answer here, but the defaults seem to do the wrong thing. Daylight savings always switches over in the early hours of the morning. Our daily scripts always run before that, so we always get the wrong timezone for the day of the switch and hence reporting with -z always has the maximum number of hours reported in the wrong zone for that day. If we used the last archive, we would avoid that issue, I can't see any real downside from doing so. > > - any thoughts on .0 (data) files being mysteriously removed? > > pretty sure there's nothing touching our production logs > > outside of pmlogger_check/daily ... something in there seems > > to be nuking (/not creating?) .0 files (though .meta & .index > > files exist - so I suspect its somehow being nuked. I've seen > > it a few times, out of the blue, randomly - haven't been able > > to see any pattern to it though. > > In the output below is this all contiguous from one run? If so, Yes, this is all one mail message from one pmlogger_daily run. This particular host is monitoring 24 other hosts in that data centre, so the pmlogger_daily run probably takes a few minutes. > Oct 9 merging the previous day's archives complain about timezone > changes ... but Oct 8/9 is not a timezone change day for Oz ... ??? That's because pmcd.timezone was b0rked and didn't ever actually change (3.0.0 is fixed). This one was a manual pmcd restart on our systems to pick up the daylight savings change ... a few days after the actual change. > Now the missing archive is from a previously unmerged set of archives > from Oct 2 ... I have no explanation for this ... I can see how it > might > be possible to have a missing file from an archive that is exactly > $CULLAFTER days old, but this does not match your observation. Oh BTW, we run pmlogger_daily with options: "-k 7 -x 2" FWIW. Unsure if thats relevant to this issue ... its intermittent, so difficult to diagnose. > I'd suggest using -t 7 to keep the last week's worth of verbose logs > to help diagnose this. Will do, forgot about that option - thanks! cheers. -- Nathan From mort@sgi.com Tue Oct 13 07:36:48 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_41 autolearn=no version=3.3.0-rupdated Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9DCalvD111519 for ; Tue, 13 Oct 2009 07:36:47 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay2.corp.sgi.com (Postfix) with ESMTP id 0D2E630404E for ; Tue, 13 Oct 2009 05:38:15 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id C5865A243300; Tue, 13 Oct 2009 07:38:14 -0500 (CDT) Date: Tue, 13 Oct 2009 07:38:14 -0500 From: Martin Hicks To: pcp@oss.sgi.com Subject: debian bug #544350 (daemons starting by default) Message-ID: <20091013123814.GN11060@alcatraz.americas.sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean This is a follow-up to a long IRC conversation last night between Mark and Nathan on IRC. If we need to have runnable init.d scripts for all services, I'm quite sure that I've seen debian disable services by having a variable set in /etc/default/ something like: ENABLED= and the init.d script checking that before starting the daemon. Would this approach suffice for having init.d scripts for pmie and pmproxy, without running the daemons? mh From mort@sgi.com Tue Oct 13 14:13:39 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9DJDdGP143996 for ; Tue, 13 Oct 2009 14:13:39 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay2.corp.sgi.com (Postfix) with ESMTP id B83523040E0 for ; Tue, 13 Oct 2009 12:15:06 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id 7871EA243300; Tue, 13 Oct 2009 14:15:06 -0500 (CDT) Date: Tue, 13 Oct 2009 14:15:06 -0500 From: Martin Hicks To: pcp@oss.sgi.com Subject: building PCP with IB build deps Message-ID: <20091013191506.GG11060@alcatraz.americas.sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean We still have a bit of a build problem with PCP and the bits that require infiniband in order to build correctly. This currently means the ib PMDA and the cluster PMDA. Upstream debian is still being built without a build-dep on infiniband. It looks like I have a special repository added in order to get these dependencies: deb http://pkg-ofed.alioth.debian.org/apt/ofed ./ However, both Redhat and SuSE now ship ofed with their products. I would like to see a Build-dep added to the specfile to get these PMDAs to build, but I don't like adding another dependency to the core pcp RPM. How should this be handled? Should we just stick the ib PMDA into a separate sub-package, like pcp-infiniband? The dependencies for the cluster PMDA are only really build-time. If you run the cluster PMDA you'll currently end up with a log message about failing to open the local context to the ib pmda (or something else like that...I'll have to check this out). If I'm wrong, then this is what *should* happen. :) mh PS off to go get the build system setup to build pcp 3.0 RPMS on SuSE. From goodwinos@gmail.com Tue Oct 13 17:46:01 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_41 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9DMk04F158390 for ; Tue, 13 Oct 2009 17:46:01 -0500 X-ASG-Debug-ID: 1255474049-73b9035e0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mx1.redhat.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id E2EC4C2650E; Tue, 13 Oct 2009 15:47:29 -0700 (PDT) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id q7kHMTiFO8qBWli8; Tue, 13 Oct 2009 15:47:29 -0700 (PDT) Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9DMlTkU000533; Tue, 13 Oct 2009 18:47:29 -0400 Received: from [10.64.176.217] (dhcp-176-217.mel.redhat.com [10.64.176.217]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n9DMlRlm008018; Tue, 13 Oct 2009 18:47:28 -0400 Message-ID: <4AD5037F.7050804@gmail.com> Date: Wed, 14 Oct 2009 09:47:27 +1100 From: Mark Goodwin User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Martin Hicks CC: pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] debian bug #544350 (daemons starting by default) Subject: Re: [pcp] debian bug #544350 (daemons starting by default) References: <20091013123814.GN11060@alcatraz.americas.sgi.com> In-Reply-To: <20091013123814.GN11060@alcatraz.americas.sgi.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1255474050 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.11699 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Martin Hicks wrote: > This is a follow-up to a long IRC conversation last night between Mark > and Nathan on IRC. To start with, I'm going to put the default run levels back how they were. Then fix the Red Hat default run-levels and give it a thorough test, including upgrades, etc. This needs to be done fairly quickly to resolve the deb bug, and also to get PCP into Fedora. I'd propose this is all we take for 3.0.1 unless anyone else has anything similarly urgent? > > If we need to have runnable init.d scripts for all services, I'm quite > sure that I've seen debian disable services by having a variable set in > /etc/default/ something like: > > ENABLED= > > and the init.d script checking that before starting the daemon. Well I'll leave that investigation and enhancement to Nathan since it looks like it's mostly a deb thing (?) > > Would this approach suffice for having init.d scripts for pmie and > pmproxy, without running the daemons? > the current situation on deb certainly seems like an anomaly to me - a freshly installed service that needs admin config before it can function, can't possibly be expected to be enabled by default ..? Cheers -- Mark From goodwinos@gmail.com Tue Oct 13 17:59:16 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9DMxFnh158918 for ; Tue, 13 Oct 2009 17:59:16 -0500 X-ASG-Debug-ID: 1255474845-1c9002000000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mx1.redhat.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id DFC3AC266C0; Tue, 13 Oct 2009 16:00:45 -0700 (PDT) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id yyzDKXcfvV2ExNWA; Tue, 13 Oct 2009 16:00:45 -0700 (PDT) Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9DN0hGs005308; Tue, 13 Oct 2009 19:00:43 -0400 Received: from [10.64.176.217] (dhcp-176-217.mel.redhat.com [10.64.176.217]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n9DN0eZC028383; Tue, 13 Oct 2009 19:00:41 -0400 Message-ID: <4AD50698.4030601@gmail.com> Date: Wed, 14 Oct 2009 10:00:40 +1100 From: Mark Goodwin User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Martin Hicks CC: pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] building PCP with IB build deps Subject: Re: [pcp] building PCP with IB build deps References: <20091013191506.GG11060@alcatraz.americas.sgi.com> In-Reply-To: <20091013191506.GG11060@alcatraz.americas.sgi.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.18 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1255474845 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.11699 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Martin Hicks wrote: > We still have a bit of a build problem with PCP and the bits that > require infiniband in order to build correctly. This currently means > the ib PMDA and the cluster PMDA. Upstream debian is still being built > without a build-dep on infiniband. It looks like I have a special > repository added in order to get these dependencies: > > deb http://pkg-ofed.alioth.debian.org/apt/ofed ./ > > However, both Redhat and SuSE now ship ofed with their products. I but are they shipping the version with Max's change included? (was that v1.4?). Without that, the IB PMDA wont work, or did we figure out a workaround for that? In any case, it's complicated because some of the already released Red Hat and SuSE products will not have the right version of the library, or wont have it at all. > would like to see a Build-dep added to the specfile to get these PMDAs > to build, but I don't like adding another dependency to the core pcp > RPM. > > How should this be handled? Should we just stick the ib PMDA into a > separate sub-package, like pcp-infiniband? yeah that'll work. I can pull together the RPM spec changes to make this happen fairly easily (and I assume Nathan can ditto for deb). > > The dependencies for the cluster PMDA are only really build-time. If > you run the cluster PMDA you'll currently end up with a log message > about failing to open the local context to the ib pmda (or something > else like that...I'll have to check this out). If I'm wrong, then this > is what *should* happen. :) can we some how manage the dependency between the cluster PMDA and the IB PMDA, or should the cluster PMDA go into it's own sub-package too? Cheers -- Mark From mort@bork.org Tue Oct 13 19:22:50 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9E0MnZI162586 for ; Tue, 13 Oct 2009 19:22:49 -0500 X-ASG-Debug-ID: 1255479859-5198032d0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from darwin.bork.org (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 3EEAF11A1238 for ; Tue, 13 Oct 2009 17:24:19 -0700 (PDT) Received: from darwin.bork.org (darwin.bork.org [65.49.60.145]) by cuda.sgi.com with ESMTP id LX1goC8DBESBmCxc for ; Tue, 13 Oct 2009 17:24:19 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by darwin.bork.org (Postfix) with ESMTP id 3CB8F1929E; Tue, 13 Oct 2009 20:17:41 -0400 (EDT) Received: from darwin.bork.org ([127.0.0.1]) by localhost (darwin.bork.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id lkVnPlrxwGx6; Tue, 13 Oct 2009 20:17:41 -0400 (EDT) Received: from socrates.bork.org (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "socrates.bork.org", Issuer "Bork Consulting CA" (not verified)) by darwin.bork.org (Postfix) with ESMTPS id F37E01914B; Tue, 13 Oct 2009 20:17:40 -0400 (EDT) Received: by socrates.bork.org (Postfix, from userid 1000) id 7064BCBA87; Tue, 13 Oct 2009 20:24:17 -0400 (EDT) Date: Tue, 13 Oct 2009 20:24:17 -0400 From: Martin Hicks To: Mark Goodwin Cc: Martin Hicks , pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] building PCP with IB build deps Subject: Re: [pcp] building PCP with IB build deps Message-ID: <20091014002417.GD4792@socrates.bork.org> References: <20091013191506.GG11060@alcatraz.americas.sgi.com> <4AD50698.4030601@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4AD50698.4030601@gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Barracuda-Connect: darwin.bork.org[65.49.60.145] X-Barracuda-Start-Time: 1255479859 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.11703 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Wed, Oct 14, 2009 at 10:00:40AM +1100, Mark Goodwin wrote: > Martin Hicks wrote: >> We still have a bit of a build problem with PCP and the bits that >> require infiniband in order to build correctly. This currently means >> the ib PMDA and the cluster PMDA. Upstream debian is still being built >> without a build-dep on infiniband. It looks like I have a special >> repository added in order to get these dependencies: >> >> deb http://pkg-ofed.alioth.debian.org/apt/ofed ./ >> >> However, both Redhat and SuSE now ship ofed with their products. I > > but are they shipping the version with Max's change included? > (was that v1.4?). Without that, the IB PMDA wont work, or did we > figure out a workaround for that? In any case, it's complicated > because some of the already released Red Hat and SuSE products will > not have the right version of the library, or wont have it at all. I think 1.4 is correct. You're right that this complicates matters... Can we do some magic like %if %rh_version > X || %suse_version > 11 BuildRequiress: libibmad-devel libibumad-devel libibcommon-devel %endif > >> would like to see a Build-dep added to the specfile to get these PMDAs >> to build, but I don't like adding another dependency to the core pcp >> RPM. >> >> How should this be handled? Should we just stick the ib PMDA into a >> separate sub-package, like pcp-infiniband? > > yeah that'll work. I can pull together the RPM spec changes to make > this happen fairly easily (and I assume Nathan can ditto for deb). > >> >> The dependencies for the cluster PMDA are only really build-time. If >> you run the cluster PMDA you'll currently end up with a log message >> about failing to open the local context to the ib pmda (or something >> else like that...I'll have to check this out). If I'm wrong, then this >> is what *should* happen. :) > > can we some how manage the dependency between the cluster PMDA and the > IB PMDA, or should the cluster PMDA go into it's own sub-package too? I'm not sure that there really are dependencies. There is certainly no hard requirement that the cluster PMDA monitor infiniband. SGI certainly has this use-case, but others may just want the ultra-lightweight push-style monitoring from cluster PMDA for core metrics. This works fine with the cluster PMDA. I think I just need to verify that the cluster PMDA issues a useful error message if the IB pmda is not found or not loaded correctly. In terms of ensuring that there is a new enough version of the IB libraries, I would hope that there's some kind of versioning info that could be checked at runtime... mh From jhanson@sgi.com Tue Oct 13 20:14:48 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from rock.csd.sgi.com (rock.csd.sgi.com [137.38.156.26]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9E1ElOW164387 for ; Tue, 13 Oct 2009 20:14:48 -0500 Received: from postofc.csd.sgi.com (postofc.csd.sgi.com [137.38.156.27]) by rock.csd.sgi.com (Postfix) with ESMTP id BD597415EC21; Tue, 13 Oct 2009 20:16:17 -0500 (CDT) Received: from carenath.corp.sgi.com (carenath.corp.sgi.com [134.15.95.84]) by postofc.csd.sgi.com (Postfix) with ESMTP id 749972800DFA9; Tue, 13 Oct 2009 20:16:17 -0500 (CDT) Message-ID: <4AD52661.3050508@sgi.com> Date: Tue, 13 Oct 2009 21:16:17 -0400 From: Jeff Hanson Organization: SGI User-Agent: Thunderbird 2.0.0.22 (X11/20090609) MIME-Version: 1.0 To: Martin Hicks CC: Mark Goodwin , pcp@oss.sgi.com Subject: Re: [pcp] building PCP with IB build deps References: <20091013191506.GG11060@alcatraz.americas.sgi.com> <4AD50698.4030601@gmail.com> <20091014002417.GD4792@socrates.bork.org> In-Reply-To: <20091014002417.GD4792@socrates.bork.org> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Martin Hicks wrote: > On Wed, Oct 14, 2009 at 10:00:40AM +1100, Mark Goodwin wrote: >> Martin Hicks wrote: >>> We still have a bit of a build problem with PCP and the bits that >>> require infiniband in order to build correctly. This currently means >>> the ib PMDA and the cluster PMDA. Upstream debian is still being built >>> without a build-dep on infiniband. It looks like I have a special >>> repository added in order to get these dependencies: >>> >>> deb http://pkg-ofed.alioth.debian.org/apt/ofed ./ >>> >>> However, both Redhat and SuSE now ship ofed with their products. I >> but are they shipping the version with Max's change included? >> (was that v1.4?). Without that, the IB PMDA wont work, or did we >> figure out a workaround for that? In any case, it's complicated >> because some of the already released Red Hat and SuSE products will >> not have the right version of the library, or wont have it at all. > > I think 1.4 is correct. You're right that this complicates matters... > Can we do some magic like > > %if %rh_version > X || %suse_version > 11 rh would be 5.3. > BuildRequiress: libibmad-devel libibumad-devel libibcommon-devel > %endif > >>> would like to see a Build-dep added to the specfile to get these PMDAs >>> to build, but I don't like adding another dependency to the core pcp >>> RPM. >>> >>> How should this be handled? Should we just stick the ib PMDA into a >>> separate sub-package, like pcp-infiniband? >> yeah that'll work. I can pull together the RPM spec changes to make >> this happen fairly easily (and I assume Nathan can ditto for deb). >> >>> The dependencies for the cluster PMDA are only really build-time. If >>> you run the cluster PMDA you'll currently end up with a log message >>> about failing to open the local context to the ib pmda (or something >>> else like that...I'll have to check this out). If I'm wrong, then this >>> is what *should* happen. :) >> can we some how manage the dependency between the cluster PMDA and the >> IB PMDA, or should the cluster PMDA go into it's own sub-package too? > > I'm not sure that there really are dependencies. There is certainly no > hard requirement that the cluster PMDA monitor infiniband. SGI > certainly has this use-case, but others may just want the > ultra-lightweight push-style monitoring from cluster PMDA for core > metrics. This works fine with the cluster PMDA. > > I think I just need to verify that the cluster PMDA issues a useful > error message if the IB pmda is not found or not loaded correctly. > > In terms of ensuring that there is a new enough version of the IB > libraries, I would hope that there's some kind of versioning info that > could be checked at runtime... > > mh > > _______________________________________________ > pcp mailing list > pcp@oss.sgi.com > http://oss.sgi.com/mailman/listinfo/pcp -- ----------------------------------------------------------------------- Jeff Hanson - jhanson@sgi.com - Field Technical Analyst You can choose a ready guide in some celestial voice. If you choose not to decide, you still have made a choice. You can choose from phantom fears and kindness that can kill; I will choose a path that's clear I will choose freewill. - Lee/Lifeson/Peart From trev@sgi.com Tue Oct 13 22:42:44 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [150.166.39.100]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9E3gh6d169953 for ; Tue, 13 Oct 2009 22:42:44 -0500 Received: from [10.220.3.47] ([10.220.3.47]) by cthulhu.engr.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id n9E3i6ve030053; Tue, 13 Oct 2009 20:44:08 -0700 Message-ID: <4AD548FA.3040708@sgi.com> Date: Tue, 13 Oct 2009 20:43:54 -0700 From: Trevor Hurst User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Martin Hicks CC: Mark Goodwin , pcp@oss.sgi.com Subject: Re: [pcp] building PCP with IB build deps References: <20091013191506.GG11060@alcatraz.americas.sgi.com> <4AD50698.4030601@gmail.com> <20091014002417.GD4792@socrates.bork.org> In-Reply-To: <20091014002417.GD4792@socrates.bork.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Martin Hicks wrote: > On Wed, Oct 14, 2009 at 10:00:40AM +1100, Mark Goodwin wrote: >> Martin Hicks wrote: >>> We still have a bit of a build problem with PCP and the bits that >>> require infiniband in order to build correctly. This currently means >>> the ib PMDA and the cluster PMDA. Upstream debian is still being built >>> without a build-dep on infiniband. It looks like I have a special >>> repository added in order to get these dependencies: >>> >>> deb http://pkg-ofed.alioth.debian.org/apt/ofed ./ >>> >>> However, both Redhat and SuSE now ship ofed with their products. I >> but are they shipping the version with Max's change included? >> (was that v1.4?). Without that, the IB PMDA wont work, or did we >> figure out a workaround for that? In any case, it's complicated >> because some of the already released Red Hat and SuSE products will >> not have the right version of the library, or wont have it at all. > > I think 1.4 is correct. You're right that this complicates matters... > Can we do some magic like > > %if %rh_version > X || %suse_version > 11 > BuildRequiress: libibmad-devel libibumad-devel libibcommon-devel > %endif > >>> would like to see a Build-dep added to the specfile to get these PMDAs >>> to build, but I don't like adding another dependency to the core pcp >>> RPM. >>> >>> How should this be handled? Should we just stick the ib PMDA into a >>> separate sub-package, like pcp-infiniband? >> yeah that'll work. I can pull together the RPM spec changes to make >> this happen fairly easily (and I assume Nathan can ditto for deb). >> >>> The dependencies for the cluster PMDA are only really build-time. If >>> you run the cluster PMDA you'll currently end up with a log message >>> about failing to open the local context to the ib pmda (or something >>> else like that...I'll have to check this out). If I'm wrong, then this >>> is what *should* happen. :) >> can we some how manage the dependency between the cluster PMDA and the >> IB PMDA, or should the cluster PMDA go into it's own sub-package too? > > I'm not sure that there really are dependencies. There is certainly no > hard requirement that the cluster PMDA monitor infiniband. SGI > certainly has this use-case, but others may just want the > ultra-lightweight push-style monitoring from cluster PMDA for core > metrics. This works fine with the cluster PMDA. > > I think I just need to verify that the cluster PMDA issues a useful > error message if the IB pmda is not found or not loaded correctly. > > In terms of ensuring that there is a new enough version of the IB > libraries, I would hope that there's some kind of versioning info that > could be checked at runtime... > > mh > Sounds good to me after reading through this thread. As long as PMDA can monitor infiniband I think we're good to go right? Should there actually be a sub package for ib pmda on the cluster side? Hmm. Trying to make some noise. :) -- Trev From mort@sgi.com Wed Oct 14 10:00:42 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9EF0g1j198225 for ; Wed, 14 Oct 2009 10:00:42 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay1.corp.sgi.com (Postfix) with ESMTP id 368BC8F8092 for ; Wed, 14 Oct 2009 08:02:10 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id 0A7ADA243300; Wed, 14 Oct 2009 10:02:10 -0500 (CDT) Date: Wed, 14 Oct 2009 10:02:09 -0500 From: Martin Hicks To: pcp@oss.sgi.com Subject: Update request opened with OpenSuSE Message-ID: <20091014150209.GM11060@alcatraz.americas.sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Hi, I filed an request with the openSuSE community today to update the pcp-2.5.0 package that they are currently shipping. https://features.opensuse.org/308135 If you use openSuSE, then please go vote for it. Thanks, mh From nscott@aconex.com Wed Oct 14 17:53:35 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9EMrZIk216956 for ; Wed, 14 Oct 2009 17:53:35 -0500 X-ASG-Debug-ID: 1255560903-39e200290000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 8C36F7CE9 for ; Wed, 14 Oct 2009 15:55:04 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id E8wFR1DHRYAKBj8e for ; Wed, 14 Oct 2009 15:55:04 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam & Virus Firewall) with ESMTP id 57AEC842E98; Thu, 15 Oct 2009 09:55:02 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id 42BBQyZw96rFdjiS; Thu, 15 Oct 2009 09:55:02 +1100 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id B5634A5023B; Thu, 15 Oct 2009 09:53:38 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 225C74FD82; Thu, 15 Oct 2009 09:55:02 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N5gfaorwyZNZ; Thu, 15 Oct 2009 09:54:57 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 694884FD84; Thu, 15 Oct 2009 09:54:57 +1100 (EST) Date: Thu, 15 Oct 2009 09:54:56 +1100 (EST) From: Nathan Scott To: Mark Goodwin , Martin Hicks Cc: pcp@oss.sgi.com Message-ID: <177566335.1361255560896530.JavaMail.root@mail-au.aconex.com> In-Reply-To: <338767496.1021255560293865.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: Re: [pcp] building PCP with IB build deps Subject: Re: [pcp] building PCP with IB build deps MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.18_GA_3011.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.18_GA_3011.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1255560905 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.11796 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Mark Goodwin" wrote: > Martin Hicks wrote: > > We still have a bit of a build problem with PCP and the bits that > > require infiniband in order to build correctly. This currently > means > > the ib PMDA and the cluster PMDA. Upstream debian is still being > built > > without a build-dep on infiniband. It looks like I have a special > > repository added in order to get these dependencies: > > > > deb http://pkg-ofed.alioth.debian.org/apt/ofed ./ > > > > However, both Redhat and SuSE now ship ofed with their products. I > > but are they shipping the version with Max's change included? > (was that v1.4?). Without that, the IB PMDA wont work, or did we > figure out a workaround for that? In any case, it's complicated > because some of the already released Red Hat and SuSE products will > not have the right version of the library, or wont have it at all. > > > would like to see a Build-dep added to the specfile to get these > PMDAs > > to build, but I don't like adding another dependency to the core > pcp > > RPM. > > > > How should this be handled? Should we just stick the ib PMDA into > a > > separate sub-package, like pcp-infiniband? > > yeah that'll work. I can pull together the RPM spec changes to make > this happen fairly easily (and I assume Nathan can ditto for deb). I'm not 100% sure about this approach - another alternative which I think would be cleaner would be to have a separate source tree for Infiniband (obviously, with its own packaging, etc). I think for the complex PMDAs with complex dependencies, this lets us keep the core PCP sources cleaner and lets us release this piece independently. This is something that it would be good to have an oss example of, cos its what companies that embrace PCP need to do for their own custom PMDAs (we do this here for our custom apps, for example), so a maintained example of doing a PMDA & its configs and any custom tools like this would be generally beneficial IMO. IIRC, theres other examples @sgi like this as well - XVM springs to mind, I think theres others too. It would be a bit along the lines of pcp-gui, in some respects, although less C++ish and more Cish, obviously. The builddefs and other build changes made pre-3.0.0 mean the infiniband build system can just use the installed builddefs, and not have to worry about most of the complexity in the PCP build. > > > > The dependencies for the cluster PMDA are only really build-time. Did you mean run-time? I just tweaked the makefile and built the cluster PMDA code here, it seems to have no build deps on Infiniband. > > you run the cluster PMDA you'll currently end up with a log message > > about failing to open the local context to the ib pmda (or > something > > else like that...I'll have to check this out). If I'm wrong, then > this > > is what *should* happen. :) > can we some how manage the dependency between the cluster PMDA and > the > IB PMDA, or should the cluster PMDA go into it's own sub-package too? Seems to me we could build & install the cluster PMDA now, as long as it handles missing infiniband data correctly? Theres long been talk of making this more generic too, so it seems this is something that should stay in core PCP. cheers. -- Nathan From kenj@internode.on.net Thu Oct 15 06:07:15 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,J_CHICKENPOX_41 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9FB7Ei6005169 for ; Thu, 15 Oct 2009 06:07:15 -0500 X-ASG-Debug-ID: 1255604922-0f52021d0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 689749612 for ; Thu, 15 Oct 2009 04:08:43 -0700 (PDT) Received: from mail.internode.on.net (bld-mail12.adl6.internode.on.net [150.101.137.97]) by cuda.sgi.com with ESMTP id q1JsTjwNvWWeoD7D for ; Thu, 15 Oct 2009 04:08:43 -0700 (PDT) Received: from [124.176.89.32] (unverified [124.176.89.32]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 6770161-1927428 for multiple; Thu, 15 Oct 2009 21:38:41 +1030 (CDT) X-ASG-Orig-Subj: Re: [pcp] debian bug #544350 (daemons starting by default) Subject: Re: [pcp] debian bug #544350 (daemons starting by default) From: Ken McDonell Reply-To: kenj@internode.on.net To: Martin Hicks Cc: pcp@oss.sgi.com In-Reply-To: <20091013123814.GN11060@alcatraz.americas.sgi.com> References: <20091013123814.GN11060@alcatraz.americas.sgi.com> Content-Type: text/plain Date: Thu, 15 Oct 2009 22:08:46 +1100 Message-Id: <1255604926.5607.1.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail12.adl6.internode.on.net[150.101.137.97] X-Barracuda-Start-Time: 1255604925 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.11844 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Tue, 2009-10-13 at 07:38 -0500, Martin Hicks wrote: > This is a follow-up to a long IRC conversation last night between Mark > and Nathan on IRC. > > If we need to have runnable init.d scripts for all services, I'm quite > sure that I've seen debian disable services by having a variable set in > /etc/default/ something like: > > ENABLED= There does not seem to be any consistency in these scripts, but something like PMIE_ENABLED=false would seem to be readable and sensible ... look to /etc/default/rsync for an example we could follow. > and the init.d script checking that before starting the daemon. > > Would this approach suffice for having init.d scripts for pmie and > pmproxy, without running the daemons? > > mh > > > _______________________________________________ > pcp mailing list > pcp@oss.sgi.com > http://oss.sgi.com/mailman/listinfo/pcp From mort@sgi.com Thu Oct 15 11:10:41 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9FGAf9j024654 for ; Thu, 15 Oct 2009 11:10:41 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay1.corp.sgi.com (Postfix) with ESMTP id AAD668F80A3; Thu, 15 Oct 2009 09:12:09 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id 7B9BFA243300; Thu, 15 Oct 2009 11:12:09 -0500 (CDT) Date: Thu, 15 Oct 2009 11:12:09 -0500 From: Martin Hicks To: Nathan Scott Cc: Mark Goodwin , pcp@oss.sgi.com Subject: Re: [pcp] building PCP with IB build deps Message-ID: <20091015161209.GF22432@alcatraz.americas.sgi.com> References: <338767496.1021255560293865.JavaMail.root@mail-au.aconex.com> <177566335.1361255560896530.JavaMail.root@mail-au.aconex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <177566335.1361255560896530.JavaMail.root@mail-au.aconex.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Thu, Oct 15, 2009 at 09:54:56AM +1100, Nathan Scott wrote: > > > > but are they shipping the version with Max's change included? > > (was that v1.4?). Without that, the IB PMDA wont work, or did we > > figure out a workaround for that? In any case, it's complicated > > because some of the already released Red Hat and SuSE products will > > not have the right version of the library, or wont have it at all. > > > > > would like to see a Build-dep added to the specfile to get these > > PMDAs > > > to build, but I don't like adding another dependency to the core > > pcp > > > RPM. > > > > > > How should this be handled? Should we just stick the ib PMDA into > > a > > > separate sub-package, like pcp-infiniband? > > > > yeah that'll work. I can pull together the RPM spec changes to make > > this happen fairly easily (and I assume Nathan can ditto for deb). > > I'm not 100% sure about this approach - another alternative which I > think would be cleaner would be to have a separate source tree for > Infiniband (obviously, with its own packaging, etc). > > I think for the complex PMDAs with complex dependencies, this lets > us keep the core PCP sources cleaner and lets us release this piece > independently. This is something that it would be good to have an > oss example of, cos its what companies that embrace PCP need to do > for their own custom PMDAs (we do this here for our custom apps, > for example), so a maintained example of doing a PMDA & its configs > and any custom tools like this would be generally beneficial IMO. > IIRC, theres other examples @sgi like this as well - XVM springs to > mind, I think theres others too. > > It would be a bit along the lines of pcp-gui, in some respects, > although less C++ish and more Cish, obviously. The builddefs and > other build changes made pre-3.0.0 mean the infiniband build system > can just use the installed builddefs, and not have to worry about > most of the complexity in the PCP build. > > > > > > > The dependencies for the cluster PMDA are only really build-time. > > Did you mean run-time? I just tweaked the makefile and built the > cluster PMDA code here, it seems to have no build deps on Infiniband. No. Build-time. I pushed out a change to my pcp tree that works around this. the cluster PMDA needs the IB domain number, which it gets from src/pmdas/ib/domain.h. I just made it so domain.h is still built, even if we don't have the IB libraries installed. I also verified what happens when the IB PMDA fails to DSO load, and what happens when the ib pmda doesn't exist. In both cases the cluster PMDA starts fairly cleanly. When there is no IB PMDA installed we get: __pmConnectLocal: Warning: cannot find DSO "/var/lib/pcp/pmdas/ib/pmda_ib.so" I'd be okay with splitting the infiniband package out separately. It certainly would keep the specfile for the base PCP a lot cleaner. > > > > you run the cluster PMDA you'll currently end up with a log message > > > about failing to open the local context to the ib pmda (or > > something > > > else like that...I'll have to check this out). If I'm wrong, then > > this > > > is what *should* happen. :) > > > can we some how manage the dependency between the cluster PMDA and > > the > > IB PMDA, or should the cluster PMDA go into it's own sub-package too? > > Seems to me we could build & install the cluster PMDA now, as long > as it handles missing infiniband data correctly? Theres long been > talk of making this more generic too, so it seems this is something > that should stay in core PCP. I agree, and it seems to be nearly there now. I'm able to run it on my desktop with "pmclusterd -h localhost". It needs some enhancements to be really great, but I think SGI might prioritize that work in the next while. mh From kenj@internode.on.net Thu Oct 15 15:25:10 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9FKP8sM036129 for ; Thu, 15 Oct 2009 15:25:09 -0500 X-ASG-Debug-ID: 1255638397-2cbb01270000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id DF2631228953 for ; Thu, 15 Oct 2009 13:26:37 -0700 (PDT) Received: from mail.internode.on.net (bld-mail12.adl6.internode.on.net [150.101.137.97]) by cuda.sgi.com with ESMTP id T0JByyqFJKUaMmhl for ; Thu, 15 Oct 2009 13:26:37 -0700 (PDT) Received: from [124.186.244.128] (unverified [124.186.244.128]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 6787502-1927428 for multiple; Fri, 16 Oct 2009 06:56:36 +1030 (CDT) X-ASG-Orig-Subj: Re: Timezones and archive rotation Subject: Re: Timezones and archive rotation From: Ken McDonell Reply-To: kenj@internode.on.net To: Nathan Scott Cc: pcp@oss.sgi.com In-Reply-To: <986285191.1251255309782072.JavaMail.root@mail-au.aconex.com> References: <986285191.1251255309782072.JavaMail.root@mail-au.aconex.com> Content-Type: text/plain Date: Fri, 16 Oct 2009 07:06:36 +1100 Message-Id: <1255637196.5607.8.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail12.adl6.internode.on.net[150.101.137.97] X-Barracuda-Start-Time: 1255638399 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.11880 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Mon, 2009-10-12 at 12:09 +1100, Nathan Scott wrote: ... > As to whether we have the ideal status quo, thats more questionable. > I agree theres no one right answer here, but the defaults seem to do > the wrong thing. Daylight savings always switches over in the early > hours of the morning. Our daily scripts always run before that, so > we always get the wrong timezone for the day of the switch and hence > reporting with -z always has the maximum number of hours reported in > the wrong zone for that day. If we used the last archive, we would > avoid that issue, I can't see any real downside from doing so. Obviously there may be (although I can only recall having done it once in a production environment) sites where the log management is shifted into a different time window, and for them the default may be less bad. I think the way forward here is to change the default, and add a -x option to maintain the status quo. I've looked at the code and this will not be hard ... it will take more effort to build the archives needed for the QA test. Unless I hear a violent objection in the next day or so, I'll do this. On the missing files issue, please let me know if the -t 7 option gives you the evidence you need to track down what's going wrong ... at this stage I don't have a working hypothesis that would explain missing files in an unmerged archive set. From nscott@aconex.com Thu Oct 15 23:19:51 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9G4JpRA061565 for ; Thu, 15 Oct 2009 23:19:51 -0500 X-ASG-Debug-ID: 1255666880-6d5603250000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 61B891794E3B for ; Thu, 15 Oct 2009 21:21:21 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id RWCSNdh9FYOKste2 for ; Thu, 15 Oct 2009 21:21:21 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam & Virus Firewall) with ESMTP id 32CE350AD3A; Fri, 16 Oct 2009 15:21:19 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id 3niDQMQSpGZhAF1M; Fri, 16 Oct 2009 15:21:19 +1100 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 0C53EA502AC; Fri, 16 Oct 2009 15:19:55 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 1974A4FD85; Fri, 16 Oct 2009 15:21:19 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sWnsayMB4QyH; Fri, 16 Oct 2009 15:21:14 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 578034FD84; Fri, 16 Oct 2009 15:21:14 +1100 (EST) Date: Fri, 16 Oct 2009 15:21:14 +1100 (EST) From: Nathan Scott To: kenj@internode.on.net Cc: pcp@oss.sgi.com Message-ID: <2086675713.10871255666874268.JavaMail.root@mail-au.aconex.com> In-Reply-To: <1255637196.5607.8.camel@localhost> X-ASG-Orig-Subj: Re: Timezones and archive rotation Subject: Re: Timezones and archive rotation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.18_GA_3011.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.18_GA_3011.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1255666882 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.11913 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Ken McDonell" wrote: > I think the way forward here is to change the default, and add a -x > option to maintain the status quo. I've looked at the code and this > will not be hard ... it will take more effort to build the archives > needed for the QA test. Beauty, sounds good to me. Mark & I were talking about creating an installed /etc/cron.d/pcp file which sets the default log rotate up etc, out of the box, with that in place I'd imagine 99.99% of users would be using early-morning log wrapping & would benefit from this if they're subject to daylight savings. > Unless I hear a violent objection in the next day or so, I'll do > this. I'll run interference, and object to any objections. :) > On the missing files issue, please let me know if the -t 7 option > gives > you the evidence you need to track down what's going wrong ... Yep, will do. cheers. -- Nathan From cash@ll.mit.edu Fri Oct 16 14:44:04 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9GJi4AG127550 for ; Fri, 16 Oct 2009 14:44:04 -0500 X-ASG-Debug-ID: 1255722334-264d03120000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from ll.mit.edu (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id C165C13B5D7C for ; Fri, 16 Oct 2009 12:45:34 -0700 (PDT) Received: from ll.mit.edu (LLMAIL1.LL.MIT.EDU [129.55.12.41]) by cuda.sgi.com with ESMTP id dbowccR3ICtjD4yy for ; Fri, 16 Oct 2009 12:45:34 -0700 (PDT) Received: (from smtp@localhost) by ll.mit.edu (8.12.10/8.8.8) id n9GJjVns002368 for ; Fri, 16 Oct 2009 15:45:31 -0400 (EDT) Received: from lle2k7-hub01.llan.ll.mit.edu( ), claiming to be "LLE2K7-HUB01.mitll.ad.local" via SMTP by llpost, id smtpdAAAdoaObp; Fri Oct 16 15:32:38 2009 Received: from LLE2K7-BE01.mitll.ad.local ([ ]) by LLE2K7-HUB01.mitll.ad.local ([ ]) with mapi; Fri, 16 Oct 2009 15:32:38 -0400 From: "Cashman, Robert" To: "pcp@oss.sgi.com" Date: Fri, 16 Oct 2009 15:32:36 -0400 X-ASG-Orig-Subj: Error using pmlooger with Glider 0.9.1 Subject: Error using pmlooger with Glider 0.9.1 Thread-Topic: Error using pmlooger with Glider 0.9.1 Thread-Index: AcpOl2oQ/BCdAQk3q0G++J5qejEUDA== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: user-agent: Microsoft-Entourage/13.0.0.090609 acceptlanguage: en-US Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="B_3338551956_5641546" MIME-Version: 1.0 X-Barracuda-Connect: LLMAIL1.LL.MIT.EDU[129.55.12.41] X-Barracuda-Start-Time: 1255722335 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=UNPARSEABLE_RELAY X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.11973 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean --B_3338551956_5641546 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Hello everyone, I'm trying to use pmlogger under Glider 0.9.1 on Windows XP SP2 (I can upgrade to SP3 or any other version if that ends up being the problem). The pmlogger.log file shows the following error: myFetch: __pmGetPDU: Error: Timeout waiting for a response from PMCD pmlogger: Error: IPC protocol failure Its seems to be a problem with pmlogger as pmval is able to communicate with PMCD without any problems. I've also used pmlogger on a remote Mac system configured to read from the Windows PMCD and it works fine. Is this currently working under Windows and there is something wrong with my configuration? Or is this not quite ported to Windows... yet? Thanks in advance for any help with this. Bob. --B_3338551956_5641546 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIIUWwYJKoZIhvcNAQcCoIIUTDCCFEgCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC Ej4wggTnMIIDz6ADAgECAgo8BJIEAAAAABM+MA0GCSqGSIb3DQEBBQUAMFExCzAJBgNVBAYT AlVTMR8wHQYDVQQKExZNSVQgTGluY29sbiBMYWJvcmF0b3J5MQwwCgYDVQQLEwNQS0kxEzAR BgNVBAMTCk1JVExMIENBLTEwHhcNMDkwODI1MTIyNDA2WhcNMTAwODI1MTIyNDA2WjBjMQsw CQYDVQQGEwJVUzEfMB0GA1UEChMWTUlUIExpbmNvbG4gTGFib3JhdG9yeTEPMA0GA1UECxMG UGVvcGxlMSIwIAYDVQQDExlDYXNobWFuLlJvYmVydC5XLjUwMDA2MDg0MIIBIjANBgkqhkiG 9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzQXiZODSxRkQl/flyrF8F8v7tx7I9ms67H8swQTDMcgH gXqZF2Kv0o0+vE6SmX9zA1mxKWxecXhQL8RQq7rpn4KvP6dKYkjtWak24sldZ3yEqPQCgU7c b/KWpfDER+xb6qbrAWMKFcCbUYmwCDS5A4ZOf0onSHpU/m+xKC1GE12fF7pcDqluNHzc+2YI caroGHNfZbxQbqefX4Qb9vAh4LWwlMMYXn714Z6rNfxvLMSeoHZNkEiiEFhf8B/4zLHofeF0 1dF5UebnM1n3Da4esiOTVl4ESqlIEVL5lqdHCUJ2qbCAAtvS4OGSRht5Wq0hgkgVz00CMt92 5voMNYu+aQIDAQABo4IBrTCCAakwDgYDVR0PAQH/BAQDAgbAMB0GA1UdDgQWBBQcGPEjr0Cc 2+t1oktzXYmyrG6BJTAfBgNVHSMEGDAWgBSUWsZYybYmm6AJe6gvZJDDiQJuKjAzBgNVHR8E LDAqMCigJqAkhiJodHRwOi8vY3JsLmxsLm1pdC5lZHUvZ2V0Y3JsP0xMQ0ExMGIGCCsGAQUF BwEBBFYwVDAtBggrBgEFBQcwAoYhaHR0cDovL2NybC5sbC5taXQuZWR1L2dldHRvP0xMQ0Ex MCMGCCsGAQUFBzABhhdodHRwOi8vb2NzcC5sbC5taXQuZWR1LzAMBgNVHRMBAf8EAjAAMD0G CSsGAQQBgjcVBwQwMC4GJisGAQQBgjcVCIOD5R2H7Kdmhq2HFYPq8EWFtqEfHYXL3jKH/4pz AgFkAgEDMCwGA1UdJQEB/wQiMCAGCCsGAQUFBwMEBgorBgEEAYI3CgMMBggrBgEFBQcDAjAn BgNVHSAEIDAeMA0GCyqGSIb3EgIBAwEGMA0GCyqGSIb3EgIBAwEIMBoGA1UdEQQTMBGBD2Nh c2hAbGwubWl0LmVkdTANBgkqhkiG9w0BAQUFAAOCAQEABKE0e2AwPvA8eEVDVpWO31rtjS8Q otbtDUTUreLVQpaqm6p8WZ96j+Viop99bqfq3zwp0C8r6f+928YhvM6KAkPFzDI5tT3SsyZL /jWcLfK50CDm4x4Ko068rvDUyEsDN9KWSZ2rhnjg90HFB9fz345gIkK8jcRDrRDidLp1vDJ1 1OnWWqdm10UuaeQntt7TrZicOW2vvwdKsbf1uP0BZF8qqR/64CDKJc8wsYG62n+WR6s1c+z4 5VC13hi+K/Mn/bBBG5ZSoMc4c5esM7bBkEbZGBvQWPFPQ/zaSKwpAdgrIzNIUaHXw/OLwLFk xkvSdJkOqbPiM6ccVf2Ia1d+5zCCBCcwggMPoAMCAQICAQMwDQYJKoZIhvcNAQEFBQAwVDEL MAkGA1UEBhMCVVMxHzAdBgNVBAoTFk1JVCBMaW5jb2xuIExhYm9yYXRvcnkxDDAKBgNVBAsT A1BLSTEWMBQGA1UEAxMNTUlUTEwgUm9vdCBDQTAeFw0wODEwMTUxMjAwMDBaFw0xNDEwMTUy MzU5NTlaMFExCzAJBgNVBAYTAlVTMR8wHQYDVQQKExZNSVQgTGluY29sbiBMYWJvcmF0b3J5 MQwwCgYDVQQLEwNQS0kxEzARBgNVBAMTCk1JVExMIENBLTEwggEiMA0GCSqGSIb3DQEBAQUA A4IBDwAwggEKAoIBAQDR6ztRCggSJl8DROVlA6fjEplja+BpV0dCgFg5xmYf465vFglkYEd1 Zf4o0Smssrl9k1iwyKLN6nBNL1v/WzOfaluDR+BzF/NQbi56xA29miegrCXCwj1/FNmtvwwc 0ys/+cy7ODT2GMF0TM2c074dkBgll73l0MiquuZnS5TM57NLOrtSKNP8VsrGP5jrTdL82taO IzbERQlSNe5KXr38jTzOAp3HyLbm0UG3TQTB0U/bxF8upQjQ7ZOACqAKAlJm50EzowQi95XC aa2jCPfooDP6Q8CJLkytcv3j3UxXM7NQY9fc2xLvJS0jw/5Kxq166l2Vm7h9L0o9mYb0Jt9Z AgMBAAGjggEFMIIBATASBgNVHRMBAf8ECDAGAQH/AgEAMB0GA1UdDgQWBBSUWsZYybYmm6AJ e6gvZJDDiQJuKjAfBgNVHSMEGDAWgBRnqnrP9AqmuXK1iqDSnfIQw0PtKTAOBgNVHQ8BAf8E BAMCAYYwPQYIKwYBBQUHAQEEMTAvMC0GCCsGAQUFBzAChiFodHRwOi8vY3JsLmxsLm1pdC5l ZHUvZ2V0dG8/TExSQ0EwMwYDVR0fBCwwKjAooCagJIYiaHR0cDovL2NybC5sbC5taXQuZWR1 L2dldGNybD9MTFJDQTAnBgNVHSAEIDAeMA0GCyqGSIb3EgIBAwEGMA0GCyqGSIb3EgIBAwEI MA0GCSqGSIb3DQEBBQUAA4IBAQBWemGmX0dh9Hk0VAbdYg4eE4WYGEHNEop0NPQTxe6KMztJ 3assGoj8ulU0Q9ZqVYZac/iQGdFZMdZQcbJRTo7TYYdnGMuchPBfgJzRG+IRaSyprulB4MNk +gvdh6CFaewy55wbuP9WP6zbGKK2UPTFSrvL/8US/y0dzQEYO2uks4tgagNZVoK68fX3nbbQ 7Nj7tXGKkoEcj0YvGRk11VZ8bU7sNuPkElLH6xNBpEgNIY5Tb3pKIRsCbH1VtylMjk+bvr6g 1mN6ckZvPA1FrBGQiC+QKWNCDiO2o9J1g2BsgaRBMjqcsnCgorUccE8UGzFIGOhmYPukvkCd wDM6A2GIMIIEQDCCAyigAwIBAgIEPsRfVjANBgkqhkiG9w0BAQUFADA9MQswCQYDVQQGEwJV UzEfMB0GA1UEChMWTUlUIExpbmNvbG4gTGFib3JhdG9yeTENMAsGA1UECxMEbGxjYTAeFw0w ODEwMDkxODQ3NDVaFw0xMTExMDMwNDAwMDBaMFQxCzAJBgNVBAYTAlVTMR8wHQYDVQQKExZN SVQgTGluY29sbiBMYWJvcmF0b3J5MQwwCgYDVQQLEwNQS0kxFjAUBgNVBAMTDU1JVExMIFJv b3QgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDFTikXWLImsvmtir9cEAqD 3eQJMBMbsHDQ0YWkQnUDdeyvpQgir3/VUkE6ALAOqtWwArWVHDL+WSsfM+ShuIyvXDONDbxJ H/2yDmQByasyoFhtzfTaq3AIYpnF012ECHadQ4I7XQAylSwI12mKQ9j26RPyWwD56iszhDWt z8vQnoAdGm05Tsi4MF1mP6101vuC/4YqSevrCP2baxUZrChobsACqGxa9BQz+riH8fkWliXC dUASHYDOGqIb1vCXq4kkjMn/y5RaV02RXDPUjl9H+8JrGItchbihTJ0G5EpMb56QSjEca4Pv fLHkm2xJyJLwdAvagQzy2/5UAL5qVuqDAgMBAAGjggEvMIIBKzAPBgNVHRMBAf8EBTADAQH/ MA4GA1UdDwEB/wQEAwIBhjA8BggrBgEFBQcBAQQwMC4wLAYIKwYBBQUHMAKGIGh0dHA6Ly9j cmwubGwubWl0LmVkdS9nZXR0bz9MTENBMIGJBgNVHR8EgYEwfzBUoFKgUKROMEwxCzAJBgNV BAYTAlVTMR8wHQYDVQQKExZNSVQgTGluY29sbiBMYWJvcmF0b3J5MQ0wCwYDVQQLEwRsbGNh MQ0wCwYDVQQDEwRDUkwxMCegJaAjhiFodHRwOi8vY3JsLmxsLm1pdC5lZHUvY3JsL2NybC5j cmwwHwYDVR0jBBgwFoAUQojpumqd0mMlazmqCugCj2cNA3EwHQYDVR0OBBYEFGeqes/0Cqa5 crWKoNKd8hDDQ+0pMA0GCSqGSIb3DQEBBQUAA4IBAQA6BPTctusZX6KcStYDrvAVmjjl+Qlg sZWSJ6cIdwFRM8xAQMRJSDFfMvuXWNdu+7M9Mksfea+GBs/E7jWohsj5GavJQeMFydsnDD+s 4N0aB5MPnHrPcbmm4HiM1bQHhUJN9/+i9yQRUN+VapdKpXqzj77yM1B8xG4TL52m2wgavQ6I t9gSAVVVqDkucZyrzd1x97ueqxLQd7KPTD+bvlVhUanJxurkUQ+QskqSazW0y3vJ01FdsNxE FoxOD/AMijYXoBISd/Y5hyiPVK2vV463CRF1b4+wytJP0K3Cv3fNSrkp5DZXXMFBBh64WaU9 CbedZXOXzjZcXV0RwTp63rRvMIIE4DCCA8igAwIBAgIKGTQU9AAAAAAItTANBgkqhkiG9w0B AQUFADBRMQswCQYDVQQGEwJVUzEfMB0GA1UEChMWTUlUIExpbmNvbG4gTGFib3JhdG9yeTEM MAoGA1UECxMDUEtJMRMwEQYDVQQDEwpNSVRMTCBDQS0xMB4XDTA5MDgxMjE1MDM0NFoXDTEw MDgxMjE1MDM0NFowYzELMAkGA1UEBhMCVVMxHzAdBgNVBAoTFk1JVCBMaW5jb2xuIExhYm9y YXRvcnkxDzANBgNVBAsTBlBlb3BsZTEiMCAGA1UEAxMZQ2FzaG1hbi5Sb2JlcnQuVy41MDAw NjA4NDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANMq0tsaKrBZXNCKDQe4sgBn rULg3zndQ6/zf8Bzxhe3AH95nAziiwhZHlGo3IqXb25/GUxjdCRsEBOKwCzldtAuaS3RjtA2 iB/LSv8vvPUBPEELNFsn4R1398t6P3XVGkNyFGwcFnbVX9XUc8J4ufBr+AlXfQshAol5awAh GUJ5LY70AbbH7bDhoW51Cs1VUFpeeL6+KO+YraReq4FePtXe6wiZWCKCDXx20/ieonZk7W5P W1PlvTp4YJitNmy+lNI3486BZY8mX+CEGS1QgTctWK0hsYy+aXR62FzdgYl4qZOcUMG7UvIy /GMDAGQCxvcnXcpQL68XzmG3wKUtvAECAwEAAaOCAaYwggGiMA4GA1UdDwEB/wQEAwIFIDAd BgNVHQ4EFgQUTmOl9s66D7uSKaaNwnX2fxSsiN8wHwYDVR0jBBgwFoAUlFrGWMm2JpugCXuo L2SQw4kCbiowMwYDVR0fBCwwKjAooCagJIYiaHR0cDovL2NybC5sbC5taXQuZWR1L2dldGNy bD9MTENBMTBiBggrBgEFBQcBAQRWMFQwLQYIKwYBBQUHMAKGIWh0dHA6Ly9jcmwubGwubWl0 LmVkdS9nZXR0bz9MTENBMTAjBggrBgEFBQcwAYYXaHR0cDovL29jc3AubGwubWl0LmVkdS8w DAYDVR0TAQH/BAIwADA9BgkrBgEEAYI3FQcEMDAuBiYrBgEEAYI3FQiDg+Udh+ynZoathxWD 6vBFhbahHx2F69Bwg+vtIAIBZAIBAzAlBgNVHSUEHjAcBgRVHSUABggrBgEFBQcDBAYKKwYB BAGCNwoDBDAnBgNVHSAEIDAeMA0GCyqGSIb3EgIBAwEGMA0GCyqGSIb3EgIBAwEIMBoGA1Ud EQQTMBGBD2Nhc2hAbGwubWl0LmVkdTANBgkqhkiG9w0BAQUFAAOCAQEAYCdGHiIVUWrtaIPT vWI4xgiF/k0G3TfFvUqo4Ab4A8cledihFNxvsZfMDfsqRik9w7Vaee0Tvo82tMM3/mNh8kkG 4EnEGdRiREMWdQk4P2RxyRaT3fgKA2MRNvie9aHB5EQ34Z/2ZWW8BMAjV/fXX9m6/eYPRKd4 ZwkQg2iLJU5OSc07sF/LLsoLYfGAkntXKvAGSCMx1B3YhVIghBqCsJg6LF2tW062sto1XCT5 G0PrspGwNUGMJnwQL9QNgtwxcvxe4Lyp6T74Vey916dluSRuC3xgMRGKXNAXjTqhkKDE0GFZ TeqYCqVR/9n9aUqlOTfBlv0rbFbCMw6496K/hTGCAeUwggHhAgEBMF8wUTELMAkGA1UEBhMC VVMxHzAdBgNVBAoTFk1JVCBMaW5jb2xuIExhYm9yYXRvcnkxDDAKBgNVBAsTA1BLSTETMBEG A1UEAxMKTUlUTEwgQ0EtMQIKPASSBAAAAAATPjAJBgUrDgMCGgUAoF0wIwYJKoZIhvcNAQkE MRYEFAzAe0yqOMLR7UU4SNXBqdovoDf8MBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJ KoZIhvcNAQkFMQ8XDTA5MTAxNjE5MzIzNlowDQYJKoZIhvcNAQEBBQAEggEAT0w8jofoqlSY 22dwfZQXz6P7RyAxUEfZ3q9h2PILYvz0Zn8kUIltEX0wIK2a1z/X6rHA8jsAWy6r1aUwYsun KzXSx52T33yWRdVppyGzC5GEPLBBCq7fpnoF85ReGdHJVe1WP80wbTt2N57i60v/RlnaELTK AZjtDwwqi3PleutMqSbbICVplmG9i0zURpfUXKFiidP80pE6sfll72JxCdlJvZIHhl7e/kH/ v/mE7wr1jaGKhgac/IngcjObUeXQeEXrXxLyv9DPoTFhkqvnLXkqt0klzhI6UGGDxzuoQ8PC 7JAw90mIZ9NGocTgZeF7m8kMUMyGtiZb4jC3HTAHbg== --B_3338551956_5641546-- From nscott@aconex.com Fri Oct 16 16:35:27 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9GLZQax131583 for ; Fri, 16 Oct 2009 16:35:26 -0500 X-ASG-Debug-ID: 1255729016-62fd01de0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 4DB6B12F45 for ; Fri, 16 Oct 2009 14:36:56 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id 9K5QkFpg2ueeFbRD for ; Fri, 16 Oct 2009 14:36:56 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam & Virus Firewall) with ESMTP id 2780750F98F; Sat, 17 Oct 2009 08:36:54 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id NPfS5EBdOKtz4ETk; Sat, 17 Oct 2009 08:36:54 +1100 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 29C5AA50133; Sat, 17 Oct 2009 08:35:29 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 994334FD84; Sat, 17 Oct 2009 08:36:53 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UBIF9oiV833p; Sat, 17 Oct 2009 08:36:48 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 821314FD82; Sat, 17 Oct 2009 08:36:48 +1100 (EST) Date: Sat, 17 Oct 2009 08:36:48 +1100 (EST) From: Nathan Scott To: Robert Cashman Cc: pcp@oss.sgi.com Message-ID: <1986503887.18371255729008473.JavaMail.root@mail-au.aconex.com> In-Reply-To: X-ASG-Orig-Subj: Re: [pcp] Error using pmlooger with Glider 0.9.1 Subject: Re: [pcp] Error using pmlooger with Glider 0.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [211.28.150.226] X-Mailer: Zimbra 5.0.18_GA_3011.RHEL5_64 (ZimbraWebClient - SAF3 (Mac)/5.0.18_GA_3011.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1255729018 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.11981 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Robert Cashman" wrote: > Hello everyone, > > I'm trying to use pmlogger under Glider 0.9.1 on Windows XP SP2 (I > can > upgrade to SP3 or any other version if that ends up being the > problem). The pmlogger.log file shows the following error: > > myFetch: __pmGetPDU: Error: Timeout waiting for a response from PMCD > pmlogger: Error: IPC protocol failure > > Its seems to be a problem with pmlogger as pmval is able to > communicate with > PMCD without any problems. I've also used pmlogger on a remote Mac > system > configured to read from the Windows PMCD and it works fine. > > Is this currently working under Windows and there is something wrong > with my configuration? Or is this not quite ported to Windows... yet? It wasn't a known issue until now - thanks for reporting it, will take a look. We also tend to use loggers remotely from our production Windows hosts, so this configuration hasn't yet seen much use. No reason it shouldn't work though - hopefully we'll have this fixed for the next glider release (which will be based on pcp-3.0.1 code too), and should be out in a couple of weeks or so. cheers. -- Nathan From kenj@internode.on.net Sat Oct 17 17:43:03 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9HMh3v1191431 for ; Sat, 17 Oct 2009 17:43:03 -0500 X-ASG-Debug-ID: 1255819473-3aad00af0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 29D311D80132 for ; Sat, 17 Oct 2009 15:44:33 -0700 (PDT) Received: from mail.internode.on.net (bld-mail12.adl6.internode.on.net [150.101.137.97]) by cuda.sgi.com with ESMTP id F4X8Bx6CiFxK0gBK for ; Sat, 17 Oct 2009 15:44:33 -0700 (PDT) Received: from [139.168.50.56] (unverified [139.168.50.56]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 6885060-1927428 for ; Sun, 18 Oct 2009 09:14:31 +1030 (CDT) X-ASG-Orig-Subj: pcp updates Subject: pcp updates From: Ken McDonell Reply-To: kenj@internode.on.net To: pcp@oss.sgi.com Content-Type: text/plain Date: Sun, 18 Oct 2009 08:56:37 +1100 Message-Id: <1255816597.5607.19.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail12.adl6.internode.on.net[150.101.137.97] X-Barracuda-Start-Time: 1255819475 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.12078 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Changes committed to git://oss.sgi.com/kenj/pcp.git dev configure.in | 16 +++--- man/man1/pmlogextract.1 | 104 +++++++++++++++++++++++++++++++++++++--- src/pmlogextract/pmlogextract.c | 38 ++++++++++++-- 3 files changed, 139 insertions(+), 19 deletions(-) commit 4ebd35228f539157048bd6795fcaac4f9cf6c49e Merge: 99f70c7... 02cf7db... Author: Ken McDonell Date: Sun Oct 18 08:54:14 2009 +1100 Merge branch 'dev' of git://oss.sgi.com/kenj/pcp into dev commit 99f70c7a6af6d25497c4eac79f20e4f60491086e Author: Ken McDonell Date: Sat Oct 17 07:21:55 2009 +1100 pmlogextract change timezone selection algorithm, add -f for old behaviour When more than one timezone is present in the input archives, we need to choose one timezone for the output archive. The new default is to use the timezone from the last input archive, with the -f option being added to revert to the previous behaviour of choosing the timezone from the first input archive. Since pmlogextract is the only tool to create records, added verbage in the man page to explain what this is and why this is done. commit b531826b7bfb7b50e1784aa68946afaaf9a5070c Author: Ken McDonell Date: Sat Oct 17 07:20:17 2009 +1100 configure.in clean up more thoroughly on Mac OS X Some extra temporary files and directories are created in some of the compile and link tests ... fine tune the "rm" commands. From kenj@internode.on.net Sat Oct 17 17:43:03 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9HMh3UF191433 for ; Sat, 17 Oct 2009 17:43:03 -0500 X-ASG-Debug-ID: 1255819473-372400d10000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 51E3913EC0 for ; Sat, 17 Oct 2009 15:44:34 -0700 (PDT) Received: from mail.internode.on.net (bld-mail13.adl6.internode.on.net [150.101.137.98]) by cuda.sgi.com with ESMTP id uQPtlXYC3l3Czvpo for ; Sat, 17 Oct 2009 15:44:34 -0700 (PDT) Received: from [139.168.50.56] (unverified [139.168.50.56]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 6964132-1927428 for ; Sun, 18 Oct 2009 09:14:33 +1030 (CDT) X-ASG-Orig-Subj: pcpqa updates Subject: pcpqa updates From: Ken McDonell Reply-To: kenj@internode.on.net To: pcp@oss.sgi.com Content-Type: text/plain Date: Sun, 18 Oct 2009 09:44:39 +1100 Message-Id: <1255819479.5607.21.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail13.adl6.internode.on.net[150.101.137.98] X-Barracuda-Start-Time: 1255819475 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.12078 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean The getpmcdhosts changes are sort of important now that several of the QA tests should be run on systems with _either_ PCP 2.x or PCP 3.x Changes committed to git://oss.sgi.com/pcp/pcpqa.git .gitignore | 3 008.out.bozo | 54 ++++++ 024 | 8 051 | 3 055 | 2 069 | 45 ++--- 081 | 5 083 | 6 086 | 2 214 | 83 +++++++++ 214.out | 155 ++++++++++++++++++ 272 | 8 308 | 17 +- 322 | 5 322.out | 2 340 | 4 365 | 10 - 374 | 9 - 375 | 4 381 | 15 + 519 | 8 581 | 1 583 | 24 +- 589 | 9 - 648 | 11 - check | 2 getpmcdhosts | 370 +++++++++++++++++++++++++------------------- group | 1 owner | 1 qa_hosts.master | 12 - src-oss/.gitignore | 1 src-oss/GNUmakefile | 9 - src-oss/mktzchange | 40 ++++ src-oss/pmtimezone.c | 37 ++++ src-oss/tzchange-10-a.0 |binary src-oss/tzchange-10-a.index |binary src-oss/tzchange-10-a.meta |binary src-oss/tzchange-10-b.0 |binary src-oss/tzchange-10-b.index |binary src-oss/tzchange-10-b.meta |binary src-oss/tzchange-11-a.0 |binary src-oss/tzchange-11-a.index |binary src-oss/tzchange-11-a.meta |binary src-oss/tzchange-11-b.0 |binary src-oss/tzchange-11-b.index |binary src-oss/tzchange-11-b.meta |binary src-oss/tzchange-12-a.0 |binary src-oss/tzchange-12-a.index |binary src-oss/tzchange-12-a.meta |binary src-oss/tzchange-12-b.0 |binary src-oss/tzchange-12-b.index |binary src-oss/tzchange-12-b.meta |binary 52 files changed, 714 insertions(+), 252 deletions(-) commit ac71289e6e70a392c6711e9b6eab8632f2a4d9c1 Author: Ken McDonell Date: Sun Oct 18 09:35:40 2009 +1100 .gitignore add some more temporary files that git does not need to worry about commit c46de7e5ec62c16a0821aa931a08fb93a201b331 Author: Ken McDonell Date: Sun Oct 18 09:32:41 2009 +1100 qa_hosts.master tweak for Ken's QA environment and DNS commit cb7da8db57445cae4312d997e5cae694ddb3f5c8 Author: Ken McDonell Date: Sun Oct 18 09:32:02 2009 +1100 648 Cleaned up the "don't run me yet" logic. commit 92a0a888cd1e43c2351029f61c9f35eff5cfe229 Author: Ken McDonell Date: Sun Oct 18 09:30:45 2009 +1100 581 Add virtual bridge network interfaces to filter list commit 9fc8eb42cd0a8baa21f3f94f6724a764b0fe9871 Author: Ken McDonell Date: Sun Oct 18 09:28:12 2009 +1100 214 residual changes that were missed in the initial checkin commit 313f9e02298f060d4cdb4e10fe8cef76bb8463da Author: Ken McDonell Date: Sun Oct 18 09:10:28 2009 +1100 Assorted changes to translate getpmcdhosts failure into a "not run" result rather than a QA failure. commit f509db56074e4cf53fc600f94e9e65ef647ef703 Author: Ken McDonell Date: Sun Oct 18 09:05:44 2009 +1100 051 set $tmp to avoid writing to ./.err commit cd8907864cd63e76ffc79d1d810f0ae181c0285a Author: Ken McDonell Date: Sun Oct 18 09:03:04 2009 +1100 pmlogextract -f changes New test 214, plus a bunch of tzchange-* archives. Also the script and C code used to create the tzchange-* archives (which should not be needed again, but is commited just in case) commit 832ab206647610a17e3897e21899385d1302efcd Author: Ken McDonell Date: Tue Oct 13 14:34:56 2009 +1100 024 _really_ fix hostname filtering this time! Also add 008 output for bozo. commit e9be2c2aea7dca3071b8cfbad38ff24aca9e2873 Author: Ken McDonell Date: Sun Oct 11 20:14:27 2009 +1100 qa_hosts.master add some more host lines for kenj commit 80541a4c494f2492f371a762e46966e80e70654c Author: Ken McDonell Date: Sun Oct 11 20:13:38 2009 +1100 024 improve hostname filtering (if one hostname is a prefix of another) commit 5f33260bef2b1a62eb44d6e5bbbb730e130630aa Author: Ken McDonell Date: Sun Oct 11 20:10:24 2009 +1100 getpmcdhosts etc rework -v pcp=2 support Deprecate -v ipc=... and -v libpcp=... as we're not using these and there is no easy way to determine these versions. For -v pcp the =1 or =2 support has been changed to be , e.g. -v 'pcp>=2'. All of this needed for PCP 3.0 where many of the QA tests need to be run on hosts with PCP 2.x _or_ PCP 3.x commit 8ad2ca7dd710b30eb20ac9efc0a8be9a77c421c4 Author: Ken McDonell Date: Sun Oct 11 19:58:05 2009 +1100 check improved counting of "notrun" tests From nscott@aconex.com Sun Oct 18 17:16:54 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9IMGs6g005747 for ; Sun, 18 Oct 2009 17:16:54 -0500 X-ASG-Debug-ID: 1255904303-13ea02050000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 00C0214F5E for ; Sun, 18 Oct 2009 15:18:24 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id thdlFcYQqkVKj70n for ; Sun, 18 Oct 2009 15:18:24 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam & Virus Firewall) with ESMTP id 8348D511B69 for ; Mon, 19 Oct 2009 09:18:21 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id KDSAgGnl0UrkzrjI for ; Mon, 19 Oct 2009 09:18:21 +1100 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id DF6A0A502AC for ; Mon, 19 Oct 2009 09:16:55 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 728F14FD82 for ; Mon, 19 Oct 2009 09:18:21 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wtESiK2ubf0B for ; Mon, 19 Oct 2009 09:18:17 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 8E47D4FD85 for ; Mon, 19 Oct 2009 09:18:17 +1100 (EST) Date: Mon, 19 Oct 2009 09:18:17 +1100 (EST) From: Nathan Scott To: pcp Message-ID: <918820714.2171255904297457.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp-gui updates Subject: pcp-gui updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.18_GA_3011.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.18_GA_3011.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1255904306 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.12171 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcp-gui.git src/chart/chart.cpp | 11 src/chart/timeaxis.cpp | 3 src/libqwt/libqwt.pro.in | 23 src/libqwt/qwt_abstract_scale.cpp | 7 src/libqwt/qwt_abstract_scale_draw.cpp | 19 src/libqwt/qwt_abstract_scale_draw.h | 5 src/libqwt/qwt_abstract_slider.cpp | 12 src/libqwt/qwt_abstract_slider.h | 5 src/libqwt/qwt_analog_clock.cpp | 241 ++++++ src/libqwt/qwt_analog_clock.h | 94 ++ src/libqwt/qwt_clipper.cpp | 522 +++++++++++++ src/libqwt/qwt_clipper.h | 37 src/libqwt/qwt_color_map.cpp | 22 src/libqwt/qwt_color_map.h | 2 src/libqwt/qwt_compass.cpp | 318 ++++++++ src/libqwt/qwt_compass.h | 85 ++ src/libqwt/qwt_compass_rose.cpp | 281 +++++++ src/libqwt/qwt_compass_rose.h | 90 ++ src/libqwt/qwt_curve_fitter.cpp | 21 src/libqwt/qwt_curve_fitter.h | 8 src/libqwt/qwt_data.cpp | 5 src/libqwt/qwt_dial.cpp | 1290 +++++++++++++++++++++++++++++++++ src/libqwt/qwt_dial.h | 228 +++++ src/libqwt/qwt_dial_needle.cpp | 612 +++++++++++++++ src/libqwt/qwt_dial_needle.h | 198 +++++ src/libqwt/qwt_double_interval.cpp | 202 ++++- src/libqwt/qwt_double_interval.h | 131 ++- src/libqwt/qwt_double_range.cpp | 27 src/libqwt/qwt_double_rect.cpp | 15 src/libqwt/qwt_double_rect.h | 56 + src/libqwt/qwt_dyngrid_layout.cpp | 76 + src/libqwt/qwt_global.h | 4 src/libqwt/qwt_interval_data.cpp | 16 src/libqwt/qwt_interval_data.h | 22 src/libqwt/qwt_layout_metrics.cpp | 35 src/libqwt/qwt_layout_metrics.h | 12 src/libqwt/qwt_legend.cpp | 102 +- src/libqwt/qwt_legend.h | 31 src/libqwt/qwt_legend_item.cpp | 155 ++- src/libqwt/qwt_legend_item.h | 4 src/libqwt/qwt_legend_itemmanager.h | 54 + src/libqwt/qwt_magnifier.cpp | 482 ++++++++++++ src/libqwt/qwt_magnifier.h | 86 ++ src/libqwt/qwt_math.h | 32 src/libqwt/qwt_painter.cpp | 209 +++-- src/libqwt/qwt_painter.h | 18 src/libqwt/qwt_panner.cpp | 104 ++ src/libqwt/qwt_panner.h | 9 src/libqwt/qwt_picker.cpp | 296 +++---- src/libqwt/qwt_picker.h | 20 src/libqwt/qwt_plot.cpp | 117 +- src/libqwt/qwt_plot.h | 68 + src/libqwt/qwt_plot_axis.cpp | 68 + src/libqwt/qwt_plot_canvas.cpp | 84 +- src/libqwt/qwt_plot_canvas.h | 16 src/libqwt/qwt_plot_curve.cpp | 419 +++++----- src/libqwt/qwt_plot_curve.h | 151 ++- src/libqwt/qwt_plot_dict.cpp | 18 src/libqwt/qwt_plot_dict.h | 5 src/libqwt/qwt_plot_grid.cpp | 154 ++- src/libqwt/qwt_plot_grid.h | 6 src/libqwt/qwt_plot_item.cpp | 45 - src/libqwt/qwt_plot_item.h | 64 + src/libqwt/qwt_plot_layout.cpp | 90 +- src/libqwt/qwt_plot_layout.h | 24 src/libqwt/qwt_plot_magnifier.cpp | 314 -------- src/libqwt/qwt_plot_magnifier.h | 46 - src/libqwt/qwt_plot_marker.cpp | 357 ++++++--- src/libqwt/qwt_plot_marker.h | 21 src/libqwt/qwt_plot_panner.cpp | 12 src/libqwt/qwt_plot_picker.cpp | 7 src/libqwt/qwt_plot_picker.h | 1 src/libqwt/qwt_plot_print.cpp | 144 ++- src/libqwt/qwt_plot_printfilter.cpp | 9 src/libqwt/qwt_plot_printfilter.h | 6 src/libqwt/qwt_plot_rasteritem.cpp | 2 src/libqwt/qwt_plot_spectrogram.cpp | 39 src/libqwt/qwt_plot_svgitem.cpp | 10 src/libqwt/qwt_plot_zoomer.cpp | 94 +- src/libqwt/qwt_plot_zoomer.h | 6 src/libqwt/qwt_polygon.h | 6 src/libqwt/qwt_raster_data.cpp | 20 src/libqwt/qwt_raster_data.h | 15 src/libqwt/qwt_round_scale_draw.cpp | 40 - src/libqwt/qwt_round_scale_draw.h | 1 src/libqwt/qwt_scale_div.cpp | 61 + src/libqwt/qwt_scale_div.h | 60 + src/libqwt/qwt_scale_draw.cpp | 100 +- src/libqwt/qwt_scale_draw.h | 8 src/libqwt/qwt_scale_engine.cpp | 107 +- src/libqwt/qwt_scale_engine.h | 23 src/libqwt/qwt_scale_map.cpp | 6 src/libqwt/qwt_scale_map.h | 38 src/libqwt/qwt_scale_widget.cpp | 66 + src/libqwt/qwt_slider.cpp | 137 ++- src/libqwt/qwt_slider.h | 4 src/libqwt/qwt_spline.cpp | 38 src/libqwt/qwt_spline.h | 5 src/libqwt/qwt_symbol.cpp | 59 - src/libqwt/qwt_symbol.h | 6 src/libqwt/qwt_text.cpp | 55 - src/libqwt/qwt_text.h | 21 src/libqwt/qwt_text_engine.cpp | 145 ++- src/libqwt/qwt_text_engine.h | 2 src/libqwt/qwt_text_label.cpp | 30 src/libqwt/qwt_text_label.h | 3 src/libqwt/qwt_thermo.cpp | 919 +++++++++++++++++++++++ src/libqwt/qwt_thermo.h | 182 ++++ src/libqwt/qwt_wheel.cpp | 94 +- 109 files changed, 9056 insertions(+), 1929 deletions(-) commit e72ea92554aee7599ff28ca9e0137dc08368531b Author: Nathan Scott Date: Mon Oct 19 09:07:40 2009 +1100 Merge up to Qwt-5.2.0 sources (from 5.0.1) in development branch. From nscott@aconex.com Sun Oct 18 22:32:45 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9J3WjdT024507 for ; Sun, 18 Oct 2009 22:32:45 -0500 X-ASG-Debug-ID: 1255923256-259f01fa0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 88DFD1BF8376 for ; Sun, 18 Oct 2009 20:34:17 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id uLyUzAWd6unq93gg for ; Sun, 18 Oct 2009 20:34:17 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam & Virus Firewall) with ESMTP id C3AD0515C6E for ; Mon, 19 Oct 2009 14:34:15 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id 7ljOST2UEaTUux5J for ; Mon, 19 Oct 2009 14:34:15 +1100 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 115E2A502AC for ; Mon, 19 Oct 2009 14:32:50 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id B1D584FD82 for ; Mon, 19 Oct 2009 14:34:15 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zei3GbIQR0Kh for ; Mon, 19 Oct 2009 14:34:11 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id B3DBC4FD84 for ; Mon, 19 Oct 2009 14:34:11 +1100 (EST) Date: Mon, 19 Oct 2009 14:34:11 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <687554412.31301255923251618.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp updates Subject: pcp updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.18_GA_3011.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.18_GA_3011.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1255923258 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.12193 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Status: Clean (In addition to below, merged Kens dev tree into my dev tree) Changes committed to git://oss.sgi.com/nathans/pcp.git man/man1/pmlogextract.1 | 2 +- src/dbpmda/src/lex.l | 2 +- src/pmdas/hotproc/src/lex.l | 2 +- src/pmlc/lex.l | 2 +- src/pmlogextract/lex.l | 2 +- src/pmlogger/lex.l | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) commit 0cc5f0c041b519fa0f057676975cfcec7bbc2803 Author: Nathan Scott Date: Mon Oct 19 14:25:54 2009 +1100 Lexical analyser tweaks (various tools) to work on Windows. Handle Windows' CRLF line ending notation in several of the PCP tools lexical analysers. In particular, treat the "\r" as whitespace and ignore it, then we're just dealing with a regular style line ending. This was sufficient to get pmlogger producing log archives, on one Windows machine monitoring another. commit 8d03c7b5522c61fcf54fb7321623ff7858090b0a Author: Nathan Scott Date: Mon Oct 19 11:36:05 2009 +1100 Fix a minor typo in recent logextract man page update. From nscott@aconex.com Sun Oct 18 22:37:11 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9J3bAe0024699 for ; Sun, 18 Oct 2009 22:37:11 -0500 X-ASG-Debug-ID: 1255923522-069d03200000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id A3C8011A634B for ; Sun, 18 Oct 2009 20:38:43 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id oLYHJfYc7aBBoLnW for ; Sun, 18 Oct 2009 20:38:43 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam & Virus Firewall) with ESMTP id D358576C514; Mon, 19 Oct 2009 14:38:41 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id uXKiEU11mixYVZIm; Mon, 19 Oct 2009 14:38:41 +1100 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 1F643A502AC; Mon, 19 Oct 2009 14:37:16 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id C12024FD84; Mon, 19 Oct 2009 14:38:41 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vEMjJR-YpDao; Mon, 19 Oct 2009 14:38:37 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 0C7D54FD82; Mon, 19 Oct 2009 14:38:37 +1100 (EST) Date: Mon, 19 Oct 2009 14:38:37 +1100 (EST) From: Nathan Scott To: Robert Cashman Cc: pcp@oss.sgi.com Message-ID: <701650447.31431255923517014.JavaMail.root@mail-au.aconex.com> In-Reply-To: <1986503887.18371255729008473.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: Re: [pcp] Error using pmlooger with Glider 0.9.1 Subject: Re: [pcp] Error using pmlooger with Glider 0.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.18_GA_3011.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.18_GA_3011.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1255923523 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.12194 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Nathan Scott" wrote: > ----- "Robert Cashman" wrote: > > > Hello everyone, > > > > I'm trying to use pmlogger under Glider 0.9.1 on Windows XP SP2 (I > > can upgrade to SP3 or any other version if that ends up being the > > problem). The pmlogger.log file shows the following error: > > > > myFetch: __pmGetPDU: Error: Timeout waiting for a response from PMCD > > pmlogger: Error: IPC protocol failure > ... > No reason it shouldn't work though - hopefully we'll have this fixed > for the next glider release (which will be based on pcp-3.0.1 code too), > and should be out in a couple of weeks or so. Found a bug in the handling of Windows line endings - could your pmlogger configuration file have had Windows style CRLF line endings (i.e. "\r\n")? With that fix in place, I was able to create archives on Windows. Didn't see a timeout though, so not sure this explains that side of the problem. cheers. -- Nathan From goodwinos@gmail.com Mon Oct 19 01:01:44 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_34, J_CHICKENPOX_73 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9J61htW037093 for ; Mon, 19 Oct 2009 01:01:43 -0500 X-ASG-Debug-ID: 1255932195-66f701e70000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mx1.redhat.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 79BE91BF86C7 for ; Sun, 18 Oct 2009 23:03:15 -0700 (PDT) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id PlssBebLE1wbIGIh for ; Sun, 18 Oct 2009 23:03:15 -0700 (PDT) Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9J63EeB016546 for ; Mon, 19 Oct 2009 02:03:14 -0400 Received: from [10.11.9.144] (vpn-9-144.rdu.redhat.com [10.11.9.144]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n9J63CJA021525 for ; Mon, 19 Oct 2009 02:03:13 -0400 Message-ID: <4ADC011E.8040108@gmail.com> Date: Mon, 19 Oct 2009 17:03:10 +1100 From: Mark Goodwin User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: pcp@oss.sgi.com X-ASG-Orig-Subj: pcp updates for 3.0.1-1 dev Subject: pcp updates for 3.0.1-1 dev Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.17 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1255932196 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.12203 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Changes committed to git://oss.sgi.com/pcp/pcp.git dev commit ffe5034bf309a28bcc3e575dbac64bfa0b7ed67d Author: Mark Goodwin Date: Mon Oct 19 16:47:39 2009 +1100 Updated CHANGELOG for commits in 3.0.1-1 modified: CHANGELOG Signed-off-by: Mark Goodwin CHANGELOG | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) commit e80df62cb9b6c86034646a8735bc623009416834 Merge: a42cf3c... 0cc5f0c... Author: Mark Goodwin Date: Mon Oct 19 16:29:12 2009 +1100 Merge branch 'dev' of git://oss.sgi.com/nathans/pcp into dev commit a42cf3ccf991f553386780c8f70c25e94e440d5a Author: Mark Goodwin Date: Mon Oct 19 16:27:18 2009 +1100 Revert "default chkconfig off for all PCP services" This reverts commit bf98168e8a7cea7697497f4972dd835fa10e29b6. Resolved Conflicts: src/pmcd/rc_pcp src/pmie/rc_pmie src/pmproxy/rc_pmproxy modified: CHANGELOG Signed-off-by: Mark Goodwin CHANGELOG | 3 +++ src/pmcd/rc_pcp | 4 ++-- src/pmie/rc_pmie | 4 ++-- src/pmproxy/rc_pmproxy | 4 ++-- 4 files changed, 9 insertions(+), 6 deletions(-) commit 0cc5f0c041b519fa0f057676975cfcec7bbc2803 Author: Nathan Scott Date: Mon Oct 19 14:25:54 2009 +1100 Lexical analyser tweaks (various tools) to work on Windows. Handle Windows' CRLF line ending notation in several of the PCP tools lexical analysers. In particular, treat the "\r" as whitespace and ignore it, then we're just dealing with a regular style line ending. This was sufficient to get pmlogger producing log archives, on one Windows machine monitoring another. src/dbpmda/src/lex.l | 2 +- src/pmdas/hotproc/src/lex.l | 2 +- src/pmlc/lex.l | 2 +- src/pmlogextract/lex.l | 2 +- src/pmlogger/lex.l | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) commit 6d06e564d094f02690bffc855ce03702d28c90ac Author: Mark Goodwin Date: Mon Oct 19 12:07:29 2009 +1100 Bump to 3.0.1-1, currently in development. modified: CHANGELOG modified: VERSION.pcp modified: build/rpm/pcp_fedora.spec Signed-off-by: Mark Goodwin CHANGELOG | 2 ++ VERSION.pcp | 4 ++-- build/rpm/pcp_fedora.spec | 6 +++--- 3 files changed, 7 insertions(+), 5 deletions(-) commit 8d03c7b5522c61fcf54fb7321623ff7858090b0a Author: Nathan Scott Date: Mon Oct 19 11:36:05 2009 +1100 Fix a minor typo in recent logextract man page update. man/man1/pmlogextract.1 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 0c77b27d41ecef54a7b4568bcf23d411da52a8cc Merge: 6185686... 4ebd352... Author: Nathan Scott Date: Mon Oct 19 11:30:52 2009 +1100 Merge branch 'dev' of git://oss.sgi.com/kenj/pcp into dev commit 8e4dd44d4a1347861a353ad1fd713fca9d7b5e6e Author: Mark Goodwin Date: Mon Oct 19 10:31:29 2009 +1100 Bump Fedora spec to final v3 released version (3.0.0-9). build/rpm/pcp_fedora.spec | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 4ebd35228f539157048bd6795fcaac4f9cf6c49e Merge: 99f70c7... 02cf7db... Author: Ken McDonell Date: Sun Oct 18 08:54:14 2009 +1100 Merge branch 'dev' of git://oss.sgi.com/kenj/pcp into dev commit 99f70c7a6af6d25497c4eac79f20e4f60491086e Author: Ken McDonell Date: Sat Oct 17 07:21:55 2009 +1100 pmlogextract change timezone selection algorithm, add -f for old behaviour When more than one timezone is present in the input archives, we need to choose one timezone for the output archive. The new default is to use the timezone from the last input archive, with the -f option being added to revert to the previous behaviour of choosing the timezone from the first input archive. Since pmlogextract is the only tool to create records, added verbage in the man page to explain what this is and why this is done. man/man1/pmlogextract.1 | 104 ++++++++++++++++++++++++++++++++++++--- src/pmlogextract/pmlogextract.c | 38 ++++++++++++-- 2 files changed, 130 insertions(+), 12 deletions(-) commit b531826b7bfb7b50e1784aa68946afaaf9a5070c Author: Ken McDonell Date: Sat Oct 17 07:20:17 2009 +1100 configure.in clean up more thoroughly on Mac OS X Some extra temporary files and directories are created in some of the compile and link tests ... fine tune the "rm" commands. configure.in | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) commit 61856869f9fd62beccf46c3c36962ddc23fd0042 Author: Nathan Scott Date: Tue Oct 13 04:06:07 2009 +1100 Get pcp building on Debian GNU/kFreeBSD port. configure.in | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit 1076eeb17961f6f852bee948017be7eb9c3e880c Merge: 31cd157... b99d6ac... Author: Nathan Scott Date: Fri Oct 9 14:58:52 2009 +1100 Merge branch 'solaris' of git://oss.sgi.com/makc/pcp into dev commit 31cd15785aca72897cb9e380d633adb7db2b27ea Author: Nathan Scott Date: Fri Oct 9 14:58:30 2009 +1100 Add missing return statement causing incorrect mem.util on Win32. src/pmdas/windows/pmda.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) From kenj@internode.on.net Mon Oct 19 14:48:16 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9JJmFmD096688 for ; Mon, 19 Oct 2009 14:48:16 -0500 X-ASG-Debug-ID: 1255981769-6ef003b20000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 7757417A4758 for ; Mon, 19 Oct 2009 12:49:30 -0700 (PDT) Received: from mail.internode.on.net (bld-mail17.adl2.internode.on.net [150.101.137.102]) by cuda.sgi.com with ESMTP id Pmv3ZaLDJAfdosU7 for ; Mon, 19 Oct 2009 12:49:30 -0700 (PDT) Received: from [192.168.1.100] (unverified [118.209.252.48]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 6867089-1927428 for ; Tue, 20 Oct 2009 06:19:28 +1030 (CDT) X-ASG-Orig-Subj: Problem with pmUnits in latest changes Subject: Problem with pmUnits in latest changes From: Ken McDonell Reply-To: kenj@internode.on.net To: pcp@oss.sgi.com Content-Type: text/plain Date: Tue, 20 Oct 2009 06:49:16 +1100 Message-Id: <1255981756.12288.1.camel@bozo.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail17.adl2.internode.on.net[150.101.137.102] X-Barracuda-Start-Time: 1255981771 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.12258 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean This commit is not quite correct. I'll have the fix soon, but this is just a heads up before this one escapes too far. QA 027 (at least) is failing as a result. Author: Max Matveev 2009-10-04 16:22:59 Committer: Max Matveev 2009-10-04 16:22:59 Parent: f1348ed0d10fe4bc3fdb304de6d8c6bb9de3549a (Increase table sizes for dbpmda's lexer) Child: 0782dda37c047e3c24bcab8d9798bedf7713773c (Treat UDP overflows as counter) Branches: dev, remotes/origin/dev Follows: 2.7.7-20080924 Precedes: Explicitly mark bitfield sign in pmUnits. SunStudio compiler treats bitfields marked as unadorned 'int' as unsigned (C99 standard leaves this area undefined) which means that dimTime of -1 becomes dimTime == 15. Marking the bitfields as 'signed' removes this ambiguity. pmUnits is the only bitfield which uses negative values. From kenj@internode.on.net Mon Oct 19 15:29:25 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9JKTPlg098600 for ; Mon, 19 Oct 2009 15:29:25 -0500 X-ASG-Debug-ID: 1255984256-696c002a0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id A06DC1C7BF for ; Mon, 19 Oct 2009 13:30:56 -0700 (PDT) Received: from mail.internode.on.net (bld-mail19.adl2.internode.on.net [150.101.137.104]) by cuda.sgi.com with ESMTP id m3OXRB52mIPGDXel for ; Mon, 19 Oct 2009 13:30:56 -0700 (PDT) Received: from [192.168.1.100] (unverified [118.209.252.48]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 6889116-1927428 for ; Tue, 20 Oct 2009 07:00:55 +1030 (CDT) X-ASG-Orig-Subj: pcp updates Subject: pcp updates From: Ken McDonell Reply-To: kenj@internode.on.net To: pcp@oss.sgi.com Content-Type: text/plain Date: Tue, 20 Oct 2009 07:30:43 +1100 Message-Id: <1255984243.12288.2.camel@bozo.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail19.adl2.internode.on.net[150.101.137.104] X-Barracuda-Start-Time: 1255984258 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.12260 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Changes committed to git://oss.sgi.com/kenj/pcp.git dev src/include/pmapi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ab84a6e03773ef02fe1bfa5bfb576c0387d2453f Author: Ken McDonell Date: Tue Oct 20 07:26:05 2009 +1100 pmda.h tweak pmUnits The scaleCount field needs to be signed. Tweak Max's changes for the SunStudio compiler. With these changes the QA regressions are fixed (027, 190 and 367). From mort@sgi.com Tue Oct 20 14:05:16 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_33 autolearn=no version=3.3.0-rupdated Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9KJ5GNY167250 for ; Tue, 20 Oct 2009 14:05:16 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay1.corp.sgi.com (Postfix) with ESMTP id AAC4E8F8071 for ; Tue, 20 Oct 2009 12:06:47 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id 3DD9CA243300; Tue, 20 Oct 2009 14:06:47 -0500 (CDT) Date: Tue, 20 Oct 2009 14:06:47 -0500 From: Martin Hicks To: pcp@oss.sgi.com Subject: RFC: separate IB and Cluster PMDAs Message-ID: <20091020190647.GR30151@alcatraz.americas.sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Hi, So the common concensus was that we'd rather not have infiniband runtime dependencies in the core PCP. To this end I went off to split the IB PMDA into a stand-alone package. I also decided that splitting the Cluster PMDA into its own package made some good sense too: - it's used in very specific situations - It requires the IB PMDA to be installed in order to build The 'dev' branch in my pcp.git is updated to 3.0.1-2 and has removed the IB and cluster PMDA (along with a few other fixes). git clone git://oss.sgi.com/mort/pcp.git New git trees for the separate PMDAs are also on oss.sgi.com: git clone git://oss.sgi.com/mort/pcp-pmda-infiniband.git git clone git://oss.sgi.com/mort/pcp-pmda-cluster.git These packages have a specfile that works with OpenSuSE 11.1. The top level Makefile will work as long as you have the correct build dependencies installed. RPMS for the new PMDAs are here: http://oss.sgi.com/~mort/pmdas/ How do people feel about this split? I was able to pull a significant amount of complication out of the spec files related to IB. mh From mort@sgi.com Tue Oct 20 14:15:27 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_73 autolearn=no version=3.3.0-rupdated Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9KJFRd5167663 for ; Tue, 20 Oct 2009 14:15:27 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay2.corp.sgi.com (Postfix) with ESMTP id E4B933040D1 for ; Tue, 20 Oct 2009 12:16:58 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id AED26A243300; Tue, 20 Oct 2009 14:16:58 -0500 (CDT) Date: Tue, 20 Oct 2009 14:16:58 -0500 From: Martin Hicks To: pcp@oss.sgi.com Subject: pcp updates Message-ID: <20091020191658.GS30151@alcatraz.americas.sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean The change that I'm not 100% sure about is in commit 1d1ef757 where I changed CLUSTER_INDOM. I *think* it's correct because the serial member of __pmInDom_int is 18 bits wide. --- a/src/pmdas/cluster/cluster.h +++ b/src/pmdas/cluster/cluster.h @@ -29,7 +29,7 @@ #define CLUSTER_CLIENT_VERSION 101 /* singular instance domain translation */ -#define CLUSTER_INDOM 0x3fffff +#define CLUSTER_INDOM 0x3ffff This includes all of the changes in my proposal to move the cluster PMDA and IB PMDA into their own packages. Changes committed to git://oss.sgi.com/mort/pcp.git CHANGELOG | 1 + VERSION.pcp | 2 +- build/rpm/GNUmakefile | 1 - build/rpm/pcp.spec.in | 28 +- build/rpm/pcp_fedora.spec | 16 +- configure.in | 17 - debian/changelog | 6 + man/man1/GNUmakefile | 3 +- man/man1/pmdaib.1 | 113 ---- man/man3/pmnewcontext.3 | 2 +- sgiReleaseNumber | 4 - src/include/builddefs.in | 1 - src/pmdas/GNUmakefile | 4 +- src/pmdas/cluster/GNUmakefile | 137 ----- src/pmdas/cluster/GNUmakefile.install | 28 - src/pmdas/cluster/Install | 43 -- src/pmdas/cluster/README | 82 --- src/pmdas/cluster/Remove | 39 -- src/pmdas/cluster/cluster.h | 243 --------- src/pmdas/cluster/clusterns.pl | 343 ------------ src/pmdas/cluster/config | 50 -- src/pmdas/cluster/pmclusterd.c | 545 ------------------- src/pmdas/cluster/pmda.c | 399 -------------- src/pmdas/cluster/rc_pmclusterd | 237 -------- src/pmdas/cluster/root | 27 - src/pmdas/cluster/server.c | 805 --------------------------- src/pmdas/cluster/util.c | 58 -- src/pmdas/ib/GNUmakefile | 80 --- src/pmdas/ib/Install | 63 --- src/pmdas/ib/Remove | 37 -- src/pmdas/ib/daemon.c | 88 --- src/pmdas/ib/dso.c | 41 -- src/pmdas/ib/help | 166 ------ src/pmdas/ib/ib.c | 955 --------------------------------- src/pmdas/ib/ibpmda.h | 101 ---- src/pmdas/ib/pmda.c | 337 ------------ src/pmdas/ib/pmns | 78 --- src/pmdas/ib/root | 9 - src/pmdas/linux/GNUmakefile | 2 +- commit d0316f870c5d6ef6468f9722d2d8e501b8daeb0f Author: Martin Hicks Date: Tue Oct 20 13:59:39 2009 -0400 Finish removing infiniband dependencies. Bump rev to 3.0.1-2 The cluster and infinband PMDAs are now in separate packages. commit 0c7699b4fb6a09a4d3fa83ad0570ac72c5d8708b Author: Martin Hicks Date: Tue Oct 20 13:58:39 2009 -0400 Install the raw 'help' file from the Linux PMDA The cluster PMDA package needs this to generate its help files commit 8f91d4da5f8a26b984d9c4915555bb5b71017f9b Author: Martin Hicks Date: Mon Oct 19 16:13:08 2009 -0400 Remove cluster PMDA. It is now a separate package commit ae86fa9a51662a229cb7f6a93e93f40dda4e39c6 Author: Martin Hicks Date: Mon Oct 19 13:42:43 2009 -0400 Fix manifest for %doc and %config files in pcp.spec.in The modifier strings were going to stdout instead of into the manifest file. commit 58d9fc7101612c748855cab617aa86b0d915e591 Author: Martin Hicks Date: Mon Oct 19 11:50:11 2009 -0400 Remove IB pmda Move this to a separate package. This removes the core code and build infrastructure. spec files will be updated later commit e505de7a2a9750e6465c093e58c3a6f5ef1f2f6a Author: Martin Hicks Date: Mon Oct 19 10:29:14 2009 -0400 Remove the old sgiReleaseNumber file It's sgi-specific and not needed. commit 75a2f0858116f54d31d3a6025d90fddb91d19125 Merge: 1d1ef75 ffe5034 Author: Martin Hicks Date: Mon Oct 19 10:14:13 2009 -0400 Merge commit 'remotes/origin/dev' into mort-dev commit 1d1ef75710ea4dd7f3dd994ae2e5f99fde448e84 Author: Martin Hicks Date: Thu Oct 15 11:54:12 2009 -0400 cluster PMDA: Update for new domain bit width of 9 The cluster PMDA re-defines __pmID_int and __pmInDom_int to have a "subcluster" field. We changed the definitions of these structures in pcp-3.0.0. commit e005713eaccbeaf7348852023a81d33f4b056ae0 Author: Martin Hicks Date: Thu Oct 15 11:43:06 2009 -0400 cluster PMDA: Remove build-time dependency in IB pmda The cluster PMDA needs the domain.h from the IB PMDA. Generating the domain.h doesn't need the IB dependencies, so do this even when HAVE_IBDEV=0 This allows the cluster PMDA to build even if the IB PMDA isn't being built. commit e7de8664d77d46190e3e0baa42cb30ec1f8199c4 Author: Martin Hicks Date: Thu Oct 15 11:30:09 2009 -0400 More informative error message if IB pmda fails initialization The big "failed" message isn't very helpful, especially when it is DSO loaded by the cluster PMDA. Here are the updated errors. ib PMDA: [Thu Oct 15 11:28:21] pmdaib(4166) Error: umad_init() failed. No IB kernel support or incorrect ABI [Thu Oct 15 11:28:21] pmdaib(4166) Error: PMDA Initialisation Failed cluster PMDA: [Thu Oct 15 11:28:21] pmdacluster(4167) Error: umad_init() failed. No IB kernel support or incorrec __pmConnectLocal: Warning: initialization routine "ib_init" failed in DSO "/var/lib/pcp/pmdas/ib/pmd commit 6284add801afb03fb1df74cdae464f49787fabf1 Merge: c156bf3 02cf7db Author: Martin Hicks Date: Thu Oct 15 10:22:48 2009 -0400 Merge commit 'remotes/origin/dev' into mort-dev commit c156bf3be7ebf54a9acb87fbcb1406dd251a0774 Author: Martin Hicks Date: Fri Aug 7 10:29:52 2009 -0400 clusterPMDA: Document the option of using per-host config files I'd forgotten that this existed until I was looking at the code today. Also install the README file into the PMDA directory. commit 27ed44a74cdf6a15e05e6253895d7103ef1e590e Author: Martin Hicks Date: Thu Aug 6 15:43:26 2009 -0400 Mention that the IB PMDA support PM_CONTEXT_LOCAL Just set an environment variable to make use of the Evil. From mort@sgi.com Tue Oct 20 15:01:25 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9KK1Ptg169870 for ; Tue, 20 Oct 2009 15:01:25 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay2.corp.sgi.com (Postfix) with ESMTP id A0B803040C0; Tue, 20 Oct 2009 13:02:56 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id 1A95BA243300; Tue, 20 Oct 2009 15:02:56 -0500 (CDT) Date: Tue, 20 Oct 2009 15:02:56 -0500 From: Martin Hicks To: Ken McDonell Cc: pcp@oss.sgi.com Subject: Re: [pcp] pcp updates Message-ID: <20091020200255.GU30151@alcatraz.americas.sgi.com> References: <20091020191658.GS30151@alcatraz.americas.sgi.com> <1256068647.8067.7.camel@bozo.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1256068647.8067.7.camel@bozo.localdomain> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Wed, Oct 21, 2009 at 06:57:27AM +1100, Ken McDonell wrote: > The serial member of __pmInDom_int is 22 bits wide, so 0x3fffff was > probably correct if it is planning to set all these bits to 1's. Oh, I got fooled because the cluster PMDA steals four of these bits. I'll revert that change. > > On Tue, 2009-10-20 at 14:16 -0500, Martin Hicks wrote: > > The change that I'm not 100% sure about is in commit 1d1ef757 > > where I changed CLUSTER_INDOM. I *think* it's correct because > > the serial member of __pmInDom_int is 18 bits wide. > > > > --- a/src/pmdas/cluster/cluster.h > > +++ b/src/pmdas/cluster/cluster.h > > @@ -29,7 +29,7 @@ > > #define CLUSTER_CLIENT_VERSION 101 > > > > /* singular instance domain translation */ > > -#define CLUSTER_INDOM 0x3fffff > > +#define CLUSTER_INDOM 0x3ffff > > > ... From nscott@aconex.com Wed Oct 21 20:07:08 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9M177i0043631 for ; Wed, 21 Oct 2009 20:07:08 -0500 X-ASG-Debug-ID: 1256173720-417900520000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 566BC11C2F9C for ; Wed, 21 Oct 2009 18:08:41 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id y5DQpQn6trGubLaX for ; Wed, 21 Oct 2009 18:08:41 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam & Virus Firewall) with ESMTP id 3B673774BBB for ; Thu, 22 Oct 2009 12:08:39 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id z6SGZDguclLOg98E for ; Thu, 22 Oct 2009 12:08:39 +1100 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id AFB65A5010C for ; Thu, 22 Oct 2009 12:07:11 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id E59974FD87 for ; Thu, 22 Oct 2009 12:08:38 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i-ewzdw2ZZ9S for ; Thu, 22 Oct 2009 12:08:34 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id E6ABD4FD84 for ; Thu, 22 Oct 2009 12:08:34 +1100 (EST) Date: Thu, 22 Oct 2009 12:08:34 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1387647067.134441256173714850.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp updates Subject: pcp updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.18_GA_3011.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.18_GA_3011.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1256173722 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.12468 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcp.git build/rpm/GNUmakefile | 17 ----------------- 1 file changed, 17 deletions(-) commit 16845326b581f26feb5ef374e15929ba7cd5c7cf Author: Nathan Scott Date: Thu Oct 22 12:01:02 2009 +1100 Remove no-longer-used reference to cpanflute. From makc@gmx.co.uk Thu Oct 22 19:12:32 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9N0CVjh150550 for ; Thu, 22 Oct 2009 19:12:32 -0500 X-ASG-Debug-ID: 1256256844-2a8e033b0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from outbound.icp-qv1-irony-out2.iinet.net.au (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id E16A417B99BB for ; Thu, 22 Oct 2009 17:14:05 -0700 (PDT) Received: from outbound.icp-qv1-irony-out2.iinet.net.au (outbound.icp-qv1-irony-out2.iinet.net.au [203.59.1.107]) by cuda.sgi.com with ESMTP id 9rm1EkO1zqGARSHo for ; Thu, 22 Oct 2009 17:14:05 -0700 (PDT) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnsKAOyR4EpySmub/2dsb2JhbACHUYo9hX/ENIQ/BA X-IronPort-AV: E=Sophos;i="4.44,608,1249228800"; d="scan'208";a="572959934" Received: from unknown (HELO [114.74.107.155]) ([114.74.107.155]) by outbound.icp-qv1-irony-out2.iinet.net.au with ESMTP/TLS/AES128-SHA; 23 Oct 2009 08:14:01 +0800 Message-Id: <71C9595D-DA7D-4361-853D-BAAB6E32304A@gmx.co.uk> From: Max To: "kenj@internode.on.net" Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Mailer: iPhone Mail (7A400) Mime-Version: 1.0 (iPhone Mail 7A400) X-ASG-Orig-Subj: Re: [pcp] Problem with pmUnits in latest changes Subject: Re: [pcp] Problem with pmUnits in latest changes Date: Fri, 23 Oct 2009 11:13:42 +1100 Cc: "pcp@oss.sgi.com" X-Barracuda-Connect: outbound.icp-qv1-irony-out2.iinet.net.au[203.59.1.107] X-Barracuda-Start-Time: 1256256846 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.12558 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On 20/10/2009, at 6:49, Ken McDonell wrote: > This commit is not quite correct. I'll have the fix soon, but this is > just a heads up before this one escapes too far. > > QA 027 (at least) is failing as a result. The fix makes me think if 027 is testing the right things- when would it make sense to have negative scale counts? I thought all counts were supposed to be enums like. max > From kenj@internode.on.net Thu Oct 22 21:15:15 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9N2FErp157835 for ; Thu, 22 Oct 2009 21:15:15 -0500 X-ASG-Debug-ID: 1256264207-38f703d20000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 3BDEF2F6E4 for ; Thu, 22 Oct 2009 19:16:48 -0700 (PDT) Received: from mail.internode.on.net (bld-mail17.adl2.internode.on.net [150.101.137.102]) by cuda.sgi.com with ESMTP id CVV3dzRR15EzgQe7 for ; Thu, 22 Oct 2009 19:16:48 -0700 (PDT) Received: from [124.180.11.177] (unverified [124.180.11.177]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 7073934-1927428 for multiple; Fri, 23 Oct 2009 12:46:46 +1030 (CDT) X-ASG-Orig-Subj: Re: [pcp] Problem with pmUnits in latest changes Subject: Re: [pcp] Problem with pmUnits in latest changes From: Ken McDonell Reply-To: kenj@internode.on.net To: Max Cc: "pcp@oss.sgi.com" In-Reply-To: <71C9595D-DA7D-4361-853D-BAAB6E32304A@gmx.co.uk> References: <71C9595D-DA7D-4361-853D-BAAB6E32304A@gmx.co.uk> Content-Type: text/plain Date: Fri, 23 Oct 2009 13:16:44 +1100 Message-Id: <1256264204.11914.11.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail17.adl2.internode.on.net[150.101.137.102] X-Barracuda-Start-Time: 1256264210 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.12566 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Let me simply quote directly from pmapi.h ... /* * pmUnits.scaleCount (e.g. count events, syscalls, interrupts, etc.) * -- these are simply powers of 10, and not enumerated here, * e.g. 6 for 10^6, or -3 for 10^-3 */ #define PM_COUNT_ONE 0 /* 1 */ So they are powers of 10, and negative numbers are acceptable ... although I do admit the notion of a microevent or nanopacket is not all that common ... 8^)> On Fri, 2009-10-23 at 11:13 +1100, Max wrote: > > On 20/10/2009, at 6:49, Ken McDonell wrote: > > > This commit is not quite correct. I'll have the fix soon, but this is > > just a heads up before this one escapes too far. > > > > QA 027 (at least) is failing as a result. > The fix makes me think if 027 is testing the right things- when would > it make sense to have negative scale counts? I thought all counts were > supposed to be enums like. > > max > > > > From goodwinos@gmail.com Fri Oct 23 00:14:51 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9N5Epn2167818 for ; Fri, 23 Oct 2009 00:14:51 -0500 X-ASG-Debug-ID: 1256274985-4b4200da0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mx1.redhat.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 8BA6BC38D40 for ; Thu, 22 Oct 2009 22:16:25 -0700 (PDT) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id 1P2JjejlQdfg0Vtt for ; Thu, 22 Oct 2009 22:16:25 -0700 (PDT) Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9N5GPDt029023 for ; Fri, 23 Oct 2009 01:16:25 -0400 Received: from [10.64.176.217] (dhcp-176-217.mel.redhat.com [10.64.176.217]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n9N5GNb0001091 for ; Fri, 23 Oct 2009 01:16:24 -0400 Message-ID: <4AE13C27.3080208@gmail.com> Date: Fri, 23 Oct 2009 16:16:23 +1100 From: Mark Goodwin User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: pcp@oss.sgi.com X-ASG-Orig-Subj: "config" file in RPM packages Subject: "config" file in RPM packages Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1256274986 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.12579 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Just seeking some feedback on RPM config files in the PCP RPM packages. The pcp-2.9.3 package (and the 3.x package build from pcp.spec.in by Makepkgs) mark the following as "config" files : $ rpm -qlvcp pcp-2.9.3-1.x86_64.rpm | awk '{print $NF}' /var/lib/pcp/config/pmafm/pcp /var/lib/pcp/config/pmcd/pmcd.conf /var/lib/pcp/config/pmcd/pmcd.options /var/lib/pcp/config/pmcd/rc.local /var/lib/pcp/config/pmchart/Apache /var/lib/pcp/config/pmchart/Cisco /var/lib/pcp/config/pmchart/Sample /var/lib/pcp/config/pmchart/Sendmail /var/lib/pcp/config/pmchart/Web.Alarms /var/lib/pcp/config/pmchart/Web.Allservers /var/lib/pcp/config/pmchart/Web.Perserver.Bytes /var/lib/pcp/config/pmchart/Web.Perserver.Requests /var/lib/pcp/config/pmchart/Web.Requests /var/lib/pcp/config/pmchart/Web.Volume /var/lib/pcp/config/pmchart/shping.CPUTime /var/lib/pcp/config/pmchart/shping.RealTime /var/lib/pcp/config/pmie/cisco/in_util /var/lib/pcp/config/pmie/cisco/out_util /var/lib/pcp/config/pmie/config.default /var/lib/pcp/config/pmie/control /var/lib/pcp/config/pmie/crontab /var/lib/pcp/config/pmie/stomp /var/lib/pcp/config/pmieconf/shping/response /var/lib/pcp/config/pmieconf/shping/status /var/lib/pcp/config/pmlogger/Makefile /var/lib/pcp/config/pmlogger/config.base /var/lib/pcp/config/pmlogger/config.default /var/lib/pcp/config/pmlogger/config.pcp /var/lib/pcp/config/pmlogger/config.pmclient /var/lib/pcp/config/pmlogger/config.pmstat /var/lib/pcp/config/pmlogger/config.sar /var/lib/pcp/config/pmlogger/control /var/lib/pcp/config/pmlogger/crontab /var/lib/pcp/config/pmproxy/pmproxy.options The current RPM packages built using the pcp_fedora spec has a shorter list of just the stuff you're actually likely to edit : $ rpm -qlvcp /home/mgoodwin/rpmbuild/RPMS/x86_64/pcp-3.0.1-2.fc10.x86_64.rpm /home/mgoodwin/rpmbuild/RPMS/x86_64/pcp-libs-3.0.1-2.fc10.x86_64.rpm /home/mgoodwin/rpmbuild/RPMS/x86_64/pcp-libs-devel-3.0.1-2.fc10.x86_64.rpm | awk '{print $NF}' /etc/bash_completion.d/pcp /etc/pcp.env /var/lib/pcp/config/pmcd/pmcd.conf /var/lib/pcp/config/pmcd/pmcd.options /var/lib/pcp/config/pmcd/rc.local /var/lib/pcp/config/pmie/config.default /var/lib/pcp/config/pmie/control /var/lib/pcp/config/pmie/crontab /var/lib/pcp/config/pmlogger/config.default /var/lib/pcp/config/pmlogger/control /var/lib/pcp/config/pmlogger/crontab /var/lib/pcp/config/pmproxy/pmproxy.options /etc/pcp.conf Apart from /etc/pcp.conf, these are all "config(noreplace)", meaning they'll be preserved in an RPM upgrade, if edited. If an incoming file is different to the old (unedited) version, it'll be installed as filename.rpmnew. The exception is /etc/pcp.conf, which is marked as "config"; if it has been edited, then during an upgrade the edited version will be renamed to pcp.conf.rpmsave. Any comments on this? I don't like the discrepancy and would prefer both packaging formats have the same set of config files and seems to me the shorter list is more manageable and sane. I also don't like having two RPM specs (and presumably, there will be yet another one for OpenSuSE et al). But feel free to shoot me down :) Cheers -- Mark From goodwinos@gmail.com Fri Oct 23 01:10:41 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9N6AeV3170385 for ; Fri, 23 Oct 2009 01:10:41 -0500 X-ASG-Debug-ID: 1256278335-192600880000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mx1.redhat.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 5508817BA332 for ; Thu, 22 Oct 2009 23:12:15 -0700 (PDT) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id B0pw9jAeO1JZq1Mg for ; Thu, 22 Oct 2009 23:12:15 -0700 (PDT) Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9N6CEnT004919 for ; Fri, 23 Oct 2009 02:12:15 -0400 Received: from [10.64.176.217] (dhcp-176-217.mel.redhat.com [10.64.176.217]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n9N6CDC3010886 for ; Fri, 23 Oct 2009 02:12:14 -0400 Message-ID: <4AE1493D.6020007@gmail.com> Date: Fri, 23 Oct 2009 17:12:13 +1100 From: Mark Goodwin User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: pcp@oss.sgi.com X-ASG-Orig-Subj: pcp updates Subject: pcp updates Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.17 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1256278336 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.12582 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Changes committed to git://oss.sgi.com/markgw/pcp.git dev commit e6f012c3c6d248e928628c2840f760e0d3c796e6 Author: Mark Goodwin Date: Fri Oct 23 17:06:18 2009 +1100 Fedora spec tweaks to improve macros, further refine %config files and "chkconfig off" by default for all three services (Fedora only). modified: build/rpm/pcp_fedora.spec Signed-off-by: Mark Goodwin commit eedbeaa428c61741ed8348a41d7c9fd3761ba045 Author: Mark Goodwin Date: Fri Oct 23 12:58:24 2009 +1100 Minor fix to Source0 for 3.0.1-2 modified: build/rpm/pcp_fedora.spec Signed-off-by: Mark Goodwin From mort@sgi.com Mon Oct 26 12:12:53 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,URIBL_BLACK autolearn=no version=3.3.0-rupdated Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9QHCrCc234807 for ; Mon, 26 Oct 2009 12:12:53 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay2.corp.sgi.com (Postfix) with ESMTP id D36E930408F; Mon, 26 Oct 2009 10:14:27 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id F2A8FA243300; Mon, 26 Oct 2009 12:14:26 -0500 (CDT) Date: Mon, 26 Oct 2009 12:14:26 -0500 From: Martin Hicks To: Mark Goodwin Cc: pcp@oss.sgi.com Subject: Re: [pcp] "config" file in RPM packages Message-ID: <20091026171426.GE12534@alcatraz.americas.sgi.com> References: <4AE13C27.3080208@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4AE13C27.3080208@gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Fri, Oct 23, 2009 at 04:16:23PM +1100, Mark Goodwin wrote: > > Just seeking some feedback on RPM config files in the PCP RPM packages. > > The pcp-2.9.3 package (and the 3.x package build from pcp.spec.in > by Makepkgs) mark the following as "config" files : > > $ rpm -qlvcp pcp-2.9.3-1.x86_64.rpm | awk '{print $NF}' > /var/lib/pcp/config/pmafm/pcp > /var/lib/pcp/config/pmcd/pmcd.conf > /var/lib/pcp/config/pmcd/pmcd.options > /var/lib/pcp/config/pmcd/rc.local > /var/lib/pcp/config/pmchart/Apache > /var/lib/pcp/config/pmchart/Cisco > /var/lib/pcp/config/pmchart/Sample > /var/lib/pcp/config/pmchart/Sendmail > /var/lib/pcp/config/pmchart/Web.Alarms > /var/lib/pcp/config/pmchart/Web.Allservers > /var/lib/pcp/config/pmchart/Web.Perserver.Bytes > /var/lib/pcp/config/pmchart/Web.Perserver.Requests > /var/lib/pcp/config/pmchart/Web.Requests > /var/lib/pcp/config/pmchart/Web.Volume > /var/lib/pcp/config/pmchart/shping.CPUTime > /var/lib/pcp/config/pmchart/shping.RealTime > /var/lib/pcp/config/pmie/cisco/in_util > /var/lib/pcp/config/pmie/cisco/out_util > /var/lib/pcp/config/pmie/config.default > /var/lib/pcp/config/pmie/control > /var/lib/pcp/config/pmie/crontab > /var/lib/pcp/config/pmie/stomp > /var/lib/pcp/config/pmieconf/shping/response > /var/lib/pcp/config/pmieconf/shping/status > /var/lib/pcp/config/pmlogger/Makefile > /var/lib/pcp/config/pmlogger/config.base > /var/lib/pcp/config/pmlogger/config.default > /var/lib/pcp/config/pmlogger/config.pcp > /var/lib/pcp/config/pmlogger/config.pmclient > /var/lib/pcp/config/pmlogger/config.pmstat > /var/lib/pcp/config/pmlogger/config.sar > /var/lib/pcp/config/pmlogger/control > /var/lib/pcp/config/pmlogger/crontab > /var/lib/pcp/config/pmproxy/pmproxy.options > > The current RPM packages built using the pcp_fedora spec > has a shorter list of just the stuff you're actually likely > to edit : I agree with this. I think a lot of these above are more like templates than config files. It would be a lot smarter for a user to make a copy and then edit if they want to modify a pmchart template. > I also don't like having two RPM specs (and presumably, > there will be yet another one for OpenSuSE et al). I think we're somewhat stuck with this. I don't know what changes openSuSE will require when I get time to push a newer pcp to them, but it seems like trying to merge the spec files together will just create a disaster of ifdefs. Another question I have is why pmcd.conf gets install 444. This is a config file that can be edited. The general standard for config files is 644. mh From kenj@internode.on.net Mon Oct 26 14:54:31 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9QJsT2S247983 for ; Mon, 26 Oct 2009 14:54:31 -0500 X-ASG-Debug-ID: 1256586965-61a200be0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 7AF853A123 for ; Mon, 26 Oct 2009 12:56:05 -0700 (PDT) Received: from mail.internode.on.net (bld-mail17.adl2.internode.on.net [150.101.137.102]) by cuda.sgi.com with ESMTP id XIzcJP7hIgqFYVUn for ; Mon, 26 Oct 2009 12:56:05 -0700 (PDT) Received: from [192.168.1.100] (unverified [118.209.159.102]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 7242254-1927428 for multiple; Tue, 27 Oct 2009 06:26:03 +1030 (CDT) X-ASG-Orig-Subj: Re: [pcp] "config" file in RPM packages Subject: Re: [pcp] "config" file in RPM packages From: Ken McDonell Reply-To: kenj@internode.on.net To: Martin Hicks Cc: Mark Goodwin , pcp@oss.sgi.com In-Reply-To: <20091026171426.GE12534@alcatraz.americas.sgi.com> References: <4AE13C27.3080208@gmail.com> <20091026171426.GE12534@alcatraz.americas.sgi.com> Content-Type: text/plain Date: Tue, 27 Oct 2009 06:56:00 +1100 Message-Id: <1256586960.6851.2.camel@bozo.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail17.adl2.internode.on.net[150.101.137.102] X-Barracuda-Start-Time: 1256586967 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.12921 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Mon, 2009-10-26 at 12:14 -0500, Martin Hicks wrote: > ... > Another question I have is why pmcd.conf gets install 444. This is a > config file that can be edited. The general standard for config files > is 644. There is no good reason for it to be mode 444 ... it is simply a historical accident. From kenj@internode.on.net Tue Oct 27 15:30:00 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_66 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9RKTxdl080362 for ; Tue, 27 Oct 2009 15:29:59 -0500 X-ASG-Debug-ID: 1256675495-5ec903a10000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 3FF0E40E67 for ; Tue, 27 Oct 2009 13:31:35 -0700 (PDT) Received: from mail.internode.on.net (bld-mail13.adl6.internode.on.net [150.101.137.98]) by cuda.sgi.com with ESMTP id WGtTzxEWJpVF1a6d for ; Tue, 27 Oct 2009 13:31:35 -0700 (PDT) Received: from [192.168.1.100] (unverified [118.209.212.148]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 7486728-1927428 for ; Wed, 28 Oct 2009 07:01:33 +1030 (CDT) X-ASG-Orig-Subj: pcpqa updates Subject: pcpqa updates From: Ken McDonell Reply-To: kenj@internode.on.net To: pcp@oss.sgi.com Content-Type: text/plain Date: Wed, 28 Oct 2009 07:31:30 +1100 Message-Id: <1256675490.6851.5.camel@bozo.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail13.adl6.internode.on.net[150.101.137.98] X-Barracuda-Start-Time: 1256675497 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.13012 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean With these changes and a couple of minor PCP tweaks (coming soon), I have QA passing now for all the tests I can run ... I don't have access to a 64-bit pmcd (Linux) or any IRIX pmcd instances or a working pmproxy, but I can test everything else with 100% passing in my local environment. Changes committed to git://oss.sgi.com/pcp/pcpqa.git 069 | 14 +- 072 | 2 117 | 4 119 | 2 216 | 313 ++++++++++++++++++++++++++++++++++++++++++++++++++++++---- 216.out | 1 308 | 43 +++++-- 315 | 3 365 | 16 +- 365.out.3 | 40 +++++++ 381 | 12 ++ 651 | 9 + common.config | 4 group | 3 owner | 1 15 files changed, 418 insertions(+), 49 deletions(-) commit caee5613458ba5f40ce294d7bff685d38fc62313 Author: Ken McDonell Date: Wed Oct 28 06:51:52 2009 +1100 216 Tighten up the list of metrics that can be checked Some of the netstat output is non-deterministic, so skip these parts and the associated metric matching. Also added extra diagnostic info for debugging. commit 220f585c8f293f0476cebeb640c171d17fe4a6fc Author: Ken McDonell Date: Tue Oct 27 21:36:05 2009 +1100 072 Make work on OS X as well as Linux swap.in is not present on Mac OS X, so substitute pmcd.pdu_in.fetch which has the same data type and semantics. commit 54ccba0edfbafad3b7dea288e801b33aa139e689 Author: Ken McDonell Date: Tue Oct 27 20:34:05 2009 +1100 069 Fix to make it work again Has been broken for quite some time ... sigh. commit fbd2cf81db29b43099fd644926de0c87d9df376e Author: Ken McDonell Date: Tue Oct 27 14:00:58 2009 +1100 Minor tweaks. Change Ken's host setup and remove debug diagnostics from 216. commit b0b337ced2ee52682db02fb99b7c6b3fbc379720 Author: Ken McDonell Date: Tue Oct 27 13:58:40 2009 +1100 216 Dual of 117 for Linux netstat and network.* metrics commit e375f63d19b8ae99667811e50052a1ad73a45752 Author: Ken McDonell Date: Thu Oct 22 14:01:41 2009 +1100 308 Tighten "not run" condition to include necessary proc metrics Since pmlogger is started logging proc.psinfo.ppid, make sure this metric is available. Also added some diagnostics for debugging the test. commit 05f439305a7c144dc3efc1bcccb67ceac16effb2 Author: Ken McDonell Date: Wed Oct 21 17:29:58 2009 +1100 365 Fix so it really works as intended. Logic problem meant check for installed version was not correct. Once this was fixed, exposed missing reference output file which is added in this commit. commit e543fdd8eb8489a234ea36b395c7fc4f84f98706 Author: Ken McDonell Date: Wed Oct 21 16:50:46 2009 +1100 381 add verbose diagnostics to aid debugging test failure commit eb3d17a38064d0fc1ccc72d70f3f157d66ad7ed8 Author: Ken McDonell Date: Wed Oct 21 09:47:27 2009 +1100 651 Make sure pmproxy is killed before and after the test Fixes a race and an intermittent failure condition. commit 7382fdae6b28730728683808727312e35acae98a Author: Ken McDonell Date: Wed Oct 21 07:08:58 2009 +1100 315 Fixed intermittent failure Sometimes this would fail with odd extra lines of the form ... + rm -f TMP/pmie/529 Finally tracked down the problem that was caused by the corpses of old zombie pmie processes from earlier QA tests. commit f6dc57545ecf57d524b50e31fd2ac6e42d72051a Author: Ken McDonell Date: Wed Oct 21 07:06:34 2009 +1100 119 Fixed intermittent failure Sometimes this would fail with ... pmlogger_check: Warning: removing lock file older than 30 minutes ls: cannot access /LOCALHOST-two/lock: No such file or directory Finally tracked down the problem, which relates obscurely to a missing initialization for $LOGGING_DIR. From kenj@internode.on.net Tue Oct 27 15:33:33 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9RKXWvO080765 for ; Tue, 27 Oct 2009 15:33:33 -0500 X-ASG-Debug-ID: 1256675708-371a00360000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id B8B8BC6CB27 for ; Tue, 27 Oct 2009 13:35:08 -0700 (PDT) Received: from mail.internode.on.net (bld-mail19.adl2.internode.on.net [150.101.137.104]) by cuda.sgi.com with ESMTP id EXb7EzSsMzK09UBJ for ; Tue, 27 Oct 2009 13:35:08 -0700 (PDT) Received: from [192.168.1.100] (unverified [118.209.212.148]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 7324782-1927428 for ; Wed, 28 Oct 2009 07:05:07 +1030 (CDT) X-ASG-Orig-Subj: pcp updates Subject: pcp updates From: Ken McDonell Reply-To: kenj@internode.on.net To: pcp@oss.sgi.com Content-Type: text/plain Date: Wed, 28 Oct 2009 07:35:03 +1100 Message-Id: <1256675703.6851.6.camel@bozo.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail19.adl2.internode.on.net[150.101.137.104] X-Barracuda-Start-Time: 1256675710 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.13011 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Both are pretty low risk and unlikely to be seen outside of a PCP QA environment. Changes committed to git://oss.sgi.com/kenj/pcp.git dev src/pmlc/actions.c | 12 +++++++++++- src/pmlogctl/pmlogger_check.sh | 19 ++++++++++++++----- 2 files changed, 25 insertions(+), 6 deletions(-) commit eb054ac176ab06bcd978e4b6a3d26e9e2f9c9927 Author: Ken McDonell Date: Wed Oct 28 07:20:28 2009 +1100 pmlogger_check fix small timing window / race condition There was a race condition that was sometimes exposed by QA test 119 where the attempt to create the lock file would fail because the lock file already existed, but by the time the status of the lock file was checked the lock file had been removed. Some convoluted logic translated this into the confusing messages Warning: removing lock file older than 30 minutes ls: cannot access /lock: No such file or directory Fixed by a guard to test the existence of the lock file after the pmlock fails. All of this is safe because it is within a loop that keeps trying to acquire the lock, and the race condition is most unlikely to be persistent. commit 0485576b39c160561c1ae548331be022b098d314 Author: Ken McDonell Date: Wed Oct 21 16:42:59 2009 +1100 pmlc sometimes connnects to wrong pmcd This was causing QA/381 to fail sometimes (depending on the setup of the remote qa hosts). After connecting to pmlogger, pmlc may need to connect to the same pmcd that pmlogger is connected to. When pmlogger is connected to pmcd on "localhost" and pmlc is run from a different machine, then pmlc may connect to the wrong pmcd or no pmcd at all, depending on the state of the host where pmlc is run. From daw@sgi.com Fri Oct 2 13:19:00 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n92IJ0YN012086 for ; Fri, 2 Oct 2009 13:19:00 -0500 Received: from zion.americas.sgi.com (zion.americas.sgi.com [128.162.236.17]) by relay2.corp.sgi.com (Postfix) with ESMTP id 5D558304064 for ; Wed, 28 Oct 2009 12:55:03 -0700 (PDT) Received: (from daw@localhost) by zion.americas.sgi.com (8.12.9/ASC-news-1.4) id n9SJt3Nb32623721 for pcp@oss.sgi.com; Wed, 28 Oct 2009 14:55:03 -0500 (CDT) Message-Id: <200910281955.n9SJt3Nb32623721@zion.americas.sgi.com> Subject: pmchart port # on windows To: pcp@oss.sgi.com Date: Wed, 28 Oct 2009 14:55:03 -0500 (CDT) From: David Wright X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Hello, Sorry not a windows expert but how do I point a windows pmchart to a different port? On linux: export PMCD_PORT=1084 our firewall is using port forwarding pmchart -h 127.0.0.1 So how do I do that in WinXP? Thanks, Dave Wright From nscott@aconex.com Fri Oct 2 16:15:54 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n92LFrBf027014 for ; Fri, 2 Oct 2009 16:15:54 -0500 X-ASG-Debug-ID: 1256770316-1d0103600000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id EFD9C12C337F for ; Wed, 28 Oct 2009 15:51:57 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id 2PT9C8zWjnWs6VXT for ; Wed, 28 Oct 2009 15:51:57 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam & Virus Firewall) with ESMTP id 4F7C1571EA6; Thu, 29 Oct 2009 09:51:55 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id Uw3Tq3EbCBP38ixo; Thu, 29 Oct 2009 09:51:55 +1100 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 4B587A502B0; Thu, 29 Oct 2009 09:50:24 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 33E334FD86; Thu, 29 Oct 2009 09:51:55 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NKh1TffB+HZQ; Thu, 29 Oct 2009 09:51:50 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 6CA124FD82; Thu, 29 Oct 2009 09:51:50 +1100 (EST) Date: Thu, 29 Oct 2009 09:51:50 +1100 (EST) From: Nathan Scott To: David Wright Cc: pcp@oss.sgi.com Message-ID: <522138161.104461256770310337.JavaMail.root@mail-au.aconex.com> In-Reply-To: <200910281955.n9SJt3Nb32623721@zion.americas.sgi.com> X-ASG-Orig-Subj: Re: [pcp] pmchart port # on windows Subject: Re: [pcp] pmchart port # on windows MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.18_GA_3011.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.18_GA_3011.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1256770318 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.13110 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "David Wright" wrote: > Hello, > > Sorry not a windows expert but how do I point a windows pmchart to a > different port? On linux: > > export PMCD_PORT=1084 our firewall is using port > forwarding > pmchart -h 127.0.0.1 > > > So how do I do that in WinXP? > On all platforms, you can nowadays use the "extended" host syntax, which in your case would be "localhost:1084" - in general its: host[:port][@proxyhost[:proxyport]] This works both from the command line (for all pcp tools), and from within the pmchart GUI in the "new host" dialog boxes (in the Open View and the New Chart dialogs). cheers. -- Nathan From mort@sgi.com Thu Oct 29 15:06:29 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-4.0 required=5.0 tests=AWL,BAYES_00,LOCAL_GNU_PATCH autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9TK6TEK114617 for ; Thu, 29 Oct 2009 15:06:29 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay2.corp.sgi.com (Postfix) with ESMTP id CB4533040BA for ; Thu, 29 Oct 2009 13:06:37 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id 91BFFA243300; Thu, 29 Oct 2009 15:06:37 -0500 (CDT) Date: Thu, 29 Oct 2009 15:06:37 -0500 From: Martin Hicks To: pcp@oss.sgi.com Subject: QA updates Message-ID: <20091029200637.GY10537@alcatraz.americas.sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean I pushed the following updates to QA into git://oss.sgi.com/mort/pcpqa.git This gives me a clean QA run for my pcp-3.0.1 tree, except for tests 216 and 600. I ran out of time, so I figured I would just paste the diffs and see if there is an easy answer from anyone: pcpqa@opensuse11-1:~/pcpqa> diff -u 216.out 216.out.bad --- 216.out 2009-10-28 10:09:46.000000000 -0400 +++ 216.out.bad 2009-10-29 16:04:59.000000000 -0400 @@ -1 +1,8 @@ QA output created by 216 +Update list! fewer metrics (24) than netstat statistics (26) +network.ip.forwdatagrams = 0 out of range 10..10 +network.ip.indelivers = 1115232 out of range 0..0 +network.ip.outrequests = 1068851 out of range 1115211..1115397 +network.ip.outnoroutes = 0 out of range 1068799..1068985 +unknown.pcp.metric = 42424242 out of range 0..0 +unknown.pcp.metric = 42424242 out of range 0..0 pcpqa@opensuse11-1:~/pcpqa> pcpqa@opensuse11-1:~/pcpqa> diff -u 600.out 600.out.bad --- 600.out 2009-10-27 15:17:25.000000000 -0400 +++ 600.out.bad 2009-10-29 15:42:43.000000000 -0400 @@ -24,7 +24,7 @@ In March daylight saving is off, and the time is 01 March 2000 22:00 ABC In September daylight saving is off, and the time is 01 September 2000 22:00 ABC -:Someplace/Somewhere -> UTC -In March daylight saving is off, and the time is 01 March 2000 12:00 UTC -In September daylight saving is off, and the time is 01 September 2000 12:00 UTC +:Someplace/Somewhere -> Someplace/Somewhere +In March daylight saving is off, and the time is 01 March 2000 12:00 Someplace/Somewhere +In September daylight saving is off, and the time is 01 September 2000 12:00 Someplace/Somewhere commit 6a6bc4a998bfca9311a462512e4e8e2682951459 Author: Martin Hicks Date: Thu Oct 29 16:00:22 2009 -0400 Update qa_hosts.master Remove a lot of dead SGI machines, add my home QA KVM hosts. commit 772ba357dfbe43d5d98a9c55d7593ca8c25608bc Author: Martin Hicks Date: Thu Oct 29 15:59:51 2009 -0400 555 Skip the test if not running syslog OpenSuSE has syslog-ng, so skip this test. commit 1bbe95e26c4386a4fb6ea5a13cf17b88a77f39ac Author: Martin Hicks Date: Thu Oct 29 15:59:20 2009 -0400 446 Use PCP_LIB_DIR to get the path right on 64bit On 64 bit linux the lib path is correctly set by PCP_LIB_DIR as /usr/lib64 commit ef779ae02a81f0720b5efa20ca1edf9937a7a99d Author: Martin Hicks Date: Thu Oct 29 15:57:45 2009 -0400 374 Fix calls to getpmcdhosts with pcp>=2 The pcp>=2 gets treated as a redirect. I added some magic to make this test pass, but I don't love it.. commit b8a9716123651fc496e1968c50c5d4ef6767c9fd Author: Martin Hicks Date: Thu Oct 29 15:55:18 2009 -0400 288 Use '-z' with the archive to get the timezone correct commit e9bb986bb11059528b3f1923bc67ee3ec953e09a Author: Martin Hicks Date: Thu Oct 29 15:54:07 2009 -0400 214 Use '-z' to ensure that the commands use the correct tz This stuff has never been run outside of Australia :) commit 575fa81560a5d513cb76acd0f888b6fee8a1e429 Author: Martin Hicks Date: Thu Oct 29 15:52:36 2009 -0400 188 Update for newer SLES and OpenSuSE versions There are version-conditional bits in here that needed updating. commit e7c0443c47eafabcce1b95e71455349acf0baf3f Author: Martin Hicks Date: Thu Oct 29 15:50:30 2009 -0400 128 filter out extraneous output on openSuSE When killing the workload on SuSE there was extra info coming out to the terminal. From kenj@internode.on.net Thu Oct 29 16:17:04 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9TLH3Ze117352 for ; Thu, 29 Oct 2009 16:17:04 -0500 X-ASG-Debug-ID: 1256851031-70d802530000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 17B1049C51 for ; Thu, 29 Oct 2009 14:17:12 -0700 (PDT) Received: from mail.internode.on.net (bld-mail16.adl2.internode.on.net [150.101.137.101]) by cuda.sgi.com with ESMTP id 8leJOpM8ken5o6hW for ; Thu, 29 Oct 2009 14:17:12 -0700 (PDT) Received: from [192.168.1.100] (unverified [118.209.212.148]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 7525344-1927428 for multiple; Fri, 30 Oct 2009 07:47:10 +1030 (CDT) X-ASG-Orig-Subj: Re: [pcp] QA updates Subject: Re: [pcp] QA updates From: Ken McDonell Reply-To: kenj@internode.on.net To: Martin Hicks Cc: pcp@oss.sgi.com In-Reply-To: <20091029200637.GY10537@alcatraz.americas.sgi.com> References: <20091029200637.GY10537@alcatraz.americas.sgi.com> Content-Type: text/plain Date: Fri, 30 Oct 2009 08:17:04 +1100 Message-Id: <1256851025.6851.33.camel@bozo.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail16.adl2.internode.on.net[150.101.137.101] X-Barracuda-Start-Time: 1256851034 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.13194 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Can you send me the 216.full file ... I'll tweak the test accordingly? I think 600 is one of those problematic ones ... send me the output from ls -l 600* and the 600.full file and I'll see if I can sort it out. The logic in 600 for picking which is the expected outcome is very convoluted ... the fact that we have FOUR possible linux output files gives some indication of the mess we're trying to untangle. On Thu, 2009-10-29 at 15:06 -0500, Martin Hicks wrote: > I pushed the following updates to QA into > > git://oss.sgi.com/mort/pcpqa.git > > > This gives me a clean QA run for my pcp-3.0.1 tree, except for tests 216 > and 600. I ran out of time, so I figured I would just paste the diffs > and see if there is an easy answer from anyone: > > pcpqa@opensuse11-1:~/pcpqa> diff -u 216.out 216.out.bad > --- 216.out 2009-10-28 10:09:46.000000000 -0400 > +++ 216.out.bad 2009-10-29 16:04:59.000000000 -0400 > @@ -1 +1,8 @@ > QA output created by 216 > +Update list! fewer metrics (24) than netstat statistics (26) > +network.ip.forwdatagrams = 0 out of range 10..10 > +network.ip.indelivers = 1115232 out of range 0..0 > +network.ip.outrequests = 1068851 out of range 1115211..1115397 > +network.ip.outnoroutes = 0 out of range 1068799..1068985 > +unknown.pcp.metric = 42424242 out of range 0..0 > +unknown.pcp.metric = 42424242 out of range 0..0 > pcpqa@opensuse11-1:~/pcpqa> > > pcpqa@opensuse11-1:~/pcpqa> diff -u 600.out 600.out.bad > --- 600.out 2009-10-27 15:17:25.000000000 -0400 > +++ 600.out.bad 2009-10-29 15:42:43.000000000 -0400 > @@ -24,7 +24,7 @@ > In March daylight saving is off, and the time is 01 March 2000 22:00 ABC > In September daylight saving is off, and the time is 01 September 2000 22:00 ABC > > -:Someplace/Somewhere -> UTC > -In March daylight saving is off, and the time is 01 March 2000 12:00 UTC > -In September daylight saving is off, and the time is 01 September 2000 12:00 UTC > +:Someplace/Somewhere -> Someplace/Somewhere > +In March daylight saving is off, and the time is 01 March 2000 12:00 Someplace/Somewhere > +In September daylight saving is off, and the time is 01 September 2000 12:00 Someplace/Somewhere > > > > > commit 6a6bc4a998bfca9311a462512e4e8e2682951459 > Author: Martin Hicks > Date: Thu Oct 29 16:00:22 2009 -0400 > > Update qa_hosts.master > > Remove a lot of dead SGI machines, add my home QA KVM hosts. > > commit 772ba357dfbe43d5d98a9c55d7593ca8c25608bc > Author: Martin Hicks > Date: Thu Oct 29 15:59:51 2009 -0400 > > 555 Skip the test if not running syslog > > OpenSuSE has syslog-ng, so skip this test. > > commit 1bbe95e26c4386a4fb6ea5a13cf17b88a77f39ac > Author: Martin Hicks > Date: Thu Oct 29 15:59:20 2009 -0400 > > 446 Use PCP_LIB_DIR to get the path right on 64bit > > On 64 bit linux the lib path is correctly set by PCP_LIB_DIR > as /usr/lib64 > > commit ef779ae02a81f0720b5efa20ca1edf9937a7a99d > Author: Martin Hicks > Date: Thu Oct 29 15:57:45 2009 -0400 > > 374 Fix calls to getpmcdhosts with pcp>=2 > > The pcp>=2 gets treated as a redirect. I added some magic > to make this test pass, but I don't love it.. > > commit b8a9716123651fc496e1968c50c5d4ef6767c9fd > Author: Martin Hicks > Date: Thu Oct 29 15:55:18 2009 -0400 > > 288 Use '-z' with the archive to get the timezone correct > > commit e9bb986bb11059528b3f1923bc67ee3ec953e09a > Author: Martin Hicks > Date: Thu Oct 29 15:54:07 2009 -0400 > > 214 Use '-z' to ensure that the commands use the correct tz > > This stuff has never been run outside of Australia :) > > commit 575fa81560a5d513cb76acd0f888b6fee8a1e429 > Author: Martin Hicks > Date: Thu Oct 29 15:52:36 2009 -0400 > > 188 Update for newer SLES and OpenSuSE versions > > There are version-conditional bits in here that needed updating. > > commit e7c0443c47eafabcce1b95e71455349acf0baf3f > Author: Martin Hicks > Date: Thu Oct 29 15:50:30 2009 -0400 > > 128 filter out extraneous output on openSuSE > > When killing the workload on SuSE there was extra info > coming out to the terminal. > > > _______________________________________________ > pcp mailing list > pcp@oss.sgi.com > http://oss.sgi.com/mailman/listinfo/pcp From goodwinos@gmail.com Thu Oct 29 19:12:15 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_53, J_CHICKENPOX_65,J_CHICKENPOX_66 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9U0CFX6124336 for ; Thu, 29 Oct 2009 19:12:15 -0500 X-ASG-Debug-ID: 1256861544-526502f40000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mx1.redhat.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 4AAD7C88E32; Thu, 29 Oct 2009 17:12:24 -0700 (PDT) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id qiFrd1R7i1bOQcR7; Thu, 29 Oct 2009 17:12:24 -0700 (PDT) Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9U0CO5s026177; Thu, 29 Oct 2009 20:12:24 -0400 Received: from [10.11.10.226] (vpn-10-226.rdu.redhat.com [10.11.10.226]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n9U0CLj5026536; Thu, 29 Oct 2009 20:12:22 -0400 Message-ID: <4AEA2F64.1010507@gmail.com> Date: Fri, 30 Oct 2009 11:12:20 +1100 From: Mark Goodwin User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Martin Hicks CC: pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] "config" file in RPM packages Subject: Re: [pcp] "config" file in RPM packages References: <4AE13C27.3080208@gmail.com> <20091026171426.GE12534@alcatraz.americas.sgi.com> In-Reply-To: <20091026171426.GE12534@alcatraz.americas.sgi.com> Content-Type: multipart/mixed; boundary="------------040608040708080701050203" X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1256861546 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: 0.23 X-Barracuda-Spam-Status: No, SCORE=0.23 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE_7580D, BSF_RULE_7580E, BSF_RULE_7580G X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.13206 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.75 BSF_RULE_7580G BODY: Custom Rule 7580G 0.75 BSF_RULE_7580D BODY: Custom Rule 7580D 0.75 BSF_RULE_7580E BODY: Custom Rule 7580E X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean This is a multi-part message in MIME format. --------------040608040708080701050203 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Martin Hicks wrote: > On Fri, Oct 23, 2009 at 04:16:23PM +1100, Mark Goodwin wrote: >> Just seeking some feedback on RPM config files in the PCP RPM packages. >> ... >> The current RPM packages built using the pcp_fedora spec >> has a shorter list of just the stuff you're actually likely >> to edit : > > I agree with this. I think a lot of these above are more like > templates than config files. It would be a lot smarter for a user to > make a copy and then edit if they want to modify a pmchart template. OK, the attached patch for review trims the config files to just the following list, which is now the same as in the Fedora spec : /etc/bash_completion.d/pcp /etc/pcp.env /var/lib/pcp/config/pmcd/pmcd.conf /var/lib/pcp/config/pmcd/pmcd.options /var/lib/pcp/config/pmcd/rc.local /var/lib/pcp/config/pmie/config.default /var/lib/pcp/config/pmie/control /var/lib/pcp/config/pmie/crontab /var/lib/pcp/config/pmlogger/config.default /var/lib/pcp/config/pmlogger/control /var/lib/pcp/config/pmlogger/crontab /var/lib/pcp/config/pmproxy/pmproxy.options /etc/pcp.conf > >> I also don't like having two RPM specs (and presumably, >> there will be yet another one for OpenSuSE et al). > > I think we're somewhat stuck with this. grumble, yeah ok we can live with it for now. > Another question I have is why pmcd.conf gets install 444. This is a > config file that can be edited. The general standard for config files > is 644. > Ken answered, so I'll commit a fix for this to my tree later today, along with the attached patch if I can get an ack. Cheers -- Mark --------------040608040708080701050203 Content-Type: text/x-patch; name="tweak_conf_files.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="tweak_conf_files.patch" diff --git a/GNUmakefile b/GNUmakefile index 0fb43f0..0252f4e 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -55,7 +55,7 @@ LDIRT = config.cache config.status config.log files.rpm pro_files.rpm \ root-*/include root-*/lib root-*/*.rpm root-*/default_pro \ autom4te.cache install.manifest install_pro.manifest \ debug*.list devel_files libs_files base_files.rpm libs_files.rpm \ - devel_files.rpm perl-pcp*.list* + devel_files.rpm perl-pcp*.list* conf_files SUBDIRS = src man build debian ifeq "$(MAKECMDGOALS)" "clobber" diff --git a/build/rpm/pcp.spec.in b/build/rpm/pcp.spec.in index 08aab01..97bb741 100644 --- a/build/rpm/pcp.spec.in +++ b/build/rpm/pcp.spec.in @@ -175,11 +175,31 @@ sed -i -e 's/usr\/lib\//usr\/lib64\//' devel_files awk '{print $NF}' $DIST_MANIFEST |\ egrep 'pcp\/(examples|demos)|pmdas\/(sample|simple|trivial|txmon)' >>devel_files +# +# Patterns for files to be marked %config(noreplace). +# Note: /etc/pcp.conf is %config, but not noreplace +# and is treated specially below. +cat >conf_files <> f } -$1 == "f" { if ( match ($6, "'$PCP_VAR_DIR'/config") || - match ($6, "'$PCP_SYSCONFIG_DIR'") ) { - printf ("%%%%config(noreplace) ") >> f; + +$1 == "f" && $6 ~ "etc/pcp.conf" { printf ("%%%%config ") >> f; } +$1 == "f" { + for (i=0; i < nconf; i++) { + if ($6 ~ conf[i]) { + printf ("%%%%config(noreplace) ") >> f; + break; + } } if (match ($6, "'$PCP_MAN_DIR'") || match ($6, "'$PCP_DOC_DIR'")) { printf ("%%%%doc ") >> f; --------------040608040708080701050203-- From goodwinos@gmail.com Thu Oct 29 21:48:38 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9U2mbu8133054 for ; Thu, 29 Oct 2009 21:48:37 -0500 X-ASG-Debug-ID: 1256870927-675b03aa0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mx1.redhat.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id E6510C893FD; Thu, 29 Oct 2009 19:48:47 -0700 (PDT) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id QFXJDabHGcQSmBvq; Thu, 29 Oct 2009 19:48:47 -0700 (PDT) Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9U2mijL029667; Thu, 29 Oct 2009 22:48:44 -0400 Received: from [10.67.5.102] (vpn1-5-102.sin2.redhat.com [10.67.5.102]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n9U2mfAd025478; Thu, 29 Oct 2009 22:48:42 -0400 Message-ID: <4AEA5407.4090800@gmail.com> Date: Fri, 30 Oct 2009 13:48:39 +1100 From: Mark Goodwin User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: kenj@internode.on.net CC: Martin Hicks , pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] "config" file in RPM packages Subject: Re: [pcp] "config" file in RPM packages References: <4AE13C27.3080208@gmail.com> <20091026171426.GE12534@alcatraz.americas.sgi.com> <1256586960.6851.2.camel@bozo.localdomain> In-Reply-To: <1256586960.6851.2.camel@bozo.localdomain> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1256870928 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.13216 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Ken McDonell wrote: > On Mon, 2009-10-26 at 12:14 -0500, Martin Hicks wrote: >> ... >> Another question I have is why pmcd.conf gets install 444. This is a >> config file that can be edited. The general standard for config files >> is 644. > > There is no good reason for it to be mode 444 ... it is simply a > historical accident. > actually, it is installed as 0644, but later pmdaproc.sh changes it to 0444. I've committed the fix to pmdaproc.sh. -- Mark From goodwinos@gmail.com Thu Oct 29 21:50:20 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9U2oK7P133243 for ; Thu, 29 Oct 2009 21:50:20 -0500 X-ASG-Debug-ID: 1256871031-389602d10000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mx1.redhat.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id D549217F506F for ; Thu, 29 Oct 2009 19:50:31 -0700 (PDT) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id GFXuEnKj3CTVSg11 for ; Thu, 29 Oct 2009 19:50:31 -0700 (PDT) Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9U2oUHw016969 for ; Thu, 29 Oct 2009 22:50:30 -0400 Received: from [10.67.5.102] (vpn1-5-102.sin2.redhat.com [10.67.5.102]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n9U2oSaV006339 for ; Thu, 29 Oct 2009 22:50:29 -0400 Message-ID: <4AEA5472.6050604@gmail.com> Date: Fri, 30 Oct 2009 13:50:26 +1100 From: Mark Goodwin User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: pcp@oss.sgi.com X-ASG-Orig-Subj: pcp updates Subject: pcp updates Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1256871031 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.13217 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Changes committed to git://oss.sgi.com/markgw/pcp.git dev commit 06cbeb3ec3017b2e573dc45ac7e0af63f819a2e6 Author: Mark Goodwin Date: Fri Oct 30 13:44:26 2009 +1100 pmcd.conf should be mode 0644 rather than 0444 when modified or restored by pmdaproc.sh. modified: src/pmcd/pmdaproc.sh Signed-off-by: Mark Goodwin commit a59eeb34df70538350561d333fa80b108b6b5fd9 Author: Mark Goodwin Date: Fri Oct 30 13:31:28 2009 +1100 Trim RPM %config files to just those files that are likely to actually be edited. The community packaged RPMs from build/rpm/pcp.spec.in) and the Fedora / Red Hat RPMs (build/rpm/pcp_fedora.spec) are now in sync for this. modified: CHANGELOG modified: GNUmakefile modified: build/rpm/pcp.spec.in Signed-off-by: Mark Goodwin From nscott@aconex.com Thu Oct 29 22:38:29 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9U3cS4H137075 for ; Thu, 29 Oct 2009 22:38:28 -0500 X-ASG-Debug-ID: 1256873919-389403e10000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 1761D1467185 for ; Thu, 29 Oct 2009 20:38:39 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id qED7qJsdqL0I4A1k for ; Thu, 29 Oct 2009 20:38:39 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam & Virus Firewall) with ESMTP id 132517777E0 for ; Fri, 30 Oct 2009 14:38:37 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id iS1kAdcifXmqXji6 for ; Fri, 30 Oct 2009 14:38:37 +1100 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 6346BA5011D for ; Fri, 30 Oct 2009 14:37:05 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id E894B4FD84 for ; Fri, 30 Oct 2009 14:38:36 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Yc6ZMii7fqlV for ; Fri, 30 Oct 2009 14:38:32 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id DE33D4FD82 for ; Fri, 30 Oct 2009 14:38:32 +1100 (EST) Date: Fri, 30 Oct 2009 14:38:32 +1100 (EST) From: Nathan Scott To: pcp Message-ID: <1568572842.142591256873912749.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp updates Subject: pcp updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.18_GA_3011.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.18_GA_3011.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1256873920 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.13219 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Status: Clean Changes committed to git://oss.sgi.com/pcp/pcp.git debian/changelog | 5 ++++- debian/control | 6 +++--- man/man3/pmnewcontext.3 | 3 ++- 3 files changed, 9 insertions(+), 5 deletions(-) commit ac34d6d5e5063373616d2c8af0c7783f45764811 Author: Nathan Scott Date: Fri Oct 30 14:30:55 2009 +1100 Update debian packaging to resolve a couple of dependency issues. commit 9bca4d841bcf30d7dc0572a26f5df92518d65341 Author: Nathan Scott Date: Fri Oct 30 14:30:12 2009 +1100 Fix typo in pmNewContext man page. From mort@sgi.com Fri Oct 30 07:49:51 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9UCnp6G202755 for ; Fri, 30 Oct 2009 07:49:51 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay3.corp.sgi.com (Postfix) with ESMTP id D5E10AC001; Fri, 30 Oct 2009 05:49:59 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id 7AED7A243300; Fri, 30 Oct 2009 07:49:59 -0500 (CDT) Date: Fri, 30 Oct 2009 07:49:59 -0500 From: Martin Hicks To: Mark Goodwin Cc: pcp@oss.sgi.com Subject: Re: [pcp] "config" file in RPM packages Message-ID: <20091030124959.GB10537@alcatraz.americas.sgi.com> References: <4AE13C27.3080208@gmail.com> <20091026171426.GE12534@alcatraz.americas.sgi.com> <4AEA2F64.1010507@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4AEA2F64.1010507@gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Fri, Oct 30, 2009 at 11:12:20AM +1100, Mark Goodwin wrote: > >> Another question I have is why pmcd.conf gets install 444. This is a >> config file that can be edited. The general standard for config files >> is 644. >> > > Ken answered, so I'll commit a fix for this to my tree later > today, along with the attached patch if I can get an ack. Patch looks good to me. mh From mort@sgi.com Fri Oct 30 10:53:16 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9UFrGQ0225162 for ; Fri, 30 Oct 2009 10:53:16 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay3.corp.sgi.com (Postfix) with ESMTP id 32481AC00B; Fri, 30 Oct 2009 08:53:25 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id 8E06CA243300; Fri, 30 Oct 2009 10:53:24 -0500 (CDT) Date: Fri, 30 Oct 2009 10:53:24 -0500 From: Martin Hicks To: Ken McDonell Cc: pcp@oss.sgi.com Subject: Re: [pcp] QA updates Message-ID: <20091030155324.GF10537@alcatraz.americas.sgi.com> References: <20091029200637.GY10537@alcatraz.americas.sgi.com> <1256851025.6851.33.camel@bozo.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1256851025.6851.33.camel@bozo.localdomain> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Fri, Oct 30, 2009 at 08:17:04AM +1100, Ken McDonell wrote: > Can you send me the 216.full file ... I'll tweak the test accordingly? > > I think 600 is one of those problematic ones ... send me the output from > > ls -l 600* > > and the 600.full file and I'll see if I can sort it out. The logic in > 600 for picking which is the expected outcome is very convoluted ... the > fact that we have FOUR possible linux output files gives some indication > of the mess we're trying to untangle. http://oss.sgi.com/~mort/216.full http://oss.sgi.com/~mort/600.full and: pcpqa@opensuse11-1:~/pcpqa> ls -l 600* -rwxr-xr-x 1 pcpqa users 4172 2009-10-30 10:44 600 -rw-r--r-- 1 pcpqa users 1503 2009-10-30 10:39 600.full -rw-r--r-- 2 pcpqa users 1480 2009-10-27 15:17 600.out -rw-r--r-- 1 pcpqa users 1554 2009-10-30 10:39 600.out.bad -rw-r--r-- 1 pcpqa users 1483 2009-10-27 15:17 600.out.irix -rw-r--r-- 1 pcpqa users 1530 2009-10-27 15:17 600.out.linux.0 -rw-r--r-- 1 pcpqa users 1528 2009-10-27 15:17 600.out.linux.1 -rw-r--r-- 1 pcpqa users 1528 2009-10-27 15:17 600.out.linux.2 -rw-r--r-- 2 pcpqa users 1480 2009-10-27 15:17 600.out.linux.3 216 seems to have 4 different addidions and subtractions. I looked a bit, but it wasn't clear what the best route was to fix this test. 600 seems to be using the linux.3 output file correctly. I did verify that this test passes on my glibc-2.9 debian machine. mh From kenj@internode.on.net Fri Oct 30 22:43:44 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9V3hght023655 for ; Fri, 30 Oct 2009 22:43:44 -0500 X-ASG-Debug-ID: 1256960631-59fb01e20000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 4B0EF1807E0E for ; Fri, 30 Oct 2009 20:43:52 -0700 (PDT) Received: from mail.internode.on.net (bld-mail12.adl6.internode.on.net [150.101.137.97]) by cuda.sgi.com with ESMTP id u1mc95zuL6UtBuZk for ; Fri, 30 Oct 2009 20:43:52 -0700 (PDT) Received: from [124.184.117.224] (unverified [124.184.117.224]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 7612786-1927428 for multiple; Sat, 31 Oct 2009 14:13:50 +1030 (CDT) X-ASG-Orig-Subj: Re: [pcp] QA updates Subject: Re: [pcp] QA updates From: Ken McDonell Reply-To: kenj@internode.on.net To: Martin Hicks Cc: pcp@oss.sgi.com In-Reply-To: <20091030155324.GF10537@alcatraz.americas.sgi.com> References: <20091029200637.GY10537@alcatraz.americas.sgi.com> <1256851025.6851.33.camel@bozo.localdomain> <20091030155324.GF10537@alcatraz.americas.sgi.com> Content-Type: multipart/mixed; boundary="=-GFyt0v2Fb9IWQad0zzxJ" Date: Sat, 31 Oct 2009 14:43:43 +1100 Message-Id: <1256960623.5160.49.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 X-Barracuda-Connect: bld-mail12.adl6.internode.on.net[150.101.137.97] X-Barracuda-Start-Time: 1256960634 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.13311 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean --=-GFyt0v2Fb9IWQad0zzxJ Content-Type: text/plain Content-Transfer-Encoding: 7bit Martin, OK, for 600 you should be using 600.out.linux.1 ... that was the version that worked for SLES9 (the last comment I could find in the qa test) and looks like it is still the expected version. Rather than play the glibc version games, it would probably be simpler to just use 600.out.linux.1 for SLES ... could you try the attached version of 600 and see if that works for you? 216 will have to be totally redone ... the netstat -s on Linux is way too non-deterministic for simple ordinal matching of the output lines. I'll start working on that. Other changes you made look fine to me, even the unloved 374 ones. On Fri, 2009-10-30 at 10:53 -0500, Martin Hicks wrote: > On Fri, Oct 30, 2009 at 08:17:04AM +1100, Ken McDonell wrote: > > Can you send me the 216.full file ... I'll tweak the test accordingly? > > > > I think 600 is one of those problematic ones ... send me the output from > > > > ls -l 600* > > > > and the 600.full file and I'll see if I can sort it out. The logic in > > 600 for picking which is the expected outcome is very convoluted ... the > > fact that we have FOUR possible linux output files gives some indication > > of the mess we're trying to untangle. > > http://oss.sgi.com/~mort/216.full > http://oss.sgi.com/~mort/600.full > > and: > > pcpqa@opensuse11-1:~/pcpqa> ls -l 600* > -rwxr-xr-x 1 pcpqa users 4172 2009-10-30 10:44 600 > -rw-r--r-- 1 pcpqa users 1503 2009-10-30 10:39 600.full > -rw-r--r-- 2 pcpqa users 1480 2009-10-27 15:17 600.out > -rw-r--r-- 1 pcpqa users 1554 2009-10-30 10:39 600.out.bad > -rw-r--r-- 1 pcpqa users 1483 2009-10-27 15:17 600.out.irix > -rw-r--r-- 1 pcpqa users 1530 2009-10-27 15:17 600.out.linux.0 > -rw-r--r-- 1 pcpqa users 1528 2009-10-27 15:17 600.out.linux.1 > -rw-r--r-- 1 pcpqa users 1528 2009-10-27 15:17 600.out.linux.2 > -rw-r--r-- 2 pcpqa users 1480 2009-10-27 15:17 600.out.linux.3 > > > 216 seems to have 4 different addidions and subtractions. I looked a > bit, but it wasn't clear what the best route was to fix this test. > > 600 seems to be using the linux.3 output file correctly. I did verify > that this test passes on my glibc-2.9 debian machine. > > mh > --=-GFyt0v2Fb9IWQad0zzxJ Content-Disposition: attachment; filename="600" Content-Type: application/x-shellscript; name="600" Content-Transfer-Encoding: 7bit #! /bin/sh # PCP QA Test No. 600 # $Revision: 1.16 $ # Test __pmTimezone # # This test looks like its tripping genuine bugs in Linux: # 1. for glibc-2.2.4 or earlier, Linux seems to invert the sense of the # daylight savings ranges (- is valid output, + is broken linux version): # # diff -c 600.out 600.out.bad: # ... # ABC-10:00:00XYZ-11:00:00,M12.5.0/3:00:00,M7.5.0/2:00:00 -> ABC-10XYZ-11,M12.5.0/3,M7.5.0/2 # -In March daylight saving is on, and the time is 01 March 2000 23:00 XYZ # +In March daylight saving is off, and the time is 01 March 2000 22:00 ABC # In September daylight saving is off, and the time is 01 September 2000 22:00 ABC # ... # # 2. linux appears to ignore invalid olsen style timezones # ... # -:Someplace/Somewhere -> ABC-10 # +ABC-10 -> ABC-10 # In March daylight saving is off, and the time is 01 March 2000 22:00 ABC # In September daylight saving is off, and the time is 01 September 2000 22:00 ABC # + # +:Someplace/Somewhere -> Someplace/Somewhere # +In March daylight saving is off, and the time is 01 March 2000 12:00 Someplace/Somewhere # +In September daylight saving is off, and the time is 01 September 2000 12:00 Someplace/Somewhere # ... # # 3. glibc 2.2.93 and 2.3.x just gets it wrong # # # Copyright (c) 1995-2002 Silicon Graphics, Inc. All Rights Reserved. # # creator owner=max seq=`basename $0` . ./localconfig if [ $PCP_EOE_VER -le 2100 \ -o \( $PCP_EOE_VER -ge 6500 -a $PCP_EOE_VER -le 6508 \) ] then echo "needs libpcp.so with TZ changes" >$seq.notrun echo "$seq: [not run] `cat $seq.notrun`" exit 0 fi rm -f $seq.out $seq.full if [ $PCP_PLATFORM = "linux" ] then if [ -f /etc/SuSE-release ] then # this version seems to have been correct for PP3 SP2 (that # was SuSE-based) and SuSE SLES9 and SuSE SLES11 # ln $seq.out.linux.1 $seq.out else which rpm >/dev/null 2>&1 if [ $? -eq 0 -a ! -f /etc/debian_version ] then echo "Using rpm version ..." >>$seq.full eval `rpm -q glibc | tee -a $seq.full | sed -e 's/glibc-/a=/' -e 's/\./ b=/' -e 's/\./ c=/' -e 's/-.*//'` else echo "Using libc-*.so version ..." >>$seq.full eval `echo /lib/libc-*.so | tee -a $seq.full | sed -e 's/\.so.*//' -e 's/.*-//' -e 's/^/a=/' -e 's/\./ b=/' -e 's/\./ c=/'` fi if [ -z "$a" -o "$a" = "*" ] then echo "Arrggh ... cannot get major version for libc" [ ! -f /etc/debian_version ] && rpm -q glibc ls -l /lib/libc-*.so exit 1 fi if [ "$a" -lt 2 ] then # a.?.?, a < 2 ln $seq.out.linux.0 $seq.out elif [ "$a" -eq 2 ] then if [ -z "$b" -o "$b" = "*" ] then echo "Arrggh ... cannot get minor version for libc" [ ! -f /etc/debian_version ] && rpm -q glibc ls -l /lib/libc-*.so exit 1 fi if [ "$b" -lt 2 ] then # 2.b.?, b < 2 ln $seq.out.linux.0 $seq.out elif [ "$b" -eq 2 ] then if [ -z "$c" -o "$c" = "*" ] then echo "Arrggh ... cannot get really minor version for libc" [ ! -f /etc/debian_version ] && rpm -q glibc ls -l /lib/libc-*.so exit 1 fi if [ "$c" -lt 4 ] then # 2.2.c, c < 4 ln $seq.out.linux.0 $seq.out elif [ "$c" -eq 93 ] then # 2.2.93 ln $seq.out.linux.2 $seq.out else # 2.2.c, c >= 4 # need this one for LBS 2.1 ln $seq.out.linux.1 $seq.out fi elif [ "$b" -eq 3 ] then if [ "$c" -lt 2 ] then # 2.3.c, c < 2 ln $seq.out.linux.2 $seq.out else # 2.3.c, c >= 3 # glibc-2.3.2-95.20 PP3 SP2 # glibc-2.3.3-98.3 SuSE SLES9 beta4 ln $seq.out.linux.1 $seq.out fi elif [ "$b" -lt 8 ] then # 2.b.?, b > 3 and b < 8 ln $seq.out.linux.1 $seq.out else # 2.b.?, b >= 8 ln $seq.out.linux.3 $seq.out fi else # a.?.?, a > 2 ln $seq.out.linux.1 $seq.out fi echo "glibc version $a.$b.$c" >>$seq.full ls -l $seq* >>$seq.full fi else echo "Using irix version ..." >>$seq.full ln $seq.out.irix $seq.out fi echo "QA output created by $seq" # get standard environment, filters and checks . ./common.product . ./common.filter . ./common.check tmp=/tmp/$$ here=`pwd` sudo=$here/sudo status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # real QA test starts here TZ=XYZ-11; export TZ # I don't understand the sed replacement below - Ken, Jul 2003 # src-oss/tztest \ | tee -a $seq.full \ | sed \ -e's|XYZ-11:03:04ABC-10:01:02,M12.5.0/3:04:05,M7.1.0/2:06:07|ABC-10:01:02XYZ-11:03:04,M12.5.0/3:04:05,M7.1.0/2:06:07|' \ -e's|XYZ-11ABC-10,M12.5.0/3:01:02,M7.1.0/2:03:04|ABC-10XYZ-11,M12.5.0/3:01:02,M7.1.0/2:03:04|' status=0 exit --=-GFyt0v2Fb9IWQad0zzxJ-- From kenj@internode.on.net Sat Oct 31 17:49:14 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9VMnD30129993 for ; Sat, 31 Oct 2009 17:49:14 -0500 X-ASG-Debug-ID: 1257029362-0b6e00dd0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 752F2CA126B for ; Sat, 31 Oct 2009 15:49:22 -0700 (PDT) Received: from mail.internode.on.net (bld-mail19.adl2.internode.on.net [150.101.137.104]) by cuda.sgi.com with ESMTP id 4WEhAxfYihgM0V1F for ; Sat, 31 Oct 2009 15:49:22 -0700 (PDT) Received: from [124.185.42.103] (unverified [124.185.42.103]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 7553506-1927428 for multiple; Sun, 01 Nov 2009 09:19:20 +1030 (CDT) X-ASG-Orig-Subj: Re: [pcp] QA updates - need some help Subject: Re: [pcp] QA updates - need some help From: Ken McDonell Reply-To: kenj@internode.on.net To: Martin Hicks Cc: pcp@oss.sgi.com In-Reply-To: <20091030155324.GF10537@alcatraz.americas.sgi.com> References: <20091029200637.GY10537@alcatraz.americas.sgi.com> <1256851025.6851.33.camel@bozo.localdomain> <20091030155324.GF10537@alcatraz.americas.sgi.com> Content-Type: multipart/mixed; boundary="=-Rore7piOfni0HgKFRAzc" Date: Sun, 01 Nov 2009 09:49:15 +1100 Message-Id: <1257029355.5160.53.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 X-Barracuda-Connect: bld-mail19.adl2.internode.on.net[150.101.137.104] X-Barracuda-Start-Time: 1257029365 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.13377 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean --=-Rore7piOfni0HgKFRAzc Content-Type: text/plain Content-Transfer-Encoding: 7bit I've rewritten 216 (attached). I now need to enlist the assistance of the distributed PCP QA pixies network to give me some feedback. If you're able, please run this in a QA environment, check 216 and send me (a) mail if it works indicating the sort of Linux system you're on, else (b) the same info as (a) for a failure, plus 216.out.bad and 216.full. Thanks. On Fri, 2009-10-30 at 10:53 -0500, Martin Hicks wrote: > On Fri, Oct 30, 2009 at 08:17:04AM +1100, Ken McDonell wrote: > > Can you send me the 216.full file ... I'll tweak the test accordingly? > > > > I think 600 is one of those problematic ones ... send me the output from > > > > ls -l 600* > > > > and the 600.full file and I'll see if I can sort it out. The logic in > > 600 for picking which is the expected outcome is very convoluted ... the > > fact that we have FOUR possible linux output files gives some indication > > of the mess we're trying to untangle. > > http://oss.sgi.com/~mort/216.full > http://oss.sgi.com/~mort/600.full --=-Rore7piOfni0HgKFRAzc Content-Disposition: attachment; filename="216" Content-Type: application/x-shellscript; name="216" Content-Transfer-Encoding: 7bit #! /bin/sh # PCP QA Test No. 216 # $Revision: 1.1 $ # # Verify network. statistics # (Linux version, see 117 for non-Linux version - although this version # has been completely re-written to deal with optional output from the # Linux version of netstat) # # Copyright (c) 2009 Silicon Graphics, Inc. All Rights Reserved. # creator owner=kenj # get standard environment, filters and checks . ./common.product . ./common.filter . ./common.check . ./localconfig seq=`basename $0` if [ $PCP_PLATFORM != linux ] then echo "network.* checks for non-linux done in test 117" >$seq.notrun echo "$seq: [not run] `cat $seq.notrun`" exit 0 fi echo "QA output created by $seq" #debug# tmp=`pwd`/tmp tmp=/tmp/$$ compare=`pwd`/src-oss/compare here=`pwd` sudo=$here/sudo status=0 # success is the default! $sudo rm -rf $tmp.* trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 if [ ! -x $compare ] then echo "Can't find compare, giving up" exit 1 fi if pminfo network.ip >/dev/null then : else echo "pminfo network.ip not working, giving up" exit 1 fi ns1=$tmp.netstat1 pcp=$tmp.pcp ns2=$tmp.netstat2 rm -f $seq.full rm -rf $ns1 $pcp $ns2 cat <<'End-of-File' >$tmp.map # build by hand from the source file statistics.c used to make netstat # tags ... # #notreported# netstat -s does not report this # #notcounter# semantics is not counter, so not suitable for this test # # SNMP Name|netstat string|PCP name # Iptab[] #notreported#Forwarding|Forwarding is %s|network.ip.forwarding #notreported#DefaultTTL|Default TTL is NNN|network.ip.defaultttl InReceives|NNN total packets received|network.ip.inreceives InHdrErrors|with invalid headers|network.ip.inhdrerrors InAddrErrors|NNN with invalid addresses|network.ip.inaddrerrors ForwDatagrams|NNN forwarded|network.ip.forwdatagrams InUnknownProtos|NNN with unknown protocol|network.ip.inunknownprotos InDiscards|NNN incoming packets discarded|network.ip.indiscards InDelivers|NNN incoming packets delivered|network.ip.indelivers OutRequests|NNN requests sent out|network.ip.outrequests OutDiscards|NNN outgoing packets dropped|network.ip.outdiscards OutNoRoutes|NNN dropped because of missing route|network.ip.outnoroutes ReasmTimeout|NNN fragments dropped after timeout|network.ip.reasmtimeout ReasmReqds|NNN reassemblies required|network.ip.reasmreqds ReasmOKs|NNN packets reassembled ok|network.ip.reasmoks ReasmFails|NNN packet reassembles failed|network.ip.reasmfails FragOKs|NNN fragments received ok|network.ip.fragoks FragFails|NNN fragments failed|network.ip.fragfails FragCreates|NNN fragments created|network.ip.fragcreates # Icmptab[] InMsgs|NNN ICMP messages received|network.icmp.inmsgs InErrors|NNN input ICMP message failed.|network.icmp.inerrors InDestUnreachs|ICMP input *destination unreachable: NNN|network.icmp.indestunreachs InTimeExcds|ICMP input *timeout in transit: NNN|network.icmp.intimeexcds nParmProbs|ICMP input *wrong parameters: NNN|network.icmp.inparmprobs InSrcQuenchs|ICMP input *source quenches: NNN|network.icmp.insrcquenchs InRedirects|ICMP input *redirects: NNN|network.icmp.inredirects InEchos|ICMP input *echo requests: NNN|network.icmp.inechos InEchoReps|ICMP input *echo replies: NNN|network.icmp.inechoreps InTimestamps|ICMP input *timestamp request: NNN|network.icmp.intimestamps InTimestampReps|ICMP input *timestamp reply: NNN|network.icmp.intimestampreps InAddrMasks|ICMP input *address mask request: NNN|network.icmp.inaddrmasks InAddrMaskReps|ICMP input *address mask replies: NNN|network.icmp.inaddrmaskreps OutMsgs|NNN ICMP messages sent|network.icmp.outmsgs OutErrors|NNN ICMP messages failed|network.icmp.outerrors OutDestUnreachs|ICMP output *destination unreachable: NNN|network.icmp.outdestunreachs OutTimeExcds|ICMP output *time exceeded: NNN|network.icmp.outtimeexcds OutParmProbs|ICMP output *wrong parameters: NNN|network.icmp.outparmprobs OutSrcQuenchs|ICMP output *source quench: NNN|network.icmp.outsrcquenchs OutRedirects|ICMP output *redirect: NNN|network.icmp.outredirects OutEchos|ICMP output *echo request: NNN|network.icmp.outechos OutEchoReps|ICMP output *echo replies: NNN|network.icmp.outechoreps OutTimestamps|ICMP output *timestamp requests: NNN|network.icmp.outtimestamps OutTimestampReps|ICMP output *timestamp replies: NNN|network.icmp.outtimestampreps OutAddrMasks|ICMP output *address mask requests: NNN|network.icmp.outaddrmasks OutAddrMaskReps|ICMP output *address mask replies: NNN|network.icmp.outaddrmaskreps # Tcptab[] #notreported#RtoAlgorithm|RTO algorithm is %s|network.tcp.rtoalgorithm #notreported#RtoMin||network.tcp.rtomin #notreported#RtoMax||network.tcp.rtomax #notreported#MaxConn||network.tcp.maxconn #notcounter#ActiveOpens|NNN active connections openings|network.tcp.activeopens #notcounter#PassiveOpens|NNN passive connection openings|network.tcp.passiveopens AttemptFails|NNN failed connection attempts|network.tcp.attemptfails EstabResets|NNN connection resets received|network.tcp.estabresets #notcounter#CurrEstab|NNN connections established|network.tcp.currestab InSegs|NNN segments received|network.tcp.insegs OutSegs|NNN segments send out|network.tcp.outsegs RetransSegs|NNN segments retransmited|network.tcp.retranssegs InErrs|NNN bad segments received.|network.tcp.inerrs OutRsts|NNN resets sent|network.tcp.outrsts # Udptab[] InDatagrams|NNN packets received|network.udp.indatagrams NoPorts|NNN packets to unknown port received.|network.udp.noports InErrors|NNN packet receive errors|network.udp.inerrors OutDatagrams|NNN packets sent|network.udp.outdatagrams #notreported#RcvbufErrors||network.udp.recvbuferrors #notreported#SndbufErrors||network.udp.sndbuferrors End-of-File # real QA test starts here _get_netstat() { netstat -s \ | tee -a $seq.full \ | $PCP_AWK_PROG >$tmp.out ' /ICMP input histogram:/ { pfx = "ICMP input"; next } /ICMP output histogram:/ { pfx = "ICMP output"; next } /^Ip:/ { pfx = ""; skip = 0; print; next } /^Icmp:/ { pfx = ""; skip = 0; print; next } /^Tcp:/ { pfx = ""; skip = 0; print; next } /^Udp:/ { pfx = ""; skip = 0; print; next } /^[A-Z]/ { pfx = ""; skip = 1; print $0,"... skipped"; next } skip == 1 { next } /:/ { print pfx,$0; next } { pfx = ""; print }' echo "--- Culled netstat ---" >>$seq.full cat $tmp.out >>$seq.full $PCP_AWK_PROG <$tmp.map -F\| ' /^#/ { next } { print $2 }' \ | sed -e 's/NNN/\\\\([0-9][0-9]*\\\\)/' \ | while read pat do sed -n -e 's/^[ ]*//' -e "/$pat/s//\\1/p" <$tmp.out >$tmp.tmp if [ -s $tmp.tmp ] then cat $tmp.tmp else # assume it is marked opt_number in the statistics table, so # netstat does not generate output if the value is zero echo "0" fi done } echo "=== First netstat ===" >>$seq.full _get_netstat >$ns1 echo "=== Filtered first netstat ===" >>$seq.full cat $ns1 >>$seq.full echo "=== pmprobe ===" >>$seq.full $PCP_AWK_PROG <$tmp.map -F\| ' /^#/ { next } { print $3 }' \ | tee $tmp.metrics \ | while read metric do pmprobe -v "$metric" 2>&1 done \ | tee -a $seq.full \ | while read metric sts val do if [ "$sts" = 1 ] then echo "$val" else # would prefer -1, but that messes up src-oss/compare and 0 # happens too often ... 42424242 has only a 1 in 2^31 chance # of hitting a false match! echo "42424242" fi done >$pcp cat </dev/null network.ip.forwdatagrams # Ip: forwarded network.ip.indiscards # Ip: incoming packets discarded network.ip.indelivers # Ip: incoming packets delivered network.ip.outrequests # Ip: requests sent out network.ip.outnoroutes # Ip: dropped because of missing route network.icmp.inmsgs # Icmp: messages received network.icmp.inerrors # Icmp: input message failed network.icmp.outmsgs # Icmp: messages sent network.icmp.outerrors # Icmp: messages failed network.tcp.activeopens # Tcp: active connections openings network.tcp.passiveopens # Tcp: passive connection openings network.tcp.attemptfails # Tcp: failed connection attempts network.tcp.estabresets # Tcp: connection resets received # cannot be tested # network.tcp.currestab # Tcp: connections established hinv.ndisk # Tcp: connections established network.tcp.insegs # Tcp: segments received network.tcp.outsegs # Tcp: segments send out network.tcp.retranssegs # Tcp: segments retransmited network.tcp.inerrs # Tcp: bad segments received network.tcp.outrsts # Tcp: resets sent network.udp.indatagrams # Udp: packets received network.udp.noports # Udp: packets to unknown port received network.udp.inerrors # Udp: packet receive errors network.udp.outdatagrams # Udp: packets sent END echo "=== Second netstat ===" >>$seq.full _get_netstat >$ns2 echo "=== Filtered second netstat ===" >>$seq.full cat $ns2 >>$seq.full nm=`wc -l <$pcp | sed -e 's/[ ]*//g'` nn=`wc -l <$ns2 | sed -e 's/[ ]*//g'` if [ $nm -lt $nn ] then echo "Update list! fewer metrics ($nm) than netstat statistics ($nn) -- see $seq.full" elif [ $nm -gt $nn ] then echo "Update list! more metrics ($nm) than netstat statistics ($nn) -- see $seq.full" fi echo "#!/bin/sh" >>$tmp.sh echo "sts=0" >>$tmp.sh paste -d" \n" $ns1 $pcp $ns2 $tmp.metrics \ | $PCP_AWK_PROG ' NF == 4 { printf "if '$compare' %d %d %d; then :; else ", $1, $2, $3; printf "sts=1; echo \"%s = %d out of range %d..%d\"; fi\n", $4, $2, $1, $3 next } { print "echo \"Test botch:",$0,"\"" next }' \ >>$tmp.sh echo "exit $sts" >>$tmp.sh chmod u+x $tmp.sh cat $tmp.sh >>$seq.full # for debugging # if sh -x $tmp.sh if sh $tmp.sh then exit 0 else echo "Bad network.* metrics" exit 1 fi --=-Rore7piOfni0HgKFRAzc--