[Bugs] [Bug 1615239] New: Fix ./tests/basic/afr/replace-brick-self-heal.t failure

bugzilla at redhat.com bugzilla at redhat.com
Mon Aug 13 06:31:45 UTC 2018


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

            Bug ID: 1615239
           Summary: Fix ./tests/basic/afr/replace-brick-self-heal.t
                    failure
           Product: GlusterFS
           Version: mainline
         Component: tests
          Assignee: bugs at gluster.org
          Reporter: ravishankar at redhat.com
                CC: bugs at gluster.org



Description of problem:

https://build.gluster.org/job/line-coverage/471/consoleFull
---------------------------------------------------------------------------------
./tests/basic/afr/replace-brick-self-heal.t
04:28:44   Failed tests:  22, 26, 28

04:28:44 not ok 22 Got "5" instead of "0", LINENUM:46

04:28:44 not ok 26 , LINENUM:56
04:28:44 FAILED COMMAND: diff /d/backends/patchy0/file1.txt
/d/backends/patchy1_new/file1.txt

04:28:44 not ok 28 Got "" instead of "qwerty", LINENUM:61
04:28:44 FAILED COMMAND: qwerty get_text_xattr user.test
/d/backends/patchy1_new/file5.txt
--------------------------------------------------------------------------------

>From shd log, it is seen that data-selfheal has not yet started but heal
time-out was hit:

[2018-08-12 04:27:27.250366]:++++++++++
G_LOG:./tests/basic/afr/replace-brick-self-heal.t: TEST: 40 Y
glustershd_up_status ++++++++++
[2018-08-12 04:27:27.376354]:++++++++++
G_LOG:./tests/basic/afr/replace-brick-self-heal.t: TEST: 41 1
afr_child_up_status_in_shd patchy 0 ++++++++++
[2018-08-12 04:27:28.457533]:++++++++++
G_LOG:./tests/basic/afr/replace-brick-self-heal.t: TEST: 42 1
afr_child_up_status_in_shd patchy 1 ++++++++++
[2018-08-12 04:27:29.521107]:++++++++++
G_LOG:./tests/basic/afr/replace-brick-self-heal.t: TEST: 43 gluster
--mode=script --wignore volume heal patchy ++++++++++
[2018-08-12 04:27:29.607822] I [MSGID: 108026]
[afr-self-heal-metadata.c:52:__afr_selfheal_metadata_do] 0-patchy-replicate-0:
performing metadata selfheal on 00000000-0000-0000-0000-000000000001
<snipped>
[2018-08-12 04:27:29.622833] I [MSGID: 108026]
[afr-self-heal-common.c:1730:afr_log_selfheal] 0-patchy-replicate-0: Completed
metadata selfheal on 00000000-0000-0000-0000-000000000001. sources=[0]  sinks=1
[2018-08-12 04:27:29.627898] I [MSGID: 108026]
[afr-self-heal-entry.c:887:afr_selfheal_entry_do] 0-patchy-replicate-0:
performing entry selfheal on 00000000-0000-0000-0000-000000000001
[2018-08-12 04:27:29.629383]:++++++++++
G_LOG:./tests/basic/afr/replace-brick-self-heal.t: TEST: 46 0
get_pending_heal_count patchy ++++++++++
<snipped>
[2018-08-12 04:27:29.675832] I [MSGID: 108026]
[afr-self-heal-common.c:1730:afr_log_selfheal] 0-patchy-replicate-0: Completed
entry selfheal on 00000000-0000-0000-0000-000000000001. sources= sinks=0 1
[2018-08-12 04:28:49.163183]:++++++++++
G_LOG:./tests/basic/afr/replace-brick-self-heal.t: TEST: 49 diff /dev/fd/63
/dev/fd/62 ++++++++++
--------------------------------------------------------------------------------

This looks identical to BZ 1613807

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list