New submission from Xavier de Gaye:
test_concurrent_futures fails on an android emulator running an x86 system
image at API level 21.
There are multiple ERRORs, all resulting in the same traceback:
Traceback (most recent call last):
File
"/sdcard/org.bitbucket.pyona/lib/python3.6/test/test_concurrent_futures.py",
line 68, in setU
p
self.executor = self.executor_type(max_workers=self.worker_count)
File
"/sdcard/org.bitbucket.pyona/lib/python3.6/concurrent/futures/process.py", line
390, in __init__
EXTRA_QUEUED_CALLS)
File "/sdcard/org.bitbucket.pyona/lib/python3.6/multiprocessing/context.py",
line 101, in Queue
return Queue(maxsize, ctx=self.get_context())
File "/sdcard/org.bitbucket.pyona/lib/python3.6/multiprocessing/queues.py",
line 42, in __init__
self._rlock = ctx.Lock()
File "/sdcard/org.bitbucket.pyona/lib/python3.6/multiprocessing/context.py",
line 66, in Lock
return Lock(ctx=self.get_context())
File
"/sdcard/org.bitbucket.pyona/lib/python3.6/multiprocessing/synchronize.py",
line 163, in __in
it__
SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx)
File
"/sdcard/org.bitbucket.pyona/lib/python3.6/multiprocessing/synchronize.py",
line 60, in __ini
t__
unlink_now)
OSError: [Errno 38] Function not implemented
The ERRORs:
===========
test_duplicate_futures
(test.test_concurrent_futures.ProcessPoolAsCompletedTests) ... ERROR
test_no_timeout (test.test_concurrent_futures.ProcessPoolAsCompletedTests) ...
ERROR
test_zero_timeout (test.test_concurrent_futures.ProcessPoolAsCompletedTests)
... ERROR
test_killed_child (test.test_concurrent_futures.ProcessPoolExecutorTest) ...
ERROR
test_map (test.test_concurrent_futures.ProcessPoolExecutorTest) ... ERROR
test_map_chunksize (test.test_concurrent_futures.ProcessPoolExecutorTest) ...
ERROR
test_map_exception (test.test_concurrent_futures.ProcessPoolExecutorTest) ...
ERROR
test_map_timeout (test.test_concurrent_futures.ProcessPoolExecutorTest) ...
ERROR
test_max_workers_negative
(test.test_concurrent_futures.ProcessPoolExecutorTest) ... ERROR
test_no_stale_references (test.test_concurrent_futures.ProcessPoolExecutorTest)
... ERROR
test_shutdown_race_issue12456
(test.test_concurrent_futures.ProcessPoolExecutorTest) ... ERROR
test_submit (test.test_concurrent_futures.ProcessPoolExecutorTest) ... ERROR
test_submit_keyword (test.test_concurrent_futures.ProcessPoolExecutorTest) ...
ERROR
test_traceback (test.test_concurrent_futures.ProcessPoolExecutorTest) ... ERROR
test_context_manager_shutdown
(test.test_concurrent_futures.ProcessPoolShutdownTest) ... ERROR
test_del_shutdown (test.test_concurrent_futures.ProcessPoolShutdownTest) ...
ERROR
test_hang_issue12364 (test.test_concurrent_futures.ProcessPoolShutdownTest) ...
ERROR
test_interpreter_shutdown
(test.test_concurrent_futures.ProcessPoolShutdownTest) ... ERROR
test_processes_terminate (test.test_concurrent_futures.ProcessPoolShutdownTest)
... ERROR
test_run_after_shutdown (test.test_concurrent_futures.ProcessPoolShutdownTest)
... ERROR
test_all_completed (test.test_concurrent_futures.ProcessPoolWaitTests) ... ERROR
test_first_completed (test.test_concurrent_futures.ProcessPoolWaitTests) ...
ERROR
test_first_completed_some_already_completed
(test.test_concurrent_futures.ProcessPoolWaitTests) ... ERROR
test_first_exception (test.test_concurrent_futures.ProcessPoolWaitTests) ...
ERROR
test_first_exception_one_already_failed
(test.test_concurrent_futures.ProcessPoolWaitTests) ... ERROR
test_first_exception_some_already_complete
(test.test_concurrent_futures.ProcessPoolWaitTests) ... ERROR
test_timeout (test.test_concurrent_futures.ProcessPoolWaitTests) ... ERROR
----------
components: Cross-Build, Library (Lib)
messages: 264721
nosy: Alex.Willmer, bquinlan, xdegaye
priority: normal
severity: normal
status: open
title: android: test_concurrent_futures fails
type: behavior
versions: Python 3.6
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue26924>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com