From f07114f9e2637cc10e5db664c3c6199e9a8d6233 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Sat, 28 Nov 2020 10:06:14 +0100 Subject: log reserved resources On non-debug log level, show something like this at the beginning of each suite: 03:45:49.439720 tst handover:sysmo+secondbts-trx-b200: RESERVED RESOURCES for handover: bts sysmoBTS 1002 Ettus B200 ip_address 10.42.42.2 10.42.42.3 10.42.42.4 10.42.42.5 10.42.42.6 10.42.42.7 modem sierra_1st sierra_2nd Change-Id: Ic23556eafee654c93d13c5ef405028da09bd51d7 --- selftest/suite_test/suite_test.ok | 53 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) (limited to 'selftest') diff --git a/selftest/suite_test/suite_test.ok b/selftest/suite_test/suite_test.ok index 9d0493d..dfc8d41 100644 --- a/selftest/suite_test/suite_test.ok +++ b/selftest/suite_test/suite_test.ok @@ -145,6 +145,16 @@ tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f label: m7802 path: /wavecom_1 tst test_suite: DBG: FileWatch: unscheduling watch +tst test_suite: RESERVED RESOURCES for test_suite: +bts + sysmoCell 5000 + sysmoCell 5000 + sysmoBTS 1002 +ip_address + 10.42.42.1 +modem + m7801 + m7802 ---------------------------------------------- trial test_suite hello_world.py @@ -364,6 +374,16 @@ tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f path: /wavecom_1 [resource.py:[LINENR]] tst test_suite: DBG: FileWatch: unscheduling watch [util.py:[LINENR]] +tst test_suite: RESERVED RESOURCES for test_suite: +bts + sysmoCell 5000 + sysmoCell 5000 + sysmoBTS 1002 +ip_address + 10.42.42.1 +modem + m7801 + m7802 [suite.py:[LINENR]] ---------------------------------------------- trial test_suite hello_world.py @@ -509,6 +529,16 @@ tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f path: /wavecom_1 [resource.py:[LINENR]] tst test_suite: DBG: FileWatch: unscheduling watch [util.py:[LINENR]] +tst test_suite: RESERVED RESOURCES for test_suite: +bts + sysmoCell 5000 + sysmoCell 5000 + sysmoBTS 1002 +ip_address + 10.42.42.1 +modem + m7801 + m7802 [suite.py:[LINENR]] ---------------------------------------------- trial test_suite hello_world.py @@ -650,6 +680,16 @@ tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f path: /wavecom_1 [resource.py:[LINENR]] tst test_suite: DBG: FileWatch: unscheduling watch [util.py:[LINENR]] +tst test_suite: RESERVED RESOURCES for test_suite: +bts + sysmoCell 5000 + sysmoCell 5000 + sysmoBTS 1002 +ip_address + 10.42.42.1 +modem + m7801 + m7802 [suite.py:[LINENR]] resources(test_suite)={'bts': [{'_hash': 'a59640b8ba6a373552b24a6f9f65cadd2347bace', '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', 'addr': '10.42.42.53', @@ -841,6 +881,16 @@ tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f path: /wavecom_1 [resource.py:[LINENR]] tst test_suite: DBG: FileWatch: unscheduling watch [util.py:[LINENR]] +tst test_suite: RESERVED RESOURCES for test_suite: +bts + sysmoCell 5000 + sysmoCell 5000 + sysmoBTS 1002 +ip_address + 10.42.42.1 +modem + m7801 + m7802 [suite.py:[LINENR]] resources(test_suite)={'bts': [{'_hash': 'a59640b8ba6a373552b24a6f9f65cadd2347bace', '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', 'addr': '10.42.42.53', @@ -944,6 +994,9 @@ tst suiteC: DBG: Picked - _hash: fd103b22c7cf2480d609150e06f4bbd92ac78d8c addr: 10.42.42.2 [resource.py:[LINENR]] tst suiteC: DBG: FileWatch: unscheduling watch [util.py:[LINENR]] +tst suiteC: RESERVED RESOURCES for suiteC: +ip_address + 10.42.42.2 [suite.py:[LINENR]] ---------------------------------------------- trial suiteC test_template_overlay.py -- cgit v1.2.3