Message ID | 20200926112700.6055-4-janusz.dziedzic@gmail.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=Ol9EVTiT; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=GGbzBM5B; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Bz63Z0vvLz9sSn for <incoming@patchwork.ozlabs.org>; Sat, 26 Sep 2020 21:28:25 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:To: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=SB2ZqriSaMgqQDFjrVtc/BRTBhYk7mm+f5C0VK0cDvw=; b=Ol9EVTiTcAncvEuo0wdJJjOelD ospwNvuyvnO59tUeu47HqbvZJuKOSoaMo+KXoIqgkJ08fwUrj6aNSfDvTxbr01hTuk3wWW8BKS5Ga n8xwgspkOv5pALy33SrBlyn5GwJIXjQw+jcqyBkq4zTd4CdJe6TwHZe62WpmFM0IRxWFBTVv1WmDl z0xzIVAShZErtkV2jTBCL8R21nkwC1iTK+VdM+U+sLiQe4eCTpZtAU1vPTpCHTz+TIZA3Q0YYz1XL TUoOhV3fCY2M3XJNowPu3H7az1YPtATx641LtjL2aI/Aa6b2qGZQGYO4PJ22tnNJ8EatXorBfP74p yaUHUejA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kM8Mc-0002qs-Er; Sat, 26 Sep 2020 11:27:38 +0000 Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kM8MW-0002o1-1U for hostap@lists.infradead.org; Sat, 26 Sep 2020 11:27:32 +0000 Received: by mail-lj1-x22d.google.com with SMTP id u4so4525497ljd.10 for <hostap@lists.infradead.org>; Sat, 26 Sep 2020 04:27:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=n+PxdnYXqbuCw26pz4sWs+Fw7+D4Iwg2lQA1zbg4vPk=; b=GGbzBM5BKcbtsg/jmt5EKycX7g5WhQVFT6sYBb477QNLE22txTIsbCdBVSFhKzjQnA jroGsV7n9U1zaGzcZ5kwpCZK/axzP32hoMfp27gDWpCCY8nG2HMJNbBXFGGZzIkykH4s 4DJTQKOhpEcWWaJV6lneCzsbfAWtd5CFWAv20XWXj0qkvzS59QazDazeLGBglTPGz0M6 MF3GbZd7fqAdq9pziIXRBIAMZ3C/yQJdAnNzVteH3btaRsaEiwjTFA93Y8qW4T+vwhxX AG8FnSIRMz80bIrHU6G2vh6gRXW6bGqLFAzlAOY4u1V1AaxtfMQM604S/rnq3RZxHVIx G9/A== 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; bh=n+PxdnYXqbuCw26pz4sWs+Fw7+D4Iwg2lQA1zbg4vPk=; b=BV4bt0uLf4b3vP2B2jxw7KIxQvq7JlNxLxXhkrDyUjIoXACoHI6uXQWVA8fhyhjK2H Utd9FC7WUNUPZnURaBaoPp3AGPFRg5AtPerG3PSweeYIBQCtakUIXGScC8+HSO+DGLNB e1DGna01JJQEmnVtgtYw52RCiGtC/T1DmzNFcNcsNTWldr3LNOiU7HLjtCTmGXjsNB3S jg3e7ObHQAPdrD1dDHqft0vjWIUuCXVmZw1z/CP1YMsVa9EMSnYJoQU2/GnmnF/sR8Lw +x4XWN+sr1Uda5J4ANq9OYNzTbTDeezE5R4O0li7Q5cQJ7INQ6MZbUkvSdeho8dc7LTm GbYA== X-Gm-Message-State: AOAM531Z3QNtrQXqyYJU4xpSQ1AlAMw5aHpGJoCJ5ZQFsTGu9JadGPo+ NplMXUk34YUU6Ia4Y1V3TjiFetaAyAw= X-Google-Smtp-Source: ABdhPJyxy2e6DJ4FcZvfPiWeT5ryyRDSdox7D5MTO+ZDAwpkyOGFdtZC5sjA/enYmlwUsQqNIIYrgw== X-Received: by 2002:a2e:2e09:: with SMTP id u9mr2393544lju.23.1601119650325; Sat, 26 Sep 2020 04:27:30 -0700 (PDT) Received: from localhost.localdomain ([62.141.212.102]) by smtp.gmail.com with ESMTPSA id n9sm1478110lfd.215.2020.09.26.04.27.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Sep 2020 04:27:29 -0700 (PDT) From: Janusz Dziedzic <janusz.dziedzic@gmail.com> To: hostap@lists.infradead.org Subject: [PATCH 4/9] tests: remote: monitor use execute_stop() Date: Sat, 26 Sep 2020 13:26:55 +0200 Message-Id: <20200926112700.6055-4-janusz.dziedzic@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200926112700.6055-1-janusz.dziedzic@gmail.com> References: <20200926112700.6055-1-janusz.dziedzic@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200926_072732_115841_7082DEAC X-CRM114-Status: GOOD ( 11.39 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:22d listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [janusz.dziedzic[at]gmail.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <hostap.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/hostap>, <mailto:hostap-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/hostap/> List-Post: <mailto:hostap@lists.infradead.org> List-Help: <mailto:hostap-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/hostap>, <mailto:hostap-request@lists.infradead.org?subject=subscribe> Cc: j@w1.fi, Janusz Dziedzic <janusz.dziedzic@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Hostap" <hostap-bounces@lists.infradead.org> Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
Series |
[1/9] tests: remote: sort tests correctly
|
expand
|
diff --git a/tests/remote/monitor.py b/tests/remote/monitor.py index 47b5e3bbd..96dbc6564 100644 --- a/tests/remote/monitor.py +++ b/tests/remote/monitor.py @@ -107,10 +107,7 @@ def stop(host): if host.thread is None: return - host.execute(["killall", "-s", "INT", "tshark"]) - host.wait_execute_complete(host.thread, 5) - if host.thread.isAlive(): - raise Exception("tshark still alive") + host.execute_stop(host.thread) host.thread = None # Add monitor to existing interface
Stop single thread instead of kill all monitor apps. Signed-off-by: Janusz Dziedzic <janusz.dziedzic@gmail.com> --- tests/remote/monitor.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)