#4013 closed defect (fixed)

Problem with logging in HTTP storage client

Reported by: itamarst Owned by:
Priority: normal Milestone: HTTP Storage Protocol
Component: unknown Version: n/a
Keywords: Cc:
Launchpad Bug:

Description

Exception ignored in: <coroutine object StorageClient.request at 0x7f6c76ada570>
Traceback (most recent call last):
  File "/home/itamarst/devel/tahoe-lafs/src/allmydata/storage/http_client.py", line 403, in request
    with start_action(
  File "/home/itamarst/devel/tahoe-lafs/venv/lib/python3.10/site-packages/eliot/_action.py", line 432, in __exit__
    _ACTION_CONTEXT.reset(self._parent_token)
ValueError: <Token var=<ContextVar name='eliot.action' at 0x7f6c7a07d670> at 0x7f6c765b4ec0> was created in a different Context

Change History (3)

comment:1 Changed at 2023-04-14T14:17:14Z by itamarst

Note this happened when I run trial allmydata.test.test_system.HTTPSystemTest.test_filesystem with 20% of CPU quota, after it times out. So possibly this is just artifact of a particular failure mode when the tests stop and the reactor shuts down.

comment:2 Changed at 2023-04-17T13:29:35Z by itamarst

Doesn't show up in local run of the get/put integration tests (on a branch for #4009, so lots of logging), which gives credence to the theory that it's not a real issue.

Last edited at 2023-04-17T13:29:53Z by itamarst (previous) (diff)

comment:3 Changed at 2023-07-05T14:25:27Z by itamarst

  • Resolution set to fixed
  • Status changed from new to closed

I've never seen this happen outside of test timeouts, so going to close.

Note: See TracTickets for help on using tickets.