Flaky Android Expo Detox E2E: native greeting never shows up / app drops Detox connection
Maintainer antworten meist innerhalb von 4 Tagen
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 45/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- android, github-actions, react-native, typescript
- Bereich
- ci-cd, mobile-dev, testing
Rechercherichtung
Start by downloading the Detox Android artifacts from the linked failed CI runs and inspect logcat-full.txt for a crash or ANR around the reported failures. Compare logs from both failure modes and the Vanilla job to see whether they share a cause. Done means identifying and reproducing the root cause on the matching CI emulator; collecting tombstones is suggested as an additional diagnostic.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
The Detox E2E (AndroidApp - Expo XX) jobs keep failing on both Expo 57 and 58, on main and on PRs. Both tests in the suite fail together, so the job goes red each time it happens.
There are two ways it fails:
- The native greeting never shows up. In
beforeAll, the app process starts (Android app process is up), butHello native Android (Expo XX)never appears in UIAutomator. After ~90s it fails withTimed out waiting for UIAutomator to contain any of: Hello native Android (Expo 58), ....- #487
9847a70, Expo 58: https://github.com/callstack/react-native-brownfield/actions/runs/38875620919/job/116900216109 - #494
41c5e84, Expo 57: https://github.com/callstack/react-native-brownfield/actions/runs/38797744225/job/116674197865
- #487
- The app drops the Detox connection after opening the Expo RN screen. The greeting is fine, then
Opening the Expo RN screen...→Detox can't seem to connect to the test app(s)!, which looks like the app crashed.
Also this one, where it lost the connection right after the process came up, before the greeting check finished: #487 e0f5940, Expo 57: https://github.com/callstack/react-native-brownfield/actions/runs/38458013604/job/115565183435
So my guess is the app is crashing in all of them, just at different moments. The failed jobs already upload the full host-side logcat (logcat-full.txt, added in #473) together with the other Detox artifacts (#466), in the detox-androidapp-<flavor>-<flavor>-android artifact. I haven't gone through those logs yet to confirm a crash.
The Android road test & E2E (AndroidApp - Vanilla) job fails the same way as (1): it waits for Hello native Android and all 4 tests time out. That one has failed on main d28810c, #494 and #487, so it might be the same root cause:
https://github.com/callstack/react-native-brownfield/actions/runs/38857242075/job/116831993012
To do:
- go through
logcat-full.txtfrom the failed runs' artifacts and look for a crash / ANR - consider also pulling tombstones (
/data/tombstones) on failure (not collected yet) - try to repro locally on the same emulator image (API level / ABI as CI)
- Vorherrschende Sprache
- TypeScript
- Sterne
- 552
- Forks
- 53
- Ø Merge
- 3 T. 13 Std.
- Gemergte PRs (30 T.)
- 16
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus callstack/react-native-brownfield
-
Android: generated ReactNativeHostManager loads React Native twice and crashes (Feature flags cannot be overridden more than once)Evtl. vergeben @hurali97 hat das vor 1 Tag übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
callstack/react-native-brownfield#492 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 4 Tagen
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
callstack/react-native-brownfield#498 ·
Maintainer antworten meist innerhalb von 4 Tagen
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 55/100
callstack/react-native-brownfield#468 ·
Maintainer antworten meist innerhalb von 4 Tagen
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
callstack/react-native-brownfield#420 ·
Maintainer antworten meist innerhalb von 4 Tagen
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 38/100
callstack/react-native-brownfield#406 ·
Maintainer antworten meist innerhalb von 4 Tagen
Alle Issues in callstack/react-native-brownfield
Ähnliche Issues
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 90/100
lingdojo/kana-dojo#32663 · 1 Kommentar · 5 Reaktionen ·
Maintainer antworten meist innerhalb von 1 Tag
-
Admin: Title Separator field can't be cleared (input falls back to "|")Evtl. vergeben @emdashbot hat das heute übernommen. Offenbot:bug bot:in-review
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 80/100
emdash-cms/emdash#4236 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
PHP workflow streaming requests buffer the full SSE responseEvtl. vergeben @Winoren hat das heute übernommen. Offenreview: medium
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
langgenius/dify#44270 · 1 Kommentar · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:holodeck review-finding
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
hyperdrive-technology/holodeck#142 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 90/100
code-yeongyu/senpi#3573 ·
Maintainer antworten meist innerhalb von 1 Tag