Bug 1695327

Summary: regression test fails with brick mux enabled.
Product: [Community] GlusterFS Reporter: Raghavendra Bhat <rabhat>
Component: testsAssignee: bugs <bugs>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-04 21:10:59 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:
Embargoed:

Description Raghavendra Bhat 2019-04-02 20:14:09 UTC
Description of problem:

The test "tests/bitrot/bug-1373520.t" fails with the following error when it is run with brick-multiplexing enabled.


[root@workstation glusterfs]# prove -rfv tests/bitrot/bug-1373520.t 
tests/bitrot/bug-1373520.t .. 
1..31
ok 1, LINENUM:8
ok 2, LINENUM:9
ok 3, LINENUM:12
ok 4, LINENUM:13
ok 5, LINENUM:14
ok 6, LINENUM:15
ok 7, LINENUM:16
volume set: failed: Volume patchy is not of replicate type
ok 8, LINENUM:23
ok 9, LINENUM:24
ok 10, LINENUM:25
ok 11, LINENUM:28
ok 12, LINENUM:29
ok 13, LINENUM:32
ok 14, LINENUM:33
ok 15, LINENUM:36
ok 16, LINENUM:38
ok 17, LINENUM:41
getfattr: Removing leading '/' from absolute path names
ok 18, LINENUM:47
ok 19, LINENUM:48
ok 20, LINENUM:49
ok 21, LINENUM:50
ok 22, LINENUM:52
ok 23, LINENUM:53
ok 24, LINENUM:54
ok 25, LINENUM:55
ok 26, LINENUM:58
ok 27, LINENUM:61
ok 28, LINENUM:67
stat: cannot stat '/d/backends/patchy5/FILE1': No such file or directory
stat: cannot stat '/d/backends/patchy5/FILE1': No such file or directory
not ok 29 Got "0" instead of "512", LINENUM:70
FAILED COMMAND: 512 path_size /d/backends/patchy5/FILE1
ok 30, LINENUM:71
not ok 31 Got "0" instead of "512", LINENUM:72
FAILED COMMAND: 512 path_size /d/backends/patchy5/HL_FILE1
Failed 2/31 subtests 

Test Summary Report
-------------------
tests/bitrot/bug-1373520.t (Wstat: 0 Tests: 31 Failed: 2)
  Failed tests:  29, 31
Files=1, Tests=31, 218 wallclock secs ( 0.03 usr  0.01 sys +  2.50 cusr  3.52 csys =  6.06 CPU)
Result: FAIL


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


How reproducible:

Run the above testcase with brick multiplexing enabled.

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Worker Ant 2019-04-02 20:26:29 UTC
REVIEW: https://review.gluster.org/22481 (tests/bitrot: enable self-heal daemon before accessing the files) posted (#1) for review on master by Raghavendra Bhat

Comment 2 Worker Ant 2019-04-04 21:10:59 UTC
REVIEW: https://review.gluster.org/22481 (tests/bitrot: enable self-heal daemon before accessing the files) merged (#2) on master by Xavi Hernandez