[Bugs] [Bug 1233018] tests: Add the command being 'TEST'ed in all gluster logs

bugzilla at redhat.com bugzilla at redhat.com
Mon Jun 29 12:18:16 UTC 2015


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



--- Comment #5 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/10667 committed in master by Raghavendra
Talur (rtalur at redhat.com) 
------
commit b343155815716094a70c5428c26ddcb0980a031e
Author: Ravishankar N <ravishankar at redhat.com>
Date:   Sat May 9 07:23:09 2015 +0530

    tests: Add the command being 'TEST'ed in all gluster logs

    Appends all commands being run under the test framework into the logs
    with time stamps. Its a hack but I find it very useful to see what
    sections of the logs (across all logs) need to be analysed between
    execution of 2 commands.

    Here's a sample output:
    [2015-06-26 13:25:15.866764479]:++++++++++ G_LOG:tests/basic/afr/quorum.t:
TEST: 46 ! test_write ++++++++++
    [2015-06-26 13:25:15.872002] I [afr-common.c:1682:afr_local_discovery_cbk]
0-patchy-replicate-0: selecting local read_child patchy-client-1
    [2015-06-26 13:25:15.874559] W [fuse-bridge.c:723:fuse_truncate_cbk]
0-glusterfs-fuse: 81: TRUNCATE() /a => -1 (Read-only file system)
    [2015-06-26 13:25:15.880554623]:++++++++++ G_LOG:tests/basic/afr/quorum.t:
TEST: 47 abc cat /mnt/glusterfs/0/b ++++++++++
    [2015-06-26 13:25:15.897767878]:++++++++++ G_LOG:tests/basic/afr/quorum.t:
TEST: 48 gluster --mode=script --wignore volume set patchy cluster.quorum-reads
on ++++++++++[2015-06-26 13:25:15.994410] I
[glusterfsd-mgmt.c:51:mgmt_cbk_spec] 0-mgmt: Volume file changed
    [2015-06-26 13:25:17.098519] I [glusterfsd-mgmt.c:51:mgmt_cbk_spec] 0-mgmt:
Volume file changed
    [2015-06-26 13:25:17.099241] I [glusterfsd-mgmt.c:51:mgmt_cbk_spec] 0-mgmt:
Volume file changed
    [2015-06-26 13:25:17.099685] I [glusterfsd-mgmt.c:51:mgmt_cbk_spec] 0-mgmt:
Volume file changed
    [2015-06-26 13:25:17.100055] I [glusterfsd-mgmt.c:51:mgmt_cbk_spec] 0-mgmt:
Volume file changed
    [2015-06-26 13:25:17.105896] W [MSGID: 108003]
[afr.c:94:fix_quorum_options] 0-patchy-replicate-0: quorum-type auto overriding
quorum-count 2
    [2015-06-26 13:25:17.105936] W [MSGID: 108001] [afr.c:189:reconfigure]
0-patchy-replicate-0: Client-quorum is not met
    [2015-06-26 13:25:17.107438] I [glusterfsd-mgmt.c:1507:mgmt_getspec_cbk]
0-glusterfs: No change in volfile, continuing
    [2015-06-26 13:25:17.108724] I [glusterfsd-mgmt.c:1507:mgmt_getspec_cbk]
0-glusterfs: No change in volfile, continuing
    [2015-06-26 13:25:17.110082] I [glusterfsd-mgmt.c:1507:mgmt_getspec_cbk]
0-glusterfs: No change in volfile, continuing
    [2015-06-26 13:25:17.110599] I [glusterfsd-mgmt.c:1507:mgmt_getspec_cbk]
0-glusterfs: No change in volfile, continuing
    [2015-06-26 13:25:17.109678070]:++++++++++ G_LOG:tests/basic/afr/quorum.t:
TEST: 49 1 mount_get_option_value /mnt/glusterfs/0 patchy-replicate-0
quorum-reads ++++++++++
    [2015-06-26 13:25:17.117801] I [afr-common.c:1682:afr_local_discovery_cbk]
0-patchy-replicate-0: selecting local read_child patchy-client-1

    Change-Id: Ib51284a0384508350579babaf1ae69cb372e0baa
    BUG: 1233018
    Signed-off-by: Ravishankar N <ravishankar at redhat.com>
    Reviewed-on: http://review.gluster.org/10667
    Tested-by: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Kaleb KEITHLEY <kkeithle at redhat.com>
    Reviewed-by: Raghavendra Talur <rtalur at redhat.com>

-- 
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=gzweJBVXaD&a=cc_unsubscribe


More information about the Bugs mailing list