On 2020-12-28 at 00:17 +0300, Ivan Shapovalov wrote:

> <...>
> I have just patched up error handling in the B2 backend to consider
> the
> checksum mismatch a transient failure (testing now).
> <...>

OK, now it gets interesting.

-- 8< --
2020-12-28 00:39:58.695 246057 DEBUG    MainThread 
s3ql.block_cache.upload_if_dirty: created new object 8704
2020-12-28 00:39:58.695 246057 DEBUG    MainThread 
s3ql.block_cache.upload_if_dirty: created new block 7803
2020-12-28 00:39:58.695 246057 DEBUG    MainThread 
s3ql.block_cache.upload_if_dirty: adding to upload queue
2020-12-28 00:39:58.696 246057 DEBUG    MainThread 
s3ql.block_cache.upload_if_dirty: no old block
2020-12-28 00:39:58.696 246057 DEBUG    Thread-5 s3ql.block_cache._upload_loop: 
got work
2020-12-28 00:39:58.696 246057 DEBUG    Thread-5 
s3ql.backends.b2.b2_backend.open_write: started with s3ql_data_8704
2020-12-28 00:39:58.697 246057 DEBUG    Thread-5 
s3ql.backends.b2.object_w.close: started with s3ql_data_8704
2020-12-28 00:39:58.697 246057 DEBUG    Thread-5 
s3ql.backends.b2.b2_backend._do_request: started with POST 
/b2api/v2/b2_get_upload_url
2020-12-28 00:39:58.697 246057 DEBUG    Thread-5 
s3ql.backends.b2.b2_backend._do_request: REQUEST: api003.backblazeb2.com POST 
/b2api/v2/b2_get_upload_url
2020-12-28 00:39:58.697 246057 DEBUG    Thread-5 s3ql.backends.common.wrapped: 
Average retry rate: 0.23 Hz
2020-12-28 00:39:58.697 246057 DEBUG    Thread-5 s3ql.backends.common.wrapped: 
Encountered ConnectionClosed (server closed connection), retrying 
B2Backend._request_upload_url_info (attempt 1)...
2020-12-28 00:39:58.724 246057 DEBUG    Thread-5 
s3ql.backends.b2.b2_backend._do_request: started with POST 
/b2api/v2/b2_get_upload_url
2020-12-28 00:39:58.724 246057 DEBUG    Thread-5 
s3ql.backends.b2.b2_backend._do_request: REQUEST: api003.backblazeb2.com POST 
/b2api/v2/b2_get_upload_url
2020-12-28 00:39:58.942 246057 DEBUG    Thread-5 
s3ql.backends.b2.b2_backend._do_request: RESPONSE: POST 200  275
2020-12-28 00:39:58.942 246057 DEBUG    Thread-5 
s3ql.backends.b2.b2_backend._do_request: started with POST 
/b2api/v2/b2_upload_file/e77141e88db425f876370514/c003_v0312004_t0021
2020-12-28 00:39:58.942 246057 DEBUG    Thread-5 
s3ql.backends.b2.b2_backend._do_request: REQUEST: pod-031-2004-17.backblaze.com 
POST /b2api/v2/b2_upload_file/e77141e88db425f876370514/c003_v0312004_t0021
2020-12-28 00:39:59.131 246057 DEBUG    MainThread 
s3ql.block_cache.with_event_loop: upload of 8704 failed
NoneType: None
2020-12-28 00:39:59.136 246057 DEBUG    Thread-5 s3ql.mount.exchook: recording 
exception No pending requests
-- 8< --

This exception comes from dugong.
Any ideas?

Also, I wonder if that "NoneType: None" is coming from `exc_info=True`
in the log.debug() statement in in with_event_loop() inside
BlockCache._do_upload() at block_cache.py:343. Guess the
trio.from_thread.run() does not magically carry sys.exc_info over
between threads?

-- 
Ivan Shapovalov / intelfx /

-- 
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/f3e4d205aa9dd41b0fccc791419b57180762a9c1.camel%40intelfx.name.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to