From patchwork Wed Mar 1 15:16:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 657820 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp3548491wrb; Wed, 1 Mar 2023 07:25:34 -0800 (PST) X-Google-Smtp-Source: AK7set+t2Mis14MrxDBb6qmbZErVH28TA67EzUVZoFMnHVjw8AXYyrLhxzG1E5T0G4llogeGMv6e X-Received: by 2002:a05:622a:30b:b0:3bf:d9f3:debe with SMTP id q11-20020a05622a030b00b003bfd9f3debemr11170819qtw.59.1677684333895; Wed, 01 Mar 2023 07:25:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677684333; cv=none; d=google.com; s=arc-20160816; b=ojvlKydLAXhvvYQR9K+4dTdD9jWeJbbewMeB3XTII1iF1MR9ja0pTbDRbPYftDEYQo DZRSVLmPpZEUFqGq0Qnp744DaKrHpYCc4Pl7hY1LdBOGNxGSoepMGPxKYfXWBN4gl5nC rCzN/zOgWtMvlfhZjgiejQMHluO2iUs/OuSINS0fntuZI0TPG0OJjYpXwHxMzO9UTT2o 2am6AEN2UMDL7jFy/cKq7CtliUCr60lNaPqCEgq/jqn1H7Sm8v1/ACZrmCNeiwTYD+0k YEOWSSzpnnXLtzeJhyD6N19r97D5bHqZvnWP7LiibX5JWarP/bdSfxzzPD4lrEacGW5K a3FQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=b27PuU+rWXLWaY/k0uD9Sf2qA77t6AY1zW87Orqns2o=; b=qm9ugH6L6GEkZk9AcjBsNoefCGJJceQ+bjhcIz0NUKR7k9/gqX5JzHpQllsMPQdnT5 x12J4gQWPo42fZya5bvFaYKGKD0DuS1KVdfWb4VCCjp8XBM115VW2ZZi4vBBOyDQfSYs de5T/H2Ae1UReJP4oln6CjE+2W/Mjg4itWICjvKDqRn/GcYP4ejaiD7RO5RKxuyGX8rH yGdx8U8E9Gp6m5z4w3zfwNpixyjxR93HlxMzzO1+MyooNkeaKkK7wlHUODtWPMaOKEAM RRtSA6/CN2B+XJoOP1JiuHoM49ua2Q2XjTrR56UVSdvExI0AgkQ7VgnbjHJ7WIghRe2Y TPgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SvCyZrz1; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id v19-20020a05620a0f1300b00705de7c6879si13175178qkl.321.2023.03.01.07.25.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 01 Mar 2023 07:25:33 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SvCyZrz1; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pXOK0-00018w-Qe; Wed, 01 Mar 2023 10:24:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pXOJi-0000b8-5e for qemu-devel@nongnu.org; Wed, 01 Mar 2023 10:24:31 -0500 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pXOJd-00011r-Du for qemu-devel@nongnu.org; Wed, 01 Mar 2023 10:24:29 -0500 Received: by mail-wr1-x42e.google.com with SMTP id e13so2104146wro.10 for ; Wed, 01 Mar 2023 07:24:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=b27PuU+rWXLWaY/k0uD9Sf2qA77t6AY1zW87Orqns2o=; b=SvCyZrz1TIaWLSn7SMpXEyBZSXrPkefQGzyGISTKqrR7mvO2zRShttLndxtcejQ7v8 IcXWrDvAK+W0vOgZE3vc6YSArtjtu0woh7yxj9bfy9pw12RWNJwec2HBenUOb68uolUq fezwuhDvyBn9LcUGgDoW1YfX9R2brk6/RSl2XMGSqdL39z0ihLsu+IXMguDaPFVEGUi8 VQXEM9kpPwVaVWwfg1diuP4iPgKsPwaXnh/AKVEDnT0/3Wz2R9TXADPYFlTomk9QeHgM LY9uKKKlKOtiSL2xQFoGtSG8avZ+LXM/96ZVGW75SuWv7iClf7yDQFgYFnYJxn9hdUyu Y2Ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=b27PuU+rWXLWaY/k0uD9Sf2qA77t6AY1zW87Orqns2o=; b=r8bOACErlBv1yM+N4dk+a8JBycdLA+Ju3mHLLm9jM9ytFMw1LA/Fr2/Ni3FwJ260cq 9z7rF2hA33AQMb6Eta4PTqS43oBkWez8yuvBbd8jYfzfihw8IYuZVlhIouq96awRAa4J JAlGsSMenEyUE+5krxT+yJXOKGFhD3PajTvJ1uXUCn3fZnBLWe3/FCamr4xvBdTBZjU/ T0jC8ScH/CS8HKeryU8wOEHpwOf+FmETwYDG7YvjmSSpUceVKschb4u+/nzKe5sAUAZV hw+16YJABlxgj+HUhLuAkxii2AnPMGop1nwz8IXq1fbZC0e3PTsnmil8uezrtAhcyYzl xrQw== X-Gm-Message-State: AO0yUKUatqfnzpNlbmePZofhHoGZHWs0m9KglnsusqBl5xKa4E2c5Sac SXdHNjDDICZnod0bI3QN3aYmgA== X-Received: by 2002:a05:6000:1f83:b0:2c9:b9bf:e20c with SMTP id bw3-20020a0560001f8300b002c9b9bfe20cmr4545122wrb.2.1677684262159; Wed, 01 Mar 2023 07:24:22 -0800 (PST) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id t3-20020a5d49c3000000b002c5804b6afasm13240400wrs.67.2023.03.01.07.24.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Mar 2023 07:24:20 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 306EE1FFC9; Wed, 1 Mar 2023 15:16:07 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Daniel_P_?= =?utf-8?q?=2E_Berrang=C3=A9?= , =?utf-8?q?Philippe_Mat?= =?utf-8?q?hieu-Daud=C3=A9?= , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PULL v2 21/24] tests/docker: use direct RUNC call to run test jobs Date: Wed, 1 Mar 2023 15:16:01 +0000 Message-Id: <20230301151604.1948813-22-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230301151604.1948813-1-alex.bennee@linaro.org> References: <20230301151604.1948813-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org If we build them without the script we can certainly run them without it. Reviewed-by: Daniel P. Berrangé Signed-off-by: Alex Bennée Message-Id: <20230228190653.1602033-22-alex.bennee@linaro.org> diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 680afff952..54ed77f671 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -224,8 +224,9 @@ docker-run: docker-qemu-src $(IMAGE) --executable $(EXECUTABLE), \ " COPYING $(EXECUTABLE) to $(IMAGE)")) $(call quiet-command, \ - $(DOCKER_SCRIPT) run \ - $(if $(NOUSER),,--run-as-current-user) \ + $(RUNC) run \ + --rm \ + $(if $(NOUSER),,-u $(UID)) \ --security-opt seccomp=unconfined \ $(if $(DEBUG),-ti,) \ $(if $(NETWORK),$(if $(subst $(NETWORK),,1),--net=$(NETWORK)),--net=none) \