Git Product home page Git Product logo

zuul's Introduction

Zuul

Zuul is a project gating system developed for the OpenStack Project.

Contributing

We are currently engaged in a significant development effort in preparation for the third major version of Zuul. We call this effort `Zuul v3`_ and it is described in this file in the feature/zuulv3 branch of this repo.

To browse the latest code, see: https://git.openstack.org/cgit/openstack-infra/zuul/tree/ To clone the latest code, use git clone git://git.openstack.org/openstack-infra/zuul

Bugs are handled at: https://storyboard.openstack.org/#!/project/679

Code reviews are, as you might expect, handled by gerrit at https://review.openstack.org

Use git review to submit patches (after creating a Gerrit account that links to your launchpad account). Example:

# Do your commits
$ git review
# Enter your username if prompted

zuul's People

Contributors

ajaeger avatar alex avatar anne-bonny avatar atdt avatar berendt avatar bonnyci[bot] avatar cboylan avatar dhellmann avatar emonty avatar frostman avatar fungi avatar gandelman-a avatar hashar avatar jamielennox avatar jeblair avatar jhesketh avatar jktjkt avatar krinkle avatar nakato avatar nibalizer avatar omgjlk avatar pabelanger avatar rattboi avatar sdague avatar svarnau avatar tbreeds avatar tempusfrangit avatar timrchavez avatar tobiashenkel avatar zxiiro avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zuul's Issues

Stack trace when getting github event

When a pull request is opened on a tracked repository we get the following in the logs

2016-11-25 04:38:32,956 DEBUG zuul.Scheduler: Adding trigger event: <TriggerEvent pr-reopen BonnyCI/sandbox master 1,a8c9edc8cde65837d5b91953f321fe054470e901>
2016-11-25 04:38:32,956 DEBUG zuul.Scheduler: Done adding trigger event: <TriggerEvent pr-reopen BonnyCI/sandbox master 1,a8c9edc8cde65837d5b91953f321fe054470e901>
2016-11-25 04:38:32,956 DEBUG zuul.Scheduler: Run handler awake
2016-11-25 04:38:32,957 DEBUG zuul.Scheduler: Fetching trigger event
2016-11-25 04:38:32,957 DEBUG zuul.Scheduler: Processing trigger event <TriggerEvent pr-reopen BonnyCI/sandbox master 1,a8c9edc8cde65837d5b91953f321fe054470e901>
2016-11-25 04:38:32,957 ERROR zuul.Scheduler: Exception in run handler:
Traceback (most recent call last):
  File "/opt/venvs/zuul/local/lib/python2.7/site-packages/zuul/scheduler.py", line 1019, in run
    self.process_event_queue()
  File "/opt/venvs/zuul/local/lib/python2.7/site-packages/zuul/scheduler.py", line 1066, in process_event_queue
    change = pipeline.source.getChange(event, project)
  File "/opt/venvs/zuul/local/lib/python2.7/site-packages/zuul/source/github.py", line 61, in getChange
    change.files = self.getPullFiles(project, change.number)
  File "/opt/venvs/zuul/local/lib/python2.7/site-packages/zuul/source/github.py", line 91, in getPullFiles
    owner, project = project.name.split('/')
AttributeError: 'NoneType' object has no attribute 'name'

Zuul occassionally fails to complete event actions

Temporary dns failures for api.github.com occasionally cause zuul to fail to complete actions such as setting status, and the following traceback can be seen in the server.log:

 2017-01-19 21:03:08,677 ERROR zuul.Scheduler: Exception in run handler:
 Traceback (most recent call last):
   File "/opt/venvs/zuul/local/lib/python2.7/site-packages/zuul/scheduler.py", line 1019, in run
     self.process_event_queue()
   File "/opt/venvs/zuul/local/lib/python2.7/site-packages/zuul/scheduler.py", line 1066, in process_event_queue
     change = pipeline.source.getChange(event, project)
   File "/opt/venvs/zuul/local/lib/python2.7/site-packages/zuul/source/github.py", line 61, in getChange
     change.files = self.getPullFiles(project, change.number)
   File "/opt/venvs/zuul/local/lib/python2.7/site-packages/zuul/source/github.py", line 92, in getPullFiles
     return self.connection.getPullFileNames(owner, project, number)
   File "/opt/venvs/zuul/local/lib/python2.7/site-packages/zuul/connection/github.py", line 306, in getPullFileNames
     integration_key_file = config.get('integration_key')
   File "/opt/venvs/zuul/local/lib/python2.7/site-packages/github3/github.py", line 930, in pull_request
     json = self._json(self._get(url), 200)
   File "/opt/venvs/zuul/local/lib/python2.7/site-packages/github3/models.py", line 187, in _get
     return self.session.get(url, **kwargs)
   File "/opt/venvs/zuul/local/lib/python2.7/site-packages/requests/sessions.py", line 501, in get
     return self.request('GET', url, **kwargs)
   File "/opt/venvs/zuul/local/lib/python2.7/site-packages/github3/session.py", line 88, in request
     response = super(GitHubSession, self).request(*args, **kwargs)
   File "/opt/venvs/zuul/local/lib/python2.7/site-packages/requests/sessions.py", line 488, in request
     resp = self.send(prep, **send_kwargs)
   File "/opt/venvs/zuul/local/lib/python2.7/site-packages/requests/sessions.py", line 609, in send
     r = adapter.send(request, **kwargs)
   File "/opt/venvs/zuul/local/lib/python2.7/site-packages/requests/adapters.py", line 487, in send
     raise ConnectionError(e, request=request)
 ConnectionError: HTTPSConnectionPool(host='api.github.com', port=443): Max retries exceeded with url: /repos/BonnyCI/hoist/pulls/61 (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f35c05937d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.