dCache / dcache

dCache - a system for storing and retrieving huge amounts of data, distributed among a large number of heterogenous server nodes, under a single virtual filesystem tree with a variety of standard access methods
https://dcache.org
291 stars 136 forks source link

RENEW with expired lease should return NFS4ERR_EXPIRED, instead got NFS4ERR_STALE_CLIENTID #4439

Open paulmillar opened 6 years ago

paulmillar commented 6 years ago

Observed dCache v4.2 yielding the following error:

RENEW with expired lease should return NFS4ERR_EXPIRED, instead got NFS4ERR_STALE_CLIENTID

With stack-trace:

Traceback (most recent call last):
  File "/scratch/jenkins/pnfs-python/nfs4.0/lib/testmod.py", line 222, in run
    self.runtest(self, environment)
  File "/scratch/jenkins/pnfs-python/nfs4.0/servertests/st_renew.py", line 42, in testExpired
    check(res, NFS4ERR_EXPIRED, "RENEW with expired lease")
  File "/scratch/jenkins/pnfs-python/nfs4.0/servertests/environment.py", line 264, in check
    raise testmod.FailureException(msg)
FailureException: RENEW with expired lease should return NFS4ERR_EXPIRED, instead got NFS4ERR_STALE_CLIENTID

pynfs build #8498: details.

The problem appears to be intermittent, suggesting a race-condition in the NFS server code.

paulmillar commented 6 years ago

As a temporary fix, I've added RENEW3 to the list of excluded NFS v4.0 tests

paulmillar commented 6 years ago

Reports of this failure on master branch: pynfs build #8507: details.

Disabling RENEW3 on master, too.