Lines Matching refs:container
59 def is_container_orphaned(container): argument
71 logging.debug('Checking if container is orphaned: %s', container.name)
72 job_id, pid = get_info(container.name)
74 logging.debug('Container %s is not created for test.', container.name)
79 'orphaned.', pid, container.name)
94 'not orphaned.', job_id, container.name)
104 job_id, container.name)
108 def cleanup(container, options): argument
118 logging.info('dryrun: Cleanup container %s', container.name)
122 _, pid = get_info(container.name)
129 logging.info('Destroying container %s...', container.name)
130 container.destroy()
134 container.name, e)
177 for container in bucket.get_all().values():
178 if is_container_orphaned(container):
179 if cleanup(container, options):