Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[CI] iOS monotouch app launches but never connects to XHarness

Aperta
#26,439 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Tranquilla
Stack tecnologico
csharp, ios
Ambito
ci-cd, mobile, testing

Direzione di ricerca

Inizia con i log di build Azure collegati per #26432 e #26438 e con le voci di XHarness relative a LaunchTimedOut, quindi confronta i tentativi falliti con il retry riuscito. Traccia il percorso di avvio dell’harness monotouch iOS e determina perché il processo dell’app non si connette; il lavoro è completato quando la causa è stata isolata e un fix validato previene il timeout intermittente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

ci-failure ci-postmortem tests

Summary

The iOS simulator monotouch test app intermittently launches but never connects to the XHarness test server. XHarness cancels the launch after three minutes and reports LaunchTimedOut after 15 minutes.

  • Stable signature: ios27-monotouch-harness-startup-timeout
  • Classification: genuinely flaky test / simulator startup failure
  • Distinct monitored PRs: 2
  • Confirmed occurrences: 4
  • First observed by the monitor: 2026-08-12 02:31 UTC
  • Latest observed: 2026-08-12 05:09 UTC

Confirmed occurrences

  • #26432, head 266d164665536f387afbf8717eea43781e28fdaf, build 14944204
    • Attempt 1: Debug (PrepareAssemblies) in T: monotouch_ios launched the app but never established the harness connection.
    • Attempt 2: the same signature moved to Debug (interpreter).
    • Attempt 3: the same signature moved to Release (interpreter).
    • Attempt 4 succeeded; final retry accounting was 3 lifetime / 3 head requests.
  • #26438, head 1c46ed7045bad084f46a529392b8d6ccf1fdb64b
    • Build 14946633, attempt 1, T: monotouch_ios
    • Debug (PrepareAssemblies) launched com.xamarin.monotouch-test, but the app never connected; XHarness logged Test failed to start in 3 minutes and ultimately LaunchTimedOut.

Impact and investigation

The failing variation changes between attempts, while other variations in the same job pass. The app process is created successfully, but the test harness never receives a connection. This is not the NSUrlSession test hang and is not a deterministic product assertion failure.

Workaround

Rerun only the failed T: monotouch_ios job after confirming the PR is conflict-free and retry budgets permit it. Azure logs and artifacts are retention-limited.

Lingua principale
C#
Stelle
2.9k
Fork
578
Merge medio
2g 12h
PR unite (30g)
189

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di dotnet/macios

Tutte le issue di dotnet/macios

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.