pcp
[Top] [All Lists]

[Bug 1379457] New: Wrong error message for metrics missing help inform

To: pcp@xxxxxxxxxxx
Subject: [Bug 1379457] New: Wrong error message for metrics missing help information pminfo -t and pminfo -T
From: bugzilla@xxxxxxxxxx
Date: Mon, 26 Sep 2016 19:28:25 +0000
Auto-submitted: auto-generated
Delivered-to: pcp@xxxxxxxxxxx
https://bugzilla.redhat.com/show_bug.cgi?id=1379457

            Bug ID: 1379457
           Summary: Wrong error message for metrics missing help
                    information pminfo -t and pminfo -T
           Product: Fedora
           Version: 24
         Component: pcp
          Severity: low
          Assignee: nathans@xxxxxxxxxx
          Reporter: wcohen@xxxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: brolley@xxxxxxxxxx, fche@xxxxxxxxxx, lberk@xxxxxxxxxx,
                    mgoodwin@xxxxxxxxxx, nathans@xxxxxxxxxx,
                    pcp@xxxxxxxxxxx, scox@xxxxxxxxxx



Description of problem:

For metrics missing help information the "pminfo -t" and "pminfo -T" returning
a misleading error message:

Error: Unknown or illegal metric identifier

Would expect PM_ERR_TEXT with the following string to be printed in these
cases:

"One-line or help text is not available"

Also would expect it not to put in the additional blank lines in the output.

Version-Release number of selected component (if applicable):
pcp-3.11.4-1.fc24.x86_64

How reproducible: Always


Steps to Reproduce:
1. sudo yum install pcp
2.$ pminfo -t disk.dev

Actual results:

$ pminfo -t disk.dev
disk.dev.read [per-disk read operations]
disk.dev.write [per-disk write operations]
disk.dev.total [per-disk total (read+write) operations]
disk.dev.blkread [per-disk block read operations]
disk.dev.blkwrite [per-disk block write operations]
disk.dev.blktotal [per-disk total (read+write) block operations]
disk.dev.read_bytes [per-disk count of bytes read]
disk.dev.write_bytes [per-disk count of bytes written]
disk.dev.total_bytes [per-disk count of total bytes read and written]
disk.dev.read_merge [per-disk count of merged read requests]
disk.dev.write_merge [per-disk count of merged write requests]
disk.dev.avactive [per-disk count of active time]
disk.dev.read_rawactive [per-disk raw count of read response time]
disk.dev.write_rawactive [per-disk raw count of write response time]
disk.dev.total_rawactive [per-disk raw count of I/O response time]
disk.dev.aveq [per-disk time averaged count of request queue length]
disk.dev.scheduler [per-disk I/O scheduler]
disk.dev.await One-line Help: Error: Unknown or illegal metric identifier

disk.dev.r_await One-line Help: Error: Unknown or illegal metric identifier

disk.dev.w_await One-line Help: Error: Unknown or illegal metric identifier

disk.dev.avg_qlen One-line Help: Error: Unknown or illegal metric identifier

disk.dev.avg_rqsz One-line Help: Error: Unknown or illegal metric identifier

disk.dev.util One-line Help: Error: Unknown or illegal metric identifier




Expected results:

$ pminfo -t disk.dev
disk.dev.read [per-disk read operations]
disk.dev.write [per-disk write operations]
disk.dev.total [per-disk total (read+write) operations]
disk.dev.blkread [per-disk block read operations]
disk.dev.blkwrite [per-disk block write operations]
disk.dev.blktotal [per-disk total (read+write) block operations]
disk.dev.read_bytes [per-disk count of bytes read]
disk.dev.write_bytes [per-disk count of bytes written]
disk.dev.total_bytes [per-disk count of total bytes read and written]
disk.dev.read_merge [per-disk count of merged read requests]
disk.dev.write_merge [per-disk count of merged write requests]
disk.dev.avactive [per-disk count of active time]
disk.dev.read_rawactive [per-disk raw count of read response time]
disk.dev.write_rawactive [per-disk raw count of write response time]
disk.dev.total_rawactive [per-disk raw count of I/O response time]
disk.dev.aveq [per-disk time averaged count of request queue length]
disk.dev.scheduler [per-disk I/O scheduler]
disk.dev.await One-line Help: Error: One-line or help text is not available
disk.dev.r_await One-line Help: Error: One-line or help text is not available
disk.dev.w_await One-line Help: Error: One-line or help text is not available
disk.dev.avg_qlen One-line Help: Error: One-line or help text is not available
disk.dev.avg_rqsz One-line Help: Error: One-line or help text is not available
disk.dev.util One-line Help: Error: One-line or help text is not available

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=NT5WlrqHlw&a=cc_unsubscribe
<Prev in Thread] Current Thread [Next in Thread>