Flaky Android Expo Detox E2E: native greeting never shows up / app drops Detox connection
Mantenedores costumam responder em até 3 dias
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 45/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- android, github-actions, react-native, typescript
- Domínio
- ci-cd, mobile-dev, testing
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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)
- Linguagem predominante
- TypeScript
- Estrelas
- 552
- Forks
- 57
- Merge médio
- 2d 23h
- PRs com merge (30d)
- 19
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de callstack/react-native-brownfield
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
callstack/react-native-brownfield#502 ·
Mantenedores costumam responder em até 3 dias
-
`package:ios --add-spm-package`: allow project-declared extra XCFrameworks as binary targetsTalvez já em andamento @DanielPotorCK assumiu há 1 dia. Aberta
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 55/100
callstack/react-native-brownfield#468 ·
Mantenedores costumam responder em até 3 dias
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
callstack/react-native-brownfield#420 ·
Mantenedores costumam responder em até 3 dias
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 38/100
callstack/react-native-brownfield#406 ·
Mantenedores costumam responder em até 3 dias
-
Common network layerTalvez livre de novo @dratwas assumiu há 2556 dias e não há nenhum pull request aberto. Aberta
callstack/react-native-brownfield#23 · 1 responsável ·
Mantenedores costumam responder em até 3 dias
Todas as issues de callstack/react-native-brownfield
Issues semelhantes
-
Shell: serve the home app's Cookie Policy on a hard reloadTalvez já em andamento @2001anshkaushik assumiu hoje. Abertafeature module:ai
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
rocketride-org/rocketride-server#2899 · 1 comentário ·
Mantenedores costumam responder em até 2 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
wazuh/wazuh-dashboard-plugins#9551 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
gofish-graphics/gofish-graphics#1252 ·
Mantenedores costumam responder em até 1 dia
-
optimization P3 size:XS
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 88/100
josephfung/curia#2366 ·
Mantenedores costumam responder em até 1 dia
-
stranded-follow-up sweep trusts any issue whose body carries the marker as the tracking issueAbertatype:bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
nightgauge/nightgauge#2688 ·
Mantenedores costumam responder em até 1 dia