==> Building on glalie ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/python-janus ./ .SRCINFO 627 100% 0.00kB/s 0:00:00 627 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=3/5) .nvchecker.toml 89 100% 86.91kB/s 0:00:00 89 100% 86.91kB/s 0:00:00 (xfr#2, to-chk=2/5) PKGBUILD 878 100% 857.42kB/s 0:00:00 878 100% 857.42kB/s 0:00:00 (xfr#3, to-chk=1/5) python-janus-1.0.0-5.log 245 100% 239.26kB/s 0:00:00 245 100% 239.26kB/s 0:00:00 (xfr#4, to-chk=0/5) sent 1,412 bytes received 139 bytes 1,034.00 bytes/sec total size is 1,787 speedup is 1.15 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root52 on remote host... ]2;🔵 Container arch-nspawn-3785457 on glalie.felixc.at[?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root52]...done ==> Making package: python-janus 1.0.0-5 (Tue Dec 24 21:29:18 2024) ==> Retrieving sources...  -> Downloading python-janus-1.0.0.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19286 0 19286 0 0 12064 0 --:--:-- 0:00:01 --:--:-- 28361 ==> Validating source files with sha512sums... python-janus-1.0.0.tar.gz ... Passed ]2;🔵 Container arch-nspawn-3786760 on glalie.felixc.at==> Making package: python-janus 1.0.0-5 (Tue Dec 24 21:29:43 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (3) New Version Net Change Download Size extra/mpdecimal 4.0.0-2 0.29 MiB core/python 3.13.1-1 108.57 MiB extra/python-typing_extensions 4.12.2-3 0.42 MiB 0.07 MiB Total Download Size: 0.07 MiB Total Installed Size: 109.28 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-typing_extensions-4.12.2-3-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing mpdecimal... installing python... Optional dependencies for python python-setuptools: for building Python packages using tooling that is usually bundled with Python python-pip: for installing Python packages using tooling that is usually bundled with Python python-pipx: for installing Python software not packaged on Arch Linux sqlite: for a default database integration [installed] xz: for lzma [installed] tk: for tkinter installing python-typing_extensions... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (17) New Version Net Change extra/python-autocommand 2.2.2-7 0.08 MiB extra/python-iniconfig 2.0.0-6 0.04 MiB extra/python-jaraco.collections 5.0.1-2 0.10 MiB extra/python-jaraco.context 5.3.0-3 0.04 MiB extra/python-jaraco.functools 4.1.0-1 0.07 MiB extra/python-jaraco.text 4.0.0-2 0.08 MiB extra/python-more-itertools 10.5.0-1 0.64 MiB extra/python-packaging 24.2-3 0.66 MiB extra/python-platformdirs 4.3.6-2 0.24 MiB extra/python-pluggy 1.5.0-3 0.20 MiB extra/python-pyproject-hooks 1.2.0-3 0.10 MiB extra/python-pytest 1:8.3.4-1 3.92 MiB extra/python-build 1.2.2-3 0.20 MiB extra/python-installer 0.7.0-10 0.17 MiB extra/python-pytest-asyncio 0.24.0-2 0.15 MiB extra/python-setuptools 1:75.2.0-4 8.05 MiB extra/python-wheel 0.45.0-3 0.28 MiB Total Installed Size: 15.03 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-more-itertools... installing python-jaraco.functools... installing python-jaraco.context... installing python-autocommand... installing python-jaraco.text... Optional dependencies for python-jaraco.text python-inflect: for show-newlines script installing python-jaraco.collections... installing python-packaging... installing python-platformdirs... installing python-wheel... Optional dependencies for python-wheel python-keyring: for wheel.signatures python-xdg: for wheel.signatures python-setuptools: for legacy bdist_wheel subcommand [pending] installing python-setuptools... installing python-pyproject-hooks... installing python-build... Optional dependencies for python-build python-pip: to use as the Python package installer (default) python-uv: to use as the Python package installer python-virtualenv: to use virtualenv for build isolation installing python-installer... installing python-pluggy... installing python-iniconfig... installing python-pytest... installing python-pytest-asyncio... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... [?25h==> Retrieving sources...  -> Found python-janus-1.0.0.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting python-janus-1.0.0.tar.gz with bsdtar ==> Starting build()... * Getting build dependencies for wheel... running egg_info creating janus.egg-info writing janus.egg-info/PKG-INFO writing dependency_links to janus.egg-info/dependency_links.txt writing requirements to janus.egg-info/requires.txt writing top-level names to janus.egg-info/top_level.txt writing manifest file 'janus.egg-info/SOURCES.txt' reading manifest file 'janus.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.pyc' found anywhere in distribution no previously-included directories found matching 'docs/_build' writing manifest file 'janus.egg-info/SOURCES.txt' * Building wheel... running bdist_wheel running build running build_py creating build/lib/janus copying janus/__init__.py -> build/lib/janus running egg_info writing janus.egg-info/PKG-INFO writing dependency_links to janus.egg-info/dependency_links.txt writing requirements to janus.egg-info/requires.txt writing top-level names to janus.egg-info/top_level.txt reading manifest file 'janus.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.pyc' found anywhere in distribution no previously-included directories found matching 'docs/_build' writing manifest file 'janus.egg-info/SOURCES.txt' copying janus/py.typed -> build/lib/janus installing to build/bdist.linux-riscv64/wheel running install running install_lib creating build/bdist.linux-riscv64/wheel creating build/bdist.linux-riscv64/wheel/janus copying build/lib/janus/__init__.py -> build/bdist.linux-riscv64/wheel/./janus copying build/lib/janus/py.typed -> build/bdist.linux-riscv64/wheel/./janus running install_egg_info Copying janus.egg-info to build/bdist.linux-riscv64/wheel/./janus-1.0.0-py3.13.egg-info running install_scripts creating build/bdist.linux-riscv64/wheel/janus-1.0.0.dist-info/WHEEL creating '/build/python-janus/src/janus-1.0.0/dist/.tmp-qvextg8b/janus-1.0.0-py3-none-any.whl' and adding 'build/bdist.linux-riscv64/wheel' to it adding 'janus/__init__.py' adding 'janus/py.typed' adding 'janus-1.0.0.dist-info/METADATA' adding 'janus-1.0.0.dist-info/WHEEL' adding 'janus-1.0.0.dist-info/top_level.txt' adding 'janus-1.0.0.dist-info/zip-safe' adding 'janus-1.0.0.dist-info/RECORD' removing build/bdist.linux-riscv64/wheel Successfully built janus-1.0.0-py3-none-any.whl ==> Starting check()... /usr/lib/python3.13/site-packages/pytest_asyncio/plugin.py:208: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session" warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET)) ============================= test session starts ============================== platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0 rootdir: /build/python-janus/src/janus-1.0.0 configfile: pyproject.toml plugins: asyncio-0.24.0 asyncio: mode=Mode.STRICT, default_loop_scope=None collected 72 items tests/test_async.py F...FF...F....F..F.FFF......... [ 43%] tests/test_mixed.py .................. [ 68%] tests/test_sync.py ....................... [100%] =================================== FAILURES =================================== __________________________ TestQueueBasic.test_empty ___________________________ self = @pytest.mark.asyncio async def test_empty(self): _q = janus.Queue() q = _q.async_q assert q.empty() q.put_nowait(1) assert not q.empty() assert 1 == q.get_nowait() assert q.empty() > assert not _q._sync_mutex.locked() E assert not True E + where True = () E + where = .locked E + where = ._sync_mutex tests/test_async.py:73: AssertionError _____________________ TestQueueGetTests.test_blocking_get ______________________ self = @pytest.mark.asyncio async def test_blocking_get(self): _q = janus.Queue() q = _q.async_q q.put_nowait(1) res = await q.get() assert 1 == res > assert not _q._sync_mutex.locked() E assert not True E + where True = () E + where = .locked E + where = ._sync_mutex tests/test_async.py:155: AssertionError ___________________ TestQueueGetTests.test_get_with_putters ____________________ self = @pytest.mark.asyncio async def test_get_with_putters(self): loop = asyncio.get_running_loop() _q = janus.Queue(1) q = _q.async_q q.put_nowait(1) fut = loop.create_future() async def put(): t = asyncio.ensure_future(q.put(2)) await asyncio.sleep(0.01) fut.set_result(None) return t t = await put() res = await q.get() assert 1 == res await t assert 1 == q.qsize() > assert not _q._sync_mutex.locked() E assert not True E + where True = () E + where = .locked E + where = ._sync_mutex tests/test_async.py:182: AssertionError _____________________ TestQueueGetTests.test_get_cancelled _____________________ self = @pytest.mark.asyncio async def test_get_cancelled(self): loop = asyncio.get_running_loop() _q = janus.Queue() q = _q.async_q async def queue_get(): return await asyncio.wait_for(q.get(), 0.051) async def test(): get_task = loop.create_task(queue_get()) await asyncio.sleep(0.01) # let the task start q.put_nowait(1) return await get_task assert 1 == await test() > assert not _q._sync_mutex.locked() E assert not True E + where True = () E + where = .locked E + where = ._sync_mutex tests/test_async.py:253: AssertionError ______________________ TestQueuePut.test_nonblocking_put _______________________ self = @pytest.mark.asyncio async def test_nonblocking_put(self): _q = janus.Queue() q = _q.async_q q.put_nowait(1) assert 1 == q.get_nowait() > assert not _q._sync_mutex.locked() E assert not True E + where True = () E + where = .locked E + where = ._sync_mutex tests/test_async.py:356: AssertionError _______________________ TestQueuePut.test_put_cancelled ________________________ self = @pytest.mark.asyncio async def test_put_cancelled(self): loop = asyncio.get_running_loop() _q = janus.Queue() q = _q.async_q async def queue_put(): await q.put(1) return True async def test(): return await q.get() t = loop.create_task(queue_put()) assert 1 == await test() assert t.done() assert t.result() > assert not _q._sync_mutex.locked() E assert not True E + where True = () E + where = .locked E + where = ._sync_mutex tests/test_async.py:415: AssertionError __________________ TestQueuePut.test_put_with_waiting_getters __________________ self = @pytest.mark.asyncio async def test_put_with_waiting_getters(self): loop = asyncio.get_running_loop() fut = loop.create_future() async def go(): fut.set_result(None) ret = await q.get() return ret async def put(): await q.put("a") _q = janus.Queue() q = _q.async_q t = loop.create_task(go()) await fut await put() assert await t == "a" > assert not _q._sync_mutex.locked() E assert not True E + where True = () E + where = .locked E + where = ._sync_mutex tests/test_async.py:470: AssertionError ___________________________ TestLifoQueue.test_order ___________________________ self = @pytest.mark.asyncio async def test_order(self): _q = janus.LifoQueue() q = _q.async_q for i in [1, 3, 2]: q.put_nowait(i) items = [q.get_nowait() for _ in range(3)] assert [2, 3, 1] == items > assert not _q._sync_mutex.locked() E assert not True E + where True = () E + where = .locked E + where = ._sync_mutex tests/test_async.py:486: AssertionError _________________________ TestPriorityQueue.test_order _________________________ self = @pytest.mark.asyncio async def test_order(self): _q = janus.PriorityQueue() q = _q.async_q for i in [1, 3, 2]: q.put_nowait(i) items = [q.get_nowait() for _ in range(3)] assert [1, 2, 3] == items > assert not _q._sync_mutex.locked() E assert not True E + where True = () E + where = .locked E + where = ._sync_mutex tests/test_async.py:502: AssertionError =============================== warnings summary =============================== tests/test_async.py::TestLifoQueueJoin::test_task_done /build/python-janus/src/janus-1.0.0/janus/__init__.py:541: RuntimeWarning: coroutine 'Queue._notify_async_not_empty..f' was never awaited async with self._parent._async_not_empty: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/test_async.py::TestLifoQueueJoin::test_task_done /build/python-janus/src/janus-1.0.0/janus/__init__.py:541: RuntimeWarning: coroutine 'Queue._notify_async_not_full..f' was never awaited async with self._parent._async_not_empty: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_async.py::TestQueueBasic::test_empty - assert not True FAILED tests/test_async.py::TestQueueGetTests::test_blocking_get - assert not... FAILED tests/test_async.py::TestQueueGetTests::test_get_with_putters - assert... FAILED tests/test_async.py::TestQueueGetTests::test_get_cancelled - assert no... FAILED tests/test_async.py::TestQueuePut::test_nonblocking_put - assert not True FAILED tests/test_async.py::TestQueuePut::test_put_cancelled - assert not True FAILED tests/test_async.py::TestQueuePut::test_put_with_waiting_getters - ass... FAILED tests/test_async.py::TestLifoQueue::test_order - assert not True FAILED tests/test_async.py::TestPriorityQueue::test_order - assert not True =================== 9 failed, 63 passed, 2 warnings in 7.94s =================== ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root52/build [?25h[?25hreceiving incremental file list python-janus-1.0.0-5-riscv64-build.log python-janus-1.0.0-5-riscv64-check.log sent 62 bytes received 2,976 bytes 2,025.33 bytes/sec total size is 14,053 speedup is 4.63