mobile-dev-inc / maestro

Painless Mobile UI Automation
https://maestro.mobile.dev/
Apache License 2.0
5.89k stars 281 forks source link

`maestro record` always fails to render on the server wit `ENOSPC: no space left on device` #2045

Open fauzisunarya opened 2 months ago

fauzisunarya commented 2 months ago

Is there an existing issue for this?

Steps to reproduce

a

Actual results

I have this problem when running the syntax:

image

maestro record xxx.yaml

what is the solution

Expected results

I have this problem when running the syntax:

image

maestro record xxx.yaml

what is the solution

About app

a

About environment

a

Logs

Logs ``` ```

Maestro version

latest

How did you install Maestro?

install script (https://get.maestro.mobile.dev)

Anything else?

No response

bartekpacia commented 2 months ago

Hey @fauzisunarya, thanks for the report. I can reproduce it by running this in Maestro repo root:

maestro record e2e/workspaces/demo_app/commands_optional_tournee.yaml
Running on emulator-5554

 ║
 ║  > Flow
 ║
 ║    ✅   Launch app "com.example.example" with clear state
 ║    ⚠️   Assert that id: non-existent-id is visible (warned)
 ║         Warning:
 ║           Assertion is false: id: non-existent-id is visible
 ║    ⚠️   Assert that "Flutter Demo Home Page" is not visible (warned)
 ║         Warning:
 ║           Assertion is false: "Flutter Demo Home Page" is not visible
 ║    ⚠️   Warn (warned)
 ║         Warning:
 ║           Assertion is false: false is true
 ║    ⚠️   Tap on id: non-existent-id (warned)
 ║         Warning:
 ║           Element not found: Id matching regex: non-existent-id
 ║    ⚠️   Double tap on id: non-existent-id (warned)
 ║         Warning:
 ║           Element not found: Id matching regex: non-existent-id
 ║    ⚠️   Long press on id: non-existent-id (warned)
 ║         Warning:
 ║           Element not found: Id matching regex: non-existent-id
 ║    ⚠️   Copy text from element with id: non-existent-id (warned)
 ║         Warning:
 ║           Element not found: Id matching regex: non-existent-id
 ║    ⚠️   Launch app "non.existent.app.id" (warned)
 ║         Warning:
 ║           Unable to launch app non.existent.app.id: Package non.existent.app.id is not installed
 ║    ⚠️   Tap x3 on id: non-existent-id (warned)
 ║         Warning:
 ║           Element not found: Id matching regex: non-existent-id
 ║    ⚠️   Scrolling DOWN until id: non-existent-id is visible. (warned)
 ║         Warning:
 ║           No visible element found: id: non-existent-id
 ║

Rendering your video. This usually takes a couple minutes...

Uploading raw files for render...
██████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
Render request failed (500): {"message":"ENOSPC: no space left on device, open '/var/folders/wn/svd1m4gn1977w0xdlyh81mlm0000gn/T/cm0z6lgjy00r3yspu6hvt9m66'"}
fauzisunarya commented 2 months ago

So, what is the solution? Will a check be carried out first, or can we try again?

curaserkan commented 2 months ago

We are faced with the same problem.

bartekpacia commented 2 months ago

This is a backend issue on our side. Our backend engineers are investigating and working on a fix.

I'll keep you updated in case we'll know more.

bartekpacia commented 2 months ago

Action item for us

Add maestro record in the e2e-prod workflow

cc @amanjeetsingh150 @rwtnb @proksh

AdamTyler commented 2 months ago

Also started seeing this yesterday

kanzelm3 commented 2 months ago

@bartekpacia any ETA on a potential fix? Do you have a status page or anything?

Amospk2 commented 1 month ago

i got this problem in this week any potential fix? no matter how big my flow is, i got the same error...