Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
Bug 677226 - dev-python/twisted-16.6.0-r3: fails 6 tests on ppc
Summary: dev-python/twisted-16.6.0-r3: fails 6 tests on ppc
Status: UNCONFIRMED
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: 2019-02-03 18:57 UTC by ernsteiswuerfel
Modified: 2020-02-27 01:12 UTC (History)
1 user (show)

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


Attachments
build.log.xz (twisted-16.6.0-r3:20190203-184522.log.xz,98.47 KB, application/x-xz)
2019-02-03 18:57 UTC, ernsteiswuerfel
Details
emerge --info (file_677226.txt,5.83 KB, text/plain)
2019-02-03 18:57 UTC, ernsteiswuerfel
Details
build.log.xz (18.7.0, ppc) (twisted-18.7.0:20190318-003505.log.xz,100.87 KB, application/x-xz)
2019-03-18 00:52 UTC, ernsteiswuerfel
Details
build.log.xz (19.1.0, ppc) (twisted-19.10.0:20191203-093214.log.xz,101.16 KB, text/plain)
2019-12-03 09:56 UTC, ernsteiswuerfel
Details
build.log.xz (18.4.0, ppc) (twisted-18.4.0:20200227-004404.log.xz,102.41 KB, application/x-xz)
2020-02-27 01:12 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel 2019-02-03 18:57:01 UTC
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)
Comment 1 ernsteiswuerfel 2019-02-03 18:57:48 UTC
Created attachment 563692 [details]
emerge --info
Comment 2 ernsteiswuerfel 2019-03-18 00:52:13 UTC
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):
Comment 3 Larry the Git Cow gentoo-dev 2019-11-28 03:16:44 UTC
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(+)
Comment 4 ernsteiswuerfel 2019-12-03 09:56:56 UTC
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
Comment 5 Andreas Sturmlechner gentoo-dev 2020-02-23 09:09:41 UTC
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.
Comment 6 ernsteiswuerfel 2020-02-26 22:55:43 UTC
(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).
Comment 7 ernsteiswuerfel 2020-02-27 01:12:19 UTC
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