From patchwork Mon Apr 29 16:32:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jugurtha BELKALEM X-Patchwork-Id: 1092677 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.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="CqWenWzH"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44t9Dn08SRz9sCJ for ; Tue, 30 Apr 2019 02:32:40 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 6826F2078B; Mon, 29 Apr 2019 16:32:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jwYfnpzNl7fX; Mon, 29 Apr 2019 16:32:36 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id E5A9C20797; Mon, 29 Apr 2019 16:32:35 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id A1DCD1BF2E2 for ; Mon, 29 Apr 2019 16:32:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9ED6485B94 for ; Mon, 29 Apr 2019 16:32:34 +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 yGYv6F5wkTFI for ; Mon, 29 Apr 2019 16:32:34 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by fraxinus.osuosl.org (Postfix) with ESMTPS id F0D0485815 for ; Mon, 29 Apr 2019 16:32:33 +0000 (UTC) Received: by mail-wr1-f44.google.com with SMTP id c12so16959895wrt.8 for ; Mon, 29 Apr 2019 09:32:33 -0700 (PDT) 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; bh=k4siOMa45HQhW4ROqOnXNGsld0vIKAQj4vbrL44YjAQ=; b=CqWenWzHBhI0mhC9wRJfZVumvFCmmTB9HyjRAfdDo2zRaX9H28Yeu0Lzy3eN3lmWCc agty7hiNbMAS75xvnHn72XvNk7wjqof9p1+ld/8HMnFTdMVMsRtLIWvuUCvVRUPNyQRp 585ukw3IBV9FM/WV/KWRPeDuFewyLHeaf2XIZWvf46QfpWiqj8i4nFl2RQz4mmhZwf4n w2SVj+mwNmY/1kp03t+GgxNFoV7tjMjXcFYkTDPpz4X7CaBOv1FmoYx8lL4X/VtOEYwb +wlocp7Gi7txNWe3++Kjg5sROj1Zuc5sAIU2XpZvw+KhJigUfWbKA7t8OaABteGSXWuf 17IA== 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; bh=k4siOMa45HQhW4ROqOnXNGsld0vIKAQj4vbrL44YjAQ=; b=Xp6YUUMqFK0CR3bIzAbeharzksiPn/AXNCTx13Pb2Ub+RdMyTCPersV30WeMio7nEk NkMYXD2dJ3gMCJpUQsX5rMoLgfXeEhofGBmgAMJAimrXAt0N1b6y3k/8uhq5+e5/Oc/7 Zv1IaKIpQuKpreFWBswsJjFO7brvyWI24ST7U6ID7RcL9li7PjgfCLrkr1zOg6BsVBdf hHn8ruTcENsfFZPXFyuWaTGmt8J2as8+b6Yte7faOdcWWRgIE4h3+AzWr9hrnxL/FISB iyz1FO04dGev62iUy2LywZ0parXeHfTHKx1+ebkdPLNETB+vscE6jBCoSuB77Vf9eABt cgYg== X-Gm-Message-State: APjAAAVyx5rNCjGlPCCbVj/wpI7vq+cYswUqlxT8YoENUFqIO8OQiFyg SxN+zzpncPr2xkmgLQ6zQ5GImofC2EA= X-Google-Smtp-Source: APXvYqzw0HzKQvZp5i2m5iOu2KNYcNtK0e50ketl0aC+6J7cW2iYZ36GDc1skhBn6M9w7BIYM7U2/A== X-Received: by 2002:adf:e387:: with SMTP id e7mr167041wrm.17.1556555552532; Mon, 29 Apr 2019 09:32:32 -0700 (PDT) Received: from P-NAN-SUCRE.nantes.intranet (static-css-ccs-204145.business.bouyguestelecom.com. [176.157.204.145]) by smtp.gmail.com with ESMTPSA id 67sm39198214wmz.41.2019.04.29.09.32.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 29 Apr 2019 09:32:32 -0700 (PDT) From: Jugurtha BELKALEM To: buildroot@buildroot.org Date: Mon, 29 Apr 2019 18:32:20 +0200 Message-Id: <1556555546-9246-2-git-send-email-jugurtha.belkalem@smile.fr> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1556555546-9246-1-git-send-email-jugurtha.belkalem@smile.fr> References: <1556555546-9246-1-git-send-email-jugurtha.belkalem@smile.fr> Subject: [Buildroot] [PATCH 1/7] support/docker/Dockerfile: new package expect 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 MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" expect package is required for various automation tests. One use case is to integrate the script from toolchain builder : https://github.com/bootlin/toolchains-builder/blob/master/build.sh to check Qemu build states. expect can be used to launch a qemu machine for a given architecture (x86, x86_64, mips, arm, sparc, nios2, ..., etc), send root password, wait for login and then perform shutdown. Special note concerning python-pexpect package which can be used for the same task: After testing the package, We have noticed that it does not show the automation process correcly (you may not even see the message welcome to buildroot) and it is not verbose when errors are encountered. Signed-off-by: Jugurtha BELKALEM --- v2: reorder alphabetically Remove m68k kernel issue, since we use kernel 4.19 with qemu m68k defconfig. The patch fixing the issue was merged in kernel 4.17. --- support/docker/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/support/docker/Dockerfile b/support/docker/Dockerfile index 36cd3b2..8dcd3ef 100644 --- a/support/docker/Dockerfile +++ b/support/docker/Dockerfile @@ -29,6 +29,7 @@ RUN apt-get install -y --no-install-recommends \ cmake \ cpio \ cvs \ + expect \ file \ g++-multilib \ git \