pcp
[Top] [All Lists]

Re: [pcp] json pmda qa/1052 failing on Centos6.6

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>, David Smith <dsmith@xxxxxxxxxx>
Subject: Re: [pcp] json pmda qa/1052 failing on Centos6.6
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon, 3 Aug 2015 02:05:50 -0400 (EDT)
Cc: PCP <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <017301d0cc28$d7c78640$875692c0$@internode.on.net>
References: <017301d0cc28$d7c78640$875692c0$@internode.on.net>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: AdDMKGfL+cgNpo3ATAqdZWa07Com67YqlLYg
Thread-topic: json pmda qa/1052 failing on Centos6.6
Hi Ken,

David looked into a problem with the python JSON APIs on RHEL6
not supporting all the features needed by pmdajson (IIRC) - it
may be this is the same issue.  The lack of diagnostics is not
helping though, so I can't really tell.

Not sure how we can configure-test for that; can we David?  (in
order to disable pcp-pmda-json on platforms without the needed
features.  Note also Kens comment below that most platforms do
not support pmdajson, which is a shame - more fodder for us to
provide core-library-JSON-API-services at some point I guess).

David, we also have the two remaining JSON issues we discussed,
possibly for next release?  (let me know if help needed), i.e.
- JSON schema doesn't allow setting PCP metric semantics; and
- Many pmdajson/Ceph metrics have incorrect PCP metadata

cheers.


----- Original Message -----
> qa/1052 fails thus ...
> 
> QA output created by 1052
> dbpmda> open pipe $PCP_PYTHON_PROG $PCP_PMDAS_DIR/json/pmdajson.python
> Start python PMDA: $PCP_PYTHON_PROG $PCP_PMDAS_DIR/json/pmdajson.python
> dbpmda> getdesc on
> dbpmda> desc json.nsources
> PMID: 137.0.0
> Data Type: 64-bit int  InDom: PM_INDOM_NULL 0xffffffff
> Semantics: counter  Units: none
> dbpmda> fetch json.nsources
> PMID(s): 137.0.0
> pmResult ... numpmid: 1
> 137.0.0 (<noname>): numval: 1 valfmt: 1 vlist[]:
> value 0
> 
> 
> Metric: json
> children json
> leaf debug
> leaf nsources
> 
> Error: __pmSendChildReq() failed: Broken pipe
> Error: __pmSendChildReq() failed: Broken pipe
> Error: __pmSendDescReq() failed: Broken pipe
> ...
> 
> but json.log does not help ...
> 
> kenj@vm14:~/src/pcp/qa$ cat json.log
> Log for pmdajson on vm14 started Sat Aug  1 16:59:38 2015
> 
> kenj@vm14:~/src/pcp/qa$
> 
> Seems to be passing on a couple of hosts ... this test Is notrun for the
> vast majority of my QA machines.
> 
> _______________________________________________
> pcp mailing list
> pcp@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/pcp
> 

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