All of lore.kernel.org
 help / color / mirror / Atom feed
* Toaster failing
@ 2022-04-04 13:12 mail
  0 siblings, 0 replies; 15+ messages in thread
From: mail @ 2022-04-04 13:12 UTC (permalink / raw)
  To: toaster

[-- Attachment #1: Type: text/plain, Size: 7703 bytes --]

Toaster is currently failing bitbaking with Hardknott and Honister releases

What do I do?
On a updated Debian 10 which was using Yocto some months ago successfully, checking out hardknott...

cd ~
mkdir yocto
cd yocto
git clone -b hardknott git://git.yoctoproject.org/poky.git
cd ~/yocto/poky
pip3 install --user -r bitbake/toaster-requirements.txt
cd ~/yocto/poky
source oe-init-build-env
source toaster start

Go into toaster, create a new project from Yocto Project master (both Hardknott and Honister are not available as options in their respective Yocto branches, only local and Master and older releases...), trying to build a "core-image-minimal" with all default settings does keep toaster hanging at "Tasks starting".

yocto/poky/build/toaster_runbuilds.log

2022-04-04 13:06:51,931 INFO runbuilds: starting build Project object (3) in progress, environment BuildEnvironment object (1)
2022-04-04 13:06:51,933 DEBUG localhostbecontroller, our git repos are {('git://git.yoctoproject.org/poky', 'master'): [('bitbake', 'bitbake', 0),
('openembedded-core',
'meta',
0),
('meta-poky', 'meta-poky', 1),
('meta-yocto-bsp',
'meta-yocto-bsp',
2)]}
2022-04-04 13:06:51,933 DEBUG lbc_shellcmd: (/home/user/yocto/poky) git remote -v
2022-04-04 13:06:51,936 DEBUG localhostbecontroller: shellcmd success
2022-04-04 13:06:51,936 INFO Using pre-checked out source for layer {'git://git.yoctoproject.org/poky.git': '/home/user/yocto/poky'}
2022-04-04 13:06:51,939 DEBUG localhostbecontroller: giturl git://git.yoctoproject.org/poky:master checking out in current directory /home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master
2022-04-04 13:06:51,939 DEBUG lbc_shellcmd: (/home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master) git remote -v
2022-04-04 13:06:51,941 DEBUG localhostbecontroller: shellcmd success
2022-04-04 13:06:51,942 DEBUG localhostbecontroller: checking out commit master to /home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master
2022-04-04 13:06:51,942 DEBUG lbc_shellcmd: (/home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master) git fetch && git reset --hard "origin/master"
2022-04-04 13:06:52,965 DEBUG localhostbecontroller: shellcmd success
2022-04-04 13:06:52,965 DEBUG localhostbecontroller: selected poky dir name /home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master
2022-04-04 13:06:52,965 DEBUG localhostbecontroller: localdirpath expects '/home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake'
2022-04-04 13:06:52,965 DEBUG localhostbecontroller: localdirpath expects '/home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/meta'
2022-04-04 13:06:52,965 DEBUG localhostbecontroller: localdirpath expects '/home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/meta-poky'
2022-04-04 13:06:52,965 DEBUG localhostbecontroller: localdirpath expects '/home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/meta-yocto-bsp'
2022-04-04 13:06:52,966 DEBUG localhostbecontroller: current layer list ['000:/home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/meta',
'001:/home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/meta-poky',
'002:/home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/meta-yocto-bsp']
2022-04-04 13:06:52,968 DEBUG

set layers gives this list ['000:/home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/meta',
'001:/home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/meta-poky',
'002:/home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/meta-yocto-bsp']
2022-04-04 13:06:52,968 DEBUG lbc_shellcmd: (/home/user/yocto/poky) bash -c 'source /home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/oe-init-build-env /home/user/yocto/poky/build-toaster-3'
2022-04-04 13:06:53,004 DEBUG localhostbecontroller: shellcmd success
2022-04-04 13:06:53,005 DEBUG lbc_shellcmd: (/home/user/yocto/poky) unset BBPATH; bash -c "source /home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/oe-init-build-env /home/user/yocto/poky/build-toaster-3; BITBAKE_UI="knotty" /home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/bin/bitbake --read /home/user/yocto/poky/build-toaster-3/conf/toaster.conf --read /home/user/yocto/poky/build-toaster-3/conf/toaster-bblayers.conf --server-only -B 0.0.0.0:0"
2022-04-04 13:06:53,452 DEBUG localhostbecontroller: shellcmd success
2022-04-04 13:06:53,453 DEBUG localhostbecontroller: bitbake port 38709
2022-04-04 13:06:53,454 DEBUG lbc_shellcmd: (/home/user/yocto/poky/build-toaster-3) ['unset BBPATH; bash -c "(TOASTER_BRBE="3:1" BBSERVER="0.0.0.0:38709" /home/user/yocto/poky/bitbake/bin/bitbake core-image-minimal  -u toasterui  --read /home/user/yocto/poky/build-toaster-3/conf/toaster.conf --read /home/user/yocto/poky/build-toaster-3/conf/toaster-bblayers.conf --token="" >>/home/user/yocto/poky/build-toaster-3/toaster_ui.log 2>&1;BITBAKE_UI="knotty" BBSERVER=0.0.0.0:38709 /home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/bin/bitbake -m)&"']
2022-04-04 13:06:53,456 DEBUG localhostbecontroller: Build launched, exiting. Follow build logs at /home/user/yocto/poky/build-toaster-3/toaster_ui.log

yocto/poky/build-toaster-3/toaster_ui.log

Traceback (most recent call last):
File "/home/user/yocto/poky/bitbake/bin/bitbake", line 36, in <module>
cookerdata.CookerConfiguration()))
File "/home/user/yocto/poky/bitbake/lib/bb/main.py", line 386, in bitbake_main
configParams)
File "/home/user/yocto/poky/bitbake/lib/bb/ui/toasterui.py", line 135, in main
params.updateToServer(server, os.environ.copy())
File "/home/user/yocto/poky/bitbake/lib/bb/cookerdata.py", line 75, in updateToServer
raise Exception("Unable to update the server configuration with local parameters: %s" % error)
Exception: Unable to update the server configuration with local parameters: bb.BBHandledException()
Traceback (most recent call last):
File "/home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/command.py", line 90, in runCommand
result = command_method(self, commandline)
File "/home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/command.py", line 286, in updateConfig
command.cooker.updateConfigOpts(options, environment, cmdline)
File "/home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 536, in updateConfigOpts
self.reset()
File "/home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 1776, in reset
self.initConfigurationData()
File "/home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 389, in initConfigurationData
self.databuilder = bb.cookerdata.CookerDataBuilder(self.configuration, False)
File "/home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cookerdata.py", line 252, in __init__
bb.fatal("Exiting to allow enviroment variables to be corrected")
File "/home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/__init__.py", line 178, in fatal
raise BBHandledException()
bb.BBHandledException

This happens with both Honister and Hardknott, Gatesgarth and Dunfell are working fine.
How to resolve this issue?

Thanks a lot!

Nico

[-- Attachment #2: Type: text/html, Size: 10503 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread
[parent not found: <3ee004b6c31c97b9918bc03d2f702229cd74ab7a.camel@linuxfoundation.org>]
* Re: [Toaster] Toaster failing
@ 2022-04-05 20:23 Tim Orling
  2022-04-06  6:28 ` mail
  0 siblings, 1 reply; 15+ messages in thread
From: Tim Orling @ 2022-04-05 20:23 UTC (permalink / raw)
  To: Richard Purdie; +Cc: mail, toaster

[-- Attachment #1: Type: text/plain, Size: 1551 bytes --]

On Tue, Apr 5, 2022 at 12:40 PM Richard Purdie <
richard.purdie@linuxfoundation.org> wrote:

> On Tue, 2022-04-05 at 00:51 -0700, mail via lists.yoctoproject.org wrote:
> > I tried this with the master branch and it seems like its working.
>
> Great, thanks for testing.
>
> > Some questions:
> > 1.) When is Kirkstone planned for release?
>
> We're about to make a release candidate build and the final release would
> ship
> in around 1-3 weeks after that depending on how things go.
>
> > 2.) Are these bugfixes backported to Honister and Hardknott?
>
> They weren't but a few of us talked about this today and they are merged
> back to
> those branches now so things might hopefully work better there.
>
> With the patches RP backported and the patches I sent to fix the
orm/fixtures you should be able to build a "hardknott" project on the
"hardknott" branch ("master" will not work due to breaking variable
renaming changes which are too invasive to back port for a branch nearing
end-of-life). You should also be able to build a "hardknott" or "honister"
project on the "honister" branch (patches already merged).


> Cheers,
>
> Richard
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#5795):
> https://lists.yoctoproject.org/g/toaster/message/5795
> Mute This Topic: https://lists.yoctoproject.org/mt/90241149/924729
> Group Owner: toaster+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/toaster/unsub [
> ticotimo@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

[-- Attachment #2: Type: text/html, Size: 2691 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread
* RE: [Toaster] Toaster failing
@ 2022-05-01 21:18 Reyna, David
  2022-05-02 16:12 ` mail
  0 siblings, 1 reply; 15+ messages in thread
From: Reyna, David @ 2022-05-01 21:18 UTC (permalink / raw)
  To: mail, toaster

[-- Attachment #1: Type: text/plain, Size: 3080 bytes --]

> “(wondering about the 3.5, but its what it says :)),”

Yeah, when I committed the updated release table for Toaster,  Kirkstone was still listed as 3.5.

I will need to update that value for 4.1 going forward.

David

From: Reyna, David
Sent: Sunday, May 1, 2022 2:16 PM
To: mail@nico-maas.de; toaster@lists.yoctoproject.org
Subject: RE: [Toaster] Toaster failing

Hi Nico,

Toaster is waiting for the Layer Index to be populated for this very new release. Typically it takes a while for all the layers to catch up.

As you observed, you can use “master” in the meantime since the divergence is minimal at this time.

As per the event parsing error, I just sent a different email asking for the reproducer details.

Thanks,
David


From: toaster@lists.yoctoproject.org<mailto:toaster@lists.yoctoproject.org> <toaster@lists.yoctoproject.org<mailto:toaster@lists.yoctoproject.org>> On Behalf Of mail via lists.yoctoproject.org
Sent: Tuesday, April 26, 2022 11:07 PM
To: toaster@lists.yoctoproject.org<mailto:toaster@lists.yoctoproject.org>
Subject: Re: [Toaster] Toaster failing

Hey there,
I just saw Kirkstone 4.0 was released, congrats to that :)!
I cloned the kirkstone repo, fired up toaster and tried to create a project with "Yocto Project 3.5 Kirkstone" as release (wondering about the 3.5, but its what it says :)), however, there is the usual info that no machines are available in the project configuration (Toaster has no machine information for this project. Sadly, machine information cannot be obtained from builds, so this page will remain empty.). Only choosing the "Yocto Project master" allows to choose a machine / add BSPs. Trying to build an image results in the usual error. Any idea on how to fix that?

Thank you very much for your help!

Bitbake crash

Traceback (most recent call last):

  File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/command.py", line 90, in runCommand

    result = command_method(self, commandline)

  File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/command.py", line 286, in updateConfig

    command.cooker.updateConfigOpts(options, environment, cmdline)

  File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 536, in updateConfigOpts

    self.reset()

  File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 1775, in reset

    self.initConfigurationData()

  File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 390, in initConfigurationData

    self.databuilder.parseBaseConfiguration()

  File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cookerdata.py", line 305, in parseBaseConfiguration

    raise bb.BBHandledException()

bb.BBHandledException

[-- Attachment #2: Type: text/html, Size: 6823 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread
* RE: [Toaster] Toaster failing
  2022-05-02 16:12 ` mail
@ 2022-05-04 10:02 Reyna, David
  2022-05-04 10:28 ` mail
  -1 siblings, 1 reply; 15+ messages in thread
From: Reyna, David @ 2022-05-04 10:02 UTC (permalink / raw)
  To: mail, toaster

[-- Attachment #1: Type: text/plain, Size: 2781 bytes --]

Hi,

FYI, I have replicated the error and I am now tracing it.

David

From: toaster@lists.yoctoproject.org <toaster@lists.yoctoproject.org> On Behalf Of mail via lists.yoctoproject.org
Sent: Monday, May 2, 2022 9:12 AM
To: toaster@lists.yoctoproject.org
Subject: Re: [Toaster] Toaster failing

I am running the overall setup on a current Debian 10 installation.

Setup:

git clone -b kirkstone git://git.yoctoproject.org/poky.git
cd poky/
pip3 install --user -r bitbake/toaster-requirements.txt
source oe-init-build-env
source toaster start

Create new project in Toaster:
Project name: test
Project type: New project
Release: Yocto Project 3.5 "Kirkstone"
Merged Toaster settings is turned OFF.

Adding Machine: raspberrypi4-64
(also tried raspberrypi0-2w-64, getting the same error)

Layers are
openembedded-core
meta-poky
meta-yocto-bsp
meta-raspberrypi

Distro: poky

Build recipe: core-image-minimal
(also tried rpi-test-image, getting the same error)


Bitbake crash
Traceback (most recent call last):
  File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_kirkstone/bitbake/lib/bb/command.py", line 90, in runCommand
    result = command_method(self, commandline)
  File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_kirkstone/bitbake/lib/bb/command.py", line 286, in updateConfig
    command.cooker.updateConfigOpts(options, environment, cmdline)
  File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_kirkstone/bitbake/lib/bb/cooker.py", line 536, in updateConfigOpts
    self.reset()
  File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_kirkstone/bitbake/lib/bb/cooker.py", line 1776, in reset
    self.initConfigurationData()
  File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_kirkstone/bitbake/lib/bb/cooker.py", line 390, in initConfigurationData
    self.databuilder.parseBaseConfiguration()
  File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_kirkstone/bitbake/lib/bb/cookerdata.py", line 305, in parseBaseConfiguration
    raise bb.BBHandledException()
bb.BBHandledException


I tried to build a toaster image / core-image-minimal with just default settings (qemux86 as machine) - but this did also fail with the same error.


When I create a new project and choose as Release the "Yocto Project Master", it will also fail, but at least for Raspberry Pi builds the meta-oe Layer will be added. Adding the meta-oe layer myself to the "Kirkstone" release projects does also not change anything, it will all fail with the same error shown above.

Thanks a lot for your help :)

Nico


[-- Attachment #2: Type: text/html, Size: 7826 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread
* RE: [Toaster] Toaster failing
  2022-05-11 12:21   ` mail
@ 2022-05-11 16:59 Reyna, David
  2022-05-12  7:57 ` mail
  -1 siblings, 1 reply; 15+ messages in thread
From: Reyna, David @ 2022-05-11 16:59 UTC (permalink / raw)
  To: mail, toaster

[-- Attachment #1: Type: text/plain, Size: 458 bytes --]

Hi Nico,

Sorry, I am head deep preparing for next week’s YP Summit as I am one of the organizers and presenters. I will have results as soon as that is over.

David

From: toaster@lists.yoctoproject.org <toaster@lists.yoctoproject.org> On Behalf Of mail via lists.yoctoproject.org
Sent: Wednesday, May 11, 2022 5:22 AM
To: toaster@lists.yoctoproject.org
Subject: Re: [Toaster] Toaster failing

Hey David,
anything new?

Thanks a lot,
Nico

[-- Attachment #2: Type: text/html, Size: 2371 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread
* RE: [Toaster] Toaster failing
  2022-06-02 10:49   ` mail
@ 2022-06-10  7:05 Reyna, David
  2022-06-10  7:09 ` mail
  -1 siblings, 1 reply; 15+ messages in thread
From: Reyna, David @ 2022-06-10  7:05 UTC (permalink / raw)
  To: mail, toaster

[-- Attachment #1: Type: text/plain, Size: 1829 bytes --]

Hi Nico,

I have created this bug to track the issue, and assigned it to M2.

   Bug 14833<https://bugzilla.yoctoproject.org/show_bug.cgi?id=14833> - 'parseBaseConfiguration' exception for Toaster build

David

From: toaster@lists.yoctoproject.org <toaster@lists.yoctoproject.org> On Behalf Of mail via lists.yoctoproject.org
Sent: Thursday, June 2, 2022 3:50 AM
To: toaster@lists.yoctoproject.org
Subject: Re: [Toaster] Toaster failing

Hi there,
just tried the latest Kirkstone release and sadly it is still failing with the usual error:

Bitbake crash

Traceback (most recent call last):

  File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/command.py", line 90, in runCommand

    result = command_method(self, commandline)

  File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/command.py", line 286, in updateConfig

    command.cooker.updateConfigOpts(options, environment, cmdline)

  File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 536, in updateConfigOpts

    self.reset()

  File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 1775, in reset

    self.initConfigurationData()

  File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 390, in initConfigurationData

    self.databuilder.parseBaseConfiguration()

  File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cookerdata.py", line 305, in parseBaseConfiguration

    raise bb.BBHandledException()

bb.BBHandledException

[-- Attachment #2: Type: text/html, Size: 4854 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2022-11-09  6:03 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-04 13:12 Toaster failing mail
     [not found] <3ee004b6c31c97b9918bc03d2f702229cd74ab7a.camel@linuxfoundation.org>
2022-04-05  7:51 ` mail
2022-04-05 20:23 [Toaster] " Tim Orling
2022-04-06  6:28 ` mail
2022-04-07 11:03   ` mail
2022-04-27  6:07     ` mail
2022-04-27  6:55       ` mail
2022-04-29 12:20         ` mail
2022-05-01 21:18 [Toaster] " Reyna, David
2022-05-02 16:12 ` mail
2022-05-04 10:02 [Toaster] " Reyna, David
2022-05-04 10:28 ` mail
2022-05-11 12:21   ` mail
2022-05-11 16:59 [Toaster] " Reyna, David
2022-05-12  7:57 ` mail
2022-06-02 10:49   ` mail
2022-06-10  7:05 [Toaster] " Reyna, David
2022-06-10  7:09 ` mail
2022-08-01 10:17   ` mail
2022-11-09  6:03     ` mail

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.