From patchwork Thu May 30 10:15:54 2019 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: 1107696 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="tL38zyF0"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45F3j51jMhz9s3l for ; Thu, 30 May 2019 20:29:13 +1000 (AEST) Received: from localhost ([127.0.0.1]:50707 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWIJ5-0004AB-5C for incoming@patchwork.ozlabs.org; Thu, 30 May 2019 06:29:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57107) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWIFG-0001Ej-AL for qemu-devel@nongnu.org; Thu, 30 May 2019 06:25:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hWIFD-0000Iz-Tj for qemu-devel@nongnu.org; Thu, 30 May 2019 06:25:14 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:55521) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hWIFD-0000BY-Dj for qemu-devel@nongnu.org; Thu, 30 May 2019 06:25:11 -0400 Received: by mail-wm1-x334.google.com with SMTP id u78so3603731wmu.5 for ; Thu, 30 May 2019 03:25:09 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=f1LzSCynUI6fUnn106lFa25PqYUY/YDKYZafY8tD3Yg=; b=tL38zyF0BhsVozr95jh31CUABlgftio1pK336oAi9rr4l0aYWXBMCRVE71Me+u9AFH P9e9Vp4KmdyIwYL8cCKyOAcI/hAaWOYrVGuobcQTne+YKUrgZcWW5Y3P06h5ac3Yi+en 4oqpF7I3hqnebO5BEB/ZYox1iTnwUottJWXpzo2frLimSFkxRnZO61mdCk2Bd1aB11Ja s7/yzCHbglYed+bUTxnOG5fwIMXdKJqL6+8jbcm4BoPT6vW16dHfPPB8oDstVtq6iHH+ MmYzwlsf7zU4Cur692GcnUitumsTfCfeyhjKRGm6HI62SewUdMaZ7DM2Hrx7/iJUqydU N9Aw== 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:mime-version:content-transfer-encoding; bh=f1LzSCynUI6fUnn106lFa25PqYUY/YDKYZafY8tD3Yg=; b=Z6jUofCJHWm6ljlyCLi08DlyftFQ6l1r/9pwHIFL1xnWnI5Acdqjz55+dHIFODVrgV jU9Q1DCitapF2ceUR3l+UqSbRyIpxim4YCJfCWQxdGmD981tLzth/OcanBsKiOhkWcBh cm9+oSIjLmN72ywurU7c9T2ElXSJj9amNFqw5ZdINhuHPfDGY9o9gWSnD9JOP2kgIUkq nBENMsi3U9m739mtPEWPQBH09jDqCips/krjiR1/BqYXrpFGpt9ckkEU1Sfr3oxqwnMQ EqXXh4NIjurdqCYKjsnH2N3Zc0rCwaGmbJ/9deDWb/JJbVourWpTwaIEljxeSP3C6+sc 35yA== X-Gm-Message-State: APjAAAUuA8eK6BiVbVilCCNA1HSBxPLKjhTCEXpWvbgTF58jpvkvYMBv io1GF+Nii+SCTRNQiXhzUDXh3w== X-Google-Smtp-Source: APXvYqzyZLa5HM3V3vBkGjUkCfCmt/DZglm6u6rTjZMbugLlBdvsqGk2ozyKeZb2hAHwmPCUWn/k9w== X-Received: by 2002:a1c:7510:: with SMTP id o16mr1893664wmc.154.1559211908713; Thu, 30 May 2019 03:25:08 -0700 (PDT) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id y132sm3811044wmd.35.2019.05.30.03.25.03 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 30 May 2019 03:25:07 -0700 (PDT) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 7428F1FFA5; Thu, 30 May 2019 11:16:05 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Thu, 30 May 2019 11:15:54 +0100 Message-Id: <20190530101603.22254-18-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190530101603.22254-1-alex.bennee@linaro.org> References: <20190530101603.22254-1-alex.bennee@linaro.org> 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::334 Subject: [Qemu-devel] [PATCH v1 17/26] tests/vm: run test builds on snapshot 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: Fam Zheng , Thomas Huth , Ed Maste , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Gerd Hoffmann , =?utf-8?q?Alex_Benn=C3=A9e?= Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Gerd Hoffmann The build script doesn't shutdown the guest VMs properly, which results in filesystem corruption and guest boot failures sooner or later. Use the --snapshot to run builds on a snapshot, That way killing the VM doesn't corrupt the base image. Signed-off-by: Gerd Hoffmann Tested-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Acked-by: Ed Maste Message-Id: <20190520124716.30472-6-kraxel@redhat.com> Signed-off-by: Alex Bennée --- tests/vm/Makefile.include | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/vm/Makefile.include b/tests/vm/Makefile.include index c59411bee01..276b870216c 100644 --- a/tests/vm/Makefile.include +++ b/tests/vm/Makefile.include @@ -57,6 +57,7 @@ vm-build-%: $(IMAGES_DIR)/%.img $(if $(V),--verbose) \ --image "$<" \ $(if $(BUILD_TARGET),--build-target $(BUILD_TARGET)) \ + --snapshot \ --build-qemu $(SRC_PATH) -- \ $(if $(TARGET_LIST),--target-list=$(TARGET_LIST)) \ $(if $(EXTRA_CONFIGURE_OPTS),$(EXTRA_CONFIGURE_OPTS)), \