Skip to content

mobile-install fails with BWOB #14523

@jlaxson

Description

@jlaxson

Description of the problem / feature request:

When running a command like bazel mobile-install --remote_download_outputs=minimal //:my_target, the action fails with an error like:

FileNotFoundError: [Errno 2] No such file or directory: './bazel-out/arm64-v8a-opt/bin/libs/tsdf/_dx/tsdf_android/classes.dex.zip'

It succeeds if you switch --remote_download_outputs=minimal for --remote_download_outputs=all

Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

bazel mobile-install --remote_download_outputs=minimal //:my_android_binary_target

What operating system are you running Bazel on?

macOS 12

What's the output of bazel info release?

release 5.0.0-pre.20210708.4

Have you found anything relevant by searching the web?

No mentions of classes.dex.zip in bazel issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2We'll consider working on this in future. (Assignee optional)team-Remote-ExecIssues and PRs for the Execution (Remote) teamtype: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions