From Fedora Project Wiki

No edit summary
No edit summary
Line 23: Line 23:
#: scp root@<server hostname>:/var/log/messages messages.server
#: scp root@<server hostname>:/var/log/messages messages.server
#: cp TESTOUT.log messages.server /var/log/messages log/
#: cp TESTOUT.log messages.server /var/log/messages log/
#: tar czvf /tmp/nfs_pynfs-results.tgz log/</pre>
#: tar czvf /tmp/nfs_pynfs-results-<fedora user name>.tgz log/</pre>


|results=
|results=

Revision as of 09:05, 4 February 2010

Description

This test case is to run pynfs test suite on a NFSv4 root. The test requires both an NFS server and client. However, the client and server can exist on the same system.


How to test

  1. First, configure the NFS server by creating an NFS mount export
    cp /etc/exports /etc/exports.orig
    echo '/nfs *(rw,insecure,no_root_squash)' >/etc/exports
    mkdir /nfs
    service nfs restart
  2. Next, on the client system, download pynfs testsuite from the client.
    git clone git://linux-nfs.org/~iisaman/pynfs.git
  3. Now, run the pynfs testsuite.
    cd pynfs
    yum -y install python-devel
    ./setup.py build_ext --inplace
    ./testserver.py --maketree <server IP>:/nfs all
  4. Save the output from the tests to TESTOUT.log, copy /var/log/messages from both the server and client, and then tar and compress them to upload it to the wiki. Please include a link to the uploaded file in your test day results.
    mkdir log
    scp root@<server hostname>:/var/log/messages messages.server
    cp TESTOUT.log messages.server /var/log/messages log/
    tar czvf /tmp/nfs_pynfs-results-<fedora user name>.tgz log/

Expected Results

  1. Step #1 completes without error.
  2. Step #2 completes without error.
  3. The testsuite finishes without unexpected failures. The following known failures and warnings can be ignored.
    CID6
    LOOK7
    SATT1a
    CIDCF2
    COMP6
    CR13
    CR14
    LINK4a
    LINK9
    LOOKP2a
    OPCF3a
    OPEN4
    OPEN23b
    RD12
    RDDR12
    RNM11
    RNM16
    SATT12a
    DELEG5
    DELEG9
    SATT14
    SEC7
    DELEG11
    DELEG12
    DELEG13a
    DELEG13b
    DELEG13c
    DELEG13d
    DELEG13e
    DELEG15
    GSS8
    CID1
    LOCK8c
    LOCK18
    LOCK21
    OPDG9a
    OPDG9b
    OPDG9c
    OPDG9d
    OPDG9f
    OPDG9s
    OPEN16
    RD4
    RM7
    RNM10
  4. Step #4 completes without error.