Created attachment 563690 [details] build.log.xz failed tests: [...] twisted.words.test.test_domish.ElementTests.test_addContentBytes twisted.conch.test.test_cftp.OurServerSftpClientTests.test_extendedAttributes twisted.conch.test.test_ckeygen.KeyGenTests.test_runBadKeytype twisted.conch.test.test_conch.OpenSSHClientForwardingTests.test_localToRemoteForwarding twisted.conch.test.test_conch.OpenSSHClientForwardingTests.test_localToRemoteForwardingV6 twisted.conch.test.test_conch.OpenSSHClientForwardingTests.test_remoteToLocalForwarding [...] ------------------------------------------------------------------------------- Ran 11639 tests in 162.234s FAILED (skips=1923, failures=6, errors=23, successes=9692)
Created attachment 563692 [details] emerge --info
Created attachment 569558 [details] build.log.xz (18.7.0, ppc) twisted-18.7.0 is an improvement, it only fails 1 test instead of 6. [...] =============================================================================== [FAIL] Traceback (most recent call last): File "/var/tmp/portage/dev-python/twisted-18.7.0/work/Twisted-18.7.0-python2_7/test/lib/Twisted-18.7.0-py2.7-linux-ppc64.egg/twisted/conch/test/test_ckeygen.py", line 97, in test_runBadKeytype subprocess.check_call(['ckeygen', '-t', 'foo', '-f', filename]) File "/var/tmp/portage/dev-python/twisted-18.7.0/work/Twisted-18.7.0-python2_7/test/lib/Twisted-18.7.0-py2.7-linux-ppc64.egg/twisted/trial/_synctest.py", line 353, in __exit__ self._expectedName, reason.getTraceback()), twisted.trial.unittest.FailTest: exceptions.OSError raised instead of CalledProcessError: Traceback (most recent call last): File "/var/tmp/portage/dev-python/twisted-18.7.0/work/Twisted-18.7.0-python2_7/test/lib/Twisted-18.7.0-py2.7-linux-ppc64.egg/twisted/trial/_asynctest.py", line 112, in _run utils.runWithWarningsSuppressed, self._getSuppress(), method) File "/var/tmp/portage/dev-python/twisted-18.7.0/work/Twisted-18.7.0-python2_7/test/lib/Twisted-18.7.0-py2.7-linux-ppc64.egg/twisted/internet/defer.py", line 151, in maybeDeferred result = f(*args, **kw) File "/var/tmp/portage/dev-python/twisted-18.7.0/work/Twisted-18.7.0-python2_7/test/lib/Twisted-18.7.0-py2.7-linux-ppc64.egg/twisted/internet/utils.py", line 197, in runWithWarningsSuppressed result = f(*a, **kw) File "/var/tmp/portage/dev-python/twisted-18.7.0/work/Twisted-18.7.0-python2_7/test/lib/Twisted-18.7.0-py2.7-linux-ppc64.egg/twisted/conch/test/test_ckeygen.py", line 97, in test_runBadKeytype subprocess.check_call(['ckeygen', '-t', 'foo', '-f', filename]) --- <exception caught here> --- File "/var/tmp/portage/dev-python/twisted-18.7.0/work/Twisted-18.7.0-python2_7/test/lib/Twisted-18.7.0-py2.7-linux-ppc64.egg/twisted/conch/test/test_ckeygen.py", line 97, in test_runBadKeytype subprocess.check_call(['ckeygen', '-t', 'foo', '-f', filename]) File "/usr/lib/python2.7/subprocess.py", line 185, in check_call retcode = call(*popenargs, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 172, in call return Popen(*popenargs, **kwargs).wait() File "/usr/lib/python2.7/subprocess.py", line 394, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child raise child_exception exceptions.OSError: [Errno 2] No such file or directory twisted.conch.test.test_ckeygen.KeyGenTests.test_runBadKeytype =============================================================================== [...] ------------------------------------------------------------------------------- Ran 12223 tests in 465.317s FAILED (skips=1920, failures=1, errors=11, successes=10291) * ERROR: dev-python/twisted-18.7.0::gentoo failed (test phase):
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=538d1343448d7d69ebc75afe857c6601eaa844fa commit 538d1343448d7d69ebc75afe857c6601eaa844fa Author: Aaron Bauman <bman@gentoo.org> AuthorDate: 2019-11-28 03:01:49 +0000 Commit: Aaron Bauman <bman@gentoo.org> CommitDate: 2019-11-28 03:16:34 +0000 dev-python/twisted: bump to 19.10.0 * Remove net-misc/openssh version constraint * dev-python/bcrypt is now in DEPEND * Drop all patches which are no longer required * Clean python_test() per previous comment Package is still not compatible with py3.8 but is very close. We should see full support soon. Most tests pass with py3.8. Additionally, dev-python/automat will require a bump to >=0.8.0 in order to support py3.8 within twisted. Bug: https://bugs.gentoo.org/661258 Bug: https://bugs.gentoo.org/662340 Bug: https://bugs.gentoo.org/677226 Bug: https://bugs.gentoo.org/690790 Bug: https://bugs.gentoo.org/683910 Signed-off-by: Aaron Bauman <bman@gentoo.org> dev-python/twisted/Manifest | 1 + dev-python/twisted/twisted-19.10.0.ebuild | 173 ++++++++++++++++++++++++++++++ 2 files changed, 174 insertions(+)
Created attachment 598316 [details] build.log.xz (19.1.0, ppc) Re-tested with 19.1.0: [...] Ran 11589 tests in 152.728s FAILED (skips=2141, errors=150, successes=9302) * ERROR: dev-python/twisted-19.10.0::gentoo failed (test phase): * Tests failed with python2.7
Did you ever test 18.4.0? This could be an intermediate step in case 19.10.0 stabilisation remains blocked in the foreseeable future.
(In reply to Andreas Sturmlechner from comment #5) > Did you ever test 18.4.0? This could be an intermediate step in case 19.10.0 > stabilisation remains blocked in the foreseeable future. Tried building it now but failed at building dev-python/m2crypto dependency (bug #696884).
Created attachment 616178 [details] build.log.xz (18.4.0, ppc) Ok, building m2crypto with setarch worked out. ppc test results for twisted-18.4.0 are the same as for 18.7.0. Only 1 test fails: [...] twisted.python.test.test_url.TestURL.test_parseEqualSignInParamValue =============================================================================== [ERROR] Traceback (most recent call last): File "/var/tmp/portage/dev-python/twisted-18.4.0/work/Twisted-18.4.0-python2_7/test/lib/Twisted-18.4.0-py2.7-linux-ppc64.egg/twisted/test/test_log.py", line 511, in test_getTimezoneOffsetWithoutDaylightSavingTime self._getTimezoneOffsetTest("Africa/Johannesburg", -7200, -7200) File "/var/tmp/portage/dev-python/twisted-18.4.0/work/Twisted-18.4.0-python2_7/test/lib/Twisted-18.4.0-py2.7-linux-ppc64.egg/twisted/test/test_log.py", line 460, in _getTimezoneOffsetTest daylight = time.mktime(localDaylightTuple) exceptions.OverflowError: mktime argument out of range twisted.test.test_log.FileObserverTests.test_getTimezoneOffsetWithoutDaylightSavingTime ------------------------------------------------------------------------------- Ran 12147 tests in 663.230s FAILED (skips=1946, failures=1, errors=1, successes=10199) * ERROR: dev-python/twisted-18.4.0::gentoo failed (test phase): * Tests failed with python2.7
Created attachment 671002 [details] build.log.xz (20.3.0, ppc) Current stable twisted-20.3.0 passes (or skips) the tests which were formerly failing on ppc. No failing tests left. 2 errors still, but this is another thing. So closing this one.