[Toaster] [review request][PATCH]new backend automated tests
Smith, Elliot
elliot.smith at intel.com
Thu Sep 3 08:09:37 PDT 2015
On 1 September 2015 at 15:20, Mihail, StanciuX <stanciux.mihail at intel.com>
wrote:
> All tests found here:
>
>
>
> http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=mstanciu/toaster-new-backend
>
>
>
> All feedback is welcome.
>
Thanks for these, Mihail.
Is there any way to do this without having to set up an email system, e.g.
just run the tests on the command line? I have tried just running this with:
python runner.py <branch>
(which seems like the right thing) but I get this error:
############
Traceback (most recent call last):
File "runner.py", line 35, in <module>
from shellutils import ShellCmdException, mkdirhier, run_shell_cmd
File
"/home/ell/dev/toaster/poky-contrib/bitbake/lib/toaster/contrib/tts/shellutils.py",
line 24, in <module>
import config
File
"/home/ell/dev/toaster/poky-contrib/bitbake/lib/toaster/contrib/tts/config.py",
line 54, in <module>
TOASTER_BASEURL = "http://%s:%d/" % (get_public_ip(), TOASTER_PORT)
File
"/home/ell/dev/toaster/poky-contrib/bitbake/lib/toaster/contrib/tts/config.py",
line 48, in get_public_ip
temp_socket.connect((parsed_url.netloc, 80 if parsed_url.port is None
else parsed_url.port))
File "/usr/lib64/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
socket.gaierror: [Errno -2] Name or service not known
############
I think this is because the script is trying to resolve "
http://icarus.local/w3c-validator/check?doctype=HTML5&uri=", which isn't a
public URL.
Do I need to set something else up (not mentioned in the README)? Or is
there an alternative public URL I can use?
NB I did modify settings.json and config.py. It would be nice if all the
settings in config.py which a user is likely to want to change were in
settings.json instead. Alternatively, if there was something in config.py
which explains the variables you might need to modify.
Thanks.
Elliot
>
> --
> _______________________________________________
> toaster mailing list
> toaster at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/toaster
>
>
--
Elliot Smith
Software Engineer
Intel Open Source Technology Centre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20150903/5850ecb0/attachment.html>
More information about the toaster
mailing list