Your message dated Mon, 28 Nov 2016 17:20:28 +0000
with message-id <e1cbpbq-000bfm...@fasolo.debian.org>
and subject line Bug#844233: fixed in python-passlib 1.7.0-1
has caused the Debian Bug report #844233,
regarding python-passlib: FTBFS with probability of 0.46% due to 
non-deterministic testsuite
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
844233: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=844233
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-passlib
Version: 1.6.5-4
Severity: serious
Tags: ftbfs
User: reproducible-bui...@lists.alioth.debian.org
Usertags: randomess
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that python-passlib's testsuite will non-determinstically FTBFS:

======================================================================
FAIL: test_getrandstr (passlib.tests.test_utils.MiscTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/python-passlib-1.6.5/2nd/passlib/tests/test_utils.py", line 129, 
in test_getrandstr
    self.assertEqual(sorted(set(x)), [u('a'),u('b'),u('c')])
AssertionError: Lists differ: [u'a', u'b'] != [u'a', u'b', u'c']

Second list contains 1 additional elements.
First extra element 2:
u'c'

- [u'a', u'b']
+ [u'a', u'b', u'c']
?            ++++++

This is because of:

125         x = f(u('abc'), 16)
126         y = f(u('abc'), 16)
127         self.assertIsInstance(x, unicode)
128         self.assertNotEqual(x,y)
129         self.assertEqual(sorted(set(x)), [u('a'),u('b'),u('c')])

If the random string ``x`` doesn't contain a certain character, the
assertion will fail. By my quick calculation this will happen with a
probability of (2/3)^(16-1).

It will also FTBFS if it generates the exact same random string, but
that seems a little more unlikely.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-

--- End Message ---
--- Begin Message ---
Source: python-passlib
Source-Version: 1.7.0-1

We believe that the bug you reported is fixed in the latest version of
python-passlib, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 844...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Barry Warsaw <ba...@debian.org> (supplier of updated python-passlib package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 28 Nov 2016 11:31:28 -0500
Source: python-passlib
Binary: python-passlib python3-passlib
Architecture: source all
Version: 1.7.0-1
Distribution: unstable
Urgency: medium
Maintainer: Barry Warsaw <ba...@debian.org>
Changed-By: Barry Warsaw <ba...@debian.org>
Description:
 python-passlib - comprehensive password hashing framework
 python3-passlib - comprehensive password hashing framework
Closes: 844233
Changes:
 python-passlib (1.7.0-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream release.  (Closes: #844233)
   * d/control:
     - Bump Standards-Version with no other changes necessary.
     - Bump debhelper version dependency to >= 9.
   * d/compat: Bump to version 9.
Checksums-Sha1:
 6e2302aff66f6710ca7616388f7d32e41944e4f3 2200 python-passlib_1.7.0-1.dsc
 a773592d9675c41465bd47c12f447e1100611703 637909 
python-passlib_1.7.0.orig.tar.gz
 e88600745e5fad61fd7c22bfc941d1061d3432c4 14132 
python-passlib_1.7.0-1.debian.tar.xz
 ef723d12c8edacd52031df79f07dca72e664db20 344072 python-passlib_1.7.0-1_all.deb
 140b4dab98780ce56774226fe41e00ccc6ac86a0 5558 
python-passlib_1.7.0-1_amd64.buildinfo
 ebc4dea9b73ccd7162ecabbe2ee045bef93de0b7 343436 python3-passlib_1.7.0-1_all.deb
Checksums-Sha256:
 6b7cb14ec81c3afad61053a75f80801aaf974b935cf1eba45921a21f9b127d7b 2200 
python-passlib_1.7.0-1.dsc
 0be4f6053357c4ebba5578a065fbdad75a844501d4c6d91d4a3a0c1594c6abed 637909 
python-passlib_1.7.0.orig.tar.gz
 743c30d1d62e011f363474be1b721ca05e79abef4aa1f73c79a2db99343e19d0 14132 
python-passlib_1.7.0-1.debian.tar.xz
 447021ec6e506ae49b5eb2b21b8007d4e0e16185fe046bdc83a473a3267f83ee 344072 
python-passlib_1.7.0-1_all.deb
 6835f7a317283ce6784be0ce35ed5197311b053bfbd293be0a30c60711939e8f 5558 
python-passlib_1.7.0-1_amd64.buildinfo
 772c5735a0a9133ad6fda4024a1ff4f2825ff5cd262db4b0e00591370c7c1178 343436 
python3-passlib_1.7.0-1_all.deb
Files:
 f1a5d4655b594da594c7a640e49deac2 2200 python extra python-passlib_1.7.0-1.dsc
 3c3c5733f2ada427060c33b5ece0560f 637909 python extra 
python-passlib_1.7.0.orig.tar.gz
 9b43b70a54b87a420c89fe7351a0722b 14132 python extra 
python-passlib_1.7.0-1.debian.tar.xz
 ad7c6341f5f6e38f45ef4d6824cc2a87 344072 python extra 
python-passlib_1.7.0-1_all.deb
 7fe0ad8b505a220d41eb3e6416f34a00 5558 python extra 
python-passlib_1.7.0-1_amd64.buildinfo
 85b4c3a68af4d6666210299e37076d91 343436 python extra 
python3-passlib_1.7.0-1_all.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEhBcVftvnPZ6sHlObEm61Y6dLBr8FAlg8YYoACgkQEm61Y6dL
Br9KdhAAk4Y0gVi/lcwUhwdcqMH3LwSo/snVJ/kgtoZfDYedrZq8LCWpTypaoCzo
+EtRTxONvgldhUBaZv/8j1a0riiRLLeTw25I2OjKopEvsx9EpQI01E4ouyDRGai/
OOLP7XK8o4Ya6OZlSk+L6Tgc8/O4a6xlagj3vuwN/dMx2qZJ18njjn/KZLjamKr+
UCgN7grU3zebdhux1Z4/9eN4uzIFtY766LJWTUHbU6rS4k2i7pBoiHTrJYcYcMlH
qnO/UA9CTBTHxKVK3gOpFIE/aZDq6KTdyo9GYePdF47IOruR8Xm2QZjGfgZLkkH6
ENQLVOBzHgGedXQrobwmRhI5SfS79F6+2xeQg2eiHbgcgJqjEZu3mFDBMBHrvbxC
DvmellgyvHA/C6KxKAuDrDpeKfGQyTKSUIeuN43jBxKKPZJ6+CpCoLgqmvxWemdV
C83aqgq192MZElPeZOxu6rwQVm3dMLe10dxZTRCAY+4t9zkdnTxTz3N76vru/xEM
nEbCZUGQ9m2JswGr6VUqQqKxGbYCl4YREGYxsvSv1ADCGFxnJogtgl/QEUQEbw5O
1wVlUatuCijpNOVFPdOoO5eNcqs9uVyqD7zkEYk2AmHcjXAnATBP2cPYM7bgximW
KIT2ax2gz4ePNRZUYjvgiev1/NZmQR5xKd6w4FQYnbF8XfJz1PM=
=fSXq
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to