Source: nbclient
Version: 0.10.4-1
Severity: serious
Tags: ftbfs
Justification: ftbs
Control: block 1133926 by -1

Hi,

I filed bug #1133926 a month ago, but as nbclient is a key package, it didn't cause autoremoval. As my out-of-sync bugs are closed immediately, the bug might have not caused your attention. nbclient fails to build on the buildds.

https://buildd.debian.org/status/fetch.php?pkg=nbclient&arch=all&ver=0.10.4-2&stamp=1775170677&raw=0

=================================== FAILURES =================================== ______________________ test_many_async_parallel_notebooks ______________________

capfd = <_pytest.capture.CaptureFixture object at 0x7f501a80a8b0>

    @flaky
def test_many_async_parallel_notebooks(capfd):  """Ensure that when many IPython kernels are run in parallel, nothing awful happens.
    
 Specifically, many IPython kernels when run simultaneously would encounter errors
        due to using the same SQLite history database.
        """
opts = {"kernel_name": "python", "timeout": 5} input_name = "HelloWorld.ipynb" input_file = os.path.join(current_dir, "files", input_name)
        res = NBClientTestsBase().build_resources()
res["metadata"]["path"] = os.path.join(current_dir, "files")
    
# run once, to trigger creating the original context
        run_notebook(input_file, opts, res)
    
async def run_tasks(): tasks = [async_run_notebook(input_file, opts, res) for i in range(4)]
            await asyncio.gather(*tasks)
    
        asyncio.run(run_tasks())
    
        captured = capfd.readouterr()
> assert filter_messages_on_error_output(captured.err) == ""
E       assert 'ERROR:tornad...on non-socket' == ''
E         
E + ERROR:tornado.general:Uncaught exception in ZMQStream callback E + Traceback (most recent call last): E + File "/usr/lib/python3/dist-packages/zmq/eventloop/zmqstream.py", line 565, in _log_error
E         +     f.result()
E         +     ~~~~~~~~^^
E + File "/usr/lib/python3/dist-packages/ipykernel/kernelbase.py", line 348, in dispatch_control...
E         
E ...Full output truncated (47 lines hidden), use '-vv' to show

capfd      = <_pytest.capture.CaptureFixture object at 0x7f501a80a8b0>
captured = CaptureResult(out='', err='ERROR:tornado.general:Uncaught exception in ZMQStream callback\nTraceback (most recent call...backend.cython._zmq._check_closed\n raise ZMQError(ENOTSOCK)\nzmq.error.ZMQError: Socket operation on non-socket\n') input_file = '/build/reproducible-path/nbclient-0.10.4/.pybuild/cpython3_3.14/build/tests/files/HelloWorld.ipynb'
input_name = 'HelloWorld.ipynb'
opts       = {'kernel_name': 'python', 'timeout': 5}
res = {'metadata': {'path': '/build/reproducible-path/nbclient-0.10.4/.pybuild/cpython3_3.14/build/tests/files'}} run_tasks = <function test_many_async_parallel_notebooks.<locals>.run_tasks at 0x7f5018e35590>


Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to