Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933077 - dev-python/aiosmtpd-1.4.6 fails tests on hppa: assert has_smtps is True
Summary: dev-python/aiosmtpd-1.4.6 fails tests on hppa: assert has_smtps is True
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: HPPA Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-05-28 17:38 UTC by matoro
Modified: 2024-05-28 20:04 UTC (History)
2 users (show)

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


Attachments
build.log and emerge --info (file_933077.txt,137.75 KB, text/plain)
2024-05-28 17:38 UTC, matoro
Details
build.log and emerge --info (file_933077.txt,138.02 KB, text/plain)
2024-05-28 20:04 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
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.