← Back to team overview

launchpad-dev team mailing list archive

Help needed - ec2 weirdness - Fwd: Test results: FAILURE

 

Hi people,

I'm really confused.

My branch that is being merged is one what moves a whole pile of errors from 
canonical.launchpad.webapp.errors into lp.app.errors 
(https://code.edge.launchpad.net/~thumper/launchpad/move-webapp-
errors/+merge/31505 for those of you interested).

It has lots of changes in it.

However ec2 is failing on a line that doesn't exist in the resulting tree.  It 
is complaining about not being able to import UnexpectedFormData from 
canonical.launchpad.webapp.interfaces.  This is one of the errors I moved, and 
it isn't in that module any more.  What's more is that resulting tree has that 
error imported from lp.app.errors, so I have no freaking idea what is going 
on.

I've merged the remote branch locally and checked the file, and it all looks 
good.

Confusedly yours,
Tim

---- the error:
  File "/var/launchpad/test/lib/canonical/shipit/browser/shipit.py", line 73, 
in <module>
    from canonical.launchpad.webapp.interfaces import (
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File 
"/var/launchpad/test/script.zcml", line 7.4-7.35
    ZopeXMLConfigurationError: File 
"/var/launchpad/test/lib/canonical/configure.zcml", line 146.4-147.42
    ZopeXMLConfigurationError: File 
"/var/launchpad/test/lib/canonical/shipit/configure.zcml", line 7.4-8.28
    ZopeXMLConfigurationError: File 
"/var/launchpad/test/lib/canonical/shipit/browser/configure.zcml", line 
7.4-12.49
    ImportError: cannot import name UnexpectedFormData
make: *** [lib/canonical/launchpad/apidoc/index.html] Error 1
--- Begin Message ---
Tests started at approximately Mon, 02 Aug 2010 03:53:58 UTC
bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/launchpad/devel/, revision 11271

Merged with
bzr+ssh://bazaar.launchpad.net/~thumper/launchpad/move-webapp-errors, revision 11275 (commit message: Missed a few imports.)


DEPENDENCY BRANCHES USED

- lpreview
    bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/bzr-lpreview/devel/
    23

- testresources
    bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/testresources/dev/
    16

- dulwich
    bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/dulwich/devel/
    423

- bzr-builder
    bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/bzr-builder/trunk/
    65

- bzr-loom
    bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/bzr-loom/trunk/
    47

- bzr-svn
    bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/bzr-svn/devel/
    2709

- pygpgme
    bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/pygpgme/devel/
    49

- shipit
    bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/shipit/trunk/
    8909

- pygettextpo
    bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/pygettextpo/trunk/
    24

- bzr-git
    bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/bzr-git/devel/
    257

- old_xmlplus
    bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/dtdparser/trunk/
    4

- subvertpy
    bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/subvertpy/trunk/
    2042

- mailman
    bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/mailman/2.1/
    976

- loggerhead
    bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/loggerhead/devel/
    176

- cscvs
    bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/launchpad-cscvs/devel/
    432

- bzr-hg
    bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/bzr-hg/devel/
    281



TEST RESULTS FOLLOW


rm -f lib/canonical/launchpad/icing/build/launchpad.js
rm -f -r lazr-js/build
rm -f -r bin
rm -f -r parts
rm -f -r develop-eggs
rm -f .installed.cfg
rm -f -r build
rm -f _pythonpath.py
make -C sourcecode/pygettextpo clean
make[1]: Entering directory `/var/launchpad/tmp/sourcecode/pygettextpo'
rm -rf build dist gettextpo.so gettextpo.html
make[1]: Leaving directory `/var/launchpad/tmp/sourcecode/pygettextpo'
# XXX gary 2009-11-16 bug 483782
# The pygettextpo Makefile should have this next line in it for its make
# clean, and then we should remove this line.
rm -f sourcecode/pygpgme/gpgme/*.so
if test -f sourcecode/mailman/Makefile; then \
		make -C sourcecode/mailman clean; \
	fi
find . -path ./eggs -prune -false -o \
		-type f \( -name '*.o' -o -name '*.so' -o -name '*.la' -o \
	    -name '*.lo' -o -name '*.py[co]' -o -name '*.dll' \) \
	    -print0 | xargs -r0 rm -f
rm -f thread*.request
rm -f -r lib/mailman
rm -f -rf lib/canonical/launchpad/icing/build/*
rm -f -r /var/tmp/bazaar.launchpad.dev
rm -f -rf lib/canonical/launchpad/apidoc
rm -f -rf lib/canonical/launchpad/apidoc.tmp
rm -f bzr-version-info.py
rm -f +config-overrides.zcml
rm -f -rf \
			  /var/tmp/builddmaster \
			  /var/tmp/bzrsync \
			  /var/tmp/codehosting.test \
			  /var/tmp/codeimport \
			  /var/tmp/fatsam.appserver \
			  /var/tmp/lperr \
			  /var/tmp/lperr.test \
			  /var/tmp/mailman \
			  /var/tmp/mailman-xmlrpc.test \
			  /var/tmp/ppa \
			  /var/tmp/ppa.test \
			  /var/tmp/zeca
# /var/tmp/launchpad_mailqueue is created read-only on ec2test
# instances.
if [ -w /var/tmp/launchpad_mailqueue ]; then rm -f -rf /var/tmp/launchpad_mailqueue; fi
rm -f -f lp.sfood lp-clustered.sfood lp-clustered.dot lp-clustered.svg
utilities/shhh.py PYTHONPATH= python bootstrap.py\
		--setup-source=ez_setup.py \
		--download-base=download-cache/dist --eggs=eggs
rm -f /var/launchpad/test/bin/py
utilities/shhh.py PYTHONPATH= ./bin/buildout \
                configuration:instance_name=development -c buildout.cfg
scripts/update-bzr-version-info.sh
Creating bzr-version-info.py at revno 11271
utilities/shhh.py make -C sourcecode build PYTHON=python \
	    LPCONFIG=development
utilities/shhh.py LPCONFIG=development /var/launchpad/test/bin/py -t buildmailman.py
mkdir -p lib/canonical/launchpad/apidoc.tmp
LPCONFIG=development /var/launchpad/test/bin/py ./utilities/create-lp-wadl-and-apidoc.py "lib/canonical/launchpad/apidoc.tmp/wadl-development-%(version)s.xml"
Traceback (most recent call last):
  File "./utilities/create-lp-wadl-and-apidoc.py", line 90, in <module>
    sys.exit(main(sys.argv[1]))
  File "./utilities/create-lp-wadl-and-apidoc.py", line 36, in main
    execute_zcml_for_scripts()
  File "/var/launchpad/test/lib/canonical/launchpad/scripts/__init__.py", line 84, in execute_zcml_for_scripts
    scriptzcmlfilename, execute=True, context=context)
  File "/var/launchpad/tmp/eggs/zope.configuration-3.6.0-py2.5.egg/zope/configuration/xmlconfig.py", line 647, in file
    include(context, name, package)
  File "/var/launchpad/tmp/eggs/zope.configuration-3.6.0-py2.5.egg/zope/configuration/xmlconfig.py", line 546, in include
    processxmlfile(f, context)
  File "/var/launchpad/tmp/eggs/zope.configuration-3.6.0-py2.5.egg/zope/configuration/xmlconfig.py", line 378, in processxmlfile
    parser.parse(src)
  File "/usr/lib/python2.5/xml/sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.5/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/lib/python2.5/xml/sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/lib/python2.5/xml/sax/expatreader.py", line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/var/launchpad/tmp/eggs/zope.configuration-3.6.0-py2.5.egg/zope/configuration/xmlconfig.py", line 357, in endElementNS
    self.context.end()
  File "/var/launchpad/tmp/eggs/zope.configuration-3.6.0-py2.5.egg/zope/configuration/config.py", line 537, in end
    self.stack.pop().finish()
  File "/var/launchpad/tmp/eggs/zope.configuration-3.6.0-py2.5.egg/zope/configuration/config.py", line 685, in finish
    actions = self.handler(context, **args)
  File "/var/launchpad/tmp/eggs/zope.configuration-3.6.0-py2.5.egg/zope/configuration/xmlconfig.py", line 546, in include
    processxmlfile(f, context)
  File "/var/launchpad/tmp/eggs/zope.configuration-3.6.0-py2.5.egg/zope/configuration/xmlconfig.py", line 378, in processxmlfile
    parser.parse(src)
  File "/usr/lib/python2.5/xml/sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.5/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/lib/python2.5/xml/sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/lib/python2.5/xml/sax/expatreader.py", line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/var/launchpad/tmp/eggs/zope.configuration-3.6.0-py2.5.egg/zope/configuration/xmlconfig.py", line 357, in endElementNS
    self.context.end()
  File "/var/launchpad/tmp/eggs/zope.configuration-3.6.0-py2.5.egg/zope/configuration/config.py", line 537, in end
    self.stack.pop().finish()
  File "/var/launchpad/tmp/eggs/zope.configuration-3.6.0-py2.5.egg/zope/configuration/config.py", line 685, in finish
    actions = self.handler(context, **args)
  File "/var/launchpad/tmp/eggs/zope.configuration-3.6.0-py2.5.egg/zope/configuration/xmlconfig.py", line 546, in include
    processxmlfile(f, context)
  File "/var/launchpad/tmp/eggs/zope.configuration-3.6.0-py2.5.egg/zope/configuration/xmlconfig.py", line 378, in processxmlfile
    parser.parse(src)
  File "/usr/lib/python2.5/xml/sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.5/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/lib/python2.5/xml/sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/lib/python2.5/xml/sax/expatreader.py", line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/var/launchpad/tmp/eggs/zope.configuration-3.6.0-py2.5.egg/zope/configuration/xmlconfig.py", line 357, in endElementNS
    self.context.end()
  File "/var/launchpad/tmp/eggs/zope.configuration-3.6.0-py2.5.egg/zope/configuration/config.py", line 537, in end
    self.stack.pop().finish()
  File "/var/launchpad/tmp/eggs/zope.configuration-3.6.0-py2.5.egg/zope/configuration/config.py", line 685, in finish
    actions = self.handler(context, **args)
  File "/var/launchpad/tmp/eggs/zope.configuration-3.6.0-py2.5.egg/zope/configuration/xmlconfig.py", line 546, in include
    processxmlfile(f, context)
  File "/var/launchpad/tmp/eggs/zope.configuration-3.6.0-py2.5.egg/zope/configuration/xmlconfig.py", line 378, in processxmlfile
    parser.parse(src)
  File "/usr/lib/python2.5/xml/sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.5/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/lib/python2.5/xml/sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/lib/python2.5/xml/sax/expatreader.py", line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/var/launchpad/tmp/eggs/zope.configuration-3.6.0-py2.5.egg/zope/configuration/xmlconfig.py", line 357, in endElementNS
    self.context.end()
  File "/var/launchpad/tmp/eggs/zope.configuration-3.6.0-py2.5.egg/zope/configuration/config.py", line 537, in end
    self.stack.pop().finish()
  File "/var/launchpad/tmp/eggs/zope.configuration-3.6.0-py2.5.egg/zope/configuration/config.py", line 684, in finish
    args = toargs(context, *self.argdata)
  File "/var/launchpad/tmp/eggs/zope.configuration-3.6.0-py2.5.egg/zope/configuration/config.py", line 1376, in toargs
    args[str(name)] = field.fromUnicode(s)
  File "/var/launchpad/tmp/eggs/zope.configuration-3.6.0-py2.5.egg/zope/configuration/fields.py", line 139, in fromUnicode
    value = self.context.resolve(name)
  File "/var/l

Attachment: move-webapp-errors.log.gz
Description: GNU Zip compressed data


--- End Message ---

Follow ups