Bug 1705263

Summary: custodia FTBFS with pytest 4
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: custodiaAssignee: Simo Sorce <ssorce>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: cheimes, lbalhar, ssorce
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: 2019-07-10 15:12:02 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: 1671167, 1686977    
Attachments:
Description Flags
Full log from Copr none

Description Miro Hrončok 2019-05-01 20:29:47 UTC
Created attachment 1561128 [details]
Full log from Copr

custodia 0.6.0-7.fc31 FTBFS with pytest 4:

____________ ERROR at setup of ... ____________

item = <Function ...>

    def pytest_runtest_setup(item):
        skip_servertest = item.config.getoption(SKIP_SERVERTEST)
>       if skip_servertest and item.get_marker("servertest") is not None:
E       AttributeError: 'Function' object has no attribute 'get_marker'

tests/conftest.py:37: AttributeError

Full log attached.

This blocks the rebuild needed for Python 3.8.

Comment 1 Miro Hrončok 2019-07-10 10:03:01 UTC
Simo, please respond.

Comment 2 Simo Sorce 2019-07-10 11:36:54 UTC
Sorry Miro, had missed this one,
I will investigate.

Comment 3 Simo Sorce 2019-07-10 15:12:02 UTC
Created a patch (under review upstream) and added it to the Fedora custodia package.
Pushed and created build, hopefully it solves this issue.

Comment 4 Miro Hrončok 2019-07-10 15:23:08 UTC
Thank you.