On 7 June 2012 17:49, novello <[email protected]> wrote:

> I have installede lava-tools-  in a server (192.168.1.5)
> i have a pnada boar connected to the server,
> i would like to do a test  a simple one that do nothing.
> but i have this mistake .
>
> best regards
> novello G
> lava-tool auth-add --token-file token http://novello@localhost:8080
> ERROR: opening 'token' failed: [Errno 2] No such file or directory: 'token'
>
You need to create a token on the server, copy the token text from the
server to 'token' file, and register it by lava-tool. Refer:
https://wiki.linaro.org/Platform/Validation/LAVA/SubmittingTests


> novello@qc:~/ae$ lava-tool auth-add --token-file  http://novello@localhost
> :**8080usage: lava-tool auth-add [-h] [--token-file TOKEN_FILE]
> [--no-check] HOST
> lava-tool auth-add: error: too few arguments
> novello@qc:~/ae$ lava-tool auth-add  http://novello@localhost:8080
> Paste token for http://novello@localhost:8080/**RPC2/:
> Traceback (most recent call last):
>  File "/usr/local/bin/lava-tool", line 9, in <module>
>    load_entry_point('lava-tool==**0.4', 'console_scripts', 'lava-tool')()
>  File "/usr/local/lib/python2.7/**dist-packages/lava_tool/**dispatcher.py",
> line 49, in main
>    LavaDispatcher.run()
>  File "/usr/local/lib/python2.7/**dist-packages/lava/tool/**dispatcher.py",
> line 147, in run
>    raise SystemExit(cls().dispatch(**args))
>  File "/usr/local/lib/python2.7/**dist-packages/lava/tool/**dispatcher.py",
> line 137, in dispatch
>    return command.invoke()
>  File "/usr/local/lib/python2.7/**dist-packages/lava_tool/**commands/auth.py",
> line 110, in invoke
>    token_user = sp.system.whoami()
>  File "/usr/lib/python2.7/xmlrpclib.**py", line 1224, in __call__
>    return self.__send(self.__name, args)
>  File "/usr/lib/python2.7/xmlrpclib.**py", line 1578, in __request
>    verbose=self.__verbose
>  File "/usr/lib/python2.7/xmlrpclib.**py", line 1264, in request
>    return self.single_request(host, handler, request_body, verbose)
>  File "/usr/lib/python2.7/xmlrpclib.**py", line 1292, in single_request
>    self.send_content(h, request_body)
>  File "/usr/lib/python2.7/xmlrpclib.**py", line 1439, in send_content
>    connection.endheaders(request_**body)
>  File "/usr/lib/python2.7/httplib.**py", line 954, in endheaders
>    self._send_output(message_**body)
>  File "/usr/lib/python2.7/httplib.**py", line 814, in _send_output
>    self.send(msg)
>  File "/usr/lib/python2.7/httplib.**py", line 776, in send
>    self.connect()
>  File "/usr/lib/python2.7/httplib.**py", line 757, in connect
>    self.timeout, self.source_address)
>  File "/usr/lib/python2.7/socket.py"**, line 571, in create_connection
>    raise err
> socket.error: [Errno 111] Connection refused
>
> ______________________________**_________________
> linaro-validation mailing list
> linaro-validation@lists.**linaro.org <[email protected]>
> http://lists.linaro.org/**mailman/listinfo/linaro-**validation<http://lists.linaro.org/mailman/listinfo/linaro-validation>
>



-- 
Best wishes,
Spring Zhang
_______________________________________________
linaro-validation mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/linaro-validation

Reply via email to