2009/5/17 Martin Ritchie <[email protected]>: > Hi, > > I'm just fixing the verify.in files but I'm getting the following > error, this doesn't look related to the changes I made to the > verify.in file. I haven't yet had a chance to checkout 0.5-release > from before I broke the make check but to me this appears to be a > different issue. Can someone more familiar with the xml-exchange test > take a look please. I don't think we should be releasing a package > that fails to 'make check'. > > Regards > > Martin > In case it is relevant this was built on Fedora 10. > > > == > /home/ritchiem/dev/Apache/svn/tlp/0.5-release/qpid/cpp/../python/examples/xml-exchange/verify > Traceback (most recent call last): > File "./declare_queues.py", line 70, in <module> > session.exchange_declare(exchange="xml", type="xml") > File > "/home/ritchiem/dev/Apache/svn/tlp/0.5-release/qpid/python/qpid/generator.py", > line 25, in <lambda> > method = lambda self, *args, **kwargs: self.invoke(inst, args, kwargs) > File > "/home/ritchiem/dev/Apache/svn/tlp/0.5-release/qpid/python/qpid/session.py", > line 143, in invoke > return self.do_invoke(type, args, kwargs) > File > "/home/ritchiem/dev/Apache/svn/tlp/0.5-release/qpid/python/qpid/session.py", > line 202, in do_invoke > self.sync(self.timeout) > File > "/home/ritchiem/dev/Apache/svn/tlp/0.5-release/qpid/python/qpid/session.py", > line 105, in sync > raise SessionException(self.error()) > qpid.session.SessionException: exception(error_code=503, > command_id=serial(0), class_code=7, command_code=1, field_index=0, > description=u'command-invalid: Exchange type not implemented: xml > (qpid/broker/SessionAdapter.cpp:108)', error_info={}) > Traceback (most recent call last): > File "./xml_producer.py", line 85, in <module> > session.message_transfer(destination="xml", message=Message(props, > report(i))) > File > "/home/ritchiem/dev/Apache/svn/tlp/0.5-release/qpid/python/qpid/generator.py", > line 25, in <lambda> > method = lambda self, *args, **kwargs: self.invoke(inst, args, kwargs) > File > "/home/ritchiem/dev/Apache/svn/tlp/0.5-release/qpid/python/qpid/session.py", > line 143, in invoke > return self.do_invoke(type, args, kwargs) > File > "/home/ritchiem/dev/Apache/svn/tlp/0.5-release/qpid/python/qpid/session.py", > line 202, in do_invoke > self.sync(self.timeout) > File > "/home/ritchiem/dev/Apache/svn/tlp/0.5-release/qpid/python/qpid/session.py", > line 105, in sync > raise SessionException(self.error()) > qpid.session.SessionException: exception(error_code=404, > command_id=serial(0), class_code=0, command_code=0, field_index=0, > description=u'not-found: Exchange not found: xml > (qpid/broker/ExchangeRegistry.cpp:87)', error_info={}) > Traceback (most recent call last): > File "./xml_consumer.py", line 74, in <module> > session.message_subscribe(queue="message_queue", > destination=local_queue_name) > File > "/home/ritchiem/dev/Apache/svn/tlp/0.5-release/qpid/python/qpid/generator.py", > line 25, in <lambda> > method = lambda self, *args, **kwargs: self.invoke(inst, args, kwargs) > File > "/home/ritchiem/dev/Apache/svn/tlp/0.5-release/qpid/python/qpid/session.py", > line 143, in invoke > return self.do_invoke(type, args, kwargs) > File > "/home/ritchiem/dev/Apache/svn/tlp/0.5-release/qpid/python/qpid/session.py", > line 202, in do_invoke > self.sync(self.timeout) > File > "/home/ritchiem/dev/Apache/svn/tlp/0.5-release/qpid/python/qpid/session.py", > line 105, in sync > raise SessionException(self.error()) > qpid.session.SessionException: exception(error_code=404, > command_id=serial(0), class_code=4, command_code=7, field_index=0, > description=u'not-found: Queue not found: message_queue > (qpid/broker/SessionAdapter.cpp:742)', error_info={}) > *** verify.out 2009-05-17 13:43:13.000000000 +0100 > --- - 2009-05-17 13:43:13.295860829 +0100 > *************** > *** 1,4 **** > --- 1,15 ---- > ==== declare_queues.py.out > ==== xml_producer.py.out > <weather><station>Raleigh-Durham International Airport > (KRDU)</station><wind_speed_mph>0</wind_speed_mph><temperature_f>30</temperature_f><dewpoint>35</dewpoint></weather> > + <weather><station>New Bern, Craven County Regional Airport > (KEWN)</station><wind_speed_mph>2</wind_speed_mph><temperature_f>40</temperature_f><dewpoint>40</dewpoint></weather> > + <weather><station>Boone, Watauga County Hospital Heliport > (KTNB)</station><wind_speed_mph>5</wind_speed_mph><temperature_f>50</temperature_f><dewpoint>45</dewpoint></weather> > + <weather><station>Hatteras, Mitchell Field > (KHSE)</station><wind_speed_mph>10</wind_speed_mph><temperature_f>60</temperature_f><dewpoint>50</dewpoint></weather> > + <weather><station>Raleigh-Durham International Airport > (KRDU)</station><wind_speed_mph>16</wind_speed_mph><temperature_f>70</temperature_f><dewpoint>35</dewpoint></weather> > + <weather><station>New Bern, Craven County Regional Airport > (KEWN)</station><wind_speed_mph>22</wind_speed_mph><temperature_f>80</temperature_f><dewpoint>40</dewpoint></weather> > + <weather><station>Boone, Watauga County Hospital Heliport > (KTNB)</station><wind_speed_mph>28</wind_speed_mph><temperature_f>90</temperature_f><dewpoint>45</dewpoint></weather> > + <weather><station>Hatteras, Mitchell Field > (KHSE)</station><wind_speed_mph>35</wind_speed_mph><temperature_f>100</temperature_f><dewpoint>50</dewpoint></weather> > + <weather><station>Raleigh-Durham International Airport > (KRDU)</station><wind_speed_mph>42</wind_speed_mph><temperature_f>30</temperature_f><dewpoint>35</dewpoint></weather> > + <weather><station>New Bern, Craven County Regional Airport > (KEWN)</station><wind_speed_mph>51</wind_speed_mph><temperature_f>40</temperature_f><dewpoint>40</dewpoint></weather> > ==== xml_consumer.py.out > + <weather><station>Raleigh-Durham International Airport > (KRDU)</station><wind_speed_mph>16</wind_speed_mph><temperature_f>70</temperature_f><dewpoint>35</dewpoint></weather> > + No more messages! > FAIL > > > -- > Martin Ritchie
Ah I see what I did the xml-exchange is not run as part of make check. I copied the command that make check ran: ./verify_all /home/ritchiem/dev/Apache/svn/tlp/0.5-release/qpid/cpp/.. ../src/qpidd "--no-module-dir --data-dir \"\" --auth no" "xml" to run manually to verify my changes but when I pasted it using OS X Terminal I et /verify_all /home/ritchiem/dev/Apache/svn/tlp/0.5-release/qpid/cpp/.. ../src/qpidd "--no-module-dir --data-dir \"\" --auth no" xml-exchange/ which causes the xml-exchange example to be tested where I guess it shouldn't be. make check now passes fine for me. -- Martin Ritchie --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
