From patchwork Sun Nov 17 20:19:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 1196440 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=smile.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=smile-fr.20150623.gappssmtp.com header.i=@smile-fr.20150623.gappssmtp.com header.b="XNUwUD8g"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47GNjm0Z26z9sPJ for ; Mon, 18 Nov 2019 07:19:55 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 0986B85C92; Sun, 17 Nov 2019 20:19:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1fYLQZ66T4Bd; Sun, 17 Nov 2019 20:19:51 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 461B185B0A; Sun, 17 Nov 2019 20:19:51 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 2E62A1BF2CD for ; Sun, 17 Nov 2019 20:19:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 2B4E187A33 for ; Sun, 17 Nov 2019 20:19:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IJ32QxMU0CV7 for ; Sun, 17 Nov 2019 20:19:48 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by hemlock.osuosl.org (Postfix) with ESMTPS id 51243879F5 for ; Sun, 17 Nov 2019 20:19:48 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id n1so16997366wra.10 for ; Sun, 17 Nov 2019 12:19:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=x5UoW58R4WeM045BrdMEJPZy0e49LBNlmQDH3Z18JuY=; b=XNUwUD8gZwLqqvbS2GO+cGUHDmUVQBooN8yHN30qEhoC2VfPDVA7GUftbi8FVWEAzD A5DF7Flm530mLoxPtUVuZYorCuHU6cVsEnFDZJadIe3HL4L4NWroQPopJptDcT2d51pB 3bvNukM4t8/+wFXqRG8fc82Jc0So/s+lRdO5OcPoDgT+ayOSIT2STRZBMjcGhpv2mcCR 0ultTCGgOcQ4s8z9MTzIzFlWzdu/EXbZ+C753ZK0lxP4GWPwn4UwUmlRQln76aKaNCCO AdxsTIF4OjnS8x5kN2HdN2viE1q8BTXkKzdALvY842hLJgZehgeElok1nNMUFH7Vyx7h RDbg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=x5UoW58R4WeM045BrdMEJPZy0e49LBNlmQDH3Z18JuY=; b=ivySUXthb9ORuCs8jE6ipjyhVdm6GuMjAbC/MEAZk+y18oX5l8mNOSXZnBfkc1Qchf vU3CkZ2z4VnfoHAbiOOB26DVngxMnYA+ibULJOlPF9ObSGV1SVtvuuUq/p8e1d/Tv0Z5 KKyLv+fLQWfYBPPRx1a5i96ncR7Fj0lp62GvT/iQ2HsC3vK5VUIuS9u4H3dMtxarBeOB Qe+RRKEsmBTr8rQBmHdbpswlSjzlRLCgIGylYI6yLmWJ70uPInRiQP5eN5JvSYy8S+IV bY2UGMJCG0lLs6cDZSGRuC2cjkjtQzxU0BHLW7YvXd3YxpV/9aaZ5WBLgv8huT3xhFfB Kbuw== X-Gm-Message-State: APjAAAXnC/SrRP5RX1ljS0HfWKtsqnmcim6DO+BRpzfQlqtc07KwtSsh UyLp4eAIRX12NUyczya9jll4qVr+mZ8= X-Google-Smtp-Source: APXvYqxRje02Y4B/Rfsg21yyQGa5JDYh52bBKsboAVVtslgbu7Srpc+SWMJgQtCyTU72NfjI0jFT9Q== X-Received: by 2002:a5d:42d1:: with SMTP id t17mr13783679wrr.56.1574021986558; Sun, 17 Nov 2019 12:19:46 -0800 (PST) Received: from P-ASN-Evian.home (2a01cb0589880c00c543929d43aec786.ipv6.abo.wanadoo.fr. [2a01:cb05:8988:c00:c543:929d:43ae:c786]) by smtp.gmail.com with ESMTPSA id y8sm16974831wmi.9.2019.11.17.12.19.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Nov 2019 12:19:46 -0800 (PST) From: Romain Naour To: buildroot@buildroot.org Date: Sun, 17 Nov 2019 21:19:09 +0100 Message-Id: <20191117201909.12900-12-romain.naour@smile.fr> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191117201909.12900-1-romain.naour@smile.fr> References: <20191117201909.12900-1-romain.naour@smile.fr> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v3 for-next 11/11] gitlab.yml.in*: enable Qemu gitlab testing X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jugurtha BELKALEM , Romain Naour Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Jugurtha BELKALEM Used to launch qemu tests for various qemu architectures. Neverthless to say that this file skips any other job different from qemu (only qemu configurations are runtime tested). Add the log generated by Qemu to the build artefacts. Signed-off-by: Jugurtha BELKALEM Signed-off-by: Romain Naour --- .gitlab-ci.yml | 7 +++++++ .gitlab-ci.yml.in | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1d71257a20..3469de4a7e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -54,6 +54,12 @@ check-package: tail -200 build.log exit 1 } + - | + ./support/scripts/boot-qemu-image.py "${DEFCONFIG_NAME}" > >(tee runtime-test.log) 2>&1 || { + echo 'Failed runtime test last output' + tail -200 runtime-test.log + exit 1 + } artifacts: when: always expire_in: 2 weeks @@ -64,6 +70,7 @@ check-package: - output/build/build-time.log - output/build/packages-file-list.txt - output/build/*/.config + - runtime-test.log .defconfig: extends: .defconfig_base diff --git a/.gitlab-ci.yml.in b/.gitlab-ci.yml.in index 7e6a7598ae..6b09730a65 100644 --- a/.gitlab-ci.yml.in +++ b/.gitlab-ci.yml.in @@ -54,6 +54,12 @@ check-package: tail -200 build.log exit 1 } + - | + ./support/scripts/boot-qemu-image.py "${DEFCONFIG_NAME}" > >(tee runtime-test.log) 2>&1 || { + echo 'Failed runtime test last output' + tail -200 runtime-test.log + exit 1 + } artifacts: when: always expire_in: 2 weeks @@ -64,6 +70,7 @@ check-package: - output/build/build-time.log - output/build/packages-file-list.txt - output/build/*/.config + - runtime-test.log .defconfig: extends: .defconfig_base