Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support ssh with non-standard port number and opkg #417

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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 <mikko.rapeli@linaro.org>
@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 <mikko.rapeli@linaro.org>
@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

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.

None yet

2 participants