[Reproducible-builds] Bug#823739: nevow: FTBFS: exceptions.AttributeError: 'NoneType' object has no attribute 'getPeer'
Chris Lamb
lamby at debian.org
Sun May 8 10:04:52 UTC 2016
Source: nevow
Version: 0.13.0-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
nevow fails to build from source in unstable/amd64:
[..]
test_urlRedirectWithParams ... [OK]
Serialization
testQuoting ... [OK]
test_childQueryParam ... [OK]
test_rfc1808 ... [TODO]
test_safe ... [OK]
test_slotQueryParam ... [OK]
test_strangeSegs ... [OK]
test_unicode ... [OK]
test_urlAttr ... [OK]
test_urlContent ... [OK]
test_urlSlot ... [OK]
test_urlXmlAttrSlot ... [OK]
test_urlintagwithmultipleamps ... [OK]
TestURL
test_add ... [OK]
test_addCloning ... [OK]
test_add_noquery ... [OK]
test_anchorCloning ... [OK]
test_child ... [OK]
test_child_init_root ... [OK]
test_child_init_tuple ... [OK]
test_clear ... [OK]
test_clearCloning ... [OK]
test_click ... [OK]
test_clickCloning ... [OK]
test_clickCloningScheme ... [OK]
test_clickCollapse ... [OK]
test_cloneUnchanged ... [OK]
test_curdir ... [OK]
test_eq_apples_vs_oranges ... [OK]
test_eq_different ... [OK]
test_eq_same ... [OK]
test_eq_similar ... [OK]
test_equality ... [OK]
test_fragment ... [OK]
test_fragmentEquality ... [OK]
test_fromContext ... [OK]
test_fromRequest ... [OK]
test_fromString ... [OK]
test_ne_apples_vs_oranges ... [OK]
test_ne_different ... [OK]
test_ne_same ... [OK]
test_ne_similar ... [OK]
test_parent ... [OK]
test_parent_root ... [OK]
test_parentdir ... [OK]
test_parseEqualInParamValue ... [OK]
test_path ... [OK]
test_removeCloning ... [OK]
test_replace ... [OK]
test_replaceCloning ... [OK]
test_roundtrip ... [OK]
test_secure ... [OK]
test_secureCloning ... [OK]
test_sibling ... [OK]
nevow.test.test_useragent
UserAgentTests
test_geckoParser ... [OK]
test_msieParser ... [OK]
test_operaParser ... [OK]
test_parseBonEcho ... [OK]
test_parseExplorer45 ... [OK]
test_parseExplorer55 ... [OK]
test_parseExplorer65 ... [OK]
test_parseFirefox15 ... [OK]
test_parseFirefox20 ... [OK]
test_parseNetscape71 ... [OK]
test_parseOmniWeb607 ... [OK]
test_parseOpera9 ... [OK]
test_parseSafari20 ... [OK]
test_webkitParser ... [OK]
nevow.test.test_utils
CachedFileTests
test_cache ... [OK]
test_cacheInvalidate ... [OK]
test_cacheModifiedTime ... [OK]
test_loadArgs ... [OK]
test_loaderException ... [OK]
ExposeTestCase
test_exposeReturnValue ... [OK]
test_exposeWithoutArguments ... [OK]
test_exposedInstanceAttribute ... [OK]
test_getUnexposedWithDefault ... [OK]
test_inheritanceExpose ... [OK]
test_inheritanceExposeMore ... [OK]
test_inheritanceReexpose ... [OK]
test_multipleExposeArguments ... [OK]
test_multipleExposeCalls ... [OK]
test_multipleInheritanceExpose ... [OK]
test_multipleInheritanceExposeWithoutSubclassCall ... [OK]
test_singleExpose ... [OK]
test_unexposedMethodInaccessable ... [OK]
formless.test.test_formless
Annotation
testTypedInterfaceMethods ... [OK]
testTypedInterfaceMethods_actionLabel ... [OK]
testTypedInterfaceMethods_deprecated ... [OK]
testTypedInterfaceMethods_explicitLabel ... [OK]
testTypedInterfaceMethods_nonAutocallable ... [OK]
testTypedInterfaceProperties ... [OK]
TestListActions
test_listActionMetadata ... [OK]
TestPropertyGroups
test_nestedTypedInterfaces ... [OK]
Typed
testBoolean ... [OK]
testDirectory ... [OK]
testFixedDigitInteger ... [OK]
testInteger ... [OK]
testPassword ... [OK]
testPasswordEntry ... [OK]
testReal ... [OK]
testString ... [OK]
testText ... [OK]
formless.test.test_freeform
BuildingBlocksTest
test_1_renderTyped ... [TODO]
test_2_renderPropertyBinding ... [OK]
test_3_renderMethodBinding ... [OK]
Complete
test_configureMethod ... [OK]
test_configureProperty ... [OK]
TestAfterValidation
test_property ... [OK]
TestCharsetDetectionSupport
test_group ... [OK]
test_method ... [OK]
test_property ... [OK]
TestChoice
test_reject_missing ... [OK]
TestCustomTyped
test_typedCoerceWithBinding ... [OK]
TestDefaults
test_1_renderWithDefaultValues ... [OK]
test_2_renderWithObjectPropertyValues ... [OK]
test_3_renderWithAdapteeAttributeValues ... [OK]
test_4_testBindingDefaults ... [OK]
test_5_testDynamicDefaults ... [OK]
TestHandAndStatus
test_hand ... [OK]
test_handFactory ... [OK]
TestNonConfigurableSubclass
test_1_testSimple ... [OK]
TestPostAForm
test_1_failAndSucceed ... [OK]
test_2_propertyFailed ... [OK]
TestRenderMethod
testActionLabel ... [OK]
testDefault ... [OK]
testOneSigMultiCallables ... [TODO]
TestRenderPropertyGroup
test_1_propertyGroup ... [OK]
TestUneditableProperties
test_uneditable ... [OK]
TestUnicode
test_property ... [OK]
mg
test_leakyForms ... [OK]
===============================================================================
[SKIPPED]
No JavaScript interpreter available.
nevow.test.test_consolejstest.JSGenerationTestCase.test_generateTestScript
===============================================================================
[SKIPPED]
the standard 2.3 sax parser likes all namespaces to be defined so this test fails. it does pass with python-xml
nevow.test.test_flatsax.Basic.test_badNamespace
===============================================================================
[SKIPPED]
Attribute name flattening must happen later for this to work
nevow.test.test_flatstan.TestNoneAttribute.test_deepSlot
nevow.test.test_flatstan.TestNoneAttribute.test_deferredSlot
nevow.test.test_flatstan.TestNoneAttribute.test_slot
===============================================================================
[SKIPPED]
Could not find JavaScript interpreter
nevow.test.test_howtolistings.Part00Tests.test_part00
nevow.test.test_howtolistings.Part01Tests.test_part01
nevow.test.test_javascript.JSUnitTests.test_base
nevow.test.test_javascript.JSUnitTests.test_deferred
nevow.test.test_javascript.JSUnitTests.test_init
nevow.test.test_javascript.JSUnitTests.test_inspect
nevow.test.test_javascript.JSUnitTests.test_jsunit
nevow.test.test_javascript.JSUnitTests.test_livetrial
nevow.test.test_javascript.JSUnitTests.test_object
nevow.test.test_javascript.JSUnitTests.test_rdm
nevow.test.test_javascript.JSUnitTests.test_runtime
nevow.test.test_javascript.JSUnitTests.test_tabbedPane
nevow.test.test_javascript.JSUnitTests.test_widget
===============================================================================
[SKIPPED]
Missing JS dependencies
nevow.test.test_testutil.JavaScriptTests.test_missingJavaScriptClass
nevow.test.test_testutil.JavaScriptTests.test_signalledExit
nevow.test.test_testutil.JavaScriptTests.test_unsuccessfulExit
===============================================================================
[TODO]
Reason: 'Fix so that disk templates are reloaded even after a precompile. Probably just a matter of making the DocSerializer really lazy'
Traceback (most recent call last):
File "/home/lamby/temp/cdt.20160508110246.fuptjmke3p.nevow/nevow-0.13.0/nevow/test/test_loaders.py", line 353, in test_reloadAfterPrecompile
self.assertIn('bar', after)
File "/usr/lib/python2.7/dist-packages/twisted/trial/_synctest.py", line 497, in assertIn
% (containee, container))
twisted.trial.unittest.FailTest: 'bar' not in '<p>foo</p>'
nevow.test.test_loaders.TestDocFactoriesCache.test_reloadAfterPrecompile
===============================================================================
[TODO]
Reason: "Many of these fail miserably at the moment; often with a / where there shouldn't be"
Traceback (most recent call last):
File "/home/lamby/temp/cdt.20160508110246.fuptjmke3p.nevow/nevow-0.13.0/nevow/test/test_url.py", line 626, in test_rfc1808
self.failUnlessEqual(result, flatten(base.click(link)))
File "/usr/lib/python2.7/dist-packages/twisted/trial/_synctest.py", line 437, in assertEqual
super(_Assertions, self).assertEqual(first, second, msg)
File "/usr/lib/python2.7/unittest/case.py", line 513, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/lib/python2.7/unittest/case.py", line 506, in _baseAssertEqual
raise self.failureException(msg)
twisted.trial.unittest.FailTest: 'g:h' != 'g:///h'
nevow.test.test_url.Serialization.test_rfc1808
===============================================================================
[TODO]
Reason: 'Render binding'
Traceback (most recent call last):
File "/home/lamby/temp/cdt.20160508110246.fuptjmke3p.nevow/nevow-0.13.0/formless/test/test_freeform.py", line 123, in later
self.assertSubstring('hello', val)
File "/home/lamby/temp/cdt.20160508110246.fuptjmke3p.nevow/nevow-0.13.0/nevow/testutil.py", line 300, in failUnlessSubstring
self.fail(msg or "%r not in %r" % (containee, container))
twisted.trial.unittest.FailTest: 'hello' not in ''
formless.test.test_freeform.BuildingBlocksTest.test_1_renderTyped
===============================================================================
[TODO]
Reason: 'autocallable should not set attributes directly on the callable'
Traceback (most recent call last):
File "/home/lamby/temp/cdt.20160508110246.fuptjmke3p.nevow/nevow-0.13.0/formless/test/test_freeform.py", line 412, in later1
self.assertSubstring('value="Foo"', val)
File "/home/lamby/temp/cdt.20160508110246.fuptjmke3p.nevow/nevow-0.13.0/nevow/testutil.py", line 300, in failUnlessSubstring
self.fail(msg or "%r not in %r" % (containee, container))
twisted.trial.unittest.FailTest: 'value="Foo"' not in '<div class="freeform-form"><form accept-charset="utf-8" action="./freeform_post!!foo" enctype="multipart/form-data" id="foo" method="post" name="foo"><fieldset><input name="_charset_" type="hidden" /><legend class="freeform-form-label">FooFooFOo</legend><div class="freeform-form-description"></div><div class="freeform-form-error"><!--\nNo error for error key: foo\n--></div><label class="freeform-label" for="foo-abc">Abc</label><span class="freeform-input"><input class="freeform-input-text" id="foo-abc" name="abc" type="text" value="" /></span><div class="freeform-error"><!--\nNo error for error key: foo.abc\n--></div><div class="freeform-description"><label for="foo-abc"></label></div><input class="freeform-button" name="foo" type="submit" value="FooFooFOo" /></fieldset></form></div>'
formless.test.test_freeform.TestRenderMethod.testOneSigMultiCallables
===============================================================================
[ERROR]
Traceback (most recent call last):
File "/home/lamby/temp/cdt.20160508110246.fuptjmke3p.nevow/nevow-0.13.0/nevow/test/test_appserver.py", line 252, in test_newStyle
proto = self.renderResource('/foo')
File "/home/lamby/temp/cdt.20160508110246.fuptjmke3p.nevow/nevow-0.13.0/nevow/test/test_appserver.py", line 210, in renderResource
'', '']))
File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 2074, in dataReceived
return self._channel.dataReceived(data)
File "/usr/lib/python2.7/dist-packages/twisted/protocols/basic.py", line 571, in dataReceived
why = self.lineReceived(line)
File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 1688, in lineReceived
self.allContentReceived()
File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 1767, in allContentReceived
req.requestReceived(command, path, version)
File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 736, in requestReceived
self.client = self.channel.transport.getPeer()
exceptions.AttributeError: 'NoneType' object has no attribute 'getPeer'
nevow.test.test_appserver.Logging.test_newStyle
===============================================================================
[ERROR]
Traceback (most recent call last):
File "/home/lamby/temp/cdt.20160508110246.fuptjmke3p.nevow/nevow-0.13.0/nevow/test/test_appserver.py", line 228, in test_oldStyle
proto = self.renderResource('/foo')
File "/home/lamby/temp/cdt.20160508110246.fuptjmke3p.nevow/nevow-0.13.0/nevow/test/test_appserver.py", line 210, in renderResource
'', '']))
File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 2074, in dataReceived
return self._channel.dataReceived(data)
File "/usr/lib/python2.7/dist-packages/twisted/protocols/basic.py", line 571, in dataReceived
why = self.lineReceived(line)
File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 1688, in lineReceived
self.allContentReceived()
File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 1767, in allContentReceived
req.requestReceived(command, path, version)
File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 736, in requestReceived
self.client = self.channel.transport.getPeer()
exceptions.AttributeError: 'NoneType' object has no attribute 'getPeer'
nevow.test.test_appserver.Logging.test_oldStyle
-------------------------------------------------------------------------------
Ran 902 tests in 1.247s
FAILED (skips=21, expectedFailures=4, errors=2, successes=875)
E: pybuild pybuild:274: test: plugin custom failed with: exit code=1: python2.7 /usr/bin/trial nevow formless
dh_auto_test: pybuild --test -i python{version} -p 2.7 --dir . returned exit code 13
debian/rules:20: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 25
make[1]: Leaving directory '/home/lamby/temp/cdt.20160508110246.fuptjmke3p.nevow/nevow-0.13.0'
debian/rules:7: recipe for target 'build' failed
make: *** [build] Error 2
[..]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nevow.0.13.0-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 14779 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160508/fa0849a4/attachment.obj>
More information about the Reproducible-builds
mailing list