Re: [Drizzle-discuss] Tests failing (json_server.basic rabbitmq)

2012-07-09 Thread Stewart Smith
Sriganesh Navaneethakrishnan sriganesh1...@gmail.com writes:
 Hi all,
   I tried compiling the code and run the tests, I haven't made any
 modifications yet.
 I tried this for two times, I'm getting the same result.
 There are 2 tests failing.

 Can anybody help me out.
 Drizzle is not getting started too.
 Where should I start looking?

drizzle-test-run in default mode: *** Failing the test(s):
 json_server.basic rabbitmq.variables

the test run should spit out a diff of expected vs actual result. This
will be the interesting part to help us diagnose the problem.


-- 
Stewart Smith


pgpYP9AOgbOUr.pgp
Description: PGP signature
___
Mailing list: https://launchpad.net/~drizzle-discuss
Post to : drizzle-discuss@lists.launchpad.net
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp


Re: [Drizzle-discuss] Tests failing (json_server.basic rabbitmq)

2012-07-09 Thread Stewart Smith
Sriganesh Navaneethakrishnan sriganesh1...@gmail.com writes:
 This was for the rabbitmq.variables


 /home/sriganesh/repos/drizzle/drizzle-bug-SRIJIK/plugin/rabbitmq/admin.sh:
 line 54: /usr/lib/rabbitmq/bin/rabbitmqctl: No such file or directory
 /home/sriganesh/repos/drizzle/drizzle-bug-SRIJIK/plugin/rabbitmq/admin.sh:
 line 48: /usr/lib/rabbitmq/bin/rabbitmq-server: No such file or directory
 rabbitmq.variables   [ fail ]
 drizzletest: Could not open connection 'default' after 500 attempts: 21
 drizzle_state_connect:could not connect

It looks like you may have the rabbitmq development libraries installed
but not rabbitmq itself. we probably have a bug in the autotools foo for
configure detecting that everything is there. Install rabbitmq and the
test should pass, otherwise you can disable building of the rabbitmq plugin.

 json_server.basic[ fail ]
 sh: 1: curl: not found

You will need to install curl to run the json_server test
suite. Arguably we should have a function for Drizzle that can perform
HTTP POST operations and use it instead of relying on curl.

-- 
Stewart Smith


pgpBoJ0Pu8Iaf.pgp
Description: PGP signature
___
Mailing list: https://launchpad.net/~drizzle-discuss
Post to : drizzle-discuss@lists.launchpad.net
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp


Re: [Drizzle-discuss] Tests failing (json_server.basic rabbitmq)

2012-07-09 Thread pcrews

On 07/09/2012 08:39 AM, Stewart Smith wrote:

Sriganesh Navaneethakrishnan sriganesh1...@gmail.com writes:

This was for the rabbitmq.variables


/home/sriganesh/repos/drizzle/drizzle-bug-SRIJIK/plugin/rabbitmq/admin.sh:
line 54: /usr/lib/rabbitmq/bin/rabbitmqctl: No such file or directory
/home/sriganesh/repos/drizzle/drizzle-bug-SRIJIK/plugin/rabbitmq/admin.sh:
line 48: /usr/lib/rabbitmq/bin/rabbitmq-server: No such file or directory
rabbitmq.variables   [ fail ]
drizzletest: Could not open connection 'default' after 500 attempts: 21
drizzle_state_connect:could not connect


It looks like you may have the rabbitmq development libraries installed
but not rabbitmq itself. we probably have a bug in the autotools foo for
configure detecting that everything is there. Install rabbitmq and the
test should pass, otherwise you can disable building of the rabbitmq plugin.


++ There is another rabbitmq test that will fail in this way.  We need 
to have it so we can detect return codes from setup .sh scripts for such 
test cases (would help us note such things), but autotools foo would 
help too : )





json_server.basic[ fail ]
sh: 1: curl: not found


You will need to install curl to run the json_server test
suite. Arguably we should have a function for Drizzle that can perform
HTTP POST operations and use it instead of relying on curl.



___
Mailing list: https://launchpad.net/~drizzle-discuss
Post to : drizzle-discuss@lists.launchpad.net
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp





___
Mailing list: https://launchpad.net/~drizzle-discuss
Post to : drizzle-discuss@lists.launchpad.net
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp


Re: [Drizzle-discuss] Tests failing (json_server.basic rabbitmq)

2012-07-09 Thread Henrik Ingo
On Mon, Jul 9, 2012 at 11:25 AM, Sriganesh Navaneethakrishnan
sriganesh1...@gmail.com wrote:
drizzle-test-run in default mode: *** Failing the test(s):
 json_server.basic rabbitmq.variables

The rabbitmq.variables fail is this bug:
https://bugs.launchpad.net/drizzle/+bug/919277
(see comments more than the bug report)

You can either ignore this, or of course fix it if you want to learn
about the test suite (guaranteed to be an interesting journey...)

Why json_server.basic is failing would be interesting to know. Can you
find some output about it as Stewart instrcuted?

henrik

-- 
henrik.i...@avoinelama.fi
+358-40-8211286 skype: henrik.ingo irc: hingo
www.openlife.cc

My LinkedIn profile: http://www.linkedin.com/profile/view?id=9522559

___
Mailing list: https://launchpad.net/~drizzle-discuss
Post to : drizzle-discuss@lists.launchpad.net
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp