Public bug reported: Imported from Debian bug http://bugs.debian.org/798441:
Source: python-bleach Version: 1.4-1 Severity: serious Justification: fails to build from source User: [email protected] Usertags: ftbfs X-Debbugs-Cc: [email protected] Dear Maintainer, python-bleach's testsuite can non-deterministically fail, causing the package to FTBFS: [..] nosetests3 ...................F............................................................................................................ ====================================================================== FAIL: Make sure that applying the filter twice doesn't change anything. ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3/dist-packages/nose/case.py", line 198, in runTest self.test(*self.arg) File "/tmp/buildd/python-bleach-1.4/bleach/tests/test_basics.py", line 156, in test_idempotent eq_(linked, bleach.linkify(linked)) AssertionError: '<span>invalid & </span> < extra <a rel="nofollow" href="http://link.com">http://link.com</a><em></em>' != '<span>invalid & </span> < extra <a href="http://link.com" rel="nofollow">http://link.com</a><em></em>' ---------------------------------------------------------------------- Ran 128 tests in 1.007s FAILED (failures=1) debian/rules:13: recipe for target 'override_dh_auto_test' failed make[1]: *** [override_dh_auto_test] Error 1 make[1]: Leaving directory '/tmp/buildd/python-bleach-1.4' debian/rules:6: recipe for target 'build' failed make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 [..] You can see demonstrate this by leaving this to run for a minute or so: $ while nosetests3 bleach.tests.test_basics:test_idempotent; do :; done Curiously, I cannot reproduce when running the tests under Python 2.X which may help track down the underlying issue. The full build log is attached or can be viewed here: https://reproducible.debian.net/logs/unstable/amd64/python- bleach_1.4-1.build2.log.gz Regards, -- ,''`. : :' : Chris Lamb `. `'` [email protected] / chris-lamb.co.uk `- ** Affects: python-bleach (Ubuntu) Importance: High Status: Triaged ** Affects: python-bleach (Debian) Importance: Undecided Status: New ** Tags: ftbfs ** Bug watch added: Debian Bug tracker #798441 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798441 ** Changed in: python-bleach (Debian) Remote watch: None => Debian Bug tracker #798441 ** Changed in: python-bleach (Ubuntu) Status: New => Triaged ** Changed in: python-bleach (Ubuntu) Importance: Undecided => High ** Tags added: ftbfs ** Description changed: Imported from Debian bug http://bugs.debian.org/798441: - Received: (at submit) by bugs.debian.org; 9 Sep 2015 11:32:55 +0000 - From [email protected] Wed Sep 09 11:32:55 2015 - X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02 - (2014-02-07) on buxtehude.debian.org - X-Spam-Level: - X-Spam-Status: No, score=-8.7 required=4.0 tests=BAYES_00,DIGITS_LETTERS, - DKIM_SIGNED,DKIM_VALID,FOURLA,FROMDEVELOPER,FVGT_m_MULTI_ODD,GMAIL, - HAS_PACKAGE,MONOTONE_WORDS_5_8,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3, - RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no - version=3.4.0-bugs.debian.org_2005_01_02 - X-Spam-Bayes: score:0.0000 Tokens: new, 73; hammy, 150; neutral, 941; spammy, - 0. spammytokens: hammytokens:0.000-+--UD:xz, 0.000-+--UD:tar.xz, - 0.000-+--UD:debian.tar.xz, 0.000-+--xdebbugscc, 0.000-+--x-debbugs-cc - Return-path: <[email protected]> - Received: from out4-smtp.messagingengine.com ([66.111.4.28]) - by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) - (Exim 4.84) - (envelope-from <[email protected]>) - id 1ZZdcV-0007ce-8C - for [email protected]; Wed, 09 Sep 2015 11:32:55 +0000 - Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) - by mailout.nyi.internal (Postfix) with ESMTP id 594CA20A2C - for <[email protected]>; Wed, 9 Sep 2015 07:32:54 -0400 (EDT) - Received: from web3 ([10.202.2.213]) - by compute3.internal (MEProxy); Wed, 09 Sep 2015 07:32:54 -0400 - DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= - messagingengine.com; h=content-transfer-encoding:content-type - :date:from:message-id:mime-version:subject:to:x-sasl-enc - :x-sasl-enc; s=smtpout; bh=Zzq7/tm5CR9TyICYkkVxhoQGbW0=; b=Y2ZYJ - UWfJFZ7lMfvinwIa9fvLpXcM/hajRqV8d2SGON6wERybXsBTLcWcyUr5PpROeo9W - r7VC3GVcSoakQBqAEZ4zpAxnxMFb3DZ19SA98dbEGMTegaJ87lCxK9MQbmoEIQV0 - QT0W7f5YOIzNu1Bn5/bXnxjuSd85t/NWo/OHmc= - Received: by web3.nyi.internal (Postfix, from userid 99) - id 01FFC116818; Wed, 9 Sep 2015 07:32:53 -0400 (EDT) - Message-Id: <1441798373.3620936.378727361.4901e...@webmail.messagingengine.com> - X-Sasl-Enc: Oicw80zAArls7M4Dfj3PSMo9x5BjknBay//R/+j+3f72 1441798373 - From: Chris Lamb <[email protected]> - To: [email protected] - MIME-Version: 1.0 - Content-Transfer-Encoding: 7bit - Content-Type: multipart/mixed; boundary="_----------=_144179837336209361"; - charset="utf-8" - X-Mailer: MessagingEngine.com Webmail Interface - ajax-c76b43ce - Subject: python-bleach: Non-determistically FTBFS due to unreliable tests - Date: Wed, 09 Sep 2015 12:32:53 +0100 - Delivered-To: [email protected] + Source: python-bleach + Version: 1.4-1 + Severity: serious + Justification: fails to build from source + User: [email protected] + Usertags: ftbfs + X-Debbugs-Cc: [email protected] + + Dear Maintainer, + + python-bleach's testsuite can non-deterministically fail, causing the + package + to FTBFS: + + [..] + nosetests3 + ...................F............................................................................................................ + ====================================================================== + FAIL: Make sure that applying the filter twice doesn't change + anything. + ---------------------------------------------------------------------- + Traceback (most recent call last): + File "/usr/lib/python3/dist-packages/nose/case.py", line 198, in + runTest + self.test(*self.arg) + File "/tmp/buildd/python-bleach-1.4/bleach/tests/test_basics.py", + line 156, in test_idempotent + eq_(linked, bleach.linkify(linked)) + AssertionError: '<span>invalid & </span> < extra <a + rel="nofollow" href="http://link.com">http://link.com</a><em></em>' != + '<span>invalid & </span> < extra <a href="http://link.com" + rel="nofollow">http://link.com</a><em></em>' + + ---------------------------------------------------------------------- + Ran 128 tests in 1.007s + + FAILED (failures=1) + debian/rules:13: recipe for target 'override_dh_auto_test' failed + make[1]: *** [override_dh_auto_test] Error 1 + make[1]: Leaving directory '/tmp/buildd/python-bleach-1.4' + debian/rules:6: recipe for target 'build' failed + make: *** [build] Error 2 + dpkg-buildpackage: error: debian/rules build gave error exit status 2 + + [..] + + You can see demonstrate this by leaving this to run for a minute or so: + + $ while nosetests3 bleach.tests.test_basics:test_idempotent; do :; + done + + Curiously, I cannot reproduce when running the tests under Python 2.X + which may help track down the underlying issue. + + The full build log is attached or can be viewed here: + + https://reproducible.debian.net/logs/unstable/amd64/python- + bleach_1.4-1.build2.log.gz + + + Regards, + + -- + ,''`. + : :' : Chris Lamb + `. `'` [email protected] / chris-lamb.co.uk + `- -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1508302 Title: python-bleach: Non-determistically FTBFS due to unreliable tests To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-bleach/+bug/1508302/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
