Windows: daemon stop times out after 300 s while the warm pool remakes an Android seed (EBUSY on cache.img)
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 43/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- android, typescript
Piste de recherche
Start with the daemon stop path and warm pool seed creation and cleanup; the report identifies those components and the failing cache.img unlink, but gives no file paths or tests. Reproduce on Windows with the Android SDK path changing between ANDROID_HOME and %LOCALAPPDATA%\Android\Sdk, then trace how stop handles an in-progress seed make. Done means stop returns within its bound, cancels the make and stops its emulator, and a locked seed file does not delay shutdown.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
On Windows, simlock daemon stop failed after 300 s while the warm pool was making an Android seed:
PS> simlock daemon stop
{"error":{"code":"SERVICE_FAILED","message":"The running daemon did not stop within 300 s."}}
The daemon log shows the stop asked at 08:26:07 and the daemon stopping only after the seed make failed, about 300 s later:
{"timestamp":1794990367512,"level":"info","module":"daemon.server","message":"Daemon stopping","fields":{"reason":"requested"}}
{"timestamp":1794990669562,"level":"warn","module":"daemon.warm-pool","message":"warm pool creation of a device failed","fields":{"model":"Pixel 9","step":"provision","error":"Error: EBUSY: resource busy or locked, unlink 'D:\\sv\\spec1071\\devices\\android\\sources\\seed_5008dc0e-62bc-41bc-9231-0678b6f62474\\simlock.avd\\cache.img'"}}
{"timestamp":1794990670759,"level":"info","module":"daemon.server","message":"Daemon stopped","fields":{"reason":"requested"}}
A simlock daemon start 35 s later worked.
How it got there: the worker had been started with ANDROID_HOME=D:\Android\Sdk, then restarted with ANDROID_HOME and ANDROID_SDK_ROOT unset and the SDK found at %LOCALAPPDATA%\Android\Sdk (a junction to the same folder). The warm pool then remade the Pixel 9 / API 35 seed, and the stop came during that make. Two things look wrong:
- The stop waited for the seed make. It did not give up on the make or stop its emulator.
- Removing the old seed's
cache.imgfailed withEBUSY. A process still had the file open.
Seen on Windows 11 23H2 (DesktopWindows), main at 2df19f881, emulator 37.2.13, while specifying #1692. Not checked on macOS or Linux.
Expected
simlock daemon stop returns within its bound while a seed is being made: the make is cancelled and its emulator stopped. A seed whose files are held open is refused or retried, and does not hold up the stop.
Part of #1068.
Written by an agent.
- Langage dominant
- TypeScript
- Étoiles
- 705
- Forks
- 40
- Merge moyen
- 12 h 9 min
- PR mergées (30 j)
- 376
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de callstackincubator/simlock
-
request:new
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
callstackincubator/simlock#1806 ·
Les mainteneurs répondent en général sous 1 jour
-
bug:new
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
callstackincubator/simlock#1780 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
task:draft
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
callstackincubator/simlock#1441 ·
Les mainteneurs répondent en général sous 1 jour
-
bug:new
Difficulté 2/5 1-3 heures Accessibilité débutants 45/100
callstackincubator/simlock#1805 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
bug:new
Difficulté 2/5 1-3 heures Accessibilité débutants 45/100
callstackincubator/simlock#1804 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de callstackincubator/simlock
Issues similaires
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 82/100
Les mainteneurs répondent en général sous 1 jour
-
Update project links after the repository renamesPeut-être pris @JonathanTSilva l’a pris aujourd’hui. Ouverteai-generated priority: p2 size: xs type: bug
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
JonathanTSilva/jts-website#119 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
promplate/code-review#158 · 1 commentaire · 1 réaction ·
Les mainteneurs répondent en général sous 1 jour
-
[Docs] CONTRIBUTING points the Backend Remake milestone at a branch that does not existPeut-être pris @franpts2 l’a pris aujourd’hui. Ouvertedocs
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
Les mainteneurs répondent en général sous 3 jours