You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Even after digging through the (very long) logcat, it’s not obvious to me why these are failing. These builds all passed after restarting them. Some are likely because of Bitrise networking instability, but others could represent bugs in our code or tests — it’s hard to say.
Let’s investigate these failures and see if there’s anything we can do to improve reliability.
Thank you for listing these up @friedbunny! I will keep 👀 on it.
From my perspective, the test were running pretty reliable for the last 2-3 weeks (after we fixed some native crashes), I was actually surprised by the quality of service that Firebase offers. Now after last week I'm a bit in doubt. Let's see what this week brings!
What can we do if we can't resolve this issue? If the failing tests are perceived as more hinderance as actually beneficial we should look into downscaling the amount of tests we run. IMO the most important thing these tests need to flag is the regression that core crashes on startup. Having one test that validates this instead of having 150+ tests currently could make the test more reliable
eg. If you would take 20 PR's. you would find one with a flaky test. This roughly means that we have one flaky test for 3000 different test cases. If we would execute 1 test case for each PR we would be able to test 3000 PR's successfully without the tests failing because of flakyness.
Been running some test runs locally and was able to occasionally reproduce it. Going to see if I can make the test harness run more robust. I'm also thinking that changes to the OnMapReady callback could have resulted in the test being less reliable.
I light of the above reports and to unblock other contributors: I'm going to downscale our +150 tests to just one. This should still catch the most important regressions that show when a MapView is rendered on screen. I'm going to look into #6366 to run scheduled builds with the full set of tests on a daily basis and run manual tests on the firebase gui to resolve our issues.
#6667 got resolved, I'm reenabling our instrumentation tests in #6980. Going to close this for now since I haven't heard of any other flakyness in the lasts weeks. Feel free to reopen if there are any unreliable builds.
@jfirebaugh thank you for the bump to prioritize this:
Been going through the latests 80 bitrise builds an noticed that 21 builds failed. A couple of those failures were related to the PR but most of them are not. Aside 2 infrastructure related failures (internet/timeout), the remaining failures are related to the following 2 issues:
I haven't seen that crash before. This has really spun out of control since we are seeing different crashes. For now with the upcoming holidays and limited bandwidth. I'm going to scale down the amount of instrumentation tests run on CI to one. I will not scale them back until we are sure the issues in this ticket are addressed.
It may be unrelated, but we saw this failure via #7725, a simple macOS/iOS PR on the current release branch:
AWS Device Farm Plugin version 1.2
Could not locate AWS_ACCESS_KEY_ID_DEVICE_FARM in gradle.properties
Could not locate AWS_SECRET_ACCESS_KEY_DEVICE_FARM in gradle.properties
configuring spoon
Download https://jcenter.bintray.com/junit/junit/4.12/junit-4.12.pom
...
Download https://jcenter.bintray.com/org/mockito/mockito-core/1.10.19/mockito-core-1.10.19.jar
AWS Device Farm configuration is NOT VALID
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':MapboxGLAndroidSDKWearTestApp'.
> failed to find Build Tools revision 24.0.2
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 1 mins 50.192 secs
Makefile:508: recipe for target 'android-test' failed
make: *** [android-test] Error 1
Activity
tobrun commentedon Oct 3, 2016
Thank you for listing these up @friedbunny! I will keep 👀 on it.
From my perspective, the test were running pretty reliable for the last 2-3 weeks (after we fixed some native crashes), I was actually surprised by the quality of service that Firebase offers. Now after last week I'm a bit in doubt. Let's see what this week brings!
tobrun commentedon Oct 6, 2016
Looked at all the builds from yesterday and was able to locate one flaky build vs ~ 40 builds:
I will continue to monitor the job queu in the following days
jfirebaugh commentedon Oct 6, 2016
https://www.bitrise.io/build/c9056b65300cf01e
jfirebaugh commentedon Oct 7, 2016
https://www.bitrise.io/build/c2257b07c175bdfe
tobrun commentedon Oct 10, 2016
We need to determine if the source of the behaviour is:
Short term actions:
What can we do if we can't resolve this issue? If the failing tests are perceived as more hinderance as actually beneficial we should look into downscaling the amount of tests we run. IMO the most important thing these tests need to flag is the regression that core crashes on startup. Having one test that validates this instead of having 150+ tests currently could make the test more reliable
eg. If you would take 20 PR's. you would find one with a flaky test. This roughly means that we have one flaky test for 3000 different test cases. If we would execute 1 test case for each PR we would be able to test 3000 PR's successfully without the tests failing because of flakyness.
zugaldia commentedon Oct 10, 2016
Just did.
tobrun commentedon Oct 10, 2016
Been running some test runs locally and was able to occasionally reproduce it. Going to see if I can make the test harness run more robust. I'm also thinking that changes to the OnMapReady callback could have resulted in the test being less reliable.
tobrun commentedon Oct 12, 2016
Found another failing build, this time it couldn't download a dependency.
friedbunny commentedon Oct 13, 2016
A whopping 30 failed tests: https://www.bitrise.io/build/006abf10f975dbbf
tobrun commentedon Oct 13, 2016
I light of the above reports and to unblock other contributors: I'm going to downscale our +150 tests to just one. This should still catch the most important regressions that show when a MapView is rendered on screen. I'm going to look into #6366 to run scheduled builds with the full set of tests on a daily basis and run manual tests on the firebase gui to resolve our issues.
tobrun commentedon Oct 19, 2016
I was able to identify #6667 as the source of unreliable executing tests and resolve it in #6747
tobrun commentedon Nov 9, 2016
#6667 got resolved, I'm reenabling our instrumentation tests in #6980. Going to close this for now since I haven't heard of any other flakyness in the lasts weeks. Feel free to reopen if there are any unreliable builds.
tobrun commentedon Dec 9, 2016
Reopening as I have seeing some random runtime style test irregularly fail with:
tobrun commentedon Dec 9, 2016
Also seeing occurrences of native crashes:
Don't have the symbolicated stacktrace of this due #7358.
jfirebaugh commentedon Dec 15, 2016
Bump. I'm having to restart most Android builds at least once.
tobrun commentedon Dec 15, 2016
@jfirebaugh thank you for the bump to prioritize this:
Been going through the latests 80 bitrise builds an noticed that 21 builds failed. A couple of those failures were related to the PR but most of them are not. Aside 2 infrastructure related failures (internet/timeout), the remaining failures are related to the following 2 issues:
Looper crash on MapboxMapTest #7447@tobrun -> PR: [android] - wrap mapbox map test in ViewActions #7451cc @mapbox/android
jfirebaugh commentedon Dec 22, 2016
I can't get #7513 to pass at all (3 retries), although the same commit was passing yesterday.
tobrun commentedon Dec 22, 2016
I haven't seen that crash before. This has really spun out of control since we are seeing different crashes. For now with the upcoming holidays and limited bandwidth. I'm going to scale down the amount of instrumentation tests run on CI to one. I will not scale them back until we are sure the issues in this ticket are addressed.
friedbunny commentedon Jan 14, 2017
It may be unrelated, but we saw this failure via #7725, a simple macOS/iOS PR on the current release branch:
tobrun commentedon Jul 12, 2017
Root cause has been fixed with #9198. Since #9353 we are running our generated runtime style tests on Firebase.