Bug 1710238

Summary: python-pytest-cov FTBFS with Python 3.8
Product: [Fedora] Fedora Reporter: Lumír Balhar <lbalhar>
Component: python-pytest-covAssignee: Orion Poplawski <orion>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: cstratak, mhroncok, orion, piotr1212, ttomecek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-pytest-cov-2.7.1-2.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-17 02:30:01 UTC Type: Bug
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:    
Bug Blocks: 1686977    
Attachments:
Description Flags
Full build log from COPR none

Description Lumír Balhar 2019-05-15 07:28:24 UTC
Created attachment 1568819 [details]
Full build log from COPR

python-pytest-cov-2.7.1-1.fc31 fails to build from source with Python 3.8 because it gets stuck in the middle of tests.

Last lines you can see in the build log are:

tests/test_pytest_cov.py::test_funcarg_not_active PASSED                 [ 50%]
tests/test_pytest_cov.py::test_multiprocessing_pool  !! Copr timeout => sending INT

Traceback (most recent call last):
  File "/usr/bin/copr-rpmbuild", line 158, in main
    action(args, config)
  File "/usr/bin/copr-rpmbuild", line 288, in build_rpm
    builder.run()
  File "/usr/lib/python3.6/site-packages/copr_rpmbuild/builders/mock.py", line 40, in run
    self.produce_rpm(srpm, configdir, self.resultdir)
  File "/usr/lib/python3.6/site-packages/copr_rpmbuild/builders/mock.py", line 124, in produce_rpm
    raise RuntimeError("Build failed")
RuntimeError: Build failed

Comment 1 Miro Hrončok 2019-05-15 08:42:11 UTC
Looks like a deadlock.

Comment 2 Lumír Balhar 2019-05-16 05:27:36 UTC
Upstream issue: https://github.com/pytest-dev/pytest-cov/issues/295
PR to skip multiprocessing tests: https://src.fedoraproject.org/rpms/python-pytest-cov/pull-request/3

Comment 3 Orion Poplawski 2019-05-17 02:30:01 UTC
built, thanks.

Comment 4 Miro Hrončok 2019-05-17 09:46:02 UTC
Thank you Lumír, Orion!

BTW It is not yet necessary to build 3.8 fixes or to bump their changelogs.