Thanks for all your work on s3ql!

I'm building s3ql on debian trixie, and I'm getting the following test failure, any advice much appreciated!

Joseph

========================================================== FAILURES ========================================================== __________________________________________________ test_aborted_write2[ssl] __________________________________________________
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call
    result: TResult | None = func()
                             ~~~~^^
File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 242, in <lambda>
    lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise
            ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)

~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
           ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall
    return outcome.get_result()
           ~~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result
    raise exc.with_traceback(exc.__traceback__)
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall
    teardown.throw(outcome._exception)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 92, in pytest_runtest_call
    yield from thread_exception_runtest_hook()
File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 68, in thread_exception_runtest_hook
    yield
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall
    teardown.throw(outcome._exception)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 95, in pytest_runtest_call
    yield from unraisable_exception_runtest_hook()
File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 70, in unraisable_exception_runtest_hook
    yield
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall
    teardown.throw(outcome._exception)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 846, in pytest_runtest_call
    yield from self._runtest_for(item, "call")
File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 829, in _runtest_for
    yield
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall
    teardown.throw(outcome._exception)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 898, in pytest_runtest_call
    return (yield)
            ^^^^^
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall
    teardown.throw(outcome._exception)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 257, in pytest_runtest_call
    return (yield)
            ^^^^^
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall
    res = hook_impl.function(*args)
File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 174, in pytest_runtest_call
    item.runtest()
    ~~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1627, in runtest
    self.ihook.pytest_pyfunc_call(pyfuncitem=self)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)

~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
           ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall
    return outcome.get_result()
           ~~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result
    raise exc.with_traceback(exc.__traceback__)
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall
    res = hook_impl.function(*args)
File "/usr/lib/python3/dist-packages/_pytest/python.py", line 159, in pytest_pyfunc_call
    result = testfunction(**testargs)
File "/home/maher/src/s3ql/upstream/5.3/s3ql-5.3.0/tests/t0_http.py", line 986, in test_aborted_write2
    assert_raises(ConnectionClosed, conn.read_response)
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/_pytest/python_api.py", line 976, in raises
    func(*args[1:], **kwargs)
    ~~~~^^^^^^^^^^^^^^^^^^^^^
File "/home/maher/src/s3ql/upstream/5.3/s3ql-5.3.0/src/s3ql/http.py", line 735, in read_response
    return eval_coroutine(self.co_read_response())
File "/home/maher/src/s3ql/upstream/5.3/s3ql-5.3.0/src/s3ql/http.py", line 1395, in eval_coroutine
    next(it)
    ~~~~^^^^
File "/home/maher/src/s3ql/upstream/5.3/s3ql-5.3.0/src/s3ql/http.py", line 759, in co_read_response
    (status, reason) = await self._co_read_status()
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/maher/src/s3ql/upstream/5.3/s3ql-5.3.0/src/s3ql/http.py", line 891, in _co_read_status
    line = await self._co_readstr_until(b'\r\n', MAX_LINE_SIZE)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/maher/src/s3ql/upstream/5.3/s3ql-5.3.0/src/s3ql/http.py", line 1179, in _co_readstr_until
    res = self._try_fill_buffer()
File "/home/maher/src/s3ql/upstream/5.3/s3ql-5.3.0/src/s3ql/http.py", line 1234, in _try_fill_buffer
    len_ = self._sock.recv_into(memoryview(rbuf.d)[rbuf.e :])
  File "/usr/lib/python3.13/ssl.py", line 1304, in recv_into
    return self.read(nbytes, buffer)
           ~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/ssl.py", line 1138, in read
    return self._sslobj.read(len, buffer)
           ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
ssl.SSLError: [SSL: UNEXPECTED_EOF_WHILE_READING] unexpected eof while reading (_ssl.c:2649) ====================================================== warnings summary ======================================================
t0_http.py::test_read_text[plain]
t0_http.py::test_read_text2[plain]
t0_http.py::test_read_text3[plain]
t0_http.py::test_read_text[ssl]
t0_http.py::test_read_text2[ssl]
t0_http.py::test_read_text3[ssl]
/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored in: <_io.TextIOWrapper encoding='UTF-8'>

  AttributeError: 'HTTPConnection' object has no attribute 'flush'

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/_pytest/python.py", line 159, in pytest_pyfunc_call
      result = testfunction(**testargs)
AttributeError: 'HTTPConnection' object has no attribute 'close'. Did you mean: 'closed'?

    warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================================================== short test summary info =================================================== FAILED tests/t0_http.py::test_aborted_write2[ssl] - ssl.SSLError: [SSL: UNEXPECTED_EOF_WHILE_READING] unexpected eof while reading (_ssl.c:2649) ========================================= 1 failed, 109 passed, 6 warnings in 24.03s =============

--
You received this message because you are subscribed to the Google Groups 
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/s3ql/d0e7c92a-50e7-dcd5-1745-005e8e8a1d87%40maher.org.uk.

Reply via email to