Skip to content

Conversation

mikkorapeli-linaro
Copy link
Contributor

Enables running tests on qemu machine which exposes ssh on localhost IP address and non-standard TCP port number.

Then capture package list also with opkg used by some yocto build configurations.

qemu virtual machines can run on localhost but on non-default
ports so support setting the target SSH port with --target-port.

Signed-off-by: Mikko Rapeli <[email protected]>
@mikkorapeli-linaro
Copy link
Contributor Author

Can anyone show the details of the check failure with sanity-check.sh? It's passing here with python 3.10.6 from Ubuntu 22.04 and the failure logs don't have any details.

Yocto can use rpm, deb or opkg as binary packaging tool.
If distribution is not guessed correctly from /etc/os-release, or
if it doesn't match debian, fedora or ubuntu, then try the different
packaging tools to populate package list. This will work if tools
are on the rootfs also on custom distributions like the ones from
yocto build.

Signed-off-by: Mikko Rapeli <[email protected]>
@roxell
Copy link
Collaborator

roxell commented Jan 10, 2023

Can anyone show the details of the check failure with sanity-check.sh?

its black that fails its checks
black --check automated/utils/test-runner.py
if you want black to fix the issue just do
black automated/utils/test-runner.py

@mwasilew
Copy link
Contributor

@mikkorapeli-linaro could you rebase on the latest tip?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants