[Gluster-devel] Spurious failure tests/bugs/bug-948686.t [13, 14, 15]

Pranith Kumar Karampuri pkarampu at redhat.com
Fri May 30 13:43:40 UTC 2014


Kaushal/Kp,
      This failed twice in a row. Please take a look. This time it failed in 13, 14, 15 where as before it used to fail in 14, 15, 16.

Patch                     ==> http://review.gluster.com/#/c/7840/3
Author                    ==>  Ravishankar N ravishankar at redhat.com
Build triggered by        ==> pkarampu
Build-url                 ==> http://build.gluster.org/job/regression/4619/consoleFull
Download-log-at           ==> http://build.gluster.org:443/logs/regression/glusterfs-logs-20140529:20:35:10.tgz
Test written by           ==> Author: Krishnan Parthasarathi <kparthas at redhat.com>

./tests/bugs/bug-948686.t [13, 14, 15]
    0 #!/bin/bash
    1 
    2 . $(dirname $0)/../include.rc
    3 . $(dirname $0)/../volume.rc
    4 . $(dirname $0)/../cluster.rc
    5 
    6 function check_peers {
    7     $CLI_1 peer status | grep 'Peer in Cluster (Connected)' | wc -l
    8 }
    9 cleanup;
   10 #setup cluster and test volume
   11 TEST launch_cluster 3; # start 3-node virtual cluster
   12 TEST $CLI_1 peer probe $H2; # peer probe server 2 from server 1 cli
   13 TEST $CLI_1 peer probe $H3; # peer probe server 3 from server 1 cli
   14 
   15 EXPECT_WITHIN $PROBE_TIMEOUT 2 check_peers;
   16 
   17 TEST $CLI_1 volume create $V0 replica 2 $H1:$B1/$V0 $H1:$B1/${V0}_1 $H2:$B2/$V0 $H3:$B3/$V0
   18 TEST $CLI_1 volume start $V0
   19 TEST glusterfs --volfile-server=$H1 --volfile-id=$V0 $M0
   20 
   21 #kill a node
   22 TEST kill_node 3
   23 
   24 #modify volume config to see change in volume-sync
   25 TEST $CLI_1 volume set $V0 write-behind off
   26 #add some files to the volume to see effect of volume-heal cmd
   27 TEST touch $M0/{1..100};
   28 TEST $CLI_1 volume stop $V0;
   29 TEST $glusterd_3;
***30 EXPECT_WITHIN $PROBE_TIMEOUT 2 check_peers;
***31 TEST $CLI_3 volume start $V0;
***32 TEST $CLI_2 volume stop $V0;
   33 TEST $CLI_2 volume delete $V0;
   34 
   35 cleanup;
   36 
   37 TEST glusterd;
   38 TEST $CLI volume create $V0 $H0:$B0/$V0
   39 TEST $CLI volume start $V0
   40 pkill glusterd;
   41 pkill glusterfsd;
   42 TEST glusterd
   43 TEST $CLI volume status $V0
   44 
   45 cleanup;

Pranith


More information about the Gluster-devel mailing list