From: Tom Rini <trini@konsulko.com>
To: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
Cc: Andrejs Cainikovs <andrejs.cainikovs@gmail.com>, u-boot@lists.denx.de
Subject: Re: [PATCH v1] CI: Add jsonschema python module
Date: Sat, 9 Sep 2023 19:20:23 -0400 [thread overview]
Message-ID: <20230909232023.GU305624@bill-the-cat> (raw)
In-Reply-To: <5219f4a0-b91b-16d0-33cb-4b7fea37625c@toradex.com>
[-- Attachment #1: Type: text/plain, Size: 1629 bytes --]
On Tue, Aug 29, 2023 at 05:37:35PM +0200, Andrejs Cainikovs wrote:
> On 29/08/2023 17:04, Tom Rini wrote:
> > Interesting. How exactly are you using these CI images? We have
> > tools/buildman/requirements.txt now to cover the newly-added modules in
> > CI, as we call pip on that. But, it's not being used in the prepopulate
> > the pip cache stage in the Dockerfile. And, I'm not immune to the idea
> > that we should instead be installing the distro package here.
>
> I see in Dockerfile test/py/requirements.txt and
> doc/sphinx/requirements.txt, but not tools/buildman/requirements.txt, so
> whatever is mentioned there is not part of the image on CI runners.
>
> Following is the part of *our own* .gitlab.yml file,
> which uses a public Docker image
> (docker.io/trini/u-boot-gitlab-ci-runner:jammy-20230624-20Jul2023, as of
> now):
>
> verdin-am62:
> stage: build
> script: |
> ...
> tools/buildman/buildman -o /tmp -P -E "verdin-am62" -M
> ...
>
> And this is how it fails in our CI without this change:
>
> Building current source for 3 boards (3 threads, 14 jobs per thread)
> arm: + verdin-am62_r5
> +binman: Unknown entry type 'ti-board-config' in node
> '/binman/board-cfg/ti-board-config' (expected etype/ti_board_config.py,
> error 'No module named 'jsonschema''
> +make[1]: *** [Makefile:1108: .binman_stamp] Error 1
> +make: *** [Makefile:177: sub-make] Error 2
Thinking on this more, yes, I think at least as it stands now we expect
pip / similar to be used by consumers of this container if needed for
the jsonschema module.
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
prev parent reply other threads:[~2023-09-09 23:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-29 14:37 [PATCH v1] CI: Add jsonschema python module Andrejs Cainikovs
2023-08-29 15:04 ` Tom Rini
2023-08-29 15:37 ` Andrejs Cainikovs
2023-08-29 21:03 ` Andrejs Cainikovs
2023-09-09 23:20 ` Tom Rini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230909232023.GU305624@bill-the-cat \
--to=trini@konsulko.com \
--cc=andrejs.cainikovs@gmail.com \
--cc=andrejs.cainikovs@toradex.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox