Attempting to integrate Bugzilla with Bazaar using http://code.google.com/p/bugzilla-vcs/ . bugzilla-vcs requires xmloutput but selftest of this plugin fails. Although I can't be sure, the xmloutput failures seem to prevent bugzilla-vcs from displaying bazaar bug info on bug webpage.
Output from bzr plugins:
bash_completion 2.5.0
Generate a shell function for bash command line completion.
bzrtools 2.5.0
Various useful commands for working with bzr.
changelog_merge 2.5.0
Merge hook for GNU-format ChangeLog files
etckeeper
Runs etckeeper pre-commit when necessary.
launchpad 2.5.0
Launchpad.net integration plugin for Bazaar.
netrc_credential_store 2.5.0
Use ~/.netrc as a credential store for authentication.conf.
news_merge 2.5.0
Merge hook for bzr's NEWS file.
po_merge 2.5.0
Merge hook for ``.po`` files.
scmproj 0.6.2dev
Organise and manage a collection of bzr branches as a complex project.
weave_fmt 2.5.0
Weave formats.
xmloutput 0.8.8
This plugin adds an option (--xml) to log and provides an xml version of some builtin commands.
Output from selftest of xmloutput:
bzr selftest: /usr/bin/bzr
/usr/lib/pymodules/python2.6/bzrlib
bzr-2.5.0 python-2.6.5 Linux-2.6.32-33-generic-pae-i686-with-Ubuntu-10.04-lucid
ERROR: bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml
Text attachment: log
------------
5.051 creating repository in file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/branch/.bzr/.
5.056 creating branch <bzrlib.branch.BzrBranchFormat7 object at 0x9fc310c> in file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/branch/
5.067 trying to create missing lock '/tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/branch/.bzr/checkout/dirstate'
5.068 opening working tree '/tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/branch'
5.081 preparing to commit
INFO Committing to: /tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/branch/
5.084 Selecting files for commit with filter None
INFO Committed revision 1.
5.099 Committed revid <email address hidden> as revno 1.
5.105 opening working tree '/tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/branch'
5.114 creating repository in file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/copy/.bzr/.
5.119 Using fetch logic to copy between CHKInventoryRepository('file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/branch/.bzr/repository/')(RepositoryFormat2a()) and CHKInventoryRepository('file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/copy/.bzr/repository/')(RepositoryFormat2a())
5.119 fetching: <PendingAncestryResult heads:frozenset(['<email address hidden>']) repo:CHKInventoryRepository('file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/branch/.bzr/repository/')>
5.133 creating branch <bzrlib.branch.BzrBranchFormat7 object at 0x9ce3d8c> in file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/copy/
5.141 created new branch BzrBranch7(file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/copy/)
5.144 trying to create missing lock '/tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/copy/.bzr/checkout/dirstate'
5.144 opening working tree '/tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/copy'
5.183 opening working tree '/tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/copy'
5.190 preparing to commit
INFO Committing to: /tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/branch/
5.194 Selecting files for commit with filter None
INFO Committed revision 2.
5.209 Committed revid <email address hidden> as revno 2.
5.219 Using fetch logic to copy between CHKInventoryRepository('file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/branch/.bzr/repository/')(RepositoryFormat2a()) and CHKInventoryRepository('file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/copy/.bzr/repository/')(RepositoryFormat2a())
5.219 fetching: <SearchResult search:(set(['<email address hidden>']), set(['null:', '<email address hidden>']), 1)>
5.235 Base revid: '<email address hidden>'
INFO All changes applied successfully.
5.243 check paths: None
------------
Text attachment: traceback
------------
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/testtools/runtest.py", line 169, in _run_user
return fn(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 499, in _run_test_method
return self._get_test_method()()
File "/root/.bazaar/plugins/xmloutput/tests/test_status_xml.py", line 173, in test_pending_xml
messageElem = fromstring(message.encode('utf-8','replace'))
File "<string>", line 85, in XML
SyntaxError: not well-formed (invalid token): line 1, column 390
------------
ERROR: bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml
Text attachment: log
------------
5.913 creating repository in file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/branch/.bzr/.
5.917 creating branch <bzrlib.branch.BzrBranchFormat7 object at 0xa345fec> in file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/codir/../branch/
5.923 creating branch reference in file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/codir/branch/
5.932 trying to create missing lock '/tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/codir/branch/.bzr/checkout/dirstate'
5.933 opening working tree '/tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/codir/branch'
5.944 preparing to commit
INFO Committing to: /tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/branch/
5.960 Selecting files for commit with filter None
INFO Committed revision 1.
5.979 Committed revid <email address hidden> as revno 1.
5.995 creating repository in file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/codir/copy/.bzr/.
6.000 Using fetch logic to copy between CHKInventoryRepository('file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/branch/.bzr/repository/')(RepositoryFormat2a()) and CHKInventoryRepository('file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/codir/copy/.bzr/repository/')(RepositoryFormat2a())
6.001 fetching: <PendingAncestryResult heads:frozenset(['<email address hidden>']) repo:CHKInventoryRepository('file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/branch/.bzr/repository/')>
6.015 creating branch <bzrlib.branch.BzrBranchFormat7 object at 0x9cd3f4c> in file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/codir/copy/
6.024 created new branch BzrBranch7(file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/codir/copy/)
6.028 trying to create missing lock '/tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/codir/copy/.bzr/checkout/dirstate'
6.029 opening working tree '/tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/codir/copy'
6.051 opening working tree '/tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/codir/copy'
6.057 preparing to commit
INFO Committing to: /tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/branch/
6.060 Selecting files for commit with filter None
INFO Committed revision 2.
6.073 Committed revid <email address hidden> as revno 2.
6.083 Using fetch logic to copy between CHKInventoryRepository('file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/branch/.bzr/repository/')(RepositoryFormat2a()) and CHKInventoryRepository('file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/codir/copy/.bzr/repository/')(RepositoryFormat2a())
6.083 fetching: <SearchResult search:(set(['<email address hidden>']), set(['null:', '<email address hidden>']), 1)>
6.099 Base revid: '<email address hidden>'
INFO All changes applied successfully.
6.108 check paths: None
------------
Text attachment: traceback
------------
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/testtools/runtest.py", line 169, in _run_user
return fn(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 499, in _run_test_method
return self._get_test_method()()
File "/root/.bazaar/plugins/xmloutput/tests/test_status_xml.py", line 173, in test_pending_xml
messageElem = fromstring(message.encode('utf-8','replace'))
File "<string>", line 85, in XML
SyntaxError: not well-formed (invalid token): line 1, column 398
------------
======================================================================
ERROR: bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml
----------------------------------------------------------------------
_StringException: Text attachment: log
------------
5.051 creating repository in file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/branch/.bzr/.
5.056 creating branch <bzrlib.branch.BzrBranchFormat7 object at 0x9fc310c> in file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/branch/
5.067 trying to create missing lock '/tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/branch/.bzr/checkout/dirstate'
5.068 opening working tree '/tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/branch'
5.081 preparing to commit
INFO Committing to: /tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/branch/
5.084 Selecting files for commit with filter None
INFO Committed revision 1.
5.099 Committed revid <email address hidden> as revno 1.
5.105 opening working tree '/tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/branch'
5.114 creating repository in file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/copy/.bzr/.
5.119 Using fetch logic to copy between CHKInventoryRepository('file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/branch/.bzr/repository/')(RepositoryFormat2a()) and CHKInventoryRepository('file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/copy/.bzr/repository/')(RepositoryFormat2a())
5.119 fetching: <PendingAncestryResult heads:frozenset(['<email address hidden>']) repo:CHKInventoryRepository('file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/branch/.bzr/repository/')>
5.133 creating branch <bzrlib.branch.BzrBranchFormat7 object at 0x9ce3d8c> in file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/copy/
5.141 created new branch BzrBranch7(file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/copy/)
5.144 trying to create missing lock '/tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/copy/.bzr/checkout/dirstate'
5.144 opening working tree '/tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/copy'
5.183 opening working tree '/tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/copy'
5.190 preparing to commit
INFO Committing to: /tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/branch/
5.194 Selecting files for commit with filter None
INFO Committed revision 2.
5.209 Committed revid <email address hidden> as revno 2.
5.219 Using fetch logic to copy between CHKInventoryRepository('file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/branch/.bzr/repository/')(RepositoryFormat2a()) and CHKInventoryRepository('file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.BranchStatus.test_pending_xml/work/copy/.bzr/repository/')(RepositoryFormat2a())
5.219 fetching: <SearchResult search:(set(['<email address hidden>']), set(['null:', '<email address hidden>']), 1)>
5.235 Base revid: '<email address hidden>'
INFO All changes applied successfully.
5.243 check paths: None
------------
Text attachment: traceback
------------
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/testtools/runtest.py", line 169, in _run_user
return fn(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 499, in _run_test_method
return self._get_test_method()()
File "/root/.bazaar/plugins/xmloutput/tests/test_status_xml.py", line 173, in test_pending_xml
messageElem = fromstring(message.encode('utf-8','replace'))
File "<string>", line 85, in XML
SyntaxError: not well-formed (invalid token): line 1, column 390
------------
======================================================================
ERROR: bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml
----------------------------------------------------------------------
_StringException: Text attachment: log
------------
5.913 creating repository in file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/branch/.bzr/.
5.917 creating branch <bzrlib.branch.BzrBranchFormat7 object at 0xa345fec> in file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/codir/../branch/
5.923 creating branch reference in file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/codir/branch/
5.932 trying to create missing lock '/tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/codir/branch/.bzr/checkout/dirstate'
5.933 opening working tree '/tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/codir/branch'
5.944 preparing to commit
INFO Committing to: /tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/branch/
5.960 Selecting files for commit with filter None
INFO Committed revision 1.
5.979 Committed revid <email address hidden> as revno 1.
5.995 creating repository in file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/codir/copy/.bzr/.
6.000 Using fetch logic to copy between CHKInventoryRepository('file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/branch/.bzr/repository/')(RepositoryFormat2a()) and CHKInventoryRepository('file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/codir/copy/.bzr/repository/')(RepositoryFormat2a())
6.001 fetching: <PendingAncestryResult heads:frozenset(['<email address hidden>']) repo:CHKInventoryRepository('file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/branch/.bzr/repository/')>
6.015 creating branch <bzrlib.branch.BzrBranchFormat7 object at 0x9cd3f4c> in file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/codir/copy/
6.024 created new branch BzrBranch7(file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/codir/copy/)
6.028 trying to create missing lock '/tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/codir/copy/.bzr/checkout/dirstate'
6.029 opening working tree '/tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/codir/copy'
6.051 opening working tree '/tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/codir/copy'
6.057 preparing to commit
INFO Committing to: /tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/branch/
6.060 Selecting files for commit with filter None
INFO Committed revision 2.
6.073 Committed revid <email address hidden> as revno 2.
6.083 Using fetch logic to copy between CHKInventoryRepository('file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/branch/.bzr/repository/')(RepositoryFormat2a()) and CHKInventoryRepository('file:///tmp/testbzr-b6dNY_.tmp/bzrlib.plugins.xmloutput.tests.test_status_xml.CheckoutStatus.test_pending_xml/work/codir/copy/.bzr/repository/')(RepositoryFormat2a())
6.083 fetching: <SearchResult search:(set(['<email address hidden>']), set(['null:', '<email address hidden>']), 1)>
6.099 Base revid: '<email address hidden>'
INFO All changes applied successfully.
6.108 check paths: None
------------
Text attachment: traceback
------------
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/testtools/runtest.py", line 169, in _run_user
return fn(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 499, in _run_test_method
return self._get_test_method()()
File "/root/.bazaar/plugins/xmloutput/tests/test_status_xml.py", line 173, in test_pending_xml
messageElem = fromstring(message.encode('utf-8','replace'))
File "<string>", line 85, in XML
SyntaxError: not well-formed (invalid token): line 1, column 398
------------
----------------------------------------------------------------------
Ran 85 tests in 14.190s
FAILED (errors=2)
2 tests skipped