From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0839FC04FF3 for ; Mon, 24 May 2021 08:19:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C850F610FA for ; Mon, 24 May 2021 08:19:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232306AbhEXIVR (ORCPT ); Mon, 24 May 2021 04:21:17 -0400 Received: from mx2.suse.de ([195.135.220.15]:38532 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232279AbhEXIVQ (ORCPT ); Mon, 24 May 2021 04:21:16 -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=1621844388; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=gBjxf+3ZRrtJXQdnJVDvhPpsQbh5YWRQfsbjsz0dV+I=; b=x4w8wq+RfdRY6+AuRi1qGmAqVvVVPt+5lC0FvL1bWYBglP3YTn/iMJ1S9UOH+ANI8qsVm8 xZWvofAoNZ8/l+JFXR5+gynKWGqEuAcyrXO0ZXZlu/kIQEQIhtd5FpQcQ1NhcudEmYOqfx 6id2XAN+ndxUI5eQS0w+hNBVWaxtYQQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1621844388; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=gBjxf+3ZRrtJXQdnJVDvhPpsQbh5YWRQfsbjsz0dV+I=; b=v0dnFIjayGQfvDZ6e/rkXMqxGBIiIsf21dUdWIxesy4NCQ51rIP6/Mrshk7UVM2aPI30WU RTgZuziwQI93bPAg== Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 6612AABC1; Mon, 24 May 2021 08:19:48 +0000 (UTC) Date: Mon, 24 May 2021 10:19:46 +0200 From: Petr Vorel To: "J. Bruce Fields" , 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 Hi Bruce, > > 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! Actually, if I create file in NFS root directory not only that COUR2 still fail, but 2 other tests fail (CSID4, FAILURE). Maybe really doing proper setup in the test would be the best. Kind regards, Petr > > 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.