[PATCH] python/osmo-python-tests[master]: Print additional debug info for extended tests

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Max gerrit-no-reply at lists.osmocom.org
Mon Nov 27 15:53:24 UTC 2017


Review at  https://gerrit.osmocom.org/5042

Print additional debug info for extended tests

The following error has been observed in gerrit test:
/usr/bin/python ./vty_test_runner.py -w /build -v
Traceback (most recent call last):
  File "./vty_test_runner.py", line 26, in <module>
    from osmopy.osmo_ipa import IPA
ImportError: No module named osmo_ipa

This should not be happening as previous debug command shows
osmotestconfig.py (which is part of the same module) running from
/usr/local/bin/. Let's try to debug this by reporting the content of
/usr/local/bin/ same way we report running osmo processes.

Change-Id: I7f3ef3665352c4e74affff2c2e8d345a408a2f52
---
M osmopy/obscvty.py
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/python/osmo-python-tests refs/changes/42/5042/1

diff --git a/osmopy/obscvty.py b/osmopy/obscvty.py
index 1e05d77..a74f0a3 100755
--- a/osmopy/obscvty.py
+++ b/osmopy/obscvty.py
@@ -47,6 +47,7 @@
     cmd('ss -tn');
     cmd('ss -tln');
     cmd('ps xua | grep osmo');
+    cmd('ls -alh /usr/local/bin/');
 
 class VTYInteract(object):
     """__init__(self, name, host, port):

-- 
To view, visit https://gerrit.osmocom.org/5042
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7f3ef3665352c4e74affff2c2e8d345a408a2f52
Gerrit-PatchSet: 1
Gerrit-Project: python/osmo-python-tests
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list