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

Fix flaky tests TestGossipsubConnTagMessageDeliveries #574

Open
ppopth opened this issue Aug 15, 2024 · 7 comments
Open

Fix flaky tests TestGossipsubConnTagMessageDeliveries #574

ppopth opened this issue Aug 15, 2024 · 7 comments

Comments

@ppopth
Copy link
Contributor

ppopth commented Aug 15, 2024

This is a follow-up issue from #553 (comment)

@vyzo
Copy link
Collaborator

vyzo commented Aug 15, 2024

@MarcoPolo can we get someone from the shipyard to look at this?

@MarcoPolo
Copy link
Contributor

I'll do this today

@vyzo
Copy link
Collaborator

vyzo commented Aug 15, 2024

thank you!

@MarcoPolo
Copy link
Contributor

I'm having a hard time finding where FuzzAppendOrMergeRPC fails. Can you point me to that failure? I see that TestGossipsubConnTagMessageDeliveries fails here: https://github.com/libp2p/go-libp2p-pubsub/actions/runs/10390911953/job/28772599092

@vyzo
Copy link
Collaborator

vyzo commented Aug 15, 2024

check the failure history in #553 -- maybe a bug was introduced there?

Feel free to review.

@MarcoPolo
Copy link
Contributor

I've looked through all the test logs of that branch run in the last week and don't see a time where FuzzAppendOrMergeRPC fails. The comment here quotes this:

...
--- PASS: TestTopicPublishWithKeyInvalidParameters (0.08s)
    --- PASS: TestTopicPublishWithKeyInvalidParameters/nil_sign_private_key_should_error (0.00s)
    --- PASS: TestTopicPublishWithKeyInvalidParameters/empty_peer_ID_should_error (0.00s)
=== RUN   FuzzAppendOrMergeRPC
--- PASS: FuzzAppendOrMergeRPC (0.00s)
FAIL
FAIL	github.com/libp2p/go-libp2p-pubsub	385.852s
-test.shuffle 1723651417916320350

On a quick glance you may think FuzzAppendOrMergeRPC failed, but it didn't. It PASSed.

@vyzo
Copy link
Collaborator

vyzo commented Aug 15, 2024

ok, then it's not a suspect! Thanks for digging in.

@MarcoPolo MarcoPolo changed the title Fix flaky tests TestGossipsubConnTagMessageDeliveries and FuzzAppendOrMergeRPC Fix flaky tests TestGossipsubConnTagMessageDeliveries Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants