Skip to content

Flaky CI Failure: Android Integration Tests — Run integration tests times out after 200/202 tests complete #3953

Description

@github-actions

Flaky CI Failure: Android Integration Tests — Run integration tests times out after 200/202 tests complete

Workflow: Test
Failed run: https://github.com/xmtp/libxmtp/actions/runs/31221165776
Commit: 1b762b9
Failed jobs: test-android / Integration Tests (Android)

Summary

The Run integration tests step in the Android integration test job timed out after hitting the 20-minute step limit. The emulator completed 200 of 202 tests (with 3 skipped and 0 failed), but the final 2 tests hung indefinitely. Tests 195–200 showed significantly slower execution (~1.5 minutes each vs. ~10 seconds per test earlier in the run), suggesting the suite was slowing down toward the end before fully stalling.

Error Details

emulator-5560 - 14 Tests 194/202 completed. (3 skipped) (0 failed)    21:58:02
emulator-5560 - 14 Tests 195/202 completed. (3 skipped) (0 failed)    21:59:02  (+60s)
emulator-5560 - 14 Tests 196/202 completed. (3 skipped) (0 failed)    22:00:02  (+60s)
emulator-5560 - 14 Tests 197/202 completed. (3 skipped) (0 failed)    22:01:32  (+90s)
emulator-5560 - 14 Tests 198/202 completed. (3 skipped) (0 failed)    22:03:02  (+90s)
emulator-5560 - 14 Tests 199/202 completed. (3 skipped) (0 failed)    22:04:32  (+90s)
emulator-5560 - 14 Tests 200/202 completed. (3 skipped) (0 failed)    22:06:12  (+100s)
##[error]The action 'Run integration tests' has timed out after 20 minutes.  22:06:45

Last named skipped tests (around position 159–162):

org.xmtp.android.library.HistorySyncTest > testSyncDeviceArchive[emulator-5560 - 14] SKIPPED
org.xmtp.android.library.HistorySyncTest > testSyncMessages[emulator-5560 - 14] SKIPPED
org.xmtp.android.library.HistorySyncTlsTest > testArchiveRoundTripOverTls[emulator-5560 - 14] SKIPPED

Analysis

The step-level 20-minute timeout was hit with 2 tests still running, 0 tests explicitly failed. The progressive slowdown (from ~10s/test to ~90s/test near the end) indicates one or more tests were waiting on a stream, consent update, or async event that never arrived rather than crashing outright. The identity of the final 2 hanging tests is not visible in the log because no completion or failure line was emitted before the timeout. This is a test/code failure (likely a flaky streaming or sync test), not an infrastructure failure.


Reported by Flaky Failure Watcher

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions