Advertisement
Guest User

HGPoller Error 2

a guest
Jun 23rd, 2017
531
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.45 KB | None | 0 0
  1. 2017-06-23 11:55:41-0700 [-] initializing www plugin 'console_view'
  2. 2017-06-23 11:55:41-0700 [-] initializing www plugin 'waterfall_view'
  3. 2017-06-23 11:55:41-0700 [-] BuildbotSite starting on 8011
  4. 2017-06-23 11:55:41-0700 [-] Starting factory <buildbot.www.service.BuildbotSite object at 0x7f9358821e48>
  5. 2017-06-23 11:55:41-0700 [-] adding 1 new workers, removing 0
  6. 2017-06-23 11:55:41-0700 [-] PBServerFactory starting on 9990
  7. 2017-06-23 11:55:41-0700 [-] Starting factory <twisted.spread.pb.PBServerFactory object at 0x7f93588282e8>
  8. 2017-06-23 11:55:41-0700 [-] BuildMaster is running
  9. 2017-06-23 11:55:41-0700 [-] buildbotNetUsageData: sending {'db': 'sqlite', 'versions': {'Buildbot': '0.9.8', 'Twisted': '17.5.0', 'Python': '3.5.2'}, 'www_plugins': ['console_view', 'waterfall_view'], 'mq': 'simple', 'platform': {'version': '#1 SMP Debian 3.16.7-ckt25-2+deb8u3', 'processor': '', 'machine': 'x86_64', 'system': 'Linux', 'python_implementation': 'CPython', 'platform': 'Linux-3.16.0-4-amd64-x86_64-with-debian-8.5', 'distro': 'debian:8'}, 'installid': '776248e31daa4dddd65569ef5e7013d801814ca0', 'plugins': {'buildbot/steps/source/mercurial/Mercurial': 1, 'buildbot/config/BuilderConfig': 1, 'buildbot/schedulers/forcesched/ForceScheduler': 1, 'buildbot/steps/shell/ShellCommand': 1, 'buildbot/schedulers/basic/SingleBranchScheduler': 1, 'buildbot/worker/base/Worker': 1, 'buildbot/changes/hgpoller/HgPoller': 1}}
  10. 2017-06-23 11:55:41-0700 [-] buildbotNetUsageData: buildbot.net said: ok
  11. 2017-06-23 11:56:40-0700 [-] hgpoller: polling hg repo at ssh://hg@hg.foo.com/sandbox/litterbox
  12. 2017-06-23 11:56:41-0700 [-] hgpoller: processing 1 changes: [[b'201', b'eefa9bb8899d402ab4793ea60b99bf867625e63d']] in '/home/bobthebuilder/p3/tmp/bb-master/master/poll-workdir'
  13. 2017-06-23 11:56:41-0700 [-] added change with revision b'eefa9bb8899d402ab4793ea60b99bf867625e63d' to database
  14. 2017-06-23 11:56:41-0700 [-] Got fatal Exception on DB
  15. Traceback (most recent call last):
  16. File "/home/bobthebuilder/p3/tmp/bb-master/sandbox/lib/python3.5/site-packages/twisted/python/threadpool.py", line 266, in <lambda>
  17. inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
  18. File "/home/bobthebuilder/p3/tmp/bb-master/sandbox/lib/python3.5/site-packages/twisted/python/context.py", line 122, in callWithContext
  19. return self.currentContext().callWithContext(ctx, func, *args, **kw)
  20. File "/home/bobthebuilder/p3/tmp/bb-master/sandbox/lib/python3.5/site-packages/twisted/python/context.py", line 85, in callWithContext
  21. return func(*args,**kw)
  22. File "/home/bobthebuilder/p3/tmp/bb-master/sandbox/lib/python3.5/site-packages/buildbot/db/pool.py", line 209, in __thd
  23. log.err(e, 'Got fatal Exception on DB')
  24. --- <exception caught here> ---
  25. File "/home/bobthebuilder/p3/tmp/bb-master/sandbox/lib/python3.5/site-packages/buildbot/db/pool.py", line 183, in __thd
  26. rv = callable(arg, *args, **kwargs)
  27. File "/home/bobthebuilder/p3/tmp/bb-master/sandbox/lib/python3.5/site-packages/buildbot/db/state.py", line 124, in thd
  28. return self.thdSetState(conn, objectid, name, value)
  29. File "/home/bobthebuilder/p3/tmp/bb-master/sandbox/lib/python3.5/site-packages/buildbot/db/state.py", line 133, in thdSetState
  30. raise TypeError("Error encoding JSON for %r" % (value,))
  31. builtins.TypeError: Error encoding JSON for b'201'
  32.  
  33. 2017-06-23 11:56:41-0700 [-] hgpoller: repo poll failed
  34. 2017-06-23 11:56:41-0700 [-] Unhandled Error
  35. Traceback (most recent call last):
  36. File "/home/bobthebuilder/p3/tmp/bb-master/sandbox/lib/python3.5/site-packages/twisted/internet/defer.py", line 500, in errback
  37. self._startRunCallbacks(fail)
  38. File "/home/bobthebuilder/p3/tmp/bb-master/sandbox/lib/python3.5/site-packages/twisted/internet/defer.py", line 567, in _startRunCallbacks
  39. self._runCallbacks()
  40. File "/home/bobthebuilder/p3/tmp/bb-master/sandbox/lib/python3.5/site-packages/twisted/internet/defer.py", line 653, in _runCallbacks
  41. current.result = callback(current.result, *args, **kw)
  42. File "/home/bobthebuilder/p3/tmp/bb-master/sandbox/lib/python3.5/site-packages/twisted/internet/defer.py", line 1442, in gotResult
  43. _inlineCallbacks(r, g, deferred)
  44. --- <exception caught here> ---
  45. File "/home/bobthebuilder/p3/tmp/bb-master/sandbox/lib/python3.5/site-packages/twisted/internet/defer.py", line 1384, in _inlineCallbacks
  46. result = result.throwExceptionIntoGenerator(g)
  47. File "/home/bobthebuilder/p3/tmp/bb-master/sandbox/lib/python3.5/site-packages/twisted/python/failure.py", line 393, in throwExceptionIntoGenerator
  48. return g.throw(self.type, self.value, self.tb)
  49. File "/home/bobthebuilder/p3/tmp/bb-master/sandbox/lib/python3.5/site-packages/buildbot/changes/hgpoller.py", line 303, in _processChanges
  50. yield self._setCurrentRev(rev, oid=oid)
  51. File "/home/bobthebuilder/p3/tmp/bb-master/sandbox/lib/python3.5/site-packages/twisted/python/threadpool.py", line 250, in inContext
  52. result = inContext.theWork()
  53. File "/home/bobthebuilder/p3/tmp/bb-master/sandbox/lib/python3.5/site-packages/twisted/python/threadpool.py", line 266, in <lambda>
  54. inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
  55. File "/home/bobthebuilder/p3/tmp/bb-master/sandbox/lib/python3.5/site-packages/twisted/python/context.py", line 122, in callWithContext
  56. return self.currentContext().callWithContext(ctx, func, *args, **kw)
  57. File "/home/bobthebuilder/p3/tmp/bb-master/sandbox/lib/python3.5/site-packages/twisted/python/context.py", line 85, in callWithContext
  58. return func(*args,**kw)
  59. File "/home/bobthebuilder/p3/tmp/bb-master/sandbox/lib/python3.5/site-packages/buildbot/db/pool.py", line 183, in __thd
  60. rv = callable(arg, *args, **kwargs)
  61. File "/home/bobthebuilder/p3/tmp/bb-master/sandbox/lib/python3.5/site-packages/buildbot/db/state.py", line 124, in thd
  62. return self.thdSetState(conn, objectid, name, value)
  63. File "/home/bobthebuilder/p3/tmp/bb-master/sandbox/lib/python3.5/site-packages/buildbot/db/state.py", line 133, in thdSetState
  64. raise TypeError("Error encoding JSON for %r" % (value,))
  65. builtins.TypeError: Error encoding JSON for b'201'
  66.  
  67. 2017-06-23 11:56:41-0700 [-] added buildset 1 to database
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement