Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 782853 - dev-python/twisted-20.3.0 - fails 13 tests on ppc
Summary: dev-python/twisted-20.3.0 - fails 13 tests on ppc
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2021-04-14 15:20 UTC by ernsteiswuerfel
Modified: 2021-10-31 18:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (twisted-20.3.0:20210414-145920.log.xz,97.33 KB, application/x-xz)
2021-04-14 15:20 UTC, ernsteiswuerfel
Details
emerge --info (file_782853.txt,5.98 KB, text/plain)
2021-04-14 15:20 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2021-04-14 15:20:18 UTC
Created attachment 699816 [details]
build.log.xz

test_checkKeyAsRoot ...                                              [FAIL]
    test_getPrivateKeysAsRoot ...                                        [FAIL]
    test_baseWithPrerelease ...                                          [FAIL]
    test_getVersionStringWithPrerelease ...                              [FAIL]
    test_strWithPrerelease ...                                           [FAIL]
    test_rotatePermissionDirectoryNotOk ...                              [FAIL]
    test_rotatePermissionFileNotOk ...                                   [FAIL]
    test_newPluginsOnReadOnlyPath ...                                    [FAIL]
    test_deployedMode ...                                                [FAIL]
    testParseqs ...                                                      [FAIL]
    test_forbiddenResource ...                                           [FAIL]
    testDownloadPageError3 ...                                           [FAIL]
    testDownloadPageError3 ...                                           [FAIL]

[...]
[FAIL]
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/twisted-20.3.0/work/Twisted-20.3.0-python3_8/test/lib/twisted/conch/test/test_checkers.py", line 255, in test_checkKeyAsRoot
    self.assertEqual(self.mockos.seteuidCalls, [0, 1, 0, 2345])
  File "/var/tmp/portage/dev-python/twisted-20.3.0/work/Twisted-20.3.0-python3_8/test/lib/twisted/trial/_synctest.py", line 434, in assertEqual
    super(_Assertions, self).assertEqual(first, second, msg)
  File "/usr/lib/python3.8/unittest/case.py", line 912, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python3.8/unittest/case.py", line 1118, in assertListEqual
    self.assertSequenceEqual(list1, list2, msg, seq_type=list)
  File "/usr/lib/python3.8/unittest/case.py", line 1100, in assertSequenceEqual
    self.fail(msg)
twisted.trial.unittest.FailTest: Lists differ: [] != [0, 1, 0, 2345]

Second list contains 4 additional elements.
First extra element 0:
0

- []
+ [0, 1, 0, 2345]

twisted.conch.test.test_checkers.SSHPublicKeyDatabaseTests.test_checkKeyAsRoot
===============================================================================
[FAIL]
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/twisted-20.3.0/work/Twisted-20.3.0-python3_8/test/lib/twisted/conch/test/test_openssh_compat.py", line 110, in test_getPrivateKeysAsRoot
    self.assertEqual(self.mockos.seteuidCalls, [0, os.geteuid()])
  File "/var/tmp/portage/dev-python/twisted-20.3.0/work/Twisted-20.3.0-python3_8/test/lib/twisted/trial/_synctest.py", line 434, in assertEqual
    super(_Assertions, self).assertEqual(first, second, msg)
  File "/usr/lib/python3.8/unittest/case.py", line 912, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python3.8/unittest/case.py", line 1118, in assertListEqual
    self.assertSequenceEqual(list1, list2, msg, seq_type=list)
  File "/usr/lib/python3.8/unittest/case.py", line 1100, in assertSequenceEqual
    self.fail(msg)
twisted.trial.unittest.FailTest: Lists differ: [] != [0, 0]

Second list contains 2 additional elements.
First extra element 0:
0

- []
+ [0, 0]

twisted.conch.test.test_openssh_compat.OpenSSHFactoryTests.test_getPrivateKeysAsRoot
===============================================================================
[FAIL]
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/twisted-20.3.0/work/Twisted-20.3.0-python3_8/test/lib/twisted/python/test/test_versions.py", line 175, in test_baseWithPrerelease
    self.assertEqual(Version("foo", 1, 0, 0, prerelease=8).base(),
  File "/var/tmp/portage/dev-python/twisted-20.3.0/work/Twisted-20.3.0-python3_8/test/lib/twisted/trial/_synctest.py", line 434, in assertEqual
    super(_Assertions, self).assertEqual(first, second, msg)
  File "/usr/lib/python3.8/unittest/case.py", line 912, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python3.8/unittest/case.py", line 1292, in assertMultiLineEqual
    self.fail(self._formatMessage(msg, standardMsg))
twisted.trial.unittest.FailTest: '1.0.0.rc8' != '1.0.0rc8'
- 1.0.0.rc8
?      -
+ 1.0.0rc8


twisted.python.test.test_versions.VersionsTests.test_baseWithPrerelease
===============================================================================
[FAIL]
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/twisted-20.3.0/work/Twisted-20.3.0-python3_8/test/lib/twisted/python/test/test_versions.py", line 159, in test_getVersionStringWithPrerelease
    self.assertEqual(
  File "/var/tmp/portage/dev-python/twisted-20.3.0/work/Twisted-20.3.0-python3_8/test/lib/twisted/trial/_synctest.py", line 434, in assertEqual
    super(_Assertions, self).assertEqual(first, second, msg)
  File "/usr/lib/python3.8/unittest/case.py", line 912, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python3.8/unittest/case.py", line 1292, in assertMultiLineEqual
    self.fail(self._formatMessage(msg, standardMsg))
twisted.trial.unittest.FailTest: 'whatever 8.0.0.rc1' != 'whatever 8.0.0rc1'
- whatever 8.0.0.rc1
?               -
+ whatever 8.0.0rc1


twisted.python.test.test_versions.VersionsTests.test_getVersionStringWithPrerelease
===============================================================================
[FAIL]
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/twisted-20.3.0/work/Twisted-20.3.0-python3_8/test/lib/twisted/python/test/test_versions.py", line 138, in test_strWithPrerelease
    self.assertEqual(str(Version("dummy", 1, 0, 0, prerelease=1)),
  File "/var/tmp/portage/dev-python/twisted-20.3.0/work/Twisted-20.3.0-python3_8/test/lib/twisted/trial/_synctest.py", line 434, in assertEqual
    super(_Assertions, self).assertEqual(first, second, msg)
  File "/usr/lib/python3.8/unittest/case.py", line 912, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python3.8/unittest/case.py", line 1292, in assertMultiLineEqual
    self.fail(self._formatMessage(msg, standardMsg))
twisted.trial.unittest.FailTest: '[dummy, version 1.0.0.rc1]' != '[dummy, version 1.0.0rc1]'
- [dummy, version 1.0.0.rc1]
?                      -
+ [dummy, version 1.0.0rc1]


twisted.python.test.test_versions.VersionsTests.test_strWithPrerelease
===============================================================================
[FAIL]
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/twisted-20.3.0/work/Twisted-20.3.0-python3_8/test/lib/twisted/test/test_logfile.py", line 492, in test_rotatePermissionDirectoryNotOk
    self.assertEqual(previousFile, log._file)
  File "/var/tmp/portage/dev-python/twisted-20.3.0/work/Twisted-20.3.0-python3_8/test/lib/twisted/trial/_synctest.py", line 434, in assertEqual
    super(_Assertions, self).assertEqual(first, second, msg)
  File "/usr/lib/python3.8/unittest/case.py", line 912, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python3.8/unittest/case.py", line 905, in _baseAssertEqual
    raise self.failureException(msg)
twisted.trial.unittest.FailTest: <_io.FileIO [closed]> != <_io.FileIO name='twisted.test.test_logfile/DailyLogF[90 chars]True>

twisted.test.test_logfile.DailyLogFileTests.test_rotatePermissionDirectoryNotOk
===============================================================================
[FAIL]
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/twisted-20.3.0/work/Twisted-20.3.0-python3_8/test/lib/twisted/test/test_logfile.py", line 511, in test_rotatePermissionFileNotOk
    self.assertEqual(previousFile, log._file)
  File "/var/tmp/portage/dev-python/twisted-20.3.0/work/Twisted-20.3.0-python3_8/test/lib/twisted/trial/_synctest.py", line 434, in assertEqual
    super(_Assertions, self).assertEqual(first, second, msg)
  File "/usr/lib/python3.8/unittest/case.py", line 912, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python3.8/unittest/case.py", line 905, in _baseAssertEqual
    raise self.failureException(msg)
twisted.trial.unittest.FailTest: <_io.FileIO [closed]> != <_io.FileIO name='twisted.test.test_logfile/DailyLogF[88 chars]True>

twisted.test.test_logfile.DailyLogFileTests.test_rotatePermissionFileNotOk
===============================================================================
[FAIL]
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/twisted-20.3.0/work/Twisted-20.3.0-python3_8/test/lib/twisted/test/test_plugin.py", line 609, in test_newPluginsOnReadOnlyPath
    self.fail(
twisted.trial.unittest.FailTest: Did not observe unwriteable cache warning in log events: []

twisted.test.test_plugin.DeveloperSetupTests.test_newPluginsOnReadOnlyPath
===============================================================================
[FAIL]
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/twisted-20.3.0/work/Twisted-20.3.0-python3_8/test/lib/twisted/test/test_plugin.py", line 363, in test_deployedMode
    self.fail(
twisted.trial.unittest.FailTest: Did not observe unwriteable cache warning in log events: []

twisted.test.test_plugin.PluginTests.test_deployedMode
===============================================================================
[FAIL]
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/twisted-20.3.0/work/Twisted-20.3.0-python3_8/test/lib/twisted/web/test/test_http.py", line 2344, in testParseqs
    self.assertEqual(
  File "/var/tmp/portage/dev-python/twisted-20.3.0/work/Twisted-20.3.0-python3_8/test/lib/twisted/trial/_synctest.py", line 434, in assertEqual
    super(_Assertions, self).assertEqual(first, second, msg)
  File "/usr/lib/python3.8/unittest/case.py", line 912, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python3.8/unittest/case.py", line 1211, in assertDictEqual
    self.fail(self._formatMessage(msg, standardMsg))
twisted.trial.unittest.FailTest: {b'a': [b'b'], b'd': [b'c; =f']} != {b'a': [b'b'], b'd': [b'c'], b' ': [b'f']}
- {b'a': [b'b'], b'd': [b'c; =f']}
?                          ----

+ {b' ': [b'f'], b'a': [b'b'], b'd': [b'c']}
?  ++++++++++++++


twisted.web.test.test_http.QueryArgumentsTests.testParseqs
===============================================================================
[FAIL]
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/twisted-20.3.0/work/Twisted-20.3.0-python3_8/test/lib/twisted/web/test/test_static.py", line 219, in cbRendered
    self.assertEqual(request.responseCode, 403)
  File "/var/tmp/portage/dev-python/twisted-20.3.0/work/Twisted-20.3.0-python3_8/test/lib/twisted/trial/_synctest.py", line 434, in assertEqual
    super(_Assertions, self).assertEqual(first, second, msg)
  File "/usr/lib/python3.8/unittest/case.py", line 912, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python3.8/unittest/case.py", line 905, in _baseAssertEqual
    raise self.failureException(msg)
twisted.trial.unittest.FailTest: 200 != 403

twisted.web.test.test_static.StaticFileTests.test_forbiddenResource
===============================================================================
[FAIL]
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/twisted-20.3.0/work/Twisted-20.3.0-python3_8/test/lib/twisted/trial/_asynctest.py", line 66, in _cb
    raise self.failureException(
twisted.trial.unittest.FailTest: did not catch an error, instead got None

twisted.web.test.test_webclient.WebClientSSLTests.testDownloadPageError3
twisted.web.test.test_webclient.WebClientTests.testDownloadPageError3
===============================================================================
Comment 1 ernsteiswuerfel archtester 2021-04-14 15:20:44 UTC
Created attachment 699819 [details]
emerge --info
Comment 2 ernsteiswuerfel archtester 2021-10-31 18:13:20 UTC
21.7.0 passes testsuite on ppc with current python setup.

[...]
-------------------------------------------------------------------------------
Ran 11937 tests in 600.817s

PASSED (skips=880, successes=11057)
 * python3_9: running distutils-r1_run_phase _distutils-r1_clean_egg_info
>>> Completed testing dev-python/twisted-21.7.0

>>> Install dev-python/twisted-21.7.0 into /var/tmp/portage/dev-python/twisted-21.7.0/image
 * python3_9: running distutils-r1_run_phase python_install