Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 933077

Summary: dev-python/aiosmtpd-1.4.6 fails tests on hppa: assert has_smtps is True
Product: Gentoo Linux Reporter: matoro <matoro_gentoo>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: CONFIRMED ---    
Severity: normal CC: hppa, matoro_gentoo
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: HPPA   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=926965
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log and emerge --info
build.log and emerge --info

Description matoro archtester 2024-05-28 17:38:34 UTC
Created attachment 894564 [details]
build.log and emerge --info

No clue on this one.  Haven't been able to repro on any other platforms.  Clock resolution issue maybe?

================================================================== FAILURES ===================================================================
________________________________________________________ TestMainByWatcher.test_smtps _________________________________________________________

self = <aiosmtpd.tests.test_main.TestMainByWatcher object at 0xf7a16790>
temp_event_loop = <_UnixSelectorEventLoop running=False closed=True debug=False>

    def test_smtps(self, temp_event_loop):
        with watcher_process(watch_for_smtps) as retq:
            temp_event_loop.call_later(AUTOSTOP_DELAY, temp_event_loop.stop)
            main_n("--smtpscert", str(SERVER_CRT), "--smtpskey", str(SERVER_KEY))
            catchup_delay()
        has_smtps = retq.get()
>       assert has_smtps is True
E       assert False is True

has_smtps  = False
retq       = <multiprocessing.queues.Queue object at 0xf7189230>
self       = <aiosmtpd.tests.test_main.TestMainByWatcher object at 0xf7a16790>
temp_event_loop = <_UnixSelectorEventLoop running=False closed=True debug=False>

aiosmtpd/tests/test_main.py:234: AssertionError
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-28 19:07:35 UTC
Is it a missing pytest-asyncio dep, maybe? Does installing it help?

(Going off ': PytestConfigWarning: Unknown config option: asyncio_mode')
Comment 2 matoro archtester 2024-05-28 20:04:06 UTC
Created attachment 894576 [details]
build.log and emerge --info

(In reply to Sam James from comment #1)
> Is it a missing pytest-asyncio dep, maybe? Does installing it help?
> 
> (Going off ': PytestConfigWarning: Unknown config option: asyncio_mode')

Unfortunately nope.  Makes the warning go away but otherwise unchanged.