i got a mips box online that can do one-off o32/n32/n64 testing. i don't have it fully hooked up yet into the rest of my build scripts yet. it's n32 native though, so that might cause some issues ? not sure how many of these are regressions. at least each builds cleanly ? :) -mike
testing d50949d21c2b07daadc26c7302163dc6066d4a75 mips o32: FAIL: getdents.test FAIL: getrandom.test FAIL: stat.test FAIL: stat32-v.test FAIL: uid.test FAIL: count.test mips n32: FAIL: stat32-v.test FAIL: uio.test FAIL: strace-k.test mips n64: FAIL: getdents.test FAIL: stat.test FAIL: count.test
================================================= strace 4.9.0.367-d509: tests/test-suite.log ================================================= # TOTAL: 35 # PASS: 25 # SKIP: 4 # XFAIL: 0 # FAIL: 6 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: getdents ============== Line 1 does not match: +++ exited with 0 +++ Expected 3 lines, found 1 line(s). +++ exited with 0 +++ getdents.test: failed test: strace -vegetdents,getdents64 failed to trace getdents/getdents64 properly FAIL getdents.test (exit status: 1) FAIL: getrandom =============== Line 1 does not match. +++ exited with 0 +++ getrandom.test: failed test: unexpected output FAIL getrandom.test (exit status: 1) FAIL: stat ========== n32_open(0x77e98668, 0x80000, 0x1) = 3 n32_fstat(0x3, 0x7f9dd0f0) = 0 n32_mmap(0, 0x80f6, 0x1, 0x2, 0, 0) = 2011611136 n32_close(0x3) = 0 n32_open(0x77e73645, 0x80000, 0x77eaad18) = 3 n32_read(0x3, 0x7f9dd2e4, 0x200) = 512 n32_lseek(0x3, 0x2e8, 0) = 744 n32_read(0x3, 0x7f9dd220, 0x20) = 32 n32_fstat(0x3, 0x7f9dd0c0) = 0 n32_mmap(0, 0x185f50, 0x5, 0x2002, 0, 0) = 2010005504 n32_mmap(0x77e60000, 0x8000, 0x3, 0x2012, 0, 0) = 2011561984 n32_mmap(0x77e68000, 0x1f50, 0x3, 0x812, 0, 0) = 2011594752 n32_close(0x3) = 0 n32_mmap(0, 0x4000, 0x3, 0x802, 0xb80, 0) = 2011824128 n32_open(0x77e3b5b8, 0x82000, 0xffffffff) = 3 n32_fstat(0x3, 0x7f9dd650) = 0 n32_mmap(0, 0x1c4490, 0x1, 0x2, 0x77e6de40, 0) = 2008137728 n32_close(0x3) = 0 n32_open(0x7f9dea35, 0x2000, 0) = 3 n32_dup2(0x3, 0) = 0 n32_close(0x3) = 0 n32_lseek(0, 0, 0x1) = 0 n32_open(0x7f9dea42, 0x2102, 0x1b6) = 3 n32_dup2(0x3, 0x1) = 1 n32_close(0x3) = 0 n32_ftruncate(0x1, 0xbcdef000) = 0 n32_ioctl(0x1, 0x401c6d02, 0x7f9dd9a0) = -1 ENOTTY (Inappropriate ioctl for device) n32_lseek(0x1, 0xbcdef000, 0x1) = -1126240256 n32_close(0) = 0 n32_close(0x1) = 0 n32_open(0x7f9dd370, 0x80000, 0x1b6) = 0 n32_fcntl64(0, 0x1, 0x1b6) = 1 n32_fstat(0, 0x7f9dd0f0) = 0 n32_mmap(0, 0x10000, 0x3, 0x802, 0, 0) = 2008072192 n32_read(0, 0x77b0c000, 0x1000) = 2492 n32_read(0, 0x77b0c000, 0x1000) = 0 n32_close(0) = 0 n32_open(0x100808e8, 0, 0) = -1 ENOENT (No such file or directory) n32_open(0x100815d0, 0, 0) = -1 ENOENT (No such file or directory) n32_open(0x10080950, 0, 0) = -1 ENOENT (No such file or directory) n32_open(0x10081540, 0, 0) = -1 ENOENT (No such file or directory) n32_open(0x10081598, 0, 0) = -1 ENOENT (No such file or directory) n32_open(0x100809a8, 0, 0) = -1 ENOENT (No such file or directory) n32_write(0x2, 0x7f9db100, 0x1f) = 31 n32_write(0x2, 0x7f9db100, 0x14) = 20 n32_write(0x2, 0x7f9db100, 0x19) = 25 n32_close(0x2) = 0 +++ exited with 0 +++ stat.test: failed test: strace -edesc failed to trace ftruncate/ftruncate64 properly FAIL stat.test (exit status: 1) FAIL: stat32-v ============== stat\("stat32_sample", \{st_dev=makedev\(8, 4\), st_ino=3296202, st_mode=S_IFREG\|0644, st_nlink=1, st_uid=8282, st_gid=100, st_blksize=4096, st_blocks=0, st_size=233811181, st_atime=2001/02/03-04:05:00, st_mtime=2001/02/03-04:05:00, st_ctime=2015/03/02-19:18:21(, st_flags=[0-9]+)?(, st_fstype=[^,]*)?(, st_gen=[0-9]+)?\}\) += 0 execve("./stat32", ["./stat32", "stat32_sample"], ["MANPATH=/usr/local/share/man:/us"..., "CROSTOOLS_SKIP_SYNC=true", "SHELL=/bin/bash", "TERM=screen-256color", "MAKEFLAGS=kw -- TEST_LOGS=strace"..., "HISTSIZE=10000", "GTK2_RC_FILES=/home/vapier/.gtkr"..., "SSH_CLIENT=172.29.73.122 53267 2"..., "JTAG_PROMPT=\1\33[30;1m\33[34;1m\2jtag"..., "SSH_TTY=/dev/pts/0", "NACL_PORTS=/usr/local/src/nacl/p"..., "HISTFILESIZE=10000", "MAKEOVERRIDES=${-*-command-varia"..., "USER=vapier", "LS_COLORS=rs=0:di=01;34:ln=01;36"..., "GREP_COLORS=ne", "MAKE_TERMOUT=/dev/pts/1", "TERMCAP=SC|screen-256color|VT 10"..., "MAKELEVEL=5", "CONFIG_PROTECT_MASK=/etc/gentoo-"..., "PAGER=/usr/bin/less", "MFLAGS=-kw", "PATH=/home/vapier/.bin:/usr/lib/"..., "MAIL=/var/mail/vapier", "STY=26704.pts-0.lemote", "PWD=/home/vapier/strace/build-o3"..., "P4DIFFOPTS=-du", "EDITOR=/bin/nano", "PORTAGE_INST_GID=100", "LESSCOLOR=0", "GCC_BOUNDS_OPTS=-no-message", "LANG=en_US.UTF8", "ECHANGELOG_USER=Mike Frysinger <"..., "CROSTOOLS_GSUTIL=gsutil", "PORTAGE_INST_UID=8282", "HISTCONTROL=ignoreboth", "HOME=/home/vapier", "SHLVL=7", "NACL_SDK_ROOT=/usr/local/src/nac"..., "TEST_LOGS=strace-f.log qual_sysc"..., "srcdir=../../tests", "LOGNAME=vapier", "LESS=-R --tabs=4 -M -#10", "GCC_SPECS=", "WINDOW=0", "MAKE_TERMERR=/dev/pts/1", "SSH_CONNECTION=172.29.73.122 532"..., "LESSOPEN=|lesspipe %s", "INFOPATH=/usr/share/info:/usr/sh"..., "CONFIG_PROTECT=/usr/share/gnupg/"..., "_=../strace"]) = 0 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 open("/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 3 stat64("/etc/localtime", {st_dev=makedev(8, 4), st_ino=566856, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8, st_size=2294, st_atime=2015/03/02-03:10:01, st_mtime=2015/01/31-06:23:33, st_ctime=2015/02/02-23:37:29}) = 0 stat64("/etc/localtime", {st_dev=makedev(8, 4), st_ino=566856, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8, st_size=2294, st_atime=2015/03/02-03:10:01, st_mtime=2015/01/31-06:23:33, st_ctime=2015/02/02-23:37:29}) = 0 +++ exited with 0 +++ stat32-v.test: failed test: ../strace -v -efile ./stat32 stat32_sample output mismatch FAIL stat32-v.test (exit status: 1) SKIP: unix-yy ============= unix-yy.test: framework skip: NETLINK_SOCK_DIAG for unix domain sockets is not available SKIP unix-yy.test (exit status: 77) FAIL: uid ========= error: getuid doesn't match +++ exited with 0 +++ uid.test: failed test: unexpected output FAIL uid.test (exit status: 1) SKIP: uid16 =========== uid16.test: framework skip: some uid or uid16_t syscalls are not available SKIP uid16.test (exit status: 77) SKIP: uid32 =========== uid32.test: framework skip: some uid32 or uid_t syscalls are not available SKIP uid32.test (exit status: 77) FAIL: count =========== % time seconds usecs/call calls errors syscall ------ ----------- ----------- --------- --------- ---------------- 0.00 0.000000 0 1 execve 0.00 0.000000 0 2 n32_read 0.00 0.000000 0 3 n32_open 0.00 0.000000 0 5 n32_close 0.00 0.000000 0 3 n32_fstat 0.00 0.000000 0 1 n32_lseek 0.00 0.000000 0 6 n32_mmap 0.00 0.000000 0 2 n32_mprotect 0.00 0.000000 0 1 n32_munmap 0.00 0.000000 0 3 n32_brk 0.00 0.000000 0 1 1 n32_access 0.00 0.000000 0 1 n32_nanosleep 0.00 0.000000 0 1 n32_uname 0.00 0.000000 0 1 n32_set_thread_area ------ ----------- ----------- --------- --------- ---------------- 100.00 0.000000 31 1 total count.test: failed test: unexpected output from ../strace -c sleep 1 FAIL count.test (exit status: 1) SKIP: strace-k ============== strace-k.test: skipped test: strace -k is not available SKIP strace-k.test (exit status: 77)
================================================= strace 4.9.0.367-d509: tests/test-suite.log ================================================= # TOTAL: 35 # PASS: 27 # SKIP: 5 # XFAIL: 0 # FAIL: 3 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: getdents ============== Line 1 does not match: +++ exited with 0 +++ Expected 3 lines, found 1 line(s). +++ exited with 0 +++ getdents.test: failed test: strace -vegetdents,getdents64 failed to trace getdents/getdents64 properly FAIL getdents.test (exit status: 1) FAIL: stat ========== n32_open(0x771dc668, 0x80000, 0x1) = 3 n32_fstat(0x3, 0x7ffe2e50) = 0 n32_mmap(0, 0x80f6, 0x1, 0x2, 0x3, 0) = 1998258176 n32_close(0x3) = 0 n32_open(0x771b7645, 0x80000, 0x771eed18) = 3 n32_read(0x3, 0x7ffe3044, 0x200) = 512 n32_lseek(0x3, 0x2e8, 0) = 744 n32_read(0x3, 0x7ffe2f80, 0x20) = 32 n32_fstat(0x3, 0x7ffe2e20) = 0 n32_mmap(0, 0x185f50, 0x5, 0x2002, 0x3, 0) = 1996652544 n32_mmap(0x771a4000, 0x8000, 0x3, 0x2012, 0x3, 0x16c000) = 1998209024 n32_mmap(0x771ac000, 0x1f50, 0x3, 0x812, 0xffffffffffffffff, 0) = 1998241792 n32_close(0x3) = 0 n32_mmap(0, 0x4000, 0x3, 0x802, 0xffffffffffffffff, 0) = 1998471168 n32_open(0x7717f5b8, 0x82000, 0xffffffffffffffff) = 3 n32_fstat(0x3, 0x7ffe33b0) = 0 n32_mmap(0, 0x1c4490, 0x1, 0x2, 0x3, 0) = 1994784768 n32_close(0x3) = 0 n32_open(0x7ffe6a35, 0x2000, 0) = 3 n32_dup2(0x3, 0) = 0 n32_close(0x3) = 0 n32_lseek(0, 0, 0x1) = 0 n32_open(0x7ffe6a42, 0x2102, 0x1b6) = 3 n32_dup2(0x3, 0x1) = 1 n32_close(0x3) = 0 n32_ftruncate(0x1, 0xabcdef000) = 0 n32_ioctl(0x1, 0x401c6d02, 0x7ffe3700) = -1 ENOTTY (Inappropriate ioctl for device) n32_lseek(0x1, 0xabcdef000, 0x1) = 46118400000 n32_close(0) = 0 n32_close(0x1) = 0 n32_open(0x7ffe30d0, 0x80000, 0x1b6) = 0 n32_fcntl64(0, 0x1, 0x1b6) = 1 n32_fstat(0, 0x7ffe2e50) = 0 n32_mmap(0, 0x10000, 0x3, 0x802, 0xffffffffffffffff, 0) = 1994719232 n32_read(0, 0x76e50000, 0x1000) = 2492 n32_read(0, 0x76e50000, 0x1000) = 0 n32_close(0) = 0 n32_open(0x103908e8, 0, 0) = -1 ENOENT (No such file or directory) n32_open(0x103915d0, 0, 0) = -1 ENOENT (No such file or directory) n32_open(0x10390950, 0, 0) = -1 ENOENT (No such file or directory) n32_open(0x10391540, 0, 0) = -1 ENOENT (No such file or directory) n32_open(0x10391598, 0, 0) = -1 ENOENT (No such file or directory) n32_open(0x103909a8, 0, 0) = -1 ENOENT (No such file or directory) n32_write(0x2, 0x7ffe0e60, 0x1f) = 31 n32_write(0x2, 0x7ffe0e60, 0x14) = 20 n32_write(0x2, 0x7ffe0e60, 0x19) = 25 n32_close(0x2) = 0 +++ exited with 0 +++ stat.test: failed test: strace -edesc failed to trace ftruncate/ftruncate64 properly FAIL stat.test (exit status: 1) SKIP: stat32-v ============== stat32-v.test: framework skip: 32-bit stat syscall is not available SKIP stat32-v.test (exit status: 77) SKIP: unix-yy ============= unix-yy.test: framework skip: NETLINK_SOCK_DIAG for unix domain sockets is not available SKIP unix-yy.test (exit status: 77) SKIP: uid16 =========== uid16.test: framework skip: some uid or uid16_t syscalls are not available SKIP uid16.test (exit status: 77) SKIP: uid32 =========== uid32.test: framework skip: some uid32 or uid_t syscalls are not available SKIP uid32.test (exit status: 77) FAIL: count =========== % time seconds usecs/call calls errors syscall ------ ----------- ----------- --------- --------- ---------------- 100.00 0.000079 13 6 n32_mmap 0.00 0.000000 0 1 execve 0.00 0.000000 0 2 n32_read 0.00 0.000000 0 3 n32_open 0.00 0.000000 0 5 n32_close 0.00 0.000000 0 3 n32_fstat 0.00 0.000000 0 1 n32_lseek 0.00 0.000000 0 2 n32_mprotect 0.00 0.000000 0 1 n32_munmap 0.00 0.000000 0 3 n32_brk 0.00 0.000000 0 1 1 n32_access 0.00 0.000000 0 1 n32_nanosleep 0.00 0.000000 0 1 n32_uname 0.00 0.000000 0 1 n32_set_thread_area ------ ----------- ----------- --------- --------- ---------------- 100.00 0.000079 31 1 total count.test: failed test: unexpected output from ../strace -c sleep 1 FAIL count.test (exit status: 1) SKIP: strace-k ============== strace-k.test: skipped test: strace -k is not available SKIP strace-k.test (exit status: 77)
================================================= strace 4.9.0.367-d509: tests/test-suite.log ================================================= # TOTAL: 35 # PASS: 29 # SKIP: 3 # XFAIL: 0 # FAIL: 3 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: stat32-v ============== stat\("stat32_sample", \{st_dev=makedev\(8, 4\), st_ino=3296092, st_mode=0\|0, st_nlink=33188, st_uid=1, st_gid=8282, st_blksize=1425341901, st_blocks=547422357, st_size=0, st_atime=1977/05/29-23:33:01, st_mtime=2001/02/03-04:05:00, st_ctime=2001/02/03-04:05:00(, st_flags=[0-9]+)?(, st_fstype=[^,]*)?(, st_gen=[0-9]+)?\}\) += 0 execve("./stat32", ["./stat32", "stat32_sample"], ["MANPATH=/usr/local/share/man:/us"..., "CROSTOOLS_SKIP_SYNC=true", "SHELL=/bin/bash", "TERM=screen-256color", "MAKEFLAGS=kw -- TEST_LOGS=strace"..., "HISTSIZE=10000", "GTK2_RC_FILES=/home/vapier/.gtkr"..., "SSH_CLIENT=172.29.73.122 53267 2"..., "JTAG_PROMPT=\1\33[30;1m\33[34;1m\2jtag"..., "SSH_TTY=/dev/pts/0", "NACL_PORTS=/usr/local/src/nacl/p"..., "HISTFILESIZE=10000", "MAKEOVERRIDES=${-*-command-varia"..., "USER=vapier", "LS_COLORS=rs=0:di=01;34:ln=01;36"..., "GREP_COLORS=ne", "MAKE_TERMOUT=/dev/pts/2", "TERMCAP=SC|screen-256color|VT 10"..., "MAKELEVEL=5", "CONFIG_PROTECT_MASK=/etc/gentoo-"..., "PAGER=/usr/bin/less", "MFLAGS=-kw", "PATH=/home/vapier/.bin:/usr/lib/"..., "MAIL=/var/mail/vapier", "STY=26704.pts-0.lemote", "PWD=/home/vapier/strace/build-n3"..., "P4DIFFOPTS=-du", "EDITOR=/bin/nano", "PORTAGE_INST_GID=100", "LESSCOLOR=0", "GCC_BOUNDS_OPTS=-no-message", "LANG=en_US.UTF8", "ECHANGELOG_USER=Mike Frysinger <"..., "CROSTOOLS_GSUTIL=gsutil", "PORTAGE_INST_UID=8282", "HISTCONTROL=ignoreboth", "HOME=/home/vapier", "SHLVL=7", "NACL_SDK_ROOT=/usr/local/src/nac"..., "TEST_LOGS=strace-f.log qual_sysc"..., "srcdir=../../tests", "LOGNAME=vapier", "LESS=-R --tabs=4 -M -#10", "GCC_SPECS=", "WINDOW=1", "MAKE_TERMERR=/dev/pts/2", "SSH_CONNECTION=172.29.73.122 532"..., "LESSOPEN=|lesspipe %s", "INFOPATH=/usr/share/info:/usr/sh"..., "CONFIG_PROTECT=/usr/share/gnupg/"..., "_=../strace"]) = 0 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 open("/lib32/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 stat("stat32_sample", {st_dev=makedev(8, 4), st_ino=3296092, st_mode=S_IFREG|0644, st_nlink=1, st_uid=8282, st_gid=100, st_blksize=4096, st_blocks=0, st_size=233811181, st_atime=2001/02/03-04:05:00, st_mtime=2001/02/03-04:05:00, st_ctime=2015/03/02-19:18:21}) = 0 open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 3 stat("/etc/localtime", {st_dev=makedev(8, 4), st_ino=566856, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8, st_size=2294, st_atime=2015/03/02-03:10:01, st_mtime=2015/01/31-06:23:33, st_ctime=2015/02/02-23:37:29}) = 0 stat("/etc/localtime", {st_dev=makedev(8, 4), st_ino=566856, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8, st_size=2294, st_atime=2015/03/02-03:10:01, st_mtime=2015/01/31-06:23:33, st_ctime=2015/02/02-23:37:29}) = 0 +++ exited with 0 +++ stat32-v.test: failed test: ../strace -v -efile ./stat32 stat32_sample output mismatch FAIL stat32-v.test (exit status: 1) SKIP: unix-yy ============= unix-yy.test: framework skip: NETLINK_SOCK_DIAG for unix domain sockets is not available SKIP unix-yy.test (exit status: 77) SKIP: uid16 =========== uid16.test: framework skip: some uid or uid16_t syscalls are not available SKIP uid16.test (exit status: 77) SKIP: uid32 =========== uid32.test: framework skip: some uid32 or uid_t syscalls are not available SKIP uid32.test (exit status: 77) FAIL: uio ========= open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=33014, ...}) = 0 mmap(NULL, 33014, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7756c000 close(3) = 0 open("/lib32/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0H\264\1\0004\0\0\0"..., 512) = 512 lseek(3, 744, SEEK_SET) = 744 read(3, "\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\6\0\0\0\20\0\0\0", 32) = 32 fstat(3, {st_mode=S_IFREG|0755, st_size=1618084, ...}) = 0 mmap(NULL, 1597264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x773e4000 mmap(0x77560000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16c000) = 0x77560000 mmap(0x77568000, 8016, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x77568000 close(3) = 0 mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x775a0000 open("/dev/zero", O_RDONLY|O_LARGEFILE) = 3 pread64(3, "\0\0\0\0", 4, 1004211379570065135) = 4 preadv(3, [{"\0\0\0\0", 4}], 1, 18446744073150512879) = 4 close(3) = 0 open("/dev/null", O_WRONLY|O_LARGEFILE) = 3 pwrite64(3, "\0\0\0\0", 4, 1004211379570065135) = 4 pwritev(3, [{"\0\0\0\0", 4}], 1, 18446744073150512879) = 4 close(3) = 0 +++ exited with 0 +++ uio.test: failed test: ../strace -edesc ./uio failed to trace "preadv" properly FAIL uio.test (exit status: 1) FAIL: strace-k ============== getpid() = 9566 ../strace: Can't initiate libunwind: Invalid argument Process 9566 detached strace-k.test: failed test: ../strace -e getpid -k ./stack-fcall failed FAIL strace-k.test (exit status: 1)
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel