From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7154254537975398400 X-Received: by 2002:a05:600c:1d1a:b0:3c6:d715:2d69 with SMTP id l26-20020a05600c1d1a00b003c6d7152d69mr2282842wms.145.1665729688828; Thu, 13 Oct 2022 23:41:28 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6000:69e:b0:22e:5d8a:c92d with SMTP id bo30-20020a056000069e00b0022e5d8ac92dls6171726wrb.1.-pod-prod-gmail; Thu, 13 Oct 2022 23:41:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6cf0zBy/h9EtpV7gpwuinZaaO2B+DoAnMntahHw09gsCQyqRY8kZl3FZzEplcDwfbe1CR5 X-Received: by 2002:a5d:408e:0:b0:22e:650a:ec4b with SMTP id o14-20020a5d408e000000b0022e650aec4bmr2302036wrp.212.1665729687446; Thu, 13 Oct 2022 23:41:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665729687; cv=none; d=google.com; s=arc-20160816; b=byZnXVDUvjdaDDwtU3Nhz2bscZ6tDaOzPkBoLwYtuQrSRTlAT1kuznuKbs0Xjmg3/N vjtIpPsFKg0izlPk4AauMLle5a3ySPEIB4ZBtOjsI3SmU5/W42ZrkvteK2m/mChh5Kti OQBoa8h+mOnEKlx+TO+8QfJU9WB/EU1aA382wsIylZVi3nRmvOzOwgSAg9c4+1jgV6Nt iww6yAwzQ62uRBtPmH7ooFRP5TDQAgJlCaWZX5hzS543WKHXjDDeKr0yUF1Ly1LXhSGb F6AR3BHlClNbbh8dNrtVMK6fP6tQokuCSiJcVdmlyWwYI02MCO17WRRlCwN7KeiMqXXZ AIqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from; bh=6Uyz3dYvtcd5bd31h4qySbkpdpevWcp9muD3JRh8SxA=; b=R2dbOyOon7X4WLhVn10m/0ESTznNXY6cqAumOMyVeZOPZMYp2LnAXSw1T6iwYx7wCA londQcMukKkVnSeXCx/iXhsR8g2r7BQ9gZwXoOv1vs4YaL4QnId5EVqVQ9bQl6n8ERpR LYyv8FZ1rDpuEf1hvE4Byfbt7mjHxXpbHQbaOQX+R6oFf10w4GAwBWc8VAwGO53V9CI3 iVgl76NhE9k3FzSexscb0aAZIF/Cg6oJNEmw953cbIYfGPpzV3nEfqQ3De/WGjAJe7Ez XIVy5wfyBsaYh0gYwK3jEEc7I9hsTSx1GvMpY4xptl+HrI/HH60D8VY9ViCJO6JcFhan 8MSg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id a1-20020a05600c348100b003c6c0197f3dsi299699wmq.2.2022.10.13.23.41.27 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Oct 2022 23:41:27 -0700 (PDT) Received-SPF: pass (google.com: domain of ubely@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 ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from baighyz.m.ilbers.de (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 29E6fQCi001784 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 14 Oct 2022 08:41:26 +0200 From: Uladzimir Bely To: isar-users@googlegroups.com Subject: [PATCH] ci: Place WicTest before NoCrossTest Date: Fri, 14 Oct 2022 08:41:26 +0200 Message-Id: <20221014064126.31066-1-ubely@ilbers.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: y+T3Iz/vhQUn This patch just changes an execution sequence of tests in CI. The issue is that WicTests removes `tmp` contents and we worsen possibilities to analyze build errors that could happen in the earlier tests. Signed-off-by: Uladzimir Bely --- testsuite/citest.py | 46 ++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/testsuite/citest.py b/testsuite/citest.py index fa036c4f..448e866e 100755 --- a/testsuite/citest.py +++ b/testsuite/citest.py @@ -126,6 +126,29 @@ class SdkTest(CIBaseTest): self.init() self.perform_build_test(targets, bitbake_cmd='do_populate_sdk') +class WicTest(CIBaseTest): + + """ + Test creation of wic images + + :avocado: tags=wic,full + """ + def test_wic_nodeploy_partitions(self): + targets = ['mc:qemuarm64-bookworm:isar-image-base'] + + self.init() + self.delete_from_build_dir('tmp') + self.perform_wic_partition_test(targets, + wic_deploy_parts=False, debsrc_cache=True, compat_arch=False) + + def test_wic_deploy_partitions(self): + targets = ['mc:qemuarm64-bookworm:isar-image-base'] + + self.init() + # reuse artifacts + self.perform_wic_partition_test(targets, + wic_deploy_parts=True, debsrc_cache=True, compat_arch=False) + class NoCrossTest(CIBaseTest): """ @@ -319,26 +342,3 @@ class VmBootTestFull(CIBaseTest): def test_amd64_focal(self): self.init() self.vm_start('amd64','focal') - -class WicTest(CIBaseTest): - - """ - Test creation of wic images - - :avocado: tags=wic,full - """ - def test_wic_nodeploy_partitions(self): - targets = ['mc:qemuarm64-bookworm:isar-image-base'] - - self.init() - self.delete_from_build_dir('tmp') - self.perform_wic_partition_test(targets, - wic_deploy_parts=False, debsrc_cache=True, compat_arch=False) - - def test_wic_deploy_partitions(self): - targets = ['mc:qemuarm64-bookworm:isar-image-base'] - - self.init() - # reuse artifacts - self.perform_wic_partition_test(targets, - wic_deploy_parts=True, debsrc_cache=True, compat_arch=False) -- 2.20.1