From nobody Sat Apr 27 13:33:30 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1606498877; cv=none; d=zohomail.com; s=zohoarc; b=Crg/lG503ybxkDo2B/Y8lbMgxbUS0cTXIyRp7qaBOaVrCXQktvIDBEVO7SfWzbmIvxHpYO+CK2mvOFBDny1Kla0JX6v7GfmB+pK6sujTVrnWbFBNl5LrZabXuVAxISfJ9EU7XMqZuGwaighn3FpEeoJSfgSCAq90LOLfaK1TwWw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1606498877; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=ishc1wMCsn5jgoH1UVBDyCZIG/gh19eG7GoNQWhhP1E=; b=iWEqorzTrnJ36vG74WopdYwWc1lMwvc6Uob1SURkaRUuJwqovz/PcdEGxhNSg33fXnufu2F75bBPFK41P1ChCHnEUc3p/vzMaiefb0pqERPgehmpnfpWynAKQFN4zKtOti/i30tbDljNhkuMGCKAZXlkKhmaArAK1jYdy0VGa5o= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1606498877198278.2776490252644; Fri, 27 Nov 2020 09:41:17 -0800 (PST) Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-403-1UyLnACHOhuIQj4ya_MIkg-1; Fri, 27 Nov 2020 12:41:14 -0500 Received: by mail-wm1-f71.google.com with SMTP id y26so2903026wmj.7 for ; Fri, 27 Nov 2020 09:41:13 -0800 (PST) Return-Path: Return-Path: Received: from x1w.redhat.com (111.red-88-21-205.staticip.rima-tde.net. [88.21.205.111]) by smtp.gmail.com with ESMTPSA id c17sm16184115wro.19.2020.11.27.09.41.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2020 09:41:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1606498876; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ishc1wMCsn5jgoH1UVBDyCZIG/gh19eG7GoNQWhhP1E=; b=EVGy4lhZa9XC+D18fYkzUc7jyEfn0ezI1mEHsan0/y4ANQ6dwP0UhbeAtMHn5eVpfqVtq6 dfUuOKJRMXko4PfzCkP24EayACNWFbX7RhmCxwOCpdZ9xC0CmmC/H7K7Rf31cyiYZt1JjQ 3zebzYt5ynZSfz0Btt7QgR4a3J/0FiI= X-MC-Unique: 1UyLnACHOhuIQj4ya_MIkg-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ishc1wMCsn5jgoH1UVBDyCZIG/gh19eG7GoNQWhhP1E=; b=pdkFRHLb8yWhfvYZE8XAzZBcU6kRFTwAC0mmSCpnnYQPFgLC7uNseeK5TWNmsDGXb3 H1Pa10g85PaPd293PpkxhE9T3KKfG7gZiQSkBjw1Mo8p+uQs71sRG2ApY6bQVeMO4zcB N3OuCw+dK7cu1ixThs62FTU3FWstOd9RZwPzArT/+FPRA5PH2/C0Fy983+mKI5Lzyfy1 CmcH1bE7cdb7lLhPyh2mrQ4GG+v3DblbVhOcAHXXsR2erItlH5XMsyHRWQGYF8+BPias 5nxFu3Lflr8uxN5fFMqFAIwZ4u1clwo1r0N67YU+9etdDulu54la6qGtCmRtfPWaCn2S FZAw== X-Gm-Message-State: AOAM532D7uE0M/AJOcE2Ih5G3E8d9Lz/L9P8zsxSeqrNw0FVHMYJNS+X ow+lYRgcQgbJfaAMJEJLhNbAxSQAIzfZk3RRywQ0xTPh9+ow7Vr6VenXMk13meJ90lBnNPMisaq 3UOzh/XHOCMFj1w== X-Received: by 2002:a7b:cb58:: with SMTP id v24mr10166352wmj.23.1606498873007; Fri, 27 Nov 2020 09:41:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJznRcixmPFYQCmfRhbBuIoDMPPl4eax8H2DBunI/eARpkp34smxu88EefqnjV+IrjssA3vmkg== X-Received: by 2002:a7b:cb58:: with SMTP id v24mr10166338wmj.23.1606498872846; Fri, 27 Nov 2020 09:41:12 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Willian Rampazzo , Thomas Huth Cc: virt-ci-maint-team@redhat.com, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Cleber Rosa , Wainer dos Santos Moschetta Subject: [RFC PATCH-for-5.2] gitlab-ci: Do not automatically run Avocado integration tests anymore Date: Fri, 27 Nov 2020 18:41:10 +0100 Message-Id: <20201127174110.1932671-1-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) We lately realized that the Avocado framework was not designed to be regularly run on CI environments. Therefore, as of 5.2 we deprecate the gitlab-ci jobs using Avocado. To not disrupt current users, it is possible to keep the current behavior by setting the QEMU_CI_INTEGRATION_JOBS_PRE_5_2_RELEASE variable (see [*]). From now on, using these jobs (or adding new tests to them) is strongly discouraged. Tests based on Avocado will be ported to new job schemes during the next releases, with better documentation and templates. [*] https://docs.gitlab.com/ee/ci/variables/README.html#create-a-custom-var= iable-in-the-ui Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- .gitlab-ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d0173e82b16..2674407cd13 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -66,6 +66,15 @@ include: - cd build - python3 -c 'import json; r =3D json.load(open("tests/results/latest/= results.json")); [print(t["logfile"]) for t in r["tests"] if t["status"] no= t in ("PASS", "SKIP", "CANCEL")]' | xargs cat - du -chs ${CI_PROJECT_DIR}/avocado-cache + rules: + # As of QEMU 5.2, Avocado is not yet ready to run in CI environments, th= erefore + # the jobs based on this template are not run automatically (except if t= he user + # explicitly sets the QEMU_CI_INTEGRATION_JOBS_PRE_5_2_RELEASE environme= nt + # variable). Adding new jobs on top of this template is strongly discour= aged. + - if: $QEMU_CI_INTEGRATION_JOBS_PRE_5_2_RELEASE =3D=3D null + when: manual + allow_failure: true + - when: always =20 build-system-ubuntu: <<: *native_build_job_definition --=20 2.26.2