From patchwork Tue Feb 28 19:06:50 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: 657492 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp3100046wrb; Tue, 28 Feb 2023 11:15:44 -0800 (PST) X-Google-Smtp-Source: AK7set/BMQe0ee2YI2wxBGGEFT+oUI7lxHk0WTh207TaHm9fZYKgSxwF1qy5YZBb9yHaBAXr5CZt X-Received: by 2002:ad4:5e8d:0:b0:571:f87:a665 with SMTP id jl13-20020ad45e8d000000b005710f87a665mr8115040qvb.35.1677611744432; Tue, 28 Feb 2023 11:15:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677611744; cv=none; d=google.com; s=arc-20160816; b=PSSjEAIDo9EhfbKn8bXuR2SkNLkjcdDzJtBQJAq3qRb84B3ncseLgK/9mgq8C2NNoS jwbJrGYQbHaqqEdUc/XWbvMtDy9UccaRq7j+8uluI8DO4Zy8V7/STkPumx7i1JBfoMdv bmlQfx2fIkqtW7tEUk14rFlhTRESiCEdJw8xs6ciD80Snq5H8cQAuYf8fVmuurxLcmit fcNH+XqNv0IXI0ggdBbqA2uK7/m1HDd3MOkz1RtUiieJrq7rcav9QIHN27qeaxAPXWyp +Z2syDMHOb0uwzRoXtwbkxHczJer6hK78K2/Oxjz0HGDiyuxi5yOUM0ydvNhzJf294WE PBpg== 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=f5HeGCTtnDvYK2JOBc+Ar5DGwIfM59biXTeTnbWUumM=; b=ZX/aSkg0LbimcypPlws6p//Hqv6vN/nGg9OZoWUoSNTBN6DL48F9WCZ7hPs15ZQh/e 00SqAY/Lhcu31Kiku3vv91m69afLZqyRCi9cCuxShUudVa+1KpdA6pUF47V0A6a/dEDv 4m9ia/kPrp1S+dzU1tQEgsHGkqDxY4JfTYJVqYW+U+s4PYwIYZqsd+JaXvPnsiHrwl1i g57Pky0xDH5n4w2KTM0NR+oEK6ZZFYvvb17mS4RdnXDni3sXcCZTiMUai6P0GNI5AOSn 1/l5z/B9p1pvtk5r7luxX2xVuIpzCPThPJ2kOpdDZfkN48J3BF72Ru6jIeAZhg4rhbRv 4ZPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cimG1UhT; 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 m7-20020a05620a24c700b00742a093dd9dsi7791276qkn.727.2023.02.28.11.15.44 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 28 Feb 2023 11:15:44 -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=cimG1UhT; 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 1pX5Qp-0000Pv-74; Tue, 28 Feb 2023 14:14:35 -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 1pX5Qo-0000PB-DG for qemu-devel@nongnu.org; Tue, 28 Feb 2023 14:14:34 -0500 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pX5Qg-0004fN-DX for qemu-devel@nongnu.org; Tue, 28 Feb 2023 14:14:34 -0500 Received: by mail-wr1-x42f.google.com with SMTP id r18so10913285wrx.1 for ; Tue, 28 Feb 2023 11:14:25 -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=f5HeGCTtnDvYK2JOBc+Ar5DGwIfM59biXTeTnbWUumM=; b=cimG1UhTHHogOciz41WjK9qI22rkt8VBW0FU5zqgDzNzOj6NxZBP7s0p1+p9yHetGw YjCcwxmCEhdWXO+rjbmEH+V4jW/ITK6M1Va+7+I1SLlZuQE+bmBvdzVkY6f61/nx04Cb 6Fmz/f9zzGFTxqkXSz26jsZpW+WCJFJJnOf+8DRiZsiVpZ7HGR8oPdCatE75h+4SDkdS GeCv1y3MHwoWP8hP9z1fG8tUAP6/yp/j2r4v40G2e6qrYDkUQARivJ5bsjViTP/SVudR NNpzrNf3ilHLIfutvMIqaA0eyPG+Gv9OHUgLSAq72yL6/4vJ1rXT1FazOJb3uWkmYf9y kdXw== 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=f5HeGCTtnDvYK2JOBc+Ar5DGwIfM59biXTeTnbWUumM=; b=OXxp0iQBFltj04KoxEl+eXvntFhy+qNxAyTRewHx8cCefHzWR2sfTnrX/Reqh4ZjVC 8Aen/7J0Cmfw2CsjvaZbLgBia4HortUQraH7e4S5sMyuq64lca5c7M59W+bm2l71cvul QkwO46GN2CHi9ykAfstMzvttv/H9ZtkuNnvLAe/5BUUqy65aCXWvTQyO3x1+cZTqK+Xo flI8Ku7g/gSUwcncKx2LmXkmIT1cqt4qSukOgajh/uy1wuHo9tTrJ9FSFR5qqNjlEXH0 QqXpTg04YCZvcw3OoQNBUg2OP/JIXhk+Ue/KQuLb8cuHZaq7OXSQT3xtD9jm1TUji5F0 uHRQ== X-Gm-Message-State: AO0yUKX3kSG05Hi6p4YnbKdNlkp5NiySwVT7SoSEiRsD7DBFuu6JTCOT LM5gI6oj5EkPe4I4HkDMNtYobA== X-Received: by 2002:adf:ce10:0:b0:2c7:e05:2d1b with SMTP id p16-20020adfce10000000b002c70e052d1bmr3172076wrn.50.1677611660904; Tue, 28 Feb 2023 11:14:20 -0800 (PST) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id v16-20020a5d4a50000000b002c5526234d2sm10694219wrs.8.2023.02.28.11.14.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 11:14:20 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 0A4101FFC8; Tue, 28 Feb 2023 19:06:56 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Michael Roth , Peter Maydell , Kevin Wolf , =?utf-8?q?Alex_Benn=C3=A9e?= , Beraldo Leal , Alexander Bulekov , Aurelien Jarno , Markus Armbruster , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Darren Kenny , Hanna Reitz , Cleber Rosa , John Snow , Ed Maste , qemu-arm@nongnu.org, Fam Zheng , Thomas Huth , Yonggang Luo , qemu-block@nongnu.org, Paolo Bonzini , Stefan Hajnoczi , Bandan Das , Li-Wen Hsu , Pavel Dovgalyuk , Laurent Vivier , Bastian Koppelmann , Qiuhao Li , Wainer dos Santos Moschetta Subject: [PATCH v3 21/24] tests/docker: use direct RUNC call to run test jobs Date: Tue, 28 Feb 2023 19:06:50 +0000 Message-Id: <20230228190653.1602033-22-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230228190653.1602033-1-alex.bennee@linaro.org> References: <20230228190653.1602033-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42f.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=unavailable 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 --- tests/docker/Makefile.include | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) \