Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android tests are failing with missing input files for the emulator #8280

Closed
jin opened this issue May 9, 2019 · 1 comment
Closed

Android tests are failing with missing input files for the emulator #8280

jin opened this issue May 9, 2019 · 1 comment
Labels
P0 This is an emergency and more important than other current work. (Assignee required) team-Android Issues for Android team

Comments

@jin
Copy link
Member

jin commented May 9, 2019

Discovered in bazelbuild/continuous-integration#644, where using Bazel 0.25.1 with a stable version of the emulator (v29.x) results in missing input files for emulator/emulator64-x86 and emulator/emulator64-arm, causing builds to fail. The diff is here: bazelbuild/continuous-integration#644 (comment)

I'm marking this as a P0 because there's no way to download older emulator builds from AS or sdkmanager.

Currently, the workaround is to ask users to manually download an older build from http://dl.google.com/android/repository/emulator-linux-5395263.zip, which is a build that contains the missing binaries (Android emulator version 28.0.25.0).

@jin jin added P0 This is an emergency and more important than other current work. (Assignee required) team-Android Issues for Android team labels May 9, 2019
@jin
Copy link
Member Author

jin commented May 9, 2019

aehlig pushed a commit that referenced this issue May 10, 2019
…e unified emulator binary

Fixes #8280

Closes #8282.

Change-Id: If21e2119b0c9baef245412b0e5a0bdcfe270892e
PiperOrigin-RevId: 247489886
aehlig pushed a commit that referenced this issue May 10, 2019
…e unified emulator binary

Fixes #8280

Closes #8282.

Change-Id: If21e2119b0c9baef245412b0e5a0bdcfe270892e
PiperOrigin-RevId: 247489886
dkelmer pushed a commit that referenced this issue May 10, 2019
…e unified emulator binary

Fixes #8280

Closes #8282.

Change-Id: If21e2119b0c9baef245412b0e5a0bdcfe270892e
PiperOrigin-RevId: 247489886
bazel-io pushed a commit that referenced this issue May 10, 2019
Baseline: 0366246

Cherry picks:

   + 3f7f255:
     Windows: fix native test wrapper's arg. escaping
   + afeb8d0:
     Flip --incompatible_windows_escape_jvm_flags
   + 4299b65:
     Sort DirectoryNode children to ensure validity.
   + 231270c:
     Conditionally use deprecated signature for initWithContentsOfURL
   + 75a3a53:
     Add http_archive entries for testing with various JDK versions.
   + 4a6354a:
     Now that ubuntu1804 uses JDK 11, remove explicit
     ubuntu1804_java11 tests.
   + ae102fb:
     Fix wrong name of ubuntu1804_javabase9 task.
   + 0020a97:
     Remove @executable_path/Frameworks from rpaths
   + 130f86d:
     Download stderr/stdout to a temporary FileOutErr
   + 2ab3866:
     Release 0.25.0 (2019-05-01)
   + ed48a4a5fddbd93b057c3aa726e15720d79dcf8f:
     Add implementation to removed methods to address
     #8226
   + 81aefe7:
     Remove unsupported cpu attribute from cc_toolchains.
   + cccced1:
     Release 0.25.1 (2019-05-07)
   + 0900660d67b53a56a13d1fa16a788e4cecbb1c0e:
     Use package identifier instead of package name
   + 85a5a2b:
     Configure @androidsdk//:emulator_x86 and :emulator_arm to point
     to the unified emulator binary

* Add fix for #8254
* Add fix for #8280
aehlig pushed a commit that referenced this issue May 13, 2019
…e unified emulator binary

Fixes #8280

Closes #8282.

Change-Id: If21e2119b0c9baef245412b0e5a0bdcfe270892e
PiperOrigin-RevId: 247489886
@jin jin changed the title Android builds are failing with missing input files for the emulator Android tests are failing with missing input files for the emulator May 13, 2019
bung-wg2 pushed a commit to bung-wg2/bazel that referenced this issue May 15, 2019
Baseline: 0366246

Cherry picks:

   + 3f7f255:
     Windows: fix native test wrapper's arg. escaping
   + afeb8d0:
     Flip --incompatible_windows_escape_jvm_flags
   + 4299b65:
     Sort DirectoryNode children to ensure validity.
   + 231270c:
     Conditionally use deprecated signature for initWithContentsOfURL
   + 75a3a53:
     Add http_archive entries for testing with various JDK versions.
   + 4a6354a:
     Now that ubuntu1804 uses JDK 11, remove explicit
     ubuntu1804_java11 tests.
   + ae102fb:
     Fix wrong name of ubuntu1804_javabase9 task.
   + 0020a97:
     Remove @executable_path/Frameworks from rpaths
   + 130f86d:
     Download stderr/stdout to a temporary FileOutErr
   + 2ab3866:
     Release 0.25.0 (2019-05-01)
   + ed48a4a5fddbd93b057c3aa726e15720d79dcf8f:
     Add implementation to removed methods to address
     bazelbuild#8226
   + 81aefe7:
     Remove unsupported cpu attribute from cc_toolchains.
   + cccced1:
     Release 0.25.1 (2019-05-07)
   + 0900660d67b53a56a13d1fa16a788e4cecbb1c0e:
     Use package identifier instead of package name
   + 85a5a2b:
     Configure @androidsdk//:emulator_x86 and :emulator_arm to point
     to the unified emulator binary

* Add fix for bazelbuild#8254
* Add fix for bazelbuild#8280
aehlig pushed a commit that referenced this issue May 17, 2019
…e unified emulator binary

Fixes #8280

Closes #8282.

Change-Id: If21e2119b0c9baef245412b0e5a0bdcfe270892e
PiperOrigin-RevId: 247489886
aehlig pushed a commit that referenced this issue May 17, 2019
…e unified emulator binary

Fixes #8280

Closes #8282.

Change-Id: If21e2119b0c9baef245412b0e5a0bdcfe270892e
PiperOrigin-RevId: 247489886
aehlig pushed a commit that referenced this issue May 20, 2019
…e unified emulator binary

Fixes #8280

Closes #8282.

Change-Id: If21e2119b0c9baef245412b0e5a0bdcfe270892e
PiperOrigin-RevId: 247489886
aehlig pushed a commit that referenced this issue May 21, 2019
…e unified emulator binary

Fixes #8280

Closes #8282.

Change-Id: If21e2119b0c9baef245412b0e5a0bdcfe270892e
PiperOrigin-RevId: 247489886
aehlig pushed a commit that referenced this issue May 22, 2019
…e unified emulator binary

Fixes #8280

Closes #8282.

Change-Id: If21e2119b0c9baef245412b0e5a0bdcfe270892e
PiperOrigin-RevId: 247489886
aehlig pushed a commit that referenced this issue May 23, 2019
…e unified emulator binary

Fixes #8280

Closes #8282.

Change-Id: If21e2119b0c9baef245412b0e5a0bdcfe270892e
PiperOrigin-RevId: 247489886
aehlig pushed a commit that referenced this issue May 23, 2019
…e unified emulator binary

Fixes #8280

Closes #8282.

Change-Id: If21e2119b0c9baef245412b0e5a0bdcfe270892e
PiperOrigin-RevId: 247489886
aehlig pushed a commit that referenced this issue May 24, 2019
…e unified emulator binary

Fixes #8280

Closes #8282.

Change-Id: If21e2119b0c9baef245412b0e5a0bdcfe270892e
PiperOrigin-RevId: 247489886
irengrig pushed a commit to irengrig/bazel that referenced this issue Jun 18, 2019
…e unified emulator binary

Fixes bazelbuild#8280

Closes bazelbuild#8282.

Change-Id: If21e2119b0c9baef245412b0e5a0bdcfe270892e
PiperOrigin-RevId: 247489886
irengrig pushed a commit to irengrig/bazel that referenced this issue Jun 18, 2019
Baseline: 0366246

Cherry picks:

   + 3f7f255:
     Windows: fix native test wrapper's arg. escaping
   + afeb8d0:
     Flip --incompatible_windows_escape_jvm_flags
   + 4299b65:
     Sort DirectoryNode children to ensure validity.
   + 231270c:
     Conditionally use deprecated signature for initWithContentsOfURL
   + 75a3a53:
     Add http_archive entries for testing with various JDK versions.
   + 4a6354a:
     Now that ubuntu1804 uses JDK 11, remove explicit
     ubuntu1804_java11 tests.
   + ae102fb:
     Fix wrong name of ubuntu1804_javabase9 task.
   + 0020a97:
     Remove @executable_path/Frameworks from rpaths
   + 130f86d:
     Download stderr/stdout to a temporary FileOutErr
   + 2ab3866:
     Release 0.25.0 (2019-05-01)
   + ed48a4a5fddbd93b057c3aa726e15720d79dcf8f:
     Add implementation to removed methods to address
     bazelbuild#8226
   + 81aefe7:
     Remove unsupported cpu attribute from cc_toolchains.
   + cccced1:
     Release 0.25.1 (2019-05-07)
   + 0900660d67b53a56a13d1fa16a788e4cecbb1c0e:
     Use package identifier instead of package name
   + 85a5a2b:
     Configure @androidsdk//:emulator_x86 and :emulator_arm to point
     to the unified emulator binary

* Add fix for bazelbuild#8254
* Add fix for bazelbuild#8280
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P0 This is an emergency and more important than other current work. (Assignee required) team-Android Issues for Android team
Projects
None yet
1 participant