Fixed
Status Update
Comments
da...@google.com <da...@google.com>
ap...@google.com <ap...@google.com> #2
Another instance: https://android-build.googleplex.com/builds/pending/P10986006/androidx_host_tests_max_dep_versions/latest/view/logs/build_error.log
which says:
The message received from the daemon indicates that the daemon has disappeared.
Build request sent: Build{id=0aba0dd6-d140-4723-8ae6-1c8cecbfba77, currentDir=/buildbot/src/android/androidx-master-dev}
Attempting to read last messages from the daemon log...
Daemon pid: 15649
log file: /buildbot/src/android/androidx-master-dev/out/.gradle/daemon/6.0/daemon-15649.out.log
----- Last 20 lines from daemon log file - daemon-15649.out.log -----
I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.AndroidSandbox$SdkSandboxClassLoader@18f946ad', Original: 'org.robolectric.internal.AndroidSandbox$SdkSandboxClassLoader@18f946ad'
androidx.camera.camera2.impl.Camera2CameraInfoImplTest > cameraInfo_canCalculateCorrectRelativeRotation_forBackCamera[22] STANDARD_OUT
[Robolectric] androidx.camera.camera2.impl.Camera2CameraInfoImplTest.cameraInfo_canCalculateCorrectRelativeRotation_forBackCamera: sdk=22; resources=BINARY
Gradle Test Executor 109 started executing tests.
Note: /buildbot/src/android/androidx-master-dev/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/sherlockholmes/TextReducingWorker.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Stream closed
androidx.camera.camera2.impl.Camera2CameraInfoImplTest > cameraInfo_canCalculateCorrectRelativeRotation_forBackCamera[23] STANDARD_OUT
[Robolectric] androidx.camera.camera2.impl.Camera2CameraInfoImplTest.cameraInfo_canCalculateCorrectRelativeRotation_forBackCamera: sdk=23; resources=BINARY
androidx.camera.core.CameraCaptureResultsTest > canRetrieveCameraCaptureResult[27] STANDARD_OUT
androidx.enterprise.feedback.KeyedAppStatesServiceTest STANDARD_ERROR
[Robolectric] androidx.camera.core.CameraCaptureResultsTest.canRetrieveCameraCaptureResult: sdk=27; resources=BINARY
[Robolectric] WARN: Android SDK 10000 requires Java 9 (have Java 8). Tests won't be run on SDK 10000 unless explicitly requested.
I/MonitoringInstr: Instrumentation started!
I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.AndroidSandbox$SdkSandboxClassLoader@215389e1', Original: 'org.robolectric.internal.AndroidSandbox$SdkSandboxClassLoader@215389e1'
Created classpath snapshot for incremental compilation in 0.439 secs. 253 duplicate classes found in classpath (see all with --debug).
----- End of the daemon log -----
which says:
The message received from the daemon indicates that the daemon has disappeared.
Build request sent: Build{id=0aba0dd6-d140-4723-8ae6-1c8cecbfba77, currentDir=/buildbot/src/android/androidx-master-dev}
Attempting to read last messages from the daemon log...
Daemon pid: 15649
log file: /buildbot/src/android/androidx-master-dev/out/.gradle/daemon/6.0/daemon-15649.out.log
----- Last 20 lines from daemon log file - daemon-15649.out.log -----
I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.AndroidSandbox$SdkSandboxClassLoader@18f946ad', Original: 'org.robolectric.internal.AndroidSandbox$SdkSandboxClassLoader@18f946ad'
androidx.camera.camera2.impl.Camera2CameraInfoImplTest > cameraInfo_canCalculateCorrectRelativeRotation_forBackCamera[22] STANDARD_OUT
[Robolectric] androidx.camera.camera2.impl.Camera2CameraInfoImplTest.cameraInfo_canCalculateCorrectRelativeRotation_forBackCamera: sdk=22; resources=BINARY
Gradle Test Executor 109 started executing tests.
Note: /buildbot/src/android/androidx-master-dev/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/sherlockholmes/TextReducingWorker.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Stream closed
androidx.camera.camera2.impl.Camera2CameraInfoImplTest > cameraInfo_canCalculateCorrectRelativeRotation_forBackCamera[23] STANDARD_OUT
[Robolectric] androidx.camera.camera2.impl.Camera2CameraInfoImplTest.cameraInfo_canCalculateCorrectRelativeRotation_forBackCamera: sdk=23; resources=BINARY
androidx.camera.core.CameraCaptureResultsTest > canRetrieveCameraCaptureResult[27] STANDARD_OUT
androidx.enterprise.feedback.KeyedAppStatesServiceTest STANDARD_ERROR
[Robolectric] androidx.camera.core.CameraCaptureResultsTest.canRetrieveCameraCaptureResult: sdk=27; resources=BINARY
[Robolectric] WARN: Android SDK 10000 requires Java 9 (have Java 8). Tests won't be run on SDK 10000 unless explicitly requested.
I/MonitoringInstr: Instrumentation started!
I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.AndroidSandbox$SdkSandboxClassLoader@215389e1', Original: 'org.robolectric.internal.AndroidSandbox$SdkSandboxClassLoader@215389e1'
Created classpath snapshot for incremental compilation in 0.439 secs. 253 duplicate classes found in classpath (see all with --debug).
----- End of the daemon log -----
ap...@google.com <ap...@google.com> #3
Hmm, it doesn't seem to be specific to the androidx_host_tests_max_dep_versions target though because these failed (in postsubmit) too:
https://android-build.googleplex.com/builds/submitted/6068752/androidx_max_dep_versions/latest/view/logs/build_error.log
https://android-build.googleplex.com/builds/submitted/6068534/androidx_test_dependent_apks/latest/view/logs/build_error.log
https://android-build.googleplex.com/builds/submitted/6068188/androidx_test_changed_apks/latest/view/logs/build_error.log
Each of these three seems to say the same thing, but it's different from the two above:
The message received from the daemon indicates that the daemon has disappeared.
Build request sent: Build{id=52088053-6fbd-4436-8aab-5e305f8428aa, currentDir=/usr/local/google/buildbot/src/android/androidx-master-dev}
Attempting to read last messages from the daemon log...
Daemon pid: 28679
log file: /usr/local/google/buildbot/src/android/androidx-master-dev/out/.gradle/daemon/6.0/daemon-28679.out.log
----- Last 20 lines from daemon log file - daemon-28679.out.log -----
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /usr/local/google/buildbot/src/android/androidx-master-dev/frameworks/support/lifecycle/integration-tests/testapp/src/main/java/androidx/lifecycle/testapp/FrameworkLifecycleRegistryActivity.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: /usr/local/google/buildbot/src/android/androidx-master-dev/frameworks/support/lifecycle/integration-tests/testapp/src/androidTest/java/androidx/lifecycle/SynchronousActivityLifecycleTest.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
/usr/local/google/buildbot/src/android/androidx-master-dev/frameworks/support/room/integration-tests/noappcompattestapp/src/androidTest/java/androidx/room/integration/noappcompat/BareRelationDatabaseTest.java:95: warning: The return value includes a POJO with a @Relation. It is usually desired to annotate this method with @Transaction to avoid possibility of inconsistent results between the POJO and its relations. Seehttps://developer.android.com/reference/android/arch/persistence/room/Transaction.html for details.
UserAndPets getUserWithPets(long id);
^
/usr/local/google/buildbot/src/android/androidx-master-dev/frameworks/support/room/integration-tests/noappcompattestapp/src/androidTest/java/androidx/room/integration/noappcompat/BareRelationDatabaseTest.java:98: warning: The return value includes a POJO with a @Relation. It is usually desired to annotate this method with @Transaction to avoid possibility of inconsistent results between the POJO and its relations. Seehttps://developer.android.com/reference/android/arch/persistence/room/Transaction.html for details.
List<UserAndPet> getUsersWithPet();
^
2 warnings
Stream closed
----- End of the daemon log -----
Each of these three seems to say the same thing, but it's different from the two above:
The message received from the daemon indicates that the daemon has disappeared.
Build request sent: Build{id=52088053-6fbd-4436-8aab-5e305f8428aa, currentDir=/usr/local/google/buildbot/src/android/androidx-master-dev}
Attempting to read last messages from the daemon log...
Daemon pid: 28679
log file: /usr/local/google/buildbot/src/android/androidx-master-dev/out/.gradle/daemon/6.0/daemon-28679.out.log
----- Last 20 lines from daemon log file - daemon-28679.out.log -----
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /usr/local/google/buildbot/src/android/androidx-master-dev/frameworks/support/lifecycle/integration-tests/testapp/src/main/java/androidx/lifecycle/testapp/FrameworkLifecycleRegistryActivity.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: /usr/local/google/buildbot/src/android/androidx-master-dev/frameworks/support/lifecycle/integration-tests/testapp/src/androidTest/java/androidx/lifecycle/SynchronousActivityLifecycleTest.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
/usr/local/google/buildbot/src/android/androidx-master-dev/frameworks/support/room/integration-tests/noappcompattestapp/src/androidTest/java/androidx/room/integration/noappcompat/BareRelationDatabaseTest.java:95: warning: The return value includes a POJO with a @Relation. It is usually desired to annotate this method with @Transaction to avoid possibility of inconsistent results between the POJO and its relations. See
UserAndPets getUserWithPets(long id);
^
/usr/local/google/buildbot/src/android/androidx-master-dev/frameworks/support/room/integration-tests/noappcompattestapp/src/androidTest/java/androidx/room/integration/noappcompat/BareRelationDatabaseTest.java:98: warning: The return value includes a POJO with a @Relation. It is usually desired to annotate this method with @Transaction to avoid possibility of inconsistent results between the POJO and its relations. See
List<UserAndPet> getUsersWithPet();
^
2 warnings
Stream closed
----- End of the daemon log -----
ap...@google.com <ap...@google.com> #4
Hmm it looks like we only have a couple of types of messages that appear in the daemon log before the daemon dies
I wonder if we should disable a couple of these things (maybe BareRelationDatabaseTest?) until we can figure out the root cause?
I wonder if we should disable a couple of these things (maybe BareRelationDatabaseTest?) until we can figure out the root cause?
ap...@google.com <ap...@google.com> #5
ap...@google.com <ap...@google.com> #6
Project: platform/frameworks/support
Branch: androidx-master-dev
commit e72d230e942687e5d09637c24005a0b2916cdc7c
Author: Jeff Gaston <jeffrygaston@google.com>
Date: Thu Dec 19 18:32:31 2019
Telling Gradle to initially request all of the memory that it will ever request
(only when DIST_DIR is set)
to rule out the possibility that the Gradle daemon might be unable to acquire more memory from the host system in the middle of the build and then crashing with an out-of-memory error.
Also, in cases where Gradle does eventually use as much memory as allowed, this should slightly improve performance.
Bug: 146217083
Test: DIST_DIR=../../out/dist ./gradlew --no-daemon projects # and see that it doesn't take any more time to run with this change vs without
Test: ./gradlew --no-daemon projects
Test: DIST_DIR=../../out/dist ./gradlew --no-daemon --info 2>&1 | grep -i Xmx | head -n 1 | grep Xms
Test: ./gradlew --no-daemon --info 2>&1 | grep -i Xmx | head -n 1 | grep Xms # and see there are no matches
Change-Id: Id6c0c45c375a3f1a836af0d473f9146f3f99d103
M gradle.properties
M gradlew
M ui/gradle.properties
https://android-review.googlesource.com/1196714
Branch: androidx-master-dev
commit e72d230e942687e5d09637c24005a0b2916cdc7c
Author: Jeff Gaston <jeffrygaston@google.com>
Date: Thu Dec 19 18:32:31 2019
Telling Gradle to initially request all of the memory that it will ever request
(only when DIST_DIR is set)
to rule out the possibility that the Gradle daemon might be unable to acquire more memory from the host system in the middle of the build and then crashing with an out-of-memory error.
Also, in cases where Gradle does eventually use as much memory as allowed, this should slightly improve performance.
Bug: 146217083
Test: DIST_DIR=../../out/dist ./gradlew --no-daemon projects # and see that it doesn't take any more time to run with this change vs without
Test: ./gradlew --no-daemon projects
Test: DIST_DIR=../../out/dist ./gradlew --no-daemon --info 2>&1 | grep -i Xmx | head -n 1 | grep Xms
Test: ./gradlew --no-daemon --info 2>&1 | grep -i Xmx | head -n 1 | grep Xms # and see there are no matches
Change-Id: Id6c0c45c375a3f1a836af0d473f9146f3f99d103
M gradle.properties
M gradlew
M ui/gradle.properties
ap...@google.com <ap...@google.com> #7
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 142922509089a6c77a00c98d8d05cedd9ea4a603
Author: Jeff Gaston <jeffrygaston@google.com>
Date: Tue Jan 07 11:54:44 2020
Moving org.gradle.jvmargs back into gradle.properties where Studio can find them
Bug: 146217083
Test: DIST_DIR=../../out/dist ./gradlew --no-daemon projects # and see that it doesn't take any more time to run with this change vs without
Test: ./gradlew --no-daemon projects
Test: ./gradlew studio
Change-Id: I451b93441bf89d6e4d0dcf6a2398669d0a640494
M gradle.properties
M gradlew
M ui/gradle.properties
https://android-review.googlesource.com/1202263
Branch: androidx-master-dev
commit 142922509089a6c77a00c98d8d05cedd9ea4a603
Author: Jeff Gaston <jeffrygaston@google.com>
Date: Tue Jan 07 11:54:44 2020
Moving org.gradle.jvmargs back into gradle.properties where Studio can find them
Bug: 146217083
Test: DIST_DIR=../../out/dist ./gradlew --no-daemon projects # and see that it doesn't take any more time to run with this change vs without
Test: ./gradlew --no-daemon projects
Test: ./gradlew studio
Change-Id: I451b93441bf89d6e4d0dcf6a2398669d0a640494
M gradle.properties
M gradlew
M ui/gradle.properties
ap...@google.com <ap...@google.com> #8
Aurimas encountered another one: https://android-build.googleplex.com/builds/pending/P11308389/androidx_test_dependent_apks/latest/view/logs/build_error.log
which says this:
----- Last 20 lines from daemon log file - daemon-3895.out.log -----
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
/usr/local/google/buildbot/src/android/androidx-master-dev/out/androidx/benchmark/integration-tests/startup-benchmark/build/intermediates/tmp/manifest/androidTest/release/manifestMerger888282319339507581.xml:32:5-38:19 Warning:
application@android:debuggable was tagged at manifestMerger888282319339507581.xml:32 to replace other declarations but no other declaration present
/usr/local/google/buildbot/src/android/androidx-master-dev/out/androidx/benchmark/integration-tests/dry-run-benchmark/build/intermediates/tmp/manifest/androidTest/release/manifestMerger4233420038045179579.xml:32:5-38:19 Warning:
application@android:debuggable was tagged at manifestMerger4233420038045179579.xml:32 to replace other declarations but no other declaration present
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /usr/local/google/buildbot/src/android/androidx-master-dev/frameworks/support/lifecycle/integration-tests/testapp/src/main/java/androidx/lifecycle/testapp/FrameworkLifecycleRegistryActivity.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /usr/local/google/buildbot/src/android/androidx-master-dev/frameworks/support/lifecycle/integration-tests/testapp/src/androidTest/java/androidx/lifecycle/SynchronousActivityLifecycleTest.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Stream closed
----- End of the daemon log -----
which says this:
----- Last 20 lines from daemon log file - daemon-3895.out.log -----
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
/usr/local/google/buildbot/src/android/androidx-master-dev/out/androidx/benchmark/integration-tests/startup-benchmark/build/intermediates/tmp/manifest/androidTest/release/manifestMerger888282319339507581.xml:32:5-38:19 Warning:
application@android:debuggable was tagged at manifestMerger888282319339507581.xml:32 to replace other declarations but no other declaration present
/usr/local/google/buildbot/src/android/androidx-master-dev/out/androidx/benchmark/integration-tests/dry-run-benchmark/build/intermediates/tmp/manifest/androidTest/release/manifestMerger4233420038045179579.xml:32:5-38:19 Warning:
application@android:debuggable was tagged at manifestMerger4233420038045179579.xml:32 to replace other declarations but no other declaration present
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /usr/local/google/buildbot/src/android/androidx-master-dev/frameworks/support/lifecycle/integration-tests/testapp/src/main/java/androidx/lifecycle/testapp/FrameworkLifecycleRegistryActivity.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /usr/local/google/buildbot/src/android/androidx-master-dev/frameworks/support/lifecycle/integration-tests/testapp/src/androidTest/java/androidx/lifecycle/SynchronousActivityLifecycleTest.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Stream closed
----- End of the daemon log -----
ap...@google.com <ap...@google.com> #9
Another one https://android-build.googleplex.com/builds/pending/P11716788/androidx_test_changed_apks/latest/view/logs/build_error.log
which says this:
/usr/local/google/buildbot/src/android/androidx-master-dev/frameworks/support/room/integration-tests/noappcompattestapp/src/androidTest/java/androidx/room/integration/noappcompat/BareRelationDatabaseTest.java:98: warning: The return value includes a POJO with a @Relation. It is usually desired to annotate this method with @Transaction to avoid possibility of inconsistent results between the POJO and its relations. Seehttps://developer.android.com/reference/androidx/room/Transaction.html for details.
List<UserAndPet> getUsersWithPet();
^
2 warnings
Stream closed
The message received from the daemon indicates that the daemon has disappeared.
Build request sent: Build{id=6cad0004-a32e-4007-9eb5-255b297bbd9c, currentDir=/usr/local/google/buildbot/src/android/androidx-master-dev}
Attempting to read last messages from the daemon log...
Daemon pid: 8314
log file: /usr/local/google/buildbot/src/android/androidx-master-dev/out/.gradle/daemon/6.1/daemon-8314.out.log
----- Last 20 lines from daemon log file - daemon-8314.out.log -----
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /usr/local/google/buildbot/src/android/androidx-master-dev/frameworks/support/transition/transition/src/androidTest/java/androidx/transition/TransitionActivity.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /usr/local/google/buildbot/src/android/androidx-master-dev/frameworks/support/lifecycle/integration-tests/testapp/src/main/java/androidx/lifecycle/testapp/FrameworkLifecycleRegistryActivity.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: /usr/local/google/buildbot/src/android/androidx-master-dev/frameworks/support/lifecycle/integration-tests/testapp/src/androidTest/java/androidx/lifecycle/SynchronousActivityLifecycleTest.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
/usr/local/google/buildbot/src/android/androidx-master-dev/frameworks/support/room/integration-tests/noappcompattestapp/src/androidTest/java/androidx/room/integration/noappcompat/BareRelationDatabaseTest.java:95: warning: The return value includes a POJO with a @Relation. It is usually desired to annotate this method with @Transaction to avoid possibility of inconsistent results between the POJO and its relations. Seehttps://developer.android.com/reference/androidx/room/Transaction.html for details.
UserAndPets getUserWithPets(long id);
^
/usr/local/google/buildbot/src/android/androidx-master-dev/frameworks/support/room/integration-tests/noappcompattestapp/src/androidTest/java/androidx/room/integration/noappcompat/BareRelationDatabaseTest.java:98: warning: The return value includes a POJO with a @Relation. It is usually desired to annotate this method with @Transaction to avoid possibility of inconsistent results between the POJO and its relations. Seehttps://developer.android.com/reference/androidx/room/Transaction.html for details.
List<UserAndPet> getUsersWithPet();
^
2 warnings
Stream closed
----- End of the daemon log -----
which says this:
/usr/local/google/buildbot/src/android/androidx-master-dev/frameworks/support/room/integration-tests/noappcompattestapp/src/androidTest/java/androidx/room/integration/noappcompat/BareRelationDatabaseTest.java:98: warning: The return value includes a POJO with a @Relation. It is usually desired to annotate this method with @Transaction to avoid possibility of inconsistent results between the POJO and its relations. See
List<UserAndPet> getUsersWithPet();
^
2 warnings
Stream closed
The message received from the daemon indicates that the daemon has disappeared.
Build request sent: Build{id=6cad0004-a32e-4007-9eb5-255b297bbd9c, currentDir=/usr/local/google/buildbot/src/android/androidx-master-dev}
Attempting to read last messages from the daemon log...
Daemon pid: 8314
log file: /usr/local/google/buildbot/src/android/androidx-master-dev/out/.gradle/daemon/6.1/daemon-8314.out.log
----- Last 20 lines from daemon log file - daemon-8314.out.log -----
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /usr/local/google/buildbot/src/android/androidx-master-dev/frameworks/support/transition/transition/src/androidTest/java/androidx/transition/TransitionActivity.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /usr/local/google/buildbot/src/android/androidx-master-dev/frameworks/support/lifecycle/integration-tests/testapp/src/main/java/androidx/lifecycle/testapp/FrameworkLifecycleRegistryActivity.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: /usr/local/google/buildbot/src/android/androidx-master-dev/frameworks/support/lifecycle/integration-tests/testapp/src/androidTest/java/androidx/lifecycle/SynchronousActivityLifecycleTest.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
/usr/local/google/buildbot/src/android/androidx-master-dev/frameworks/support/room/integration-tests/noappcompattestapp/src/androidTest/java/androidx/room/integration/noappcompat/BareRelationDatabaseTest.java:95: warning: The return value includes a POJO with a @Relation. It is usually desired to annotate this method with @Transaction to avoid possibility of inconsistent results between the POJO and its relations. See
UserAndPets getUserWithPets(long id);
^
/usr/local/google/buildbot/src/android/androidx-master-dev/frameworks/support/room/integration-tests/noappcompattestapp/src/androidTest/java/androidx/room/integration/noappcompat/BareRelationDatabaseTest.java:98: warning: The return value includes a POJO with a @Relation. It is usually desired to annotate this method with @Transaction to avoid possibility of inconsistent results between the POJO and its relations. See
List<UserAndPet> getUsersWithPet();
^
2 warnings
Stream closed
----- End of the daemon log -----
ap...@google.com <ap...@google.com> #10
Another one: https://android-build.googleplex.com/builds/pending/P11716787/androidx_host_tests/latest/view/logs/build_error.log
which says this:
DIST_DIR=/buildbot/dist_dirs/aosp-androidx-master-dev-linux-androidx_host_tests/P11716787/0 frameworks/support/busytown/androidx_host_tests.sh
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.4) 4.8.4 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
openjdk version "1.8.0_45-internal" OpenJDK Runtime Environment (build 1.8.0_45-internal-b14) OpenJDK 64-Bit Server VM (build 25.45-b02, mixed mode)
aidl E 01-24 23:30:57 58074 58074 aidl.cpp:581] refusing to generate code from aidl file defining parcelable
The message received from the daemon indicates that the daemon has disappeared.
Build request sent: Build{id=a3b590ad-6a71-4ebf-bacd-116b899d30b1, currentDir=/usr/local/google/buildbot/src/android/androidx-master-dev}
Attempting to read last messages from the daemon log...
Daemon pid: 57670
log file: /usr/local/google/buildbot/src/android/androidx-master-dev/out/.gradle/daemon/6.1/daemon-57670.out.log
----- Last 20 lines from daemon log file - daemon-57670.out.log -----
Gradle Test Executor 104 started executing tests.
Note: /usr/local/google/buildbot/src/android/androidx-master-dev/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/sherlockholmes/TextReducingWorker.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
androidx.biometric.DeviceCredentialHandlerBridgeTest > testCallbacks_CanSetAndGet STANDARD_OUT
[Robolectric] androidx.biometric.DeviceCredentialHandlerBridgeTest.testCallbacks_CanSetAndGet: sdk=16; resources=LEGACY
[Robolectric] NOTICE: legacy resources mode is deprecated; seehttp://robolectric.org/migrating/#migrating-to-40
Stream closed
androidx.biometric.DeviceCredentialHandlerBridgeTest > testIgnoreNextReset_PreventsReset_OnceOnly STANDARD_OUT
[Robolectric] androidx.biometric.DeviceCredentialHandlerBridgeTest.testIgnoreNextReset_PreventsReset_OnceOnly: sdk=16; resources=LEGACY
[Robolectric] NOTICE: legacy resources mode is deprecated; seehttp://robolectric.org/migrating/#migrating-to-40
androidx.biometric.DeviceCredentialHandlerBridgeTest > testConfirmingDeviceCredential_CanSetAndGet STANDARD_OUT
[Robolectric] androidx.biometric.DeviceCredentialHandlerBridgeTest.testConfirmingDeviceCredential_CanSetAndGet: sdk=16; resources=LEGACY
[Robolectric] NOTICE: legacy resources mode is deprecated; seehttp://robolectric.org/migrating/#migrating-to-40
androidx.biometric.DeviceCredentialHandlerBridgeTest > testStartIgnoringReset_OverridesIgnoreNextReset STANDARD_OUT
[Robolectric] androidx.biometric.DeviceCredentialHandlerBridgeTest.testStartIgnoringReset_OverridesIgnoreNextReset: sdk=16; resources=LEGACY
[Robolectric] NOTICE: legacy resources mode is deprecated; seehttp://robolectric.org/migrating/#migrating-to-40
----- End of the daemon log -----
which says this:
DIST_DIR=/buildbot/dist_dirs/aosp-androidx-master-dev-linux-androidx_host_tests/P11716787/0 frameworks/support/busytown/androidx_host_tests.sh
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.4) 4.8.4 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
openjdk version "1.8.0_45-internal" OpenJDK Runtime Environment (build 1.8.0_45-internal-b14) OpenJDK 64-Bit Server VM (build 25.45-b02, mixed mode)
aidl E 01-24 23:30:57 58074 58074 aidl.cpp:581] refusing to generate code from aidl file defining parcelable
The message received from the daemon indicates that the daemon has disappeared.
Build request sent: Build{id=a3b590ad-6a71-4ebf-bacd-116b899d30b1, currentDir=/usr/local/google/buildbot/src/android/androidx-master-dev}
Attempting to read last messages from the daemon log...
Daemon pid: 57670
log file: /usr/local/google/buildbot/src/android/androidx-master-dev/out/.gradle/daemon/6.1/daemon-57670.out.log
----- Last 20 lines from daemon log file - daemon-57670.out.log -----
Gradle Test Executor 104 started executing tests.
Note: /usr/local/google/buildbot/src/android/androidx-master-dev/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/sherlockholmes/TextReducingWorker.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
androidx.biometric.DeviceCredentialHandlerBridgeTest > testCallbacks_CanSetAndGet STANDARD_OUT
[Robolectric] androidx.biometric.DeviceCredentialHandlerBridgeTest.testCallbacks_CanSetAndGet: sdk=16; resources=LEGACY
[Robolectric] NOTICE: legacy resources mode is deprecated; see
Stream closed
androidx.biometric.DeviceCredentialHandlerBridgeTest > testIgnoreNextReset_PreventsReset_OnceOnly STANDARD_OUT
[Robolectric] androidx.biometric.DeviceCredentialHandlerBridgeTest.testIgnoreNextReset_PreventsReset_OnceOnly: sdk=16; resources=LEGACY
[Robolectric] NOTICE: legacy resources mode is deprecated; see
androidx.biometric.DeviceCredentialHandlerBridgeTest > testConfirmingDeviceCredential_CanSetAndGet STANDARD_OUT
[Robolectric] androidx.biometric.DeviceCredentialHandlerBridgeTest.testConfirmingDeviceCredential_CanSetAndGet: sdk=16; resources=LEGACY
[Robolectric] NOTICE: legacy resources mode is deprecated; see
androidx.biometric.DeviceCredentialHandlerBridgeTest > testStartIgnoringReset_OverridesIgnoreNextReset STANDARD_OUT
[Robolectric] androidx.biometric.DeviceCredentialHandlerBridgeTest.testStartIgnoringReset_OverridesIgnoreNextReset: sdk=16; resources=LEGACY
[Robolectric] NOTICE: legacy resources mode is deprecated; see
----- End of the daemon log -----
ap...@google.com <ap...@google.com> #11
Do we have an easy way to copy the log from /usr/local/google/buildbot/src/android/androidx-master-dev/out/.gradle/daemon/6.0/daemon-5071.out.log
when this happens?
ap...@google.com <ap...@google.com> #12
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 18c47d315a0f2f59749f1533fc98b45427215c99
Author: Jeff Gaston <jeffrygaston@google.com>
Date: Mon Jan 27 18:00:28 2020
Some more diagnostics when the build fails
In case it helps us to diagnose why daemons are sometimes dying
Bug: 146217083
Test: rm ../../out -rf; (OUT_DIR=../../out DIST_DIR=../../out/dist ./gradlew buildOnServer &); sleep 10; killall java; ls ../../out/dist/gradle-daemon/6.1 # and also notice that java processes were listed in stdout
Change-Id: I8772de53bdb45aa51a2e7393f3054a98d8263acb
M gradlew
https://android-review.googlesource.com/1218928
Branch: androidx-master-dev
commit 18c47d315a0f2f59749f1533fc98b45427215c99
Author: Jeff Gaston <jeffrygaston@google.com>
Date: Mon Jan 27 18:00:28 2020
Some more diagnostics when the build fails
In case it helps us to diagnose why daemons are sometimes dying
Bug: 146217083
Test: rm ../../out -rf; (OUT_DIR=../../out DIST_DIR=../../out/dist ./gradlew buildOnServer &); sleep 10; killall java; ls ../../out/dist/gradle-daemon/6.1 # and also notice that java processes were listed in stdout
Change-Id: I8772de53bdb45aa51a2e7393f3054a98d8263acb
M gradlew
ap...@google.com <ap...@google.com> #13
We added some more logging and encountered another failure at https://android-build.googleplex.com/builds/submitted/6166987/androidx_max_dep_versions/latest/view/logs/build_error.log
It's interesting that this java process was running when our gradle daemon crashed (fromhttps://android-build.googleplex.com/builds/submitted/6166987/androidx_max_dep_versions/latest/view/logs/build.log )
android+ 226901 1 0 2019 ? 01:44:39 /usr/local/google/buildbot/src/googleplex-android/studio-master-dev/prebuilts/studio/jdk/linux/jre/bin/java -Dorg.gradle.appname=gradlew -classpath /usr/local/google/buildbot/src/googleplex-android/studio-master-dev/tools/data-binding/compilationTests/build/build-test/testInvalidSetterBinding-useV2_false-androidx-databinding-compilationTest-SimpleCompilationTest-9b0ae610/gradle/wrapper/gradle-wrapper.jar org.gradle.wrapper.GradleWrapperMain --project-cache-dir=/usr/local/google/buildbot/src/googleplex-android/studio-master-dev/tools/data-binding/compilationTests/build/build-test/testInvalidSetterBinding-useV2_false-androidx-databinding-compilationTest-SimpleCompilationTest-9b0ae610/../out/.gradle -Pandroid.injected.invoked.from.ide=true -Pandroid.databinding.enableV2=false -Pandroid.useAndroidX=true --no-daemon assembleDebug'
It's interesting that this java process was running when our gradle daemon crashed (from
android+ 226901 1 0 2019 ? 01:44:39 /usr/local/google/buildbot/src/googleplex-android/studio-master-dev/prebuilts/studio/jdk/linux/jre/bin/java -Dorg.gradle.appname=gradlew -classpath /usr/local/google/buildbot/src/googleplex-android/studio-master-dev/tools/data-binding/compilationTests/build/build-test/testInvalidSetterBinding-useV2_false-androidx-databinding-compilationTest-SimpleCompilationTest-9b0ae610/gradle/wrapper/gradle-wrapper.jar org.gradle.wrapper.GradleWrapperMain --project-cache-dir=/usr/local/google/buildbot/src/googleplex-android/studio-master-dev/tools/data-binding/compilationTests/build/build-test/testInvalidSetterBinding-useV2_false-androidx-databinding-compilationTest-SimpleCompilationTest-9b0ae610/../out/.gradle -Pandroid.injected.invoked.from.ide=true -Pandroid.databinding.enableV2=false -Pandroid.useAndroidX=true --no-daemon assembleDebug'
ap...@google.com <ap...@google.com> #14
Another instance:
https://android-build.googleplex.com/builds/submitted/6169959/androidx_host_tests_max_dep_versions/latest/view/logs/build_error.log
It's interesting that the corresponding build.log for this build also mentions a couple of java processes that aren't coming from androidx-master-dev :
/tmp/failures/a $ tail -n 20 build.log | grep java | grep -v androidx-master-dev | grep --color java
Current java processes: 'android+ 15804 1 0 Jan24 ? 00:13:34 /buildbot/src/googleplex-android/studio-master-dev/prebuilts/studio/jdk/linux/jre/bin/java -Dorg.gradle.appname=gradlew -classpath /buildbot/src/googleplex-android/studio-master-dev/tools/data-binding/compilationTests/build/build-test/testMultipleLayoutFilesVariableMismatch-androidx-databinding-compilationTest-MultiLayoutVerificationTest-8c1909db/gradle/wrapper/gradle-wrapper.jar org.gradle.wrapper.GradleWrapperMain --project-cache-dir=/buildbot/src/googleplex-android/studio-master-dev/tools/data-binding/compilationTests/build/build-test/testMultipleLayoutFilesVariableMismatch-androidx-databinding-compilationTest-MultiLayoutVerificationTest-8c1909db/../out/.gradle -Pandroid.injected.invoked.from.ide=true -Pandroid.useAndroidX=true --no-daemon assembleDebug
android+ 22457 1 0 2019 ? 03:11:06 /buildbot/src/googleplex-android/studio-master-dev/prebuilts/studio/jdk/linux/jre/bin/java -Dorg.gradle.appname=gradlew -classpath /buildbot/src/googleplex-android/studio-master-dev/tools/data-binding/compilationTests/build/build-test/testDependantDoesNotExist-useV2_false-androidx-databinding-compilationTest-SimpleCompilationTest-315e07ae/gradle/wrapper/gradle-wrapper.jar org.gradle.wrapper.GradleWrapperMain --project-cache-dir=/buildbot/src/googleplex-android/studio-master-dev/tools/data-binding/compilationTests/build/build-test/testDependantDoesNotExist-useV2_false-androidx-databinding-compilationTest-SimpleCompilationTest-315e07ae/../out/.gradle -Pandroid.injected.invoked.from.ide=true -Pandroid.databinding.enableV2=false -Pandroid.useAndroidX=true --no-daemon assembleDebug
android+ 48932 48930 0 00:11 ? 00:00:00 grep java'
It's interesting that the corresponding build.log for this build also mentions a couple of java processes that aren't coming from androidx-master-dev :
/tmp/failures/a $ tail -n 20 build.log | grep java | grep -v androidx-master-dev | grep --color java
Current java processes: 'android+ 15804 1 0 Jan24 ? 00:13:34 /buildbot/src/googleplex-android/studio-master-dev/prebuilts/studio/jdk/linux/jre/bin/java -Dorg.gradle.appname=gradlew -classpath /buildbot/src/googleplex-android/studio-master-dev/tools/data-binding/compilationTests/build/build-test/testMultipleLayoutFilesVariableMismatch-androidx-databinding-compilationTest-MultiLayoutVerificationTest-8c1909db/gradle/wrapper/gradle-wrapper.jar org.gradle.wrapper.GradleWrapperMain --project-cache-dir=/buildbot/src/googleplex-android/studio-master-dev/tools/data-binding/compilationTests/build/build-test/testMultipleLayoutFilesVariableMismatch-androidx-databinding-compilationTest-MultiLayoutVerificationTest-8c1909db/../out/.gradle -Pandroid.injected.invoked.from.ide=true -Pandroid.useAndroidX=true --no-daemon assembleDebug
android+ 22457 1 0 2019 ? 03:11:06 /buildbot/src/googleplex-android/studio-master-dev/prebuilts/studio/jdk/linux/jre/bin/java -Dorg.gradle.appname=gradlew -classpath /buildbot/src/googleplex-android/studio-master-dev/tools/data-binding/compilationTests/build/build-test/testDependantDoesNotExist-useV2_false-androidx-databinding-compilationTest-SimpleCompilationTest-315e07ae/gradle/wrapper/gradle-wrapper.jar org.gradle.wrapper.GradleWrapperMain --project-cache-dir=/buildbot/src/googleplex-android/studio-master-dev/tools/data-binding/compilationTests/build/build-test/testDependantDoesNotExist-useV2_false-androidx-databinding-compilationTest-SimpleCompilationTest-315e07ae/../out/.gradle -Pandroid.injected.invoked.from.ide=true -Pandroid.databinding.enableV2=false -Pandroid.useAndroidX=true --no-daemon assembleDebug
android+ 48932 48930 0 00:11 ? 00:00:00 grep java'
ap...@google.com <ap...@google.com> #15
Another instance:
https://android-build.googleplex.com/builds/submitted/6170191/androidx_host_tests_max_dep_versions/latest/view/logs/build_error.log
The corresponding build.log for this failure also mentions a few java processes that aren't coming from androidx-master-dev :
android+ 52774 1 0 2019 ? 02:09:11 /buildbot/src/googleplex-android/studio-master-dev/prebuilts/studio/jdk/linux/jre/bin/java -Dorg.gradle.appname=gradlew -classpath /buildbot/src/googleplex-android/studio-master-dev/tools/data-binding/compilationTests/build/build-test/testConflictingIds_includeVsView-useV2_false-androidx-databinding-compilationTest-SimpleCompilationTest-1948ff87/gradle/wrapper/gradle-wrapper.jar org.gradle.wrapper.GradleWrapperMain --project-cache-dir=/buildbot/src/googleplex-android/studio-master-dev/tools/data-binding/compilationTests/build/build-test/testConflictingIds_includeVsView-useV2_false-androidx-databinding-compilationTest-SimpleCompilationTest-1948ff87/../out/.gradle -Pandroid.injected.invoked.from.ide=true -Pandroid.databinding.enableV2=false -Pandroid.useAndroidX=true --no-daemon assembleDebug
android+ 55342 1 0 2019 ? 01:46:05 /buildbot/src/googleplex-android/studio-master-dev/prebuilts/studio/jdk/linux/jre/bin/java -Dorg.gradle.appname=gradlew -classpath /buildbot/src/googleplex-android/studio-master-dev/tools/data-binding/compilationTests/build/build-test/testDependantDoesNotExist-useV2_true-androidx-databinding-compilationTest-SimpleCompilationTest-0bc0e006/gradle/wrapper/gradle-wrapper.jar org.gradle.wrapper.GradleWrapperMain --project-cache-dir=/buildbot/src/googleplex-android/studio-master-dev/tools/data-binding/compilationTests/build/build-test/testDependantDoesNotExist-useV2_true-androidx-databinding-compilationTest-SimpleCompilationTest-0bc0e006/../out/.gradle -Pandroid.injected.invoked.from.ide=true -Pandroid.databinding.enableV2=true -Pandroid.useAndroidX=true --no-daemon assembleDebug
android+ 60788 1 0 Jan16 ? 00:34:39 /buildbot/src/googleplex-android/studio-master-dev/prebuilts/studio/jdk/linux/jre/bin/java -Dorg.gradle.appname=gradlew -classpath /buildbot/src/googleplex-android/studio-master-dev/tools/data-binding/compilationTests/build/build-test/testDependantDoesNotExist-useV2_true-androidx-databinding-compilationTest-SimpleCompilationTest-835b0946/gradle/wrapper/gradle-wrapper.jar org.gradle.wrapper.GradleWrapperMain --project-cache-dir=/buildbot/src/googleplex-android/studio-master-dev/tools/data-binding/compilationTests/build/build-test/testDependantDoesNotExist-useV2_true-androidx-databinding-compilationTest-SimpleCompilationTest-835b0946/../out/.gradle -Pandroid.injected.invoked.from.ide=true -Pandroid.databinding.enableV2=true -Pandroid.useAndroidX=true --no-daemon assembleDebug'
The corresponding build.log for this failure also mentions a few java processes that aren't coming from androidx-master-dev :
android+ 52774 1 0 2019 ? 02:09:11 /buildbot/src/googleplex-android/studio-master-dev/prebuilts/studio/jdk/linux/jre/bin/java -Dorg.gradle.appname=gradlew -classpath /buildbot/src/googleplex-android/studio-master-dev/tools/data-binding/compilationTests/build/build-test/testConflictingIds_includeVsView-useV2_false-androidx-databinding-compilationTest-SimpleCompilationTest-1948ff87/gradle/wrapper/gradle-wrapper.jar org.gradle.wrapper.GradleWrapperMain --project-cache-dir=/buildbot/src/googleplex-android/studio-master-dev/tools/data-binding/compilationTests/build/build-test/testConflictingIds_includeVsView-useV2_false-androidx-databinding-compilationTest-SimpleCompilationTest-1948ff87/../out/.gradle -Pandroid.injected.invoked.from.ide=true -Pandroid.databinding.enableV2=false -Pandroid.useAndroidX=true --no-daemon assembleDebug
android+ 55342 1 0 2019 ? 01:46:05 /buildbot/src/googleplex-android/studio-master-dev/prebuilts/studio/jdk/linux/jre/bin/java -Dorg.gradle.appname=gradlew -classpath /buildbot/src/googleplex-android/studio-master-dev/tools/data-binding/compilationTests/build/build-test/testDependantDoesNotExist-useV2_true-androidx-databinding-compilationTest-SimpleCompilationTest-0bc0e006/gradle/wrapper/gradle-wrapper.jar org.gradle.wrapper.GradleWrapperMain --project-cache-dir=/buildbot/src/googleplex-android/studio-master-dev/tools/data-binding/compilationTests/build/build-test/testDependantDoesNotExist-useV2_true-androidx-databinding-compilationTest-SimpleCompilationTest-0bc0e006/../out/.gradle -Pandroid.injected.invoked.from.ide=true -Pandroid.databinding.enableV2=true -Pandroid.useAndroidX=true --no-daemon assembleDebug
android+ 60788 1 0 Jan16 ? 00:34:39 /buildbot/src/googleplex-android/studio-master-dev/prebuilts/studio/jdk/linux/jre/bin/java -Dorg.gradle.appname=gradlew -classpath /buildbot/src/googleplex-android/studio-master-dev/tools/data-binding/compilationTests/build/build-test/testDependantDoesNotExist-useV2_true-androidx-databinding-compilationTest-SimpleCompilationTest-835b0946/gradle/wrapper/gradle-wrapper.jar org.gradle.wrapper.GradleWrapperMain --project-cache-dir=/buildbot/src/googleplex-android/studio-master-dev/tools/data-binding/compilationTests/build/build-test/testDependantDoesNotExist-useV2_true-androidx-databinding-compilationTest-SimpleCompilationTest-835b0946/../out/.gradle -Pandroid.injected.invoked.from.ide=true -Pandroid.databinding.enableV2=true -Pandroid.useAndroidX=true --no-daemon assembleDebug'
ap...@google.com <ap...@google.com> #16
Interestingly enough, all of these logs seem to me to indicate that it's the androidx build that's failing rather than the UI build.
I'm going to see about swapping the order of the two builds and seeing if that causes the UI build to fail instead, to get more of an idea of whether the build bot may be running out of resources or whether there's something special about the androidx build
I'm going to see about swapping the order of the two builds and seeing if that causes the UI build to fail instead, to get more of an idea of whether the build bot may be running out of resources or whether there's something special about the androidx build
ap...@google.com <ap...@google.com> #17
Project: platform/frameworks/support
Branch: androidx-master-dev
commit f951f1b925a9f7568e8ee243ba785c40508f6fc1
Author: Jeff Gaston <jeffrygaston@google.com>
Date: Thu Jan 30 11:29:14 2020
On build failure on build server, now also showing start times of other processes
Bug: 146217083
Change-Id: I9b4602eca569b09e6bd6ad093c7c1136a1951eed
M gradlew
https://android-review.googlesource.com/1222499
Branch: androidx-master-dev
commit f951f1b925a9f7568e8ee243ba785c40508f6fc1
Author: Jeff Gaston <jeffrygaston@google.com>
Date: Thu Jan 30 11:29:14 2020
On build failure on build server, now also showing start times of other processes
Bug: 146217083
Change-Id: I9b4602eca569b09e6bd6ad093c7c1136a1951eed
M gradlew
ap...@google.com <ap...@google.com> #18
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 316917412ed2694bcd3d6be55dc5e0a59b5b95cd
Author: Jeff Gaston <jeffrygaston@google.com>
Date: Thu Jan 30 14:03:34 2020
Swapping the order of the ui and androidx builds
Some Gradle daemons have been dying on the build servers, but the daemons have always been dying in the androidx build rather than the ui build.
Perhaps by swapping the order of the two builds we can get an idea of whether it is more likely that this is:
a resource limitation problem (in which case perhaps the ui build will start failing due to being first), or
a specific problem in the androidx build (in which case perhaps the gradle daemon will continue only to die in the androidx build)
Bug: 146217083
Test: Treehugger runs androidx.sh
Change-Id: I80ef23b3f800249005c97494638cbe8520620ef6
M busytown/impl/build.sh
https://android-review.googlesource.com/1222937
Branch: androidx-master-dev
commit 316917412ed2694bcd3d6be55dc5e0a59b5b95cd
Author: Jeff Gaston <jeffrygaston@google.com>
Date: Thu Jan 30 14:03:34 2020
Swapping the order of the ui and androidx builds
Some Gradle daemons have been dying on the build servers, but the daemons have always been dying in the androidx build rather than the ui build.
Perhaps by swapping the order of the two builds we can get an idea of whether it is more likely that this is:
a resource limitation problem (in which case perhaps the ui build will start failing due to being first), or
a specific problem in the androidx build (in which case perhaps the gradle daemon will continue only to die in the androidx build)
Bug: 146217083
Test: Treehugger runs androidx.sh
Change-Id: I80ef23b3f800249005c97494638cbe8520620ef6
M busytown/impl/build.sh
ap...@google.com <ap...@google.com> #19
After swapping the order of the ui and androidx gradlew builds and then looking for builds that failed with their daemons dying, I still don't see any that failed in the ui build but I do see two that successfully built ui and then failed to build androidx:
https://android-build.googleplex.com/builds/submitted/6172532/androidx_host_tests_max_dep_versions//latest/view/logs/build_error.log
and
https://android-build.googleplex.com/builds/submitted/6172230/androidx_test_changed_apks/latest/view/logs/build_error.log
(note that I'm still linking to build_error.log because it's shorter, but build.log is what contains the information about the fact that the ui builds finished) :
which increases the probability that there's something special/wrong about the androidx build rather than just that the build bots are running out of resources (memory) during the build
and
(note that I'm still linking to build_error.log because it's shorter, but build.log is what contains the information about the fact that the ui builds finished) :
which increases the probability that there's something special/wrong about the androidx build rather than just that the build bots are running out of resources (memory) during the build
ap...@google.com <ap...@google.com> #20
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 1965b01730af670017b8faeea17b6388a172e87d
Author: Jeff Gaston <jeffrygaston@google.com>
Date: Mon Feb 03 14:01:43 2020
Telling the build server to kill java processes from other builds before starting the androidx builds
In case persistent processes from other builds are interfering with our builds
Bug: 146217083
Bug: 148598093
Test: Treehugger busytown/*.sh
Change-Id: I6d668106868abc7daa9f643cfac55f7bca0d8de4
M busytown/impl/build.sh
https://android-review.googlesource.com/1225095
Branch: androidx-master-dev
commit 1965b01730af670017b8faeea17b6388a172e87d
Author: Jeff Gaston <jeffrygaston@google.com>
Date: Mon Feb 03 14:01:43 2020
Telling the build server to kill java processes from other builds before starting the androidx builds
In case persistent processes from other builds are interfering with our builds
Bug: 146217083
Bug: 148598093
Test: Treehugger busytown/*.sh
Change-Id: I6d668106868abc7daa9f643cfac55f7bca0d8de4
M busytown/impl/build.sh
ap...@google.com <ap...@google.com> #21
Another instance: https://android-build.googleplex.com/builds/submitted/6178266/androidx_max_dep_versions/latest/view/logs/build_error.log
Interestingly enough, except for the few Robolectric errors in comments #1 , #2 , and #10 , all of the daemon-dying build failures I've noticed have mentioned room at the bottom of them, of which most of those have looked like comment #9
Interestingly enough, except for the few Robolectric errors in comments #1 , #2 , and #10 , all of the daemon-dying build failures I've noticed have mentioned room at the bottom of them, of which most of those have looked like
da...@google.com <da...@google.com> #22
Conveniently, the more recent build failures have been displaying the list of running tasks at the bottom of build.log at the time of the build failure:
Running tasks fromhttps://android-build.googleplex.com/builds/submitted/6184980/androidx_max_dep_versions/latest/view/logs/build.log :
Running tasks from
Interestingly enough, there's no one task that shows up in all three of the failures
Also interesting is that of these these failures, the longest common prefix that appears in each of them appears to be ":room:integration-tests:room-testapp"
ap...@google.com <ap...@google.com> #23
I'm not sure if we can blame :room:integration-tests:room-testapp
without more evidence. It might just show up as it is a fairly large project that depends on leaf node projects.
pr...@google.com <pr...@google.com> #24
Yeah, I agree that it's probably not specifically the ":room:integration-tests:room-testapp" project since the longest common prefix is ":room:integration-tests:room-testapp" rather than ":room:integration-tests:room-testapp:" (it's not even always that specific project that has a running task at the time the daemon dies)
Description
Currently we use KAPT3 infra which does not work with K2 and FIR (front-end intermediate representation) light mode hence xprocessing-testing Kotlin compilation is forced to Kotlin language version 1.9.
Moreover go over the KSP 2 differences and make workarounds for xprocessing. See