Bug 1720163 - [Ganesha] Posix compliance truncate/00.t and chown/00.t tests are failing on 3.5.0 build
Summary: [Ganesha] Posix compliance truncate/00.t and chown/00.t tests are failing on ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: posix
Version: rhgs-3.5
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: RHGS 3.5.0
Assignee: Jiffin
QA Contact: Manisha Saini
URL:
Whiteboard:
Depends On: 1723761
Blocks: 1696809
TreeView+ depends on / blocked
 
Reported: 2019-06-13 09:53 UTC by Manisha Saini
Modified: 2019-10-30 12:22 UTC (History)
14 users (show)

Fixed In Version: glusterfs-6.0-7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1723761 (view as bug list)
Environment:
Last Closed: 2019-10-30 12:21:54 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2019:3249 0 None None None 2019-10-30 12:22:31 UTC

Description Manisha Saini 2019-06-13 09:53:29 UTC
Description of problem:


truncate/00.t and chown/00.t tests are failing in posix compliance when ran over 3.5.0 build v3 mount.These used to pass in 3.4.0 release

-------------------

[root@e25-h29-740xd ganesha]# prove -r /home/ntfs-3g-pjd-fstest/tests/chown/00.t 
/home/ntfs-3g-pjd-fstest/tests/chown/00.t .. Failed 1/171 subtests 

Test Summary Report
-------------------
/home/ntfs-3g-pjd-fstest/tests/chown/00.t (Wstat: 0 Tests: 171 Failed: 1)
  Failed test:  118
Files=1, Tests=171, 17 wallclock secs ( 0.03 usr  0.01 sys +  0.52 cusr  0.73 csys =  1.29 CPU)
Result: FAIL


[root@e25-h29-740xd ganesha]# prove -r /home/ntfs-3g-pjd-fstest/tests/truncate/00.t 
/home/ntfs-3g-pjd-fstest/tests/truncate/00.t .. Failed 1/21 subtests 

Test Summary Report
-------------------
/home/ntfs-3g-pjd-fstest/tests/truncate/00.t (Wstat: 0 Tests: 21 Failed: 1)
  Failed test:  15
Files=1, Tests=21,  2 wallclock secs ( 0.01 usr  0.01 sys +  0.07 cusr  0.10 csys =  0.19 CPU)
Result: FAIL


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

# rpm -qa | grep ganesha
nfs-ganesha-gluster-2.7.3-4.el7rhgs.x86_64
nfs-ganesha-debuginfo-2.7.3-4.el7rhgs.x86_64
glusterfs-ganesha-6.0-5.el7rhgs.x86_64
nfs-ganesha-2.7.3-4.el7rhgs.x86_64

# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.7 Beta (Maipo)

How reproducible:
3/3


Steps to Reproduce:
1.Create 4 node Ganesha cluster
2.Create 12*3 Distributed-Replicate Volume.
3.Export the volume via Ganesha
4.Mount the volume on client via v3.0
5.Run posix compliance test 

Actual results:
===============

truncate/00.t and chown/00.t tests were failing with 3.5.0.
These test used to pass with older LIVE bits

3.5.0
------

Test Summary Report
-------------------
/home/ntfs-3g-pjd-fstest/tests/chmod/00.t    (Wstat: 0 Tests: 106 Failed: 2)
  Failed tests:  31, 39
/home/ntfs-3g-pjd-fstest/tests/chown/00.t    (Wstat: 0 Tests: 171 Failed: 1)
  Failed test:  118
/home/ntfs-3g-pjd-fstest/tests/ftruncate/00.t (Wstat: 0 Tests: 26 Failed: 1)
  Failed test:  24
/home/ntfs-3g-pjd-fstest/tests/mknod/03.t    (Wstat: 0 Tests: 12 Failed: 9)
  Failed tests:  1-3, 5-7, 9-11
/home/ntfs-3g-pjd-fstest/tests/truncate/00.t (Wstat: 0 Tests: 21 Failed: 1)
  Failed test:  15


3.4.0
-----

Test Summary Report
-------------------
/root/ntfs-3g-pjd-fstest/tests/chmod/00.t    (Wstat: 0 Tests: 106 Failed: 2)
  Failed tests:  31, 39
/root/ntfs-3g-pjd-fstest/tests/ftruncate/00.t (Wstat: 0 Tests: 26 Failed: 1)
  Failed test:  24
/root/ntfs-3g-pjd-fstest/tests/link/00.t     (Wstat: 0 Tests: 82 Failed: 4)
  Failed tests:  57-58, 64-65
/root/ntfs-3g-pjd-fstest/tests/mknod/03.t    (Wstat: 0 Tests: 12 Failed: 9)
  Failed tests:  1-3, 5-7, 9-11

Expected results:
==========
truncate/00.t and chown/00.t tests should pass

Additional info:

Reference BZ from earlier releases-

https://bugzilla.redhat.com/show_bug.cgi?id=1448434#c10 --> for chmod,mknod known failures

https://bugzilla.redhat.com/show_bug.cgi?id=1614712 --> for ftruncate known failure.

Other then chmod,mknod,ftruncate all tests used to pass

Comment 2 Manisha Saini 2019-06-13 10:00:58 UTC
Ran posix compliance on v4.0 mount.Test truncate/00.t seems to be failing on v4.0 mount as well


-------
3.5.0 + v4.0
-------

Test Summary Report
-------------------
/home/ntfs-3g-pjd-fstest/tests/chmod/00.t    (Wstat: 0 Tests: 106 Failed: 2)
  Failed tests:  31, 39
/home/ntfs-3g-pjd-fstest/tests/ftruncate/00.t (Wstat: 0 Tests: 26 Failed: 1)
  Failed test:  24
/home/ntfs-3g-pjd-fstest/tests/mknod/03.t    (Wstat: 0 Tests: 12 Failed: 9)
  Failed tests:  1-3, 5-7, 9-11
/home/ntfs-3g-pjd-fstest/tests/open/00.t     (Wstat: 0 Tests: 47 Failed: 2)
  Failed tests:  43-44
/home/ntfs-3g-pjd-fstest/tests/open/07.t     (Wstat: 0 Tests: 23 Failed: 3)
  Failed tests:  5, 7, 9
/home/ntfs-3g-pjd-fstest/tests/truncate/00.t (Wstat: 0 Tests: 21 Failed: 1)
  Failed test:  15
Files=210, Tests=2328, 85 wallclock secs ( 0.55 usr  0.20 sys +  9.93 cusr 12.39 csys = 23.07 CPU)
Result: FAIL

-------
3.4.0 + v 4.0
-------

Test Summary Report
-------------------
/root/ntfs-3g-pjd-fstest/tests/chmod/00.t    (Wstat: 0 Tests: 106 Failed: 2)
  Failed tests:  31, 39
/root/ntfs-3g-pjd-fstest/tests/ftruncate/00.t (Wstat: 0 Tests: 26 Failed: 1)
  Failed test:  24
/root/ntfs-3g-pjd-fstest/tests/link/00.t     (Wstat: 0 Tests: 82 Failed: 4)
  Failed tests:  57-58, 64-65
/root/ntfs-3g-pjd-fstest/tests/mknod/03.t    (Wstat: 0 Tests: 12 Failed: 9)
  Failed tests:  1-3, 5-7, 9-11
/root/ntfs-3g-pjd-fstest/tests/open/07.t     (Wstat: 0 Tests: 23 Failed: 3)
  Failed tests:  5, 7, 9
Files=210, Tests=2328, 104 wallclock secs ( 0.90 usr  0.27 sys + 12.71 cusr 16.67 csys = 30.55 CPU)
Result: FAIL

Comment 3 Manisha Saini 2019-06-13 10:01:59 UTC
Marking this as regression,since the test used to PASS in LIVE bits

Comment 16 Manisha Saini 2019-07-16 09:57:22 UTC
Verified this BZ with-

# rpm -qa | grep ganesha
nfs-ganesha-2.7.3-5.el7rhgs.x86_64
nfs-ganesha-gluster-2.7.3-5.el7rhgs.x86_64
glusterfs-ganesha-6.0-7.el7rhgs.x86_64


# prove -r /root/ntfs-3g-pjd-fstest/tests/truncate/00.t 
/root/ntfs-3g-pjd-fstest/tests/truncate/00.t .. ok     
All tests successful.
Files=1, Tests=21,  3 wallclock secs ( 0.01 usr  0.00 sys +  0.06 cusr  0.11 csys =  0.18 CPU)
Result: PASS

Comment 18 errata-xmlrpc 2019-10-30 12:21:54 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2019:3249


Note You need to log in before you can comment on or make changes to this bug.