[Toaster] python3 issues
Smith, Elliot
elliot.smith at intel.com
Fri Jun 3 09:45:30 PDT 2016
Quick update on progress.
I have fixed the 'k' issue, got the tests running again, and fixed the
table filters. My work is here:
elliot/toaster/python3
NB this is a branch from master, rather than toaster-next, though I think
my work shouldn't clash with toaster-next too much (fingers crossed).
However, I am seeing build failures which look like this:
NOTE: Preparing RunQueue
NOTE: Logging error 2: {'pathname':
'/home/ell/dev/toaster/poky/_toaster_clones/_git_git.yoctoproject.org_poky_master/bitbake/lib/bb/runqueue.py',
'lineno': 1202, 'message': 'An uncaught exception occured in runqueue,
please see the failure below:', 'build': <Build: 1 Project object
core-image-minimal>, 'level': 2}
ERROR: An uncaught exception occured in runqueue, please see the failure
below:
I haven't been able to track this down, but I'm not sure it's related to
Python 3 changes. It could be, but my guess is it's something screwed up in
my environment.
(I also had an earlier build failure because the python pygobject recipe
was referred to incorrectly somewhere (python rather than python3), so the
recipe couldn't be found; I put this down to something in my sstate-cache
and tried another build, which resulted in the above.)
I'll continue investigating the image file download next week, once I get
an image build which works correctly.
I couldn't reproduce the issue where the in progress builds show in the
project builds table, though.
Elliot
On 3 June 2016 at 15:15, Smith, Elliot <elliot.smith at intel.com> wrote:
> I've been testing this branch; notes below.
>
> On 2 June 2016 at 17:31, Barros Pena, Belen <belen.barros.pena at intel.com>
> wrote:
>
>> I was asked to look at the branch that makes sure Toaster works with
>> python 3
>>
>>
>> http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=ed/oe/python3
>>
>> I've found a few issues. I am not a 100% sure if they are this branch only
>> or if they also happen in master (python3 changes apparently have been
>> merged), but I thought I'd share early. Here comes the list:
>>
>
> I'm working on master, which includes these changes (Ed's branch has
> diverged from master slightly, but the important commits match between
> them).
>
>
>>
>> * We need to remove old releases from toasterconf.json, since the change
>> to Python 3 means we can no longer support those. Ed is already on the
>> case, I believe
>>
>
> I've supplied patches for this to the appropriate mailing lists. I also
> did patches for the krogoth and jethro branches to remove master from the
> releases.
>
>
>> * Image artifact downloads don't seem to be working (all other artifacts
>> are fine)
>>
>
> I haven't had a chance to test this yet, but will.
>
>
>> * Filters in the tasks page (build information) don't seem to be working.
>> All of them return an error
>>
>
> I also see this error ("Exception Value: name 'k' is not defined"). I'll
> have a look this afternoon.
>
> * The variables table returns an error
>>
>
> Note that this is the same 'k' error as for the tasks page.
>
> * In the custom image details page, the add | remove filter is not
>> working: the filtering does not happen
>>
>
> This is the same 'k' error again.
>
>
>> * The all projects table is showing builds in progress information (builds
>> in progress information should not appear in any tables)
>>
>
> I haven't seen this (yet). I'll keep testing and see if it crops up.
>
>
>> * My builds for custom images don't seem to be working. I start them, but
>> I never see any progress in the UI. The toaster_ui.log doesn't show them
>> at all, so I am kind of confused.
>>
>
> I haven't tried this yet, but will.
>
> Note that the tests need a small fix, as the version of Selenium I got
> when I used Python3 pip was different. We don't have this in
> toaster-requirements.txt, as it's only required for running the tests, but
> we should perhaps change the instructions to fix Selenium to a known
> version, too.
>
> Elliot
> --
> Elliot Smith
> Software Engineer
> Intel Open Source Technology Centre
>
--
Elliot Smith
Software Engineer
Intel Open Source Technology Centre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20160603/89a1fea8/attachment.html>
More information about the toaster
mailing list