[Python-modules-team] Bug#735788: foolscap: FTBFS: exceptions.AttributeError: 'module' object has no attribute '_parse'
David Suárez
david.sephirot at gmail.com
Fri Jan 17 19:06:20 UTC 2014
Source: foolscap
Version: 0.6.4-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140114 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part (hopefully):
> testClientTimeout ... [OK]
> testNoConnection ... [OK]
> testServerTimeout ... [OK]
> testVersusHTTPClientAuthenticated ... [ERROR]
> testVersusHTTPClientUnauthenticated ... [ERROR]
> testVersusHTTPServerAuthenticated ... [OK]
> testVersusHTTPServerUnauthenticated ... [OK]
> foolscap.test.test_observer
> Observer
> test_oneshot ... [OK]
> foolscap.test.test_pb
> TestAnswer
> testAccept1 ... [OK]
> testAccept2 ... [OK]
> testReject1 ... [OK]
> testReject2 ... [OK]
> TestCallable
> testBoundMethod ... [OK]
> testFunction ... [OK]
> testGetSturdyRef ... [OK]
> testLogLocalFailure ... [OK]
> testLogRemoteFailure ... [OK]
> testWrongSwiss ... [OK]
> TestReferenceUnslicer
> testInterfaces ... [OK]
> testNoInterfaces ... [OK]
> testReject ... [OK]
> TestReferenceable
> testAnswer1 ... [OK]
> testAnswer2 ... [OK]
> testArgs1 ... [OK]
> testArgs2 ... [OK]
> testRef1 ... [OK]
> testRef2 ... [OK]
> testRef3 ... [OK]
> testRef4 ... [OK]
> testRef5 ... [OK]
> testRef6 ... [OK]
> TestService
> testBadMethod ... [OK]
> testBadMethod2 ... [OK]
> testConnect1 ... [OK]
> testConnect2 ... [OK]
> testConnect3 ... [OK]
> testRegister ... [OK]
> foolscap.test.test_promise
> Call
> testResolveAfter ... [OK]
> testResolveBefore ... [OK]
> testResolveFailure ... [OK]
> Chained
> testChained1 ... [OK]
> testChained2 ... [OK]
> testResolveToABrokenPromise ... [OK]
> testResolveToAPromise ... [OK]
> Send
> testBadName ... [OK]
> testBasic ... [OK]
> testBasicFailure ... [OK]
> testDisableDataflowStyle ... [OK]
> testFailure ... [OK]
> testNoMultipleResolution ... [OK]
> testOrdering ... [OK]
> testResolveAfter ... [OK]
> testResolveBefore ... [OK]
> testResolveFailure ... [OK]
> testSend ... [OK]
> SendOnly
> testNear ... [OK]
> testResolveAfter ... [OK]
> testResolveBefore ... [OK]
> foolscap.test.test_reconnector
> Reconnector
> test_lose_and_retry ... [OK]
> test_negotiate_fails_and_retry ... [OK]
> test_retry ... [OK]
> test_stop_trying ... [OK]
> test_try ... [OK]
> foolscap.test.test_reference
> LocalReference
> test_callRemote ... [OK]
> test_callRemoteOnly ... [OK]
> test_fail ... [OK]
> test_remoteReference ... [OK]
> TubID
> test_tubid_must_match ... [OK]
> foolscap.test.test_registration
> Registration
> testStrong ... [OK]
> testWeak ... [OK]
> test_duplicate ... [OK]
> foolscap.test.test_schema
> Arguments
> test_arguments ... [OK]
> test_bad_arguments ... [OK]
> ConformTest
> testAttrDict ... [OK]
> testBool ... [OK]
> testByteString ... [OK]
> testDict ... [OK]
> testInteger ... [OK]
> testLargeInteger ... [OK]
> testList ... [OK]
> testNestedTuple ... [OK]
> testPoly ... [OK]
> testRecursion ... [OK]
> testSet ... [OK]
> testString ... [OK]
> testTuple ... [OK]
> testUnicode ... [OK]
> CreateTest
> testMakeConstraint ... [OK]
> Interfaces
> test_referenceable ... [OK]
> test_remotereference ... [OK]
> foolscap.test.test_serialize
> Serialize
> test_copyable ... [OK]
> test_cycle ... [OK]
> test_data ... [OK]
> test_data_outstream ... [OK]
> test_referenceable ... [OK]
> test_referenceables_die ... [OK]
> test_unhandled_objects ... [OK]
> foolscap.test.test_stringchain
> T
> test_al ... [OK]
> test_appendleft ... [OK]
> test_clear ... [OK]
> test_popleft ... [OK]
> test_popleft_new_stringchain ... [OK]
> test_str ... [OK]
> test_tailignored ... [OK]
> test_trim ... [OK]
> foolscap.test.test_sturdyref
> URL
> testBrokenHints ... [OK]
> testCompare ... [OK]
> testLocationHintExtensions ... [OK]
> testLocationHints ... [OK]
> testTubIDExtensions ... [OK]
> testURL ... [OK]
> foolscap.test.test_tub
> BadLocationFURL
> test_empty_location ... [OK]
> test_future ... [OK]
> CancelPendingDeliveries
> test_cancel_pending_deliveries ... [OK]
> FurlFile
> test_furlfile ... [OK]
> test_tubid_check ... [OK]
> NameLookup
> testNameLookup ... [OK]
> QueuedStartup
> test_queued_getref ... [OK]
> test_queued_reconnector ... [OK]
> SetLocation
> test_set_location ... [OK]
> test_set_location_automatically ... [OK]
> Shutdown
> test_doublestop ... [OK]
> TestCertFile
> test_certdata ... [OK]
> test_certfile ... [OK]
> test_generate ... [OK]
> test_tubid ... [OK]
> foolscap.test.test_util
> AsyncAND
> test_empty ... [OK]
> test_one_failure_1 ... [OK]
> test_one_failure_2 ... [OK]
> test_simple ... [OK]
> test_two ... [OK]
> test_two_failure ... [OK]
> Base32
> test_is_base32 ... [OK]
> Time
> test_format ... [OK]
>
> ===============================================================================
> [SKIPPED]
> new-style classes still broken
>
> foolscap.test.test_banana.ThereAndBackAgain.test_boundMethod_newstyle
> foolscap.test.test_banana.ThereAndBackAgain.test_classMethod_newstyle
> foolscap.test.test_banana.ThereAndBackAgain.test_class_newstyle
> foolscap.test.test_banana.ThereAndBackAgain.test_instance_newstyle
> ===============================================================================
> [ERROR]
> Traceback (most recent call last):
> File "/«PKGBUILDDIR»/foolscap/test/test_negotiate.py", line 303, in testVersusHTTPClientAuthenticated
> d = self.connectHTTPClient(portnum)
> File "/«PKGBUILDDIR»/foolscap/test/test_negotiate.py", line 200, in connectHTTPClient
> return getPage("http://127.0.0.1:%d/foo" % portnum)
> File "/«PKGBUILDDIR»/foolscap/test/test_negotiate.py", line 83, in getPage
> scheme, host, port, path = client._parse(url)
> exceptions.AttributeError: 'module' object has no attribute '_parse'
>
> foolscap.test.test_negotiate.Versus.testVersusHTTPClientAuthenticated
> ===============================================================================
> [ERROR]
> Traceback (most recent call last):
> File "/«PKGBUILDDIR»/foolscap/test/test_negotiate.py", line 289, in testVersusHTTPClientUnauthenticated
> d = self.connectHTTPClient(portnum)
> File "/«PKGBUILDDIR»/foolscap/test/test_negotiate.py", line 200, in connectHTTPClient
> return getPage("http://127.0.0.1:%d/foo" % portnum)
> File "/«PKGBUILDDIR»/foolscap/test/test_negotiate.py", line 83, in getPage
> scheme, host, port, path = client._parse(url)
> exceptions.AttributeError: 'module' object has no attribute '_parse'
>
> foolscap.test.test_negotiate.Versus.testVersusHTTPClientUnauthenticated
> -------------------------------------------------------------------------------
> Ran 472 tests in 100.380s
>
> FAILED (skips=4, errors=2, successes=466)
> make[2]: *** [test] Error 1
> make[2]: Leaving directory `/«PKGBUILDDIR»'
> dh_auto_test: make -j1 test returned exit code 2
The full build log is available from:
http://aws-logs.debian.net/ftbfs-logs/2014/01/14/foolscap_0.6.4-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Python-modules-team
mailing list