Skip to content

Failed

emergency:sysmo.emergency_preemptive_call.py (from emergency_sysmo)

Failing for the past 96 builds (Since #750 )
Took 1 sec.

Stacktrace

could not find /sys/devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1.6 in modem list: [('/sierra_1', {'Online': False, 'Powered': False, 'Lockdown': False, 'Emergency': False, 'SystemPath': '/sys/devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1.2', 'Interfaces': [], 'Features': [], 'Type': 'hardware'}), ('/sierra_2', {'Online': False, 'Powered': False, 'Lockdown': False, 'Emergency': False, 'SystemPath': '/sys/devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1.3', 'Interfaces': [], 'Features': [], 'Type': 'hardware'})]

Standard Output

----------------------------------------------
trial-845 emergency:sysmo emergency_preemptive_call.py
----------------------------------------------
10:57:01.075250 tst                  emergency:sysmo: Using 1 x ip_address (candidates: 6)
10:57:01.087307 tst                  emergency:sysmo: Using 1 x bts (candidates: 1)
10:57:01.222313 tst     emergency_preemptive_call.py: using LAC 10607
10:57:01.353837 tst     emergency_preemptive_call.py: using RAC 152
10:57:01.486403 tst     emergency_preemptive_call.py: using CellId 10607
10:57:01.616171 tst     emergency_preemptive_call.py: using BVCI 10603
10:57:01.641664 tst                  emergency:sysmo: Using 1 x ip_address (candidates: 6)
10:57:01.652707 tst                  emergency:sysmo: Using 1 x ip_address (candidates: 6)
10:57:01.663773 tst                  emergency:sysmo: Using 1 x ip_address (candidates: 6)
10:57:01.674773 tst                  emergency:sysmo: Using 1 x ip_address (candidates: 6)
10:57:01.685841 tst                  emergency:sysmo: Using 1 x ip_address (candidates: 6)
10:57:01.696854 tst                  emergency:sysmo: Using 1 x modem (candidates: 4)
10:57:01.799659 tst                  emergency:sysmo: Using 1 x modem (candidates: 4)
10:57:01.904852 tst                  emergency:sysmo: Using 1 x modem (candidates: 4)
10:57:01.947454 tst  emergency_preemptive_call.py:13: ERR: ValueError: could not find /sys/devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1.6 in modem list: [('/sierra_1', {'Online': False, 'Powered': False, 'Lockdown': False, 'Emergency': False, 'SystemPath': '/sys/devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1.2', 'Interfaces': [], 'Features': [], 'Type': 'hardware'}), ('/sierra_2', {'Online': False, 'Powered': False, 'Lockdown': False, 'Emergency': False, 'SystemPath': '/sys/devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1.3', 'Interfaces': [], 'Features': [], 'Type': 'hardware'})]  [trial-845↪emergency:sysmo↪emergency_preemptive_call.py:13]
10:57:01.955224 tst  emergency_preemptive_call.py:13: Test FAILED (0.9 sec)
10:57:02.017480 bus                        /sierra_1: Setting Powered False
10:57:03.129244 bus                        /sierra_2: Setting Powered False
10:57:04.238142 bus                        /sierra_2: Setting Powered False
10:57:05.348255 bus                        /sierra_1: Setting Powered False

Standard Error

Traceback (most recent call last):
  File "/home/jenkins/workspace/osmo-gsm-tester_run-rnd/osmo-gsm-tester/src/osmo_gsm_tester/core/test.py", line 76, in run
    self.path)
  File "/home/jenkins/workspace/osmo-gsm-tester_run-rnd/osmo-gsm-tester/src/osmo_gsm_tester/core/util.py", line 414, in run_python_file
    spec.loader.exec_module( importlib.util.module_from_spec(spec) )
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/jenkins/workspace/osmo-gsm-tester_run-rnd/osmo-gsm-tester/sysmocom/suites/emergency/emergency_preemptive_call.py", line 13, in <module>
    ms_mo_emerg = tenv.modem()
  File "/home/jenkins/workspace/osmo-gsm-tester_run-rnd/osmo-gsm-tester/src/osmo_gsm_tester/testenv.py", line 273, in modem
    ms_obj = MS.get_instance_by_type(self, conf)
  File "/home/jenkins/workspace/osmo-gsm-tester_run-rnd/osmo-gsm-tester/src/osmo_gsm_tester/obj/ms.py", line 90, in get_instance_by_type
    return ms_class(testenv, conf)
  File "/home/jenkins/workspace/osmo-gsm-tester_run-rnd/osmo-gsm-tester/src/osmo_gsm_tester/obj/ms_ofono.py", line 379, in __init__
    self.dbuspath = get_dbuspath_from_syspath(self.syspath)
  File "/home/jenkins/workspace/osmo-gsm-tester_run-rnd/osmo-gsm-tester/src/osmo_gsm_tester/obj/ms_ofono.py", line 96, in get_dbuspath_from_syspath
    raise ValueError('could not find %s in modem list: %s' % (syspath, modems))
ValueError: could not find /sys/devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1.6 in modem list: [('/sierra_1', {'Online': False, 'Powered': False, 'Lockdown': False, 'Emergency': False, 'SystemPath': '/sys/devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1.2', 'Interfaces': [], 'Features': [], 'Type': 'hardware'}), ('/sierra_2', {'Online': False, 'Powered': False, 'Lockdown': False, 'Emergency': False, 'SystemPath': '/sys/devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1.3', 'Interfaces': [], 'Features': [], 'Type': 'hardware'})]