Hide Forgot
Description of problem: When I was verifying bz640312, I noticed that publishing Agent to the broker is not proper. When the agent is running and the schema is displayed using qpid-tool, sometimes the agent (org.apache.qpid.agent.nozzle in this case) is not listed. I also noticed a case that the agent is listed using qpid-tool, but the agent disappears after invoking some console action. Issue reproducer from bz640312 can be used for reproducing the issue. This issue can't be reproduced 100%. In many cases the interaction between agent, broker and console seems to be correct. This was seen on RHEL5.6 x86_64, i686 and RHEL4.8 x86_64 Version-Release number of selected component (if applicable): python-qpid-0.7.946106-15.el5 qpid-cpp-client-0.7.946106-27.el5 qpid-cpp-client-devel-0.7.946106-27.el5 qpid-cpp-client-devel-docs-0.7.946106-27.el5 qpid-cpp-client-ssl-0.7.946106-27.el5 qpid-cpp-server-0.7.946106-27.el5 qpid-cpp-server-cluster-0.7.946106-27.el5 qpid-cpp-server-devel-0.7.946106-27.el5 qpid-cpp-server-ssl-0.7.946106-27.el5 qpid-cpp-server-store-0.7.946106-27.el5 qpid-cpp-server-xml-0.7.946106-27.el5 qpid-java-client-0.7.946106-14.el5 qpid-java-common-0.7.946106-14.el5 qpid-java-example-0.7.946106-14.el5 qpid-tools-0.7.946106-12.el5 python-qmf-0.7.946106-14.el5 qmf-0.7.946106-27.el5 qmf-devel-0.7.946106-27.el5 ruby-qmf-0.7.946106-27.el How reproducible: 50% Steps to Reproduce: 1. Run the nozzle agent using following command: # ./run_nozzle -b localhost:5672 -n 1 -t 10 -q 2. run the console ie: # ./big-echo.py localhost 20 3. IndexError is displayed see Additional info Actual results: Publishing Agent to the broker is not reliable Expected results: Agent is correctly published to the broker Additional info: # date; ./run_nozzle -b localhost:5672 -n 1 -t 10 -q Tue Jan 25 16:55:00 CET 2011 b=localhost p=5672 n=1 s=1 e=0 t=10 # date; ./big-echo.py localhost 20 Tue Jan 25 16:55:28 CET 2011 Traceback (most recent call last): File "./big-echo.py", line 13, in ? d = a.getObjects(_class="data")[0] IndexError: list index out of range # qpid-tool Management Tool for QPID qpid: schema QMF Classes: Package Name Kind ====================================================== com.redhat.rhm.store journal object com.redhat.rhm.store store object org.apache.qpid.broker vhost object org.apache.qpid.broker bridge object org.apache.qpid.broker binding object org.apache.qpid.broker connection object org.apache.qpid.broker subscription object org.apache.qpid.broker broker object org.apache.qpid.broker system object org.apache.qpid.broker queue object org.apache.qpid.broker link object org.apache.qpid.broker exchange object org.apache.qpid.broker session object org.apache.qpid.broker managementsetupstate object org.apache.qpid.broker agent object com.redhat.grid.config Group object com.redhat.grid.config Snapshot object com.redhat.grid.config Configuration object com.redhat.grid.config Store object com.redhat.grid.config Subsystem object com.redhat.grid.config Node object com.redhat.grid.config Feature object com.redhat.grid.config Parameter object (org.apache.qpid.agent.nozzle is not present in the list)