Thanks for this, it will save me heaps of time!

one step I had to include which wasn't in the recipe was..

 python3 -m pip install pytest_trio

.. thought when I run the tests it fails at...

tests/t3_verify.py::test_corrupted_body[True] 
PASSED                                                       [ 84%]
tests/t3_verify.py::test_corrupted_body[False] 
PASSED                                                      [ 84%]
tests/t4_adm.py::AdmTests::test_clear 
FAILED                                                               [ 84%]

==================================================== FAILURES 
====================================================
______________________________________________ AdmTests.test_clear 
_______________________________________________
Traceback (most recent call last):
  File "/root/s3ql-3.4.0/tests/pytest_checklogs.py", line 140, in 
pytest_runtest_call
    check_output(item)
  File "/root/s3ql-3.4.0/tests/pytest_checklogs.py", line 132, in 
check_output
    check_test_output(capmethod, item)
  File "/root/s3ql-3.4.0/tests/pytest_checklogs.py", line 106, in 
check_test_output
    raise AssertionError('Suspicious output to stderr (matched "%s")' % 
hit.group(0))
AssertionError: Suspicious output to stderr (matched "error")
---------------------------------------------- Captured stdout call 
----------------------------------------------
I am about to DELETE ALL DATA in local directory /tmp/s3ql-backend-4rhtgqx3.
This includes not just S3QL file systems but *all* stored objects.
Depending on the storage service, it may be neccessary to run this command
several times to delete all data, and it may take a while until the 
removal becomes effective.
Please enter "yes" to continue.
> 
---------------------------------------------- Captured stderr call 
----------------------------------------------
/usr/local/lib/python3.6/dist-packages/trio/_core/_multierror.py:472: 
RuntimeWarning: You seem to already have a custom sys.excepthook handler 
installed. I'll skip installing Trio's custom handler, but this means 
MultiErrors will not show full tracebacks.
  category=RuntimeWarning
WARNING: Maximum object sizes less than 1 MiB will degrade performance.
/usr/local/lib/python3.6/dist-packages/trio/_core/_multierror.py:472: 
RuntimeWarning: You seem to already have a custom sys.excepthook handler 
installed. I'll skip installing Trio's custom handler, but this means 
MultiErrors will not show full tracebacks.
  category=RuntimeWarning
================================ 1 failed, 286 passed, 5 skipped in 49.08 
seconds ===============================

-- 
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 on the web visit 
https://groups.google.com/d/msgid/s3ql/e66ff411-3096-4403-ae9a-cb2cab923159%40googlegroups.com.

Reply via email to