-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
ci: update OS versions in mobile test matrix & fix flaky tests #1035
Conversation
3d5ad93
to
3fc6ca4
Compare
3e6f292
to
78715c5
Compare
78715c5
to
63caa38
Compare
uses: reactivecircus/android-emulator-runner@76c2bf6f95ed6458fd659a1bdb680a0f8df232dc | ||
id: smoke-test | ||
timeout-minutes: 30 | ||
continue-on-error: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will see it in the overview but it does not break CI?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is how it was before a recent PR - I've removed this line there and tried to implement a different logic. Didn't work. Putting it back.
disk-size: 4096M # Some runs have out of storage error when installing the smoke test. | ||
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none | ||
disable-animations: false | ||
emulator-options: -no-snapshot-save -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none -accel on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-no-window
is no longer necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure it ever was.
if (Test-Path env:CI) | ||
{ | ||
# Take Screenshot of VM to verify emulator start | ||
screencapture "$(ArtifactsPath)/host-screenshot.jpg" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was that not working because of the no-window
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
didn't even try without, as it means just having to wait for half an 75 minutes (at least) to see anything :D
@@ -37,6 +38,7 @@ | |||
class RequestVerifier: | |||
__requests = [] | |||
__testNumber = 0 | |||
__lock = Lock() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the lock?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's using a multithreaded server (see end of script) and there was a data race causing the collected numbers to be off
lock = Lock() | ||
|
||
|
||
def registerUpload(name: str, chunks: int): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it make sense to change our "expected" count of debug symbols with a boolean to check if anything got uploaded at all? To get rid of those random changes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wouldn't. I know it's not very convenient to update right now, but at least you know it's doesn't break completely (like uploading just some small bit, single chunk instead of 6, for example) by some change we do or a dependency update.
Co-authored-by: Stefan Jandl <[email protected]>
$ErrorActionPreference = "Stop"
& fixes the previously silent errorsrecords Android CI sessions- this slows down CI and doesn't actually show anything useful. below is the code for backup:61e6a34
(#1035)