Merge pull request #17815 from billfeng327/bugfix/enable-ptrace-for-asan

adding ptrace to asan
pull/17549/head
Jan Tattermusch 6 years ago committed by GitHub
commit 79274b23de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 16
      third_party/toolchains/BUILD
  2. 6
      tools/remote_build/rbe_common.bazelrc

@ -56,6 +56,14 @@ platform(
name: "dockerNetwork" name: "dockerNetwork"
value: "off" value: "off"
} }
properties: {
name: "dockerAddCapabilities"
value: "SYS_PTRACE"
}
properties: {
name: "dockerPrivileged"
value: "true"
}
""", """,
) )
@ -87,6 +95,14 @@ platform(
name: "dockerNetwork" name: "dockerNetwork"
value: "off" value: "off"
} }
properties: {
name: "dockerAddCapabilities"
value: "SYS_PTRACE"
}
properties: {
name: "dockerPrivileged"
value: "true"
}
""", """,
) )

@ -54,12 +54,6 @@ build:asan --copt=-gmlt
# TODO(jtattermusch): use more reasonable test timeout # TODO(jtattermusch): use more reasonable test timeout
build:asan --test_timeout=3600 build:asan --test_timeout=3600
build:asan --test_tag_filters=-qps_json_driver build:asan --test_tag_filters=-qps_json_driver
build:asan --host_platform_remote_properties_override='''
properties: {
name: "dockerDropCapabilities"
value: ""
}
'''
# memory sanitizer: most settings are already in %workspace%/.bazelrc # memory sanitizer: most settings are already in %workspace%/.bazelrc
# we only need a few additional ones that are Foundry specific # we only need a few additional ones that are Foundry specific

Loading…
Cancel
Save