Skip to contentSkip to conversation

meta-virt fails check-layer-nightly

DISCUSSION Bruce Ashfield 2 participants 4 messages Nov 20, 2023 – Nov 21, 2023 3 messages not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

What branch ? We resolved that issue quite some time ago for master and for the older branches.

If something happened to Joshua's change in master, I'm not aware of it, and will wait for a patch to meta-virt to fix it up.

Bruce

Quoted 34 lines · Alexandre Belloni

Hi Bruce,

check-layer-nightly is failing for meta-virt:

Loaded 0 entries from dependency cache.
Parsing recipes...ERROR: ExpansionError during parsing /home/pokybuild/yocto-worker/check-layer-nightly/build/meta-virtualization/recipes-extended/images/container-base.bb Traceback (most recent call last):
File "/home/pokybuild/yocto-worker/check-layer-nightly/build/bitbake/lib/bb/data_smart.py", line 481, in DataSmart.expandWithRefs(s="${@oe.go.map_arch(d.getVar('TARGET_ARCH'))}", varname='OCI_IMAGE_ARCH'):
tb = sys.exc_info()[2]
> raise ExpansionError(varname, s, exc).with_traceback(tb) from exc

File "/home/pokybuild/yocto-worker/check-layer-nightly/build/bitbake/lib/bb/data_smart.py", line 465, in DataSmart.expandWithRefs(s="${@oe.go.map_arch(d.getVar('TARGET_ARCH'))}", varname='OCI_IMAGE_ARCH'):
try:
> s = __expand_python_regexp__.sub(varparse.python_sub, s)
except SyntaxError as e:
File "/home/pokybuild/yocto-worker/check-layer-nightly/build/bitbake/lib/bb/data_smart.py", line 153, in VariableParse.python_sub(match=<re.Match object; span=(0, 43), match="${@oe.go.map_arch(d.getVar('TARGET_ARCH'))}">):
self.contains[k].update(parser.contains[k])
> value = utils.better_eval(codeobj, DataContext(self.d), {'d' : self.d})
return str(value)
File "/home/pokybuild/yocto-worker/check-layer-nightly/build/bitbake/lib/bb/utils.py", line 434, in better_eval(source=<code object <module> at 0x7f1275c759a0, file "Var <OCI_IMAGE_ARCH>", line 1>, locals={'d': <bb.data_smart.DataSmart object at 0x7f127678f790>}, extraglobals={'d': <bb.data_smart.DataSmart object at 0x7f127678f790>}):
ctx[g] = extraglobals[g]
> return eval(source, ctx, locals)

File "Var <OCI_IMAGE_ARCH>", line 1, in <module>
bb.data_smart.ExpansionError: Failure expanding variable OCI_IMAGE_ARCH, expression was ${@oe.go.map_arch(d.getVar('TARGET_ARCH'))} which triggered exception AttributeError: module 'oe' has no attribute 'go' The variable dependency chain for the failure is: OCI_IMAGE_ARCH -> IMAGE_CMD:oci

https://autobuilder.yoctoproject.org/typhoon/#/builders/121/builds/1719/steps/23/logs/stdio

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
#3 lore raw
In reply to a message not in the archive
Quoted 3 lines · Alexandre Belloni

This is nanbield which uses meta-virt master

That solves the mystery. There is a nanbield branch in meta-virt that has a workaround
for that routine not existing in oe-core nanbield.

The branch configuration for the AB is not something I normally tweak, if I can figure
out what file to change, i can send a patch.

Bruce

Quoted 57 lines · Bruce Ashfield
Quoted 47 lines

What branch ? We resolved that issue quite some time ago for master and for the older branches.

If something happened to Joshua's change in master, I'm not aware of it, and will wait for a patch to meta-virt to fix it up.

Bruce

Quoted 28 lines · Alexandre Belloni

Hi Bruce,

check-layer-nightly is failing for meta-virt:

Loaded 0 entries from dependency cache.
Parsing recipes...ERROR: ExpansionError during parsing /home/pokybuild/yocto-worker/check-layer-nightly/build/meta-virtualization/recipes-extended/images/container-base.bb Traceback (most recent call last):
File "/home/pokybuild/yocto-worker/check-layer-nightly/build/bitbake/lib/bb/data_smart.py", line 481, in DataSmart.expandWithRefs(s="${@oe.go.map_arch(d.getVar('TARGET_ARCH'))}", varname='OCI_IMAGE_ARCH'):
tb = sys.exc_info()[2]
> raise ExpansionError(varname, s, exc).with_traceback(tb) from exc

File "/home/pokybuild/yocto-worker/check-layer-nightly/build/bitbake/lib/bb/data_smart.py", line 465, in DataSmart.expandWithRefs(s="${@oe.go.map_arch(d.getVar('TARGET_ARCH'))}", varname='OCI_IMAGE_ARCH'):
try:
> s = __expand_python_regexp__.sub(varparse.python_sub, s)
except SyntaxError as e:
File "/home/pokybuild/yocto-worker/check-layer-nightly/build/bitbake/lib/bb/data_smart.py", line 153, in VariableParse.python_sub(match=<re.Match object; span=(0, 43), match="${@oe.go.map_arch(d.getVar('TARGET_ARCH'))}">):
self.contains[k].update(parser.contains[k])
> value = utils.better_eval(codeobj, DataContext(self.d), {'d' : self.d})
return str(value)
File "/home/pokybuild/yocto-worker/check-layer-nightly/build/bitbake/lib/bb/utils.py", line 434, in better_eval(source=<code object <module> at 0x7f1275c759a0, file "Var <OCI_IMAGE_ARCH>", line 1>, locals={'d': <bb.data_smart.DataSmart object at 0x7f127678f790>}, extraglobals={'d': <bb.data_smart.DataSmart object at 0x7f127678f790>}):
ctx[g] = extraglobals[g]
> return eval(source, ctx, locals)

File "Var <OCI_IMAGE_ARCH>", line 1, in <module>
bb.data_smart.ExpansionError: Failure expanding variable OCI_IMAGE_ARCH, expression was ${@oe.go.map_arch(d.getVar('TARGET_ARCH'))} which triggered exception AttributeError: module 'oe' has no attribute 'go' The variable dependency chain for the failure is: OCI_IMAGE_ARCH -> IMAGE_CMD:oci

Quoted 6 lines

https://autobuilder.yoctoproject.org/typhoon/#/builders/121/builds/1719/steps/23/logs/stdio

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

Quoted 4 lines

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
#5 lore raw
In reply to a message not in the archive
Quoted 10 lines · Bruce Ashfield via lists.yoctoproject.org
Quoted 3 lines · Alexandre Belloni

This is nanbield which uses meta-virt master

That solves the mystery. There is a nanbield branch in meta-virt that has a workaround
for that routine not existing in oe-core nanbield.

And yes, I realize that meta-virt master still has nanbield in its LAYERSERIES_COMPAT variable, but core hasn't added a new compat name that I've seen, so I have no way that I know of to declare the incompatibility.

Bruce

Quoted 80 lines

The branch configuration for the AB is not something I normally tweak, if I can figure
out what file to change, i can send a patch.

Bruce

Quoted 53 lines · Bruce Ashfield
Quoted 47 lines

What branch ? We resolved that issue quite some time ago for master and for the older branches.

If something happened to Joshua's change in master, I'm not aware of it, and will wait for a patch to meta-virt to fix it up.

Bruce

Quoted 28 lines · Alexandre Belloni

Hi Bruce,

check-layer-nightly is failing for meta-virt:

Loaded 0 entries from dependency cache.
Parsing recipes...ERROR: ExpansionError during parsing /home/pokybuild/yocto-worker/check-layer-nightly/build/meta-virtualization/recipes-extended/images/container-base.bb Traceback (most recent call last):
File "/home/pokybuild/yocto-worker/check-layer-nightly/build/bitbake/lib/bb/data_smart.py", line 481, in DataSmart.expandWithRefs(s="${@oe.go.map_arch(d.getVar('TARGET_ARCH'))}", varname='OCI_IMAGE_ARCH'):
tb = sys.exc_info()[2]
> raise ExpansionError(varname, s, exc).with_traceback(tb) from exc

File "/home/pokybuild/yocto-worker/check-layer-nightly/build/bitbake/lib/bb/data_smart.py", line 465, in DataSmart.expandWithRefs(s="${@oe.go.map_arch(d.getVar('TARGET_ARCH'))}", varname='OCI_IMAGE_ARCH'):
try:
> s = __expand_python_regexp__.sub(varparse.python_sub, s)
except SyntaxError as e:
File "/home/pokybuild/yocto-worker/check-layer-nightly/build/bitbake/lib/bb/data_smart.py", line 153, in VariableParse.python_sub(match=<re.Match object; span=(0, 43), match="${@oe.go.map_arch(d.getVar('TARGET_ARCH'))}">):
self.contains[k].update(parser.contains[k])
> value = utils.better_eval(codeobj, DataContext(self.d), {'d' : self.d})
return str(value)
File "/home/pokybuild/yocto-worker/check-layer-nightly/build/bitbake/lib/bb/utils.py", line 434, in better_eval(source=<code object <module> at 0x7f1275c759a0, file "Var <OCI_IMAGE_ARCH>", line 1>, locals={'d': <bb.data_smart.DataSmart object at 0x7f127678f790>}, extraglobals={'d': <bb.data_smart.DataSmart object at 0x7f127678f790>}):
ctx[g] = extraglobals[g]
> return eval(source, ctx, locals)

File "Var <OCI_IMAGE_ARCH>", line 1, in <module>
bb.data_smart.ExpansionError: Failure expanding variable OCI_IMAGE_ARCH, expression was ${@oe.go.map_arch(d.getVar('TARGET_ARCH'))} which triggered exception AttributeError: module 'oe' has no attribute 'go' The variable dependency chain for the failure is: OCI_IMAGE_ARCH -> IMAGE_CMD:oci

Quoted 6 lines

https://autobuilder.yoctoproject.org/typhoon/#/builders/121/builds/1719/steps/23/logs/stdio

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

Quoted 4 lines

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

Quoted 4 lines

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8461): https://lists.yoctoproject.org/g/meta-virtualization/message/8461
Mute This Topic: https://lists.yoctoproject.org/mt/102717308/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/leave/6693017/1050810/978058475/xyzzy [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
#6 lore raw

Hi,

The master backport will be merded soon on nanbield
https://lists.openembedded.org/g/openembedded-core/message/190895

Jose

Bruce Ashfield <[email protected]> escreveu no dia terça, 21/11/2023 à(s) 04:03:

Quoted 140 lines
Quoted 10 lines · Bruce Ashfield via lists.yoctoproject.org
Quoted 3 lines · Alexandre Belloni

This is nanbield which uses meta-virt master

That solves the mystery. There is a nanbield branch in meta-virt that has a workaround
for that routine not existing in oe-core nanbield.

And yes, I realize that meta-virt master still has nanbield in its LAYERSERIES_COMPAT variable, but core hasn't added a new compat name that I've seen, so I have no way that I know of to declare the incompatibility.

Bruce

Quoted 25 lines

The branch configuration for the AB is not something I normally tweak, if I can figure
out what file to change, i can send a patch.

Bruce

Quoted 18 lines · Bruce Ashfield
Quoted 17 lines

What branch ? We resolved that issue quite some time ago for master and for the older branches.

If something happened to Joshua's change in master, I'm not aware of it, and will wait for a patch to meta-virt to fix it up.

Bruce

Quoted 7 lines · Alexandre Belloni

Hi Bruce,

check-layer-nightly is failing for meta-virt:

Loaded 0 entries from dependency cache. Parsing recipes...ERROR: ExpansionError during parsing

/home/pokybuild/yocto-worker/check-layer-nightly/build/meta-virtualization/recipes-extended/images/ container-base.bb

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Traceback (most recent call last):
File

"/home/pokybuild/yocto-worker/check-layer-nightly/build/bitbake/lib/bb/data_smart.py", line 481, in DataSmart.expandWithRefs(s="${@oe.go.map_arch(d.getVar('TARGET_ARCH'))}", varname='OCI_IMAGE_ARCH'):

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

tb = sys.exc_info()[2]
> raise ExpansionError(varname, s,

exc).with_traceback(tb) from exc

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

File

"/home/pokybuild/yocto-worker/check-layer-nightly/build/bitbake/lib/bb/data_smart.py", line 465, in DataSmart.expandWithRefs(s="${@oe.go.map_arch(d.getVar('TARGET_ARCH'))}", varname='OCI_IMAGE_ARCH'):

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

try:
> s =

__expand_python_regexp__.sub(varparse.python_sub, s)

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

except SyntaxError as e:
File

"/home/pokybuild/yocto-worker/check-layer-nightly/build/bitbake/lib/bb/data_smart.py", line 153, in VariableParse.python_sub(match=<re.Match object; span=(0, 43), match="${@oe.go.map_arch(d.getVar('TARGET_ARCH'))}">):

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

self.contains[k].update(parser.contains[k])

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

value = utils.better_eval(codeobj,

DataContext(self.d), {'d' : self.d})

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

return str(value)
File

"/home/pokybuild/yocto-worker/check-layer-nightly/build/bitbake/lib/bb/utils.py", line 434, in better_eval(source=<code object <module> at 0x7f1275c759a0, file "Var <OCI_IMAGE_ARCH>", line 1>, locals={'d': <bb.data_smart.DataSmart object at 0x7f127678f790>}, extraglobals={'d': <bb.data_smart.DataSmart object at 0x7f127678f790>}):

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

ctx[g] = extraglobals[g]
> return eval(source, ctx, locals)

File "Var <OCI_IMAGE_ARCH>", line 1, in <module>
bb.data_smart.ExpansionError: Failure expanding variable

OCI_IMAGE_ARCH, expression was ${@oe.go.map_arch(d.getVar('TARGET_ARCH'))} which triggered exception AttributeError: module 'oe' has no attribute 'go'

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

The variable dependency chain for the failure is: OCI_IMAGE_ARCH

-> IMAGE_CMD:oci

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

https://autobuilder.yoctoproject.org/typhoon/#/builders/121/builds/1719/steps/23/logs/stdio

Quoted 20 lines
Quoted 13 lines
Quoted 8 lines
Quoted 5 lines

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

Quoted 4 lines

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

Quoted 4 lines

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

Quoted 7 lines

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#8462):
https://lists.yoctoproject.org/g/meta-virtualization/message/8462
Mute This Topic: https://lists.yoctoproject.org/mt/102717308/5052612
Group Owner: [email protected] Unsubscribe:
https://lists.yoctoproject.org/g/meta-virtualization/leave/11553848/5052612/94736074/xyzzy
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
Best regards,

José Quaresma