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.
Capturing from @friedbunny and @1ec5 that they have noticed flaky executions of the test suite on Firebase testlab. This issue has additional background in #3539. Note that these tests have been running reliable since #10333.
Impact
To quantify the impact, 8 out of 100 firebase executions are suffering from this issue. The first mention of the tests being flaky goes back to Thursday, 01-18-2018.
Example of a failed test
The corresponding video is showing that we weren't able to load the map. In other words, the OnMapReady callback wasn't invoked before the OnIdleResource timed out.
java.lang.RuntimeException: Could not start test for LatLngBoundsForCameraActivity.
The ViewHierarchy doesn't contain a view with resource id = R.id.mapView or
the Activity doesn't contain an instance variable with a name equal to mapboxMap.
You can resolve this issue by adding the requirements above or
add LatLngBoundsForCameraActivity to the platform/android/scripts/exclude-activity-gen.json to blacklist the Activity from being generated.
at com.mapbox.mapboxsdk.testapp.activity.BaseActivityTest.beforeTest(BaseActivityTest.java:49)
at java.lang.reflect.Method.invoke(Native Method)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at android.support.test.internal.runner.junit4.statement.RunBefores.evaluate(RunBefores.java:76)
at android.support.test.internal.runner.junit4.statement.RunAfters.evaluate(RunAfters.java:61)
at android.support.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:433)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
21:21:28 Retrieving Post-test Package Stats information from the device.
21:21:28 Done. Test time = 371 (secs)
ERROR: (gcloud.firebase.test.android.run) Firebase Test Lab infrastructure failure: Exhausted post processing attempts
Exited with code 20
This release-boba build for #11689 failed on testSanity(com.mapbox.mapboxsdk.testapp.activity.gen.maplayout.VisibilityChangeActivityTest):
android.support.test.espresso.base.DefaultFailureHandler$AssertionFailedWithCauseError: 'is displayed on the screen to the user' doesn't match the selected view.
Expected: is displayed on the screen to the user
Got: "MapView{id=2131296431, res-name=mapView, desc=Showing a Map created with Mapbox. Scroll by dragging two fingers. Zoom by pinching two fingers., visibility=GONE, width=1080, height=1584, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=true, is-enabled=true, is-focused=false, is-focusable=true, is-layout-requested=true, is-selected=false, layout-params=android.widget.LinearLayout$LayoutParams@9ad986, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=5}"
Apologies for not being able to fix/prioritize this. Just looked at the impact of the issue and seeing 4 out of 100 builds failing. I feel this is on par with stability of the other integrations. Will try to find some bandwidth to look more into this issue.
Activity
tobrun commentedon Jan 31, 2018
Adding here that I'm seeing the following issue lately:
While this doesn't originate from a flaky test, it does make our CI unreliable.
mollymerp commentedon Feb 7, 2018
got another one 😒 https://circleci.com/gh/mapbox/mapbox-gl-native/67704?utm_campaign=build-failed&utm_medium=email&utm_source=notification
I don't have the permissions to look at the output in firebase.
friedbunny commentedon Mar 16, 2018
Saw this failure on #11442:
testSanitycom.mapbox.mapboxsdk.testapp.activity.gen.maplayout.LatLngBoundsForCameraActivityTestfriedbunny commentedon Mar 19, 2018
Unclear to me why, but this build on
release-bobafor #11462 got killed for exceeding 20 minutes.friedbunny commentedon Apr 9, 2018
This
release-bobabuild for #11636 failed with:friedbunny commentedon Apr 9, 2018
This
release-bobabuild for #11637 failed ontestTelemetryDialog(com.mapbox.mapboxsdk.testapp.maps.widgets.AttributionTest):friedbunny commentedon Apr 16, 2018
This
release-bobabuild for #11689 failed ontestSanity(com.mapbox.mapboxsdk.testapp.activity.gen.maplayout.VisibilityChangeActivityTest):julianrex commentedon Apr 24, 2018
Appears to be identical to @mollymerp 's: https://circleci.com/gh/mapbox/mapbox-gl-native/99095
If you have Firebase permissions more details are available...
friedbunny commentedon May 1, 2018
This
release-bobabuild for #11810 seemingly completed successfully, but killed itself for exceeding 20 minutes anyway.tobrun commentedon May 2, 2018
Apologies for not being able to fix/prioritize this. Just looked at the impact of the issue and seeing 4 out of 100 builds failing. I feel this is on par with stability of the other integrations. Will try to find some bandwidth to look more into this issue.