Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BC049C64EC7 for ; Sat, 25 Feb 2023 11:45:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229542AbjBYLpc (ORCPT ); Sat, 25 Feb 2023 06:45:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229503AbjBYLpb (ORCPT ); Sat, 25 Feb 2023 06:45:31 -0500 Received: from smtp-o-1.desy.de (smtp-o-1.desy.de [131.169.56.154]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21BB01C5AA for ; Sat, 25 Feb 2023 03:45:29 -0800 (PST) Received: from smtp-buf-1.desy.de (smtp-buf-1.desy.de [131.169.56.164]) by smtp-o-1.desy.de (Postfix) with ESMTP id 39115E0AF5 for ; Sat, 25 Feb 2023 12:45:27 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp-o-1.desy.de 39115E0AF5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=desy.de; s=default; t=1677325527; bh=XcGlThv4nmPUYOpvzTj5s7imvyaP4FWNwgFDdJeUr2s=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=UTx8uVXlA+pPM+UtWuBdR82FJsMQjXR0r4z5Y/TByRcT6B1nOIEL2wPcrMlm2OUVG XP2+KyZIjltmZ2xY2RNvE17bT3rowN7Wip/pgN46Nd4r3vxV2FK0g2fCh2K2Gkuyfm f8WGoFmQN8Ud4MVZzW5qOS44BuBJ90rSrHl0o+A4= Received: from smtp-m-1.desy.de (smtp-m-1.desy.de [131.169.56.129]) by smtp-buf-1.desy.de (Postfix) with ESMTP id 2859D1202CB; Sat, 25 Feb 2023 12:45:27 +0100 (CET) Received: from smtp-intra-1.desy.de (smtp-intra-1.desy.de [131.169.56.82]) by smtp-m-1.desy.de (Postfix) with ESMTP id 226E540143; Sat, 25 Feb 2023 12:45:27 +0100 (CET) Received: from z-mbx-2.desy.de (z-mbx-2.desy.de [131.169.55.140]) by smtp-intra-1.desy.de (Postfix) with ESMTP id 1CB2AC00A2; Sat, 25 Feb 2023 12:45:27 +0100 (CET) Date: Sat, 25 Feb 2023 12:45:26 +0100 (CET) From: "Mkrtchyan, Tigran" To: "J. Bruce Fields" Cc: Jeff Layton , Dai Ngo , linux-nfs , Frank Filz Message-ID: <436117750.41744935.1677325526601.JavaMail.zimbra@desy.de> In-Reply-To: <20230223151132.GA10456@fieldses.org> References: <20230222134952.32851-1-jlayton@kernel.org> <20230223151132.GA10456@fieldses.org> Subject: Re: [pynfs RFC PATCH] nfs4.0/testserver.py: don't return an error when tests fail MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="----=_Part_41744936_2021151205.1677325527077" X-Mailer: Zimbra 9.0.0_GA_4485 (ZimbraWebClient - FF110 (Linux)/9.0.0_GA_4478) Thread-Topic: nfs4.0/testserver.py: don't return an error when tests fail Thread-Index: DtDD6zX9qcKwlzioT4FaderabT6sCA== Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org ------=_Part_41744936_2021151205.1677325527077 Date: Sat, 25 Feb 2023 12:45:26 +0100 (CET) From: "Mkrtchyan, Tigran" To: "J. Bruce Fields" Cc: Jeff Layton , Dai Ngo , linux-nfs , Frank Filz Message-ID: <436117750.41744935.1677325526601.JavaMail.zimbra@desy.de> In-Reply-To: <20230223151132.GA10456@fieldses.org> References: <20230222134952.32851-1-jlayton@kernel.org> <20230223151132.GA10456@fieldses.org> Subject: Re: [pynfs RFC PATCH] nfs4.0/testserver.py: don't return an error when tests fail MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Mailer: Zimbra 9.0.0_GA_4485 (ZimbraWebClient - FF110 (Linux)/9.0.0_GA_4478) Thread-Topic: nfs4.0/testserver.py: don't return an error when tests fail Thread-Index: DtDD6zX9qcKwlzioT4FaderabT6sCA== ----- Original Message ----- > From: "J. Bruce Fields" > To: "Jeff Layton" > Cc: "Dai Ngo" , "linux-nfs" , "Frank Filz" > Sent: Thursday, 23 February, 2023 16:11:32 > Subject: Re: [pynfs RFC PATCH] nfs4.0/testserver.py: don't return an error when tests fail > I orginally thought I'd continue maintaining pynfs on a volunteer basis, > but I haven't been. These all look like reasonable changes, but someone > else probably needs to step in to make sure they're handled in a > reasonable amount of time. > Well, I already have a fork in github that is used by others. Thus I can try to pick the patches from the mailing list and try to keep the tree up-to-date. Tigran. > --b. > > On Wed, Feb 22, 2023 at 08:49:52AM -0500, Jeff Layton wrote: >> This script was originally changed in eb3ba0b60055 ("Have testserver.py >> have non-zero exit code if any tests fail"), but the same change wasn't >> made to the 4.1 testserver.py script. >> >> There also wasn't much explanation for it, and it makes it difficult to >> tell whether the test harness itself failed, or whether there was a >> failure in a requested test. >> >> Stop the 4.0 testserver.py from exiting with an error code when a test >> fails, so that a successful return means only that the test harness >> itself worked, not that every requested test passed. >> >> Cc: Frank Filz >> Signed-off-by: Jeff Layton >> --- >> nfs4.0/testserver.py | 2 -- >> 1 file changed, 2 deletions(-) >> >> I'm not sure about this one. I've worked around this in kdevops for now, >> but it would really be preferable if it worked this way, imo. If this >> isn't acceptable, maybe we can add a new option that enables this >> behavior? >> >> Frank, what was the original rationale for eb3ba0b60055 ? >> >> diff --git a/nfs4.0/testserver.py b/nfs4.0/testserver.py >> index f2c41568e5c7..4f4286daa657 100755 >> --- a/nfs4.0/testserver.py >> +++ b/nfs4.0/testserver.py >> @@ -387,8 +387,6 @@ def main(): >> >> if nfail < 0: >> sys.exit(3) >> - if nfail > 0: >> - sys.exit(2) >> >> if __name__ == "__main__": >> main() >> -- > > 2.39.2 ------=_Part_41744936_2021151205.1677325527077 Content-Type: application/pkcs7-signature; name=smime.p7s; smime-type=signed-data Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCAMIIF vzCCBKegAwIBAgIMJENPm+MXSsxZAQzUMA0GCSqGSIb3DQEBCwUAMIGNMQswCQYDVQQGEwJERTFF MEMGA1UECgw8VmVyZWluIHp1ciBGb2VyZGVydW5nIGVpbmVzIERldXRzY2hlbiBGb3JzY2h1bmdz bmV0emVzIGUuIFYuMRAwDgYDVQQLDAdERk4tUEtJMSUwIwYDVQQDDBxERk4tVmVyZWluIEdsb2Jh bCBJc3N1aW5nIENBMB4XDTIxMDIxMDEyMzEwOVoXDTI0MDIxMDEyMzEwOVowWDELMAkGA1UEBhMC REUxLjAsBgNVBAoMJURldXRzY2hlcyBFbGVrdHJvbmVuLVN5bmNocm90cm9uIERFU1kxGTAXBgNV BAMMEFRpZ3JhbiBNa3J0Y2h5YW4wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQClVKHU er1OiIaoo2MFDgCSzcqRCB8qVjjLJyJwzHWkhKniE6dwY8xHciG0HZFpSQqiRsoakD+BzqINXsqI CkVck5n7cUJ6cHBOM1r4pzEBcuuozPrT2tAfnHkFFGTZffOXgjmEITfSh6SD+DYeZH4Dt8kPZmnD mzWMDFDyB67WWcWApVC1nPh29yGgJk18UZ+Ut9a+woaovMZlutMbuvLVt/x5rpycMw0z+J1qeK7J 8F3bKb0o2gg+Mnz9LzpLtJp7E9qJUKOTkZGDua9w9xrlo4XGX9Vn72K5wodu6woahdgNG+sXRcJM RH3aWgfdznoi1ORLJCfTbdfjSBpclvt/AgMBAAGjggJRMIICTTA+BgNVHSAENzA1MA8GDSsGAQQB ga0hgiwBAQQwEAYOKwYBBAGBrSGCLAEBBAgwEAYOKwYBBAGBrSGCLAIBBAgwCQYDVR0TBAIw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