Bug 1710238 - python-pytest-cov FTBFS with Python 3.8
Summary: python-pytest-cov FTBFS with Python 3.8
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pytest-cov
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON38
TreeView+ depends on / blocked
 
Reported: 2019-05-15 07:28 UTC by Lumír Balhar
Modified: 2019-05-17 09:46 UTC (History)
5 users (show)

Fixed In Version: python-pytest-cov-2.7.1-2.fc31
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-17 02:30:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Full build log from COPR (118.04 KB, text/plain)
2019-05-15 07:28 UTC, Lumír Balhar
no flags Details

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.


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