-
-
Notifications
You must be signed in to change notification settings - Fork 198
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
Option to choose emulator build version #11
Comments
Some mappings from
|
Yeah not being able to pin the emulator binary version is really annoying. We recently had an issue with Also do you know where we can get a list of all Another question is how do we decide which version is "stable" now that users can specify any |
Man I was the first star on that issue and because of that I have later left Travis out of frustration and found this project. I don't have a complete list of mappings unfortunately. A good source could be looking at CI logs from some open source project that happens to call That said I would be already happy if this action accepted the build id instead of version, until maybe Google answers your feature request (starred!). At least, if the provided value does not start with "v", we could assume it's a build code. Not easy to link from mobile, but if you look at https://github.com/natario1/CameraView/pull/696/checks , most failures and cancellations from the latest commits are due to segfaults or emulator freezing (no output, test suite frozen, ...). |
I can totally feel your pain as you're dealing with emulated camera which behave differently for each API level. Or could this be the latest system images? I don't recall seeing any updates recently though... I'll consider adding a temporary |
About logs, this one froze in the middle of the test (scroll to bottom and see timestamps): This one could not even start the test command: https://github.com/natario1/CameraView/pull/696/checks?check_run_id=348074758 Segmentation fault: I have no evidence that this is 29.3.0's fault, but I only got these in the past couple of days, and new versions do tend to break something each time (before that linux issue you mentioned, they removed the About build vs. version I think the build number includes both version and channel, so the mappings are a bit more complex than that if you want to support different channels. Anyway I'm happy with any solution. Won't ever go outside of "Stable" which is already self-destructive |
They mentioned they were going to replace Have you reported those issues? The emulator team is quite responsive and willing to help, although helping them debug can be very time-consuming 😞 |
Yeah I can't afford the debug effort for helping the team. I only encounter this issue in about 20% of test runs, and can't even bring evidence that it is related to 29.3.0, although I suspect that. So I haven't reported. |
After 91 commits my PR is finally green. Thank you so much @ychescale9 ! |
@ychescale9 I've been updating the list above. I think these are all the stable versions from 2018 and 2019. Possibly some of them are not stable but I left them there anyway. Just in case you don't get any answer from Google |
I figured out the best mapper is the issuetracker itself. If you search a version name there you'll always get the build number inside the bug reports. So it's not hard to build, maybe even for other channels. |
Thanks! I'm still hopeful that Google will publish and maintain an official list eventually as that would also benefit other projects. I'll try to ping the Emulator Tech Lead everytime he posts a new release on Reddit:) Re. channels, how useful do you think if we add support for using non-stable channels (#1 )? |
Well, since we're at it... I think a recent canary emulator is much more useful than a 2018 stable. Pinging the tech lead could improve your chances indeed 😄 |
Looks like they'll look at adding the emulator download paths next month. |
It seems that each
emulator
version breaks something new. 29.3.0 was out recently (today?) and I'm now fighting against system exceptions, segmentation faults or emulator not starting at all.It would be very nice to be able to choose a specific emulator version that proved to be "stable". See here for linux: https://github.com/mmcc007/test_emulators/blob/master/.travis.yml#L242-L245
On macOS we should replace
emulator-linux-
withemulator-darwin-
in the URL but it should work. This feature would let for example go back to v29.2.11.0 by passing the build number 6031357.The text was updated successfully, but these errors were encountered: