From nobody Fri May 17 00:20:13 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=libvir-list-bounces@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=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1620227081; cv=none; d=zohomail.com; s=zohoarc; b=Vp0460m27bb+psgAh4qMXHDLTg0kNu6LY5ufo5C4d3rOIvzCI1p0J73Zy1fwaPOzPZA0hYX1tpiyBqZOf8dnQRwyoRCevVRsD1TVVihYyhwjz2s6F6CreQmVyBDCmIyLzT9ob30KV7swq+6zL7eEt/N7puVtAVOxrx9wOLPG9bA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1620227081; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=BOvzbNB4flFPAqMID7JXQsU06zdtfVauWcw1o7J6jbY=; b=cZXqCUJ1n3Nn7JrgPRB5LyMdCvUcDXZf3XlpTir6H/gpHarn0Q2JwlNIXy37AhPJPBhI/F/nStXUphPgAWffXGKL0bl/rhFZUFpWShuX98b8zknsDWxFsiV6SQpXZrKRmg89OmgGgLKVn1YgRvkFDJrcsMuw9Lg7eNfJvhvDMFw= 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=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: 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 1620227081153834.8564454114437; Wed, 5 May 2021 08:04:41 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-161-M7HvNkrKNXCCpBz7MH0NVQ-1; Wed, 05 May 2021 11:04:35 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8D15A107ACF5; Wed, 5 May 2021 15:04:28 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2A9785D6AC; Wed, 5 May 2021 15:04:27 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 85A5B5533F; Wed, 5 May 2021 15:04:24 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 145F4NZs021481 for ; Wed, 5 May 2021 11:04:23 -0400 Received: by smtp.corp.redhat.com (Postfix) id 1427E5D71D; Wed, 5 May 2021 15:04:23 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-114-253.ams2.redhat.com [10.36.114.253]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4E4805D6AC; Wed, 5 May 2021 15:04:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1620227077; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=BOvzbNB4flFPAqMID7JXQsU06zdtfVauWcw1o7J6jbY=; b=hfkjeyLy9DUY0qwj0Avyc/oQQ/ARhiHVxUHtFdfI/6P2vkndO27LJF4l3V+k04zCHdiMOt UCQ7vvbxcEPQK1yb+qUjTWcb60kCj5hP2jwnENLR8JouEIoIQdtVY6kaTm3gR8qOGx1GRY uR5xc9hY3oICfEBQwTHROt4GhNbvL6Y= X-MC-Unique: M7HvNkrKNXCCpBz7MH0NVQ-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH] gitlab: enable debug output for test suite Date: Wed, 5 May 2021 16:04:17 +0100 Message-Id: <20210505150417.552417-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@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) When CI jobs fail on the test suite, we don't see much helpful information by default: stderr: TEST: bhyvexml2argvtest ......!!.............!......!........... 40 ........................!...... 71 FAIL Some tests failed. Run them using: VIR_TEST_DEBUG=3D1 VIR_TEST_RANGE=3D7-8,22,29,65 /tmp/cirrus-ci-build/build/meson-private/dist-build/tests/bhyvexml2argvtest Following the instructions to re-run the test with VIR_TEST_DEBUG=3D1 is great if running locally, but quite unfriendly for CI. Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Andrea Bolognani --- Compare before: https://gitlab.com/libvirt/libvirt/-/jobs/1237988893 and after: https://gitlab.com/berrange/libvirt/-/jobs/1238324746 .gitlab-ci.yml | 2 ++ ci/cirrus/build.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 35ec626113..89f618e678 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,6 +11,8 @@ stages: export CCACHE_DIR=3D"$CCACHE_BASEDIR/ccache" export CCACHE_MAXSIZE=3D"500M" export PATH=3D"$CCACHE_WRAPPERSDIR:$PATH" + export VIR_TEST_VERBOSE=3D"1" + export VIR_TEST_DEBUG=3D"1" =20 # Common templates =20 diff --git a/ci/cirrus/build.yml b/ci/cirrus/build.yml index 2d3c46a77c..f7ef5c2d13 100644 --- a/ci/cirrus/build.yml +++ b/ci/cirrus/build.yml @@ -9,6 +9,8 @@ env: PKG_CONFIG_PATH: "@PKG_CONFIG_PATH@" PYTHON: "@PYTHON@" MAKE: "@MAKE@" + VIR_TEST_VERBOSE: "1" + VIR_TEST_DEBUG: "1" =20 build_task: install_script: --=20 2.31.1