Git Product home page Git Product logo

bazel_experimental_reuse_sandbox_directories_bug's Introduction

To reproduce:

$ bazel build --repo_env=CREATE_DIRECTORY=1 --experimental_reuse_sandbox_directories genrule
INFO: Analyzed target //:genrule (1 packages loaded, 3 targets configured).
INFO: Found 1 target...
Target //:genrule up-to-date:
  bazel-bin/out.txt
INFO: Elapsed time: 0.258s, Critical Path: 0.04s
INFO: 2 processes: 1 internal, 1 darwin-sandbox.
INFO: Build completed successfully, 2 total actions
$ bazel build --repo_env=CREATE_DIRECTORY=0 --experimental_reuse_sandbox_directories genrule
INFO: Analyzed target //:genrule (2 packages loaded, 4 targets configured).
INFO: Found 1 target...
ERROR: /Users/john/figma/experimental_reuse_sandbox_directories_bug/BUILD.bazel:1:8: Executing genrule //:genrule failed: I/O exception during sandboxed execution: /private/var/tmp/_bazel_john/9783db1df19336aed6f57df04766e276/sandbox/darwin-sandbox/18/execroot/__main__/external/repository/output (Directory not empty)
Target //:genrule failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 0.179s, Critical Path: 0.01s
INFO: 2 processes: 2 internal.
FAILED: Build did NOT complete successfully

Expected behavior: the second bazel build should succeed. (If you remove --experimental_reuse_sandbox_directories, or run rm -rf "$(bazel info output_base)/sandbox/sandbox_stash", it does.)

bazel_experimental_reuse_sandbox_directories_bug's People

Contributors

jfirebaugh avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.