Bug#869542: python-afl autopkgtest is broken in 0.6-1

2017-07-31 Thread Jakub Wilk

Control: tags -1 + fixed-upstream

* Steve Langasek , 2017-07-23, 21:42:

CalledProcessError: Command './py-afl-cmin' returned non-zero exit status 1

[...]

[-] Error: do not use this script in /tmp or /var/tmp.


This is fixed upstream in 0.6.1.

If you don't want to upload the new upstream release for some reason, you can 
cherry-pick this patch:

https://github.com/jwilk/python-afl/commit/4c138687008a3d212906367a315ea79b6f6727c9.patch

--
Jakub Wilk



Bug#869542: python-afl autopkgtest is broken in 0.6-1

2017-07-23 Thread Steve Langasek
Source: python-afl
Version: 0.6-1
Severity: important

As seen at ,
he python-afl autopkgtest is broken in 0.6-1:

adt-run [01:25:41]: test python-afl: [---
tests.test_cmin.test ... ERROR
tests.test_cmin.test_crashes_only ... ERROR
[...]
==
ERROR: tests.test_cmin.test
--
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
  File 
"/tmp/autopkgtest-virt-lxc.shared.mv6lvqnz/downtmp/build.CH8/python-afl-0.6/tests/test_cmin.py",
 line 68, in test
b'1',
  File 
"/tmp/autopkgtest-virt-lxc.shared.mv6lvqnz/downtmp/build.CH8/python-afl-0.6/tests/test_cmin.py",
 line 51, in run_afl_cmin
run(cmdline)
  File 
"/tmp/autopkgtest-virt-lxc.shared.mv6lvqnz/downtmp/build.CH8/python-afl-0.6/tests/tools.py",
 line 148, in run
raise ipc.CalledProcessError(child.returncode, cmd[0])
CalledProcessError: Command './py-afl-cmin' returned non-zero exit status 1
 >> begin captured stdout << -
['./py-afl-cmin', '-i', '///tmp/python-afl.IZOY2r/in', '-o', 
'///tmp/python-afl.IZOY2r/out', '--', '/usr/bin/python2.7', 
'/tmp/autopkgtest-virt-lxc.shared.mv6lvqnz/downtmp/build.CH8/python-afl-0.6/tests/target.py']
[-] Error: do not use this script in /tmp or /var/tmp.


- >> end captured stdout << --

==
ERROR: tests.test_cmin.test_crashes_only
--
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
  File 
"/tmp/autopkgtest-virt-lxc.shared.mv6lvqnz/downtmp/build.CH8/python-afl-0.6/tests/test_cmin.py",
 line 78, in test_crashes_only
], crashes_only=True)
  File 
"/tmp/autopkgtest-virt-lxc.shared.mv6lvqnz/downtmp/build.CH8/python-afl-0.6/tests/test_cmin.py",
 line 51, in run_afl_cmin
run(cmdline)
  File 
"/tmp/autopkgtest-virt-lxc.shared.mv6lvqnz/downtmp/build.CH8/python-afl-0.6/tests/tools.py",
 line 148, in run
raise ipc.CalledProcessError(child.returncode, cmd[0])
CalledProcessError: Command './py-afl-cmin' returned non-zero exit status 1
 >> begin captured stdout << -
['./py-afl-cmin', '-C', '-i', '///tmp/python-afl.5aLO84/in', '-o', 
'///tmp/python-afl.5aLO84/out', '--', '/usr/bin/python2.7', 
'/tmp/autopkgtest-virt-lxc.shared.mv6lvqnz/downtmp/build.CH8/python-afl-0.6/tests/target.py']
[-] Error: do not use this script in /tmp or /var/tmp.


- >> end captured stdout << --

--
Ran 19 tests in 0.781s

FAILED (errors=2)
adt-run [01:25:43]: test python-afl: ---]

Unfortunately Debian does not consider a regressed autopkgtest a blocker for
testing (which would be useful to help us improve the quality of the
release), but Ubuntu does, so FWIW this will block the new python-afl from
reaching the next Ubuntu release until fixed.

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
Ubuntu Developerhttp://www.debian.org/
slanga...@ubuntu.com vor...@debian.org


signature.asc
Description: PGP signature