From patchwork Mon Jul 9 15:21:07 2018 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: 141429 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2795826ljj; Mon, 9 Jul 2018 08:24:44 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd3dnCqJ7wykyhTUDg17o8B+ia1c5iV6/MlMaXRNfWsgmokIGQ0q8aqYZks6stDRV3r5I30 X-Received: by 2002:a0c:fac4:: with SMTP id p4-v6mr18190828qvo.179.1531149884011; Mon, 09 Jul 2018 08:24:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531149884; cv=none; d=google.com; s=arc-20160816; b=QQazYWK/7nULmveKFKmlH2sizFk2wi9Yq9g/NbA5KdyE1Mzw6TAb9YAdeJhjD3+I2A LAHyvfIJNMTrquJ2yH/Nm9varx8F2OVLqMrrOpcE+BSLm49uXbql4x00Qod49TzOVkDi xsBgeRjeqzJ+NlJ0OPAdanp6HdjghDOziXTXNtJZBTQMsSRSC2OW6ui4kRo8+PU4Sstq Ew0BDAGjOVPLsxFx/3uvibGXUqDnl+Yf3IdlcX1W9+Utqp9le29ikZ7TumNtKZWESxvN uKDPvmgVDm9af0+l/n7Fqm5Latng97ujXldYFJfyp8j4W1zJowjHw5FXSwQk6Jv9s4CR gJHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:message-id:date:to:from :dkim-signature:arc-authentication-results; bh=vy39w8FcIa+IXscrvwHj7oD4579xHqc6z4F66buvqf0=; b=t1AXGidfpUt9/bkLcIZKMI41iGbglr4iiDd4pTR+nVJLTh2dAj3XXmia8/Dw2WEeb0 C+D5iBdQ+HCYnVdd3V7/EuWQWKu9KUBavtBMBVXiDvREpLE7lYhYUgVpGa7WKFCKZ6CH 8/AJGnqJIlFSFOXOa37ZL3TNa8yGbMWeViCiyjU+JgHIyELZ9BvE21ilhllPcg/lF+0/ up4hqcaBS2R8xRjqUiu17NAQsE+d1Db1o2mmtpwYxS1pW+yAla9h5AU4HiBtzTNLoAye KhrCpsEi7nYxkusv8OPERw9VRVM63Z0jIkCBx6pGr4EEtoLpPv9NH3rQTZXqlv/cBBT5 KgZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=j72Hrq2l; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id k64-v6si1560906qva.109.2018.07.09.08.24.43 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 09 Jul 2018 08:24:44 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=j72Hrq2l; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:42750 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcY1r-000363-BZ for patch@linaro.org; Mon, 09 Jul 2018 11:24:43 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcXye-0000lW-Im for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fcXyb-0005Uc-CV for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:24 -0400 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:42248) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fcXyb-0005UL-5F for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:21 -0400 Received: by mail-wr1-x441.google.com with SMTP id p1-v6so11409629wrs.9 for ; Mon, 09 Jul 2018 08:21:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=vy39w8FcIa+IXscrvwHj7oD4579xHqc6z4F66buvqf0=; b=j72Hrq2liTQmkPvL9GT1VlvGIzbL++pkeH3b9QhNeJ6w7z3mO9QhhrxBYXxtAA13Pv tcyI2HHKsfeHrHC2PGfKf6orJiaKbtpxFcl3erqQkHyu17Aew+62waVOB5SsEtu3C5J4 Jztbw83feODfoRjbacEgxYKIHHTZpcYugeJk0= 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=vy39w8FcIa+IXscrvwHj7oD4579xHqc6z4F66buvqf0=; b=CnnKH9FTUg4k28K95IyNbHVpODJ+ElRr1POzzmdVj2mOv+S03Ho7b6uQ3gmspQTfbA bgJLGUask1mX62/rk6+4vRW4WLAETyAuEo3C06RxY/fucSXpsOwYlucW0661wFegbuJk R0ZzB/bTHqr2ZFIx6X/1YN2PbvcAKiK0ZI9j+IWvvN1T4k6Vh98yZ5LcpBZ/uvxL0N+b qy2GqFgSpwtKAOc8FeQzVEaqyHu2kWppJ5FoQ0qHp68qovDwNeMT08qldHj+bItKdmZG fXhHSIhSw4goEhKnaZ7HBe5XiLKaAcePvNoMpi76fkVvbjw3LY1yDy1iGEBZTCxRhx9R j10w== X-Gm-Message-State: APt69E11Wr+r/pQTbMYyZIMU0a6GalxvLL95MvEIDV+E4H+z6R9xxn6l dmH/OqQ8nA13V7oV/4mf1wom7g== X-Received: by 2002:a5d:44c6:: with SMTP id z6-v6mr9384975wrr.236.1531149680107; Mon, 09 Jul 2018 08:21:20 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id r14-v6sm20030320wrl.4.2018.07.09.08.21.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Jul 2018 08:21:18 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id D778B3E0577; Mon, 9 Jul 2018 16:21:17 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Mon, 9 Jul 2018 16:21:07 +0100 Message-Id: <20180709152117.21585-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::441 Subject: [Qemu-devel] [PATCH for 3.0 00/10] various docker fixes X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Hi, The addition of the cross compilers for check-tcg broke the ability to run "make docker-test". In truth this was probably already broken as it attempts to run every single test with every single docker image which isn't something that gets done on a regular basis. Anyway the patches clean up the ability to do that in a sane way although it still takes a long time to run the full test set. To help with running a better subset I've expanded the individual tests so you can now run a line like: make docker-test-build TARGET_LIST=aarch64-softmmu J=30 To make sure your favourite architecture still builds everywhere. There is now also a docker-test-unit which just runs the unit tests although we have to do a little re-factoring to make sure we don't attempt to run "make check" steps when the docker image isn't capable of it. This is also needed to make sure the other test-FOO build tests don't choke on the check step. Finally there is a minor tweak for .gitignore and a fix for docker.py throwing backtraces when we attempt to calculate SID_AGE. A cleaner re-factoring can be left for a future release. Alex Bennée (10): tests/.gitignore: don't ignore docker tests docker: debian-tricore add git tools docker: fail more gracefully on docker.py check docker: split configure_qemu from build_qemu docker: move make check into check_qemu helper docker: gracefully skip check_qemu docker: Makefile.include don't include partial images docker: disable debian-powerpc-user-cross docker: add test-unit runner docker: add expansion for docker-test-FOO to Makefile.include tests/.gitignore | 1 + tests/docker/Makefile.include | 14 +++++++++-- tests/docker/common.rc | 23 ++++++++++++++++++- tests/docker/docker.py | 7 +++++- .../dockerfiles/debian-tricore-cross.docker | 3 +++ tests/docker/test-clang | 2 +- tests/docker/test-debug | 2 +- tests/docker/test-full | 2 +- tests/docker/test-quick | 2 +- tests/docker/test-unit | 19 +++++++++++++++ 10 files changed, 67 insertions(+), 8 deletions(-) create mode 100755 tests/docker/test-unit -- 2.17.1