pcp
[Top] [All Lists]

QA: pmval showing one less sample

To: pcp@xxxxxxxxxxx
Subject: QA: pmval showing one less sample
From: Martin Hicks <mort@xxxxxxx>
Date: Tue, 1 Sep 2009 14:50:23 -0500
User-agent: Mutt/1.5.17 (2007-11-01)
Tests 166 and 176 are showing one less sample than the expected output
with pcp 2.9.0.  Not sure what's going on here.

Is this just a bug that's been fixed?  If I pmdumptext the original
archive I see 54 samples, but the first one is a "?".  Maybe pmval is
now reporting how many intervals (samples-1) ?

mh

pcpqa@laplace:/home/mort/src/pcpqa.git$ diff -u 166.out 166.out.bad 
--- 166.out     2009-08-27 09:08:26.000000000 -0400
+++ 166.out.bad 2009-09-01 15:42:43.000000000 -0400
@@ -15,7 +15,7 @@
 end:       Wed Jan 19 22:10:26 2005
 semantics: cumulative counter (converting to rate)
 units:     millisec (converting to time utilization)
-samples:   54
+samples:   53
 interval:  15.00 sec
 21:57:15.000               1.000 
 21:57:30.000               1.000 
@@ -83,7 +83,7 @@
 end:       Wed Jan 19 22:10:26 2005
 semantics: cumulative counter
 units:     millisec
-samples:   54
+samples:   53
 interval:  15.00 sec
 21:57:00.000              3394854
 21:57:15.000              3409854
@@ -138,7 +138,6 @@
 22:09:30.000              4144854
 22:09:45.000              4159854
 22:10:00.000              4174854
-22:10:15.000              4189854
 
 --- pmval -U using reduced archive ---
 Note: timezone set to local timezone of host "kenj-pc" from archive
@@ -207,7 +206,7 @@
 end:       Wed Jan 19 22:10:00 2005
 semantics: cumulative counter (converting to rate)
 units:     millisec (converting to time utilization)
-samples:   53
+samples:   52
 interval:  15.00 sec
 21:57:15.000               1.000 
 21:57:30.000               1.000 
@@ -274,7 +273,7 @@
 end:       Wed Jan 19 22:10:00 2005
 semantics: cumulative counter
 units:     millisec
-samples:   53
+samples:   52
 interval:  15.00 sec
 21:57:00.000              3394854
 21:57:15.000              3409854
@@ -328,7 +327,6 @@
 22:09:15.000              4129854
 22:09:30.000              4144854
 22:09:45.000              4159854
-22:10:00.000              4174854
 
 === sample.drift ===
 --- pmval using input archive ---
@@ -341,7 +339,7 @@
 end:       Wed Jan 19 22:10:26 2005
 semantics: instantaneous value
 units:     none
-samples:   54
+samples:   53
 interval:  15.00 sec
 21:57:00.000        479
 21:57:15.000        399
@@ -396,7 +394,6 @@
 22:09:30.000        326
 22:09:45.000        311
 22:10:00.000        314
-22:10:15.000        284
 
 --- pmval -U using reduced archive ---
 Note: timezone set to local timezone of host "kenj-pc" from archive
@@ -437,7 +434,7 @@
 end:       Wed Jan 19 22:10:00 2005
 semantics: instantaneous value
 units:     none
-samples:   53
+samples:   52
 interval:  15.00 sec
 21:57:00.000        479
 21:57:15.000        479
@@ -491,4 +488,3 @@
 22:09:15.000        360
 22:09:30.000        360
 22:09:45.000        360
-22:10:00.000        314


<Prev in Thread] Current Thread [Next in Thread>
  • QA: pmval showing one less sample, Martin Hicks <=