Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-25543

performance copilot gives 'day of year out of range' error when date is Jan 1st for a year.

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-9.5
    • rhel-9.3.0
    • pcp
    • pcp-6.2.0-2.el9
    • None
    • Moderate
    • Customer Reported
    • 1
    • sst_pt_pcp
    • ssg_platform_tools
    • 22
    • 1
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • No
    • Red Hat Enterprise Linux
    • PCP Sprint 1
    • Unspecified Release Note Type - Unknown
    • None

      Issue:
          When date is Jan 1st (doesn't matter the year), performance copilot would output the following error:

          'Value Error: day of year out of range'
      How to Reproduce:
          1. Set system date to Jan 1st of the current year.
          2. Run any performance copilot python commands (for example, 'pcp-mpstat -P ALL -t 1 -s 2').
          3. Observe Issue.

      Expected Behavior.
          Command runs successively without issues.

      Actual Behavior.
          Command fails with above mentioned error.

      Affected components:
          Latest versions of pcp and pcp-system-tools for RHEL 8 and 9.
          6.1.1-4.el9
          5.3.7-19.el8

      Additional:
          Customer this listing was filed for has already filed a Pull Request for a fix with upstream that has been merged at the time of this listing being posted.

      https://github.com/performancecopilot/pcp/pull/1890

      As such, this bug listing is for backporting this fix into the Red Hat implementation.

            nathans@redhat.com Nathan Scott
            brclark@redhat.com Brandon Clark
            pcp-maint pcp-maint
            Jan Kurik Jan Kurik
            Jacob Valdez Jacob Valdez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: