Re: qa/662 (pmwebd) non-determinism

"Frank Ch. Eigler" <[email protected]> Sat, 11 Feb 2017 06:31:18 -0500
Newsgroups gmane.comp.sysutils.pcp
Message-ID <[email protected]>
Hi, Ken -

> On a couple of hosts, I'm seeing ...
> 
> kenj@vm24:~/src/pcp/qa$ show-me 662
> 662:
> [...]
> -   metric:sample.string.hullo metadata:7
>     metric:sample.string.bin metadata:8
> [...]
> --- 225,232 ----
> [...]
>     metric:sample.string.bin metadata:8
> +   metric:sample.string.hullo metadata:7
> [...]

> so it would appear pmwebd is returning metrics in a slightly different 
> order.  I am assuming this is sort of expected, rather than a bug.

For what it's worth, pmwebd is not reordering anything here.  It
reports to the web a straight accumulation of the pmTraversePMNS_r
callbacks (pmwebapi.cxx pmwebapi_respond_metric_list).

The qa/src/test_webapi.python test_metadata function however does sort
the output.  And I don't see off the top of my head why it should not
have done so for this report.  (Python bug?)


- FChE

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#15116): https://groups.io/g/pcp/message/15116
View All Messages In Topic (2): https://groups.io/g/pcp/topic/4357229
Mute This Topic: https://groups.io/mt/4357229?uid=174580
New Topic: https://groups.io/g/pcp/post
-=-=-
pcp mailing list
[email protected]
https://groups.io/g/pcp/messages
-=-=-
Change Your Subscription: https://groups.io/g/pcp/editsub?uid=174580
Group Home: https://groups.io/g/pcp
Contact Group Owner: [email protected]
Terms of Service: https://groups.io/static/tos
Unsubscribe: https://groups.io/g/pcp/leave/354243/563757577/xyzzy
-=-=-=-=-=-=-=-=-=-=-=-