We'd like to compile a central list of flaky tests, so that they can be disabled/fixed as necessary in order to get CI back into a reliable state. This list should be edited by the team as flakes are found.
trial (3.9, sqlite, all)
trial (3.10, postgres, 14, all)
sytest (bullseye)
sytest (bullseye, postgres)
sytest (bullseye, multi-postgres, workers)
sytest (bullseye, asyncio)
sytest (bullseye, multi-postgres, workers, asyncio)
Complement (workers, postgres)
TestFederationRoomsInvite (/Parallel/Remote_invited_user_can_reject_invite_when_homeserver_is_already_participating_in_the_room) (1 , 2 . 3 , 4 , 5 , 6 , 7 )
TestFederationRoomsInvite/Parallel/Invited_user_can_reject_invite_over_federation_several_times (1 )
TestFederationRoomsInvite (/Parallel/Inviter_user_can_rescind_invite_over_federation) (1 , 2 , 3 )
TestPartialStateJoin/Outgoing_device_list_updates/Device_list_updates_reach_newly_joined_servers_in_partial_state_rooms (1 , 2 , 3 , 4 , 5 )
TestPartialStateJoin/Outgoing_device_list_updates/Device_list_updates_reach_all_servers_in_partial_state_rooms (1 )
TestDelayedEvents/delayed_state_events_are_kept_on_server_restart) (1 , 2 ) -> Fix TestDelayedEvents/delayed_state_events_are_kept_on_server_restart to account for slow servers (de-flake) matrix-org/complement#830 and Fix state not showing up fast enough with TestDelayedEvents (de-flake v2) matrix-org/complement#869
TestThreadedReceipts (1 , 2 , 3 , 4 , 5 )
TestThreadReceiptsInSyncMSC4102 (1 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 ) -> Complement TestThreadReceiptsInSyncMSC4102 is flaky #19171
TestAsyncUpload/Cannot_upload_to_a_media_ID_that_has_already_been_uploaded_to (1 ) -> Don't assert human error message in TestAsyncUpload (de-flake) matrix-org/complement#839
TestTxnIdempotencyScopedToDevice (1 )
TestDeviceListUpdates (1 , 2 )
Complement (monolith, SQLite, 2 )
Complement (monolith, Postgres)
We'd like to compile a central list of flaky tests, so that they can be disabled/fixed as necessary in order to get CI back into a reliable state. This list should be edited by the team as flakes are found.
trial (3.9, sqlite, all)twisted.protocols.amp.TooLong(1, 2, 3) ⇒ Work aroundtwisted.protocols.amp.TooLongerror by reducing logging in some tests. #18736tests.replication.test_sharded_event_persister.EventPersisterShardTestCase.test_basic(1)trial (3.10, postgres, 14, all)tests.rest.admin.test_user.UserRedactionBackgroundTaskTestCase.test_redact_messages_all_rooms(1, 2)sytest (bullseye)After /purge_history users still get pushed for new messages(1)sytest (bullseye, postgres)After /purge_history users still get pushed for new messages(1, 2, 3, 4 5)Newly joined room includes presence in incremental sync(1)sytest (bullseye, multi-postgres, workers)sytest (bullseye, asyncio)After /purge_history users still get pushed for new messages(1)sytest (bullseye, multi-postgres, workers, asyncio)workers, postgres)TestFederationRoomsInvite(/Parallel/Remote_invited_user_can_reject_invite_when_homeserver_is_already_participating_in_the_room) (1, 2. 3, 4, 5, 6, 7)TestFederationRoomsInvite/Parallel/Invited_user_can_reject_invite_over_federation_several_times(1)TestFederationRoomsInvite(/Parallel/Inviter_user_can_rescind_invite_over_federation) (1, 2, 3)TestPartialStateJoin/Outgoing_device_list_updates/Device_list_updates_reach_newly_joined_servers_in_partial_state_rooms(1, 2, 3, 4, 5)TestPartialStateJoin/Outgoing_device_list_updates/Device_list_updates_reach_all_servers_in_partial_state_rooms(1)TestDelayedEvents/delayed_state_events_are_kept_on_server_restart) (1, 2) -> FixTestDelayedEvents/delayed_state_events_are_kept_on_server_restartto account for slow servers (de-flake) matrix-org/complement#830 and Fix state not showing up fast enough withTestDelayedEvents(de-flake v2) matrix-org/complement#869TestThreadedReceipts(1, 2, 3, 4, 5)TestThreadReceiptsInSyncMSC4102(1 2, 3, 4, 5, 6, 7, 8, 9, 10) -> ComplementTestThreadReceiptsInSyncMSC4102is flaky #19171TestAsyncUpload/Cannot_upload_to_a_media_ID_that_has_already_been_uploaded_to(1) -> Don't assert humanerrormessage inTestAsyncUpload(de-flake) matrix-org/complement#839TestTxnIdempotencyScopedToDevice(1)TestDeviceListUpdates(1, 2)monolith, SQLite, 2)TestPartialStateJoin(TestPartialStateJoin/Leave_during_resync/works_after_a_second_partial_join)TestPartialStateJoin/Outgoing_device_list_updates/Device_list_updates_reach_incorrectly_absent_servers_once_partial_state_join_completes(1, 2)TestPartialStateJoin/Outgoing_device_list_updates/Device_list_updates_reach_incorrectly_kicked_servers_once_partial_state_join_completes(1, 2)TestOutboundFederationSend(1)monolith, Postgres)TestMSC4289PrivilegedRoomCreators/admin_with_>PL100_sorts_after_the_room_creator_for_state_resolution(1)TestPartialStateJoin/Outgoing_device_list_updates/Device_list_updates_reach_newly_joined_servers_in_partial_state_rooms(1)