Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2729154rwl; Sat, 1 Apr 2023 13:31:36 -0700 (PDT) X-Google-Smtp-Source: AKy350Z3DLZlrmdCgqkdDRHtDKekbqmM/GenmtHnZDvkBcnYwWtKQz+ZdTtE+/n8LeH0FYvoujlT X-Received: by 2002:a17:903:748:b0:19e:5cc3:828f with SMTP id kl8-20020a170903074800b0019e5cc3828fmr9056719plb.27.1680381096762; Sat, 01 Apr 2023 13:31:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680381096; cv=none; d=google.com; s=arc-20160816; b=xYZK4O9AOa5doWLzK+QVPUmKFbveH8SOImcZKbmIRTnhMeSlb9RlDmWxLiAbv1pviM MFtl1IQI7+1Oho3cHIhAgmffy0GN45/BTNn+gewJLJ2W4mJ0zKqiRpyXr6qM1fg3f8Jc Fo9ESkd6KYmT71hYlk7uXU/8AGknkztMFQ+awPRaSLNXFXnckidk4mW7/tToSFQac/Td D3/YhdDBLX1Xgid214Jv1VaL1tjLtlvjh9SrhO9iD5ySx2plwf1P+ocn/tKI2pcxzPkq TspP2aQ0aN0fC/RW9cTes+jNfYFz7J/LxVH0wGP26MYPmGZNCb9wMSCFbVa4ztEg4WVP tlHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=kbGeThlJsMAj6wyhFO47pfSEyOilk1EOpNcAOpnNzwg=; b=p/rOabUv7NNEKTHEd9m4xykOOPxhHBq2/y39N8jnGlKzgn5lrBTmTKxsgLLK9xKNpX PwJrBwY0htVUDA3h1iRMjes2xvimqhLFvlGLPRL5Njak4+K1VCnx8rq8LDyKdDg49Inr xOYFLdAgE7Rdr3Az7hf1Js5G05S1x3bia80Kj/LB1C3JUY1iPid1gGKCyOcn6b9pglrC nSEWCnMpN+UA531HB3eJnXyS4lI37bPrOZcfp+mc0Qo4RXN2K4PM5aN+xZ1QAd0Hp+Ks er8BJjdFhfwwOTvL64xkKJuspgCjd9RCiBnlyisWvlmgrD7ylJIhgEC/Pve4CpPZxwyi 9f9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2022-7-12 header.b=GkYnxPt0; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n16-20020a170902d2d000b0019926d9c734si5487771plc.602.2023.04.01.13.31.25; Sat, 01 Apr 2023 13:31:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2022-7-12 header.b=GkYnxPt0; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229448AbjDAUaK (ORCPT + 99 others); Sat, 1 Apr 2023 16:30:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbjDAUaK (ORCPT ); Sat, 1 Apr 2023 16:30:10 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52CEBC669 for ; Sat, 1 Apr 2023 13:30:09 -0700 (PDT) Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3315YMeU024533 for ; Sat, 1 Apr 2023 20:30:08 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id; s=corp-2022-7-12; bh=kbGeThlJsMAj6wyhFO47pfSEyOilk1EOpNcAOpnNzwg=; b=GkYnxPt0jO+W0qZsR9iDUcY1kgzfedwLHd44rItm6WQhp4j/NWTC/YtC6f09W8DPgrWL Cl1607+jVQd18mehNo8dRQcesDYCPZ+/C75WP2O/4h/l3zxJQYV7v+ijKAJrwi/LtJJm wulq+1yyJSyqxvAHBwHahCuPyyN55tfrUak3LK1kJh0HwD37bvUhrGq0zlnh7bzVt7Ju v3K5RDpBRMpDyz56uPtaNz6qlsEwn4xQolnbBBe4SY0ET0/TfwbbkMc+E+d/Wme7ddzm IYVw5My6WcWPeTnao6J2P0ppDA0BcKd/ZVY6uAUSQieuM73Mi7RrGtiS6zjH8kMQq2xv Tw== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ppbd3rv22-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sat, 01 Apr 2023 20:30:08 +0000 Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 331JCfOn037728 for ; Sat, 1 Apr 2023 20:30:07 GMT Received: from pps.reinject (localhost [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3pptjn9n9w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sat, 01 Apr 2023 20:30:07 +0000 Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 331KU7FZ035158 for ; Sat, 1 Apr 2023 20:30:07 GMT Received: from ca-common-hq.us.oracle.com (ca-common-hq.us.oracle.com [10.211.9.209]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTP id 3pptjn9n87-1; Sat, 01 Apr 2023 20:30:07 +0000 From: Dai Ngo To: calum.mackay@oracle.com Cc: linux-nfs@vger.kernel.org Subject: [pynfs PATCH v2] DELEG22: Return delegations so clean_diff() works Date: Sat, 1 Apr 2023 13:29:45 -0700 Message-Id: <1680380985-22971-1-git-send-email-dai.ngo@oracle.com> X-Mailer: git-send-email 1.8.3.1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-31_07,2023-03-31_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 adultscore=0 phishscore=0 bulkscore=0 mlxscore=0 suspectscore=0 spamscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304010187 X-Proofpoint-ORIG-GUID: YXm9XAmGwpfGreF6LupLcosjGzjQoajP X-Proofpoint-GUID: YXm9XAmGwpfGreF6LupLcosjGzjQoajP X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org WARNING: could not clean testdir due to: Making sure b'DELEG22-1' is writable: operation OP_SETATTR should return NFS4_OK, instead got NFS4ERR_DELAY Signed-off-by: Dai Ngo --- nfs4.0/servertests/st_delegation.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nfs4.0/servertests/st_delegation.py b/nfs4.0/servertests/st_delegation.py index ba49cf9..2318ba7 100644 --- a/nfs4.0/servertests/st_delegation.py +++ b/nfs4.0/servertests/st_delegation.py @@ -783,3 +783,5 @@ def testServerSelfConflict2(t,env): deleg_info = res.resarray[-2].switch.switch.delegation if deleg_info.delegation_type == OPEN_DELEGATE_NONE: t.fail("Could not get delegation") + res = c.compound([op.putfh(fh), op.delegreturn(deleg_info.read.stateid)]) + check(res) -- 2.27.0