Re: [Gluster-devel] quota-rename.t core in netbsd

2016-11-04 Thread Sanoj Unnikrishnan
yes!

I checked some of the newer logs now, looks like the console message may be
delayed in earlier console logs.

I would have to check the TC prior to quota-rename.t as well
(./tests/basic/quota-nfs.t ).
Thanks and Regards,
Sanoj

On Fri, Nov 4, 2016 at 7:30 PM, Emmanuel Dreyfus  wrote:

> Sanoj Unnikrishnan  wrote:
>
> > Ran the same steps as in the quota-rename.t (manually though. multiple
> > times!), Could not reproduce the issue.
>
> But running the test framework hits the bug reliabily?
>
>
> --
> Emmanuel Dreyfus
> http://hcpnet.free.fr/pubz
> m...@netbsd.org
>
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] quota-rename.t core in netbsd

2016-11-04 Thread Emmanuel Dreyfus
Sanoj Unnikrishnan  wrote:

> Ran the same steps as in the quota-rename.t (manually though. multiple
> times!), Could not reproduce the issue.

But running the test framework hits the bug reliabily?


-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel


Re: [Gluster-devel] quota-rename.t core in netbsd

2016-11-03 Thread Sanoj Unnikrishnan
I was able to sort out the issue after going through qa build script.
Ran the same steps as in the quota-rename.t (manually though. multiple
times!), Could not reproduce the issue.

bash-4.3# bash -x /tmp/test_sku2
+ /build/install/sbin/gluster v create v1
nbslave71.cloud.gluster.org:/d/backends/
force
volume create: v1: success: please start the volume to access data
+ /build/install/sbin/gluster v start v1
volume start: v1: success
+ /build/install/sbin/gluster v quota v1 enable
volume quota : success
+ /build/install/sbin/glusterfs --volfile-id=v1 --volfile-server=
nbslave71.cloud.gluster.org /glust_vol/
+ /build/install/sbin/gluster volume quota v1 hard-timeout 0
volume quota : success
+ /build/install/sbin/gluster volume quota v1 soft-timeout 0
volume quota : success
+ mkdir -p /glust_vol/dir/dir1
+ /build/install/sbin/gluster volume quota v1 limit-objects /dir 20
volume quota : success
+ mkdir /glust_vol/dir/dir1/d1 /glust_vol/dir/dir1/d2
/glust_vol/dir/dir1/d3 /glust_vol/dir/dir1/d4 /glust_vol/dir/dir1/d5
+ touch /glust_vol/dir/dir1/f1 /glust_vol/dir/dir1/f2
/glust_vol/dir/dir1/f3 /glust_vol/dir/dir1/f4 /glust_vol/dir/dir1/f5
+ mv /glust_vol/dir/dir1 /glust_vol/dir/dir2
+ /build/install/sbin/gluster v stop v1
+ yes
Stopping volume will make its data inaccessible. Do you want to continue?
(y/n) volume stop: v1: success
+ yes
+ /build/install/sbin/gluster v delete v1
Deleting volume will erase all information about the volume. Do you want to
continue? (y/n) volume delete: v1: success
+ rm -rf /glust_vol
bash-4.3#
bash-4.3#
bash-4.3# hostname
nbslave71.cloud.gluster.org
bash-4.3# uname -a
NetBSD nbslave71.cloud.gluster.org 7.0_STABLE NetBSD 7.0_STABLE
(XEN3PAE_DOMU.201601291840Z) i386


Thanks and Regards,
Sanoj

On Wed, Oct 26, 2016 at 11:48 AM, Emmanuel Dreyfus  wrote:

> Vijay Bellur  wrote:
>
> > Emmanuel might be able to help with problems related to NetBSD
> > environment.
>
> Sure, feel free to ask if you hit NetBSD-speciic troubles.
>
> --
> Emmanuel Dreyfus
> http://hcpnet.free.fr/pubz
> m...@netbsd.org
>
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] quota-rename.t core in netbsd

2016-10-26 Thread Emmanuel Dreyfus
Vijay Bellur  wrote:

> Emmanuel might be able to help with problems related to NetBSD
> environment.

Sure, feel free to ask if you hit NetBSD-speciic troubles.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel


Re: [Gluster-devel] quota-rename.t core in netbsd

2016-10-25 Thread Sanoj Unnikrishnan
Sure. Will continue working on it then.
Thanks,
Sanoj

On Wed, Oct 26, 2016 at 7:48 AM, Vijay Bellur  wrote:

> On Tue, Oct 25, 2016 at 1:15 AM, Sanoj Unnikrishnan 
> wrote:
> > This is a memory overrun issue.
> >
> > I was not able to fully RCA this issue. In particular i had trouble
> trying
> > to run gluster on netbsd setup.
> >
> > will pick this up later if it is deemed as priority.
> >
> >
>
> We have had elusive memory corruptions in quota and I think this is
> worth chasing down as we have a consistent reproducer.
>
> Emmanuel might be able to help with problems related to NetBSD environment.
>
> Thanks,
> Vijay
>
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] quota-rename.t core in netbsd

2016-10-25 Thread Vijay Bellur
On Tue, Oct 25, 2016 at 1:15 AM, Sanoj Unnikrishnan  wrote:
> This is a memory overrun issue.
>
> I was not able to fully RCA this issue. In particular i had trouble trying
> to run gluster on netbsd setup.
>
> will pick this up later if it is deemed as priority.
>
>

We have had elusive memory corruptions in quota and I think this is
worth chasing down as we have a consistent reproducer.

Emmanuel might be able to help with problems related to NetBSD environment.

Thanks,
Vijay
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel


Re: [Gluster-devel] quota-rename.t core in netbsd

2016-10-24 Thread Sanoj Unnikrishnan
This is a memory overrun issue.

I was not able to fully RCA this issue. In particular i had trouble trying
to run gluster on netbsd setup.

will pick this up later if it is deemed as priority.



(gdb)

#0  0xbb40b4b7 in ?? ()

#1  0xbb756685 in synctask_destroy (task=0xb6722030) at
/home/jenkins/root/workspace/netbsd7-regression/libglusterfs/src/syncop.c:391

#2  0xbb756701 in synctask_done (task=0xb6722030) at
/home/jenkins/root/workspace/netbsd7-regression/libglusterfs/src/syncop.c:409

#3  0xbb756fed in synctask_switchto (task=0xb6722030) at
/home/jenkins/root/workspace/netbsd7-regression/libglusterfs/src/syncop.c:668

#4  0xbb75709b in syncenv_processor (thdata=)

at
/home/jenkins/root/workspace/netbsd7-regression/libglusterfs/src/syncop.c:699

(gdb) frame 1

#1  0xbb756685 in synctask_destroy (task=0xb6722030) at
/home/jenkins/root/workspace/netbsd7-regression/libglusterfs/src/syncop.c:391

391 
/home/jenkins/root/workspace/netbsd7-regression/libglusterfs/src/syncop.c:
No such file or directory.

(gdb) p *task

$1 = {all_tasks = {next = 0xb6722030, prev = 0xb6722030}, env = 0xbb1a9030,
xl = 0xb9901030, frame = 0x0, opframe = 0xb6702100, synccbk = 0xb9aa0849
,

 syncfn = 0xb9aa297a , state = SYNCTASK_DONE,
opaque = 0xb670b0b0, stack = 0xb6724030, woken = 0, slept = 0, ret = 0, uid
= 0, gid = 0, ctx = {

uc_flags = 524335, uc_link = 0x0, uc_sigmask = {__bits = {4294897751,
4294967295, 4294967295, 4294967295}}, uc_stack = {ss_sp = 0xbf80,
ss_size = 270336, ss_flags = 0},

uc_mcontext = {__gregs = {179, 171, 31, 31, -1195381232, -1234128720,
-1234010112, -1234010176, -1149368040, -1155886264, -1234034576, 0, 3, 2,
-1149934353, 23, 2097814, -1234010160,

   31}, __fpregs = {__fp_reg_set = {__fpchip_state = {__fp_state =
{16778111, 0, -1180420687, 23, -1195379520, 31, 8064, 65471, 0 }}, __fp_xmm_state = {

   __fp_xmm =
"\177\003\000\001\000\000\000\000\261\065��\027\000\000\000�\364\277�\037\000\000\000\200\037\000\000\277\377",
'\000' , "�\005@", '\000' , "�\005@",
'\000' ...}, __fp_fpregs = {16778111, 0, -1180420687,
23, -1195379520, 31, 8064, 65471, 0 , -268435456, 16389,
0, 0, -1610612736,

   16389, 0 , 895, 0 }},
__fp_pad = {0 }}, _mc_tlsbase = -1154730944}, __uc_pad =
{0, 0, 0, 0}}, proc = 0xbb1a9344, mutex = {

ptm_magic = 0, ptm_errorcheck = 0 '\000', ptm_pad1 = "\000\000",
ptm_interlock = 0 '\000', ptm_pad2 = "\000\000", ptm_owner = 0x0,
ptm_waiters = 0x0, ptm_recursed = 0,

ptm_spare2 = 0x0}, cond = {ptc_magic = 0, ptc_lock = 0 '\000',
ptc_waiters = {ptqh_first = 0x0, ptqh_last = 0x0}, ptc_mutex = 0x0,
ptc_private = 0x0}, done = 0, waitq = {

next = 0xb67223b4, prev = 0xb67223b4}, btbuf = "(--> 0xbb7564d1 (-->
 (--> at (--> /build/install/lib/libglusterfs.so.0
", '\000' }


(gdb) p/x *(struct mem_header*)(task->stack - sizeof(struct mem_header))

$10 = {type = 0xbb6cd33f, size = 0x1, mem_acct = 0xb992f000, magic =
0xcafebabe, padding = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}

=>Header magic is intact

(gdb) x/5x (task->stack)

0xb6724030: 0x  0x  0x  0x

0xb6724040: 0x

=>Trailer magic is Overwritten

Regards,

Sanoj

On Thu, Oct 13, 2016 at 10:22 AM, Raghavendra Gowdappa 
wrote:

> +Muthu, +Sanoj
>
> Sure Vijay. One of us will take a look.
>
> - Original Message -
> > From: "Vijay Bellur" 
> > To: "Gluster Devel" , "Raghavendra Gowdappa"
> 
> > Sent: Wednesday, October 5, 2016 11:25:34 PM
> > Subject: quota-rename.t core in netbsd
> >
> > Hi All,
> >
> > I observed a few crashes due to quota-rename.t in netbsd regression
> > runs [1] [2].  Raghavendra - can you please take a look when you get a
> > chance?
> >
> > The core files and logs cannot be downloaded from the URLs in jenkins
> > job console history for NetBSD. I have logged a bug [3] on the
> > infrastructure for that.
> >
> > Thanks,
> > Vijay
> >
> > [1] https://build.gluster.org/job/netbsd7-regression/942/consoleFull
> >
> > [2]  https://build.gluster.org/job/netbsd7-regression/945/console
> >
> > [3] https://bugzilla.redhat.com/show_bug.cgi?id=1382097
> >
>
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] quota-rename.t core in netbsd

2016-10-12 Thread Raghavendra Gowdappa
+Muthu, +Sanoj

Sure Vijay. One of us will take a look.

- Original Message -
> From: "Vijay Bellur" 
> To: "Gluster Devel" , "Raghavendra Gowdappa" 
> 
> Sent: Wednesday, October 5, 2016 11:25:34 PM
> Subject: quota-rename.t core in netbsd
> 
> Hi All,
> 
> I observed a few crashes due to quota-rename.t in netbsd regression
> runs [1] [2].  Raghavendra - can you please take a look when you get a
> chance?
> 
> The core files and logs cannot be downloaded from the URLs in jenkins
> job console history for NetBSD. I have logged a bug [3] on the
> infrastructure for that.
> 
> Thanks,
> Vijay
> 
> [1] https://build.gluster.org/job/netbsd7-regression/942/consoleFull
> 
> [2]  https://build.gluster.org/job/netbsd7-regression/945/console
> 
> [3] https://bugzilla.redhat.com/show_bug.cgi?id=1382097
> 
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel


Re: [Gluster-devel] quota-rename.t core in netbsd

2016-10-06 Thread Manikandan Selvaganesh
Hi,

I looked at the test case and everything looks fine.

Is it possible to get a NetBSD machine to debug this issue? Or, could you
attach core/log files to debug.



--
Thanks & Regards,
Manikandan Selvaganesh.

On Wed, Oct 5, 2016 at 11:25 PM, Vijay Bellur  wrote:

> Hi All,
>
> I observed a few crashes due to quota-rename.t in netbsd regression
> runs [1] [2].  Raghavendra - can you please take a look when you get a
> chance?
>
> The core files and logs cannot be downloaded from the URLs in jenkins
> job console history for NetBSD. I have logged a bug [3] on the
> infrastructure for that.
>
> Thanks,
> Vijay
>
> [1] https://build.gluster.org/job/netbsd7-regression/942/consoleFull
>
> [2]  https://build.gluster.org/job/netbsd7-regression/945/console
>
> [3] https://bugzilla.redhat.com/show_bug.cgi?id=1382097
> ___
> Gluster-devel mailing list
> Gluster-devel@gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-devel
>
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel

[Gluster-devel] quota-rename.t core in netbsd

2016-10-05 Thread Vijay Bellur
Hi All,

I observed a few crashes due to quota-rename.t in netbsd regression
runs [1] [2].  Raghavendra - can you please take a look when you get a
chance?

The core files and logs cannot be downloaded from the URLs in jenkins
job console history for NetBSD. I have logged a bug [3] on the
infrastructure for that.

Thanks,
Vijay

[1] https://build.gluster.org/job/netbsd7-regression/942/consoleFull

[2]  https://build.gluster.org/job/netbsd7-regression/945/console

[3] https://bugzilla.redhat.com/show_bug.cgi?id=1382097
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel