Raptor fails to rmdir and mkdir for browsertime-firefox-windowrecording with android
Categories
(Testing :: Raptor, defect, P2)
Tracking
(Not tracked)
People
(Reporter: sinker, Unassigned)
References
Details
(Whiteboard: [fxp])
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:136.0) Gecko/20100101 Firefox/136.0
Steps to reproduce:
Run
./mach raptor --app geckoview --browsertime-video --browsertime-visualmetrics --test amazon
with an Pixel 9 (Android 15).
Actual results:
The script stop at the first or second run.
Expected results:
It should complete 25 runs. However it stops at the first or second run.
After diving into it, I found it tried to rmdir followed by mkdir to recreate 'browsertime-firefox-windowrecording' directory. Somehow, it fails. I suspect these two commands are performed async, so sometime they are in the wrong order.
I changed mkDirOnSdCard() and removeFileOnSdCard() in tools/browsertime/node_modules/browsertime/lib/android/index.js. Replace
_runCommand() with _runCommandAndGet() to force it sync. It works.
Updated•9 months ago
|
Updated•9 months ago
|
Description
•