Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Complement Existing members see new members' presence is flaky #13199

Closed
matrix-org/complement
#563
@reivilibre

Description

@reivilibre

It took me 363 runs (~3 hours of CI) to reproduce this, so maybe it's not the highest priority flake around.

The issue seems to be that Bob's presence information is not coming down sync.

I believe the reason we expect Bob's presence to come down sync is because /join involves sending an event and that should update his presence.

I can't see the code that should trigger this in Synapse, but since this succeeds most of the time it must be there.
In the test logs for this test, I didn't spot any requests to /_synapse/replication/presence_set_state/ for Bob, which I would have expected to see. (I do see some for Alice.)

For this reason, I hesitate to brush it off as 'slow replication'. I also note that the requests in the log don't seem to be that slow around the time of the failure, so I don't suspect CPU contention.

Metadata

Metadata

Assignees

Labels

A-TestingIssues related to testing in complement, synapse, etcT-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.Z-Dev-WishlistMakes developers' lives better, but doesn't have direct user impactZ-FlakeTests that give intermittent failures

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions