Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2254580pxu; Fri, 18 Dec 2020 08:54:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJztQ+oV18ljJTIL6p3dQdU4lj+rF6dF86ySX/gHNWuA848w1ZV1WNf26V+ZbPshq0rr2oRs X-Received: by 2002:a17:906:3953:: with SMTP id g19mr4810064eje.429.1608310478628; Fri, 18 Dec 2020 08:54:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608310478; cv=none; d=google.com; s=arc-20160816; b=TPcO9VE6Kp5FIboE9L7KP3Qlc4Hfnwu6s4/50qzCYWhoJGlbBv8iwerMY+iw5Ootm/ BV3P1NQ6hWt9HvSNyaRCil6rXbWt3C9OUU6Hq1/lfflNZvQ38jl8O0aGlztceDWwwV6f xetCrKQkRgnzw8r8rSUscmRWNS9E5oShNW32q9sXwiO2umittf7GHP7Wsfx4ENV4k0rF dw89ZT6jDzYIZtOMS9VagM8AtWYZpGtPDeVTXeaCCU8Xw1Ep67kt3Syw5FpN79csGsg4 4w/w9BT81/W7O+8KHlXWmO+bGTyj/1c0AMMbvR3ikEjncoqb+HJsJP3AyhDQCm3fDH6q xjcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date:dkim-signature:dkim-filter; bh=wzBSDcbk5EfYtRIJBDIHnvCHyJPZHCfXtdC4XaxiLLU=; b=XL4T4nRc2iRGa+evKIQPDnNJrtPvZIT5wUfLJpCrEEiqPMdaJqHUiYFECsrFWc8oRr n1k5mZnClQ9q/Hoqlrv22kUudviSV0E7Yb5Jc47dzJ/OBeKyVDMNCYFYNB7dQf/H6vEx 2kHLLviv21d/aeXtZb52ULNspeChEP7mBE10QOHXCpxAqVLdjWcxpI0Tj7zTByfc0vOO k6CgTdiIG6i0EL2UG+JNzAOa9MjzouoSYf+YbBj25WsRSJSFSg13Nrok9r2n59Ww5gYv td1Kc7FEbk1q4zQcNg0qJEbb+VYGoFqaj6kqfUF+rJDnpCXMPw1+vSN1Ofuh/Oc29cHH d32w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@desy.de header.s=default header.b=heSriplG; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s18si1916635eji.157.2020.12.18.08.54.16; Fri, 18 Dec 2020 08:54:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@desy.de header.s=default header.b=heSriplG; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727787AbgLRQvB (ORCPT + 99 others); Fri, 18 Dec 2020 11:51:01 -0500 Received: from smtp-o-2.desy.de ([131.169.56.155]:43944 "EHLO smtp-o-2.desy.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726708AbgLRQvA (ORCPT ); Fri, 18 Dec 2020 11:51:00 -0500 Received: from smtp-buf-2.desy.de (smtp-buf-2.desy.de [131.169.56.165]) by smtp-o-2.desy.de (Postfix) with ESMTP id 002501610CE for ; Fri, 18 Dec 2020 17:50:16 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp-o-2.desy.de 002501610CE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=desy.de; s=default; t=1608310217; bh=wzBSDcbk5EfYtRIJBDIHnvCHyJPZHCfXtdC4XaxiLLU=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=heSriplGg1Gb1RphR6/5mhVAGrSpwl3HWcRVE3yY5JBac2DIVor5O2nol2ZSFahXZ 1zLHU23psf8MaAQCiDSHdDOJ/8yAyb7JG++xOEyOtZdHBldFaHvFeKAYXkIJxIclZ3 fFA2i+w2PbUfC0QfpU4MUM5mZITqT2NfVk715n3U= Received: from smtp-m-2.desy.de (smtp-m-2.desy.de [131.169.56.130]) by smtp-buf-2.desy.de (Postfix) with ESMTP id EB9691A0089; Fri, 18 Dec 2020 17:50:16 +0100 (CET) X-Virus-Scanned: amavisd-new at desy.de Received: from z-mbx-2.desy.de (z-mbx-2.desy.de [131.169.55.140]) by smtp-intra-2.desy.de (Postfix) with ESMTP id C140C1001A7; Fri, 18 Dec 2020 17:50:16 +0100 (CET) Date: Fri, 18 Dec 2020 17:50:16 +0100 (CET) From: "Mkrtchyan, Tigran" To: Tom Haynes Cc: "J. Bruce Fields" , bfields , linux-nfs Message-ID: <390162557.5382045.1608310216661.JavaMail.zimbra@desy.de> In-Reply-To: <129D549F-66DC-43FE-B303-042442CDAAC8@gmail.com> References: <20201217003516.75438-1-loghyr@hammerspace.com> <20201218144605.GB1258@fieldses.org> <1510952492.5375434.1608308638350.JavaMail.zimbra@desy.de> <20201218163721.GC1258@fieldses.org> <129D549F-66DC-43FE-B303-042442CDAAC8@gmail.com> Subject: Re: [pynfs 00/10] Misc Fixes, primarily LAYOUTRETURN MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: Zimbra 8.8.15_GA_3980 (ZimbraWebClient - FF83 (Linux)/8.8.15_GA_3980) Thread-Topic: Misc Fixes, primarily LAYOUTRETURN Thread-Index: Jm5PJtnVxZlYyEA2jfMwduPdCLAzBw== Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Let correct myself: some of them fail due to python3. Tigran. ----- Original Message ----- > From: "Tom Haynes" > To: "J. Bruce Fields" > Cc: "Tigran Mkrtchyan" , "bfields" , "linux-nfs" > > Sent: Friday, 18 December, 2020 17:38:54 > Subject: Re: [pynfs 00/10] Misc Fixes, primarily LAYOUTRETURN >> On Dec 18, 2020, at 8:37 AM, J. Bruce Fields wrot= e: >>=20 >> On Fri, Dec 18, 2020 at 05:23:58PM +0100, Mkrtchyan, Tigran wrote: >>>=20 >>> I run the tests. They fail due to python3 incompatibility: >>=20 >> Thanks! I can't reproduce these, I assume because they're failing too >> early?: >>=20 >> FFLA1 st_flex.testFlexLayoutTestAccess : RUNN= ING >> FFLA1 st_flex.testFlexLayoutTestAccess : FAIL= URE >> OP_LAYOUTGET should return NFS4_OK, instead got >> =09 NFS4ERR_LAYOUTUNAVAILABLE >>=20 >> They're probably easy fixes, but I'd rather leave them up to somebody >> that can test the result. Patches on top of these would be best. >>=20 >=20 >=20 > I=E2=80=99ll do that - but note that they were failing before my patch se= t. >=20 >=20 >> --b. >>=20 >>>=20 >>> FFST1 st_flex.testStateid1 : PAS= S >>> FFLA1 st_flex.testFlexLayoutTestAccess : FAI= LURE >>> Expected uid_rd !=3D b'17', got b'17' >>> FFLG2 st_flex.testFlexLayoutStress : FAI= LURE >>> TypeError: can only concatenate str (not "bytes") to >>> str >>> FFLS3 st_flex.testFlexLayoutStatsStraight : FAI= LURE >>> TypeError: can only concatenate str (not "bytes") to >>> str >>> FFLS1 st_flex.testFlexLayoutStatsSmall : FAI= LURE >>> TypeError: can't concat str to bytes >>> FFLS2 st_flex.testFlexLayoutStatsReset : FAI= LURE >>> TypeError: can only concatenate str (not "bytes") to >>> str >>> FFLS4 st_flex.testFlexLayoutStatsOverflow : FAI= LURE >>> TypeError: can only concatenate str (not "bytes") to >>> str >>> FFLORSTALEWRITE st_flex.testFlexLayoutReturnStaleWrite : FAI= LURE >>> OP_LAYOUTGET should return NFS4_OK or NFS4ERR_DELAY or >>> NFS4ERR_STALE, instead got NFS4ERR_LAYOUTUNAVAILABLE >>> FFLORSTALEREAD st_flex.testFlexLayoutReturnStaleRead : FAI= LURE >>> OP_LAYOUTGET should return NFS4_OK, instead got >>> NFS4ERR_LAYOUTTRYLATER >>> FFLORSERVERFAULTWRITE st_flex.testFlexLayoutReturnServerFaultWrite : FA= ILURE >>> OP_LAYOUTGET should return NFS4_OK or NFS4ERR_DELAY or >>> NFS4ERR_SERVERFAULT, instead got >>> NFS4ERR_LAYOUTUNAVAILABLE >>> FFLORSERVERFAULTREAD st_flex.testFlexLayoutReturnServerFaultRead : FAI= LURE >>> OP_LAYOUTGET should return NFS4_OK, instead got >>> NFS4ERR_LAYOUTTRYLATER >>> FFLORNXIOWRITE st_flex.testFlexLayoutReturnNxioWrite : FAI= LURE >>> OP_LAYOUTGET should return NFS4_OK or NFS4ERR_DELAY or >>> NFS4ERR_NXIO, instead got NFS4ERR_LAYOUTUNAVAILABLE >>> FFLORNXIOREAD st_flex.testFlexLayoutReturnNxioRead : FAI= LURE >>> OP_LAYOUTGET should return NFS4_OK, instead got >>> NFS4ERR_LAYOUTTRYLATER >>> FFLORNOSPCWRITE st_flex.testFlexLayoutReturnNospcWrite : FAI= LURE >>> OP_LAYOUTGET should return NFS4_OK or NFS4ERR_DELAY or >>> NFS4ERR_NOSPC, instead got NFS4ERR_LAYOUTUNAVAILABLE >>> FFLORNOSPC st_flex.testFlexLayoutReturnNospcRead : FAI= LURE >>> OP_LAYOUTGET should return NFS4_OK, instead got >>> NFS4ERR_LAYOUTUNAVAILABLE >>> FFLORIOWRITE st_flex.testFlexLayoutReturnIoWrite : FAI= LURE >>> OP_LAYOUTGET should return NFS4_OK or NFS4ERR_DELAY or >>> NFS4ERR_IO, instead got NFS4ERR_LAYOUTUNAVAILABLE >>> FFLORIOREAD st_flex.testFlexLayoutReturnIoRead : FAI= LURE >>> OP_LAYOUTGET should return NFS4_OK, instead got >>> NFS4ERR_LAYOUTTRYLATER >>> FFLORFBIGWRITE st_flex.testFlexLayoutReturnFbigWrite : FAI= LURE >>> OP_LAYOUTGET should return NFS4_OK or NFS4ERR_DELAY or >>> NFS4ERR_FBIG, instead got NFS4ERR_LAYOUTUNAVAILABLE >>> FFLORFBIG st_flex.testFlexLayoutReturnFbigRead : FAI= LURE >>> OP_LAYOUTGET should return NFS4_OK, instead got >>> NFS4ERR_LAYOUTUNAVAILABLE >>> FFLORDELAYWRITE st_flex.testFlexLayoutReturnDelayWrite : FAI= LURE >>> OP_LAYOUTGET should return NFS4_OK or NFS4ERR_DELAY, >>> instead got NFS4ERR_LAYOUTUNAVAILABLE >>> FFLORDELAYREAD st_flex.testFlexLayoutReturnDelayRead : FAI= LURE >>> OP_LAYOUTGET should return NFS4_OK, instead got >>> NFS4ERR_LAYOUTTRYLATER >>> FFLORACCESSWRITE st_flex.testFlexLayoutReturnAccessWrite : FAI= LURE >>> OP_LAYOUTGET should return NFS4_OK or NFS4ERR_DELAY or >>> NFS4ERR_ACCESS, instead got NFS4ERR_LAYOUTUNAVAILABLE >>> FFLORACCESSREAD st_flex.testFlexLayoutReturnAccessRead : FAI= LURE >>> OP_LAYOUTGET should return NFS4_OK, instead got >>> NFS4ERR_LAYOUTTRYLATER >>> FFLOR100 st_flex.testFlexLayoutReturn100 : FAI= LURE >>> NameError: name 'xrange' is not defined >>> FFLOOS st_flex.testFlexLayoutOldSeqid : FAI= LURE >>> TypeError: can only concatenate str (not "bytes") to >>> str >>> FFGLO1 st_flex.testFlexGetLayout : FAI= LURE >>> OP_LAYOUTGET should return NFS4_OK, instead got >>> NFS4ERR_LAYOUTTRYLATER >>> FFGDI1 st_flex.testFlexGetDevInfo : FAI= LURE >>> TypeError: can only concatenate str (not "bytes") to >>> str >>>=20 >>>=20 >>> Regards, >>> Tigran. >>>=20 >>>=20 >>>=20 >>> ----- Original Message ----- >>>> From: "J. Bruce Fields" >>>> To: "Tom Haynes" >>>> Cc: "bfields" , "linux-nfs" >>>> Sent: Friday, 18 December, 2020 15:46:05 >>>> Subject: Re: [pynfs 00/10] Misc Fixes, primarily LAYOUTRETURN >>>=20 >>>> On Wed, Dec 16, 2020 at 04:35:06PM -0800, Tom Haynes wrote: >>>>> Hi Bruce, >>>>>=20 >>>>> Here are a series of patches that Hamerspace has applied to the >>>>> flex files testing. >>>>=20 >>>> Thanks, applying. >>>>=20 >>>> I'm pretty hands-off when it comes to pynfs tests I don't personally >>>> run. If they work for you then I'm probably fine with them.... >>>>=20 >>>> --b. >>>>=20 >>>>>=20 >>>>> Thanks, >>>>> Tom >>>>>=20 >>>>> Jean Spector (2): >>>>> st_flex.py - Added tests for LAYOUTRETURN with errors >>>>> st_flex.py - Fixed flag names >>>>>=20 >>>>> Tom Haynes (7): >>>>> Close the file for SEQ10b >>>>> flexfiles: Fix up the layout error handling to reflect the previous >>>>> error >>>>> st_flex: Reduce the layoutstats period to make tests finish in a san= e >>>>> time >>>>> st_flex: Fix up test names >>>>> st_flex: Only do 100 layoutget/return in loop >>>>> st_flex: We can't return the layout without a layout stateid >>>>> st_flex: Fixup check for error in layoutget_return() >>>>>=20 >>>>> Trond Myklebust (1): >>>>> Fix testFlexLayoutOldSeqid >>>>>=20 >>>>> nfs4.1/server41tests/st_flex.py | 651 +++++++++++++++++++++++++--= - >>>>> nfs4.1/server41tests/st_sequence.py | 5 + >>>>> 2 files changed, 588 insertions(+), 68 deletions(-) >>>>>=20 >>>>> -- > >>>> 2.26.2