Re: [Grinder-use] Agent not responding after initial startup

Darren Ball <[email protected]> Wed, 22 Apr 2015 18:47:42 -0400
Newsgroups gmane.comp.java.grinder.devel,gmane.comp.java.grinder.user
Message-ID <CA+YPNhcDH+LJo3zw7BTEttSMgTARBTA+ssxLy8RcWobTXyBPow@mail.gmail.com>
No sure how that helps, as I need the console.

I can send any number of other commands that affect agents like
agent/stop-workers and agents/stop.  These all seem to get through.
Requesting files/distribute is a complete no go.vvI brought down the
console and brought it back up, agent reconnected immediately.

Dev: any insight on how to get this files/distribute to work?

Here is the agent log as these other command are coming in.  File
distribute fails to come through.

{"timestamp":"2015-04-22T22:37:16.781+00:00","logger":"agent","thread":"Message
pump-1","level":"INFO","HOSTNAME":"ip-10-82-151-49.localdomain","message":"received
a reset message"}
{"timestamp":"2015-04-22T22:37:16.782+00:00","logger":"agent","thread":"main","level":"INFO","HOSTNAME":"ip-10-82-151-49.localdomain","message":"The
Grinder 3.12-SNAPSHOT"}
{"timestamp":"2015-04-22T22:37:16.782+00:00","logger":"agent","thread":"main","level":"INFO","HOSTNAME":"ip-10-82-151-49.localdomain","message":"waiting
for console signal"}
{"timestamp":"2015-04-22T22:39:05.609+00:00","logger":"agent","thread":"Message
pump-1","level":"INFO","HOSTNAME":"ip-10-82-151-49.localdomain","message":"console
connection shut down"}
{"timestamp":"2015-04-22T22:39:05.609+00:00","logger":"agent","thread":"main","level":"INFO","HOSTNAME":"ip-10-82-151-49.localdomain","message":"agent
finished"}
{"timestamp":"2015-04-22T22:39:05.610+00:00","logger":"agent","thread":"main","level":"INFO","HOSTNAME":"ip-10-82-151-49.localdomain","message":"sleeping
for 30000 ms"}
{"timestamp":"2015-04-22T22:39:35.610+00:00","logger":"agent","thread":"main","level":"INFO","HOSTNAME":"ip-10-82-151-49.localdomain","message":"The
Grinder 3.12-SNAPSHOT"}
{"timestamp":"2015-04-22T22:39:35.613+00:00","logger":"agent","thread":"main","level":"ERROR","HOSTNAME":"ip-10-82-151-49.localdomain","message":"Failed
to connect to 'grinderconsole1/10.82.151.32:6372'"}
{"timestamp":"2015-04-22T22:39:35.613+00:00","logger":"agent","thread":"main","level":"INFO","HOSTNAME":"ip-10-82-151-49.localdomain","message":"agent
finished"}
{"timestamp":"2015-04-22T22:39:35.613+00:00","logger":"agent","thread":"main","level":"INFO","HOSTNAME":"ip-10-82-151-49.localdomain","message":"sleeping
for 30000 ms"}
{"timestamp":"2015-04-22T22:40:05.616+00:00","logger":"agent","thread":"main","level":"INFO","HOSTNAME":"ip-10-82-151-49.localdomain","message":"The
Grinder 3.12-SNAPSHOT"}
{"timestamp":"2015-04-22T22:40:05.623+00:00","logger":"agent","thread":"main","level":"ERROR","HOSTNAME":"ip-10-82-151-49.localdomain","message":"Failed
to connect to 'grinderconsole1/10.82.151.32:6372'"}
{"timestamp":"2015-04-22T22:40:05.623+00:00","logger":"agent","thread":"main","level":"INFO","HOSTNAME":"ip-10-82-151-49.localdomain","message":"agent
finished"}
{"timestamp":"2015-04-22T22:40:05.623+00:00","logger":"agent","thread":"main","level":"INFO","HOSTNAME":"ip-10-82-151-49.localdomain","message":"sleeping
for 30000 ms"}
{"timestamp":"2015-04-22T22:40:35.624+00:00","logger":"agent","thread":"main","level":"INFO","HOSTNAME":"ip-10-82-151-49.localdomain","message":"The
Grinder 3.12-SNAPSHOT"}
{"timestamp":"2015-04-22T22:40:35.628+00:00","logger":"agent","thread":"main","level":"INFO","HOSTNAME":"ip-10-82-151-49.localdomain","message":"connected
to console at grinderconsole1/10.82.151.32:6372"}
{"timestamp":"2015-04-22T22:40:35.629+00:00","logger":"agent","thread":"main","level":"INFO","HOSTNAME":"ip-10-82-151-49.localdomain","message":"waiting
for console signal"}
{"timestamp":"2015-04-22T22:41:36.219+00:00","logger":"agent","thread":"Message
pump-1","level":"INFO","HOSTNAME":"ip-10-82-151-49.localdomain","message":"received
a reset message"}
{"timestamp":"2015-04-22T22:41:36.220+00:00","logger":"agent","thread":"main","level":"INFO","HOSTNAME":"ip-10-82-151-49.localdomain","message":"The
Grinder 3.12-SNAPSHOT"}
{"timestamp":"2015-04-22T22:41:36.221+00:00","logger":"agent","thread":"main","level":"INFO","HOSTNAME":"ip-10-82-151-49.localdomain","message":"waiting
for console signal"}
{"timestamp":"2015-04-22T22:41:41.317+00:00","logger":"agent","thread":"Message
pump-1","level":"INFO","HOSTNAME":"ip-10-82-151-49.localdomain","message":"received
a stop message"}
{"timestamp":"2015-04-22T22:41:41.318+00:00","logger":"agent","thread":"main","level":"INFO","HOSTNAME":"ip-10-82-151-49.localdomain","message":"console
connection shut down"}
{"timestamp":"2015-04-22T22:41:41.318+00:00","logger":"agent","thread":"main","level":"INFO","HOSTNAME":"ip-10-82-151-49.localdomain","message":"agent
finished"}
{"timestamp":"2015-04-22T22:41:41.318+00:00","logger":"agent","thread":"main","level":"INFO","HOSTNAME":"ip-10-82-151-49.localdomain","message":"sleeping
for 30000 ms"}
{"timestamp":"2015-04-22T22:42:11.319+00:00","logger":"agent","thread":"main","level":"INFO","HOSTNAME":"ip-10-82-151-49.localdomain","message":"The
Grinder 3.12-SNAPSHOT"}
{"timestamp":"2015-04-22T22:42:11.321+00:00","logger":"agent","thread":"main","level":"INFO","HOSTNAME":"ip-10-82-151-49.localdomain","message":"connected
to console at grinderconsole1/10.82.151.32:6372"}
{"timestamp":"2015-04-22T22:42:11.322+00:00","logger":"agent","thread":"main","level":"INFO","HOSTNAME":"ip-10-82-151-49.localdomain","message":"waiting
for console signal"}
{"timestamp":"2015-04-22T22:42:27.402+00:00","logger":"agent","thread":"Message
pump-1","level":"INFO","HOSTNAME":"ip-10-82-151-49.localdomain","message":"received
a start message"}
{"timestamp":"2015-04-22T22:42:27.405+00:00","logger":"agent","thread":"main","level":"ERROR","HOSTNAME":"ip-10-82-151-49.localdomain","message":"The
script file 'CreateApp.py' does not exist or is not readable."}
{"timestamp":"2015-04-22T22:42:27.405+00:00","logger":"agent","thread":"main","level":"INFO","HOSTNAME":"ip-10-82-151-49.localdomain","message":"finished,
waiting for console signal"}


On Wed, Apr 22, 2015 at 5:42 PM, Adil qureshi <[email protected]> wrote:

> Great now don't start the console and do everything same..., give it a try
> .,,,
> On 22 Apr 2015 22:38, "Darren Ball" <[email protected]> wrote:
>
>> Adil,
>>
>> The console is started and up.  I wait for the ports to be up and
>> listening prior to starting the agents.  The agents all connect (to the
>> console) and seem to wait for console signal.  I can see all agents connect
>> in the console log and via netstat (both sides).  Using tcpdump I can see
>> communication from the console to all agents (with ack's).   Commands like
>> file/distribute on the console suggest started but never 'work' as the
>> agents are never accepting any files etc...).
>>
>> -Darren
>>
>> On Wed, Apr 22, 2015 at 5:29 PM, Adil qureshi <[email protected]> wrote:
>>
>>> agents will not run on their own if they get connected to console ....if
>>> the console is not started agents will start running and won't wait for the
>>> console signal  ... u may just get  cant connect to console warning in
>>> agent log ....
>>>
>>> u can just stop the console and run the agents .....
>>>
>>> On Wed, Apr 22, 2015 at 10:19 PM, Darren Ball <[email protected]>
>>> wrote:
>>>
>>>> Hi Adil,
>>>> What do you mean by that?
>>>> -Darren
>>>>
>>>> On Wed, Apr 22, 2015 at 4:43 PM, Adil qureshi <[email protected]>
>>>> wrote:
>>>>
>>>>> one more suggestion can you NOT connect to console and run the agents
>>>>> directly .... i think it may work then ,,,
>>>>>
>>>>> On Wed, Apr 22, 2015 at 9:17 PM, Gary Mulder <[email protected]>
>>>>> wrote:
>>>>>
>>>>>>
>>>>>> On 22 April 2015 at 20:45, Darren Ball <[email protected]> wrote:
>>>>>>
>>>>>>> Here is an update on this;
>>>>>>>
>>>>>>> I have five agents actively connected
>>>>>>>
>>>>>>> On one of the agents - the log is just sitting waiting for console
>>>>>>> signal - no files have been distributed:
>>>>>>>
>>>>>>
>>>>>> As a temporary work-around, why not use Jenkins to distribute your
>>>>>> Grinder code?
>>>>>>
>>>>>> Gary
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
>>>>>> Develop your own process in accordance with the BPMN 2 standard
>>>>>> Learn Process modeling best practices with Bonita BPM through live
>>>>>> exercises
>>>>>> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
>>>>>> event?utm_
>>>>>> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
>>>>>> _______________________________________________
>>>>>> grinder-use mailing list
>>>>>> [email protected]
>>>>>> https://lists.sourceforge.net/lists/listinfo/grinder-use
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
>>>>> Develop your own process in accordance with the BPMN 2 standard
>>>>> Learn Process modeling best practices with Bonita BPM through live
>>>>> exercises
>>>>> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
>>>>> event?utm_
>>>>> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
>>>>> _______________________________________________
>>>>> grinder-use mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/grinder-use
>>>>>
>>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
>>>> Develop your own process in accordance with the BPMN 2 standard
>>>> Learn Process modeling best practices with Bonita BPM through live
>>>> exercises
>>>> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
>>>> event?utm_
>>>> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
>>>> _______________________________________________
>>>> grinder-use mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/grinder-use
>>>>
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
>>> Develop your own process in accordance with the BPMN 2 standard
>>> Learn Process modeling best practices with Bonita BPM through live
>>> exercises
>>> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
>>> event?utm_
>>> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
>>> _______________________________________________
>>> grinder-use mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/grinder-use
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
>> Develop your own process in accordance with the BPMN 2 standard
>> Learn Process modeling best practices with Bonita BPM through live
>> exercises
>> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
>> event?utm_
>> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
>> _______________________________________________
>> grinder-use mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/grinder-use
>>
>>
>
> ------------------------------------------------------------------------------
> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
> Develop your own process in accordance with the BPMN 2 standard
> Learn Process modeling best practices with Bonita BPM through live
> exercises
> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
> event?utm_
> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
> _______________________________________________
> grinder-use mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/grinder-use
>
>

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF

_______________________________________________
Grinder-development mailing list
Grinder-development-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/grinder-development