Skip to contentSkip to conversation

Enabled zeus, not working...

layerindex-web Mark Hatle 2 participants 3 messages Oct 14, 2019

lore
Share & tools
lore

Mark Hatle

author
#0 lore raw

I added the zeus branch on the layers.openembedded.org today and it's not showing up and being indexed. Any idea why?

On my own personal layer index I did it and it worked fine. So it may be something related to the configuration.

Below are the errors from the update log:

Oct. 14, 2019, 7:13 p.m.

openembedded-core zeus
INFO: Collecting data for layer openembedded-core on branch zeus
ERROR: error: pathspec 'origin/zeus' did not match any file(s) known to git.
ERROR: Traceback (most recent call last):
File "update_layer.py", line 370, in main
(tinfoil, tempdir) = recipeparse.init_parser(settings, branch, bitbakepath,
nocheckout=options.nocheckout, logger=logger)
File "/opt/layerindex/layerindex/recipeparse.py", line 34, in init_parser
utils.checkout_repo(bitbakepath, bitbake_ref, logger=logger)
File "/opt/layerindex/layerindex/utils.py", line 246, in checkout_repo
runcmd(['git', 'checkout', commit], repodir, logger=logger)
File "/opt/layerindex/layerindex/utils.py", line 327, in runcmd
raise e
subprocess.CalledProcessError: Command '['git', 'checkout', 'origin/zeus']' returned non-zero exit status 1

#1 lore raw

Hi Mark

Quoted 2 lines · NZDT Mark Hatle

I added the zeus branch on the layers.openembedded.org today and it's not showing up and being indexed. Any idea why?

The bitbake branch wasn't correctly specified - it needed to be set to "1.44" (grabbed from https://wiki.yoctoproject.org/wiki/Releases if you don't have it in your head - I didn't ;).

Quoted 2 lines

On my own personal layer index I did it and it worked fine. So it may be something related to the configuration.

I guess it worked in your case because (based on your patch of the other day) you're picking bitbake out of a repo where zeus is a valid branch.

FYI on layers.openembedded.org you also need to select the Python environment for the branch - python3 in this case.

I've made both of these changes so it should index correctly the next time around.

Cheers
Paul

Signature · 2 lines
Paul Eggleton
Intel System Software Products
author
#2 lore raw
Quoted 10 lines · Paul Eggleton

Hi Mark

Quoted 2 lines · NZDT Mark Hatle

I added the zeus branch on the layers.openembedded.org today and it's not showing up and being indexed. Any idea why?

The bitbake branch wasn't correctly specified - it needed to be set to "1.44" (grabbed from https://wiki.yoctoproject.org/wiki/Releases if you don't have it in your head - I didn't ;).

Great so it's my fault.. much easier to fix then an infrastructure issue.

Quoted 5 lines
Quoted 2 lines

On my own personal layer index I did it and it worked fine. So it may be something related to the configuration.

I guess it worked in your case because (based on your patch of the other day) you're picking bitbake out of a repo where zeus is a valid branch.

Yup, exactly.. it -happened- to work.. :)

Quoted 5 lines

FYI on layers.openembedded.org you also need to select the Python environment for the branch - python3 in this case.

I've made both of these changes so it should index correctly the next time around.

Ahh I thought python3 was now the default, and python2 was for the older systems. I read it backwards.. I'll try to remember in 6 months. :)

(Part of the reason I included the mailing list here.)

--Mark

Quoted 4 lines

Cheers
Paul