Bug 1002514

Summary: SMB: multiple failures while running posix_compliance test.
Product: Red Hat Gluster Storage Reporter: surabhi <sbhaloth>
Component: sambaAssignee: Raghavendra Talur <rtalur>
Status: CLOSED EOL QA Contact: surabhi <sbhaloth>
Severity: low Docs Contact:
Priority: unspecified    
Version: 2.1CC: lmohanty, rjoseph, rwheeler, sbhaloth, sdharane, spalai, surs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: core
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-03 17:19:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
This the error that posix_compliance had thrown. none

Description surabhi 2013-08-29 11:20:19 UTC
Created attachment 791721 [details]
This the error that posix_compliance had thrown.

Description of problem:
posix_compliance test over cifs mount fails.

It fails for the following :

/opt/qa/tools/posix-testsuite/tests/chown/00.......FAILED tests 84, 88, 141, 145, 149, 153
Failed 6/171 tests, 96.49% okay
Failed Test                       Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
/opt/qa/tools/posix-testsuite/tes              171    6   3.51%  84 88 141 145
                                                                 149 153
end: 10:36:20
posix_compliance failed
Confirmed that all the nodes are in sync with time.
Version-Release number of selected component (if applicable):
glusterfs-3.4.0.22rhs-2.el6rhs.x86_64

How reproducible:
Always.

Steps to Reproduce:
1.create a distributed volume or 6x2 dis-rep vol.
2.do a cifs mount on linux client.
3.run posix_compliance test suite.

Actual results:
The posix_compliance is failing with multiple errors.

Expected results:
posix_compliance should run successfully.

Additional info:
Attaching logs for reference.

Comment 1 surabhi 2013-08-29 11:36:46 UTC
The test is failing on both RHEL 6.4 and RHEL 5.9
So on RHEL 6.4 :

Test Summary Report
-------------------
/opt/qa/tools/posix-testsuite/tests/chmod/00.t   (Wstat: 0 Tests: 58 Failed: 2)
  Failed tests:  35, 52
/opt/qa/tools/posix-testsuite/tests/chmod/02.t   (Wstat: 0 Tests: 5 Failed: 1)
  Failed test:  5
/opt/qa/tools/posix-testsuite/tests/chmod/05.t   (Wstat: 0 Tests: 14 Failed: 4)
  Failed tests:  5-6, 10-11
/opt/qa/tools/posix-testsuite/tests/chmod/07.t   (Wstat: 0 Tests: 14 Failed: 4)
  Failed tests:  5-6, 8, 11
/opt/qa/tools/posix-testsuite/tests/chmod/11.t   (Wstat: 0 Tests: 20 Failed: 4)
  Failed tests:  4, 8, 13, 18
/opt/qa/tools/posix-testsuite/tests/chown/00.t   (Wstat: 0 Tests: 171 Failed: 16)
  Failed tests:  46, 53, 60, 67, 71, 75, 82, 86, 90, 92
                107, 112, 135-136, 149, 153
/opt/qa/tools/posix-testsuite/tests/chown/02.t   (Wstat: 0 Tests: 5 Failed: 1)
  Failed test:  5
/opt/qa/tools/posix-testsuite/tests/chown/05.t   (Wstat: 0 Tests: 15 Failed: 5)
  Failed tests:  5-6, 10-12
/opt/qa/tools/posix-testsuite/tests/link/00.t    (Wstat: 0 Tests: 82 Failed: 8)
  Failed tests:  44-45, 48, 57-58, 64-65, 78
/opt/qa/tools/posix-testsuite/tests/link/02.t    (Wstat: 0 Tests: 10 Failed: 2)
  Failed tests:  8, 10
  Failed tests:  4, 6, 8, 10, 12, 14, 16, 18, 20
/opt/qa/tools/posix-testsuite/tests/rename/00.t  (Wstat: 0 Tests: 79 Failed: 4)
  Failed tests:  49, 53, 57, 61
/opt/qa/tools/posix-testsuite/tests/rename/01.t  (Wstat: 0 Tests: 8 Failed: 2)
  Failed tests:  6, 8
/opt/qa/tools/posix-testsuite/tests/rename/09.t  (Wstat: 0 Tests: 56 Failed: 8)
  Failed tests:  20-21, 36-37, 52-54, 56
/opt/qa/tools/posix-testsuite/tests/rename/10.t  (Wstat: 0 Tests: 188 Failed: 18)
  Failed tests:  54-56, 61-62, 65, 67-68, 71, 73-74, 77
                130-132, 182-184
/opt/qa/tools/posix-testsuite/tests/rename/ren.t (Wstat: 0 Tests: 22 Failed: 1)
  Failed test:  4
Result: FAIL
end: 01:17:30

Comment 4 Christopher R. Hertel 2013-10-02 19:31:09 UTC
> Expected results:
> posix_compliance should run successfully.

Changing the severity level to "low".  We can not expect that a non-POSIX network file protocol (SMB) will produce POSIX results.  The posix_compliance test suite is not a valid test suite for this configuration.

Comment 5 Raghavendra Talur 2014-01-31 11:33:30 UTC
Surabhi,

Can you try this again as part of regression testing for Corbett?

Comment 6 surabhi 2014-02-12 09:57:43 UTC
Following is the report from test with latest version:

samba-glusterfs-3.6.9-167.10.el6rhs.x86_64
glusterfs-libs-3.4.0.59rhs-1.el6rhs.x86_64
glusterfs-devel-3.4.0.59rhs-1.el6rhs.x86_64
glusterfs-geo-replication-3.4.0.59rhs-1.el6rhs.x86_64
glusterfs-rdma-3.4.0.59rhs-1.el6rhs.x86_64
glusterfs-api-3.4.0.59rhs-1.el6rhs.x86_64
glusterfs-api-devel-3.4.0.59rhs-1.el6rhs.x86_64
glusterfs-3.4.0.59rhs-1.el6rhs.x86_64
glusterfs-server-3.4.0.59rhs-1.el6rhs.x86_64
glusterfs-debuginfo-3.4.0.59rhs-1.el6rhs.x86_64
glusterfs-fuse-3.4.0.59rhs-1.el6rhs.x86_64

Test Summary Report
-------------------
/opt/qa/tools/posix-testsuite/tests/chmod/00.t   (Wstat: 0 Tests: 58 Failed: 2)
  Failed tests:  35, 52
/opt/qa/tools/posix-testsuite/tests/chmod/02.t   (Wstat: 0 Tests: 5 Failed: 1)
  Failed test:  5
/opt/qa/tools/posix-testsuite/tests/chmod/05.t   (Wstat: 0 Tests: 14 Failed: 4)
  Failed tests:  5-6, 10-11
/opt/qa/tools/posix-testsuite/tests/chmod/07.t   (Wstat: 0 Tests: 14 Failed: 4)
  Failed tests:  5-6, 8, 11
/opt/qa/tools/posix-testsuite/tests/chmod/11.t   (Wstat: 0 Tests: 20 Failed: 4)
  Failed tests:  4, 8, 13, 18
/opt/qa/tools/posix-testsuite/tests/chown/00.t   (Wstat: 0 Tests: 171 Failed: 16)
  Failed tests:  46, 53, 60, 67, 71, 75, 82, 86, 90, 92
                107, 112, 135-136, 149, 153
/opt/qa/tools/posix-testsuite/tests/chown/02.t   (Wstat: 0 Tests: 5 Failed: 1)
  Failed test:  5
/opt/qa/tools/posix-testsuite/tests/chown/05.t   (Wstat: 0 Tests: 15 Failed: 5)
  Failed tests:  5-6, 10-12
/opt/qa/tools/posix-testsuite/tests/link/00.t    (Wstat: 0 Tests: 82 Failed: 8)
  Failed tests:  44-45, 48, 57-58, 64-65, 78
/opt/qa/tools/posix-testsuite/tests/link/02.t    (Wstat: 0 Tests: 10 Failed: 2)
  Failed tests:  8, 10
/opt/qa/tools/posix-testsuite/tests/mkdir/00.t   (Wstat: 0 Tests: 36 Failed: 5)
  Failed tests:  19, 22, 26, 33-34
/opt/qa/tools/posix-testsuite/tests/mkdir/02.t   (Wstat: 0 Tests: 3 Failed: 1)
  Failed test:  3
/opt/qa/tools/posix-testsuite/tests/mkfifo/00.t  (Wstat: 0 Tests: 36 Failed: 8)
  Failed tests:  3, 6, 12, 19, 22, 26, 33-34
/opt/qa/tools/posix-testsuite/tests/mkfifo/02.t  (Wstat: 0 Tests: 3 Failed: 1)
  Failed test:  3
/opt/qa/tools/posix-testsuite/tests/mkfifo/09.t  (Wstat: 0 Tests: 12 Failed: 4)
  Failed tests:  2, 5, 8, 11
/opt/qa/tools/posix-testsuite/tests/open/00.t    (Wstat: 0 Tests: 47 Failed: 12)
  Failed tests:  3, 6, 12, 18-19, 21-22, 25-26, 33-34, 43
/opt/qa/tools/posix-testsuite/tests/open/02.t    (Wstat: 0 Tests: 4 Failed: 2)
  Failed tests:  2, 4
/opt/qa/tools/posix-testsuite/tests/open/03.t    (Wstat: 0 Tests: 12 Failed: 1)
  Failed test:  6
/opt/qa/tools/posix-testsuite/tests/open/06.t    (Wstat: 0 Tests: 72 Failed: 34)
  Failed tests:  4, 6-8, 10-12, 14-16, 20, 24, 28-30, 32-34
                36-38, 40-41, 44-45, 48-49, 52-53, 56-57
                60-61, 67
/opt/qa/tools/posix-testsuite/tests/open/07.t    (Wstat: 0 Tests: 23 Failed: 9)
  Failed tests:  4, 6, 8, 10, 12, 14, 16, 18, 20
/opt/qa/tools/posix-testsuite/tests/open/08.t    (Wstat: 0 Tests: 3 Failed: 2)
  Failed tests:  2-3
/opt/qa/tools/posix-testsuite/tests/rename/00.t  (Wstat: 0 Tests: 79 Failed: 4)
  Failed tests:  49, 53, 57, 61
/opt/qa/tools/posix-testsuite/tests/rename/01.t  (Wstat: 0 Tests: 8 Failed: 2)
  Failed tests:  6, 8
/opt/qa/tools/posix-testsuite/tests/rename/09.t  (Wstat: 0 Tests: 56 Failed: 8)
  Failed tests:  20-21, 36-37, 52-54, 56
/opt/qa/tools/posix-testsuite/tests/rename/10.t  (Wstat: 0 Tests: 188 Failed: 18)
  Failed tests:  54-56, 61-62, 65, 67-68, 71, 73-74, 77
                130-132, 182-184
/opt/qa/tools/posix-testsuite/tests/rename/ren.t (Wstat: 0 Tests: 22 Failed: 1)
  Failed test:  4
/opt/qa/tools/posix-testsuite/tests/rmdir/02.t   (Wstat: 0 Tests: 4 Failed: 1)
  Failed test:  4
/opt/qa/tools/posix-testsuite/tests/rmdir/11.t   (Wstat: 0 Tests: 15 Failed: 2)
  Failed tests:  12-13
/opt/qa/tools/posix-testsuite/tests/symlink/00.t (Wstat: 0 Tests: 14 Failed: 2)
  Failed tests:  11-12
/opt/qa/tools/posix-testsuite/tests/symlink/02.t (Wstat: 0 Tests: 7 Failed: 1)
  Failed test:  5
/opt/qa/tools/posix-testsuite/tests/truncate/00.t (Wstat: 0 Tests: 21 Failed: 1)
  Failed test:  15
/opt/qa/tools/posix-testsuite/tests/truncate/02.t (Wstat: 0 Tests: 5 Failed: 1)
  Failed test:  5
/opt/qa/tools/posix-testsuite/tests/truncate/05.t (Wstat: 0 Tests: 15 Failed: 5)
  Failed tests:  5-6, 10-12
/opt/qa/tools/posix-testsuite/tests/unlink/02.t  (Wstat: 0 Tests: 4 Failed: 1)
  Failed test:  4
/opt/qa/tools/posix-testsuite/tests/unlink/11.t  (Wstat: 0 Tests: 33 Failed: 6)
  Failed tests:  12-13, 21-22, 30-31
Files=185, Tests=1979, 1783 wallclock secs ( 1.58 usr  0.77 sys + 285.61 cusr 12.51 csys = 300.47 CPU)
Result: FAIL
end: 04:18:45
removed posix compliance directories

Comment 7 Vivek Agarwal 2015-12-03 17:19:46 UTC
Thank you for submitting this issue for consideration in Red Hat Gluster Storage. The release for which you requested us to review, is now End of Life. Please See https://access.redhat.com/support/policy/updates/rhs/

If you can reproduce this bug against a currently maintained version of Red Hat Gluster Storage, please feel free to file a new report against the current release.