| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
--
MOS_MIGRATED_REVID=109404922
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=108985661
|
|
|
|
|
|
|
|
|
|
| |
This is necessary to be able to verify that the network sandbox is
active using ifconfig, for example.
--
Change-Id: Ia3ea16e18cf1d280f31870c867e56336bb48e7bd
Reviewed-on: https://bazel-review.git.corp.google.com/#/c/2361
MOS_MIGRATED_REVID=108685498
|
|
|
|
|
|
|
| |
The "clean" command that is run after each shell test finishes (in the tear_down method of test-setup.sh) tries to remove all subdirectories of the output base. This includes the bazel-sandboxes directory. This, however is already being cleaned up continuously in the background by a thread pool setup in SandboxModule. By waiting for the pool to finish before the clean command runs, the race condition can be solved.
--
MOS_MIGRATED_REVID=107578302
|
|
|
|
|
|
|
|
|
|
| |
RELNOTES: Tests, genrules, and Skylark actions without the
"requires-network" tag will no longer be able to access the network.
--
Change-Id: I6f7ad209142c6cfa2ad0318adf3dcfbc9af3d724
Reviewed-on: https://bazel-review.git.corp.google.com/#/c/2221/
MOS_MIGRATED_REVID=107043709
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=106493557
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105511114
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105301167
|
|
|
|
|
|
|
|
|
|
| |
I was hitting argument length restrictions when trying to run rules
which take 2 GCC installs and a Clang install as inputs.
--
Change-Id: Iee27bb6fb50fe94bff4b2500bbcfa9381b05d63d
Reviewed-on: https://bazel-review.googlesource.com/#/c/2090
MOS_MIGRATED_REVID=105300670
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105052078
|
|
|
|
|
|
|
| |
into the namespace-sandbox, instead of doing it in Java. This fixes an issue where the namespace-sandbox would check-fail on an mkdir() of a directory that was already created in the LinuxSandboxedStrategy.
--
MOS_MIGRATED_REVID=104851563
|
|
|
|
|
|
|
| |
lexicographical order. This prevents certain edge cases in the sandbox, where a mounted child directory could be hidden by a later mount of a parent directory over its parent.
--
MOS_MIGRATED_REVID=104749937
|
|
|
|
|
|
|
|
|
|
|
| |
The headers were modified with
`find . -type f -exec 'sed' '-Ei' 's|Copyright 201([45]) Google|Copyright 201\1 The Bazel Authors|' '{}' ';'`
And manual edit for not Google owned copyright. Because of the nature of ijar, I did not modified the header of file owned by Alan Donovan.
The list of authors were extracted from the git log. It is missing older Google contributors that can be added on-demand.
--
MOS_MIGRATED_REVID=103938715
|
|
|
|
|
|
|
| |
and enable their reuse
--
MOS_MIGRATED_REVID=103634406
|
|
|
|
|
|
|
| |
--
Change-Id: If84b34393b88bad345ddf76aab0b033e77016f94
Reviewed-on: https://github.com/bazelbuild/bazel/pull/466
MOS_MIGRATED_REVID=103530511
|
|
|
|
|
|
|
| |
--
Change-Id: I26cf10accaa6f62014c65f41637a36fbeab42b0a
Reviewed-on: https://github.com/bazelbuild/bazel/pull/465
MOS_MIGRATED_REVID=103529462
|
|
|
|
|
|
|
|
|
|
| |
- Label parsing can be simplified
- lib.syntax is only contains the code for Skylark and is reasonably independent from the problem domain of building things
This change is mostly only changes to imports declarations. The rest is reversing the dependency between :cmdline and :syntax and moving a tiny amount of code between Printer and FilesetEntry and the addition of SkylarkPrintableValue that I couldn't be bothered to separate out into its own change.
--
MOS_MIGRATED_REVID=103527877
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=103269584
|
|
|
|
|
|
|
|
| |
The very long term plan is to make BlazeRuntime immutable, so that we can
run multiple commands in the same server.
--
MOS_MIGRATED_REVID=103080946
|
|
|
|
|
|
|
| |
Improvement for #424.
--
MOS_MIGRATED_REVID=102566748
|
|
|
|
|
|
|
|
|
| |
namespace-runner now have to be explicitly activated via --sandbox_debug.
Fixes #424.
--
MOS_MIGRATED_REVID=102566625
|
|
|
|
|
|
|
| |
Fix for a part of bug #397.
--
MOS_MIGRATED_REVID=102564902
|
|
|
|
|
|
|
|
|
| |
Previously the timing out information wasn't propagated to the
user, leading to a wrong FAILED message whereas the test was
timing out.
--
MOS_MIGRATED_REVID=102535481
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Totally broke Bazel tests (100% failures!).
Found by git bisect after running the update script.
*** Original change description ***
sandbox: We have to move all generated outputs, not just regular files.
Fix for a part of bug #397.
--
MOS_MIGRATED_REVID=102354724
|
|
|
|
|
|
|
| |
Fix for a part of bug #397.
--
MOS_MIGRATED_REVID=102343972
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=102330179
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=102239051
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=102145100
|
|
|
|
|
|
|
| |
mount the individual files.
--
MOS_MIGRATED_REVID=102142064
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=102058774
|
|
|
|
|
|
|
| |
unavailable sandboxing.
--
MOS_MIGRATED_REVID=102042098
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=101926862
|
|
|
|
|
|
|
| |
Symlink resolution did not work in all cases and broke ./compile.sh on certain Linux distros.
--
MOS_MIGRATED_REVID=101775459
|
|
|
|
|
|
|
|
|
| |
is Linux, do real auto-detection whether it is supported on the host or not and enable / disable it based on the result.
The warning that is printed when the Linux kernel is too old to support sandboxing can be disabled via a flag.
--
MOS_MIGRATED_REVID=101461120
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=101458091
|
|
|
|
|
|
|
|
|
|
|
|
| |
use non-declared inputs) and safety (spawns can no longer affect the host system, e.g. accidentally wipe your home directory). This implementation works on Linux only and uses Linux containers ("namespaces").
The strategy works with all actions that Bazel supports (C++ / Java compilation, genrules, test execution, Skylark-based rules, ...) and in tests, Bazel could successfully bootstrap itself and pass the whole test suite using sandboxed execution.
This is not the default behavior yet, but can be activated explicitly by using:
bazel build --genrule_strategy=sandboxed --spawn_strategy=sandboxed //my:stuff
--
MOS_MIGRATED_REVID=101457297
|
|
--
MOS_MIGRATED_REVID=97126283
|