Bug 1805070 - Update detekt to v1.22.0 in A-C #292
Merged
firefoxci-taskcluster / external-gradle-dependencies-service-location
succeeded
May 19, 2023 in 9m 25s
FirefoxCI (pull_request)
External Gradle dependencies toolchain task (Treeherder push)
Details
View task in Taskcluster
View logs in Taskcluster
[task 2023-05-19T00:33:24.071Z]
[task 2023-05-19T00:33:24.071Z]
[task 2023-05-19T00:33:24.071Z] SUITE: mozilla.components.service.location.MozillaLocationServiceTest
[task 2023-05-19T00:33:24.071Z] TEST: WHEN fetching region AND service returns incomplete JSON THEN region is null
[task 2023-05-19T00:33:24.171Z] Called loadFromPath(/system/framework/framework-res.apk, true); mode=binary sdk=28
[task 2023-05-19T00:33:24.371Z] I/AssetManager: no overlays.list file found
[task 2023-05-19T00:33:24.971Z] W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:33:24.971Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #40
[task 2023-05-19T00:33:24.971Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #48
[task 2023-05-19T00:33:24.971Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #56
[task 2023-05-19T00:33:25.571Z] OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
[task 2023-05-19T00:33:26.471Z] D Could not parse JSON returned from location service
[task 2023-05-19T00:33:26.471Z] org.json.JSONException: No value for country_name
[task 2023-05-19T00:33:26.471Z] at org.json.JSONObject.get(JSONObject.java:392)
[task 2023-05-19T00:33:26.471Z] at org.json.JSONObject.getString(JSONObject.java:553)
[task 2023-05-19T00:33:26.471Z] at mozilla.components.service.location.MozillaLocationServiceKt.toRegion(MozillaLocationService.kt:158)
[task 2023-05-19T00:33:26.471Z] at mozilla.components.service.location.MozillaLocationServiceKt.fetchRegion(MozillaLocationService.kt:141)
[task 2023-05-19T00:33:26.471Z] at mozilla.components.service.location.MozillaLocationServiceKt.access$fetchRegion(MozillaLocationService.kt:1)
[task 2023-05-19T00:33:26.471Z] at mozilla.components.service.location.MozillaLocationService$fetchRegion$2.invokeSuspend(MozillaLocationService.kt:73)
[task 2023-05-19T00:33:26.471Z] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
[task 2023-05-19T00:33:26.471Z] at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
[task 2023-05-19T00:33:26.471Z] at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
[task 2023-05-19T00:33:26.471Z] at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
[task 2023-05-19T00:33:26.471Z] at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
[task 2023-05-19T00:33:26.471Z] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
[task 2023-05-19T00:33:26.471Z] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
[task 2023-05-19T00:33:26.471Z] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
[task 2023-05-19T00:33:27.071Z] SUCCESS
[task 2023-05-19T00:33:27.071Z]
[task 2023-05-19T00:33:27.071Z] TEST: WHEN fetching region AND service returns empty JSON object THEN region is null
[task 2023-05-19T00:33:27.071Z] W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:33:27.071Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #40
[task 2023-05-19T00:33:27.071Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #48
[task 2023-05-19T00:33:27.071Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #56
[task 2023-05-19T00:33:27.071Z] D Could not parse JSON returned from location service
[task 2023-05-19T00:33:27.071Z] org.json.JSONException: No value for country_code
[task 2023-05-19T00:33:27.071Z] at org.json.JSONObject.get(JSONObject.java:392)
[task 2023-05-19T00:33:27.071Z] at org.json.JSONObject.getString(JSONObject.java:553)
[task 2023-05-19T00:33:27.071Z] at mozilla.components.service.location.MozillaLocationServiceKt.toRegion(MozillaLocationService.kt:157)
[task 2023-05-19T00:33:27.071Z] at mozilla.components.service.location.MozillaLocationServiceKt.fetchRegion(MozillaLocationService.kt:141)
[task 2023-05-19T00:33:27.071Z] at mozilla.components.service.location.MozillaLocationServiceKt.access$fetchRegion(MozillaLocationService.kt:1)
[task 2023-05-19T00:33:27.071Z] at mozilla.components.service.location.MozillaLocationService$fetchRegion$2.invokeSuspend(MozillaLocationService.kt:73)
[task 2023-05-19T00:33:27.071Z] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
[task 2023-05-19T00:33:27.071Z] at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
[task 2023-05-19T00:33:27.071Z] at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
[task 2023-05-19T00:33:27.071Z] at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
[task 2023-05-19T00:33:27.071Z] at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
[task 2023-05-19T00:33:27.071Z] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
[task 2023-05-19T00:33:27.071Z] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
[task 2023-05-19T00:33:27.071Z] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
[task 2023-05-19T00:33:27.071Z] SUCCESS
[task 2023-05-19T00:33:27.071Z]
[task 2023-05-19T00:33:27.071Z] TEST: WHEN fetching region THEN request is sent to the location service
[task 2023-05-19T00:33:27.071Z] W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:33:27.171Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #40
[task 2023-05-19T00:33:27.171Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #48
[task 2023-05-19T00:33:27.171Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #56
[task 2023-05-19T00:33:27.171Z] SUCCESS
[task 2023-05-19T00:33:27.171Z]
[task 2023-05-19T00:33:27.171Z] TEST: WHEN fetching region for the second time and setting readFromCache = false THEN request is sent again
[task 2023-05-19T00:33:27.171Z] W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:33:27.171Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #40
[task 2023-05-19T00:33:27.171Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #48
[task 2023-05-19T00:33:27.171Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #56
[task 2023-05-19T00:33:27.171Z] SUCCESS
[task 2023-05-19T00:33:27.171Z]
[task 2023-05-19T00:33:27.171Z] TEST: WHEN fetching region AND service returns 404 THEN region is null
[task 2023-05-19T00:33:27.171Z] W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:33:27.171Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #40
[task 2023-05-19T00:33:27.171Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #48
[task 2023-05-19T00:33:27.171Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #56
[task 2023-05-19T00:33:27.171Z] SUCCESS
[task 2023-05-19T00:33:27.171Z]
[task 2023-05-19T00:33:27.171Z] TEST: WHEN fetching region AND service returns 500 THEN region is null
[task 2023-05-19T00:33:27.271Z] W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:33:27.271Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #40
[task 2023-05-19T00:33:27.271Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #48
[task 2023-05-19T00:33:27.271Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #56
[task 2023-05-19T00:33:27.271Z] SUCCESS
[task 2023-05-19T00:33:27.271Z]
[task 2023-05-19T00:33:27.271Z] TEST: WHEN fetching region AND service returns broken JSON THEN region is null
[task 2023-05-19T00:33:27.271Z] W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:33:27.271Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #40
[task 2023-05-19T00:33:27.271Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #48
[task 2023-05-19T00:33:27.271Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #56
[task 2023-05-19T00:33:27.271Z] D Could not parse JSON returned from location service
[task 2023-05-19T00:33:27.271Z] org.json.JSONException: End of input at character 26 of {"country_name": "France",
[task 2023-05-19T00:33:27.271Z] at org.json.JSONTokener.syntaxError(JSONTokener.java:449)
[task 2023-05-19T00:33:27.271Z] at org.json.JSONTokener.nextValue(JSONTokener.java:97)
[task 2023-05-19T00:33:27.271Z] at org.json.JSONTokener.readObject(JSONTokener.java:361)
[task 2023-05-19T00:33:27.271Z] at org.json.JSONTokener.nextValue(JSONTokener.java:100)
[task 2023-05-19T00:33:27.271Z] at org.json.JSONObject.<init>(JSONObject.java:159)
[task 2023-05-19T00:33:27.271Z] at org.json.JSONObject.<init>(JSONObject.java:176)
[task 2023-05-19T00:33:27.271Z] at mozilla.components.service.location.MozillaLocationServiceKt.toRegion(MozillaLocationService.kt:155)
[task 2023-05-19T00:33:27.271Z] at mozilla.components.service.location.MozillaLocationServiceKt.fetchRegion(MozillaLocationService.kt:141)
[task 2023-05-19T00:33:27.271Z] at mozilla.components.service.location.MozillaLocationServiceKt.access$fetchRegion(MozillaLocationService.kt:1)
[task 2023-05-19T00:33:27.271Z] at mozilla.components.service.location.MozillaLocationService$fetchRegion$2.invokeSuspend(MozillaLocationService.kt:73)
[task 2023-05-19T00:33:27.271Z] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
[task 2023-05-19T00:33:27.271Z] at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
[task 2023-05-19T00:33:27.271Z] at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
[task 2023-05-19T00:33:27.271Z] at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
[task 2023-05-19T00:33:27.271Z] at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
[task 2023-05-19T00:33:27.271Z] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
[task 2023-05-19T00:33:27.271Z] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
[task 2023-05-19T00:33:27.271Z] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
[task 2023-05-19T00:33:27.271Z] SUCCESS
[task 2023-05-19T00:33:27.271Z]
[task 2023-05-19T00:33:27.271Z] TEST: WHEN calling fetchRegion AND the service returns a region THEN a Region object is returned
[task 2023-05-19T00:33:27.271Z] W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:33:27.271Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #40
[task 2023-05-19T00:33:27.271Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #48
[task 2023-05-19T00:33:27.271Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #56
[task 2023-05-19T00:33:27.471Z] May 19, 2023 12:33:27 AM okhttp3.mockwebserver.MockWebServer$2 execute
[task 2023-05-19T00:33:27.471Z] INFO: MockWebServer[40693] starting to accept connections
[task 2023-05-19T00:33:27.471Z] May 19, 2023 12:33:27 AM okhttp3.mockwebserver.MockWebServer$3 processOneRequest
[task 2023-05-19T00:33:27.471Z] INFO: MockWebServer[40693] received request: POST /country?key=test HTTP/1.1 and responded: HTTP/1.1 200 OK
[task 2023-05-19T00:33:27.471Z] May 19, 2023 12:33:27 AM okhttp3.mockwebserver.MockWebServer$2 acceptConnections
[task 2023-05-19T00:33:27.471Z] INFO: MockWebServer[40693] done accepting connections: Socket closed
[task 2023-05-19T00:33:27.471Z] SUCCESS
[task 2023-05-19T00:33:27.471Z]
[task 2023-05-19T00:33:27.471Z] TEST: WHEN client throws IOException THEN the returned region is null
[task 2023-05-19T00:33:27.471Z] W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:33:27.472Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #40
[task 2023-05-19T00:33:27.472Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #48
[task 2023-05-19T00:33:27.472Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #56
[task 2023-05-19T00:33:27.472Z] D Could not fetch region from location service
[task 2023-05-19T00:33:27.472Z] java.io.IOException
[task 2023-05-19T00:33:27.472Z] at mozilla.components.service.location.MozillaLocationServiceKt.fetchRegion(MozillaLocationService.kt:141)
[task 2023-05-19T00:33:27.472Z] at mozilla.components.service.location.MozillaLocationServiceKt.access$fetchRegion(MozillaLocationService.kt:1)
[task 2023-05-19T00:33:27.472Z] at mozilla.components.service.location.MozillaLocationService$fetchRegion$2.invokeSuspend(MozillaLocationService.kt:73)
[task 2023-05-19T00:33:27.472Z] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
[task 2023-05-19T00:33:27.472Z] at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
[task 2023-05-19T00:33:27.472Z] at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
[task 2023-05-19T00:33:27.472Z] at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
[task 2023-05-19T00:33:27.472Z] at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
[task 2023-05-19T00:33:27.472Z] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
[task 2023-05-19T00:33:27.472Z] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
[task 2023-05-19T00:33:27.472Z] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
[task 2023-05-19T00:33:27.472Z] SUCCESS
[task 2023-05-19T00:33:27.472Z]
[task 2023-05-19T00:33:27.472Z] TEST: WHEN fetching region for the second time THEN region is read from cache
[task 2023-05-19T00:33:27.571Z] W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:33:27.571Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #40
[task 2023-05-19T00:33:27.571Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #48
[task 2023-05-19T00:33:27.571Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/service/location/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #56
[task 2023-05-19T00:33:27.571Z] SUCCESS
[task 2023-05-19T00:33:27.571Z]
[task 2023-05-19T00:33:27.671Z]
[task 2023-05-19T00:33:27.671Z] > Task :service-location:jacocoDebugTestReport SKIPPED
[task 2023-05-19T00:33:27.671Z] > Task :service-location:jacocoReleaseTestReport SKIPPED
[task 2023-05-19T00:33:27.671Z] > Task :service-location:test
[task 2023-05-19T00:33:27.771Z] > Task :service-location:lintReportRelease
[task 2023-05-19T00:33:27.771Z] > Task :service-location:lintRelease
[task 2023-05-19T00:33:27.871Z]
[task 2023-05-19T00:33:27.871Z] Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
[task 2023-05-19T00:33:27.871Z]
[task 2023-05-19T00:33:27.871Z] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
[task 2023-05-19T00:33:27.871Z]
[task 2023-05-19T00:33:27.871Z] See https://docs.gradle.org/7.6.1/userguide/command_line_interface.html#sec:command_line_warnings
[task 2023-05-19T00:33:27.871Z]
[task 2023-05-19T00:33:27.871Z] BUILD SUCCESSFUL in 53s
[task 2023-05-19T00:33:27.871Z] 523 actionable tasks: 276 executed, 97 from cache, 150 up-to-date
[task 2023-05-19T00:33:28.344Z]
[task 2023-05-19T00:33:28.344Z] . "$REPO_ROOT_DIR/taskcluster/scripts/toolchain/external-gradle-dependencies/after.sh"
[task 2023-05-19T00:33:28.344Z] + . /builds/worker/checkouts/vcs/taskcluster/scripts/toolchain/external-gradle-dependencies/after.sh
[task 2023-05-19T00:33:28.344Z] #!/bin/bash
[task 2023-05-19T00:33:28.344Z]
[task 2023-05-19T00:33:28.344Z] # This Source Code Form is subject to the terms of the Mozilla Public
[task 2023-05-19T00:33:28.344Z] # License, v. 2.0. If a copy of the MPL was not distributed with this
[task 2023-05-19T00:33:28.344Z] # file, You can obtain one at http://mozilla.org/MPL/2.0/.
[task 2023-05-19T00:33:28.344Z]
[task 2023-05-19T00:33:28.344Z] # This is inspired by
[task 2023-05-19T00:33:28.344Z] # https://searchfox.org/mozilla-central/rev/2cd2d511c0d94a34fb7fa3b746f54170ee759e35/taskcluster/scripts/misc/android-gradle-dependencies/after.sh.
[task 2023-05-19T00:33:28.344Z] # gradle-plugins was removed because it's not used in this project.
[task 2023-05-19T00:33:28.344Z]
[task 2023-05-19T00:33:28.344Z] set -x -e -v
[task 2023-05-19T00:33:28.344Z] ++ set -x -e -v
[task 2023-05-19T00:33:28.344Z]
[task 2023-05-19T00:33:28.344Z] echo "running as $(id)"
[task 2023-05-19T00:33:28.344Z] +++ id
[task 2023-05-19T00:33:28.345Z] ++ echo 'running as uid=1000(worker) gid=1000(worker) groups=1000(worker)'
[task 2023-05-19T00:33:28.345Z] running as uid=1000(worker) gid=1000(worker) groups=1000(worker)
[task 2023-05-19T00:33:28.345Z]
[task 2023-05-19T00:33:28.345Z] : WORKSPACE "${WORKSPACE:=/builds/worker/workspace}"
[task 2023-05-19T00:33:28.345Z] ++ : WORKSPACE /builds/worker/workspace
[task 2023-05-19T00:33:28.345Z] ARTIFACTS_TARGET_DIR='/builds/worker/artifacts'
[task 2023-05-19T00:33:28.345Z] ++ ARTIFACTS_TARGET_DIR=/builds/worker/artifacts
[task 2023-05-19T00:33:28.345Z] EXTERNAL_DEPS='external-gradle-dependencies'
[task 2023-05-19T00:33:28.345Z] ++ EXTERNAL_DEPS=external-gradle-dependencies
[task 2023-05-19T00:33:28.345Z] NEXUS_STORAGE_DIR="$NEXUS_WORK/storage"
[task 2023-05-19T00:33:28.345Z] ++ NEXUS_STORAGE_DIR=/builds/worker/workspace/nexus/storage
[task 2023-05-19T00:33:28.345Z] NEXUS_DIRS="$NEXUS_STORAGE_DIR/google $NEXUS_STORAGE_DIR/central"
[task 2023-05-19T00:33:28.345Z] ++ NEXUS_DIRS='/builds/worker/workspace/nexus/storage/google /builds/worker/workspace/nexus/storage/central'
[task 2023-05-19T00:33:28.346Z] BAD_DOWNLOADS_FILE="$WORKSPACE/bad_downloads.txt"
[task 2023-05-19T00:33:28.346Z] ++ BAD_DOWNLOADS_FILE=/builds/worker/workspace/bad_downloads.txt
[task 2023-05-19T00:33:28.346Z] BAD_DOWNLOADS_EXIT_CODE=17
[task 2023-05-19T00:33:28.346Z] ++ BAD_DOWNLOADS_EXIT_CODE=17
[task 2023-05-19T00:33:28.346Z]
[task 2023-05-19T00:33:28.346Z]
[task 2023-05-19T00:33:28.346Z] function _package_artifacts_downloaded_by_nexus() {
[task 2023-05-19T00:33:28.346Z] pushd "$WORKSPACE"
[task 2023-05-19T00:33:28.346Z]
[task 2023-05-19T00:33:28.346Z] mkdir -p "$WORKSPACE/$EXTERNAL_DEPS" "$ARTIFACTS_TARGET_DIR"
[task 2023-05-19T00:33:28.346Z] for nexus_dir in $NEXUS_DIRS; do
[task 2023-05-19T00:33:28.346Z] cp -R "$nexus_dir" "$EXTERNAL_DEPS"
[task 2023-05-19T00:33:28.346Z] done
[task 2023-05-19T00:33:28.346Z]
[task 2023-05-19T00:33:28.346Z] tar cf - "$EXTERNAL_DEPS" | xz > "$ARTIFACTS_TARGET_DIR/$EXTERNAL_DEPS.tar.xz"
[task 2023-05-19T00:33:28.346Z] popd
[task 2023-05-19T00:33:28.346Z] }
[task 2023-05-19T00:33:28.346Z]
[task 2023-05-19T00:33:28.346Z]
[task 2023-05-19T00:33:28.346Z] function _ensure_artifacts_are_sane() {
[task 2023-05-19T00:33:28.346Z] # Let's find empty files or unfinished downloads
[task 2023-05-19T00:33:28.346Z] find "$WORKSPACE/$EXTERNAL_DEPS" -size 0 -o -name '*.part' > "$BAD_DOWNLOADS_FILE"
[task 2023-05-19T00:33:28.346Z]
[task 2023-05-19T00:33:28.346Z] if [ -s "$BAD_DOWNLOADS_FILE" ]; then
[task 2023-05-19T00:33:28.346Z] echo "ERROR: Some artifacts were not correctly downloaded! Please look at:"
[task 2023-05-19T00:33:28.346Z] cat "$BAD_DOWNLOADS_FILE"
[task 2023-05-19T00:33:28.346Z] exit $BAD_DOWNLOADS_EXIT_CODE
[task 2023-05-19T00:33:28.346Z] fi
[task 2023-05-19T00:33:28.346Z] }
[task 2023-05-19T00:33:28.346Z]
[task 2023-05-19T00:33:28.346Z]
[task 2023-05-19T00:33:28.346Z] _package_artifacts_downloaded_by_nexus
[task 2023-05-19T00:33:28.346Z] ++ _package_artifacts_downloaded_by_nexus
[task 2023-05-19T00:33:28.346Z] ++ pushd /builds/worker/workspace
[task 2023-05-19T00:33:28.346Z] ~/workspace ~/checkouts/vcs/android-components ~/checkouts
[task 2023-05-19T00:33:28.346Z] ++ mkdir -p /builds/worker/workspace/external-gradle-dependencies /builds/worker/artifacts
[task 2023-05-19T00:33:28.346Z] ++ for nexus_dir in $NEXUS_DIRS
[task 2023-05-19T00:33:28.346Z] ++ cp -R /builds/worker/workspace/nexus/storage/google external-gradle-dependencies
[task 2023-05-19T00:33:28.460Z] ++ for nexus_dir in $NEXUS_DIRS
[task 2023-05-19T00:33:28.460Z] ++ cp -R /builds/worker/workspace/nexus/storage/central external-gradle-dependencies
[task 2023-05-19T00:33:28.754Z] ++ tar cf - external-gradle-dependencies
[task 2023-05-19T00:33:28.754Z] ++ xz
[task 2023-05-19T00:36:21.811Z] ++ popd
[task 2023-05-19T00:36:21.811Z] ~/checkouts/vcs/android-components ~/checkouts
[task 2023-05-19T00:36:21.811Z] _ensure_artifacts_are_sane
[task 2023-05-19T00:36:21.811Z] ++ _ensure_artifacts_are_sane
[task 2023-05-19T00:36:21.811Z] ++ find /builds/worker/workspace/external-gradle-dependencies -size 0 -o -name '*.part'
[task 2023-05-19T00:36:21.833Z] ++ '[' -s /builds/worker/workspace/bad_downloads.txt ']'
[task 2023-05-19T00:36:21.833Z]
[task 2023-05-19T00:36:21.833Z] popd
[task 2023-05-19T00:36:21.833Z] + popd
[task 2023-05-19T00:36:21.833Z] ~/checkouts
[fetches 2023-05-19T00:36:21.833Z] removing /builds/worker/fetches
[fetches 2023-05-19T00:36:22.496Z] finished
[taskcluster 2023-05-19 00:36:23.109Z] === Task Finished ===
[taskcluster 2023-05-19 00:36:35.930Z] Successful task run with exit code: 0 completed in 458.908 seconds