* Pull request for pynfs
@ 2017-08-14 23:55 Frank Filz
2017-08-24 19:51 ` J. Bruce Fields
0 siblings, 1 reply; 5+ messages in thread
From: Frank Filz @ 2017-08-14 23:55 UTC (permalink / raw)
To: linux-nfs
Bruce,
Please pull from https://github.com/ffilz/pynfs/commits/master
This patch fixes CSESS29 to issue the invalid CREATE_SESSION inside a valid
session so that the SEQUENCE op will renew the lease on the clientid. This
test may take sufficient time on some servers to have the unconfirmed
clientid expire, requiring setting a long lease period for testing that
impacts the overall run time.
Thanks
Frank
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
^ permalink raw reply [flat|nested] 5+ messages in thread
* Pull request for pynfs
@ 2015-10-16 20:44 Frank Filz
2015-10-19 21:48 ` Bruce Fields
0 siblings, 1 reply; 5+ messages in thread
From: Frank Filz @ 2015-10-16 20:44 UTC (permalink / raw)
To: linux-nfs; +Cc: Bruce Fields
Bruce,
Please pull the top patch from:
https://github.com/ffilz/pynfs/commits/master
It fixes CID2 to allow NFS4_OK when SETCLIENTID with a different principal
replaces a clientid that has no state, and adds CID2a which expects
NFS4ERR_CLID_INUSE since it does have state.
Thanks
Frank
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Pull request for pynfs
2015-10-16 20:44 Frank Filz
@ 2015-10-19 21:48 ` Bruce Fields
2015-10-19 22:00 ` Frank Filz
0 siblings, 1 reply; 5+ messages in thread
From: Bruce Fields @ 2015-10-19 21:48 UTC (permalink / raw)
To: Frank Filz; +Cc: linux-nfs
On Fri, Oct 16, 2015 at 01:44:42PM -0700, Frank Filz wrote:
> Bruce,
>
> Please pull the top patch from:
>
> https://github.com/ffilz/pynfs/commits/master
>
> It fixes CID2 to allow NFS4_OK when SETCLIENTID with a different principal
> replaces a clientid that has no state, and adds CID2a which expects
> NFS4ERR_CLID_INUSE since it does have state.
Thanks!
This leave us with two test functions both named "testInUse".
I applied the following to get both tests working.
--b.
diff --git a/nfs4.0/servertests/st_setclientid.py b/nfs4.0/servertests/st_setclientid.py
index 0fb59cd7f542..fbeab22e5026 100644
--- a/nfs4.0/servertests/st_setclientid.py
+++ b/nfs4.0/servertests/st_setclientid.py
@@ -50,7 +50,7 @@ def testClientUpdateCallback(t, env):
res = c.close_file(t.code, fh, stateid)
check(res, msg="Close after updating callback info")
-def testInUse(t, env):
+def testNotInUse(t, env):
"""SETCLIENTID with same nfs_client_id.id should return NFS4ERR_OK
if there is no active state
^ permalink raw reply related [flat|nested] 5+ messages in thread* RE: Pull request for pynfs
2015-10-19 21:48 ` Bruce Fields
@ 2015-10-19 22:00 ` Frank Filz
0 siblings, 0 replies; 5+ messages in thread
From: Frank Filz @ 2015-10-19 22:00 UTC (permalink / raw)
To: 'Bruce Fields'; +Cc: linux-nfs
> On Fri, Oct 16, 2015 at 01:44:42PM -0700, Frank Filz wrote:
> > Bruce,
> >
> > Please pull the top patch from:
> >
> > https://github.com/ffilz/pynfs/commits/master
> >
> > It fixes CID2 to allow NFS4_OK when SETCLIENTID with a different
> > principal replaces a clientid that has no state, and adds CID2a which
> > expects NFS4ERR_CLID_INUSE since it does have state.
>
> Thanks!
>
> This leave us with two test functions both named "testInUse".
>
> I applied the following to get both tests working.
Oops, sorry...
Frank
> diff --git a/nfs4.0/servertests/st_setclientid.py
> b/nfs4.0/servertests/st_setclientid.py
> index 0fb59cd7f542..fbeab22e5026 100644
> --- a/nfs4.0/servertests/st_setclientid.py
> +++ b/nfs4.0/servertests/st_setclientid.py
> @@ -50,7 +50,7 @@ def testClientUpdateCallback(t, env):
> res = c.close_file(t.code, fh, stateid)
> check(res, msg="Close after updating callback info")
>
> -def testInUse(t, env):
> +def testNotInUse(t, env):
> """SETCLIENTID with same nfs_client_id.id should return NFS4ERR_OK
> if there is no active state
>
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-08-24 19:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-14 23:55 Pull request for pynfs Frank Filz
2017-08-24 19:51 ` J. Bruce Fields
-- strict thread matches above, loose matches on Subject: below --
2015-10-16 20:44 Frank Filz
2015-10-19 21:48 ` Bruce Fields
2015-10-19 22:00 ` Frank Filz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).