[LDTP-Dev] connection refused when ran ldtp/mago in cron
dave.lin at oracle.com
dave.lin at oracle.com
Tue Jul 26 23:27:25 PDT 2011
The log file is attached. I ran the cmd like this:
export PYTHONDEBUG=x
export PYTHONVERBOSE=x
PYTHONPATH=. python -m trace --trace --trackcalls ./bin/mago -a solaris-menu
Dave
On 07/27/11 12:06 PM, dave.lin at oracle.com wrote:
>
>
> Hi
>
> I got the following issue when I ran the ldtp/mago test cases in cron.
>
> Here is my environment:
> OS: Solaris 11
> LDTP ver: grab the latest code by the cmd "git clone
> http://anongit.freedesktop.org/git/ldtp/ldtp2.git"
> The machine is connected to the KVM, so it shares
> monitor/keyboard/mouse with others.
>
> I set a cron job to start the test cases.
>
> --------------------------------------------------
> === start(Tue Jul 26 20:00:21 CST 2011) ===
> pid: 1540
> args: /tmp/wox-a11y.pipe.1369 a11y a11y/sparc-jul262000/debug.log
> commands will be executed using /bin/bash
> job 1311692422.a at Tue Jul 26 23:00:22 2011
>
> ** (-c:1593): WARNING **: Trying to register gtype 'WnckWindowState'
> as enum when in fact it is of type 'GFlags'
>
> ** (-c:1593): WARNING **: Trying to register gtype 'WnckWindowActions'
> as enum when in fact it is of type 'GFlags'
>
> ** (-c:1593): WARNING **: Trying to register gtype
> 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags'
> Traceback (most recent call last):
> File "./bin/mago", line 12, in<module>
> from mago.cmd.main import main
> File "/opt/wox/testcase/mago/mago/cmd/main.py", line 10, in<module>
> import ldtp
> File "/usr/lib/python2.6/site-packages/ldtp/__init__.py", line 491,
> in<module>
> _populateNamespace(globals())
> File "/usr/lib/python2.6/site-packages/ldtp/__init__.py", line 225,
> in _populateNamespace
> for method in client._client.system.listMethods():
> File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
> return self.__send(self.__name, args)
> File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
> verbose=self.__verbose
> File "/usr/lib/python2.6/site-packages/ldtp/client.py", line 77, in
> request
> self, host, handler, request_body, verbose=0)
> File "/usr/lib/python2.6/xmlrpclib.py", line 1235, in request
> self.send_content(h, request_body)
> File "/usr/lib/python2.6/xmlrpclib.py", line 1349, in send_content
> connection.endheaders()
> File "/usr/lib/python2.6/httplib.py", line 892, in endheaders
> self._send_output()
> File "/usr/lib/python2.6/httplib.py", line 764, in _send_output
> self.send(msg)
> File "/usr/lib/python2.6/httplib.py", line 723, in send
> self.connect()
> File "/usr/lib/python2.6/httplib.py", line 704, in connect
> self.timeout)
> File "/usr/lib/python2.6/socket.py", line 514, in create_connection
> raise error, msg
> socket.error: [Errno 146] Connection refused
> --------------------------------------------------
>
> Thanks
> Dave
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: debug.log
URL: <http://lists.freedesktop.org/archives/ldtp-dev/attachments/20110727/37c924cd/attachment-0001.ksh>
More information about the LDTP-dev
mailing list