Source: reptyr
Version: 0.6.2-1.1
Severity: serious
https://buildd.debian.org/status/package.php?p=reptyr&suite=sid
...
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
if ! [ -f /dev/tty0 ]; \
then echo disable tests; \
else dh_auto_test; \
fi
disable tests
if ! [ -f /proc/sys/kernel/yama/ptrace_scope ] || \
[ "$(cat /proc/sys/kernel/yama/ptrace_scope)" = 0 ]; then \
dh_auto_test; \
fi \
make -j4 test
make[2]: Entering directory '/<<PKGBUILDDIR>>'
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-Wformat -Werror=format-security -Wall -Werror -D_GNU_SOURCE -g -Wdate-time
-D_FORTIFY_SOURCE=2 -c -o test/victim.o test/victim.c
cc -Wl,-z,relro -Wl,-z,now test/victim.o -o test/victim
python test/basic.py
Traceback (most recent call last):
File "test/basic.py", line 10, in <module>
reptyr.expect("ECHO: world")
File "/usr/lib/python2.7/dist-packages/pexpect/spawnbase.py", line 321, in
expect
timeout, searchwindowsize, async)
File "/usr/lib/python2.7/dist-packages/pexpect/spawnbase.py", line 345, in
expect_list
return exp.expect_loop(timeout)
File "/usr/lib/python2.7/dist-packages/pexpect/expect.py", line 105, in
expect_loop
return self.eof(e)
File "/usr/lib/python2.7/dist-packages/pexpect/expect.py", line 50, in eof
raise EOF(msg)
pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
<pexpect.pty_spawn.spawn object at 0x7f15f9efb610>
command: ./reptyr
args: ['./reptyr', '30493']
buffer (last 100 chars): ''
before (last 100 chars): 'd stop.\r\n[-] Unable to stat /dev/console\r\nUnable
to attach to pid 30493: No such file or directory\r\n'
after: <class 'pexpect.exceptions.EOF'>
match: None
match_index: None
exitstatus: 1
flag_eof: True
pid: 30494
child_fd: 6
closed: False
timeout: 30
delimiter: <class 'pexpect.exceptions.EOF'>
logfile: None
logfile_read: None
logfile_send: None
maxread: 2000
ignorecase: False
searchwindowsize: None
delaybeforesend: 0.05
delayafterclose: 0.1
delayafterterminate: 0.1
searcher: searcher_re:
0: re.compile("ECHO: world")
Makefile:23: recipe for target 'test' failed
make[2]: *** [test] Error 1