diff options
author | 2017-03-30 13:07:49 +0000 | |
---|---|---|
committer | 2017-03-31 17:08:03 +0200 | |
commit | 89f5331faf1cc65e4176705400b22ead75e0a225 (patch) | |
tree | 569fc20bc11e1b910a6ab2f296daa90b3a4063c1 /src | |
parent | 83d07d6ba2d5471e7abe9f1828360b8d29697709 (diff) |
Disable test_sandbox_mount_customized_path because it segfaults on Ubuntu 16.04.
The test fails in the last action, where it tries to run the bazel-bin/hello-world binary with the linux-sandbox while mounting "source" to "target":
philwo@philwo-test:~/test$ $linux_sandbox -D \
> -M ${source} \
> -m ${target} \
> -- bazel-bin/hello-world
src/main/tools/linux-sandbox.cc:169: linux-sandbox-pid1 has PID 28912
[...]
src/main/tools/linux-sandbox-pid1.cc:260: remount ro: /home/philwo/test/mount_targets/x86_64-unknown-linux-gnu/sysroot/lib64/ld-2.19.so
src/main/tools/linux-sandbox-pid1.cc:349: sigaction(32, &sa, NULL) failed
src/main/tools/linux-sandbox-pid1.cc:349: sigaction(33, &sa, NULL) failed
src/main/tools/linux-sandbox-pid1.cc:459: waitpid returned 2
src/main/tools/linux-sandbox-pid1.cc:476: child died due to signal 11
PiperOrigin-RevId: 151693791
Diffstat (limited to 'src')
-rwxr-xr-x | src/test/shell/bazel/bazel_sandboxing_test.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/shell/bazel/bazel_sandboxing_test.sh b/src/test/shell/bazel/bazel_sandboxing_test.sh index aee962617a..080794d330 100755 --- a/src/test/shell/bazel/bazel_sandboxing_test.sh +++ b/src/test/shell/bazel/bazel_sandboxing_test.sh @@ -492,7 +492,8 @@ EOF expect_log "Executing genrule //:test failed:" } -function test_sandbox_mount_customized_path () { +# TODO(xingao) Disabled due to https://github.com/bazelbuild/bazel/issues/2760 +function DISABLED_test_sandbox_mount_customized_path () { # Create BUILD file cat > BUILD <<'EOF' package(default_visibility = ["//visibility:public"]) |