Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1067400

Summary: pcp-gui test cases fail - 006, 008, 010, 012, 024, 025, 027
Product: Red Hat Enterprise Linux 7 Reporter: Miloš Prchlík <mprchlik>
Component: pcp-guiAssignee: Nathan Scott <nathans>
Status: CLOSED NOTABUG QA Contact: Miloš Prchlík <mprchlik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: fche
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-19 01:02:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Miloš Prchlík 2014-02-20 12:06:41 UTC
Description of problem:

Several pcp-gui-testsuite test cases failed - to me, those errors look just like broken test cases (missing files, or additional lines in test case' output, e.g. 024, ...). No segfaults were caught by abrt for these test cases.

In case you want to investigate yourself, ibm-p730-02-lp3.rhts.eng.bos.redhat.com (root/redhat) is available & reserved.


Version-Release number of selected component (if applicable):

pcp-gui-1.5.11-3.el7
pcp-3.8.10-6.el7


How reproducible:

Always, all arches, FIPS state makes no difference


Steps to Reproduce:
1. install pcp-gui-testsuite package, and its requirements (like XServer...)
2. cd /var/lib/pcp-gui/testsuite && ./check -g local -x flakey


Actual results:

Mentioned test cases fails


Expected results:


Additional info:

--- /var/lib/pcp-gui/testsuite/006.out	2014-01-26 15:01:56.000000000 -0500
+++ /var/lib/pcp-gui/testsuite/006.out.bad	2014-02-19 09:04:36.556975718 -0500
@@ -5,7 +5,7 @@
 chart title "QA Units compatible - time" style plot
     plot metric sample.seconds
     plot metric sample.milliseconds
-exit=0
+exit=1
 --- out ---
 --- err ---
 <timestamp>: Console available
@@ -33,19 +33,25 @@
 <timestamp>: Tab::addChart: [0]->Chart <addr>
 <timestamp>: Chart::addItem src=<host>
 <timestamp>: addItem metric=sample.seconds
-<timestamp>: addItem <addr> nitems=1
 <timestamp>: Chart::addItem src=<host>
 <timestamp>: addItem metric=sample.milliseconds
-<timestamp>: SamplingEngine::isCompatible type=5, units=millisec
-<timestamp>: addItem <addr> nitems=2
 --- post ---
+pmchart: Error: ibm-z10-76.rhts.eng.bos.redhat.com:sample.seconds: Unknown metric name
+pmchart: Error: ibm-z10-76.rhts.eng.bos.redhat.com:sample.milliseconds: Unknown metric name
+Error: views/006-01[6] 
+Failed to plot metric "sample.seconds" for
+host <host>:
+Unknown metric name
+Failed to plot metric "sample.milliseconds" for
+host <host>:
+Unknown metric name
 === views/006-02 ===
 #kmchart
 version 1
 chart title "QA Units odd but OK - time(util) and none" style plot
     plot metric sample.seconds
     plot metric sample.control
-exit=0
+exit=1
 --- out ---
 --- err ---
 <timestamp>: Console available
@@ -73,12 +79,18 @@
 <timestamp>: Tab::addChart: [0]->Chart <addr>
 <timestamp>: Chart::addItem src=<host>
 <timestamp>: addItem metric=sample.seconds
-<timestamp>: addItem <addr> nitems=1
 <timestamp>: Chart::addItem src=<host>
 <timestamp>: addItem metric=sample.control
-<timestamp>: SamplingEngine::isCompatible type=0, units=
-<timestamp>: addItem <addr> nitems=2
 --- post ---
+pmchart: Error: ibm-z10-76.rhts.eng.bos.redhat.com:sample.seconds: Unknown metric name
+pmchart: Error: ibm-z10-76.rhts.eng.bos.redhat.com:sample.control: Unknown metric name
+Error: views/006-02[6] 
+Failed to plot metric "sample.seconds" for
+host <host>:
+Unknown metric name
+Failed to plot metric "sample.control" for
+host <host>:
+Unknown metric name
 === views/006-03 ===
 #kmchart
 version 1
@@ -113,15 +125,18 @@
 <timestamp>: Tab::addChart: [0]->Chart <addr>
 <timestamp>: Chart::addItem src=<host>
 <timestamp>: addItem metric=sample.seconds
-<timestamp>: addItem <addr> nitems=1
 <timestamp>: Chart::addItem src=<host>
 <timestamp>: addItem metric=sample.step_counter
-<timestamp>: SamplingEngine::isCompatible type=0, units=count
 --- post ---
+pmchart: Error: ibm-z10-76.rhts.eng.bos.redhat.com:sample.seconds: Unknown metric name
+pmchart: Error: ibm-z10-76.rhts.eng.bos.redhat.com:sample.step_counter: Unknown metric name
 Error: views/006-03[6] 
+Failed to plot metric "sample.seconds" for
+host <host>:
+Unknown metric name
 Failed to plot metric "sample.step_counter" for
 host <host>:
-Units for this metric are not compatible with other plots in this chart
+Unknown metric name
 === views/006-04 ===
 #kmchart
 version 1
@@ -139,7 +154,7 @@
     plot metric sample.pdu
 
 
-exit=0
+exit=1
 --- out ---
 --- err ---
 <timestamp>: Console available
@@ -167,42 +182,63 @@
 <timestamp>: Tab::addChart: [0]->Chart <addr>
 <timestamp>: Chart::addItem src=<host>
 <timestamp>: addItem metric=sample.byte_rate
-<timestamp>: addItem <addr> nitems=1
 <timestamp>: Chart::addItem src=<host>
 <timestamp>: addItem metric=sample.byte_ctr
-<timestamp>: SamplingEngine::isCompatible type=0, units=byte
-<timestamp>: addItem <addr> nitems=2
 <timestamp>: Chart::setLegendVisible(1) legend()=(nil)
 <timestamp>: Chart::ctor complete(<addr>)
 <timestamp>: Tab::addChart: [0]->Chart <addr>
 <timestamp>: Chart::addItem src=<host>
 <timestamp>: addItem metric=sample.byte_ctr
-<timestamp>: addItem <addr> nitems=1
 <timestamp>: Chart::addItem src=<host>
 <timestamp>: addItem metric=sample.byte_rate
-<timestamp>: SamplingEngine::isCompatible type=0, units=byte / sec
-<timestamp>: addItem <addr> nitems=2
 <timestamp>: Chart::setLegendVisible(1) legend()=(nil)
 <timestamp>: Chart::ctor complete(<addr>)
 <timestamp>: Tab::addChart: [0]->Chart <addr>
 <timestamp>: Chart::addItem src=<host>
-<timestamp>: addItem instance sample.mirage[m-00]
-<timestamp>: addItem <addr> nitems=1
+<timestamp>: addItem metric=sample.mirage
 <timestamp>: Chart::addItem src=<host>
-<timestamp>: addItem instance sample.mirage_longlong[m-00]
-<timestamp>: SamplingEngine::isCompatible type=2, units=byte / millisec
-<timestamp>: addItem <addr> nitems=2
+<timestamp>: addItem metric=sample.mirage_longlong
 <timestamp>: Chart::setLegendVisible(1) legend()=(nil)
 <timestamp>: Chart::ctor complete(<addr>)
 <timestamp>: Tab::addChart: [0]->Chart <addr>
 <timestamp>: Chart::addItem src=<host>
 <timestamp>: addItem metric=sample.write_me
-<timestamp>: addItem <addr> nitems=1
 <timestamp>: Chart::addItem src=<host>
 <timestamp>: addItem metric=sample.pdu
-<timestamp>: SamplingEngine::isCompatible type=3, units=count
-<timestamp>: addItem <addr> nitems=2
 --- post ---
+pmchart: Error: ibm-z10-76.rhts.eng.bos.redhat.com:sample.byte_rate: Unknown metric name
+pmchart: Error: ibm-z10-76.rhts.eng.bos.redhat.com:sample.byte_ctr: Unknown metric name
+pmchart: Error: ibm-z10-76.rhts.eng.bos.redhat.com:sample.byte_ctr: Unknown metric name
+pmchart: Error: ibm-z10-76.rhts.eng.bos.redhat.com:sample.byte_rate: Unknown metric name
+pmchart: Error: ibm-z10-76.rhts.eng.bos.redhat.com:sample.mirage: Unknown metric name
+pmchart: Error: ibm-z10-76.rhts.eng.bos.redhat.com:sample.mirage_longlong: Unknown metric name
+pmchart: Error: ibm-z10-76.rhts.eng.bos.redhat.com:sample.write_me: Unknown metric name
+pmchart: Error: ibm-z10-76.rhts.eng.bos.redhat.com:sample.pdu: Unknown metric name
+Error: views/006-04[17] 
+Failed to plot metric "sample.byte_rate" for
+host <host>:
+Unknown metric name
+Failed to plot metric "sample.byte_ctr" for
+host <host>:
+Unknown metric name
+Failed to plot metric "sample.byte_ctr" for
+host <host>:
+Unknown metric name
+Failed to plot metric "sample.byte_rate" for
+host <host>:
+Unknown metric name
+Failed to plot metric "sample.mirage" for
+host <host>:
+Unknown metric name
+Failed to plot metric "sample.mirage_longlong" for
+host <host>:
+Unknown metric name
+Failed to plot metric "sample.write_me" for
+host <host>:
+Unknown metric name
+Failed to plot metric "sample.pdu" for
+host <host>:
+Unknown metric name
 === views/006-05 ===
 #kmchart
 version 1
@@ -237,13 +273,16 @@
 <timestamp>: Chart::setCurrent(<addr>) true
 <timestamp>: Tab::addChart: [0]->Chart <addr>
 <timestamp>: Chart::addItem src=<host>
-<timestamp>: addItem instance sample.mirage_longlong[m-00]
-<timestamp>: addItem <addr> nitems=1
+<timestamp>: addItem metric=sample.mirage_longlong
 <timestamp>: Chart::addItem src=<host>
 <timestamp>: addItem metric=sample.write_me
-<timestamp>: SamplingEngine::isCompatible type=0, units=count / sec
 --- post ---
+pmchart: Error: ibm-z10-76.rhts.eng.bos.redhat.com:sample.mirage_longlong: Unknown metric name
+pmchart: Error: ibm-z10-76.rhts.eng.bos.redhat.com:sample.write_me: Unknown metric name
 Error: views/006-05[7] 
+Failed to plot metric "sample.mirage_longlong" for
+host <host>:
+Unknown metric name
 Failed to plot metric "sample.write_me" for
 host <host>:
-Units for this metric are not compatible with other plots in this chart
+Unknown metric name


--- /var/lib/pcp-gui/testsuite/008.out	2014-01-26 15:01:56.000000000 -0500
+++ /var/lib/pcp-gui/testsuite/008.out.bad	2014-02-19 09:04:39.246975718 -0500
@@ -30,6 +30,6 @@
 pmdumptext: Error: Archive "archives/gap" requested after live mode was assumed.
 pmdumptext: no valid metrics, exiting.
 --- handle a string or aggregate metric ---
-pmdumptext: Error: THIS_HOST:sample.sysinfo has type "AGGREGATE", which is not a number or a string
+pmdumptext: Error: sample.sysinfo: Unknown metric name
 pmdumptext: Warning: Some metrics ignored, continuing with valid metrics
 TIME:	"TZ"


--- /var/lib/pcp-gui/testsuite/010.out	2014-01-26 15:01:56.000000000 -0500
+++ /var/lib/pcp-gui/testsuite/010.out.bad	2014-02-19 09:04:40.506975718 -0500
@@ -1,154 +1,47 @@
 QA output created by 010
+pmdumplog: Cannot open archive "/tmp/16477.log": No such file or directory
 
 pmdumptext   -umN
-Time sample.hordes.one["3"] sample.double.ten sample.double.hundred sample.double.million sample.double.ten sample.double.hundred sample.double.million
-? 0.000 0.000 0.000 0.000 0.500 -0.003 0.000
-none none none none none none none none
-VERY_VERY_LONG_TIME ? ? ? ? ? ? ?
-VERY_VERY_LONG_TIME 3.000 10.000 100.000 1000000.000 20.000 -30303.030 17857142857.143
-VERY_VERY_LONG_TIME 3.000 10.000 100.000 1000000.000 20.000 -30303.030 17857142857.143
+pmdumptext: Error: /tmp/16477.log: No such file or directory
 
 pmdumptext  -M -umN
-[ 1] sample.hordes.one["3"]
-[ 2] sample.double.ten
-[ 3] sample.double.hundred
-[ 4] sample.double.million
-[ 5] sample.double.ten
-[ 6] sample.double.hundred
-[ 7] sample.double.million
-
-     1     2     3     4     5     6     7
-Time sample.hordes.one["3"] sample.double.ten sample.double.hundred sample.double.million sample.double.ten sample.double.hundred sample.double.million
-? 0.000 0.000 0.000 0.000 0.500 -0.003 0.000
-none none none none none none none none
-VERY_VERY_LONG_TIME ? ? ? ? ? ? ?
-VERY_VERY_LONG_TIME 3.000 10.000 100.000 1000000.000 20.000 -30303.030 17857142857.143
-VERY_VERY_LONG_TIME 3.000 10.000 100.000 1000000.000 20.000 -30303.030 17857142857.143
+pmdumptext: Error: /tmp/16477.log: No such file or directory
 
 pmdumptext  -F -umN
-Time sample.hordes.one["3"] sample.double.ten sample.double.hundred sample.double.million sample.double.ten sample.double.hundred sample.double.million
-?  0.00   0.00   0.00   0.00   0.50   0.00    0.00 
-none none none none none none none none
-VERY_VERY_LONG_TIME ? ? ? ? ? ? ?
-VERY_VERY_LONG_TIME  3.00  10.00   0.10K  1.00M 20.00  -0.03M 17.86G
-VERY_VERY_LONG_TIME  3.00  10.00   0.10K  1.00M 20.00  -0.03M 17.86G
+pmdumptext: Error: /tmp/16477.log: No such file or directory
 
 pmdumptext  -G -umN
-Time sample.hordes.one["3"] sample.double.ten sample.double.hundred sample.double.million sample.double.ten sample.double.hundred sample.double.million
-?    0    0    0    0  0.5 -0.0033 5.6e-05
-none none none none none none none none
-VERY_VERY_LONG_TIME ? ? ? ? ? ? ?
-VERY_VERY_LONG_TIME 3 10 100 1e+06 20 -3.03e+04 1.79e+10
-VERY_VERY_LONG_TIME 3 10 100 1e+06 20 -3.03e+04 1.79e+10
+pmdumptext: Error: /tmp/16477.log: No such file or directory
 
 pmdumptext  -f %H:%M:%S -umN
-Time sample.hordes.one["3"] sample.double.ten sample.double.hundred sample.double.million sample.double.ten sample.double.hundred sample.double.million
-? 0.000 0.000 0.000 0.000 0.500 -0.003 0.000
-none none none none none none none none
-SHRTTIME ? ? ? ? ? ? ?
-SHRTTIME 3.000 10.000 100.000 1000000.000 20.000 -30303.030 17857142857.143
-SHRTTIME 3.000 10.000 100.000 1000000.000 20.000 -30303.030 17857142857.143
+pmdumptext: Error: /tmp/16477.log: No such file or directory
 
 pmdumptext -i  -umN
-             Metric    one    ten undred illion    ten undred illion
-               Inst      3    n/a    n/a    n/a    n/a    n/a    n/a
-             Normal  0.00   0.00   0.00   0.00   0.50   0.00    0.00 
-              Units   none   none   none   none   none   none   none
-VERY_VERY_LONG_TIME      ?      ?      ?      ?      ?      ?      ?
-VERY_VERY_LONG_TIME  3.00  10.00   0.10K  1.00M 20.00  -0.03M 17.86G
-VERY_VERY_LONG_TIME  3.00  10.00   0.10K  1.00M 20.00  -0.03M 17.86G
+pmdumptext: Error: /tmp/16477.log: No such file or directory
 
 pmdumptext -i -M -umN
-[ 1] sample.hordes.one["3"]
-[ 2] sample.double.ten
-[ 3] sample.double.hundred
-[ 4] sample.double.million
-[ 5] sample.double.ten
-[ 6] sample.double.hundred
-[ 7] sample.double.million
-
-             Column      1      2      3      4      5      6      7
-             Metric    one    ten undred illion    ten undred illion
-               Inst      3    n/a    n/a    n/a    n/a    n/a    n/a
-             Normal  0.00   0.00   0.00   0.00   0.50   0.00    0.00 
-              Units   none   none   none   none   none   none   none
-VERY_VERY_LONG_TIME      ?      ?      ?      ?      ?      ?      ?
-VERY_VERY_LONG_TIME  3.00  10.00   0.10K  1.00M 20.00  -0.03M 17.86G
-VERY_VERY_LONG_TIME  3.00  10.00   0.10K  1.00M 20.00  -0.03M 17.86G
+pmdumptext: Error: /tmp/16477.log: No such file or directory
 
 pmdumptext -i -F -umN
-             Metric    one    ten undred illion    ten undred illion
-               Inst      3    n/a    n/a    n/a    n/a    n/a    n/a
-             Normal  0.00   0.00   0.00   0.00   0.50   0.00    0.00 
-              Units   none   none   none   none   none   none   none
-VERY_VERY_LONG_TIME      ?      ?      ?      ?      ?      ?      ?
-VERY_VERY_LONG_TIME  3.00  10.00   0.10K  1.00M 20.00  -0.03M 17.86G
-VERY_VERY_LONG_TIME  3.00  10.00   0.10K  1.00M 20.00  -0.03M 17.86G
+pmdumptext: Error: /tmp/16477.log: No such file or directory
 
 pmdumptext -i -G -umN
-pmdumptext: -i and -G may not be used togther
-Usage: pmdumptext [options] [metrics ...]
-
-Options:
-...
+pmdumptext: Error: /tmp/16477.log: No such file or directory
 
 pmdumptext -i -f %H:%M:%S -umN
-  Metric    one    ten undred illion    ten undred illion
-    Inst      3    n/a    n/a    n/a    n/a    n/a    n/a
-  Normal  0.00   0.00   0.00   0.00   0.50   0.00    0.00 
-   Units   none   none   none   none   none   none   none
-SHRTTIME      ?      ?      ?      ?      ?      ?      ?
-SHRTTIME  3.00  10.00   0.10K  1.00M 20.00  -0.03M 17.86G
-SHRTTIME  3.00  10.00   0.10K  1.00M 20.00  -0.03M 17.86G
+pmdumptext: Error: /tmp/16477.log: No such file or directory
 
 pmdumptext -i -w 10  -umN
-             Metric hordes.one double.ten    hundred    million double.ten    hundred    million
-               Inst          3        n/a        n/a        n/a        n/a        n/a        n/a
-             Normal      0.00       0.00       0.00       0.00       0.50      0.00        0.00 
-              Units       none       none       none       none       none       none       none
-VERY_VERY_LONG_TIME          ?          ?          ?          ?          ?          ?          ?
-VERY_VERY_LONG_TIME      3.00      10.00       0.10K      1.00M     20.00      -0.03M     17.86G
-VERY_VERY_LONG_TIME      3.00      10.00       0.10K      1.00M     20.00      -0.03M     17.86G
+pmdumptext: Error: /tmp/16477.log: No such file or directory
 
 pmdumptext -i -w 10 -M -umN
-[ 1] sample.hordes.one["3"]
-[ 2] sample.double.ten
-[ 3] sample.double.hundred
-[ 4] sample.double.million
-[ 5] sample.double.ten
-[ 6] sample.double.hundred
-[ 7] sample.double.million
-
-             Column          1          2          3          4          5          6          7
-             Metric hordes.one double.ten    hundred    million double.ten    hundred    million
-               Inst          3        n/a        n/a        n/a        n/a        n/a        n/a
-             Normal      0.00       0.00       0.00       0.00       0.50      0.00        0.00 
-              Units       none       none       none       none       none       none       none
-VERY_VERY_LONG_TIME          ?          ?          ?          ?          ?          ?          ?
-VERY_VERY_LONG_TIME      3.00      10.00       0.10K      1.00M     20.00      -0.03M     17.86G
-VERY_VERY_LONG_TIME      3.00      10.00       0.10K      1.00M     20.00      -0.03M     17.86G
+pmdumptext: Error: /tmp/16477.log: No such file or directory
 
 pmdumptext -i -w 10 -F -umN
-             Metric hordes.one double.ten    hundred    million double.ten    hundred    million
-               Inst          3        n/a        n/a        n/a        n/a        n/a        n/a
-             Normal      0.00       0.00       0.00       0.00       0.50      0.00        0.00 
-              Units       none       none       none       none       none       none       none
-VERY_VERY_LONG_TIME          ?          ?          ?          ?          ?          ?          ?
-VERY_VERY_LONG_TIME      3.00      10.00       0.10K      1.00M     20.00      -0.03M     17.86G
-VERY_VERY_LONG_TIME      3.00      10.00       0.10K      1.00M     20.00      -0.03M     17.86G
+pmdumptext: Error: /tmp/16477.log: No such file or directory
 
 pmdumptext -i -w 10 -G -umN
-pmdumptext: -i and -G may not be used togther
-Usage: pmdumptext [options] [metrics ...]
-
-Options:
-...
+pmdumptext: Error: /tmp/16477.log: No such file or directory
 
 pmdumptext -i -w 10 -f %H:%M:%S -umN
-  Metric hordes.one double.ten    hundred    million double.ten    hundred    million
-    Inst          3        n/a        n/a        n/a        n/a        n/a        n/a
-  Normal      0.00       0.00       0.00       0.00       0.50      0.00        0.00 
-   Units       none       none       none       none       none       none       none
-SHRTTIME          ?          ?          ?          ?          ?          ?          ?
-SHRTTIME      3.00      10.00       0.10K      1.00M     20.00      -0.03M     17.86G
-SHRTTIME      3.00      10.00       0.10K      1.00M     20.00      -0.03M     17.86G
+pmdumptext: Error: /tmp/16477.log: No such file or directory


--- /var/lib/pcp-gui/testsuite/012.out	2014-01-26 15:01:56.000000000 -0500
+++ /var/lib/pcp-gui/testsuite/012.out.bad	2014-02-19 09:04:40.676975718 -0500
@@ -1,6 +1,3 @@
 QA output created by 012
-    Metric	seconds
-     Units	   util
-TIME-STAMP	      ?
-TIME-STAMP	  1.00
-TIME-STAMP	  1.00
+pmdumptext: Error: sample.milliseconds: Unknown metric name
+pmdumptext: no valid metrics, exiting.


--- /var/lib/pcp-gui/testsuite/024.out	2014-01-26 15:01:56.000000000 -0500
+++ /var/lib/pcp-gui/testsuite/024.out.bad	2014-02-19 09:04:43.086975718 -0500
@@ -1,4 +1,5 @@
 QA output created by 024
+Installing "localconfig"
 pmdumptext (simple) OK
 pmdumptext (extended) OK
 pmchart OK


--- /var/lib/pcp-gui/testsuite/025.out	2014-01-26 15:01:56.000000000 -0500
+++ /var/lib/pcp-gui/testsuite/025.out.bad	2014-02-19 09:04:43.176975718 -0500
@@ -1,3 +1,4 @@
 QA output created by 025
-Log Label (Log Format Version 2)
-Performance metrics from host abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabc
+pmloglabel: Cannot open archive "/tmp/17243.arch": No such file or directory
+pmdumplog: Cannot open archive "/tmp/17243.arch": No such file or directory
+pmdumptext: Error: /tmp/17243.arch: No such file or directory


--- /var/lib/pcp-gui/testsuite/027.out	2014-01-26 15:01:56.000000000 -0500
+++ /var/lib/pcp-gui/testsuite/027.out.bad	2014-02-19 09:04:43.386975718 -0500
@@ -1,9 +1,16 @@
 QA output created by 027
 expected to pass when sampledso is installed
-DATE	100.000	200.000	300.000	400.000	500.000	600.000	700.000	800.000	900.000
-sampledso.write_me old value=2 new value=42
+pmdumptext: Error: sampledso.bin: Unknown metric name
+pmdumptext: no valid metrics, exiting.
+sampledso.write_me: pmLookupName: Unknown metric name
 expect 2 2 42
-DATE	2.000	2.000	42.000
+pmdumptext: Error: sampledso.write_me: Unknown metric name
+pmdumptext: Error: sampledso.write_me: Unknown metric name
+pmdumptext: Error: sampledso.write_me: Unknown metric name
+pmdumptext: no valid metrics, exiting.
 expect 42 42 2
-DATE	42.000	42.000	2.000
-sampledso.write_me old value=42 new value=2
+pmdumptext: Error: sampledso.write_me: Unknown metric name
+pmdumptext: Error: sampledso.write_me: Unknown metric name
+pmdumptext: Error: sampledso.write_me: Unknown metric name
+pmdumptext: no valid metrics, exiting.
+sampledso.write_me: pmLookupName: Unknown metric name

Comment 2 Nathan Scott 2014-02-21 00:52:04 UTC
Hi Miloš,

These failures look like the sample PMDA is not installed?  This is a pre-req for pcpqa ... it may be that we are missing auto-installation by the gui check script.

As root, you can run "/var/lib/pcp/pmdas/sample/Install < /dev/null" to install it.  Were we running pcp-gui-testsuite on the same hosts as pcp-testsuite before?  Perhaps we had an implicit installation via running pcp-testsuite previously, and this is the first time we ran pcp-gui-testsuite standalone?

Comment 3 Miloš Prchlík 2014-02-21 08:59:46 UTC
(In reply to Nathan Scott from comment #2)
> Hi Miloš,
> 
> These failures look like the sample PMDA is not installed?  This is a
> pre-req for pcpqa ... it may be that we are missing auto-installation by the
> gui check script.
> 
> As root, you can run "/var/lib/pcp/pmdas/sample/Install < /dev/null" to
> install it.  Were we running pcp-gui-testsuite on the same hosts as
> pcp-testsuite before?  Perhaps we had an implicit installation via running
> pcp-testsuite previously, and this is the first time we ran
> pcp-gui-testsuite standalone?

Exactly. pcp-gui-testsuite was always run as a third task (pcp-testsuite-light, pcp-testsuite, pcp-gui-testsuite) on the same machine. Now, because of some TCMS and components splitting pcp-testsuite[-light] and pcp-gui-testsuite tasks are run on different machines. Implicit installation of whatever pcp-gui-testsuite expects really happened, and now it's first time it's run on separated machines.

[root@lenovo-rd230-01 ~]# /var/lib/pcp/pmdas/sample/Install 
Error: expect current directory to be .../pmdas/sample, not /root
       (typical location is /var/lib/pcp/pmdas/sample on this platform)
[root@lenovo-rd230-01 ~]# 

^^ Not sure if this should happen, but

[root@lenovo-rd230-01 ~]# pushd /var/lib/pcp/pmdas/sample/
/var/lib/pcp/pmdas/sample ~
[root@lenovo-rd230-01 sample]# ./Install 

worked nicely, all test cases but 006 passed:

--- /var/lib/pcp-gui/testsuite/006.out  2014-01-26 15:03:53.000000000 -0500
+++ /var/lib/pcp-gui/testsuite/006.out.bad      2014-02-21 03:49:41.973707326 -0500
@@ -189,9 +189,17 @@
 <timestamp>: addItem instance sample.mirage[m-00]
 <timestamp>: addItem <addr> nitems=1
 <timestamp>: Chart::addItem src=<host>
+<timestamp>: addItem instance sample.mirage[m-01]
+<timestamp>: SamplingEngine::isCompatible type=0, units=Kbyte / sec
+<timestamp>: addItem <addr> nitems=2
+<timestamp>: Chart::addItem src=<host>
 <timestamp>: addItem instance sample.mirage_longlong[m-00]
 <timestamp>: SamplingEngine::isCompatible type=2, units=byte / millisec
-<timestamp>: addItem <addr> nitems=2
+<timestamp>: addItem <addr> nitems=3
+<timestamp>: Chart::addItem src=<host>
+<timestamp>: addItem instance sample.mirage_longlong[m-01]
+<timestamp>: SamplingEngine::isCompatible type=2, units=byte / millisec
+<timestamp>: addItem <addr> nitems=4
 <timestamp>: Chart::setLegendVisible(1) legend()=(nil)
 <timestamp>: Chart::ctor complete(<addr>)
 <timestamp>: Tab::addChart: [0]->Chart <addr>
@@ -240,6 +248,10 @@
 <timestamp>: addItem instance sample.mirage_longlong[m-00]
 <timestamp>: addItem <addr> nitems=1
 <timestamp>: Chart::addItem src=<host>
+<timestamp>: addItem instance sample.mirage_longlong[m-01]
+<timestamp>: SamplingEngine::isCompatible type=2, units=byte / millisec
+<timestamp>: addItem <addr> nitems=2
+<timestamp>: Chart::addItem src=<host>
 <timestamp>: addItem metric=sample.write_me
 <timestamp>: SamplingEngine::isCompatible type=0, units=count / sec

Comment 4 Nathan Scott 2014-03-11 04:20:32 UTC
This last failing case is a test script failure I believe.  It is not failing in the most recent upstream test run I did - it is simply changed & additional diagnostics from pmchart that were introduced, but test update overlooked.

I'll fix up the test if we do another RHEL7 pcp-gui update, but that looks extremely unlikely at this stage.

Comment 5 Nathan Scott 2014-03-19 01:02:02 UTC
As per comment #4, this appears to be a testsuite misconfiguration issue, so closing it out now.