nodepool/nodepool/tests/fixtures
David Shrewsbury 7225354ec0 Add a timeout for the image build
A builder thread can wedge if the build process wedges. Add a timeout
to the subprocess. Since it was the call to readline() that would block,
we change the process to have DIB write directly to the log. This allows
us to set a timeout in the Popen.wait() call. And we kill the dib
subprocess, as well.

The timeout value can be controlled in the diskimage configuration and
defaults to 8 hours.

Change-Id: I188e8a74dc39b55a4b50ade5c1a96832fea76a7d
2019-01-23 16:27:19 -05:00
..
config_validate Add a timeout for the image build 2019-01-23 16:27:19 -05:00
functional/kubernetes Add tox functional testing for drivers 2018-11-01 15:33:44 +01:00
zookeeper Add zookeeper test infrastructure 2016-03-15 17:07:00 -07:00
clouds.yaml Remove ipv6-preferred and rely on interface_ip 2017-03-27 11:35:25 -07:00
disabled_provider.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
diskimage_build_timeout.yaml Add a timeout for the image build 2019-01-23 16:27:19 -05:00
external_driver.yaml Add a plugin interface for drivers 2018-01-19 00:45:56 +00:00
ignore_provider_quota_false.yaml Add ability to ignore provider quota for a pool 2018-07-11 17:37:55 +00:00
ignore_provider_quota_true.yaml Add ability to ignore provider quota for a pool 2018-07-11 17:37:55 +00:00
info_cmd_two_provider.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
info_cmd_two_provider_remove.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
integration_noocc.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
integration_occ.yaml Do not hardcode zookeeper host to localhost 2018-04-16 14:14:08 -07:00
kubernetes.yaml Implement a Kubernetes driver 2018-10-25 10:24:45 +00:00
launcher_reg1.yaml Store label info with launcher registration 2018-03-07 16:42:40 -05:00
launcher_reg2.yaml Store label info with launcher registration 2018-03-07 16:42:40 -05:00
launcher_two_provider.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
launcher_two_provider_max_1.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
launcher_two_provider_remove.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
leaked_node.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
leaked_node_nodepool_id.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
multi_drivers.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
multiple_pools.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
multiproviders.yaml Implement a static driver for Nodepool 2018-01-31 03:55:56 +00:00
node-host-key-checking.yaml Add host-key-checking option to openstack providers 2018-03-26 22:29:14 +00:00
node.yaml Add arbitrary node attributes config option 2018-11-29 09:35:59 -05:00
node_auto_floating_ip.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
node_az.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
node_az_change.yaml Invalidate az cache on bad request 2018-07-23 14:04:08 +02:00
node_boot_from_volume.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
node_cmd.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
node_delete_error.yaml zk: skip node already being deleted in cleanup leaked instance task 2018-08-24 16:56:29 -04:00
node_disabled_label.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
node_diskimage_fail.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
node_diskimage_formats.yaml Fix adding qcow2 format without need 2018-06-06 21:58:21 +02:00
node_diskimage_only.yaml Fix adding qcow2 format without need 2018-06-06 21:58:21 +02:00
node_diskimage_pause.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
node_flavor_name.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
node_image_upload_pause.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
node_ipv6.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
node_label_provider.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
node_launch_retry.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
node_lost_requests.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
node_many_labels.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
node_max_hold_age.yaml Clean held nodes automatically after configurable timeout 2018-02-20 16:13:55 +01:00
node_max_hold_age_2.yaml Clean held nodes automatically after configurable timeout 2018-02-20 16:13:55 +01:00
node_max_hold_age_no_default.yaml Fix race in test_hold_expiration_no_default 2018-04-25 15:25:01 -04:00
node_max_ready_age.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
node_min_ready_capacity.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
node_net_name.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
node_no_min_ready.yaml Initialize label statistics to zero 2018-10-18 15:45:42 +02:00
node_quota_cloud.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
node_quota_pool_cores.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
node_quota_pool_instances.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
node_quota_pool_ram.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
node_second_provider.yaml Add unit test for multiple launchers 2018-02-08 15:48:48 -05:00
node_security_group.yaml Add support for specifying security_group in nodepool 2018-06-05 10:00:06 +02:00
node_two_image.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
node_two_image_remove.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
node_two_provider.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
node_two_provider_remove.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
node_unmanaged_image.yaml Add connection-port to provider diskimage 2018-04-03 17:48:52 +02:00
node_upload_fail.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
node_vhd.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
node_vhd_and_qcow2.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
pause_declined_1.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
pause_declined_2.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
secure_file_config.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
secure_file_secure.yaml builder: support setting diskimage env-vars in secure configuration 2018-05-29 23:48:13 +00:00
static-2-nodes.yaml Pre-register static nodes 2018-06-13 12:13:40 -04:00
static-basic.yaml Pre-register static nodes 2018-06-13 12:13:40 -04:00
static-multilabel.yaml Pre-register static nodes 2018-06-13 12:13:40 -04:00
static-parallel-increase.yaml Pre-register static nodes 2018-06-13 12:13:40 -04:00
static-unresolvable.yaml Fix use of wrong label static test fixture 2018-09-05 16:22:38 +02:00
static-update.yaml Update static nodes in Zookeeper on config change 2018-09-03 08:04:50 +02:00
static.yaml Pre-register static nodes 2018-06-13 12:13:40 -04:00
unmanaged_image_provider_id.yaml Add test for referencing cloud image by ID 2018-07-03 14:13:56 -04:00
unmanaged_image_provider_name.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00
webapp.yaml Add webapp port and listen_address configuration 2017-06-09 13:56:36 +00:00
wedge_test.yaml Store build logs automatically 2018-02-09 07:50:20 -08:00