Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2829291pxj; Sun, 23 May 2021 12:14:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzq/t/j80bSiLE+AgyTBELidkdPVCb26DpbJd5kI0ZdAfWIvUFI3xz9RdmmHHZLL2G4QT9g X-Received: by 2002:a6b:8b58:: with SMTP id n85mr11736952iod.196.1621797295902; Sun, 23 May 2021 12:14:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621797295; cv=none; d=google.com; s=arc-20160816; b=dvkAxpid1UAplrVZLW+d15W7q+awr9/X0COOnMaG77DaiAPVHOCGP46bYsPnhR1TUa JeLdfi0XDztiZaaTaXsOaE+V5kokjUAA1cU6SuRFaIBViVGeR7YSL92y1Wprg0nyNVCe Yi4PKjRsC83gye/TIK1yTnR+PgpRyV9lLvW/bRjT7kUCwC9+27875aLkJGQqa+mDQxBU aeEbMDZrfTlmFMNAeSosiUMonwK0LfSh1+wseFMVSbhYnuNkXqhP/e0s5p4PUUeUUes2 xR6nw9nENivA20A3iDRsi3E+tIsbMC+nNAiPkjvFMhNe0wRAnX3/urrP2lpONkQ6IzTN fpNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:reply-to:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature; bh=hlAhOG1Kncl3nGsQyF+QEu+HZYrqaMEBEIhnPmLz2Dg=; b=ES3Kxqc+YlSXHcro1D5/wAyQBTeSd4yCI8rXdA6hQOsFrxzREXqyhji0vETSNSPh4O utdV3Vc0AMtv0bYUaKIictTDyTfSMiqOLwEfL9mjKfYvq54+TCIPhUNatasQVfIdKXwr fb4X1IdtZOGikQx4TCkbSGMONfBgg0/3Ejvze0LnFMCleWdHTM8t/dAH53DOnT39I934 2PlbBrzrfSaIsbyM8QoWD+i9CaDadVQs9LEyWXEgewrv1AtzkUxdQZOnf0BxyqvtOu6r 78b5EwsjZ7rvVASpfWeB4Ev3eHv8HCRk7s93Anf82eMdn/+RAFByI5w4k05s4cFELI6w qO1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b="l/7xO6s/"; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=6aiSEvG1; 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 o21si12024103jat.63.2021.05.23.12.14.42; Sun, 23 May 2021 12:14:55 -0700 (PDT) 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=@suse.cz header.s=susede2_rsa header.b="l/7xO6s/"; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=6aiSEvG1; 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 S231893AbhEWTQH (ORCPT + 99 others); Sun, 23 May 2021 15:16:07 -0400 Received: from mx2.suse.de ([195.135.220.15]:36118 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231887AbhEWTQG (ORCPT ); Sun, 23 May 2021 15:16:06 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1621797279; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hlAhOG1Kncl3nGsQyF+QEu+HZYrqaMEBEIhnPmLz2Dg=; b=l/7xO6s/ONa36uY2hF3geoKfyppNACNvkn1GjEA9KpoHOi68slocEM+2xjc+4NUd1dVCKp QWlGpKqDLqFHSpCM2AAU1sRCsBKH36Y1MoGdn+uzIs95nR5jku2jO/5shIbj1LUmmlqm+h T+uuNISRFm6VS/5qaEcuLOD5v9DOaQ4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1621797279; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hlAhOG1Kncl3nGsQyF+QEu+HZYrqaMEBEIhnPmLz2Dg=; b=6aiSEvG1V+xagLEYXE3y18+uNeD+8Srg/B752Taq6f02GGJUQOm2MGY8P0sHpcpRMFpeGF qSSeFP+KXYD/ZgCQ== Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 40831AC87; Sun, 23 May 2021 19:14:39 +0000 (UTC) Date: Sun, 23 May 2021 21:14:37 +0200 From: Petr Vorel To: "J. Bruce Fields" Cc: linux-nfs@vger.kernel.org, Yong Sun Subject: Re: pynfs: COUR2, EID50 test failures Message-ID: Reply-To: Petr Vorel References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org > On Fri, May 21, 2021 at 08:47:01AM +0200, Petr Vorel wrote: > > Hi Bruce, > > what's wrong with pynfs COUR2, EID50 tests? > > They're failing on various kernels. > > I got these failures on 5.11.12 (openSUSE package), 5.13.0-rc2 (mainline on > > openSUSE), 4.9.0 (Debian package): > > COUR2 st_courtesy.testLockSleepLock : FAILURE > > OP_OPEN should return NFS4_OK, instead got > > NFS4ERR_GRACE > Are you running it immediately after starting the server? If so, that's > expected. Personally my test scripts mount the server and create a file > there before running pynfs tests. The create won't return until the > grace period's done. Thanks for info, I'll test that! > Might be worth documenting in the README, or teaching pynfs to wait > before running tests. Or maybe test should create a test file before? That might be faster than waiting. Because there is some wait for 2 min as part of testing. > > EID50 st_exchange_id.testSSV : FAILURE > > nfs4lib.NFS4Error: OP_EXCHANGE_ID should return > > NFS4_OK, instead got NFS4ERR_ENCR_ALG_UNSUPP > > Nothing in dmesg (tested with "rpcdebug -m nfsd -s lockd"). > > Or is it just my wrong setup? > SSV support is optional. We should probably drop the "all" tag from > that test. Again, thanks for info. It'd be great if you implement that. Kind regards, Petr > --b.