Skip to content

Build failure: python312Packages.uvloop #497277

@RossComputerGuy

Description

@RossComputerGuy

Nixpkgs version

  • Unstable (26.05)

Steps to reproduce

Build python312Packages.uvloop

Can Hydra reproduce this build failure?

No, Hydra cannot reproduce this build failure.

Link to Hydra build job

No response

Relevant log output

pytest flags: -m pytest --ignore-glob=tests/test_sourcecode.py --deselect=tests/test_process.py::Test_UV_Process::test_process_env_2 --deselect=tests/test_process.py::Test_AIO_Process::test_process_env_2 --deselect=tests/test_process.py::Test_UV_Process::test_process_streams_redirect --deselect=tests/test_process.py::Test_AIO_Process::test_process_streams_redirect --deselect=tests/test_base.py::TestBaseUV.test_call_at --ignore-glob=tests/test_dns.py --deselect=tests/test_tcp.py::Test_AIO_TCP::test_create_connection_open_con_addr --deselect=tests/test_tcp.py::Test_AIO_TCPSSL::test_create_connection_ssl_1 --deselect=tests/test_process.py::TestAsyncio_AIO_Process::test_cancel_post_init
============================= test session starts ==============================
platform linux -- Python 3.12.13, pytest-9.0.2, pluggy-1.6.0
rootdir: /build/source
configfile: pyproject.toml
testpaths: tests
collected 453 items / 7 deselected / 446 selected

tests/test_aiohttp.py ssss
tests/test_base.py .....................s............................................s......................
tests/test_context.py ..................s..s.s......
tests/test_cython.py .
tests/test_dealloc.py .
tests/test_executors.py ....
tests/test_fs_event.py ..
tests/test_libuv_api.py ..
tests/test_pipes.py ..F.....F...
tests/test_process.py .............................................................................
tests/test_process_spawning.py .
tests/test_regr1.py .
tests/test_runner.py ..
tests/test_signals.py .....................
tests/test_sockets.py .................................
tests/test_tcp.py ...............................................................................s.sss.ssss.sss.ss..ssssssss
tests/test_testbase.py ...
tests/test_udp.py ..................ss...
tests/test_unix.py ..................................

=================================== FAILURES ===================================
_____________________ Test_UV_Pipes.test_write_buffer_full _____________________
Traceback (most recent call last):
  File "/nix/store/n7zacbangs6qzrfb8xg8b5cqkxcv6499-python3-3.12.13/lib/python3.12/unittest/case.py", line 58, in testPartExecutor
    yield
  File "/nix/store/n7zacbangs6qzrfb8xg8b5cqkxcv6499-python3-3.12.13/lib/python3.12/unittest/case.py", line 634, in run
    self._callTestMethod(testMethod)
  File "/nix/store/n7zacbangs6qzrfb8xg8b5cqkxcv6499-python3-3.12.13/lib/python3.12/unittest/case.py", line 589, in _callTestMethod
    if method() is not None:
       ^^^^^^^^
  File "/build/source/tests/test_pipes.py", line 268, in test_write_buffer_full
    self.fail("Didn't reach a full buffer")
  File "/nix/store/n7zacbangs6qzrfb8xg8b5cqkxcv6499-python3-3.12.13/lib/python3.12/unittest/case.py", line 715, in fail
    raise self.failureException(msg)
AssertionError: Didn't reach a full buffer
____________________ Test_AIO_Pipes.test_write_buffer_full _____________________
Traceback (most recent call last):
  File "/nix/store/n7zacbangs6qzrfb8xg8b5cqkxcv6499-python3-3.12.13/lib/python3.12/unittest/case.py", line 58, in testPartExecutor
    yield
  File "/nix/store/n7zacbangs6qzrfb8xg8b5cqkxcv6499-python3-3.12.13/lib/python3.12/unittest/case.py", line 634, in run
    self._callTestMethod(testMethod)
  File "/nix/store/n7zacbangs6qzrfb8xg8b5cqkxcv6499-python3-3.12.13/lib/python3.12/unittest/case.py", line 589, in _callTestMethod
    if method() is not None:
       ^^^^^^^^
  File "/build/source/tests/test_pipes.py", line 268, in test_write_buffer_full
    self.fail("Didn't reach a full buffer")
  File "/nix/store/n7zacbangs6qzrfb8xg8b5cqkxcv6499-python3-3.12.13/lib/python3.12/unittest/case.py", line 715, in fail
    raise self.failureException(msg)
AssertionError: Didn't reach a full buffer
=============================== warnings summary ===============================
tests/test_executors.py::TestUVExecutors::test_executors_process_pool_01
tests/test_executors.py::TestAIOExecutors::test_executors_process_pool_01
tests/test_regr1.py::TestIssue39Regr::test_issue39_regression
  /nix/store/n7zacbangs6qzrfb8xg8b5cqkxcv6499-python3-3.12.13/lib/python3.12/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=296) is multi-threaded, use of fork() may lead to deadlocks in the child.
    self.pid = os.fork()

tests/test_pipes.py::Test_UV_Pipes::test_write_buffer_full
  /nix/store/lv86c81bf359cl519z6n1gwpikx05hwl-python3.12-uvloop-0.22.1/lib/python3.12/site-packages/uvloop/_testbase.py:101: ResourceWarning: unclosed resource <WriteUnixTransport closed=False reading=True 0xfffff4bd7920>
    self.loop.close()

tests/test_pipes.py::Test_AIO_Pipes::test_write_pipe
  /nix/store/lv86c81bf359cl519z6n1gwpikx05hwl-python3.12-uvloop-0.22.1/lib/python3.12/site-packages/uvloop/_testbase.py:113: ResourceWarning: unclosed file <_io.BufferedWriter name=11>
    gc.collect()
  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_pipes.py::Test_AIO_Pipes::test_write_pipe
  /nix/store/n7zacbangs6qzrfb8xg8b5cqkxcv6499-python3-3.12.13/lib/python3.12/asyncio/unix_events.py:771: ResourceWarning: unclosed transport <_UnixWritePipeTransport fd=11 open>
    _warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
  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_pipes.py::Test_UV_Pipes::test_write_buffer_full - AssertionError: Didn't reach a full buffer
FAILED tests/test_pipes.py::Test_AIO_Pipes::test_write_buffer_full - AssertionError: Didn't reach a full buffer
= 2 failed, 412 passed, 32 skipped, 7 deselected, 6 warnings in 103.76s (0:01:43) =

Additional context

Tried with 128 cores, 4 cores, and 1 core. All failed.

System metadata

  • system: "aarch64-linux"
  • host os: Linux 6.18.13, NixOS, 26.05 (Yarara), 26.05.20260226.6e777c1
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Determinate Nix 3.16.3) 2.33.3
  • nixpkgs: /nix/store/ky7q5vm0kgv6qbq5gfzmv1ki79qr4q0z-source

Notify maintainers

@mweinelt last touched, no maintainers


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions