AttributeError: 'cStringIO.StringI' object has no attribute 'split' in parse_changelog

Bug #914634 reported by Max Brustkern
30
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Confirmed
Undecided
Unassigned

Bug Description

I've been trying to build these two recipes:
https://code.launchpad.net/~nuclearbob/+recipe/qa-regression-testing-max-daily
https://code.launchpad.net/~nuclearbob/+recipe/max-qrt-daily
Over the past couple of days. They both build correctly on my laptop, but when launchpad tries to build them, I get:
Building recipe:
# bzr-builder format 0.4 deb-version 0.{revno}
lp:~nuclearbob/+junk/max-qrt

RUN ['bzr', 'dailydeb', '--safe', '--no-build', '/home/buildd/build-575bf22846c60b136b2e2751842085c85184afd4/chroot-autobuild/home/buildd/work/recipe', '/home/buildd/build-575bf22846c60b136b2e2751842085c85184afd4/chroot-autobuild/home/buildd/work/tree', '--manifest', '/home/buildd/build-575bf22846c60b136b2e2751842085c85184afd4/chroot-autobuild/home/buildd/work/tree/manifest', '--allow-fallback-to-native', '--append-version', '~lucid1']
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data. See "bzr help launchpad-login".
bzr: ERROR: exceptions.AttributeError: 'cStringIO.StringI' object has no attribute 'split'

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 946, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 1150, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 699, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 721, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/builder/cmds.py", line 620, in run
    possible_transports=possible_transports)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/builder/cmds.py", line 463, in _get_prepared_branch_from_location
    changed = resolve_revisions(base_branch, if_changed_from=old_recipe)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/builder/recipe.py", line 653, in resolve_revisions
    if_changed_from=if_changed_from_revisions)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/builder/recipe.py", line 602, in _resolve_revisions_recurse
    substitute_branch_vars(new_branch.name, new_branch.branch, new_branch.revid)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/builder/recipe.py", line 1018, in substitute_branch_vars
    cl = changelog.Changelog(tree.get_file(cl_file_id))
  File "/var/lib/python-support/python2.5/debian_bundle/changelog.py", line 203, in __init__
    self.parse_changelog(file, max_blocks, allow_empty_author=allow_empty_author)
  File "/var/lib/python-support/python2.5/debian_bundle/changelog.py", line 222, in parse_changelog
    for line in self._file.split('\n'):
AttributeError: 'cStringIO.StringI' object has no attribute 'split'

bzr 2.4.0 on python 2.5.2 (Linux-2.6.24-29-xen-x86_64-with-debian-lenny-sid)
arguments: ['/usr/bin/bzr', 'dailydeb', '--safe', '--no-build', '/home/buildd
    /build-575bf22846c60b136b2e2751842085c85184afd4/chroot-
    autobuild/home/buildd/work/recipe', '/home/buildd/build-
    575bf22846c60b136b2e2751842085c85184afd4/chroot-
    autobuild/home/buildd/work/tree', '--manifest', '/home/buildd/build-
    575bf22846c60b136b2e2751842085c85184afd4/chroot-
    autobuild/home/buildd/work/tree/manifest', '--allow-fallback-to-native',
    '--append-version', '~lucid1']
plugins: bash_completion[2.4.0], builder[0.7.2dev], changelog_merge[2.4.0],
    launchpad[2.4.0], netrc_credential_store[2.4.0], news_merge[2.4.0],
    weave_fmt[2.4.0]
encoding: 'ANSI_X3.4-1968', fsenc: 'ANSI_X3.4-1968', lang: None

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.
(0.81204999999999994, 0.052003000000000001, 0, 0, 0, 0, 7551, 16, 0, 7208, 0, 0, 0, 0, 280, 66)

This is one log:
https://launchpadlibrarian.net/89554806/buildlog.txt.gz
I have seen this on kutjera, platinum, samarium, thallium, and titanium.

Martin Pool (mbp)
summary: - Build servers showing "You have not informed bzr of your Launchpad ID"
+ AttributeError: 'cStringIO.StringI' object has no attribute 'split' in
+ parse_changelog
Revision history for this message
Martin Pool (mbp) wrote :

Something is failing trying to parse the changelog. Can you please attach the changelog from your branch to this bug?

It is nothing to do with the ssh thing and I doubt it's machine specific.

Revision history for this message
Max Brustkern (nuclearbob) wrote :

Here is the changelog from the branch specified in the first recipe.

Revision history for this message
Max Brustkern (nuclearbob) wrote :

The changelog for the branch for the first recipe is still the same, but last night, all builds except Hardy succeeded. Hardy failed because the package requires a higher version of debhelper than hardy has available. This bug is no longer affecting me, but I'm not sure what's changed.

Revision history for this message
Max Brustkern (nuclearbob) wrote :

I spoke too soon. The second recipe is still failing. Here is the changelog for that. It does build using bzr dailydeb/pbuilder.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in launchpad:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.