From patchwork Sat Mar 7 03:07:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1250795 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48Z9606nlQz9sPK for ; Sat, 7 Mar 2020 14:32:16 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B099A801F1; Sat, 7 Mar 2020 04:32:08 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="URcEnGFs"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AA21F802DB; Sat, 7 Mar 2020 04:32:06 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd44.google.com (mail-io1-xd44.google.com [IPv6:2607:f8b0:4864:20::d44]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 5BBFE80140 for ; Sat, 7 Mar 2020 04:32:03 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd44.google.com with SMTP id q128so4055217iof.9 for ; Fri, 06 Mar 2020 19:32:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=kFQ7mZLPYdOasdZGkVsU9P2hwtXtCCTEV/aE4LJoC3s=; b=URcEnGFsGQWblSsmdNIEi4rRUUpUwdkuLUVWq7MSkGRVFUu3GVs/eL9B6/HcWx2xQo eVIsdypI58Q1eg024ceBPoZDZxovTQ3GvvSCc8LV61xndHwDH/rrGxl2Lqi/N5nZxNlG g9iQl8tg0Q6L9cE22X6X0vuiRAGKWX0SWvFJc= 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=kFQ7mZLPYdOasdZGkVsU9P2hwtXtCCTEV/aE4LJoC3s=; b=Gk8FpRG355BEnXv8WfyPo6o7Z16aurCcE37FZxZMHuBJpENkmfLR5t/Qrw75RONvG9 oWWdE73TD4xl6NE5vaPTu4VB1bDxuonjklyiIIn7tEJRunA1rItPyulExCLXvfW0d3e0 TX5pXIItggcGt0IEs5cuCyHMomYKExgthX6fy0lOhd6eidu01p6yCKhPr3qBRxiVnOfa 9Q692uADYJN/cc9pu6DWifd3OI4MO37r3h+c9hxrsh5hDJQeJubAN0+FjzTcqUsB5L14 7BK9pJ1VXU3qqUD/FBr+7qMKeFdGFCAlfGcBBnEZ6xFFwJNPeD0RNLd1RH5WfzDyUsQo Zaog== X-Gm-Message-State: ANhLgQ168Xvo3pJUHOR+odERye6bPKfjASl+x2txPDNLrGfjom/WqFi8 FIprjWZi/bYlL4YSTO/CNClwftcO46Q= X-Google-Smtp-Source: ADFU+vuSmr33LlU4jv4XLP9/rTtZ36AU+7hNe0jMfW5cDCTn98OaLfnR5nRVkdFfUY69k7OGHSvLVA== X-Received: by 2002:a02:950d:: with SMTP id y13mr5866625jah.139.1583551921499; Fri, 06 Mar 2020 19:32:01 -0800 (PST) Received: from kiwi.bld.corp.google.com ([2620:15c:183:0:8223:87c:a681:66aa]) by smtp.gmail.com with ESMTPSA id g16sm8571824ioc.13.2020.03.06.19.32.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Mar 2020 19:32:00 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Stephen Warren , Stephen Warren , Tom Rini , Simon Glass Subject: [PATCH 00/20] gitlab: Simplify the test script Date: Fri, 6 Mar 2020 20:07:14 -0700 Message-Id: <20200307030734.237401-1-sjg@chromium.org> X-Mailer: git-send-email 2.25.1.481.gfbce0eb801-goog MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.2 at phobos.denx.de X-Virus-Status: Clean At present there are several things in the gitlab script which work around limitations in buildman. With a few small feature additions these can be removed. This series adds some new features to buildman and simplifies the script: - Option to run a single build in a specified output directory - Allow ignoring warnings - Removes a restriction on the build output directory It also - moves test.py over to use buildman for the --build option - makes one change to azure since the same approach should be possible there - fixes a few minor problems noticed in main and sandbox docs Simon Glass (20): sandbox: Add documentation about required/useful packages main: Drop show_boot_progress() prototype buildman: Document the members of BuilderJob bulidman: Add support for a simple build gitlab: Use the -w option for sandbox_spl azure: Use the -w option for sandbox_spl gitlab: Use the --board buildman flag gitlab: Drop the BUILDMAN variable buildman: Update help for -d gitlab: Drop the buildman -d flag gitlab: Drop unnecessary if..fi gitlab: Use -w flag for all builds gitlab: Use bash to avoid needing a_test_which_does_not_exist buildman: Allow ignoring warnings in the return code gitlab: Use the buildman -W flag gitlab: Enable test_handoff buildman: Be more selective about which directories to remove buildman: Allow building within a subdir of the current dir test/py: Use buildman to build U-Boot gitlab: Simplify the exit code for test.py .azure-pipelines.yml | 4 +- .gitlab-ci.yml | 81 +++++++++------------------------ common/main.c | 5 -- doc/arch/sandbox.rst | 10 ++++ test/py/conftest.py | 16 +++---- tools/buildman/README | 13 +++++- tools/buildman/builder.py | 51 ++++++++++++++++----- tools/buildman/builderthread.py | 34 ++++++++++---- tools/buildman/cmdline.py | 6 ++- tools/buildman/control.py | 35 ++++---------- tools/buildman/func_test.py | 46 ++++++++++++++----- tools/buildman/test.py | 20 ++++++++ 12 files changed, 186 insertions(+), 135 deletions(-)