summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Henkel <tobias.henkel@bmw.de>2019-02-04 08:04:20 +0100
committerTobias Henkel <tobias.henkel@bmw.de>2019-02-04 08:07:52 +0100
commitf08d66f81fd30db77d0a97a58d115e9237a11ace (patch)
tree0cf6b192d7a9fabf750674db361489cdde8537d0
parentb4e6247ab5ac1b868e954f4675b1d531600bb667 (diff)
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
Notes
Notes (review): Code-Review+1: Clint 'SpamapS' Byrum <clint@fewbar.com> Code-Review+2: James E. Blair <corvus@inaugust.com> Code-Review+2: Monty Taylor <mordred@inaugust.com> Workflow+1: Monty Taylor <mordred@inaugust.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 05 Feb 2019 19:55:39 +0000 Reviewed-on: https://review.openstack.org/634634 Project: openstack-infra/zuul Branch: refs/heads/master
-rw-r--r--tests/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/base.py b/tests/base.py
index a2f7c93..3076605 100644
--- a/tests/base.py
+++ b/tests/base.py
@@ -2187,7 +2187,7 @@ class PostgresqlSchemaFixture(fixtures.Fixture):
2187 2187
2188class BaseTestCase(testtools.TestCase): 2188class BaseTestCase(testtools.TestCase):
2189 log = logging.getLogger("zuul.test") 2189 log = logging.getLogger("zuul.test")
2190 wait_timeout = 30 2190 wait_timeout = 60
2191 2191
2192 def attachLogs(self, *args): 2192 def attachLogs(self, *args):
2193 def reader(): 2193 def reader():