osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43783?usp=email ) Change subject: testenv: podman_install: update can't install msg ...................................................................... testenv: podman_install: update can't install msg Update the message to mention all three ways that we now have to install test components when running with --binary-packages and explain the differences. Example output: Running with --binary-packages (-b), but can't install trx-proxy! Fix this by either: Set the debian package name with package= in [trx-proxy] in testenv_generic.cfg: * The debian package will be installed. Set package=no in [trx-proxy] in testenv_generic.cfg: * osmo-dev will be used to build the test component from source. * Jenkins will always use current master. Edit from_source() in testenv/podman_install.py: * Dependency packages will be installed from the configured binary repository (e.g. -b osmocom:latest). * The git repository for the test component will be cloned and the version matching the binary repository will be built (-b osmocom:latest => latest tagged version, otherwise master). Change-Id: I0d722a48fb5ba125489db410b6f765360f2702a3 --- M _testenv/testenv/podman_install.py 1 file changed, 15 insertions(+), 4 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/83/43783/1 diff --git a/_testenv/testenv/podman_install.py b/_testenv/testenv/podman_install.py index 438f875..de06f0b 100644 --- a/_testenv/testenv/podman_install.py +++ b/_testenv/testenv/podman_install.py @@ -209,10 +209,21 @@ if program == "run_osmo_ns_dummy.sh": return from_source_osmo_ns_dummy() - logging.error(f"Can't install {section}! Fix this by either:") - logging.error(f"* Adding package= to [{section}] in {cfg_name}") - logging.error(" (if it can be installed from binary packages)") - logging.error("* Editing from_source() in testenv/podman_install.py") + logging.error(f"Running with --binary-packages (-b), but can't install {section}! Fix this by either:") + logging.error("") + logging.error(f"Set the debian package name with package= in [{section}] in {cfg_name}:") + logging.error("* The debian package will be installed.") + logging.error("") + logging.error(f"Set package=no in [{section}] in {cfg_name}:") + logging.error("* osmo-dev will be used to build the test component from source.") + logging.error("* Jenkins will always use current master.") + logging.error("") + logging.error("Edit from_source() in testenv/podman_install.py:") + logging.error("* Dependency packages will be installed from the configured") + logging.error(" binary repository (e.g. -b osmocom:latest).") + logging.error("* The git repository for the test component will be cloned and") + logging.error(" the version matching the binary repository will be built") + logging.error(" (-b osmocom:latest => latest tagged version, otherwise master).") sys.exit(1) -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43783?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I0d722a48fb5ba125489db410b6f765360f2702a3 Gerrit-Change-Number: 43783 Gerrit-PatchSet: 1 Gerrit-Owner: osmith <osmith@sysmocom.de>