[Buildbot-commits] [Buildbot] #2043: Upgrades from 0.8.3 get column lengths wrong

Buildbot nobody at buildbot.net
Sun Jul 10 20:03:06 UTC 2011


#2043: Upgrades from 0.8.3 get column lengths wrong
---------------------+----------------------
Reporter:  dustin    |      Owner:
    Type:  defect    |     Status:  new
Priority:  critical  |  Milestone:  0.8.5
 Version:  0.8.4p1   |   Keywords:  database
---------------------+----------------------
 From 0.8.3:
 {{{
 ===============================================================================
 [FAIL]
 Traceback (most recent call last):
   File
 "/home/dustin/code/buildbot/t/buildbot/master/buildbot/test/integration/test_upgrade.py",
 line 91, in check
     self.fail(str(diff))
 twisted.trial.unittest.FailTest: Schema diffs:
   tables missing from model: sqlite_sequence
   tables missing from database: version
   table with differences: changes
     column with differences: branch
          model: Column('branch', String(length=256, convert_unicode=False,
 assert_unicode=None, unicode_error=None, _warn_on_bytestring=False),
 table=<changes>)
       database: Column(u'branch', VARCHAR(length=1024,
 convert_unicode=False, assert_unicode=None, unicode_error=None,
 _warn_on_bytestring=False), table=<changes>)
     column with differences: author
          model: Column('author', String(length=256, convert_unicode=False,
 assert_unicode=None, unicode_error=None, _warn_on_bytestring=False),
 table=<changes>, nullable=False)
       database: Column(u'author', VARCHAR(length=1024,
 convert_unicode=False, assert_unicode=None, unicode_error=None,
 _warn_on_bytestring=False), table=<changes>, nullable=False)
   table with differences: schedulers
     column with differences: class_name
          model: Column('class_name', String(length=128,
 convert_unicode=False, assert_unicode=None, unicode_error=None,
 _warn_on_bytestring=False), table=<schedulers>, nullable=False)
       database: Column(u'class_name', VARCHAR(length=100,
 convert_unicode=False, assert_unicode=None, unicode_error=None,
 _warn_on_bytestring=False), table=<schedulers>, nullable=False)
     column with differences: name
          model: Column('name', String(length=128, convert_unicode=False,
 assert_unicode=None, unicode_error=None, _warn_on_bytestring=False),
 table=<schedulers>, nullable=False)
       database: Column(u'name', VARCHAR(length=100, convert_unicode=False,
 assert_unicode=None, unicode_error=None, _warn_on_bytestring=False),
 table=<schedulers>, nullable=False)

 buildbot.test.integration.test_upgrade.UpgradeTestV083.test_test
 -------------------------------------------------------------------------------
 }}}

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2043>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list