Bug 2098773

Summary: F37FailsToInstall: python3-pcp
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: pcpAssignee: Nathan Scott <nathans>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: agerstmayr, jkurik, mgoodwin, nathans
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-15 11:54:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2049428, 2106979    
Bug Blocks: 2045109    

Description Miro Hrončok 2022-06-20 09:32:23 UTC
Hello,

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (mhroncok).

Your package (pcp) Fails To Install in Fedora 37:

can't install python3-pcp:
  - nothing provides python(abi) = 3.10 needed by python3-pcp-5.3.7-2.fc37.x86_64
  
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.


P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. To reproduce, use the koji/local repo only, e.g. in mock:

    $ mock -r fedora-37-x86_64 --disablerepo='*' --enablerepo=local install python3-pcp


P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages

Thanks!

Comment 1 Miro Hrončok 2022-06-20 10:27:01 UTC
This is stuck on gating: https://bodhi.fedoraproject.org/updates/FEDORA-2022-4a34a9ac32

Comment 2 Miro Hrončok 2022-06-20 11:43:36 UTC
Gating is stuck on:

 Problem 1: package pcp-pmda-mssql-5.3.7-5.fc37.x86_64 requires python3-pyodbc, but none of the providers can be installed
  - package python3-pyodbc-4.0.30-5.fc36.x86_64 requires python(abi) = 3.10, but none of the providers can be installed
  - python3-3.10.5-2.fc37.i686 has inferior architecture
  - cannot install both python3-3.11.0~b3-3.fc37.x86_64 and python3-3.10.5-2.fc37.x86_64
  - cannot install both python3-3.10.5-2.fc37.x86_64 and python3-3.11.0~b3-3.fc37.x86_64
  - package python3-pcp-5.3.7-5.fc37.x86_64 requires python(abi) = 3.11, but none of the providers can be installed
  - conflicting requests

Comment 3 Miro Hrončok 2022-06-27 14:56:04 UTC
Hello,

This is the first reminder (step 3 from https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs).

If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.

Comment 4 Miro Hrončok 2022-06-29 11:16:04 UTC
Now the gating tests just fail: https://bodhi.fedoraproject.org/updates/FEDORA-2022-4a34a9ac32

Comment 5 Jan Kurik 2022-06-29 11:43:32 UTC
The sanity testing is failing on test cases 091, 178, 354, 702, 707, 1315.
While failures in test cases 091, 178, 354 and 1315 do not seem to be related to the python update, test cases 702 and 707 generate the following output:


archive - FAIL: test_context (__main__.TestSequenceFunctions.test_context)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/pcp/testsuite/src/test_pcp.py", line 522, in test_context
    test_pcp(self)
    ^^^^^^^^^^^^^^
  File "/var/lib/pcp/testsuite/src/test_pcp.py", line 78, in test_pcp
    self.assertTrue(result == source)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: False is not true


The whole log from the sanity test is available at https://osci-jenkins-1.ci.fedoraproject.org/job/fedora-ci/job/dist-git-pipeline/job/master/150372/testReport/(root)/tests/_tests_Sanity_pcp_testsuite_sanity/

Comment 7 Nathan Scott 2022-07-14 03:41:11 UTC
Thanks Jan.  I'm 99% sure the python failures are a bug in python/ctypes rather than PCP itself now - I'll post a separate BZ with minimal reproducer shortly.  Looking into the other failures next, but neither of them looks overly worrying in terms of overall health of PCP on rawhide (one is in pmlogextract, possible test race condition, the other looks like a corner-case kernel error handling issue).

Should we waive these in order to get a build through against python 3.11?  Much of PCP is uninstallable in rawhide at the moment due to a python version mismatch.

Comment 8 Nathan Scott 2022-07-14 03:58:16 UTC
Related python BZ is https://bugzilla.redhat.com/show_bug.cgi?id=2106979

Comment 9 Jan Kurik 2022-07-14 05:22:14 UTC
Thanks Nathan to look at this. I just waived the pcp-5.3.7-5.fc37 build, so now the gating passed.

Comment 10 Miro Hrončok 2022-07-15 11:54:25 UTC
Hello,

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (mhroncok).

All subpackages of a package against which this bug was filled are now installable or removed from Fedora 37.

Thanks for taking care of it!