From patchwork Thu Aug 8 20:05:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 11084685 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3F0901399 for ; Thu, 8 Aug 2019 20:05:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3346C28B0A for ; Thu, 8 Aug 2019 20:05:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2731828B85; Thu, 8 Aug 2019 20:05:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CCB8C28B0A for ; Thu, 8 Aug 2019 20:05:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404055AbfHHUFU (ORCPT ); Thu, 8 Aug 2019 16:05:20 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:42972 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732704AbfHHUFU (ORCPT ); Thu, 8 Aug 2019 16:05:20 -0400 Received: by mail-pl1-f193.google.com with SMTP id ay6so44026992plb.9 for ; Thu, 08 Aug 2019 13:05:19 -0700 (PDT) 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=aFGSxl9VItZvVMU/SEOzPttnqjIgO4UH7axrM2LnrbY=; b=XCxGKpUh1mZwMZunhIrvLATMyYQYYMfS+wE4uyTG+taW0MjyIINk/9AabvsaYfSFOF oTRshYogI+RqOaGEsxLccuWwqD/c5lM4OhQGr7Oy7mU4TTiro0OureINHyeCgaG0x87q nYw+dB09IAVh43s+H3jj0CcbCl3DS0+uDBejJbw18+6L2QcZHKu8BRDAmMkRjbCYzLUE HXyAnw43cq/huJiOtkA9tvQIQZ/9lruMRq/DRvyqZwtW2gHnlCXKb26tijY+ByuhlH9t nAf39amo1gVvy2A4zC3zL6OYl5mAjJiQDdHsz1Shuz8kO0B9Fg0GJcB8aIvxn5vAj/sS Wriw== X-Gm-Message-State: APjAAAWKVXtZHU9R5CHfKIs4X01pinDnw693cAynEispIr3+OUphwGXa lBOAVvInv/z4gH/9hoo0iHw= X-Google-Smtp-Source: APXvYqxndmd9LitS7xXGPCLHqRWjGo7/WY2f2NGu87RKu26fKeYea7hH7P5Jo/xFtqiVKqH3GTuMmA== X-Received: by 2002:a17:902:b418:: with SMTP id x24mr2900494plr.219.1565294718736; Thu, 08 Aug 2019 13:05:18 -0700 (PDT) Received: from desktop-bart.svl.corp.google.com ([2620:15c:2cd:202:4308:52a3:24b6:2c60]) by smtp.gmail.com with ESMTPSA id b6sm83307093pgq.26.2019.08.08.13.05.16 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 08 Aug 2019 13:05:17 -0700 (PDT) From: Bart Van Assche To: Omar Sandoval Cc: linux-block@vger.kernel.org, Johannes Thumshirn , Logan Gunthorpe , Bart Van Assche Subject: [PATCH blktests 3/4] tests/nvmeof-mp/rc: Make the NVMeOF multipath tests more reliable Date: Thu, 8 Aug 2019 13:05:05 -0700 Message-Id: <20190808200506.186137-4-bvanassche@acm.org> X-Mailer: git-send-email 2.22.0.770.g0f2c4a37fd-goog In-Reply-To: <20190808200506.186137-1-bvanassche@acm.org> References: <20190808200506.186137-1-bvanassche@acm.org> MIME-Version: 1.0 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fix the following failure for tests 002, 003, 004 and 011: +tests/nvmeof-mp/rc: line 99: echo: write error: Operation already in progress Signed-off-by: Bart Van Assche --- tests/nvmeof-mp/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/nvmeof-mp/rc b/tests/nvmeof-mp/rc index 7352b1628cd3..2493fcee12de 100755 --- a/tests/nvmeof-mp/rc +++ b/tests/nvmeof-mp/rc @@ -124,7 +124,7 @@ simulate_network_failure_loop() { done 2>>"$FULL" for ((i=0;i<5;i++)); do - log_in && break + log_in 2>/dev/null && break sleep 1 done }