From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp59.i.mail.ru (smtp59.i.mail.ru [217.69.128.39]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 0FD464765E2 for ; Sun, 27 Dec 2020 07:13:17 +0300 (MSK) From: Alexander Turenko Date: Sun, 27 Dec 2020 07:13:26 +0300 Message-Id: <45826a06fbf6e5b436a832cf0bd9491737ca6314.1609041893.git.alexander.turenko@tarantool.org> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 2/2] test: update test-run (pass timeouts via env) List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Alexander V . Tikhonov" Cc: tarantool-patches@dev.tarantool.org, Alexander Turenko The following variables now control timeouts (if corresponding command line options are not passed): TEST_TIMEOUT, NO_OUTPUT_TIMEOUT, REPLICATION_SYNC_TIMEOUT. See [1] for details. I set the following values in the GitLab CI web interface: | Variable | Value | | ------------------------ | ------------------------------------------------------- | | REPLICATION_SYNC_TIMEOUT | 300 | | TEST_TIMEOUT | 310 | | NO_OUTPUT_TIMEOUT | 320 | | PRESERVE_ENVVARS | REPLICATION_SYNC_TIMEOUT,TEST_TIMEOUT,NO_OUTPUT_TIMEOUT | See packpack change [2] and the commit 'ci: preserve certain environment variables' regarding the PRESERVE_ENVVARS variable. The reason, why we need to increase timeouts, comes from the following facts: - We use self-hosted runners to serve GitLab CI jobs. So, the machine resources are limited. - We run testing with high level of parallelism to speed it up. - We have a bunch of vinyl tests, which intensively use disk. Disk accesses may be quite long within this infrastructure and the obvious way to workaround the problem is to increase timeouts. In the long term we should scale resources depending on the testing needs. We'll try to use GitHub hosted runners or, if we'll reach some limits, will setup GitHub runners on the Mail.Ru Cloud Solutions infrastructure. [1]: https://github.com/tarantool/test-run/issues/258 [2]: https://github.com/packpack/packpack/pull/135 --- test-run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-run b/test-run index 584e273b1..9e5fc6d0f 160000 --- a/test-run +++ b/test-run @@ -1 +1 @@ -Subproject commit 584e273b134ffa0ee7d44419f7443f752ff4fb33 +Subproject commit 9e5fc6d0fede3b1d142a44c3ca36cfff3cb32f9f -- 2.25.0