pcp
[Top] [All Lists]

Re: [pcp] GSOC 2016 idea for PCP

To: Charles Cui <charles.cui1984@xxxxxxxxx>
Subject: Re: [pcp] GSOC 2016 idea for PCP
From: Lukas Berk <lberk@xxxxxxxxxx>
Date: Wed, 09 Mar 2016 16:02:57 -0500
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <CA+SXE9sqGQwHsYTqkJbnH98BOzFrz9KBGVsY1z6tnw3Xx+g5bg@xxxxxxxxxxxxxx> (Charles Cui's message of "Tue, 8 Mar 2016 21:36:17 -0800")
References: <CA+SXE9v2ExnLbnGfQJxeeJA1V6fJdNHcLyyo8-ZYHoaE25MSFQ@xxxxxxxxxxxxxx> <87si089svf.fsf@xxxxxxxxxx> <CA+SXE9tcjaMpz1BL8D_6PEAWte1YTPPBW_W7XUX1RBST=yML4w@xxxxxxxxxxxxxx> <874mcntvhv.fsf@xxxxxxxxxx> <CA+SXE9u6W16mmN9eEkQh=ZXwGFNGkwo-avqW+gNAyEoMvaoxew@xxxxxxxxxxxxxx> <CA+SXE9vODZDqMAnn8MKvxp7QRka+8S0-NYFbLjT1fp4FsndDyw@xxxxxxxxxxxxxx> <874mch8xsf.fsf@xxxxxxxxxx> <CA+SXE9tU==8M2AqthqwsjmrL9DqHh+M8koSSQEEfvoH=NvhWug@xxxxxxxxxxxxxx> <87io0w794p.fsf@xxxxxxxxxx> <CA+SXE9sqGQwHsYTqkJbnH98BOzFrz9KBGVsY1z6tnw3Xx+g5bg@xxxxxxxxxxxxxx>
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
Hi Charles,

Charles Cui <charles.cui1984@xxxxxxxxx> writes:
[...]
> I add the pcpqa user into the system, and run test under the
> pcp-testsuite package. 
> When I run "./check -g sanity -x flakey" it has permission problem. 
> So, I issued the command with sudo, which executed without any errors.

Awesome!  Yes, pcpqa requires sudo (staring stopping pcp services, among
other things).  Personally I have it setup under sudo with nopasswd to
make things eaiser, however I'm aware some individuals aren't
comfortable doing so, up to you.

> In terms of the testsuite, (sudo ./check 000-)
> some tests report problem like output mismatch, or some packages are
> not found(e,g, no docker binary found),
> but most of these tests pass. 
> Do I need to investigate the test with problems and fix them?

Having tests return '[notrun] ...' is perfectly fine.  So long as there
doesn't seem to be any major problems with the setup I wouldn't be
overly worried about a few fails for now (assuming there isn't a clear
pattern you can see with them).  QA is quite important to the pcp
community as a whole, might be worth mentioning your testing plan in a
propsal at some point :)

[...]
>     Sure, just be aware that we do have a memcache pmda, as well as
>     several
>     database pmdas already (check src/pmdas/ for a full list). That
>     being
>     said, there are always more databases to monitor. Feel free to
>     choose
>     one you're interested in and detail it in your proposal.
> I looked at the listed provided, I think I can write agents to monitor
> redis or cassandra database, 
> if that's possible. 

Sure, keep in mind that some data sources are easier to extract
meaningful metrics out of than others, and feel free to detail the
decisions behind your choice in the proposal!

Cheers,

Lukas

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