Skip to content

chore(deps): update agp to v8.7.0

Sign in for the full log view
GitHub Actions / JUnit Test Report failed Oct 9, 2024 in 0s

107 tests run, 103 passed, 0 skipped, 4 failed.

Annotations

Check failure on line 55 in project/app/src/androidTestOss/java/org/owntracks/android/e2e/LocationAccuracyTest.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

LocationAccuracyTest.given_an_inaccurate_and_accurate_location_when_publishing_then_only_the_location_only_the_accurate_location_is_published

com.adevinta.android.barista.internal.failurehandler.BaristaException: Could not perform action single click on view view.getId() is <2131296461>
at com.adevinta.android.barista.internal.failurehandler.SpyFailureHandler.resendFirstError(SpyFailureHandler.kt:25)
Raw output
com.adevinta.android.barista.internal.failurehandler.BaristaException: Could not perform action single click on view view.getId() is <2131296461>
at com.adevinta.android.barista.internal.failurehandler.SpyFailureHandler.resendFirstError(SpyFailureHandler.kt:25)
at com.adevinta.android.barista.internal.PerformActionKt.performActionOnView(PerformAction.kt:50)
at com.adevinta.android.barista.internal.PerformActionKt.performAction(PerformAction.kt:26)
at com.adevinta.android.barista.interaction.BaristaClickInteractions.clickOn(BaristaClickInteractions.kt:19)
at org.owntracks.android.ui.ClickOnPreferenceKt.clickOnAndWait(ClickOnPreference.kt:22)
at org.owntracks.android.testutils.HelpersKt.reportLocationFromMap(Helpers.kt:96)
at org.owntracks.android.e2e.LocationAccuracyTest.given_an_inaccurate_and_accurate_location_when_publishing_then_only_the_location_only_the_accurate_location_is_published(LocationAccuracyTest.kt:55)
... 44 trimmed
Caused by: androidx.test.espresso.IdlingResourceTimeoutException: Wait for [mockLocationIdlingResource] to become idle timed out
at androidx.test.espresso.IdlingPolicy.handleTimeout(IdlingPolicy.java:4)
at androidx.test.espresso.base.UiControllerImpl$5.resourcesHaveTimedOut(UiControllerImpl.java:1)
at androidx.test.espresso.base.IdlingResourceRegistry$Dispatcher.handleTimeout(IdlingResourceRegistry.java:4)
at androidx.test.espresso.base.IdlingResourceRegistry$Dispatcher.handleMessage(IdlingResourceRegistry.java:6)
at android.os.Handler.dispatchMessage(Handler.java:102)
at androidx.test.espresso.base.Interrogator.loopAndInterrogate(Interrogator.java:14)
at androidx.test.espresso.base.UiControllerImpl.loopUntil(UiControllerImpl.java:8)
at androidx.test.espresso.base.UiControllerImpl.loopMainThreadUntilIdle(UiControllerImpl.java:17)
at androidx.test.espresso.ViewInteraction.doPerform(ViewInteraction.java:3)
at androidx.test.espresso.ViewInteraction.access$100(ViewInteraction.java:1)
at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:2)
at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:1)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7839)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)

Check failure on line 1 in project/app/src/androidTest/java/org/owntracks/android/mqtt/MQTTMessagePublishTests.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

MQTTMessagePublishTests.given_an_MQTT_configured_client_when_the_broker_sends_a_location_for_a_cleared_contact_then_a_the_contact_returns_with_the_correct_details

java.lang.IndexOutOfBoundsException: Empty list doesn't contain element at index 0.
at kotlin.collections.EmptyList.get(Collections.kt:37)
Raw output
java.lang.IndexOutOfBoundsException: Empty list doesn't contain element at index 0.
at kotlin.collections.EmptyList.get(Collections.kt:37)
at kotlin.collections.EmptyList.get(Collections.kt:25)
at org.owntracks.android.ui.map.MapViewModel$orientationSensorEventListener$1.onSensorChanged(MapViewModel.kt:390)
at android.hardware.SystemSensorManager$SensorEventQueue.dispatchSensorEvent(SystemSensorManager.java:886)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:335)
at android.os.Looper.loopOnce(Looper.java:161)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7839)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)

Check failure on line 200 in project/app/src/androidTest/java/org/owntracks/android/mqtt/MQTTTransitionEventTests.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

MQTTTransitionEventTests.given_an_MQTT_configured_client_when_the_location_enters_a_geofence_a_transition_message_is_sent

java.lang.AssertionError: Packet has been received that is a transition message with the correct details
at org.junit.Assert.fail(Assert.java:89)
Raw output
java.lang.AssertionError: Packet has been received that is a transition message with the correct details
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.assertTrue(Assert.java:42)
at org.owntracks.android.mqtt.MQTTTransitionEventTests.given_an_MQTT_configured_client_when_the_location_enters_a_geofence_a_transition_message_is_sent(MQTTTransitionEventTests.kt:200)

Check failure on line 123 in project/app/src/androidTest/java/org/owntracks/android/ui/ConnectionErrorTest.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ConnectionErrorTest.given_a_config_against_a_tls_endpoint_with_self_signed_certs_when_viewing_the_connecting_status_then_a_ca_not_trusted_error_is_shown

com.adevinta.android.barista.internal.failurehandler.BaristaException: View (view.getId() is <2131296380/org.owntracks.android.debug:id/connectedStatusMessage>) didn't match condition ((an instance of android.widget.TextView and view.getText() with or without transformation to match: a string containing "Endpoint TLS CA not trusted" or (view.getParent() is assignable from class <class com.google.android.material.textfield.TextInputLayout> and (view is an instance of android.view.ViewGroup and has descendant matching an instance of android.widget.TextView and view.getText() with or without transformation to match: a string containing "Endpoint TLS CA not trusted"))))
at com.adevinta.android.barista.internal.failurehandler.SpyFailureHandler.resendFirstError(SpyFailureHandler.kt:25)
Raw output
com.adevinta.android.barista.internal.failurehandler.BaristaException: View (view.getId() is <2131296380/org.owntracks.android.debug:id/connectedStatusMessage>) didn't match condition ((an instance of android.widget.TextView and view.getText() with or without transformation to match: a string containing "Endpoint TLS CA not trusted" or (view.getParent() is assignable from class <class com.google.android.material.textfield.TextInputLayout> and (view is an instance of android.view.ViewGroup and has descendant matching an instance of android.widget.TextView and view.getText() with or without transformation to match: a string containing "Endpoint TLS CA not trusted"))))
at com.adevinta.android.barista.internal.failurehandler.SpyFailureHandler.resendFirstError(SpyFailureHandler.kt:25)
at com.adevinta.android.barista.internal.AssertAnyKt.assertAnyView(AssertAny.kt:42)
at com.adevinta.android.barista.internal.AssertAnyKt.assertAny(AssertAny.kt:18)
at com.adevinta.android.barista.assertion.BaristaVisibilityAssertions.assertContains(BaristaVisibilityAssertions.kt:99)
at com.adevinta.android.barista.assertion.BaristaVisibilityAssertions.assertContains(BaristaVisibilityAssertions.kt:105)
at org.owntracks.android.ui.ConnectionErrorTest$given_a_config_against_a_tls_endpoint_with_self_signed_certs_when_viewing_the_connecting_status_then_a_ca_not_trusted_error_is_shown$1.invoke(ConnectionErrorTest.kt:129)
at org.owntracks.android.ui.ConnectionErrorTest$given_a_config_against_a_tls_endpoint_with_self_signed_certs_when_viewing_the_connecting_status_then_a_ca_not_trusted_error_is_shown$1.invoke(ConnectionErrorTest.kt:123)
at org.owntracks.android.ui.ConnectionErrorTestKt.use(ConnectionErrorTest.kt:248)
at org.owntracks.android.ui.ConnectionErrorTestKt.access$use(ConnectionErrorTest.kt:1)
at org.owntracks.android.ui.ConnectionErrorTest.given_a_config_against_a_tls_endpoint_with_self_signed_certs_when_viewing_the_connecting_status_then_a_ca_not_trusted_error_is_shown(ConnectionErrorTest.kt:123)
... 44 trimmed
Caused by: junit.framework.AssertionFailedError: '(an instance of android.widget.TextView and view.getText() with or without transformation to match: a string containing "Endpoint TLS CA not trusted" or (view.getParent() is assignable from class <class com.google.android.material.textfield.TextInputLayout> and (view is an instance of android.view.ViewGroup and has descendant matching an instance of android.widget.TextView and view.getText() with or without transformation to match: a string containing "Endpoint TLS CA not trusted")))' doesn't match the selected view.
Expected: (an instance of android.widget.TextView and view.getText() with or without transformation to match: a string containing "Endpoint TLS CA not trusted" or (view.getParent() is assignable from class <class com.google.android.material.textfield.TextInputLayout> and (view is an instance of android.view.ViewGroup and has descendant matching an instance of android.widget.TextView and view.getText() with or without transformation to match: a string containing "Endpoint TLS CA not trusted")))
Got: was <com.google.android.material.textview.MaterialTextView{401f544 V.ED..... ......I. 0,0-0,0 #7f09007c app:id/connectedStatusMessage}>
View Details: MaterialTextView{id=2131296380, res-name=connectedStatusMessage, visibility=VISIBLE, width=0, height=0, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=true, is-selected=false, layout-params=android.widget.LinearLayout$LayoutParams@fae81af, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, text=, input-type=0, ime-target=false, has-links=false}

at androidx.test.espresso.matcher.ViewMatchers.assertThat(ViewMatchers.java:16)
at androidx.test.espresso.assertion.ViewAssertions$MatchesViewAssertion.check(ViewAssertions.java:11)
at androidx.test.espresso.ViewInteraction$SingleExecutionViewAssertion.check(ViewInteraction.java:2)
at androidx.test.espresso.ViewInteraction$2.call(ViewInteraction.java:12)
at androidx.test.espresso.ViewInteraction$2.call(ViewInteraction.java:1)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7839)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)