[Gluster-devel] Spurious failire ./tests/bugs/bug-1049834.t [16]

Avra Sengupta asengupt at redhat.com
Thu May 29 12:34:10 UTC 2014


The test-case in question uses the cluster framework, where the logs are 
saved in /d/backends and is not present in the compressed log file. So i 
wrote a patch http://review.gluster.org/#/c/7924/ which creates the 
glusterd logs for the cluster framework in logdir, instead of /d/backends.

Vijay, can we please merge this patch, so that the next time this 
scenario is hit we will have the proper logs.

Regards,
Avra

On 05/29/2014 07:19 AM, Pranith Kumar Karampuri wrote:
> Avra,
>      Patch submitted by you http://review.gluster.com/#/c/7889 also failed this test today.
>
> Pranith
>
> ----- Original Message -----
>> From: "Avra Sengupta" <asengupt at redhat.com>
>> To: "Pranith Kumar Karampuri" <pkarampu at redhat.com>
>> Cc: "Gluster Devel" <gluster-devel at gluster.org>
>> Sent: Wednesday, May 28, 2014 5:04:40 PM
>> Subject: Re: [Gluster-devel] Spurious failire ./tests/bugs/bug-1049834.t [16]
>>
>> 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 at redhat.com>
>>>> To: "Avra Sengupta" <asengupt at redhat.com>
>>>> Cc: "Gluster Devel" <gluster-devel at gluster.org>
>>>> Sent: Wednesday, May 28, 2014 6:43:52 AM
>>>> Subject: Re: [Gluster-devel] Spurious failire ./tests/bugs/bug-1049834.t
>>>> [16]
>>>>
>>>>
>>>> CC gluster-devel
>>>>
>>>> Pranith
>>>> ----- Original Message -----
>>>>> From: "Pranith Kumar Karampuri" <pkarampu at redhat.com>
>>>>> To: "Avra Sengupta" <asengupt at redhat.com>
>>>>> 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 at redhat.com
>>>>> 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 at redhat.com>
>>>>>
>>>>> ./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 at gluster.org
>>>> http://supercolony.gluster.org/mailman/listinfo/gluster-devel
>>>>
>>



More information about the Gluster-devel mailing list