Manage a pool of nodes for a distributed test infrastructure
Go to file
David Shrewsbury b75f463280 Fix race in test_handler_poll_session_expired
Just waiting for a node request state change does not guarantee
that we have actually entered the poll() portion of request handling.
This was causing the mock.call_count assert to fail on occasion.
Change this to simply wait on the call_count to increment, eliminating
that race.

There was also another potential race in checking that the request
handler was removed from the request_handlers structure. It would
be possible for the same request to re-enter active handling before
we had a chance to check that it was removed when the session
exception was thrown. We handle that race by setting the request state
to FAILED on the first exception.

Change-Id: I646b82243eb7f8c4e83d6678c2c0d265d99e51e0
2018-12-06 14:49:57 -05:00
devstack Merge "Update devstack test to Fedora 28" 2018-11-27 19:44:12 +00:00
doc Add arbitrary node attributes config option 2018-11-29 09:35:59 -05:00
etc Merge "Add systemd drop-in file for CentOS 7" 2018-05-09 18:09:54 +00:00
nodepool Fix race in test_handler_poll_session_expired 2018-12-06 14:49:57 -05:00
playbooks Move k8s install to pre playbook 2018-11-13 16:39:06 +01:00
releasenotes/notes Add an upgrade release note for schema change 2018-12-05 13:51:52 -05:00
roles/nodepool-zuul-functional Remove nodepool-k8s-functional and install-nodepool roles 2018-11-14 10:13:02 +00:00
tools Merge "Fix print-zk tool for python3" 2018-12-01 20:44:29 +00:00
.coveragerc Switch to stestr 2018-04-26 11:52:17 -05:00
.gitignore Ignore files produced by tox-cover 2018-07-23 13:44:06 +02:00
.gitreview Replace master with feature/zuulv3 2018-01-18 10:13:57 -08:00
.stestr.conf Switch to stestr 2018-04-26 11:52:17 -05:00
.zuul.yaml Merge "Update devstack test to Fedora 28" 2018-11-27 19:44:12 +00:00
LICENSE license: remove dos line break 2018-01-19 00:30:22 +00:00
README.rst Switch storyboard url to be by name 2018-08-03 10:19:44 -05:00
TESTING.rst Update README and add TESTING similar to Zuul repo 2018-07-11 11:15:56 +01:00
bindep.txt Build container images using pbrx 2018-07-20 12:03:35 -05:00
requirements.txt Block 0.20.0 of openstacksdk 2018-11-30 13:21:17 -06:00
setup.cfg Update pypi metadata 2018-10-13 12:07:38 -04:00
setup.py Bump pbr requirements to >=1.3 2015-09-14 16:19:13 -04:00
test-requirements.txt Move sphinx + deps to doc/requirements.txt 2018-08-16 09:57:52 +02:00
tox.ini Only set basepython once 2018-11-06 10:48:37 -06:00

README.rst

Nodepool

Nodepool is a system for managing test node resources. It supports launching single-use test nodes from cloud providers as well as managing access to pre-defined pre-existing nodes. Nodepool is part of a suite of tools that form a comprehensive test system, including Zuul.

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

The latest documentation for Zuul is published at: https://zuul-ci.org/docs/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/nodepool/tree/ To clone the latest code, use git clone https://git.zuul-ci.org/nodepool

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

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

Nodepool is free software, licensed under the Apache License, version 2.0.

Python Version Support

Nodepool requires Python 3. It does not support Python 2.