2020-02-20 02:20:52 +00:00
|
|
|
load("//test/runner:defs.bzl", "syscall_test")
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2019-01-31 19:11:44 +00:00
|
|
|
package(licenses = ["notice"])
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:32bit_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:accept_bind_stream_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
|
|
|
syscall_test(
|
2018-12-14 19:24:47 +00:00
|
|
|
size = "large",
|
2019-11-07 17:45:26 +00:00
|
|
|
shard_count = 50,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:accept_bind_test",
|
|
|
|
)
|
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:access_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:affinity_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:aio_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
2019-08-20 18:58:35 +00:00
|
|
|
shard_count = 5,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:alarm_test",
|
|
|
|
)
|
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:arch_prctl_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:bad_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "large",
|
2019-06-06 21:37:12 +00:00
|
|
|
add_overlay = True,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:bind_test",
|
|
|
|
)
|
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:brk_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:socket_test",
|
|
|
|
)
|
2019-05-29 05:28:01 +00:00
|
|
|
|
2020-06-15 08:08:00 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:socket_capability_test",
|
|
|
|
)
|
|
|
|
|
2020-02-04 23:20:30 +00:00
|
|
|
syscall_test(
|
|
|
|
size = "large",
|
2020-08-20 23:16:46 +00:00
|
|
|
# Produce too many logs in the debug mode.
|
|
|
|
debug = False,
|
2020-02-04 23:20:30 +00:00
|
|
|
shard_count = 50,
|
|
|
|
# Takes too long for TSAN. Since this is kind of a stress test that doesn't
|
|
|
|
# involve much concurrency, TSAN's usefulness here is limited anyway.
|
|
|
|
tags = ["nogotsan"],
|
|
|
|
test = "//test/syscalls/linux:socket_stress_test",
|
2020-08-13 23:56:39 +00:00
|
|
|
vfs2 = False,
|
2020-02-04 23:20:30 +00:00
|
|
|
)
|
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:chdir_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:chmod_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
2019-06-06 21:37:12 +00:00
|
|
|
add_overlay = True,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:chown_test",
|
2019-01-24 22:19:07 +00:00
|
|
|
use_tmpfs = True, # chwon tests require gofer to be running as root.
|
2018-12-10 22:41:40 +00:00
|
|
|
)
|
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:chroot_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:clock_getres_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2019-03-08 21:32:37 +00:00
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
|
|
|
test = "//test/syscalls/linux:clock_gettime_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:clock_nanosleep_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:concurrency_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2019-10-18 22:31:33 +00:00
|
|
|
syscall_test(
|
|
|
|
add_uds_tree = True,
|
|
|
|
test = "//test/syscalls/linux:connect_external_test",
|
|
|
|
use_tmpfs = True,
|
|
|
|
)
|
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:creat_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
2020-07-08 01:48:25 +00:00
|
|
|
fuse = "True",
|
2020-06-02 06:01:35 +00:00
|
|
|
test = "//test/syscalls/linux:dev_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:dup_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:epoll_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:eventfd_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:exceptions_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
2019-06-06 21:37:12 +00:00
|
|
|
add_overlay = True,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:exec_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
2019-06-06 21:37:12 +00:00
|
|
|
add_overlay = True,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:exec_binary_test",
|
|
|
|
)
|
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:exit_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:fadvise64_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:fallocate_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:fault_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:fchdir_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
|
|
|
test = "//test/syscalls/linux:fcntl_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
2019-06-06 21:37:12 +00:00
|
|
|
add_overlay = True,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:flock_test",
|
|
|
|
)
|
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:fork_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:fpsig_fork_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:fpsig_nested_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:fsync_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
2019-02-11 20:42:20 +00:00
|
|
|
shard_count = 5,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:futex_test",
|
|
|
|
)
|
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:getcpu_host_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:getcpu_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:getdents_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:getrandom_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:getrusage_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
2020-09-28 23:09:27 +00:00
|
|
|
add_overlay = True,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:inotify_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
2019-06-06 21:37:12 +00:00
|
|
|
add_overlay = True,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:ioctl_test",
|
|
|
|
)
|
|
|
|
|
2019-08-19 17:04:54 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:iptables_test",
|
|
|
|
)
|
|
|
|
|
2020-08-19 18:55:21 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:ip6tables_test",
|
|
|
|
)
|
|
|
|
|
2018-12-10 22:41:40 +00:00
|
|
|
syscall_test(
|
2019-10-02 22:43:02 +00:00
|
|
|
size = "large",
|
2019-08-20 18:58:35 +00:00
|
|
|
shard_count = 5,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:itimer_test",
|
|
|
|
)
|
|
|
|
|
Expose basic coverage information to userspace through kcov interface.
In Linux, a kernel configuration is set that compiles the kernel with a
custom function that is called at the beginning of every basic block, which
updates the memory-mapped coverage information. The Go coverage tool does not
allow us to inject arbitrary instructions into basic blocks, but it does
provide data that we can convert to a kcov-like format and transfer them to
userspace through a memory mapping.
Note that this is not a strict implementation of kcov, which is especially
tricky to do because we do not have the same coverage tools available in Go
that that are available for the actual Linux kernel. In Linux, a kernel
configuration is set that compiles the kernel with a custom function that is
called at the beginning of every basic block to write program counters to the
kcov memory mapping. In Go, however, coverage tools only give us a count of
basic blocks as they are executed. Every time we return to userspace, we
collect the coverage information and write out PCs for each block that was
executed, providing userspace with the illusion that the kcov data is always
up to date. For convenience, we also generate a unique synthetic PC for each
block instead of using actual PCs. Finally, we do not provide thread-specific
coverage data (each kcov instance only contains PCs executed by the thread
owning it); instead, we will supply data for any file specified by --
instrumentation_filter.
Also, fix issue in nogo that was causing pkg/coverage:coverage_nogo
compilation to fail.
PiperOrigin-RevId: 328426526
2020-08-25 23:26:53 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:kcov_test",
|
|
|
|
)
|
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:kill_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2019-01-24 22:19:07 +00:00
|
|
|
syscall_test(
|
2019-06-06 21:37:12 +00:00
|
|
|
add_overlay = True,
|
2019-01-24 22:19:07 +00:00
|
|
|
test = "//test/syscalls/linux:link_test",
|
|
|
|
use_tmpfs = True, # gofer needs CAP_DAC_READ_SEARCH to use AT_EMPTY_PATH with linkat(2)
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:lseek_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:madvise_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-10-06 20:53:26 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:membarrier_test",
|
|
|
|
)
|
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:memory_accounting_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:mempolicy_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:mincore_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:mkdir_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2019-01-24 22:19:07 +00:00
|
|
|
syscall_test(
|
2019-06-06 21:37:12 +00:00
|
|
|
add_overlay = True,
|
2019-01-24 22:19:07 +00:00
|
|
|
test = "//test/syscalls/linux:mknod_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
2019-02-11 20:42:20 +00:00
|
|
|
shard_count = 5,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:mmap_test",
|
|
|
|
)
|
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:mount_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
|
|
|
test = "//test/syscalls/linux:mremap_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
|
|
|
test = "//test/syscalls/linux:msync_test",
|
|
|
|
)
|
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:munmap_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:network_namespace_test",
|
|
|
|
)
|
2020-02-20 23:19:40 +00:00
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
2019-07-25 23:47:32 +00:00
|
|
|
add_overlay = True,
|
2019-06-06 21:37:12 +00:00
|
|
|
test = "//test/syscalls/linux:open_create_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:open_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:packet_socket_raw_test",
|
|
|
|
)
|
2019-08-20 23:34:37 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:packet_socket_test",
|
|
|
|
)
|
2019-08-15 23:30:25 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:partial_bad_buffer_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:pause_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-05 20:41:19 +00:00
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
|
|
|
# Takes too long under gotsan to run.
|
|
|
|
tags = ["nogotsan"],
|
|
|
|
test = "//test/syscalls/linux:ping_socket_test",
|
|
|
|
)
|
|
|
|
|
2019-05-22 03:11:26 +00:00
|
|
|
syscall_test(
|
|
|
|
size = "large",
|
2019-06-28 00:21:34 +00:00
|
|
|
add_overlay = True,
|
2019-05-22 03:11:26 +00:00
|
|
|
shard_count = 5,
|
|
|
|
test = "//test/syscalls/linux:pipe_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:poll_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
|
|
|
test = "//test/syscalls/linux:ppoll_test",
|
|
|
|
)
|
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:prctl_setuid_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:prctl_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:pread64_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:preadv_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:preadv2_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:priority_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
|
|
|
test = "//test/syscalls/linux:proc_test",
|
|
|
|
)
|
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:proc_net_test",
|
|
|
|
)
|
2019-09-05 02:06:44 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:proc_pid_oomscore_test",
|
|
|
|
)
|
2020-03-06 02:21:39 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:proc_pid_smaps_test",
|
|
|
|
)
|
2020-03-06 02:21:39 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:proc_pid_uid_gid_map_test",
|
|
|
|
)
|
2020-03-06 02:21:39 +00:00
|
|
|
|
2018-12-10 22:41:40 +00:00
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
|
|
|
test = "//test/syscalls/linux:pselect_test",
|
|
|
|
)
|
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:ptrace_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
2019-08-20 18:58:35 +00:00
|
|
|
shard_count = 5,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:pty_test",
|
|
|
|
)
|
|
|
|
|
2019-09-19 18:35:27 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:pty_root_test",
|
|
|
|
)
|
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:pwritev2_test",
|
|
|
|
)
|
2018-12-19 21:14:53 +00:00
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:pwrite64_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:raw_socket_hdrincl_test",
|
|
|
|
)
|
2019-07-13 01:08:03 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:raw_socket_icmp_test",
|
|
|
|
)
|
2019-07-13 01:08:03 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
2020-06-27 02:04:59 +00:00
|
|
|
test = "//test/syscalls/linux:raw_socket_test",
|
2020-06-02 06:01:35 +00:00
|
|
|
)
|
2019-04-03 00:47:33 +00:00
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:read_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2019-09-24 20:25:25 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:readahead_test",
|
|
|
|
)
|
|
|
|
|
2018-12-10 22:41:40 +00:00
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
2019-08-20 18:58:35 +00:00
|
|
|
shard_count = 5,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:readv_socket_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
2019-06-06 21:37:12 +00:00
|
|
|
add_overlay = True,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:readv_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
2019-06-06 21:37:12 +00:00
|
|
|
add_overlay = True,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:rename_test",
|
|
|
|
)
|
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:rlimits_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:rseq_test",
|
|
|
|
)
|
2019-12-09 19:21:01 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:rtsignal_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:signalfd_test",
|
|
|
|
)
|
2020-01-17 21:31:26 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:sched_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:sched_yield_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:seccomp_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:select_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2018-12-14 19:24:47 +00:00
|
|
|
syscall_test(
|
|
|
|
shard_count = 20,
|
|
|
|
test = "//test/syscalls/linux:semaphore_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:sendfile_socket_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:sendfile_test",
|
|
|
|
)
|
2019-05-21 22:17:05 +00:00
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:splice_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:sigaction_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2019-04-29 21:03:04 +00:00
|
|
|
# TODO(b/119826902): Enable once the test passes in runsc.
|
2020-06-02 06:01:35 +00:00
|
|
|
# syscall_test(vfs2="True",test = "//test/syscalls/linux:sigaltstack_test")
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:sigiret_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:sigprocmask_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
|
|
|
test = "//test/syscalls/linux:sigstop_test",
|
|
|
|
)
|
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:sigtimedwait_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
|
|
|
test = "//test/syscalls/linux:shm_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
|
|
|
test = "//test/syscalls/linux:socket_abstract_non_blocking_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
syscall_test(
|
2018-12-14 19:24:47 +00:00
|
|
|
size = "large",
|
2019-11-07 17:45:26 +00:00
|
|
|
shard_count = 50,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:socket_abstract_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
|
|
|
test = "//test/syscalls/linux:socket_domain_non_blocking_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
syscall_test(
|
2018-12-14 19:24:47 +00:00
|
|
|
size = "large",
|
2019-11-07 17:45:26 +00:00
|
|
|
shard_count = 50,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:socket_domain_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
2019-06-06 21:37:12 +00:00
|
|
|
add_overlay = True,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:socket_filesystem_non_blocking_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
syscall_test(
|
2018-12-14 19:24:47 +00:00
|
|
|
size = "large",
|
2019-06-06 21:37:12 +00:00
|
|
|
add_overlay = True,
|
2019-11-07 17:45:26 +00:00
|
|
|
shard_count = 50,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:socket_filesystem_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
syscall_test(
|
2019-08-06 17:59:49 +00:00
|
|
|
size = "large",
|
2019-11-07 17:45:26 +00:00
|
|
|
shard_count = 50,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:socket_inet_loopback_test",
|
|
|
|
)
|
|
|
|
|
2020-06-05 20:41:19 +00:00
|
|
|
syscall_test(
|
|
|
|
size = "large",
|
|
|
|
shard_count = 50,
|
|
|
|
# Takes too long for TSAN. Creates a lot of TCP sockets.
|
|
|
|
tags = ["nogotsan"],
|
|
|
|
test = "//test/syscalls/linux:socket_inet_loopback_nogotsan_test",
|
|
|
|
)
|
|
|
|
|
2018-12-10 22:41:40 +00:00
|
|
|
syscall_test(
|
|
|
|
size = "large",
|
2019-11-07 17:45:26 +00:00
|
|
|
shard_count = 50,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:socket_ip_tcp_generic_loopback_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
|
|
|
test = "//test/syscalls/linux:socket_ip_tcp_loopback_non_blocking_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "large",
|
2019-11-07 17:45:26 +00:00
|
|
|
shard_count = 50,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:socket_ip_tcp_loopback_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
2019-11-07 17:45:26 +00:00
|
|
|
shard_count = 50,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:socket_ip_tcp_udp_generic_loopback_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
|
|
|
test = "//test/syscalls/linux:socket_ip_udp_loopback_non_blocking_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "large",
|
2019-11-07 17:45:26 +00:00
|
|
|
shard_count = 50,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:socket_ip_udp_loopback_test",
|
|
|
|
)
|
|
|
|
|
2019-03-01 22:37:18 +00:00
|
|
|
syscall_test(
|
2019-03-06 21:18:25 +00:00
|
|
|
size = "medium",
|
2019-03-01 22:37:18 +00:00
|
|
|
test = "//test/syscalls/linux:socket_ipv4_udp_unbound_loopback_test",
|
|
|
|
)
|
2019-02-08 07:14:06 +00:00
|
|
|
|
2020-08-21 23:33:04 +00:00
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
|
|
|
# Takes too long under gotsan to run.
|
|
|
|
tags = ["nogotsan"],
|
|
|
|
test = "//test/syscalls/linux:socket_ipv4_udp_unbound_loopback_nogotsan_test",
|
|
|
|
)
|
|
|
|
|
Consider loopback bound to all addresses in subnet
When a loopback interface is configurd with an address and associated
subnet, the loopback should treat all addresses in that subnet as an
address it owns.
This is mimicking linux behaviour as seen below:
```
$ ip addr show dev lo
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group ...
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
$ ping 192.0.2.1
PING 192.0.2.1 (192.0.2.1) 56(84) bytes of data.
^C
--- 192.0.2.1 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1018ms
$ ping 192.0.2.2
PING 192.0.2.2 (192.0.2.2) 56(84) bytes of data.
^C
--- 192.0.2.2 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2039ms
$ sudo ip addr add 192.0.2.1/24 dev lo
$ ip addr show dev lo
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group ...
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet 192.0.2.1/24 scope global lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
$ ping 192.0.2.1
PING 192.0.2.1 (192.0.2.1) 56(84) bytes of data.
64 bytes from 192.0.2.1: icmp_seq=1 ttl=64 time=0.131 ms
64 bytes from 192.0.2.1: icmp_seq=2 ttl=64 time=0.046 ms
64 bytes from 192.0.2.1: icmp_seq=3 ttl=64 time=0.048 ms
^C
--- 192.0.2.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2042ms
rtt min/avg/max/mdev = 0.046/0.075/0.131/0.039 ms
$ ping 192.0.2.2
PING 192.0.2.2 (192.0.2.2) 56(84) bytes of data.
64 bytes from 192.0.2.2: icmp_seq=1 ttl=64 time=0.131 ms
64 bytes from 192.0.2.2: icmp_seq=2 ttl=64 time=0.069 ms
64 bytes from 192.0.2.2: icmp_seq=3 ttl=64 time=0.049 ms
64 bytes from 192.0.2.2: icmp_seq=4 ttl=64 time=0.035 ms
^C
--- 192.0.2.2 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3049ms
rtt min/avg/max/mdev = 0.035/0.071/0.131/0.036 ms
```
Test: integration_test.TestLoopbackAcceptAllInSubnet
PiperOrigin-RevId: 328188546
2020-08-24 19:27:01 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:socket_ipv4_udp_unbound_loopback_netlink_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:socket_ipv6_udp_unbound_loopback_netlink_test",
|
|
|
|
)
|
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:socket_ip_unbound_test",
|
|
|
|
)
|
2019-10-08 02:28:26 +00:00
|
|
|
|
2020-10-31 08:17:29 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:socket_ip_unbound_netlink_test",
|
|
|
|
)
|
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:socket_netdevice_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:socket_netlink_test",
|
|
|
|
)
|
2019-11-04 18:06:00 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:socket_netlink_route_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:socket_netlink_uevent_test",
|
|
|
|
)
|
2019-11-04 18:06:00 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:socket_blocking_local_test",
|
|
|
|
)
|
2018-12-15 06:10:19 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:socket_blocking_ip_test",
|
|
|
|
)
|
2018-12-15 06:10:19 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:socket_non_stream_blocking_local_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:socket_non_stream_blocking_udp_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "large",
|
|
|
|
test = "//test/syscalls/linux:socket_stream_blocking_local_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "large",
|
|
|
|
test = "//test/syscalls/linux:socket_stream_blocking_tcp_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
|
|
|
test = "//test/syscalls/linux:socket_stream_local_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
|
|
|
test = "//test/syscalls/linux:socket_stream_nonblock_local_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
syscall_test(
|
2019-04-29 21:03:04 +00:00
|
|
|
# NOTE(b/116636318): Large sendmsg may stall a long time.
|
2018-12-10 22:41:40 +00:00
|
|
|
size = "enormous",
|
2019-08-20 18:58:35 +00:00
|
|
|
shard_count = 5,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:socket_unix_dgram_local_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
|
|
|
test = "//test/syscalls/linux:socket_unix_dgram_non_blocking_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
syscall_test(
|
2018-12-14 19:24:47 +00:00
|
|
|
size = "large",
|
2019-06-06 21:37:12 +00:00
|
|
|
add_overlay = True,
|
2019-11-07 17:45:26 +00:00
|
|
|
shard_count = 50,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:socket_unix_pair_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
syscall_test(
|
2019-04-29 21:03:04 +00:00
|
|
|
# NOTE(b/116636318): Large sendmsg may stall a long time.
|
2018-12-10 22:41:40 +00:00
|
|
|
size = "enormous",
|
2019-08-20 18:58:35 +00:00
|
|
|
shard_count = 5,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:socket_unix_seqpacket_local_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
|
|
|
test = "//test/syscalls/linux:socket_unix_stream_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
|
|
|
test = "//test/syscalls/linux:socket_unix_unbound_abstract_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
|
|
|
test = "//test/syscalls/linux:socket_unix_unbound_dgram_test",
|
|
|
|
)
|
|
|
|
|
2018-12-14 19:24:47 +00:00
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
|
|
|
test = "//test/syscalls/linux:socket_unix_unbound_filesystem_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
2019-02-11 20:42:20 +00:00
|
|
|
shard_count = 10,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:socket_unix_unbound_seqpacket_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "large",
|
2019-11-07 17:45:26 +00:00
|
|
|
shard_count = 50,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:socket_unix_unbound_stream_test",
|
|
|
|
)
|
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:statfs_test",
|
2020-08-28 21:29:16 +00:00
|
|
|
use_tmpfs = True, # Test specifically relies on TEST_TMPDIR to be tmpfs.
|
2019-06-06 21:37:12 +00:00
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:stat_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:stat_times_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:sticky_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:symlink_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:sync_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:sync_file_range_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:sysinfo_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:syslog_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:sysret_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
2019-02-11 20:42:20 +00:00
|
|
|
shard_count = 10,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:tcp_socket_test",
|
|
|
|
)
|
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:tgkill_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:timerfd_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:timers_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:time_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:tkill_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:truncate_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:tuntap_test",
|
|
|
|
)
|
2020-02-21 23:41:56 +00:00
|
|
|
|
2020-02-28 18:37:52 +00:00
|
|
|
syscall_test(
|
|
|
|
add_hostinet = True,
|
|
|
|
test = "//test/syscalls/linux:tuntap_hostinet_test",
|
|
|
|
)
|
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:udp_bind_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
2019-12-06 20:12:27 +00:00
|
|
|
add_hostinet = True,
|
2019-02-11 20:42:20 +00:00
|
|
|
shard_count = 10,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:udp_socket_test",
|
|
|
|
)
|
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:uidgid_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:uname_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:unlink_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:unshare_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:utimes_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
|
|
|
test = "//test/syscalls/linux:vdso_clock_gettime_test",
|
|
|
|
)
|
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:vdso_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:vsyscall_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:vfork_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
|
|
|
syscall_test(
|
|
|
|
size = "medium",
|
2019-08-20 18:58:35 +00:00
|
|
|
shard_count = 5,
|
2018-12-10 22:41:40 +00:00
|
|
|
test = "//test/syscalls/linux:wait_test",
|
|
|
|
)
|
|
|
|
|
2019-06-06 21:37:12 +00:00
|
|
|
syscall_test(
|
|
|
|
add_overlay = True,
|
|
|
|
test = "//test/syscalls/linux:write_test",
|
|
|
|
)
|
2018-12-10 22:41:40 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:proc_net_unix_test",
|
|
|
|
)
|
2019-02-07 22:43:18 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:proc_net_tcp_test",
|
|
|
|
)
|
2019-08-29 21:29:43 +00:00
|
|
|
|
2020-06-02 06:01:35 +00:00
|
|
|
syscall_test(
|
|
|
|
test = "//test/syscalls/linux:proc_net_udp_test",
|
|
|
|
)
|