This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 1336130 - derived metrics between singleton and indom'd metrics result in bad result indom
derived metrics between singleton and indom'd metrics result in bad result indom
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: pcp (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Nathan Scott
Fedora Extras Quality Assurance
:
Depends On:
Blocks: 1337212
  Show dependency treegraph
 
Reported: 2016-05-14 10:12 EDT by Frank Ch. Eigler
Modified: 2016-07-09 16:19 EDT (History)
8 users (show)

See Also:
Fixed In Version: pcp-3.11.3-1.fc24 pcp-3.11.3-1.fc22 pcp-3.11.3-1.fc23 pcp-3.11.3-1.el5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1337212 (view as bug list)
Environment:
Last Closed: 2016-06-27 14:28:15 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
possible patch (1.73 KB, patch)
2016-05-14 10:12 EDT, Frank Ch. Eigler
no flags Details | Diff
possible patch (862 bytes, patch)
2016-05-14 10:13 EDT, Frank Ch. Eigler
no flags Details | Diff

  None (edit)
Description Frank Ch. Eigler 2016-05-14 10:12:19 EDT
Created attachment 1157490 [details]
possible patch

Let x.conf be a file

   x = kernel.all.uptime - proc.psinfo.start_time

Let the command to run be

   env PCP_DERIVED_CONFIG=/path/to/x.conf pminfo -f x

Observe output

  x
    value 1008990.98
    value 1008990.98
    value 1008990.97
    value 1008990.97
    value 1008990.97
    value 1008990.97
    [...]

Observe absence of instances.  Let the next command to run be

   env PCP_DERIVED_CONFIG=/path/to/x.conf pminfo -d x

Observe output:
  x
    Data Type: double  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: instant  Units: sec

Observe mismatch: InDom should have been the indom of the right operand (proc.psinfo.start_time).

Examine libpcp/src/derive.c, find bugs.
Comment 1 Frank Ch. Eigler 2016-05-14 10:13 EDT
Created attachment 1157491 [details]
possible patch
Comment 2 Fedora Update System 2016-06-18 01:23:53 EDT
pcp-3.11.3-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-331bd3e9bf
Comment 3 Fedora Update System 2016-06-18 01:24:22 EDT
pcp-3.11.3-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-aad44ac639
Comment 4 Fedora Update System 2016-06-18 02:17:25 EDT
pcp-3.11.3-1.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-4745f3e292
Comment 5 Fedora Update System 2016-06-18 12:26:08 EDT
pcp-3.11.3-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-0b45289bc4
Comment 6 Fedora Update System 2016-06-27 14:27:58 EDT
pcp-3.11.3-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
Comment 7 Fedora Update System 2016-06-27 18:52:59 EDT
pcp-3.11.3-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
Comment 8 Fedora Update System 2016-06-27 18:56:44 EDT
pcp-3.11.3-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
Comment 9 Fedora Update System 2016-07-09 16:18:54 EDT
pcp-3.11.3-1.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.