[Bugs] [Bug 1425515] New: tests: quota-anon-fd-nfs.t needs to check if nfs mount is avialable before mounting

bugzilla at redhat.com bugzilla at redhat.com
Tue Feb 21 15:47:07 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1425515

            Bug ID: 1425515
           Summary: tests: quota-anon-fd-nfs.t needs to check if nfs mount
                    is avialable before mounting
           Product: GlusterFS
           Version: mainline
         Component: tests
          Assignee: srangana at redhat.com
          Reporter: srangana at redhat.com
                CC: bugs at gluster.org



Description of problem:
The test tests/basic/quota-anon-fd-nfs.t should check if nfs mount is available
after starting the volume before proceeding with the test. As otherwise there
can be spurious failures reported by this test, when the mount fails.

One such example can be found here,
https://build.gluster.org/job/centos6-regression/3286/consoleFull

There could be other reasons for the spurious failure, but this one seems most
likely from the logs.

Version-Release number of selected component (if applicable):
3.10 and master

Additional info:

Paste of messages from the failure in the link above

<------------------->
22:47:41 [06:47:41] Running tests in file ./tests/basic/quota-anon-fd-nfs.t
22:47:46 No volumes present
22:47:58 mount.nfs: mounting slave32.cloud.gluster.org:/patchy failed, reason
given by server: No such file or directory
22:48:00 umount2: Invalid argument
22:48:00 umount: /mnt/nfs/0: not mounted
22:48:01 umount2: Invalid argument
22:48:01 umount: /mnt/nfs/0: not mounted
22:48:02 umount2: Invalid argument
22:48:02 umount: /mnt/nfs/0: not mounted
22:48:03 umount2: Invalid argument
22:48:03 umount: /mnt/nfs/0: not mounted
22:48:04 umount2: Invalid argument
22:48:04 umount: /mnt/nfs/0: not mounted
22:48:10 ./tests/basic/quota-anon-fd-nfs.t .. 
22:48:10 1..41
22:48:10 ok 1, LINENUM:15
22:48:10 ok 2, LINENUM:16
22:48:10 ok 3, LINENUM:17
22:48:10 ok 4, LINENUM:19
22:48:10 ok 5, LINENUM:20
22:48:10 ok 6, LINENUM:21
22:48:10 ok 7, LINENUM:42
22:48:10 ok 8, LINENUM:43
22:48:10 ok 9, LINENUM:45
22:48:10 ok 10, LINENUM:46
22:48:10 ok 11, LINENUM:48
22:48:10 ok 12, LINENUM:49
22:48:10 ok 13, LINENUM:50
22:48:10 ok 14, LINENUM:51
22:48:10 not ok 15 , LINENUM:53
22:48:10 FAILED COMMAND: mount_nfs slave32.cloud.gluster.org:/patchy /mnt/nfs/0
noac,soft,nolock,vers=3
<---------------------->

<---------------------->
22:48:10 ./tests/basic/quota-anon-fd-nfs.t: bad status 1
22:48:10 
22:48:10        *********************************
22:48:10        *       REGRESSION FAILED       *
22:48:10        * Retrying failed tests in case *
22:48:10        * we got some spurous failures  *
22:48:10        *********************************
22:48:10 
22:48:15 No volumes present
22:48:28 mount.nfs: requested NFS version or transport protocol is not
supported
22:48:30 umount2: Invalid argument
22:48:30 umount: /mnt/nfs/0: not mounted
22:48:31 umount2: Invalid argument
22:48:31 umount: /mnt/nfs/0: not mounted
22:48:32 umount2: Invalid argument
22:48:32 umount: /mnt/nfs/0: not mounted
22:48:33 umount2: Invalid argument
22:48:33 umount: /mnt/nfs/0: not mounted
22:48:34 umount2: Invalid argument
22:48:34 umount: /mnt/nfs/0: not mounted
22:48:40 ./tests/basic/quota-anon-fd-nfs.t .. 
22:48:40 1..41
22:48:40 ok 1, LINENUM:15
22:48:40 ok 2, LINENUM:16
22:48:40 ok 3, LINENUM:17
22:48:40 ok 4, LINENUM:19
22:48:40 ok 5, LINENUM:20
22:48:40 ok 6, LINENUM:21
22:48:40 ok 7, LINENUM:42
22:48:40 ok 8, LINENUM:43
22:48:40 ok 9, LINENUM:45
22:48:40 ok 10, LINENUM:46
22:48:40 ok 11, LINENUM:48
22:48:40 ok 12, LINENUM:49
22:48:40 ok 13, LINENUM:50
22:48:40 ok 14, LINENUM:51
22:48:40 not ok 15 , LINENUM:53
22:48:40 FAILED COMMAND: mount_nfs slave32.cloud.gluster.org:/patchy /mnt/nfs/0
noac,soft,nolock,vers=3
22:48:40 ok 16, LINENUM:55
<---------------------->

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=pKaMIfaXOc&a=cc_unsubscribe


More information about the Bugs mailing list