Bug 2237699 - Tests 702 and 707 of the pcp-testuite are failing
Summary: Tests 702 and 707 of the pcp-testuite are failing
Keywords:
Status: CLOSED DUPLICATE of bug 2231751
Alias: None
Product: Fedora
Classification: Fedora
Component: pcp
Version: 39
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Nathan Scott
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-09-06 12:31 UTC by Jan Kurik
Modified: 2023-09-06 22:41 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-09-06 22:41:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jan Kurik 2023-09-06 12:31:37 UTC
With the currently latest pcp build pcp-6.1.0-1.fc39, tests 702 and 707 are failing, throwing a python exception.

Reproducible: Always

Steps to Reproduce:
1. Configure a Fedora39 system to run PCP testsuite
2. Run tests 702 and/or 707 of the PCP testsuite
3. Check the output
Actual Results:  
Both tests are failing with the following output:

# su -l -s /bin/bash -c 'cd /var/lib/pcp/testsuite && ./check 702' pcpqa
PMDA probe: pminfo -h vm-10-0-184-105.hosted.upshift.rdu2.redhat.com -f sample.milliseconds
PMDA probe: pminfo -h vm-10-0-184-105.hosted.upshift.rdu2.redhat.com -f sampledso.milliseconds
PMDA probe: pminfo -h vm-10-0-184-105.hosted.upshift.rdu2.redhat.com -f simple.numfetch
Primary pmlogger not running ...
chkconfig pmlogger on, and restart PMCD
702 [failed, exit status 1] - output mismatch (see 702.out.bad)
2c2,9
< live - OK
---
> live -   File "/var/lib/pcp/testsuite/src/test_pcp.py", line 533, in test_context
>     test_pcp(self)
>   File "/var/lib/pcp/testsuite/src/test_pcp.py", line 126, in test_pcp
>     descs[0].contents.type,
>     ^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: 'dict' object has no attribute 'type'
> 
> ----------------------------------------------------------------------
Check local PMCD is still alive ...
PMDA probe: pminfo -h vm-10-0-184-105.hosted.upshift.rdu2.redhat.com -f sample.milliseconds
PMDA probe: pminfo -h vm-10-0-184-105.hosted.upshift.rdu2.redhat.com -f sampledso.milliseconds
PMDA probe: pminfo -h vm-10-0-184-105.hosted.upshift.rdu2.redhat.com -f simple.numfetch
Failures: 702
Failed 1 of 1 tests



# su -l -s /bin/bash -c 'cd /var/lib/pcp/testsuite && ./check 707' pcpqa
PMDA probe: pminfo -h vm-10-0-184-105.hosted.upshift.rdu2.redhat.com -f sample.milliseconds
PMDA probe: pminfo -h vm-10-0-184-105.hosted.upshift.rdu2.redhat.com -f sampledso.milliseconds
PMDA probe: pminfo -h vm-10-0-184-105.hosted.upshift.rdu2.redhat.com -f simple.numfetch
707 [failed, exit status 1] - output mismatch (see 707.out.bad)
2c2,9
< archive - OK
---
> archive -   File "/var/lib/pcp/testsuite/src/test_pcp.py", line 533, in test_context
>     test_pcp(self)
>   File "/var/lib/pcp/testsuite/src/test_pcp.py", line 126, in test_pcp
>     descs[0].contents.type,
>     ^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: 'dict' object has no attribute 'type'
> 
> ----------------------------------------------------------------------
Check local PMCD is still alive ...
PMDA probe: pminfo -h vm-10-0-184-105.hosted.upshift.rdu2.redhat.com -f sample.milliseconds
PMDA probe: pminfo -h vm-10-0-184-105.hosted.upshift.rdu2.redhat.com -f sampledso.milliseconds
PMDA probe: pminfo -h vm-10-0-184-105.hosted.upshift.rdu2.redhat.com -f simple.numfetch
Failures: 707
Failed 1 of 1 tests


Expected Results:  
Both tests should pass.

This seems to be an issue in the pcp-testsuite, not in the PCP it self. As such, setting the severity to a low value.

Comment 1 Nathan Scott 2023-09-06 22:41:24 UTC
This is a python-3.12 issue, being tackled over in BZ 2231751.

*** This bug has been marked as a duplicate of bug 2231751 ***


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