From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7119540376087560192 X-Received: by 2002:a1c:f305:0:b0:39c:4840:ab42 with SMTP id q5-20020a1cf305000000b0039c4840ab42mr9040428wmq.148.1657714104151; Wed, 13 Jul 2022 05:08:24 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6000:1849:b0:21d:9b2c:2273 with SMTP id c9-20020a056000184900b0021d9b2c2273ls2087529wri.1.gmail; Wed, 13 Jul 2022 05:08:23 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tR77i4El9viedpPNguIUJE6+enrkycII74RprbvQL5rDYTStNFjDaOlp+NLRGxvGZvnHdP X-Received: by 2002:a05:6000:1686:b0:21d:6e46:2fa with SMTP id y6-20020a056000168600b0021d6e4602famr3007683wrd.691.1657714103110; Wed, 13 Jul 2022 05:08:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657714103; cv=none; d=google.com; s=arc-20160816; b=QfwDA+GW72k7TtR7RmbDcFqBcTxQ9EWu7XOlxEbnwoM7ibDsvpVKzZFdIZ6iv4rTxF kGP2CB6UiidIYEKOaLQVdj56OpasXW2RxK5FZHyvLB/Dlx1SL+5GU1zaNtDN6/NWKu83 nUFflxndHpYCCyADhYegp9Z/SNo8KNk2cs97PNcnEvB07WcY/H3vDC/AuZLP+X0+iU1b rBU/Ek59WfSaVW9TZ1R3QhBEyVSYL/0oJzHHe9OacGB486q7h5L1GWC8amFiHJ1n7AdC om/J3xK8PFgrGW+gAZhNsPS/10GjFuahVs0PzVdToHmaML47leJxC5Lr5ZOFlnFcX9rF c1WQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id; bh=VR8X2dBItmbctD3cAZlLjwvyHhU6BZ8ZJ0rFcKdWEfA=; b=j4qeISpRMrzYxlqeIiZjsIPr0SoTg9PvTH8yg3/MiC4bWHd/xn5t80hJRoKDbYFV7P 6xP6Ps+HnUPNf7zF/tfn+mYp9hvWj7mq27LwrbVjFw/ieMLZwGAnrgOCP9xuF2tB0+is Nlg3neoBczdjK8zBRYQNevl1h0RnyxalxaJ0p2IenEszu0lhtkpTa7yVWMreYcXBpDfe CcIEzVLQLGS+P3xO48Zp4EeQpIOKwXS1HsM+3Vc2DauchlBKJDQhYkpiU7eRCXoIWXV6 8PEOIareNJDmh9dYKLQgyaQsZ8FjGkn3uO3XczJv434cMpr0zeVIhDC54Xuv8isjg45h mleg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id m7-20020a5d56c7000000b0021d8e03fd0csi373910wrw.5.2022.07.13.05.08.22 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Jul 2022 05:08:23 -0700 (PDT) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from [127.0.0.1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 26DC8Jsi016766 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 13 Jul 2022 14:08:20 +0200 Message-ID: Date: Wed, 13 Jul 2022 15:08:19 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH 1/2] CI: switch to the new runner Content-Language: en-US To: Henning Schild Cc: isar-users@googlegroups.com, Baurzhan Ismagulov References: <20220712173237.23949-1-amikan@ilbers.de> <20220712173237.23949-2-amikan@ilbers.de> <20220713132004.5bcf3910@md1za8fc.ad001.siemens.net> From: Anton Mikanovich In-Reply-To: <20220713132004.5bcf3910@md1za8fc.ad001.siemens.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: ai1FPMB/P6Kp 13.07.2022 14:20, Henning Schild wrote: > Am Tue, 12 Jul 2022 20:32:36 +0300 > schrieb Anton Mikanovich : > >> Switch CI from legacy runner removed in Avocado 97.0 to the nrunner. >> To make it run serialized limit maximum task count to 1. >> >> Signed-off-by: Anton Mikanovich >> --- >> scripts/ci_build.sh | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh >> index b1ec691..fa7208c 100755 >> --- a/scripts/ci_build.sh >> +++ b/scripts/ci_build.sh >> @@ -143,5 +143,5 @@ export VIRTUAL_ENV="./" >> set -x >> >> avocado $VERBOSE run "$TESTSUITE_DIR/citest.py" \ >> - -t $TAGS --test-runner=runner --disable-sysinfo \ >> + -t $TAGS --nrunner-max-parallel-tasks=1 --disable-sysinfo \ > Why 1 and not 42 or nproc? Because our tests are written in a way that > they build onto each other, so we lack modularization and are pretty > much still on a monolith like back in the shell age? > > Henning > >> -p quiet=$QUIET -p cross=$CROSS_BUILD -p time_to_wait=$TIMEOUT We need this fix to make nrunner work like previous legacy runner until tests dependencies will be integrated into Avocado so we can rebuild our test cases to be executed in parallel. See: https://github.com/avocado-framework/avocado/issues/5205