Closed Bug 719010 Opened 12 years ago Closed 12 years ago

AggregatingScheduler doesn't work properly with mysql

Categories

(Release Engineering :: General, defect, P1)

x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rail, Assigned: rail)

Details

Attachments

(1 file)

2012-01-18 05:01:38-0800 [-] Unhandled Error
            Traceback (most recent call last):
              File "/usr/lib64/python2.6/threading.py", line 504, in __bootstrap
                self.__bootstrap_inner()
              File "/usr/lib64/python2.6/threading.py", line 532, in __bootstrap_inner
                self.run()
              File "/usr/lib64/python2.6/threading.py", line 484, in run
                self.__target(*self.__args, **self.__kwargs)
            --- <exception caught here> ---
              File "/builds/buildbot/build1/lib/python2.6/site-packages/twisted/python/threadpool.py", line 207, in _worker
                result = context.call(ctx, function, *args, **kwargs)
              File "/builds/buildbot/build1/lib/python2.6/site-packages/twisted/python/context.py", line 59, in callWithContext
                return self.currentContext().callWithContext(ctx, func, *args, **kw)
              File "/builds/buildbot/build1/lib/python2.6/site-packages/twisted/python/context.py", line 37, in callWithContext
                return func(*args,**kw)
              File "/builds/buildbot/build1/lib/python2.6/site-packages/twisted/enterprise/adbapi.py", line 429, in _runInteraction
                result = interaction(trans, *args, **kw)
              File "/builds/buildbot/build1/lib/python2.6/site-packages/buildbotcustom/scheduler.py", line 423, in _run
                newBuilds = self.findNewBuilds(db, t, lastCheck)
              File "/builds/buildbot/build1/lib/python2.6/site-packages/buildbotcustom/scheduler.py", line 412, in findNewBuilds
                (lastCheck,))
              File "/builds/buildbot/build1/lib/python2.6/site-packages/buildbot-0.8.2_hg_aeaa057e9df6_production_0.8-py2.6.egg/buildbot/db/connector.py", line 63, in execute
                return self._cursor.execute(*args, **kwargs)
              File "/builds/buildbot/build1/lib/python2.6/site-packages/MySQLdb/cursors.py", line 159, in execute
                query = query % db.literal(args)
            exceptions.TypeError: not all arguments converted during string formatting
Attached patch use quoteqSplinter Review
Attachment #589482 - Flags: review?(catlee)
Attachment #589482 - Flags: review?(catlee) → review+
No more exceptions in the logs for more than 1h.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: