Pranith am looking into a priority issue for
snapshot(https://bugzilla.redhat.com/show_bug.cgi?id=1098045) right now,
I will get started with this spurious failure as soon as I finish it,
which should be max by eod tomorrow.
Regards,
Avra
On 05/28/2014 06:46 AM, Pranith Kumar Karampuri wrote:
FYI, this test failed more than once yesterday. Same test failed both the times.
Pranith
----- Original Message -----
From: "Pranith Kumar Karampuri" <pkarampu@xxxxxxxxxx>
To: "Avra Sengupta" <asengupt@xxxxxxxxxx>
Cc: "Gluster Devel" <gluster-devel@xxxxxxxxxxx>
Sent: Wednesday, May 28, 2014 6:43:52 AM
Subject: Re: Spurious failire ./tests/bugs/bug-1049834.t [16]
CC gluster-devel
Pranith
----- Original Message -----
From: "Pranith Kumar Karampuri" <pkarampu@xxxxxxxxxx>
To: "Avra Sengupta" <asengupt@xxxxxxxxxx>
Sent: Wednesday, May 28, 2014 6:42:53 AM
Subject: Spurious failire ./tests/bugs/bug-1049834.t [16]
hi Avra,
Could you look into it.
Patch ==> http://review.gluster.com/7889/1
Author ==> Avra Sengupta asengupt@xxxxxxxxxx
Build triggered by ==> amarts
Build-url ==>
http://build.gluster.org/job/regression/4586/consoleFull
Download-log-at ==>
http://build.gluster.org:443/logs/regression/glusterfs-logs-20140527:14:51:09.tgz
Test written by ==> Author: Avra Sengupta <asengupt@xxxxxxxxxx>
./tests/bugs/bug-1049834.t [16]
#!/bin/bash
. $(dirname $0)/../include.rc
. $(dirname $0)/../cluster.rc
. $(dirname $0)/../volume.rc
. $(dirname $0)/../snapshot.rc
cleanup;
1 TEST verify_lvm_version
2 TEST launch_cluster 2
3 TEST setup_lvm 2
4 TEST $CLI_1 peer probe $H2
5 EXPECT_WITHIN $PROBE_TIMEOUT 1 peer_count
6 TEST $CLI_1 volume create $V0 $H1:$L1 $H2:$L2
7 EXPECT 'Created' volinfo_field $V0 'Status'
8 TEST $CLI_1 volume start $V0
9 EXPECT 'Started' volinfo_field $V0 'Status'
#Setting the snap-max-hard-limit to 4
10 TEST $CLI_1 snapshot config $V0 snap-max-hard-limit 4
PID_1=$!
wait $PID_1
#Creating 3 snapshots on the volume (which is the soft-limit)
11 TEST create_n_snapshots $V0 3 $V0_snap
12 TEST snapshot_n_exists $V0 3 $V0_snap
#Creating the 4th snapshot on the volume and expecting it to be
created
# but with the deletion of the oldest snapshot i.e 1st snapshot
13 TEST $CLI_1 snapshot create ${V0}_snap4 ${V0}
14 TEST snapshot_exists 1 ${V0}_snap4
15 TEST ! snapshot_exists 1 ${V0}_snap1
***16 TEST $CLI_1 snapshot delete ${V0}_snap4
17 TEST $CLI_1 snapshot create ${V0}_snap1 ${V0}
18 TEST snapshot_exists 1 ${V0}_snap1
#Deleting the 4 snaps
#TEST delete_n_snapshots $V0 4 $V0_snap
#TEST ! snapshot_n_exists $V0 4 $V0_snap
cleanup;
Pranith
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-devel
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-devel