Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1404728pxj; Fri, 21 May 2021 13:26:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx4w9KXfbpZ1R4HP/sAjACKZuA0qkZxwI4YR/PmPM4RhUEscQiMOLepWf9yXVdqzfYcV+Sq X-Received: by 2002:a92:c7b3:: with SMTP id f19mr767206ilk.228.1621628806423; Fri, 21 May 2021 13:26:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621628806; cv=none; d=google.com; s=arc-20160816; b=fW44a/yxyHcnbJgR33GH9m9zKXBxLgAuvcGmwcGfXW20NRYlqiPZ/bVoeY+kW6iP3Y u4DHY1mojsmUPQFSA7V4ng99XQfFkwjMLkHeQP8ulyF1TkLaziKyyr8qSAmtSsUEC6cU x8Nd6UfhwuU+va63Sq2W6oapVv7fg90hyY6oN9lA75sBdxZrYUaJfEw2iMA5FRd/vYa2 UkO1RQL/f2ANfrCLyXn5BdcmlFNVKdv44142iAKURn4aR1sxKbLcwyBLLgBjURqYJqtc LfXHt3I9DucGjQd/bdB0h7nCoAB7z2Gat3tfaBw2kna+iumyYUMR31lneiQ2y/UOJyAG HL5Q== 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:message-id:subject:cc:to:from:date:dkim-signature; bh=2bresmZwcb0qBtGOLXai3rrPS7BII9VRs6jTka+1aWo=; b=0ldt0r0sEXKv/UHya5E0twk2tKOz+Z3V/9p+X3LD+OTTLJxKSukiDohU2Q5rsS4J7v nSlHRAxx8Uxe8aiSOvYkq1RajKykKV2kYnRCMiH3D/kJLE2ToXDbYfjBXhvsadmneSlc dJA636HC1s4xonbm/z4Aq/S2ZQ0djpf1SeXPMH/YrWp/lflSd6Rt6OPjcs6YPH26RoZv 1rdoKFczK7GwZc1CesRSxlVQhVKzSv9OfeFbozRv2sIBCpme1uaJLgQQEGvQMXLn5wAE bec0xLkpbmcIu07W/SHzYz+oEC8P5a1gdh3yywNySq49rVuTHy0wny6dIooN9XCKzTt+ kvlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=NSkPI4BQ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w18si6800919ilg.96.2021.05.21.13.26.33; Fri, 21 May 2021 13:26:46 -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=@redhat.com header.s=mimecast20190719 header.b=NSkPI4BQ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229748AbhEUSlH (ORCPT + 99 others); Fri, 21 May 2021 14:41:07 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:27004 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229554AbhEUSlH (ORCPT ); Fri, 21 May 2021 14:41:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1621622383; h=from:from:reply-to:subject:subject: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=2bresmZwcb0qBtGOLXai3rrPS7BII9VRs6jTka+1aWo=; b=NSkPI4BQYzudCcqdLQcQ7i4B45G7GDHMIPYmSvTcZigAwXB6puSzejfMon1mYRR2SGYcY/ KiyhxLK0tgGkLObYtIQp6bzxwR2w7CBs4PTaJuP0mePemajvUE8Rhw9DzL3iKrVElCXiyc IBurzHn3VDaw+x3ESCetst/X5biFHcI= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-350-LC_Eh2EINVCMyU8IdC-4Fg-1; Fri, 21 May 2021 14:39:41 -0400 X-MC-Unique: LC_Eh2EINVCMyU8IdC-4Fg-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id BB867188E3D3; Fri, 21 May 2021 18:39:40 +0000 (UTC) Received: from pick.fieldses.org (ovpn-114-99.phx2.redhat.com [10.3.114.99]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A121D5C648; Fri, 21 May 2021 18:39:40 +0000 (UTC) Received: by pick.fieldses.org (Postfix, from userid 2815) id 5B6D4120966; Fri, 21 May 2021 14:39:39 -0400 (EDT) Date: Fri, 21 May 2021 14:39:39 -0400 From: "J. Bruce Fields" To: Petr Vorel Cc: linux-nfs@vger.kernel.org, Yong Sun Subject: Re: pynfs: COUR2, EID50 test failures Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 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. Might be worth documenting in the README, or teaching pynfs to wait before running tests. > 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. --b.