From: richard.purdie@linuxfoundation.org
To: "Yeoh, Ee Peng" <ee.peng.yeoh@intel.com>,
"openembedded-core@lists.openembedded.org"
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/4] oeqa/core/runner: write testresult to json files
Date: Mon, 29 Oct 2018 10:44:48 +0000 [thread overview]
Message-ID: <dc70690050312e882a3aef592bb93507a09715ad.camel@linuxfoundation.org> (raw)
In-Reply-To: <9DDD2658D1FE414E99172D2DB1E4D043480FE86E@PGSMSX110.gar.corp.intel.com>
On Tue, 2018-10-23 at 06:39 +0000, Yeoh, Ee Peng wrote:
> I submitted the revised patches below. Sorry for the missing "version
> #" in the patch title. After this, I will add the "version #" into
> the patch title.
>
> Please let me know if any question or inputs. Thank you very much for
> your attention & sharing!
Thanks for the changes. I was at a conference last week and then became
unwell. I wanted to have a further look and test the patches before
merging and I wanted a clearer head to do that.
Unfortunately I found another problem. On my build machine, it shows:
Traceback (most recent call last):
File "/media/build1/poky/scripts/oe-selftest", line 70, in <module>
ret = main()
File "/media/build1/poky/scripts/oe-selftest", line 57, in main
results = args.func(logger, args)
File "/media/build1/poky/meta/lib/oeqa/selftest/context.py", line 289, in run
rc = self._internal_run(logger, args)
File "/media/build1/poky/meta/lib/oeqa/selftest/context.py", line 248, in _internal_run
configuration = self._get_configuration(args)
File "/media/build1/poky/meta/lib/oeqa/selftest/context.py", line 217, in _get_configuration
metadata = metadata_from_bb()
File "/media/build1/poky/meta/lib/oeqa/utils/metadata.py", line 42, in metadata_from_bb
info_dict['layers'] = get_layers(data_dict['BBLAYERS'])
File "/media/build1/poky/meta/lib/oeqa/utils/metadata.py", line 81, in get_layers
layer_dict[layer_name] = git_rev_info(layer)
File "/media/build1/poky/meta/lib/oeqa/utils/metadata.py", line 61, in git_rev_info
from git import Repo, InvalidGitRepositoryError, NoSuchPathError
ModuleNotFoundError: No module named 'git'
That is obviously easily fixed by installing the git module but it does
raise some questions, in particular, why we have two code paths which
do the same thing (one in metadata_scm.bbclass and one in
lib/oeqa/utils/metadata.py).
It also means we've just added new module dependencies to oe-selftest
and the other test utilities which we don't test for anywhere or have
documented. Doing this last thing in M4 is bad.
So this is going to need a little more thought...
Cheers,
Richard
next prev parent reply other threads:[~2018-10-29 10:44 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-22 10:34 [PATCH 1/4] oeqa/core/runner: write testresult to json files Yeoh Ee Peng
2018-10-22 10:34 ` [PATCH 2/4] oeqa/selftest/context: " Yeoh Ee Peng
2018-10-22 10:34 ` [PATCH 3/4] testimage.bbclass: " Yeoh Ee Peng
2018-10-22 10:34 ` [PATCH 4/4] testsdk.bbclass: " Yeoh Ee Peng
2018-10-22 22:54 ` [PATCH 1/4] oeqa/core/runner: " Richard Purdie
2018-10-23 6:39 ` Yeoh, Ee Peng
2018-10-29 10:44 ` richard.purdie [this message]
2018-10-29 13:58 ` Richard Purdie
2018-10-30 8:55 ` Yeoh, Ee Peng
-- strict thread matches above, loose matches on Subject: below --
2018-10-23 5:57 Yeoh Ee Peng
2018-10-22 6:54 Yeoh Ee Peng
2018-10-22 8:31 ` Richard Purdie
2018-10-22 8:59 ` Yeoh, Ee Peng
2018-10-22 9:34 ` richard.purdie
2018-10-22 9:47 ` Yeoh, Ee Peng
2018-10-22 10:53 ` Yeoh, Ee Peng
2018-10-12 6:33 Yeoh Ee Peng
2018-10-12 15:00 ` Richard Purdie
2018-10-15 8:42 ` Yeoh, Ee Peng
2018-10-15 8:59 ` richard.purdie
2018-10-15 10:00 ` Yeoh, Ee Peng
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=dc70690050312e882a3aef592bb93507a09715ad.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=ee.peng.yeoh@intel.com \
--cc=openembedded-core@lists.openembedded.org \
/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