Re: [Gluster-devel] bug-822830.t fails on release-3.5 branch

2014-07-04 Thread Ravishankar N

On 07/04/2014 11:20 AM, Pranith Kumar Karampuri wrote:


On 07/04/2014 11:19 AM, Ravishankar N wrote:

On 07/04/2014 11:09 AM, Pranith Kumar Karampuri wrote:

Ravi,
I already sent a patch for it in the morning at 
http://review.gluster.com/8233

Review please :-)

830665.t is identical in master where it succeeds. Looks like 
*match_subnet_v4() changes  in master need to be backported to 3.5 as 
well.
That is because Avati's patch where EXPECT matches reg-ex is not 
present on release-3.5


commit 9a34ea6a0a95154013676cabf8528b2679fb36c4
Author: Anand Avati av...@redhat.com
Date:   Fri Jan 24 18:30:32 2014 -0800

tests: support regex in EXPECT constructs

Instead of just strings, provide the ability to specify a regex
of the pattern to expect

Change-Id: I6ada978197dceecc28490a2a40de73a04ab9abcd
Signed-off-by: Anand Avati av...@redhat.com
Reviewed-on: http://review.gluster.org/6788
Reviewed-by: Pranith Kumar Karampuri pkara...@redhat.com
Tested-by: Gluster Build System jenk...@build.gluster.com

Shall we backport this?



I think we should; reviewed http://review.gluster.org/#/c/8235/. Thanks 
for the fix :)



Pranith

Pranith

On 07/04/2014 11:00 AM, Ravishankar N wrote:

Hi Niels/ Santosh,

tests/bugs/bug-830665.t is consistently failing on 3.5 branch:
not ok 17 Got *.redhat.com instead of \*.redhat.com
not ok 19 Got 192.168.10.[1-5] instead of 192.168.10.\[1-5]

and seems to be introduced by http://review.gluster.org/#/c/8223/

Could you please look into it?

Thanks,
Ravi




___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-devel








___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-devel


Re: [Gluster-devel] bug-822830.t fails on release-3.5 branch

2014-07-04 Thread Pranith Kumar Karampuri


On 07/04/2014 12:00 PM, Santosh Pradhan wrote:
Thanks guys for looking into this. I am just wondering how this passed 
the regression before Niels could merged this in? Good part is test 
case needs modification not code ;)
There seems to be some bug in our regression testing code. Even though 
the regression failed it gave the verdict as SUCCESS

http://build.gluster.org/job/rackspace-regression-2GB-triggered/97/consoleFull

Pranith


-Santosh


On 07/04/2014 11:51 AM, Ravishankar N wrote:

On 07/04/2014 11:20 AM, Pranith Kumar Karampuri wrote:


On 07/04/2014 11:19 AM, Ravishankar N wrote:

On 07/04/2014 11:09 AM, Pranith Kumar Karampuri wrote:

Ravi,
I already sent a patch for it in the morning at 
http://review.gluster.com/8233

Review please :-)

830665.t is identical in master where it succeeds. Looks like 
*match_subnet_v4() changes  in master need to be backported to 3.5 
as well.
That is because Avati's patch where EXPECT matches reg-ex is not 
present on release-3.5


commit 9a34ea6a0a95154013676cabf8528b2679fb36c4
Author: Anand Avati av...@redhat.com
Date:   Fri Jan 24 18:30:32 2014 -0800

tests: support regex in EXPECT constructs

Instead of just strings, provide the ability to specify a regex
of the pattern to expect

Change-Id: I6ada978197dceecc28490a2a40de73a04ab9abcd
Signed-off-by: Anand Avati av...@redhat.com
Reviewed-on: http://review.gluster.org/6788
Reviewed-by: Pranith Kumar Karampuri pkara...@redhat.com
Tested-by: Gluster Build System jenk...@build.gluster.com

Shall we backport this?



I think we should; reviewed http://review.gluster.org/#/c/8235/. 
Thanks for the fix :)



Pranith

Pranith

On 07/04/2014 11:00 AM, Ravishankar N wrote:

Hi Niels/ Santosh,

tests/bugs/bug-830665.t is consistently failing on 3.5 branch:
not ok 17 Got *.redhat.com instead of \*.redhat.com
not ok 19 Got 192.168.10.[1-5] instead of 192.168.10.\[1-5]

and seems to be introduced by http://review.gluster.org/#/c/8223/

Could you please look into it?

Thanks,
Ravi




___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-devel












___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-devel


Re: [Gluster-devel] bug-822830.t fails on release-3.5 branch

2014-07-04 Thread Harshavardhana
On Thu, Jul 3, 2014 at 11:30 PM, Santosh Pradhan sprad...@redhat.com wrote:
 Thanks guys for looking into this. I am just wondering how this passed the
 regression before Niels could merged this in? Good part is test case needs
 modification not code ;)

We need a single maintainer for test cases alone to keep stability
across, this would occur
if some changes introduce races as we add more and more test cases.

For example chmod.t from posix-compliance fails once in a while and it
is not never maintained
by us.
-- 
Religious confuse piety with mere ritual, the virtuous confuse
regulation with outcomes
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-devel


Re: [Gluster-devel] bug-822830.t fails on release-3.5 branch

2014-07-04 Thread Harshavardhana
 There seems to be some bug in our regression testing code. Even though the
 regression failed it gave the verdict as SUCCESS
 http://build.gluster.org/job/rackspace-regression-2GB-triggered/97/consoleFull


This was fixed by Justin Clift recently

-- 
Religious confuse piety with mere ritual, the virtuous confuse
regulation with outcomes
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-devel


Re: [Gluster-devel] bug-822830.t fails on release-3.5 branch

2014-07-04 Thread Pranith Kumar Karampuri


On 07/04/2014 12:06 PM, Harshavardhana wrote:

There seems to be some bug in our regression testing code. Even though the
regression failed it gave the verdict as SUCCESS
http://build.gluster.org/job/rackspace-regression-2GB-triggered/97/consoleFull


This was fixed by Justin Clift recently

All is well then :-)

Pranith




___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-devel


Re: [Gluster-devel] bug-822830.t fails on release-3.5 branch

2014-07-04 Thread Niels de Vos
On Fri, Jul 04, 2014 at 11:51:45AM +0530, Ravishankar N wrote:
 On 07/04/2014 11:20 AM, Pranith Kumar Karampuri wrote:
 
 On 07/04/2014 11:19 AM, Ravishankar N wrote:
 On 07/04/2014 11:09 AM, Pranith Kumar Karampuri wrote:
 Ravi,
 I already sent a patch for it in the morning at
 http://review.gluster.com/8233
 Review please :-)
 
 830665.t is identical in master where it succeeds. Looks like
 *match_subnet_v4() changes  in master need to be backported to
 3.5 as well.
 That is because Avati's patch where EXPECT matches reg-ex is not
 present on release-3.5
 
 commit 9a34ea6a0a95154013676cabf8528b2679fb36c4
 Author: Anand Avati av...@redhat.com
 Date:   Fri Jan 24 18:30:32 2014 -0800
 
 tests: support regex in EXPECT constructs
 
 Instead of just strings, provide the ability to specify a regex
 of the pattern to expect
 
 Change-Id: I6ada978197dceecc28490a2a40de73a04ab9abcd
 Signed-off-by: Anand Avati av...@redhat.com
 Reviewed-on: http://review.gluster.org/6788
 Reviewed-by: Pranith Kumar Karampuri pkara...@redhat.com
 Tested-by: Gluster Build System jenk...@build.gluster.com
 
 Shall we backport this?
 
 
 I think we should; reviewed http://review.gluster.org/#/c/8235/.
 Thanks for the fix :)

Thanks guys! Justin sent me a heads up on the 'should have failed 
regression testing' yesterday, but I was a little tied up. I was 
planning to look into the issue today, seems you already found it, 
wohoo! When this one passes regression tests, I'll merge it.

Many thanks,
Niels

 
 Pranith
 Pranith
 
 On 07/04/2014 11:00 AM, Ravishankar N wrote:
 Hi Niels/ Santosh,
 
 tests/bugs/bug-830665.t is consistently failing on 3.5 branch:
 not ok 17 Got *.redhat.com instead of \*.redhat.com
 not ok 19 Got 192.168.10.[1-5] instead of 192.168.10.\[1-5]
 
 and seems to be introduced by http://review.gluster.org/#/c/8223/
 
 Could you please look into it?
 
 Thanks,
 Ravi
 
 
 
 
 ___
 Gluster-devel mailing list
 Gluster-devel@gluster.org
 http://supercolony.gluster.org/mailman/listinfo/gluster-devel
 
 
 
 
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-devel


Re: [Gluster-devel] bug-822830.t fails on release-3.5 branch

2014-07-04 Thread Pranith Kumar Karampuri


On 07/04/2014 12:04 PM, Harshavardhana wrote:

On Thu, Jul 3, 2014 at 11:30 PM, Santosh Pradhan sprad...@redhat.com wrote:

Thanks guys for looking into this. I am just wondering how this passed the
regression before Niels could merged this in? Good part is test case needs
modification not code ;)

We need a single maintainer for test cases alone to keep stability
across, this would occur
if some changes introduce races as we add more and more test cases.

I don't mind maintaining it along with Justin if people are okay with it.

Pranith.


For example chmod.t from posix-compliance fails once in a while and it
is not never maintained
by us.


___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-devel


Re: [Gluster-devel] bug-822830.t fails on release-3.5 branch

2014-07-04 Thread Justin Clift
On 04/07/2014, at 7:30 AM, Santosh Pradhan wrote:
 Thanks guys for looking into this. I am just wondering how this passed the 
 regression before Niels could merged this in?

It was due to stupidity on my part. ;)

Was adjusting the bash script in jenkins the other day, attempting
to get the console output nicer looking.  So, added a few echo
statements in places, attempting to space things out.

Previous (working code) was like this:

  ...
  sudo -E bash -x /opt/qa/regression.sh
  RET=$?
  if [ $RET = 0 ]; then
V=+1
VERDICT=SUCCESS
  else
V=-1
VERDICT=FAILED
  fi
  ...

With the brilliant addition of echo statements in exactly
the wrong place, it became:

  ...
  echo
  echo
  sudo -E bash -x /opt/qa/regression.sh
  echo
  echo
  RET=$?
  if [ $RET = 0 ]; then
V=+1
VERDICT=SUCCESS
  else
V=-1
VERDICT=FAILED
  fi
  ...

... and was using the return code from the echo statements.

Not my brightest moment. ;)

+ Justin

--
GlusterFS - http://www.gluster.org

An open source, distributed file system scaling to several
petabytes, and handling thousands of clients.

My personal twitter: twitter.com/realjustinclift

___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-devel


Re: [Gluster-devel] bug-822830.t fails on release-3.5 branch

2014-07-04 Thread Justin Clift
On 04/07/2014, at 7:34 AM, Harshavardhana wrote:
 On Thu, Jul 3, 2014 at 11:30 PM, Santosh Pradhan sprad...@redhat.com wrote:
 Thanks guys for looking into this. I am just wondering how this passed the
 regression before Niels could merged this in? Good part is test case needs
 modification not code ;)
 
 We need a single maintainer for test cases alone to keep stability
 across, this would occur
 if some changes introduce races as we add more and more test cases.
 
 For example chmod.t from posix-compliance fails once in a while and it
 is not never maintained
 by us.

Yeah, I'm not really sure what we should do about the smoke test stuff.

Possibly useful?

  http://www.gluster.org/pipermail/gluster-infra/2014-March/68.html

+ Justin

--
GlusterFS - http://www.gluster.org

An open source, distributed file system scaling to several
petabytes, and handling thousands of clients.

My personal twitter: twitter.com/realjustinclift

___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-devel


Re: [Gluster-devel] bug-822830.t fails on release-3.5 branch

2014-07-03 Thread Ravishankar N

On 07/04/2014 11:09 AM, Pranith Kumar Karampuri wrote:

Ravi,
I already sent a patch for it in the morning at 
http://review.gluster.com/8233

Review please :-)

830665.t is identical in master where it succeeds. Looks like 
*match_subnet_v4() changes  in master need to be backported to 3.5 as well.

Pranith

On 07/04/2014 11:00 AM, Ravishankar N wrote:

Hi Niels/ Santosh,

tests/bugs/bug-830665.t is consistently failing on 3.5 branch:
not ok 17 Got *.redhat.com instead of \*.redhat.com
not ok 19 Got 192.168.10.[1-5] instead of 192.168.10.\[1-5]

and seems to be introduced by http://review.gluster.org/#/c/8223/

Could you please look into it?

Thanks,
Ravi




___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-devel




___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-devel


Re: [Gluster-devel] bug-822830.t fails on release-3.5 branch

2014-07-03 Thread Pranith Kumar Karampuri


On 07/04/2014 11:19 AM, Ravishankar N wrote:

On 07/04/2014 11:09 AM, Pranith Kumar Karampuri wrote:

Ravi,
I already sent a patch for it in the morning at 
http://review.gluster.com/8233

Review please :-)

830665.t is identical in master where it succeeds. Looks like 
*match_subnet_v4() changes  in master need to be backported to 3.5 as 
well.
That is because Avati's patch where EXPECT matches reg-ex is not present 
on release-3.5


commit 9a34ea6a0a95154013676cabf8528b2679fb36c4
Author: Anand Avati av...@redhat.com
Date:   Fri Jan 24 18:30:32 2014 -0800

tests: support regex in EXPECT constructs

Instead of just strings, provide the ability to specify a regex
of the pattern to expect

Change-Id: I6ada978197dceecc28490a2a40de73a04ab9abcd
Signed-off-by: Anand Avati av...@redhat.com
Reviewed-on: http://review.gluster.org/6788
Reviewed-by: Pranith Kumar Karampuri pkara...@redhat.com
Tested-by: Gluster Build System jenk...@build.gluster.com

Shall we backport this?

Pranith

Pranith

On 07/04/2014 11:00 AM, Ravishankar N wrote:

Hi Niels/ Santosh,

tests/bugs/bug-830665.t is consistently failing on 3.5 branch:
not ok 17 Got *.redhat.com instead of \*.redhat.com
not ok 19 Got 192.168.10.[1-5] instead of 192.168.10.\[1-5]

and seems to be introduced by http://review.gluster.org/#/c/8223/

Could you please look into it?

Thanks,
Ravi




___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-devel






___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-devel


Re: [Gluster-devel] bug-822830.t fails on release-3.5 branch

2014-07-03 Thread Ravishankar N

On 07/04/2014 11:19 AM, Ravishankar N wrote:

On 07/04/2014 11:09 AM, Pranith Kumar Karampuri wrote:

Ravi,
I already sent a patch for it in the morning at 
http://review.gluster.com/8233

Review please :-)

830665.t is identical in master where it succeeds. Looks like 
*match_subnet_v4() changes  in master need to be backported to 3.5 as 
well.


Sorry! I meant 822830.t

Pranith

On 07/04/2014 11:00 AM, Ravishankar N wrote:

Hi Niels/ Santosh,

tests/bugs/bug-830665.t is consistently failing on 3.5 branch:
not ok 17 Got *.redhat.com instead of \*.redhat.com
not ok 19 Got 192.168.10.[1-5] instead of 192.168.10.\[1-5]

and seems to be introduced by http://review.gluster.org/#/c/8223/

Could you please look into it?

Thanks,
Ravi




___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-devel




___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-devel


___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-devel