We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go test -test.v -test.run=TestLinuxSendfile fails with: === RUN TestLinuxSendfile --- FAIL: TestLinuxSendfile (0.08 seconds) fs_test.go:426: no sendfile system call found in: Process 20858 attached - interrupt to quit mmap2(NULL, 131072, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d8c000 sigaltstack({ss_sp=0x1884c000, ss_flags=0, ss_size=32768}, NULL) = 0 gettimeofday({1329186751, 858495}, NULL) = 0 mmap2(NULL, 1048576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7c8c000 gettimeofday({1329186751, 859564}, NULL) = 0 gettimeofday({1329186751, 859676}, NULL) = 0 gettimeofday({1329186751, 859796}, NULL) = 0 socket(PF_INET6, SOCK_STREAM, IPPROTO_TCP) = 4 bind(4, {sa_family=AF_INET6, sin6_port=htons(0), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0 socket(PF_INET6, SOCK_STREAM, IPPROTO_TCP) = 5 bind(5, {sa_family=AF_INET6, sin6_port=htons(0), inet_pton(AF_INET6, "::ffff:127.0.0.1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0 close(5) = 0 close(4) = 0 open("/proc/sys/net/core/somaxconn", O_RDONLY|O_LARGEFILE|0x80000) = 4 read(4, "128\n", 1024) = 4 read(4, "", 1020) = 0 close(4) = 0 gettimeofday({1329186751, 863909}, NULL) = 0 dup(3) = 4 getsockopt(4, SOL_SOCKET, SO_TYPE, [1], [4]) = 0 getsockname(4, {sa_family=AF_INET, sin_port=htons(55183), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0 getpeername(4, 0x1884b3f0, [112]) = -1 ENOTCONN (Transport endpoint is not connected) pipe([5, 6]) = 0 fcntl(5, F_SETFD, FD_CLOEXEC) = 0 fcntl(6, F_SETFD, FD_CLOEXEC) = 0 fcntl(5, F_GETFL) = 0 (flags O_RDONLY) fcntl(5, F_SETFL, O_RDONLY|O_NONBLOCK) = 0 fcntl(6, F_GETFL) = 0x1 (flags O_WRONLY) fcntl(6, F_SETFL, O_WRONLY|O_NONBLOCK) = 0 msgsnd(524288, {134608738, ""}, 0, 0) = -1 ENOSYS (Function not implemented) epoll_create(16) = 8 fcntl(8, F_SETFD, FD_CLOEXEC) = 0 epoll_ctl(8, EPOLL_CTL_ADD, 5, {EPOLLIN|0x2000, {u32=5, u64=5}}) = 0 brk(0) = 0x87b6000 brk(0x87d7000) = 0x87d7000 mmap2(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|0x20000, -1, 0) = 0xb748b000 mprotect(0xb748b000, 4096, PROT_NONE) = 0 clone(Process 20862 attached child_stack=0xb7c8b4a4, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0xb7c8bbd8, {entry_number:6, base_addr:0xb7c8bb90, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}, child_tidptr=0xb7c8bbd8) = 20862 [pid 20858] fcntl(4, F_GETFL <unfinished ...> [pid 20862] sendto(-1211581472, umovestr: Input/output error 0xc, 3086209012, 0, ptrace: umoven: Input/output error {...}, 3083383976 <unfinished ...> [pid 20858] <... fcntl resumed> ) = 0x2 (flags O_RDWR) [pid 20862] <... sendto resumed> ) = 0 [pid 20858] futex(0x83a5a70, FUTEX_WAIT, 0, NULL <unfinished ...> [pid 20862] sigaltstack({ss_sp=0x18876000, ss_flags=0, ss_size=32768}, NULL) = 0 [pid 20862] futex(0x83a5a70, FUTEX_WAKE, 1 <unfinished ...> [pid 20858] <... futex resumed> ) = 0 [pid 20862] <... futex resumed> ) = 1 [pid 20858] fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK <unfinished ...> [pid 20862] epoll_wait(8, <unfinished ...> [pid 20858] <... fcntl resumed> ) = 0 [pid 20858] accept(4, {sa_family=AF_INET, sin_port=htons(37427), sin_addr=inet_addr("127.0.0.1")}, [16]) = 9 [pid 20858] fcntl(9, F_SETFD, FD_CLOEXEC) = 0 [pid 20858] fcntl(9, F_GETFL) = 0x2 (flags O_RDWR) [pid 20858] fcntl(9, F_SETFL, O_RDWR|O_NONBLOCK) = 0 [pid 20858] getsockname(9, {sa_family=AF_INET, sin_port=htons(55183), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0 [pid 20858] setsockopt(9, SOL_TCP, TCP_NODELAY, [1], 4) = 0 [pid 20858] mmap2(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|0x20000, -1, 0) = 0xb6c8a000 [pid 20858] mprotect(0xb6c8a000, 4096, PROT_NONE) = 0 [pid 20858] clone(Process 20863 attached child_stack=0xb748a4a4, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0xb748abd8, {entry_number:6, base_addr:0xb748ab90, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}, child_tidptr=0xb748abd8) = 20863 [pid 20858] accept(4, <unfinished ...> [pid 20863] sendto(-1219974176, umovestr: Input/output error 0xc, 3086209012, 0, ptrace: umoven: Input/output error {...}, 3074991272 <unfinished ...> [pid 20858] <... accept resumed> 0x18881070, [112]) = -1 EAGAIN (Resource temporarily unavailable) [pid 20863] <... sendto resumed> ) = 0 [pid 20858] futex(0x83a5a70, FUTEX_WAIT, 0, NULL <unfinished ...> [pid 20863] sigaltstack({ss_sp=0x18882000, ss_flags=0, ss_size=32768}, NULL) = 0 [pid 20863] futex(0x83a5a70, FUTEX_WAKE, 1 <unfinished ...> [pid 20858] <... futex resumed> ) = 0 [pid 20863] <... futex resumed> ) = 1 [pid 20858] epoll_ctl(8, EPOLL_CTL_ADD, 4, {EPOLLIN|EPOLLONESHOT|0x2000, {u32=4, u64=4}} <unfinished ...> [pid 20863] read(9, <unfinished ...> [pid 20858] <... epoll_ctl resumed> ) = 0 [pid 20863] <... read resumed> "GET / HTTP/1.1\r\nHost: 127.0.0.1:"..., 4096) = 93 [pid 20858] futex(0x83a5a70, FUTEX_WAIT, 0, NULL <unfinished ...> [pid 20863] open("testdata", O_RDONLY|O_LARGEFILE|0x80000) = 10 [pid 20863] fstat64(10, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 20863] open("testdata/index.html", O_RDONLY|O_LARGEFILE|0x80000) = 11 [pid 20863] fstat64(11, {st_mode=S_IFREG|0644, st_size=22, ...}) = 0 [pid 20863] open("/etc/mime.types", O_RDONLY|O_LARGEFILE|0x80000) = 12 [pid 20863] read(12, "# This file maps Internet media "..., 4096) = 4096 [pid 20863] read(12, "lication/mikey\t\t\t\t\napplication/m"..., 4093) = 4093 [pid 20863] read(12, "component\t\t\t\tatx\napplication/vnd"..., 4069) = 4069 [pid 20863] read(12, "\toas\napplication/vnd.fujitsu.oas"..., 4064) = 4064 [pid 20863] read(12, "nftoken+xml\t\t\t\t\napplication/vnd."..., 4067) = 4067 [pid 20863] read(12, "lication/vnd.oasis.opendocument."..., 4093) = 4093 [pid 20863] gettimeofday({1329186751, 880911}, NULL) = 0 [pid 20863] gettimeofday({1329186751, 882091}, NULL) = 0 [pid 20863] mmap2(NULL, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f4c000 [pid 20863] gettimeofday({1329186751, 882669}, NULL) = 0 [pid 20863] mmap2(NULL, 131072, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6c6a000 [pid 20863] gettimeofday({1329186751, 883106}, NULL) = 0 [pid 20863] futex(0x83a5a70, FUTEX_WAKE, 1 <unfinished ...> [pid 20858] <... futex resumed> ) = 0 [pid 20863] <... futex resumed> ) = 1 [pid 20863] close(3) = 0 [pid 20863] futex(0x18875244, FUTEX_WAIT, 0, NULL <unfinished ...> [pid 20858] futex(0x18875244, FUTEX_WAKE, 1 <unfinished ...> [pid 20863] <... futex resumed> ) = 0 [pid 20858] <... futex resumed> ) = 1 [pid 20863] gettimeofday( <unfinished ...> [pid 20858] read(12, <unfinished ...> [pid 20863] <... gettimeofday resumed> {1329186751, 884184}, NULL) = 0 [pid 20858] <... read resumed> "ation/vnd.ruckus.download\t\t\t\t\nap"..., 4090) = 4090 [pid 20858] futex(0x83a5a70, FUTEX_WAIT, 0, NULL <unfinished ...> [pid 20863] gettimeofday({1329186751, 885636}, NULL) = 0 [pid 20863] gettimeofday({1329186751, 885839}, NULL) = 0 [pid 20863] gettimeofday({1329186751, 886002}, NULL) = 0 [pid 20863] read(12, "application/vnd.xmi+xml\t\t\t\t\nappl"..., 4096) = 4096 [pid 20863] read(12, "-code\t\t\t\tpyc pyo\napplication/x-q"..., 4076) = 4076 [pid 20863] read(12, "\t\t\t\taif aifc aiff\naudio/x-gsm\t\t\t"..., 4084) = 4084 [pid 20863] read(12, "mts\nmodel/vnd.parasolid.transmit"..., 4079) = 4079 [pid 20863] read(12, "/x-ms-wm\t\t\t\twm\nvideo/x-ms-wmv\t\t\t"..., 4091) = 193 [pid 20863] read(12, "", 4096) = 0 [pid 20863] close(12) = 0 [pid 20863] open("/etc/apache2/mime.types", O_RDONLY|O_LARGEFILE|0x80000) = -1 ENOENT (No such file or directory) [pid 20863] open("/etc/apache/mime.types", O_RDONLY|O_LARGEFILE|0x80000) = -1 ENOENT (No such file or directory) [pid 20863] gettimeofday({1329186751, 900792}, NULL) = 0 [pid 20863] write(9, "HTTP/1.1 200 OK\r\nAccept-Ranges: "..., 184) = 184 [pid 20863] sendfile64(9, 11, NULL, 22) = 22 [pid 20863] close(11 <unfinished ...> [pid 20862] <... epoll_wait resumed> {{EPOLLIN, {u32=4, u64=4}}}, 10, -1) = 1 [pid 20863] <... close resumed> ) = 0 [pid 20862] epoll_ctl(8, EPOLL_CTL_DEL, 4, NULL <unfinished ...> [pid 20863] futex(0x18875244, FUTEX_WAIT, 0, NULL <unfinished ...> [pid 20862] <... epoll_ctl resumed> ) = 0 [pid 20862] futex(0x18875244, FUTEX_WAKE, 1) = 1 [pid 20863] <... futex resumed> ) = 0 [pid 20862] epoll_wait(8, <unfinished ...> [pid 20863] futex(0x83a5a70, FUTEX_WAKE, 1 <unfinished ...> [pid 20858] <... futex resumed> ) = 0 [pid 20863] <... futex resumed> ) = 1 [pid 20858] accept(4, <unfinished ...> [pid 20863] close(10 <unfinished ...> [pid 20858] <... accept resumed> {sa_family=AF_INET, sin_port=htons(37428), sin_addr=inet_addr("127.0.0.1")}, [16]) = 3 [pid 20863] <... close resumed> ) = 0 [pid 20858] fcntl(3, F_SETFD, FD_CLOEXEC) = 0 [pid 20863] read(9, <unfinished ...> [pid 20858] mmap2(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|0x20000, -1, 0 <unfinished ...> [pid 20863] <... read resumed> 0x1887f000, 4096) = -1 EAGAIN (Resource temporarily unavailable) [pid 20858] <... mmap2 resumed> ) = 0xb6469000 [pid 20863] sched_yield( <unfinished ...> [pid 20858] mprotect(0xb6469000, 4096, PROT_NONE <unfinished ...> [pid 20863] <... sched_yield resumed> ) = 0 [pid 20863] futex(0x83a52e8, FUTEX_WAIT, 2, NULL <unfinished ...> [pid 20858] <... mprotect resumed> ) = 0 [pid 20858] clone(Process 20864 attached child_stack=0xb6c694a4, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0xb6c69bd8, {entry_number:6, base_addr:0xb6c69b90, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}, child_tidptr=0xb6c69bd8) = 20864 [pid 20858] futex(0x83a52e8, FUTEX_WAKE, 1 <unfinished ...> [pid 20864] sendto(-1228497952, umovestr: Input/output error 0xc, 3086209012, 0, ptrace: umoven: Input/output error {...}, 3066467496 <unfinished ...> [pid 20858] <... futex resumed> ) = 1 [pid 20864] <... sendto resumed> ) = 0 [pid 20858] futex(0x83a5a70, FUTEX_WAIT, 0, NULL <unfinished ...> [pid 20863] <... futex resumed> ) = 0 [pid 20864] sigaltstack({ss_sp=0x188e0000, ss_flags=0, ss_size=32768} <unfinished ...> [pid 20863] futex(0x83a52e8, FUTEX_WAKE, 1 <unfinished ...> [pid 20864] <... sigaltstack resumed> , NULL) = 0 [pid 20863] <... futex resumed> ) = 0 [pid 20864] futex(0x18875244, FUTEX_WAKE, 1 <unfinished ...> [pid 20863] futex(0x18875244, FUTEX_WAIT, 0, NULL <unfinished ...> [pid 20864] <... futex resumed> ) = 0 [pid 20863] <... futex resumed> ) = -1 EAGAIN (Resource temporarily unavailable) [pid 20864] fcntl(3, F_GETFL <unfinished ...> [pid 20863] epoll_ctl(8, EPOLL_CTL_ADD, 9, {EPOLLIN|EPOLLONESHOT|0x2000, {u32=9, u64=9}} <unfinished ...> [pid 20864] <... fcntl resumed> ) = 0x2 (flags O_RDWR) [pid 20863] <... epoll_ctl resumed> ) = 0 [pid 20864] futex(0x18875e84, FUTEX_WAIT, 0, NULL <unfinished ...> [pid 20863] fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 [pid 20863] getsockname(3, {sa_family=AF_INET, sin_port=htons(55183), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0 [pid 20863] setsockopt(3, SOL_TCP, TCP_NODELAY, [1], 4) = 0 [pid 20863] futex(0x18875e84, FUTEX_WAKE, 1 <unfinished ...> [pid 20864] <... futex resumed> ) = 0 [pid 20863] <... futex resumed> ) = 1 [pid 20864] read(3, <unfinished ...> [pid 20863] accept(4, <unfinished ...> [pid 20864] <... read resumed> "GET /quit HTTP/1.1\r\nHost: 127.0."..., 4096) = 97 [pid 20863] <... accept resumed> 0x1888cbd0, [112]) = -1 EAGAIN (Resource temporarily unavailable) [pid 20863] futex(0x18875244, FUTEX_WAIT, 0, NULL <unfinished ...> [pid 20864] futex(0x18875244, FUTEX_WAKE, 1 <unfinished ...> [pid 20863] <... futex resumed> ) = 0 [pid 20864] <... futex resumed> ) = 1 [pid 20863] epoll_ctl(8, EPOLL_CTL_ADD, 4, {EPOLLIN|EPOLLONESHOT|0x2000, {u32=4, u64=4}} <unfinished ...> [pid 20864] exit_group(0) = ? Process 20858 detached Process 20864 detached [pid 20862] <... epoll_wait resumed> 1885e0a8, 10, -1) = -1 EINTR (Interrupted system call) [pid 20863] <... epoll_ctl resumed> ) = 0 [pid 20862] futex(0x18875084, FUTEX_WAIT, 0, NULL <unfinished ...> [pid 20863] epoll_wait(8, <unfinished ...> [pid 20862] <... futex resumed> ) = ? ERESTARTSYS (To be restarted) [pid 20863] <... epoll_wait resumed> 1885e0a8, 10, -1) = -1 EINTR (Interrupted system call) PANIC: attached pid 20862 exited PANIC: handle_group_exit: 20862 leader 20858 PANIC: attached pid 20863 exited PANIC: handle_group_exit: 20863 leader 20858 Process 20858 detached === RUN TestLinuxSendfileChild --- PASS: TestLinuxSendfileChild (0.00 seconds) FAIL exit status 1 FAIL net/http 0.106s linux/386 hg id = 94cd5e595923
The text was updated successfully, but these errors were encountered:
Comment 1:
There it is: [pid 20863] sendfile64(9, 11, NULL, 22) = 22
Sorry, something went wrong.
Comment 2:
http://golang.org/cl/5665043
Comment 3:
This issue was closed by revision adb1a6c.
Status changed to Fixed.
No branches or pull requests
The text was updated successfully, but these errors were encountered: