Description of problem: https://kojipkgs.fedoraproject.org//work/tasks/8150/37178150/build.log BUILDSTDERR: test_prints_nothing_if_no_errors (calibre.db.cli.tests.PrintCheckLibraryResultsTest) ... ok [5e-05 s] BUILDSTDERR: ====================================================================== BUILDSTDERR: ERROR: test_workers (calibre.srv.tests.loop.LoopTest) BUILDSTDERR: Test worker semantics BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/calibre/srv/tests/loop.py", line 98, in test_workers BUILDSTDERR: res.status, res.reason, res.getheaders(), res.read())) BUILDSTDERR: Exception: Got unexpected response: code: 408 Request Timeout headers: [('Content-Length', '0'), ('Content-Type', 'text/plain; charset=UTF-8'), ('Date', 'Tue, 20 Aug 2019 10:08:15 GMT'), ('Connection', 'close')] data: b'' BUILDSTDERR: ====================================================================== BUILDSTDERR: FAIL: test_token_serialize_css (tinycss.tests.tokenizing.TestTokenizer) BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/tokenizing.py", line 255, in test_token_serialize_css BUILDSTDERR: self.run_test(token_serialize_css) BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/tokenizing.py", line 249, in run_test BUILDSTDERR: func(self, tokenize) BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/tokenizing.py", line 41, in token_serialize_css BUILDSTDERR: self.ae(result, css_source) BUILDSTDERR: AssertionError: 'p[example\x00"\\\nfoo(int x) {\\\n this.x = x;\\\n}\\\n"]' != 'p[example="\\\nfoo(int x) {\\\n this.x = x;\\\n}\\\n"]' BUILDSTDERR: - p[example�"\ BUILDSTDERR: ? ^ + p[example="\ BUILDSTDERR: ? ^ BUILDSTDERR: foo(int x) {\ BUILDSTDERR: this.x = x;\ BUILDSTDERR: }\ BUILDSTDERR: "] BUILDSTDERR: ====================================================================== BUILDSTDERR: FAIL: test_tokens (tinycss.tests.tokenizing.TestTokenizer) BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/tokenizing.py", line 268, in test_tokens BUILDSTDERR: self.run_test(tokens) BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/tokenizing.py", line 249, in run_test BUILDSTDERR: func(self, tokenize) BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/tokenizing.py", line 242, in tokens BUILDSTDERR: self.ae(result, expected_tokens) BUILDSTDERR: AssertionError: Lists differ: [('IDENT', 'red--'), ('DELIM', '\x00')] != [('IDENT', 'red--'), ('DELIM', '>')] BUILDSTDERR: First differing element 1: BUILDSTDERR: ('DELIM', '\x00') BUILDSTDERR: ('DELIM', '>') BUILDSTDERR: - [('IDENT', 'red--'), ('DELIM', '\x00')] BUILDSTDERR: ? ^^^^ + [('IDENT', 'red--'), ('DELIM', '>')] BUILDSTDERR: ? ^ BUILDSTDERR: ====================================================================== BUILDSTDERR: FAIL: test_media_queries (tinycss.tests.media3.TestFonts3) BUILDSTDERR: Test parsing of media queries from the CSS 3 media module BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/media3.py", line 61, in test_media_queries BUILDSTDERR: self.assert_errors(stylesheet.errors, expected_errors) BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/__init__.py", line 31, in assert_errors BUILDSTDERR: self.ae(len(errors), len(expected_errors)) BUILDSTDERR: AssertionError: 1 != 0 BUILDSTDERR: ====================================================================== BUILDSTDERR: FAIL: test_parse_font (tinycss.tests.fonts3.TestFonts3) BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/fonts3.py", line 60, in test_parse_font BUILDSTDERR: t('12pt/14pt sans-serif', size='12pt', height='14pt', family=['sans-serif']) BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/fonts3.py", line 56, in t BUILDSTDERR: self.ae(q, parse_font(raw)) BUILDSTDERR: AssertionError: {'font-size': '12pt', 'line-height': '14pt', 'font-family': ['sans-serif']} != {'font-size': '12pt', 'font-family': ['sans-serif']} BUILDSTDERR: - {'font-family': ['sans-serif'], 'font-size': '12pt', 'line-height': '14pt'} BUILDSTDERR: ? ----------------------- + {'font-family': ['sans-serif'], 'font-size': '12pt'} BUILDSTDERR: ====================================================================== BUILDSTDERR: FAIL: test_parse_font_family (tinycss.tests.fonts3.TestFonts3) BUILDSTDERR: Test parsing of font-family values BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/fonts3.py", line 49, in test_parse_font_family BUILDSTDERR: self.ae(q, parse_font_family(raw)) BUILDSTDERR: AssertionError: Lists differ: ['A B C', 'serif'] != ['A B C serif'] BUILDSTDERR: First differing element 0: BUILDSTDERR: 'A B C' BUILDSTDERR: 'A B C serif' BUILDSTDERR: First list contains 1 additional elements. BUILDSTDERR: First extra element 1: BUILDSTDERR: 'serif' BUILDSTDERR: - ['A B C', 'serif'] BUILDSTDERR: ? ^^^^ + ['A B C serif'] BUILDSTDERR: ? ^ BUILDSTDERR: ====================================================================== BUILDSTDERR: FAIL: test_at_import (tinycss.tests.css21.TestCSS21) BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/css21.py", line 251, in test_at_import BUILDSTDERR: self.assert_errors(stylesheet.errors, expected_errors) BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/__init__.py", line 31, in assert_errors BUILDSTDERR: self.ae(len(errors), len(expected_errors)) BUILDSTDERR: AssertionError: 1 != 0 BUILDSTDERR: ====================================================================== BUILDSTDERR: FAIL: test_at_media (tinycss.tests.css21.TestCSS21) BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/css21.py", line 323, in test_at_media BUILDSTDERR: self.assert_errors(stylesheet.errors, expected_errors) BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/__init__.py", line 31, in assert_errors BUILDSTDERR: self.ae(len(errors), len(expected_errors)) BUILDSTDERR: AssertionError: 1 != 0 BUILDSTDERR: ====================================================================== BUILDSTDERR: FAIL: test_important (tinycss.tests.css21.TestCSS21) BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/css21.py", line 227, in test_important BUILDSTDERR: self.ae(result, expected_declarations) BUILDSTDERR: AssertionError: Lists differ: [('a', [('INTEGER', 1), ('S', ' '), ('DELIM', '\x00'), ('IDENT'[49 chars]one)] != [('a', [('INTEGER', 1)], 'important'), ('b', [('INTEGER', 2)], None)] BUILDSTDERR: First differing element 0: BUILDSTDERR: ('a', [('INTEGER', 1), ('S', ' '), ('DELIM', '\x00'), ('IDENT'[17 chars]None) BUILDSTDERR: ('a', [('INTEGER', 1)], 'important') + [('a', [('INTEGER', 1)], 'important'), ('b', [('INTEGER', 2)], None)] BUILDSTDERR: - [('a', BUILDSTDERR: - [('INTEGER', 1), ('S', ' '), ('DELIM', '\x00'), ('IDENT', 'important')], BUILDSTDERR: - None), BUILDSTDERR: - ('b', [('INTEGER', 2)], None)] BUILDSTDERR: ====================================================================== BUILDSTDERR: FAIL: test_color_parsing (tinycss.tests.color3.TestColor3) BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/color3.py", line 166, in test_color_parsing BUILDSTDERR: self.ae(result, expected_result) BUILDSTDERR: AssertionError: None != (0.796078431372549, 0.6627450980392157, 0.5294117647058824, 1) BUILDSTDERR: ====================================================================== BUILDSTDERR: FAIL: test_resolve_styles (calibre.ebooks.oeb.polish.tests.cascade.CascadeTest) BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/calibre/ebooks/oeb/polish/tests/cascade.py", line 118, in test_resolve_styles BUILDSTDERR: t('body', 'font-family', ('"Kovid Goyal"', 'sans-serif')) BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/calibre/ebooks/oeb/polish/tests/cascade.py", line 87, in test_property BUILDSTDERR: self.assertEqual(val, ans.cssText) BUILDSTDERR: AssertionError: ('"Kovid Goyal"', 'sans-serif') != '"Kovid Goyal sans-serif"' BUILDSTDERR: ====================================================================== BUILDSTDERR: FAIL: test_token_serialize_css (tinycss.tests.tokenizing.TestTokenizer) BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/tokenizing.py", line 255, in test_token_serialize_css BUILDSTDERR: self.run_test(token_serialize_css) BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/tokenizing.py", line 249, in run_test BUILDSTDERR: func(self, tokenize) BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/tokenizing.py", line 41, in token_serialize_css BUILDSTDERR: self.ae(result, css_source) BUILDSTDERR: AssertionError: 'p[example\x00"\\\nfoo(int x) {\\\n this.x = x;\\\n}\\\n"]' != 'p[example="\\\nfoo(int x) {\\\n this.x = x;\\\n}\\\n"]' BUILDSTDERR: - p[example�"\ BUILDSTDERR: ? ^ + p[example="\ BUILDSTDERR: ? ^ BUILDSTDERR: foo(int x) {\ BUILDSTDERR: this.x = x;\ BUILDSTDERR: }\ BUILDSTDERR: "] BUILDSTDERR: ====================================================================== BUILDSTDERR: FAIL: test_tokens (tinycss.tests.tokenizing.TestTokenizer) BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/tokenizing.py", line 268, in test_tokens BUILDSTDERR: self.run_test(tokens) BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/tokenizing.py", line 249, in run_test BUILDSTDERR: func(self, tokenize) BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/tokenizing.py", line 242, in tokens BUILDSTDERR: self.ae(result, expected_tokens) BUILDSTDERR: AssertionError: Lists differ: [('IDENT', 'red--'), ('DELIM', '\x00')] != [('IDENT', 'red--'), ('DELIM', '>')] BUILDSTDERR: First differing element 1: BUILDSTDERR: ('DELIM', '\x00') BUILDSTDERR: ('DELIM', '>') BUILDSTDERR: - [('IDENT', 'red--'), ('DELIM', '\x00')] BUILDSTDERR: ? ^^^^ + [('IDENT', 'red--'), ('DELIM', '>')] BUILDSTDERR: ? ^ BUILDSTDERR: ====================================================================== BUILDSTDERR: FAIL: test_media_queries (tinycss.tests.media3.TestFonts3) BUILDSTDERR: Test parsing of media queries from the CSS 3 media module BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/media3.py", line 61, in test_media_queries BUILDSTDERR: self.assert_errors(stylesheet.errors, expected_errors) BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/__init__.py", line 31, in assert_errors BUILDSTDERR: self.ae(len(errors), len(expected_errors)) BUILDSTDERR: AssertionError: 1 != 0 BUILDSTDERR: ====================================================================== BUILDSTDERR: FAIL: test_parse_font (tinycss.tests.fonts3.TestFonts3) BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/fonts3.py", line 60, in test_parse_font BUILDSTDERR: t('12pt/14pt sans-serif', size='12pt', height='14pt', family=['sans-serif']) BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/fonts3.py", line 56, in t BUILDSTDERR: self.ae(q, parse_font(raw)) BUILDSTDERR: AssertionError: {'font-size': '12pt', 'line-height': '14pt', 'font-family': ['sans-serif']} != {'font-size': '12pt', 'font-family': ['sans-serif']} BUILDSTDERR: - {'font-family': ['sans-serif'], 'font-size': '12pt', 'line-height': '14pt'} BUILDSTDERR: ? ----------------------- + {'font-family': ['sans-serif'], 'font-size': '12pt'} BUILDSTDERR: ====================================================================== BUILDSTDERR: FAIL: test_parse_font_family (tinycss.tests.fonts3.TestFonts3) BUILDSTDERR: Test parsing of font-family values BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/fonts3.py", line 49, in test_parse_font_family BUILDSTDERR: self.ae(q, parse_font_family(raw)) BUILDSTDERR: AssertionError: Lists differ: ['A B C', 'serif'] != ['A B C serif'] BUILDSTDERR: First differing element 0: BUILDSTDERR: 'A B C' BUILDSTDERR: 'A B C serif' BUILDSTDERR: First list contains 1 additional elements. BUILDSTDERR: First extra element 1: BUILDSTDERR: 'serif' BUILDSTDERR: - ['A B C', 'serif'] BUILDSTDERR: ? ^^^^ + ['A B C serif'] BUILDSTDERR: ? ^ BUILDSTDERR: ====================================================================== BUILDSTDERR: FAIL: test_at_import (tinycss.tests.css21.TestCSS21) BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/css21.py", line 251, in test_at_import BUILDSTDERR: self.assert_errors(stylesheet.errors, expected_errors) BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/__init__.py", line 31, in assert_errors BUILDSTDERR: self.ae(len(errors), len(expected_errors)) BUILDSTDERR: AssertionError: 1 != 0 BUILDSTDERR: ====================================================================== BUILDSTDERR: FAIL: test_at_media (tinycss.tests.css21.TestCSS21) BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/css21.py", line 323, in test_at_media BUILDSTDERR: self.assert_errors(stylesheet.errors, expected_errors) BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/__init__.py", line 31, in assert_errors BUILDSTDERR: self.ae(len(errors), len(expected_errors)) BUILDSTDERR: AssertionError: 1 != 0 BUILDSTDERR: ====================================================================== BUILDSTDERR: FAIL: test_important (tinycss.tests.css21.TestCSS21) BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/css21.py", line 227, in test_important BUILDSTDERR: self.ae(result, expected_declarations) BUILDSTDERR: AssertionError: Lists differ: [('a', [('INTEGER', 1), ('S', ' '), ('DELIM', '\x00'), ('IDENT'[49 chars]one)] != [('a', [('INTEGER', 1)], 'important'), ('b', [('INTEGER', 2)], None)] BUILDSTDERR: First differing element 0: BUILDSTDERR: ('a', [('INTEGER', 1), ('S', ' '), ('DELIM', '\x00'), ('IDENT'[17 chars]None) BUILDSTDERR: ('a', [('INTEGER', 1)], 'important') + [('a', [('INTEGER', 1)], 'important'), ('b', [('INTEGER', 2)], None)] BUILDSTDERR: - [('a', BUILDSTDERR: - [('INTEGER', 1), ('S', ' '), ('DELIM', '\x00'), ('IDENT', 'important')], BUILDSTDERR: - None), BUILDSTDERR: - ('b', [('INTEGER', 2)], None)] BUILDSTDERR: ====================================================================== BUILDSTDERR: FAIL: test_color_parsing (tinycss.tests.color3.TestColor3) BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/tinycss/tests/color3.py", line 166, in test_color_parsing BUILDSTDERR: self.ae(result, expected_result) BUILDSTDERR: AssertionError: None != (0.796078431372549, 0.6627450980392157, 0.5294117647058824, 1) BUILDSTDERR: ====================================================================== BUILDSTDERR: FAIL: test_font_normalization (calibre.ebooks.oeb.normalize_css.test_normalization.<locals>.TestNormalization) BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/calibre/ebooks/oeb/normalize_css.py", line 296, in test_font_normalization BUILDSTDERR: self.assertDictEqual(font_dict(expected), style, raw) BUILDSTDERR: AssertionError: {'fon[79 chars]ze': '1.2pt', 'line-height': '1.4', 'font-family': 'A_Font'} != {'fon[79 chars]ze': '1.2pt', 'line-height': 'normal', 'font-family': 'A_Font'} BUILDSTDERR: {'font-family': 'A_Font', BUILDSTDERR: 'font-size': '1.2pt', BUILDSTDERR: 'font-style': 'normal', BUILDSTDERR: 'font-variant': 'normal', BUILDSTDERR: 'font-weight': 'normal', BUILDSTDERR: - 'line-height': '1.4'} BUILDSTDERR: ? ^^^ + 'line-height': 'normal'} BUILDSTDERR: ? ^^^^^^ BUILDSTDERR: : 1.2pt/1.4 A_Font BUILDSTDERR: ====================================================================== BUILDSTDERR: FAIL: test_color_conversion (calibre.ebooks.docx.writer.utils.test_convert_color.<locals>.TestColors) BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "/builddir/build/BUILD/calibre-3.46.0/src/calibre/ebooks/docx/writer/utils.py", line 51, in test_color_conversion BUILDSTDERR: ae('FFFFFF', cc('rgb(255, 255, 255)')) BUILDSTDERR: AssertionError: 'FFFFFF' != None BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Ran 311 tests in 60.841s BUILDSTDERR: FAILED (failures=21, errors=1, skipped=11) BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.LcnTxh (%check) Tests pass on other architectures. We should probably look into unbundling, but I don't know if the standalone package is in better shape. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
> Tests pass on other architectures. We should probably look into unbundling, but I don't know if the standalone package is in better shape. python-tinycss in Fedora is unfortunately outdated (0.3 instead of 0.4). Also python-tinycss is not supported by upstream for quite a few years now (use python-tinycss2 instead). Also there is currently an non-responsive maintainer process for python-tinycss' mantainer - if you care about unbundling (and want to try the latest python-tinycss even though that one is quite old) I suggest you adopt that package: https://pagure.io/fesco/issue/2283
This message is a reminder that Fedora 31 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 31 on 2020-11-24. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '31'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 31 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 31 changed to end-of-life (EOL) status on 2020-11-24. Fedora 31 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.