From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 76018A0547; Thu, 11 Feb 2021 22:44:28 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6406A22A24E; Thu, 11 Feb 2021 22:44:28 +0100 (CET) Received: from mail-pl1-f226.google.com (mail-pl1-f226.google.com [209.85.214.226]) by mails.dpdk.org (Postfix) with ESMTP id 8F92B40147 for ; Thu, 11 Feb 2021 22:44:27 +0100 (CET) Received: by mail-pl1-f226.google.com with SMTP id d13so4066136plg.0 for ; Thu, 11 Feb 2021 13:44:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZcrIOemB95z1hZz6RagsbXOAkZDb/HxEdStgJAwJD70=; b=CuuzC/SsLSQYFHZGHW4bMs64gBHjSj8fRARTvM7xYhuUkn9yOBn2P8WP/4yg443NKH ur62pq4AmXmwIcrfj7gaaBkUa8KtaH3+BgIf6vSCacRqiz5MoOQmV8g1JBp3saQnPmce 1cv1m85WpqCpiKeOHKmn5kChxlyd3l3RUlBJM= 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=ZcrIOemB95z1hZz6RagsbXOAkZDb/HxEdStgJAwJD70=; b=OWdD+JWd/5CpmY/Dqttpem0uzkRLe4Rpozv6EbovEPltEEwI6HrI2TitENHaQhBqbi TtQiGlmUZsy6IbfnCOaauVTEVeM4kc0SLcSpeblbiu+m0K3DeilHa3ce1ShEHTsEiyp1 k+eHo8qC6qPXdoXe4TbMfPPoxq7qtaNR0GGo7K6Cs+OLcb9CsrlIV4U9u+9iQwtGjX4Z 6XDoc4fyMnIv0bndMxfwFSetYjUc3f1YldfFisPrkBkTZaaWBXCj0yFvxjBbJP4FWEow 1vLIBfgThuq4q9Z6m5rr5YdSPTmCg2vkRpmA5M62iP7/JP4ueUEdgB7umgQGS7DCoIuS jd3A== X-Gm-Message-State: AOAM530tNtKY1neVJGTRfnEZnx93/34v1QjNdkkkyXCYAo/4BRKQbhai R4qOxlQnz97K9oMFBkCjwo8fb9Z0TqYLMlB18oSQ6FgP6Klnan3P8efEiOCb8Axy8A/BqgQMPGP mrPAdTp89Fe7tcA9rwRovF8wx3a2MTaZ7j1Ku7bPCIATFBeMpXSGOYkm+3YTxwPV/LtrRsx/m7j 2JwgYw0/HFZ1/r2Q== X-Google-Smtp-Source: ABdhPJwjxsgVjMVX2lJ1VWXLmZN9yj38D+0n65a4ddv6CjpayCun2Pwq3D3nhiMatbDZTsyZxzzjI7n/QosX X-Received: by 2002:a67:eb0b:: with SMTP id a11mr67126vso.2.1613079866340; Thu, 11 Feb 2021 13:44:26 -0800 (PST) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [2606:4100:3880:1234::84]) by smtp-relay.gmail.com with ESMTPS id 23sm1465124vkq.2.2021.02.11.13.44.26 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Feb 2021 13:44:26 -0800 (PST) X-Relaying-Domain: iol.unh.edu Received: from iol.unh.edu (unknown [IPv6:2606:4100:3880:1254::1033]) by postal.iol.unh.edu (Postfix) with ESMTP id E11D86052472; Thu, 11 Feb 2021 16:44:25 -0500 (EST) From: ohilyard@iol.unh.edu To: dts@dpdk.org Cc: lijuan.tu@intel.com, Owen Hilyard Date: Thu, 11 Feb 2021 16:44:14 -0500 Message-Id: <20210211214415.1454192-1-ohilyard@iol.unh.edu> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH] bugfix: Fixed a timeout with mlx5_core on ARM X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" From: Owen Hilyard The time to unbind this driver has been increasing with DPDK releases, to the point that it is now about 14 seconds. This means that, with the default timeout of 15 seconds, there isn't much room for any kind of disruption during testing. DTS throwing a timeout error here is not indicative of an acutal problem, and as such I have increased the timeout to allow continued stable functioning. The new 30 second timeout should have minimal affect on the detection speed of any real error. Signed-off-by: Owen Hilyard --- framework/dut.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/dut.py b/framework/dut.py index bef0d15f..21f72e98 100644 --- a/framework/dut.py +++ b/framework/dut.py @@ -447,7 +447,7 @@ class Dut(Crb): port = GetNicObj(self, domain_id, bus_id, devfun_id) self.send_expect('echo %s > /sys/bus/pci/devices/%s\:%s\:%s/driver/unbind' - % (pci_bus, domain_id, bus_id, devfun_id), '# ') + % (pci_bus, domain_id, bus_id, devfun_id), '# ', timeout=30) # bind to linux kernel driver self.send_expect('modprobe %s' % driver, '# ') self.send_expect('echo %s > /sys/bus/pci/drivers/%s/bind' -- 2.27.0