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 1841688
Summary: | F33FailsToInstall: python3-cherrypy | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Igor Raits <igor.raits> |
Component: | python-cherrypy | Assignee: | Matthias Runge <mrunge> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | dradez, igor.raits, jcaratza, mhroncok, mrunge, python-sig, tomek |
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: | 2020-06-03 10:25:23 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: | 1834207, 1841687 | ||
Bug Blocks: | 1803235, 1785415, 1841665 |
Description
Igor Raits
2020-05-29 14:35:22 UTC
cheroot test were disabled. now cherrypy fails to build with: _________________________ 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 0xb4a8d208> zfile = <gzip on 0xb49b4808> 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\\x16y\\xdaa\\x03\\x02\\xf6K\\xd0\\xcc\\xcc\\xda,\\xd22\\xcdL<\\xd7sk4\\x03\\xe62\\x9e\\x8e\\x12\\...\\x03\\x16y\\xdaa\\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\x16y\xdaa\x03\x02\xf6K\xd0\xcc\xcc\xda,\xd22\xcdL<\xd7sk4\x03\xe62\x9e\x8e\x12\x03\x03\x03' /usr/lib/python3.9/site-packages/cheroot/test/webtest.py:254: in _handlewebError if not self.interactive: msg = 'b\'"\\x8e\\x0b\\x03\\x16y\\xdaa\\x03\\x02\\xf6K\\xd0\\xcc\\xcc\\xda,\\xd22\\xcdL<\\xd7sk4\\x03\\xe62\\x9e\\x8e\\x12\\...\\x03\\x16y\\xdaa\\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:98: in __get__ return self.fget(obj) obj = <cherrypy.test.test_tools.ToolTests testMethod=testCombinedTools> objtype = <class 'cherrypy.test.test_tools.ToolTests'> self = <cheroot.test.webtest.NonDataProperty object at 0xb5392718> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <cherrypy.test.test_tools.ToolTests testMethod=testCombinedTools> @NonDataProperty def interactive(self): """Determine whether tests are run in interactive mode. Load interactivity setting from environment, where the value can be numeric or a string like true or False or 1 or 0. """ env_str = os.environ.get('WEBTEST_INTERACTIVE', 'True') is_interactive = bool(json.loads(env_str.lower())) if is_interactive: > warnings.warn( 'Interactive test failure interceptor support via ' 'WEBTEST_INTERACTIVE environment variable is deprecated.', DeprecationWarning, ) E DeprecationWarning: Interactive test failure interceptor support via WEBTEST_INTERACTIVE environment variable is deprecated. env_str = 'True' is_interactive = True self = <cherrypy.test.test_tools.ToolTests testMethod=testCombinedTools> /usr/lib/python3.9/site-packages/cheroot/test/webtest.py:241: DeprecationWarning ----------------------------- Captured stdout call ----------------------------- ERROR: b'"\x8e\x0b\x03\x16y\xdaa\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\x16y\xdaa\x05\x02\xf6K\xd0\xcc\xcc\xda,\xd22\xcdL<\xd7sk4\x03\xe62\x9e\x8e\x12\x03\x03\x03' ------------------------------ Captured log call ------------------------------- INFO cherrypy.access.3030024496:_cplogging.py:283 127.0.0.1 - - [03/Jun/2020:10:06:11] "GET /euro HTTP/1.1" 200 33 "" "" INFO cherrypy.access.3030024496:_cplogging.py:283 127.0.0.1 - - [03/Jun/2020:10:06:11] "GET /decorated_euro HTTP/1.1" 200 35 "" "" INFO cherrypy.access.3030024496:_cplogging.py:283 127.0.0.1 - - [03/Jun/2020:10:06:11] "GET /decorated_euro/subpath HTTP/1.1" 200 35 "" "" Which is known and reported in bz1810313. *** This bug has been marked as a duplicate of bug 1810313 *** |