Closed Bug 623721 Opened 14 years ago Closed 14 years ago

sqlite3.ProgrammingError and sqlite3.DatabaseError exceptions during staging release

Categories

(Release Engineering :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: armenzg, Unassigned)

Details

(Whiteboard: [releases])

I got these exceptions when try to run the staging release for beta9. 2011-01-06 13:57:00-0800 [-] Unhandled Error Traceback (most recent call last): File "/tools/python-2.6.5/lib/python2.6/threading.py", line 504, in __bootstrap self.__bootstrap_inner() File "/tools/python-2.6.5/lib/python2.6/threading.py", line 532, in __bootstrap_inner self.run() File "/tools/python-2.6.5/lib/python2.6/threading.py", line 484, in run self.__target(*self.__args, **self.__kwargs) --- <exception caught here> --- File "/tools/buildbot-0.8.2/lib/python2.6/site-packages/Twisted-10.1.0-py2.6-linux-i686.egg/twisted/python/threadpool.py", line 207, in _worker result = context.call(ctx, function, *args, **kwargs) File "/tools/buildbot-0.8.2/lib/python2.6/site-packages/Twisted-10.1.0-py2.6-linux-i686.egg/twisted/python/context.py", line 59, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/tools/buildbot-0.8.2/lib/python2.6/site-packages/Twisted-10.1.0-py2.6-linux-i686.egg/twisted/python/context.py", line 37, in callWithContext return func(*args,**kw) File "/tools/buildbot-0.8.2/lib/python2.6/site-packages/Twisted-10.1.0-py2.6-linux-i686.egg/twisted/enterprise/adbapi.py", line 429, in _runInteraction result = interaction(trans, *args, **kw) File "/tools/buildbot-0.8.2/lib/python2.6/site-packages/buildbot-0.8.2_hg_a63f22816750_production_0.8-py2.6.egg/buildbot/schedulers/base.py", line 138, in classify_changes last_processed = state['last_processed'] = cm.getLatestChangeNumberNow(t) File "/tools/buildbot-0.8.2/lib/python2.6/site-packages/buildbot-0.8.2_hg_a63f22816750_production_0.8-py2.6.egg/buildbot/changes/manager.py", line 145, in getLatestChangeNumberNow return self.parent.db.getLatestChangeNumberNow(branch=branch, t=t) File "/tools/buildbot-0.8.2/lib/python2.6/site-packages/buildbot-0.8.2_hg_a63f22816750_production_0.8-py2.6.egg/buildbot/db/connector.py", line 372, in getLatestChangeNumberNow return self.runInteractionNow(self._txn_getLatestChangeNumber) File "/tools/buildbot-0.8.2/lib/python2.6/site-packages/buildbot-0.8.2_hg_a63f22816750_production_0.8-py2.6.egg/buildbot/db/connector.py", line 212, in runInteractionNow return self._runInteractionNow(interaction, *args, **kwargs) File "/tools/buildbot-0.8.2/lib/python2.6/site-packages/buildbot-0.8.2_hg_a63f22816750_production_0.8-py2.6.egg/buildbot/db/connector.py", line 235, in _runInteractionNow c = conn.cursor() File "/tools/buildbot-0.8.2/lib/python2.6/site-packages/buildbot-0.8.2_hg_a63f22816750_production_0.8-py2.6.egg/buildbot/db/dbspec.py", line 131, in cursor return RetryingCursor(self.dbapi, self.conn.cursor()) sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread.The object was created in thread id 1073810576 and this is thread id 1563450256 2011-01-06 13:57:00-0800 [-] Unhandled Error Traceback (most recent call last): File "/tools/python-2.6.5/lib/python2.6/threading.py", line 504, in __bootstrap self.__bootstrap_inner() File "/tools/python-2.6.5/lib/python2.6/threading.py", line 532, in __bootstrap_inner self.run() File "/tools/python-2.6.5/lib/python2.6/threading.py", line 484, in run self.__target(*self.__args, **self.__kwargs) --- <exception caught here> --- File "/tools/buildbot-0.8.2/lib/python2.6/site-packages/Twisted-10.1.0-py2.6-linux-i686.egg/twisted/python/threadpool.py", line 207, in _worker result = context.call(ctx, function, *args, **kwargs) File "/tools/buildbot-0.8.2/lib/python2.6/site-packages/Twisted-10.1.0-py2.6-linux-i686.egg/twisted/python/context.py", line 59, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/tools/buildbot-0.8.2/lib/python2.6/site-packages/Twisted-10.1.0-py2.6-linux-i686.egg/twisted/python/context.py", line 37, in callWithContext return func(*args,**kw) File "/tools/buildbot-0.8.2/lib/python2.6/site-packages/Twisted-10.1.0-py2.6-linux-i686.egg/twisted/enterprise/adbapi.py", line 429, in _runInteraction result = interaction(trans, *args, **kw) File "/tools/buildbot-0.8.2/lib/python2.6/site-packages/buildbot-0.8.2_hg_a63f22816750_production_0.8-py2.6.egg/buildbot/schedulers/base.py", line 133, in classify_changes state = self.get_state(t) File "/tools/buildbot-0.8.2/lib/python2.6/site-packages/buildbot-0.8.2_hg_a63f22816750_production_0.8-py2.6.egg/buildbot/schedulers/base.py", line 90, in get_state return self.parent.db.scheduler_get_state(self.schedulerid, t) File "/tools/buildbot-0.8.2/lib/python2.6/site-packages/buildbot-0.8.2_hg_a63f22816750_production_0.8-py2.6.egg/buildbot/db/connector.py", line 654, in scheduler_get_state t.execute(q, (schedulerid,)) File "/tools/buildbot-0.8.2/lib/python2.6/site-packages/buildbot-0.8.2_hg_a63f22816750_production_0.8-py2.6.egg/buildbot/db/connector.py", line 63, in execute return self._cursor.execute(*args, **kwargs) File "/tools/buildbot-0.8.2/lib/python2.6/site-packages/buildbot-0.8.2_hg_a63f22816750_production_0.8-py2.6.egg/buildbot/db/dbspec.py", line 105, in execute result = self.cursor.execute(*args, **kw) sqlite3.DatabaseError: database disk image is malformed
I'm wondering if the recent out-of-disk on staging master corrupted the sqlite file somehow?
Not sure what to do here.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
That's fine. No worries. I thought to file it in case you knew something about it.
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.