Problem with qa/1024

"Ken McDonell" <[email protected]>
Newsgroups gmane.comp.sysutils.pcp
Message-ID <[email protected]>
The datafile linux/blkdev-root-006.tgz looks to have been snarfed from a 64-bit system.

Note in particular the line
   8      16 sdb 414013162 71693 36707072386 4035660252 2590650281 59040528 132756882504 3194780180 0 1226902588 2955891420

now block reads (36707072386) and block writes (132756882504) in particular for qa/1024 are 64-bit numbers, but on a 32-bit platform the corresponding metrics are 32-bits long, so I see this QA failure ...

kenj@vm12:~/src/pcp/qa$ show-me 1024
1024: 
*** 1024.out	2016-10-12 21:07:56.758056660 +1100
--- 1024.out.bad	2016-10-15 23:42:52.402664304 +1100
***************
*** 2670,2676 ****
      inst [N or "nbd8"] value 0
      inst [N or "nbd9"] value 0
      inst [N or "sda"] value 93377586
!     inst [N or "sdb"] value 36707072386	<--- this is disk.dev.blkread
  
  disk.dev.blktotal
      inst [N or "nbd0"] value 0
--- 2670,2676 ----
      inst [N or "nbd8"] value 0
      inst [N or "nbd9"] value 0
      inst [N or "sda"] value 93377586
!     inst [N or "sdb"] value 2347334018
  
  disk.dev.blktotal
      inst [N or "nbd0"] value 0
***************
*** 2710,2716 ****
      inst [N or "nbd8"] value 0
      inst [N or "nbd9"] value 0
      inst [N or "sda"] value 269995546
!     inst [N or "sdb"] value 132756882504	<--- this is disk.dev.blkwrite
  
  disk.dev.read
      inst [N or "nbd0"] value 0
--- 2710,2716 ----
      inst [N or "nbd8"] value 0
      inst [N or "nbd9"] value 0
      inst [N or "sda"] value 269995546
!     inst [N or "sdb"] value 3907863624
  
  disk.dev.read
      inst [N or "nbd0"] value 0

Possible fixes are
(a) hand edit the data file so the values are no larger than 32 bits, or
(b) make the test run differently on 32-bit platforms (skip this data set) and have a variant 1024.out file.

I'm not sure exactly what this test is aiming to cover, so don't want to punt on the correct approach until someone who knows chimes in.

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

You receive all messages sent to this group.

View/Reply Online (#14515): https://groups.io/g/pcp/message/14515
View All Messages In Topic (1): https://groups.io/g/pcp/topic/2910153
Mute This Topic: https://groups.io/mt/2910153?uid=174580
New Topic: https://groups.io/g/pcp/post

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
-=-=-=-=-=-=-=-=-=-=-=-
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.