The Gatekeeper, or a project gating system
Go to file
Tobias Henkel f08d66f81f
Increase timeout for zuul to settle in tests
We're seeing a lot of occurrences where a test case failed with the
message 'Timeout waiting for zuul to settle' withoutany obvious
reason. After digging into one of these logs more deeply it gets
aborted just while doing regular git stuff during job
preparation. Thus it looks like the default timeout of 30 seconds is
just not enough on some slower nodes.

[1] Log snippet
2019-02-04 06:39:57,848 zuul.AnsibleJob                  DEBUG    [build: 19a6f8c3d35e49c29f89e83b8cb1204a] Create reference refs/heads/master at 1b86034fbdea80f4973c15b72ac85a676da0c315 in /tmp/tmpljq8cb9b
/zuul-test/19a6f8c3d35e49c29f89e83b8cb1204a/work/src/review.example.com/org/project
2019-02-04 06:39:57,859 git.cmd                          DEBUG    Popen(['git', 'cat-file', '--batch-check'], cwd=/tmp/tmpljq8cb9b/zuul-test/19a6f8c3d35e49c29f89e83b8cb1204a/work/src/review.example.com/org/
project, universal_newlines=False, shell=None)
2019-02-04 06:39:57,868 zuul.test                        ERROR    Timeout waiting for Zuul to settle
2019-02-04 06:39:57,869 zuul.test                        ERROR    Queue status:
2019-02-04 06:39:57,869 zuul.test                        ERROR      <queue.Queue object at 0x7fea0c2426d8>: True
2019-02-04 06:39:57,869 zuul.test                        ERROR      <queue.Queue object at 0x7fea0c242278>: True
2019-02-04 06:39:57,869 zuul.test                        ERROR      <zuul.lib.queue.MergedQueue object at 0x7fea0c242630>: True
2019-02-04 06:39:57,869 zuul.test                        ERROR      <queue.Queue object at 0x7fea0c095eb8>: True
2019-02-04 06:39:57,869 zuul.test                        DEBUG    <Build 19a6f8c3d35e49c29f89e83b8cb1204a of project-test1 voting:True on <Worker Unknown>> has not reported start
2019-02-04 06:39:57,869 zuul.test                        ERROR    All builds waiting: False
2019-02-04 06:39:57,870 zuul.test                        ERROR    All builds reported: True
2019-02-04 06:39:57,870 zuul.test                        ERROR    All requests completed: True
2019-02-04 06:39:57,870 zuul.test                        ERROR    Merge client jobs: set()

Change-Id: I48b0e452c894e0767625465daa749837bb1bd8fd
2019-02-04 08:07:52 +01:00
doc Merge "Incoming connections over 19885/TCP are needed on nodes" 2019-01-28 18:18:39 +00:00
etc Fix indent error for layout.yaml-sample. 2018-06-20 12:20:23 +08:00
playbooks Build zuul containers with dockerfile not pbrx 2019-01-24 16:11:31 +00:00
releasenotes/notes Set allowed-projects on untrusted jobs with secrets 2019-01-22 14:01:10 -08:00
tests Increase timeout for zuul to settle in tests 2019-02-04 08:07:52 +01:00
tools Use sudo -E in install-js-tools only if not root 2019-01-21 19:23:07 +00:00
web Switch back to three columns for mid sized screens 2019-01-02 17:37:07 +01:00
zuul Merge "model: remove unused job's BranchMatcher procedures" 2019-02-01 01:07:37 +00:00
.coveragerc Revert "Revert "Switch to stestr"" 2018-05-17 08:33:40 -07:00
.dockerignore Add a minimal dockerignore file 2019-01-21 18:50:26 +00:00
.gitignore Fix ignored but tracked .keep file 2018-12-02 09:12:25 +01:00
.gitreview Updated .gitreview location 2012-12-16 20:34:13 +00:00
.mailmap Fix pep8 E127 violations 2012-09-26 14:23:10 +00:00
.stestr.conf Revert "Revert "Switch to stestr"" 2018-05-17 08:33:40 -07:00
.zuul.yaml Fix context directories in image builds 2019-01-31 11:45:13 -08:00
COPYING Update README and add GPL license 2018-03-19 09:25:52 -07:00
Dockerfile Stop building an explicit zuul-base image 2019-01-24 16:13:45 +00:00
LICENSE Initial commit. 2012-05-29 14:49:32 -07:00
MANIFEST.in Revert "Revert "web: rewrite interface in react"" 2018-10-06 10:42:31 -05:00
README.rst Add instructions for reporting vulnerabilities 2018-12-05 16:12:30 +00:00
TESTING.rst Revert "Revert "web: rewrite interface in react"" 2018-10-06 10:42:31 -05:00
bindep.txt Replace build-essential with gcc/g++ 2019-01-22 15:57:36 +00:00
requirements.txt Use gearman client keepalive 2018-12-11 21:28:59 +01:00
setup.cfg Add line to setup.cfg limiting to python >=3.5 2018-10-12 14:54:51 -05:00
setup.py Partial sync with OpenStack requirements. 2013-09-25 15:30:37 -07:00
test-requirements.txt Cap mypy 2018-12-07 15:00:17 -08:00
tox.ini Add ignore_basepython_conflict option to tox.ini 2018-11-06 08:17:49 -06:00

README.rst

Zuul

Zuul is a project gating system.

The latest documentation for Zuul v3 is published at: https://zuul-ci.org/docs/zuul/

If you are looking for the Edge routing service named Zuul that is related to Netflix, it can be found here: https://github.com/Netflix/zuul

If you are looking for the Javascript testing tool named Zuul, it can be found here: https://github.com/defunctzombie/zuul

Getting Help

There are two Zuul-related mailing lists:

zuul-announce

A low-traffic announcement-only list to which every Zuul operator or power-user should subscribe.

zuul-discuss

General discussion about Zuul, including questions about how to use it, and future development.

You will also find Zuul developers in the #zuul channel on Freenode IRC.

Contributing

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

Bugs are handled at: https://storyboard.openstack.org/#!/project/openstack-infra/zuul

Suspected security vulnerabilities are most appreciated if first reported privately following any of the supported mechanisms described at https://zuul-ci.org/docs/zuul/user/vulnerabilities.html

Code reviews are handled by gerrit at https://review.openstack.org

After creating a Gerrit account, use git review to submit patches. Example:

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

Join #zuul on Freenode to discuss development or usage.

License

Zuul is free software. Most of Zuul is licensed under the Apache License, version 2.0. Some parts of Zuul are licensed under the General Public License, version 3.0. Please see the license headers at the tops of individual source files.

Python Version Support

Zuul v3 requires Python 3. It does not support Python 2.

As Ansible is used for the execution of jobs, it's important to note that while Ansible does support Python 3, not all of Ansible's modules do. Zuul currently sets ansible_python_interpreter to python2 so that remote content will be executed with Python 2.