[Python-apps-team] Bug#620991: pyrit: FTBFS: testBenchmark (__main__.FilesystemTestCase): IndexError: list index out of range

Christian Kastner debian at kvr.at
Tue Apr 5 22:31:30 UTC 2011


On 04/05/2011 07:27 PM, Jakub Wilk wrote:
> Source: pyrit
> Version: 0.4.0-1
> Severity: serious
> Justification: fails to build from source
> 
> pyrit failed to build from source on mipsel[0] and sparc64[1]  with the
> following error:
> | ======================================================================
> | ERROR: testBenchmark (__main__.FilesystemTestCase)
> | ----------------------------------------------------------------------
> | Traceback (most recent call last):
> |   File "test_pyrit.py", line 444, in testBenchmark
> |     self.cli.benchmark(timeout=3)
> |   File
> "/build/buildd-pyrit_0.4.0-1-sparc64-QCRCdE/pyrit-0.4.0/build/lib.linux-sparc64-2.5/pyrit_cli.py",
> line 1195, in benchmark
> |     self.tell("\nComputed %.2f PMKs/s total." % perfcounter.avg)
> |   File
> "/build/buildd-pyrit_0.4.0-1-sparc64-QCRCdE/pyrit-0.4.0/build/lib.linux-sparc64-2.5/cpyrit/util.py",
> line 382, in getAvg
> |     self.__purge()
> |   File
> "/build/buildd-pyrit_0.4.0-1-sparc64-QCRCdE/pyrit-0.4.0/build/lib.linux-sparc64-2.5/cpyrit/util.py",
> line 377, in __purge
> |     if t - self.datapoints[0][0] > self.window:
> | IndexError: list index out of range

Luckily, with both failures being identical, this should be easily
reproducible. I will attempt this in a VM and see if I can fix it,
otherwise forward it upstream.

> [0]
>
https://buildd.debian.org/fetch.cgi?pkg=pyrit&arch=mipsel&ver=0.4.0-1&stamp=1302021907&file=log
>
> [1]
>
http://buildd.debian-ports.org/fetch.php?pkg=pyrit&arch=sparc64&ver=0.4.0-1&stamp=1301991702&file=log

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20110406/7199c66b/attachment-0001.pgp>


More information about the Python-apps-team mailing list