[OpenStack-Infra] ERROR gear.Server: Exception in poll loop

Wang Shilong wshilong at ddn.com
Wed May 24 11:37:35 UTC 2017


Hi Guys,

      I hit an error in My CI setup, somehow Gear could not call
Jenkins jobs. zuul could watch gerrit events fine.

And I tried this 'root at r52:~/gearman-plugin-client# python gear_client.py -s localhost --function=build:noop-check-communication'  it could work.

But i hit gear errors 
$ cat /var/log/zuul/gearman-server.log 
2017-05-24 20:22:13,043 ERROR gear.Server: Exception in poll loop:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/gear/__init__.py", line 2903, in _doPollLoop
    self.log.exception("Exception in poll loop:")
  File "/usr/local/lib/python2.7/dist-packages/gear/__init__.py", line 2916, in _pollLoop
    for fd, event in ret:
IOError: [Errno 4] Interrupted system call
2017-05-24 20:22:14,081 ERROR gear.Server: Exception in poll loop:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/gear/__init__.py", line 2903, in _doPollLoop
    self.log.exception("Exception in poll loop:")
  File "/usr/local/lib/python2.7/dist-packages/gear/__init__.py", line 2916, in _pollLoop
    for fd, event in ret:
IOError: [Errno 4] Interrupted system call

Zuul logs like following:
2017-05-24 11:42:41,857 ERROR gear.Client.unknown: Exception in poll loop:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/gear/__init__.py", line 830, in _doPollLoop
    try:
  File "/usr/local/lib/python2.7/dist-packages/gear/__init__.py", line 856, in _pollLoop
    len(self.active_connections))
error: (4, 'Interrupted system call')
2017-05-24 11:45:24,565 INFO zuul.Server: Starting scheduler
2017-05-24 11:45:53,960 INFO zuul.Scheduler: Registering foreign project: openstack/diskimage-builder
2017-05-24 11:45:54,417 INFO zuul.Scheduler: Registering foreign project: openstack/nova
2017-05-24 11:46:03,840 INFO zuul.Scheduler: Registering foreign project: openstack/openstack-helm
2017-05-24 11:46:10,344 INFO zuul.Scheduler: Registering foreign project: openstack/daisycloud-core
2017-05-24 11:46:45,066 INFO zuul.Scheduler: Registering foreign project: openstack/neutron-lib
2017-05-24 11:46:57,904 WARNING zuul.GerritEventConnector: Received unrecognized event type 'ref-replicated' from Gerrit.                    Can not get account information.
2017-05-24 11:46:58,045 WARNING zuul.GerritEventConnector: Received unrecognized event type 'ref-replicated' from Gerrit.                    Can not get account information.
2017-05-24 11:46:58,280 WARNING zuul.GerritEventConnector: Received unrecognized event type 'ref-replicated' from Gerrit.                    Can not get account information.
2017-05-24 11:46:58,422 WARNING zuul.GerritEventConnector: Received unrecognized event type 'ref-replicated' from Gerrit.                    Can not get account information.
2017-05-24 11:46:58,423 WARNING zuul.GerritEventConnector: Received unrecognized event type 'ref-replicated' from Gerrit.                    Can not get account information.
....

Any help is much appreciated!

Thanks,
Shilong


More information about the OpenStack-Infra mailing list