Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prepare 1.19.0 #1346

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

prepare 1.19.0 #1346

wants to merge 10 commits into from

Conversation

meejah
Copy link
Contributor

@meejah meejah commented Nov 20, 2023

No description provided.

@itamarst
Copy link
Collaborator

Thank you! I would suggest at minimum waiting for #1345 to get merged, but #1344 is a nicer solution for the eliot issues so worth waiting with too. I'll merge the former today and then make sure the latter is in reviewable state.

@meejah
Copy link
Contributor Author

meejah commented Nov 20, 2023

judging by CI, may be some other stuff to do too :/

(I'll try to rebase on top of those when merged 🤞 )

@coveralls
Copy link
Collaborator

coveralls commented Nov 20, 2023

Coverage Status

coverage: 94.741% (+0.1%) from 94.617%
when pulling 3090d75 on meejah:4076.relase-1.19.0
into 638d8d6 on tahoe-lafs:master.

@meejah meejah changed the title 4076.relase 1.19.0 prepare 1.19.0 Nov 20, 2023
@itamarst
Copy link
Collaborator

OK 3.12 support has been merged, so you can rebase/merge this forward.

@meejah
Copy link
Contributor Author

meejah commented Nov 24, 2023

looks like legit failure:

allmydata.test.test_system.HTTPSystemTest.test_upload_and_download_random_key
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/nix/store/77nyd7q72cgjw2lwnhcmgx80s6lhlcj1-python311-tahoe-lafs/lib/python3.11/site-packages/foolscap/eventual.py", line 26, in _turn
    cb(*args, **kwargs)
  File "/root/project/src/allmydata/immutable/downloader/node.py", line 259, in got_shares
    self._active_segment.add_shares(shares)
  File "/root/project/src/allmydata/immutable/downloader/fetcher.py", line 81, in add_shares
    self._shares.extend(shares)
builtins.AttributeError: 'SegmentFetcher' object has no attribute '_shares'

allmydata.test.test_system.HTTPSystemTest.test_upload_and_download_random_key
-------------------------------------------------------------------------------
Ran 1853 tests in 128.255s

FAILED (skips=20, failures=1, errors=1, successes=1832)

@itamarst
Copy link
Collaborator

I will investigate the test failure today.

@itamarst
Copy link
Collaborator

My initial attempts to reproduce failed. The code could well have rare race conditions. I can see some code we can delete that might fix this (assuming the race condition is acceptable and not the root cause) but lacking reproducer it's difficult to say more... I'm running the test in a loop in the hopes of getting logs for a failure.

@meejah
Copy link
Contributor Author

meejah commented Nov 27, 2023

FWIW, I also could not reproduce locally so far...

@meejah
Copy link
Contributor Author

meejah commented Nov 29, 2023

"get rid of test_system" should really be a ticket :/

@meejah
Copy link
Contributor Author

meejah commented Nov 29, 2023

Tried some --force-gc stuff with trial as well, but still no luck. From code-inspection, it seems the ONLY way that error could happen is if .add_shares() is called after .stop() which I assume is the race condition you mention above (and assume the del calls are the code you mean we could delete speculatively).

Tempted to do that anyway, since "help the gc" as the sole reason it's there isn't very ... cohesive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants