From nobody Sun May 19 09:23:38 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1594906168; cv=none; d=zohomail.com; s=zohoarc; b=CfQMjZXdIvj3BItcJZLv8RUZOpX8IQLkQlIYqxnIFABdJRCki5JPon5gn1TFxf7PxUMvw2VfJs1FcXBhXrINW03guKsx7L8s1v2/loX9hRyeoVsEnslcBfdHaIUVy89pnYC5C5mZB8HWheu59WiN3a8DOJmehQhQ+6iVFQowg/M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594906168; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=eKYtGDBhMUVk6PmGo8Q/013ov05DIgc8Rwglx+/sQv4=; b=MtzS5ebCV5WM2H5FO+RQQNN3n42lq8y5rk/P8mojiiz4EYWTQ4X3QohJX3hxAERk1V3AC8Hz1LGOoMBejKPe2gH9izChCe0cDGp6Qk9HJ7u3vYofZdFvpolxcbDK4+ArzWFY5UDjeC7TGixjySNBgTowy1rz8djYeRYDdKxIwic= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1594906168614908.7293284731716; Thu, 16 Jul 2020 06:29:28 -0700 (PDT) Received: from localhost ([::1]:43244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jw3x1-0006mB-3D for importer@patchew.org; Thu, 16 Jul 2020 09:29:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54478) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jw3wH-0006IV-7m for qemu-devel@nongnu.org; Thu, 16 Jul 2020 09:28:41 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:44223 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jw3wD-0003YN-Jb for qemu-devel@nongnu.org; Thu, 16 Jul 2020 09:28:40 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-331-LaT1PbwPO8CD9fB7oEEZvw-1; Thu, 16 Jul 2020 09:28:33 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id AFD64107BEF6; Thu, 16 Jul 2020 13:28:32 +0000 (UTC) Received: from linux.fritz.box.com (ovpn-114-172.ams2.redhat.com [10.36.114.172]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6E0A02DE6B; Thu, 16 Jul 2020 13:28:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594906115; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=eKYtGDBhMUVk6PmGo8Q/013ov05DIgc8Rwglx+/sQv4=; b=PRrI691JKe+q0y6YFPghFWrpd3Rzk5wVGCmVcK4IsIpCTE0oSg7Z2TUiREl/j64Y8UnvbC sIf9/NsAXImFS4WnBq1eUyogaBH368rA5aQgdMuMI9lBDXegpijaC07633o2xexcpQkN/b 2xf7FXeh1jQvOP0Yz12Ra1gbqoSm90c= X-MC-Unique: LaT1PbwPO8CD9fB7oEEZvw-1 From: Kevin Wolf To: qemu-block@nongnu.org Subject: [PATCH for-5.1] iotests/030: Reduce job speed to make race less likely Date: Thu, 16 Jul 2020 15:28:29 +0200 Message-Id: <20200716132829.20127-1-kwolf@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=207.211.31.120; envelope-from=kwolf@redhat.com; helo=us-smtp-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/16 04:25:38 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -40 X-Spam_score: -4.1 X-Spam_bar: ---- X-Spam_report: (-4.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-1, 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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kwolf@redhat.com, peter.maydell@linaro.org, qemu-devel@nongnu.org, ehabkost@redhat.com, mreitz@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" It can happen that the throttling of the stream job doesn't make it slow enough that we can be sure that it still exists when it is referenced again. Just use a much smaller speed to make this very unlikely to happen again. Reported-by: Peter Maydell Signed-off-by: Kevin Wolf Reviewed-by: Max Reitz --- tests/qemu-iotests/030 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/qemu-iotests/030 b/tests/qemu-iotests/030 index 256b2bfbc6..31c028306b 100755 --- a/tests/qemu-iotests/030 +++ b/tests/qemu-iotests/030 @@ -243,7 +243,7 @@ class TestParallelOps(iotests.QMPTestCase): node_name =3D 'node%d' % i job_id =3D 'stream-%s' % node_name pending_jobs.append(job_id) - result =3D self.vm.qmp('block-stream', device=3Dnode_name, job= _id=3Djob_id, base=3Dself.imgs[i-2], speed=3D512*1024) + result =3D self.vm.qmp('block-stream', device=3Dnode_name, job= _id=3Djob_id, base=3Dself.imgs[i-2], speed=3D1024) self.assert_qmp(result, 'return', {}) =20 for job in pending_jobs: --=20 2.25.4