From Fedora Project Wiki

No edit summary
m (Correct <pre> tags)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|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.
|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.
|actions=
|actions=
# First, configure the NFS '''server''' by creating an NFS mount export
<ol>
#: <pre>
<li>First, configure the NFS '''server''' by creating an NFS mount export
#: cp /etc/exports /etc/exports.orig
<pre>
#: echo '/nfs *(rw,insecure,no_root_squash)' >/etc/exports
cp /etc/exports /etc/exports.orig
#: mkdir /nfs
echo '/nfs *(rw,insecure,no_root_squash)' >/etc/exports
#: service nfs restart</pre>
mkdir /nfs
# Next, on the '''client''' system, ''download'' pynfs testsuite from the client.
service nfs restart</pre>
#: <pre>
<li>Next, on the '''client''' system, ''download'' pynfs testsuite from the client.
#: git clone git://linux-nfs.org/~iisaman/pynfs.git </pre>
<pre>
# Now, run the pynfs testsuite.
git clone git://linux-nfs.org/~iisaman/pynfs.git </pre>
#: <pre>
<li>Now, run the pynfs testsuite.  Please note, the ''pynfs'' test suite will take approximately 30 minutes to run.  This makes a good time to grab a cup of your favorite beverage.
#: cd pynfs
<pre>
#: yum -y install python-devel krb5-devel
yum install python-devel krb5-devel gcc
#: ./setup.py build_ext --inplace
cd pynfs
#: ./testserver.py --maketree <server IP>:/nfs all</pre>
./setup.py build_ext --inplace
# Save the output from the tests to TESTOUT.log, copy {{filename|/var/log/messages}} from both the server and client, and then tar and compress them to [[Special:Upload|upload it]] to the wiki. Please include a link to the uploaded file in your test day results.
./testserver.py --outfile TESTOUT.log --maketree <server IP>:/nfs all</pre>
#: <pre>
<li>Save the output from the tests to TESTOUT.log, copy {{filename|/var/log/messages}} from both the server and client, and then tar and compress them to [[Special:Upload|upload it]] to the wiki. Please include a link to the uploaded file in your test day results.
#: mkdir log
<pre>
#: scp root@<server hostname>:/var/log/messages messages.server
mkdir log
#: cp TESTOUT.log messages.server /var/log/messages log/
scp root@<server hostname>:/var/log/messages messages.server
#: tar czvf /tmp/nfs_pynfs-results-<fedora user name>.tgz log/</pre>
cp TESTOUT.log messages.server /var/log/messages log/
 
tar czvf /tmp/nfs_pynfs-results-<fedora user name>.tgz log/</pre>
</ol>
|results=
|results=
# Step #1 completes without error.
<ol>
# Step #2 completes without error.
<li>Step #1 completes without error.
# The testsuite finishes without unexpected failures. The following known failures and warnings can be ignored.
<li>Step #2 completes without error.
#: <pre>
<li>The testsuite finishes without unexpected failures. The following known failures and warnings can be ignored.
#: CID6
<pre>
#: LOOK7
CID6
#: SATT1a
LOOK7
#: CIDCF2
SATT1a
#: COMP6
CIDCF2
#: CR13
COMP6
#: CR14
CR13
#: LINK4a
CR14
#: LINK9
LINK4a
#: LOOKP2a
LINK9
#: OPCF3a
LOOKP2a
#: OPEN4
OPCF3a
#: OPEN23b
OPEN4
#: RD12
OPEN23b
#: RDDR12
RD12
#: RNM11
RDDR12
#: RNM16
RNM11
#: SATT12a
RNM16
#: DELEG5
SATT12a
#: DELEG9
DELEG5
#: SATT14
DELEG9
#: SEC7
SATT14
#: DELEG11
SEC7
#: DELEG12
DELEG11
#: DELEG13a
DELEG12
#: DELEG13b
DELEG13a
#: DELEG13c
DELEG13b
#: DELEG13d
DELEG13c
#: DELEG13e
DELEG13d
#: DELEG15
DELEG13e
#: GSS8
DELEG15
#: CID1
GSS8
#: LOCK8c
CID1
#: LOCK18
LOCK8c
#: LOCK21
LOCK18
#: OPDG9a
LOCK21
#: OPDG9b
OPDG9a
#: OPDG9c
OPDG9b
#: OPDG9d
OPDG9c
#: OPDG9f
OPDG9d
#: OPDG9s
OPDG9f
#: OPEN16
OPDG9s
#: RD4
OPEN16
#: RM7
RD4
#: RNM10</pre>
RM7
# Step #4 completes without error.
RNM10</pre>
<li>Step #4 completes without error.
</ol>
}}
}}


[[Category:NFS_Test_Cases]]
[[Category:NFS_Test_Cases]]

Latest revision as of 13:50, 1 June 2011

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. Please note, the pynfs test suite will take approximately 30 minutes to run. This makes a good time to grab a cup of your favorite beverage.
    yum install python-devel krb5-devel gcc
    cd pynfs
    ./setup.py build_ext --inplace
    ./testserver.py --outfile TESTOUT.log --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.