Bug 1687377

Summary: python-docutils FTBFS with Python 3.8.0a2
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python-docutilsAssignee: Miro Hrončok <mhroncok>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rawhideCC: infra-sig, kevin, vstinner
Target Milestone: ---Keywords: Reopened
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-06-23 20:07:59 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: 1686977    
Attachments:
Description Flags
build.log from copr
none
root.log from copr none

Description Miro Hrončok 2019-03-11 12:18:18 UTC
Created attachment 1542849 [details]
build.log from copr

======================================================================
FAIL: test_odt_basic (test_writers.test_odt.DocutilsOdtTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 152, in test_odt_basic
    self.process_test('odt_basic.txt', 'odt_basic.odt',
  File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 118, in process_test
    self.assertEqual(content1, content2, msg)
  File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 140, in assertEqual
    DocutilsTestSupport.StandardTestCase.assertEqual(self,
  File "/builddir/build/BUILD/docutils-0.14/python3/test3/DocutilsTestSupport.py", line 122, in assertEqual
    raise self.failureException(
AssertionError: content.xml not equal: expected len: 1961  actual len: 1961
======================================================================
FAIL: test_odt_custom_headfoot (test_writers.test_odt.DocutilsOdtTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 181, in test_odt_custom_headfoot
    self.process_test('odt_custom_headfoot.txt', 'odt_custom_headfoot.odt',
  File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 118, in process_test
    self.assertEqual(content1, content2, msg)
  File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 140, in assertEqual
    DocutilsTestSupport.StandardTestCase.assertEqual(self,
  File "/builddir/build/BUILD/docutils-0.14/python3/test3/DocutilsTestSupport.py", line 122, in assertEqual
    raise self.failureException(
AssertionError: content.xml not equal: expected len: 1922  actual len: 1922
======================================================================
FAIL: test_odt_nested_class (test_writers.test_odt.DocutilsOdtTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 157, in test_odt_nested_class
    self.process_test('odt_nested_class.txt',
  File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 118, in process_test
    self.assertEqual(content1, content2, msg)
  File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 140, in assertEqual
    DocutilsTestSupport.StandardTestCase.assertEqual(self,
  File "/builddir/build/BUILD/docutils-0.14/python3/test3/DocutilsTestSupport.py", line 122, in assertEqual
    raise self.failureException(
AssertionError: content.xml not equal: expected len: 1978  actual len: 1978
======================================================================
FAIL: test_odt_tables1 (test_writers.test_odt.DocutilsOdtTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 171, in test_odt_tables1
    self.process_test('odt_tables1.txt', 'odt_tables1.odt',
  File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 118, in process_test
    self.assertEqual(content1, content2, msg)
  File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 140, in assertEqual
    DocutilsTestSupport.StandardTestCase.assertEqual(self,
  File "/builddir/build/BUILD/docutils-0.14/python3/test3/DocutilsTestSupport.py", line 122, in assertEqual
    raise self.failureException(
AssertionError: content.xml not equal: expected len: 46128  actual len: 46128
----------------------------------------------------------------------
Ran 1337 tests in 8.581s
FAILED (failures=4)

Comment 1 Miro Hrončok 2019-03-11 12:18:48 UTC
Created attachment 1542850 [details]
root.log from copr

Comment 2 Victor Stinner 2019-03-14 13:55:40 UTC
I reported the bug upstream: https://sourceforge.net/p/docutils/bugs/359/

It's caused by https://bugs.python.org/issue34160 change.

Comment 3 Miro Hrončok 2019-03-14 16:47:23 UTC
Note: this is just a bad test, not an actual issue with doctest. Worst case scenario, we can exclude those tests.

Comment 4 Miro Hrončok 2019-03-14 18:12:14 UTC
s/doctest/docutils/

Comment 5 Kevin Fenzi 2019-04-15 00:33:34 UTC
I think we will wait for the final. I dont see any response to your upstream bug yet tho. ;(

Comment 6 Miro Hrončok 2019-04-15 05:26:11 UTC
I need to track this. We cannot wait for the final, the plan is to start with a side tag with first beta.

Comment 7 Kevin Fenzi 2019-04-15 14:39:50 UTC
Ah, sorry about that... must have read it too fast yesterday.

Comment 8 Miro Hrončok 2019-06-06 12:46:26 UTC
Shall I just commit the test skip?

Comment 9 Kevin Fenzi 2019-06-17 20:07:37 UTC
Yes, please do.