pcp
[Top] [All Lists]

Re: [pcp] qa problems with the slurm pmda

To: Nathan Scott <nathans@xxxxxxxxxx>, Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Subject: Re: [pcp] qa problems with the slurm pmda
From: Martins Innus <minnus@xxxxxxxxxxx>
Date: Fri, 18 Mar 2016 11:54:16 -0400
Cc: PCP <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <291199781.32302600.1458257109207.JavaMail.zimbra@xxxxxxxxxx>
References: <56EB37BC.2070102@xxxxxxxxxxxxxxxx> <291199781.32302600.1458257109207.JavaMail.zimbra@xxxxxxxxxx>
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
Nathan,

On 3/17/2016 7:25 PM, Nathan Scott wrote:

----- Original Message -----
I have a couple of QA failures (qa/1031) ...

Thread 1 terminated abnormally: Can't locate object method "sprint_job_info"
via package "Slurm" at pmdaslurm.pl line 152.

I think this one's resolved by commit e1bd80de5e ... ?  (Martins, is there
a better way to fix it than that?  i.e. with some additional test data?)

I added some more test data and stub code here:

https://github.com/ubccr/pcp/tree/slurm-qafix

Its a bit contrived, but does produce output as the real Slurm would.

Let me know what you think.

As a separate note, is there a way to short circuit all of the initialization the the QA suite does when running a single check? I guess in a "user beware" manner, allow things like

 ./check 1031

without creating all the initial pmlogger archives, etc that I know aren't needed for this test. Not a huge deal, but it would be nice to save some time when you need to go through the build/install/test cycle a bunch of times before getting everything right. Then you could do a full test as one final check.


Martins



commit ed916171685872f0500c92d1c3034ae84e9d09da
Author: Martins Innus <minnus@xxxxxxxxxxx>
Date:   Fri Mar 18 15:32:08 2016 +0000

    Add some more qa coverage for the slurmpmda

 qa/1031                    |  2 ++
 qa/1031.out                |  9 +++++++++
 qa/slurm/Slurm.pm          |  2 +-
 qa/slurm/Slurm/Hostlist.pm | 10 +++++++++-
 4 files changed, 21 insertions(+), 2 deletions(-)


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