Starting local master fails with exceptions.AttributeError: 'module' object has no attribute 'register_global_metrics' |
|
Issue descriptionRunning this from an synced infra checkout at aae8db911c321faba832c6531e3c13eb01497cb6. build is at 2c5dd84cc74d0a650aa4cdc040daa8103124a7c4 Running "NO_REVISION_AUDIT=1 TESTING_MASTER=1 make start" gives me: Traceback (most recent call last): File "/usr/local/google/home/hinoka/work/infra/build/third_party/twisted_10_2/twisted/application/app.py", line 631, in run runApp(config) File "/usr/local/google/home/hinoka/work/infra/build/third_party/twisted_10_2/twisted/scripts/twistd.py", line 23, in runApp _SomeApplicationRunner(config).run() File "/usr/local/google/home/hinoka/work/infra/build/third_party/twisted_10_2/twisted/application/app.py", line 374, in run self.application = self.createOrGetApplication() File "/usr/local/google/home/hinoka/work/infra/build/third_party/twisted_10_2/twisted/application/app.py", line 439, in createOrGetApplication application = getApplication(self.config, passphrase) --- <exception caught here> --- File "/usr/local/google/home/hinoka/work/infra/build/third_party/twisted_10_2/twisted/application/app.py", line 450, in getApplication application = service.loadApplication(filename, style, passphrase) File "/usr/local/google/home/hinoka/work/infra/build/third_party/twisted_10_2/twisted/application/service.py", line 409, in loadApplication application = sob.loadValueFromFile(filename, 'application', passphrase) File "/usr/local/google/home/hinoka/work/infra/build/third_party/twisted_10_2/twisted/persisted/sob.py", line 210, in loadValueFromFile exec fileObj in d, d File "../../../build/masters/buildbot.tac", line 15, in <module> from buildbot.master import BuildMaster File "/usr/local/google/home/hinoka/work/infra/build/third_party/buildbot_8_4p1/buildbot/master.py", line 54, in <module> from buildbot.db import connector, exceptions File "/usr/local/google/home/hinoka/work/infra/build/third_party/buildbot_8_4p1/buildbot/db/connector.py", line 20, in <module> from buildbot.db import pool, model, changes, schedulers, sourcestamps File "/usr/local/google/home/hinoka/work/infra/build/third_party/buildbot_8_4p1/buildbot/db/pool.py", line 22, in <module> from twisted.python import threadpool, failure, versions, log File "/usr/local/google/home/hinoka/work/infra/build/third_party/twisted_10_2/twisted/python/threadpool.py", line 31, in <module> class ThreadPool: File "/usr/local/google/home/hinoka/work/infra/build/third_party/twisted_10_2/twisted/python/threadpool.py", line 77, in ThreadPool ts_mon.register_global_metrics([ exceptions.AttributeError: 'module' object has no attribute 'register_global_metrics' Failed to load application: 'module' object has no attribute 'register_global_metrics'
,
May 5 2017
Ah thats where it was hiding... it works now. Weird that gclient sync in infra didn't update that dependency.
,
May 5 2017
Yeah :( It seems to skip some dependencies if they have local changes, or a dirty working tree? Not sure. Anyway glad it works now. |
|
►
Sign in to add a comment |
|
Comment 1 by dsansome@chromium.org
, May 5 2017