Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1810313
Summary: | python-cherrypy: FTBFS in Fedora 32 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Elliott Sales de Andrade <quantum.analyst> |
Component: | python-cherrypy | Assignee: | Matthias Runge <mrunge> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 32 | CC: | dradez, igor.raits, mhroncok, mrunge |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | https://koschei.fedoraproject.org/package/python-cherrypy | ||
Whiteboard: | |||
Fixed In Version: | python-cherrypy-18.4.0-4.fc33 python-cherrypy-18.4.0-4.fc32 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-06-05 06:24:57 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: | 1813181, 1813182 | ||
Bug Blocks: | 1750908, 1803234, 1803235, 1785415, 1841665, 1842157 |
Description
Elliott Sales de Andrade
2020-03-04 23:02:44 UTC
Dear Maintainer, your package has an open Fails To Build From Source bug for Fedora 32. Action is required from you. If you can fix your package to build, perform a build in koji, and either create an update in bodhi, or close this bug without creating an update, if updating is not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to acknowledge this. If you have already fixed this issue, please close this Bugzilla report. Following the policy for such packages [2], your package will be orphaned if this bug remains in NEW state more than 8 weeks (that's on 2020-04-29). A week before the mass branching of Fedora 33 according to the schedule [3], any packages not successfully rebuilt at least on Fedora 31 will be retired regardless of the status of this bug. [1] https://fedoraproject.org/wiki/Updates_Policy [2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/ [3] https://fedorapeople.org/groups/schedule/f-33/f-33-key-tasks.html This is missing jaraco.collections, which requires jaraco.text. *** Bug 1841688 has been marked as a duplicate of this bug. *** This is a DeprecationWarning treated as error. Why is it blocked on extra packages? Ok, my bad, the deprecation warning is just a symptom. With this: %check +# https://github.com/cherrypy/cherrypy/commit/5d3c86eb36dfdf972a1d3c8d69cf8be2050eb99c +export WEBTEST_INTERACTIVE=false LANG=C.utf-8 %{__python3} -m pytest --ignore=build The failure is: =================================== FAILURES =================================== _________________________ ToolTests.testCombinedTools __________________________ self = <cherrypy.test.test_tools.ToolTests testMethod=testCombinedTools> def testCombinedTools(self): expectedResult = (ntou('Hello,world') + europoundUnicode).encode('utf-8') zbuf = io.BytesIO() zfile = gzip.GzipFile(mode='wb', fileobj=zbuf, compresslevel=9) zfile.write(expectedResult) zfile.close() self.getPage('/euro', headers=[ ('Accept-Encoding', 'gzip'), ('Accept-Charset', 'ISO-8859-1,utf-8;q=0.7,*;q=0.7')]) self.assertInBody(zbuf.getvalue()[:3]) zbuf = io.BytesIO() zfile = gzip.GzipFile(mode='wb', fileobj=zbuf, compresslevel=6) zfile.write(expectedResult) zfile.close() self.getPage('/decorated_euro', headers=[('Accept-Encoding', 'gzip')]) self.assertInBody(zbuf.getvalue()[:3]) # This returns a different value because gzip's priority was # lowered in conf, allowing the rotator to run after gzip. # Of course, we don't want breakage in production apps, # but it proves the priority was changed. self.getPage('/decorated_euro/subpath', headers=[('Accept-Encoding', 'gzip')]) > self.assertInBody(bytes([(x + 3) % 256 for x in zbuf.getvalue()])) expectedResult = b'Hello,world\xc2\x80\xc2\xa3' self = <cherrypy.test.test_tools.ToolTests testMethod=testCombinedTools> zbuf = <_io.BytesIO object at 0x7f4291933130> zfile = <gzip on 0x7f429192f0a0> cherrypy/test/test_tools.py:374: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.9/site-packages/cheroot/test/webtest.py:401: in assertInBody self._handlewebError(msg) msg = 'b\'"\\x8e\\x0b\\x03\\x166\\xdca\\x03\\x02\\xf6K\\xd0\\xcc\\xcc\\xda,\\xd22\\xcdL<\\xd7sk4\\x03\\xe62\\x9e\\x8e\\x12\\...\\x03\\x166\\xdca\\x05\\x02\\xf6K\\xd0\\xcc\\xcc\\xda,\\xd22\\xcdL<\\xd7sk4\\x03\\xe62\\x9e\\x8e\\x12\\x03\\x03\\x03\'' self = <cherrypy.test.test_tools.ToolTests testMethod=testCombinedTools> value = b'"\x8e\x0b\x03\x166\xdca\x03\x02\xf6K\xd0\xcc\xcc\xda,\xd22\xcdL<\xd7sk4\x03\xe62\x9e\x8e\x12\x03\x03\x03' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <cherrypy.test.test_tools.ToolTests testMethod=testCombinedTools> msg = 'b\'"\\x8e\\x0b\\x03\\x166\\xdca\\x03\\x02\\xf6K\\xd0\\xcc\\xcc\\xda,\\xd22\\xcdL<\\xd7sk4\\x03\\xe62\\x9e\\x8e\\x12\\...\\x03\\x166\\xdca\\x05\\x02\\xf6K\\xd0\\xcc\\xcc\\xda,\\xd22\\xcdL<\\xd7sk4\\x03\\xe62\\x9e\\x8e\\x12\\x03\\x03\\x03\'' def _handlewebError(self, msg): print('') print(' ERROR: %s' % msg) if not self.interactive: > raise self.failureException(msg) E AssertionError: b'"\x8e\x0b\x03\x166\xdca\x03\x02\xf6K\xd0\xcc\xcc\xda,\xd22\xcdL<\xd7sk4\x03\xe62\x9e\x8e\x12\x03\x03\x03' not in body: b'"\x8e\x0b\x03\x166\xdca\x05\x02\xf6K\xd0\xcc\xcc\xda,\xd22\xcdL<\xd7sk4\x03\xe62\x9e\x8e\x12\x03\x03\x03' msg = 'b\'"\\x8e\\x0b\\x03\\x166\\xdca\\x03\\x02\\xf6K\\xd0\\xcc\\xcc\\xda,\\xd22\\xcdL<\\xd7sk4\\x03\\xe62\\x9e\\x8e\\x12\\...\\x03\\x166\\xdca\\x05\\x02\\xf6K\\xd0\\xcc\\xcc\\xda,\\xd22\\xcdL<\\xd7sk4\\x03\\xe62\\x9e\\x8e\\x12\\x03\\x03\\x03\'' self = <cherrypy.test.test_tools.ToolTests testMethod=testCombinedTools> /usr/lib/python3.9/site-packages/cheroot/test/webtest.py:255: AssertionError ----------------------------- Captured stdout call ----------------------------- ERROR: b'"\x8e\x0b\x03\x166\xdca\x03\x02\xf6K\xd0\xcc\xcc\xda,\xd22\xcdL<\xd7sk4\x03\xe62\x9e\x8e\x12\x03\x03\x03' not in body: b'"\x8e\x0b\x03\x166\xdca\x05\x02\xf6K\xd0\xcc\xcc\xda,\xd22\xcdL<\xd7sk4\x03\xe62\x9e\x8e\x12\x03\x03\x03' ------------------------------ Captured log call ------------------------------- INFO cherrypy.access.139923886819936:_cplogging.py:283 127.0.0.1 - - [04/Jun/2020:19:44:51] "GET /euro HTTP/1.1" 200 33 "" "" INFO cherrypy.access.139923886819936:_cplogging.py:283 127.0.0.1 - - [04/Jun/2020:19:44:51] "GET /decorated_euro HTTP/1.1" 200 35 "" "" INFO cherrypy.access.139923886819936:_cplogging.py:283 127.0.0.1 - - [04/Jun/2020:19:44:51] "GET /decorated_euro/subpath HTTP/1.1" 200 35 "" "" This was already mentioned in https://github.com/cherrypy/cherrypy/pull/1668 and it went away... no idea why. Maybe we should skip the test for now? I was briefly looking into updating the package for f33, but that requires additional packages (linked as dependencies here). Meanwhile skipping the tests makes sense to me. I've already rebuilt rawhide, f32 is rebuilding right now. FEDORA-2020-0bbfa8b0dd has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-0bbfa8b0dd (In reply to Matthias Runge from comment #6) > I was briefly looking into updating the package for f33, but that requires > additional packages (linked as dependencies here). Ah, makes sense. I've moved the deps to bz1777494. > Meanwhile skipping the > tests makes sense to me. I've already rebuilt rawhide, f32 is rebuilding > right now. Thanks! FEDORA-2020-0bbfa8b0dd has been pushed to the Fedora 32 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-0bbfa8b0dd` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-0bbfa8b0dd See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. python-cherrypy-18.4.0-4.fc32 has been pushed to the Fedora 32 stable repository. If problems still persist, please make note of it in this bug report. |