Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

firefox.collectMozLog does not work on Android #2127

Open
2 tasks done
acreskeyMoz opened this issue May 15, 2024 · 2 comments
Open
2 tasks done

firefox.collectMozLog does not work on Android #2127

acreskeyMoz opened this issue May 15, 2024 · 2 comments
Labels

Comments

@acreskeyMoz
Copy link
Collaborator

Have you read the documentation?

URL

No website

What are you trying to accomplish

Collecting moz_logs is very helpful for Firefox performance engineers.

As far as I can tell, firefox.collectMozLog does not copy the generated log file when running on Firefox for Android.

See usage:
https://github.com/search?q=repo%3Asitespeedio%2Fbrowsertime%20collectMozLog&type=code

What browser did you use?

Firefox

How to reproduce

Run a gecko application on Android (e.g. geckoview_example) and pass in the arguments, `--firefox.collectMozLog --firefox.setMozLog="timestamp,nsHttp:5"`

Expected outcome:
The moz_log.txt files are copied back along with other artifacts like performance profiles

Actual outcome:
No moz_log.txt files are copied back.

Log output

No response

@soulgalore
Copy link
Member

Hi @acreskeyMoz , do you know where the log file ends up? Do geckodriver pass on process.env.MOZ_LOG_FILE so the actual directory should then be on the phone?

@acreskeyMoz
Copy link
Collaborator Author

Hi, @soulgalore, that's a good question. But even if geckodriver doesn't pass that along, we could come up with a good default.
Let me try a couple of things, maybe I can get this working and put up a patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants