Add ADF5611 Driver and Example #2139
1 446 errors, 153 skipped in 48s
Annotations
Check failure on line 0 in test.rf.test_phase
github-actions / Test Results
test_measure_phase (test.rf.test_phase) with error
results.xml [took 0s]
Raw output
failed on setup with "Exception: iio-emu not found on path"
request = <SubRequest '_iio_emu' for <Function test_measure_phase>>
worker_id = 'master'
@pytest.fixture(scope="session", autouse=True)
def _iio_emu(request, worker_id):
"""Initialization emulation fixture"""
if request.config.getoption("--emu"):
if worker_id == "master":
custom_port = None
else:
worker_id = worker_id.replace("gw", "")
custom_port = IIO_EMU_BASE_PORT + int(worker_id)
logger = logging.getLogger()
logger.info(f"Using custom port {custom_port}")
exml = request.config.getoption("--emu-xml")
if exml:
if not os.path.exists(exml):
raise Exception(f"{exml} not found")
emu = iio_emu_manager(xml_path=exml, auto=False, custom_port=custom_port)
emu.start()
yield emu
emu.stop()
return
# Get list of all devices available to emulate
map = get_hw_map(request)
if not map:
raise Exception("No hardware map selected (ex: --adi-hw-map)")
hw_w_emulation = {}
for hw in map:
for field in map[hw]:
if isinstance(field, dict) and "emulate" in field:
hw_w_emulation[hw] = field
if hw in hw_w_emulation:
devices = []
for field in map[hw]:
if isinstance(field, str):
devices.append(field)
hw_w_emulation[hw]["devices"] = devices
> emu = iio_emu_manager(xml_path="auto", auto=True, custom_port=custom_port)
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:379:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_libiio.plugin.iio_emu_manager object at 0x7f551bbc09d0>
xml_path = 'auto', auto = True, rx_dev = None, tx_dev = None, custom_port = None
def __init__(
self,
xml_path: str,
auto: bool = True,
rx_dev: str = None,
tx_dev: str = None,
custom_port: int = None,
):
self.xml_path = xml_path
self.rx_dev = rx_dev
self.tx_dev = tx_dev
self.current_device = None
self.auto = auto
self.data_devices = None
self.custom_port = custom_port
iio_emu = which("iio-emu") is None
if iio_emu:
> raise Exception("iio-emu not found on path")
E Exception: iio-emu not found on path
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:40: Exception
Check failure on line 0 in test.rf.test_phase
github-actions / Test Results
test_measure_phase_and_delay_delay (test.rf.test_phase) with error
results.xml [took 0s]
Raw output
failed on setup with "Exception: iio-emu not found on path"
request = <SubRequest '_iio_emu' for <Function test_measure_phase>>
worker_id = 'master'
@pytest.fixture(scope="session", autouse=True)
def _iio_emu(request, worker_id):
"""Initialization emulation fixture"""
if request.config.getoption("--emu"):
if worker_id == "master":
custom_port = None
else:
worker_id = worker_id.replace("gw", "")
custom_port = IIO_EMU_BASE_PORT + int(worker_id)
logger = logging.getLogger()
logger.info(f"Using custom port {custom_port}")
exml = request.config.getoption("--emu-xml")
if exml:
if not os.path.exists(exml):
raise Exception(f"{exml} not found")
emu = iio_emu_manager(xml_path=exml, auto=False, custom_port=custom_port)
emu.start()
yield emu
emu.stop()
return
# Get list of all devices available to emulate
map = get_hw_map(request)
if not map:
raise Exception("No hardware map selected (ex: --adi-hw-map)")
hw_w_emulation = {}
for hw in map:
for field in map[hw]:
if isinstance(field, dict) and "emulate" in field:
hw_w_emulation[hw] = field
if hw in hw_w_emulation:
devices = []
for field in map[hw]:
if isinstance(field, str):
devices.append(field)
hw_w_emulation[hw]["devices"] = devices
> emu = iio_emu_manager(xml_path="auto", auto=True, custom_port=custom_port)
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:379:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_libiio.plugin.iio_emu_manager object at 0x7f551bbc09d0>
xml_path = 'auto', auto = True, rx_dev = None, tx_dev = None, custom_port = None
def __init__(
self,
xml_path: str,
auto: bool = True,
rx_dev: str = None,
tx_dev: str = None,
custom_port: int = None,
):
self.xml_path = xml_path
self.rx_dev = rx_dev
self.tx_dev = tx_dev
self.current_device = None
self.auto = auto
self.data_devices = None
self.custom_port = custom_port
iio_emu = which("iio-emu") is None
if iio_emu:
> raise Exception("iio-emu not found on path")
E Exception: iio-emu not found on path
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:40: Exception
Check failure on line 0 in test.rf.test_phase
github-actions / Test Results
test_measure_phase_and_delay_phase (test.rf.test_phase) with error
results.xml [took 0s]
Raw output
failed on setup with "Exception: iio-emu not found on path"
request = <SubRequest '_iio_emu' for <Function test_measure_phase>>
worker_id = 'master'
@pytest.fixture(scope="session", autouse=True)
def _iio_emu(request, worker_id):
"""Initialization emulation fixture"""
if request.config.getoption("--emu"):
if worker_id == "master":
custom_port = None
else:
worker_id = worker_id.replace("gw", "")
custom_port = IIO_EMU_BASE_PORT + int(worker_id)
logger = logging.getLogger()
logger.info(f"Using custom port {custom_port}")
exml = request.config.getoption("--emu-xml")
if exml:
if not os.path.exists(exml):
raise Exception(f"{exml} not found")
emu = iio_emu_manager(xml_path=exml, auto=False, custom_port=custom_port)
emu.start()
yield emu
emu.stop()
return
# Get list of all devices available to emulate
map = get_hw_map(request)
if not map:
raise Exception("No hardware map selected (ex: --adi-hw-map)")
hw_w_emulation = {}
for hw in map:
for field in map[hw]:
if isinstance(field, dict) and "emulate" in field:
hw_w_emulation[hw] = field
if hw in hw_w_emulation:
devices = []
for field in map[hw]:
if isinstance(field, str):
devices.append(field)
hw_w_emulation[hw]["devices"] = devices
> emu = iio_emu_manager(xml_path="auto", auto=True, custom_port=custom_port)
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:379:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_libiio.plugin.iio_emu_manager object at 0x7f551bbc09d0>
xml_path = 'auto', auto = True, rx_dev = None, tx_dev = None, custom_port = None
def __init__(
self,
xml_path: str,
auto: bool = True,
rx_dev: str = None,
tx_dev: str = None,
custom_port: int = None,
):
self.xml_path = xml_path
self.rx_dev = rx_dev
self.tx_dev = tx_dev
self.current_device = None
self.auto = auto
self.data_devices = None
self.custom_port = custom_port
iio_emu = which("iio-emu") is None
if iio_emu:
> raise Exception("iio-emu not found on path")
E Exception: iio-emu not found on path
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:40: Exception
Check failure on line 0 in test.rf.test_spec_est
github-actions / Test Results
test_spec_est_t1 (test.rf.test_spec_est) with error
results.xml [took 0s]
Raw output
failed on setup with "Exception: iio-emu not found on path"
request = <SubRequest '_iio_emu' for <Function test_measure_phase>>
worker_id = 'master'
@pytest.fixture(scope="session", autouse=True)
def _iio_emu(request, worker_id):
"""Initialization emulation fixture"""
if request.config.getoption("--emu"):
if worker_id == "master":
custom_port = None
else:
worker_id = worker_id.replace("gw", "")
custom_port = IIO_EMU_BASE_PORT + int(worker_id)
logger = logging.getLogger()
logger.info(f"Using custom port {custom_port}")
exml = request.config.getoption("--emu-xml")
if exml:
if not os.path.exists(exml):
raise Exception(f"{exml} not found")
emu = iio_emu_manager(xml_path=exml, auto=False, custom_port=custom_port)
emu.start()
yield emu
emu.stop()
return
# Get list of all devices available to emulate
map = get_hw_map(request)
if not map:
raise Exception("No hardware map selected (ex: --adi-hw-map)")
hw_w_emulation = {}
for hw in map:
for field in map[hw]:
if isinstance(field, dict) and "emulate" in field:
hw_w_emulation[hw] = field
if hw in hw_w_emulation:
devices = []
for field in map[hw]:
if isinstance(field, str):
devices.append(field)
hw_w_emulation[hw]["devices"] = devices
> emu = iio_emu_manager(xml_path="auto", auto=True, custom_port=custom_port)
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:379:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_libiio.plugin.iio_emu_manager object at 0x7f551bbc09d0>
xml_path = 'auto', auto = True, rx_dev = None, tx_dev = None, custom_port = None
def __init__(
self,
xml_path: str,
auto: bool = True,
rx_dev: str = None,
tx_dev: str = None,
custom_port: int = None,
):
self.xml_path = xml_path
self.rx_dev = rx_dev
self.tx_dev = tx_dev
self.current_device = None
self.auto = auto
self.data_devices = None
self.custom_port = custom_port
iio_emu = which("iio-emu") is None
if iio_emu:
> raise Exception("iio-emu not found on path")
E Exception: iio-emu not found on path
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:40: Exception
Check failure on line 0 in test.rf.test_spec_est
github-actions / Test Results
test_spec_est_t2 (test.rf.test_spec_est) with error
results.xml [took 0s]
Raw output
failed on setup with "Exception: iio-emu not found on path"
request = <SubRequest '_iio_emu' for <Function test_measure_phase>>
worker_id = 'master'
@pytest.fixture(scope="session", autouse=True)
def _iio_emu(request, worker_id):
"""Initialization emulation fixture"""
if request.config.getoption("--emu"):
if worker_id == "master":
custom_port = None
else:
worker_id = worker_id.replace("gw", "")
custom_port = IIO_EMU_BASE_PORT + int(worker_id)
logger = logging.getLogger()
logger.info(f"Using custom port {custom_port}")
exml = request.config.getoption("--emu-xml")
if exml:
if not os.path.exists(exml):
raise Exception(f"{exml} not found")
emu = iio_emu_manager(xml_path=exml, auto=False, custom_port=custom_port)
emu.start()
yield emu
emu.stop()
return
# Get list of all devices available to emulate
map = get_hw_map(request)
if not map:
raise Exception("No hardware map selected (ex: --adi-hw-map)")
hw_w_emulation = {}
for hw in map:
for field in map[hw]:
if isinstance(field, dict) and "emulate" in field:
hw_w_emulation[hw] = field
if hw in hw_w_emulation:
devices = []
for field in map[hw]:
if isinstance(field, str):
devices.append(field)
hw_w_emulation[hw]["devices"] = devices
> emu = iio_emu_manager(xml_path="auto", auto=True, custom_port=custom_port)
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:379:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_libiio.plugin.iio_emu_manager object at 0x7f551bbc09d0>
xml_path = 'auto', auto = True, rx_dev = None, tx_dev = None, custom_port = None
def __init__(
self,
xml_path: str,
auto: bool = True,
rx_dev: str = None,
tx_dev: str = None,
custom_port: int = None,
):
self.xml_path = xml_path
self.rx_dev = rx_dev
self.tx_dev = tx_dev
self.current_device = None
self.auto = auto
self.data_devices = None
self.custom_port = custom_port
iio_emu = which("iio-emu") is None
if iio_emu:
> raise Exception("iio-emu not found on path")
E Exception: iio-emu not found on path
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:40: Exception
Check failure on line 0 in test.rf.test_spec_est
github-actions / Test Results
test_spec_est_t3 (test.rf.test_spec_est) with error
results.xml [took 0s]
Raw output
failed on setup with "Exception: iio-emu not found on path"
request = <SubRequest '_iio_emu' for <Function test_measure_phase>>
worker_id = 'master'
@pytest.fixture(scope="session", autouse=True)
def _iio_emu(request, worker_id):
"""Initialization emulation fixture"""
if request.config.getoption("--emu"):
if worker_id == "master":
custom_port = None
else:
worker_id = worker_id.replace("gw", "")
custom_port = IIO_EMU_BASE_PORT + int(worker_id)
logger = logging.getLogger()
logger.info(f"Using custom port {custom_port}")
exml = request.config.getoption("--emu-xml")
if exml:
if not os.path.exists(exml):
raise Exception(f"{exml} not found")
emu = iio_emu_manager(xml_path=exml, auto=False, custom_port=custom_port)
emu.start()
yield emu
emu.stop()
return
# Get list of all devices available to emulate
map = get_hw_map(request)
if not map:
raise Exception("No hardware map selected (ex: --adi-hw-map)")
hw_w_emulation = {}
for hw in map:
for field in map[hw]:
if isinstance(field, dict) and "emulate" in field:
hw_w_emulation[hw] = field
if hw in hw_w_emulation:
devices = []
for field in map[hw]:
if isinstance(field, str):
devices.append(field)
hw_w_emulation[hw]["devices"] = devices
> emu = iio_emu_manager(xml_path="auto", auto=True, custom_port=custom_port)
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:379:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_libiio.plugin.iio_emu_manager object at 0x7f551bbc09d0>
xml_path = 'auto', auto = True, rx_dev = None, tx_dev = None, custom_port = None
def __init__(
self,
xml_path: str,
auto: bool = True,
rx_dev: str = None,
tx_dev: str = None,
custom_port: int = None,
):
self.xml_path = xml_path
self.rx_dev = rx_dev
self.tx_dev = tx_dev
self.current_device = None
self.auto = auto
self.data_devices = None
self.custom_port = custom_port
iio_emu = which("iio-emu") is None
if iio_emu:
> raise Exception("iio-emu not found on path")
E Exception: iio-emu not found on path
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:40: Exception
Check failure on line 0 in test.rf.test_spec_est
github-actions / Test Results
test_spec_est_t4 (test.rf.test_spec_est) with error
results.xml [took 0s]
Raw output
failed on setup with "Exception: iio-emu not found on path"
request = <SubRequest '_iio_emu' for <Function test_measure_phase>>
worker_id = 'master'
@pytest.fixture(scope="session", autouse=True)
def _iio_emu(request, worker_id):
"""Initialization emulation fixture"""
if request.config.getoption("--emu"):
if worker_id == "master":
custom_port = None
else:
worker_id = worker_id.replace("gw", "")
custom_port = IIO_EMU_BASE_PORT + int(worker_id)
logger = logging.getLogger()
logger.info(f"Using custom port {custom_port}")
exml = request.config.getoption("--emu-xml")
if exml:
if not os.path.exists(exml):
raise Exception(f"{exml} not found")
emu = iio_emu_manager(xml_path=exml, auto=False, custom_port=custom_port)
emu.start()
yield emu
emu.stop()
return
# Get list of all devices available to emulate
map = get_hw_map(request)
if not map:
raise Exception("No hardware map selected (ex: --adi-hw-map)")
hw_w_emulation = {}
for hw in map:
for field in map[hw]:
if isinstance(field, dict) and "emulate" in field:
hw_w_emulation[hw] = field
if hw in hw_w_emulation:
devices = []
for field in map[hw]:
if isinstance(field, str):
devices.append(field)
hw_w_emulation[hw]["devices"] = devices
> emu = iio_emu_manager(xml_path="auto", auto=True, custom_port=custom_port)
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:379:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_libiio.plugin.iio_emu_manager object at 0x7f551bbc09d0>
xml_path = 'auto', auto = True, rx_dev = None, tx_dev = None, custom_port = None
def __init__(
self,
xml_path: str,
auto: bool = True,
rx_dev: str = None,
tx_dev: str = None,
custom_port: int = None,
):
self.xml_path = xml_path
self.rx_dev = rx_dev
self.tx_dev = tx_dev
self.current_device = None
self.auto = auto
self.data_devices = None
self.custom_port = custom_port
iio_emu = which("iio-emu") is None
if iio_emu:
> raise Exception("iio-emu not found on path")
E Exception: iio-emu not found on path
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:40: Exception
Check failure on line 0 in test.test_ad2s1210
github-actions / Test Results
test_ad2s1210_rx_data[channel=angl0-classname=adi.ad2s1210] (test.test_ad2s1210) with error
results.xml [took 0s]
Raw output
failed on setup with "Exception: iio-emu not found on path"
request = <SubRequest '_iio_emu' for <Function test_measure_phase>>
worker_id = 'master'
@pytest.fixture(scope="session", autouse=True)
def _iio_emu(request, worker_id):
"""Initialization emulation fixture"""
if request.config.getoption("--emu"):
if worker_id == "master":
custom_port = None
else:
worker_id = worker_id.replace("gw", "")
custom_port = IIO_EMU_BASE_PORT + int(worker_id)
logger = logging.getLogger()
logger.info(f"Using custom port {custom_port}")
exml = request.config.getoption("--emu-xml")
if exml:
if not os.path.exists(exml):
raise Exception(f"{exml} not found")
emu = iio_emu_manager(xml_path=exml, auto=False, custom_port=custom_port)
emu.start()
yield emu
emu.stop()
return
# Get list of all devices available to emulate
map = get_hw_map(request)
if not map:
raise Exception("No hardware map selected (ex: --adi-hw-map)")
hw_w_emulation = {}
for hw in map:
for field in map[hw]:
if isinstance(field, dict) and "emulate" in field:
hw_w_emulation[hw] = field
if hw in hw_w_emulation:
devices = []
for field in map[hw]:
if isinstance(field, str):
devices.append(field)
hw_w_emulation[hw]["devices"] = devices
> emu = iio_emu_manager(xml_path="auto", auto=True, custom_port=custom_port)
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:379:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_libiio.plugin.iio_emu_manager object at 0x7f551bbc09d0>
xml_path = 'auto', auto = True, rx_dev = None, tx_dev = None, custom_port = None
def __init__(
self,
xml_path: str,
auto: bool = True,
rx_dev: str = None,
tx_dev: str = None,
custom_port: int = None,
):
self.xml_path = xml_path
self.rx_dev = rx_dev
self.tx_dev = tx_dev
self.current_device = None
self.auto = auto
self.data_devices = None
self.custom_port = custom_port
iio_emu = which("iio-emu") is None
if iio_emu:
> raise Exception("iio-emu not found on path")
E Exception: iio-emu not found on path
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:40: Exception
Check failure on line 0 in test.test_ad2s1210
github-actions / Test Results
test_ad2s1210_rx_data[channel=anglvel0-classname=adi.ad2s1210] (test.test_ad2s1210) with error
results.xml [took 0s]
Raw output
failed on setup with "Exception: iio-emu not found on path"
request = <SubRequest '_iio_emu' for <Function test_measure_phase>>
worker_id = 'master'
@pytest.fixture(scope="session", autouse=True)
def _iio_emu(request, worker_id):
"""Initialization emulation fixture"""
if request.config.getoption("--emu"):
if worker_id == "master":
custom_port = None
else:
worker_id = worker_id.replace("gw", "")
custom_port = IIO_EMU_BASE_PORT + int(worker_id)
logger = logging.getLogger()
logger.info(f"Using custom port {custom_port}")
exml = request.config.getoption("--emu-xml")
if exml:
if not os.path.exists(exml):
raise Exception(f"{exml} not found")
emu = iio_emu_manager(xml_path=exml, auto=False, custom_port=custom_port)
emu.start()
yield emu
emu.stop()
return
# Get list of all devices available to emulate
map = get_hw_map(request)
if not map:
raise Exception("No hardware map selected (ex: --adi-hw-map)")
hw_w_emulation = {}
for hw in map:
for field in map[hw]:
if isinstance(field, dict) and "emulate" in field:
hw_w_emulation[hw] = field
if hw in hw_w_emulation:
devices = []
for field in map[hw]:
if isinstance(field, str):
devices.append(field)
hw_w_emulation[hw]["devices"] = devices
> emu = iio_emu_manager(xml_path="auto", auto=True, custom_port=custom_port)
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:379:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_libiio.plugin.iio_emu_manager object at 0x7f551bbc09d0>
xml_path = 'auto', auto = True, rx_dev = None, tx_dev = None, custom_port = None
def __init__(
self,
xml_path: str,
auto: bool = True,
rx_dev: str = None,
tx_dev: str = None,
custom_port: int = None,
):
self.xml_path = xml_path
self.rx_dev = rx_dev
self.tx_dev = tx_dev
self.current_device = None
self.auto = auto
self.data_devices = None
self.custom_port = custom_port
iio_emu = which("iio-emu") is None
if iio_emu:
> raise Exception("iio-emu not found on path")
E Exception: iio-emu not found on path
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:40: Exception
Check failure on line 0 in test.test_ad2s1210
github-actions / Test Results
test_ad2s1210_rx_data[channel=['angl0', 'anglvel0']-classname=adi.ad2s1210] (test.test_ad2s1210) with error
results.xml [took 0s]
Raw output
failed on setup with "Exception: iio-emu not found on path"
request = <SubRequest '_iio_emu' for <Function test_measure_phase>>
worker_id = 'master'
@pytest.fixture(scope="session", autouse=True)
def _iio_emu(request, worker_id):
"""Initialization emulation fixture"""
if request.config.getoption("--emu"):
if worker_id == "master":
custom_port = None
else:
worker_id = worker_id.replace("gw", "")
custom_port = IIO_EMU_BASE_PORT + int(worker_id)
logger = logging.getLogger()
logger.info(f"Using custom port {custom_port}")
exml = request.config.getoption("--emu-xml")
if exml:
if not os.path.exists(exml):
raise Exception(f"{exml} not found")
emu = iio_emu_manager(xml_path=exml, auto=False, custom_port=custom_port)
emu.start()
yield emu
emu.stop()
return
# Get list of all devices available to emulate
map = get_hw_map(request)
if not map:
raise Exception("No hardware map selected (ex: --adi-hw-map)")
hw_w_emulation = {}
for hw in map:
for field in map[hw]:
if isinstance(field, dict) and "emulate" in field:
hw_w_emulation[hw] = field
if hw in hw_w_emulation:
devices = []
for field in map[hw]:
if isinstance(field, str):
devices.append(field)
hw_w_emulation[hw]["devices"] = devices
> emu = iio_emu_manager(xml_path="auto", auto=True, custom_port=custom_port)
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:379:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_libiio.plugin.iio_emu_manager object at 0x7f551bbc09d0>
xml_path = 'auto', auto = True, rx_dev = None, tx_dev = None, custom_port = None
def __init__(
self,
xml_path: str,
auto: bool = True,
rx_dev: str = None,
tx_dev: str = None,
custom_port: int = None,
):
self.xml_path = xml_path
self.rx_dev = rx_dev
self.tx_dev = tx_dev
self.current_device = None
self.auto = auto
self.data_devices = None
self.custom_port = custom_port
iio_emu = which("iio-emu") is None
if iio_emu:
> raise Exception("iio-emu not found on path")
E Exception: iio-emu not found on path
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:40: Exception
Check failure on line 0 in test.test_ad2s1210
github-actions / Test Results
test_ad2s1210_attr[attr=excitation_frequency-start=2000-stop=20000-step=250-tol=1-repeats=10-classname=adi.ad2s1210] (test.test_ad2s1210) with error
results.xml [took 0s]
Raw output
failed on setup with "Exception: iio-emu not found on path"
request = <SubRequest '_iio_emu' for <Function test_measure_phase>>
worker_id = 'master'
@pytest.fixture(scope="session", autouse=True)
def _iio_emu(request, worker_id):
"""Initialization emulation fixture"""
if request.config.getoption("--emu"):
if worker_id == "master":
custom_port = None
else:
worker_id = worker_id.replace("gw", "")
custom_port = IIO_EMU_BASE_PORT + int(worker_id)
logger = logging.getLogger()
logger.info(f"Using custom port {custom_port}")
exml = request.config.getoption("--emu-xml")
if exml:
if not os.path.exists(exml):
raise Exception(f"{exml} not found")
emu = iio_emu_manager(xml_path=exml, auto=False, custom_port=custom_port)
emu.start()
yield emu
emu.stop()
return
# Get list of all devices available to emulate
map = get_hw_map(request)
if not map:
raise Exception("No hardware map selected (ex: --adi-hw-map)")
hw_w_emulation = {}
for hw in map:
for field in map[hw]:
if isinstance(field, dict) and "emulate" in field:
hw_w_emulation[hw] = field
if hw in hw_w_emulation:
devices = []
for field in map[hw]:
if isinstance(field, str):
devices.append(field)
hw_w_emulation[hw]["devices"] = devices
> emu = iio_emu_manager(xml_path="auto", auto=True, custom_port=custom_port)
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:379:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_libiio.plugin.iio_emu_manager object at 0x7f551bbc09d0>
xml_path = 'auto', auto = True, rx_dev = None, tx_dev = None, custom_port = None
def __init__(
self,
xml_path: str,
auto: bool = True,
rx_dev: str = None,
tx_dev: str = None,
custom_port: int = None,
):
self.xml_path = xml_path
self.rx_dev = rx_dev
self.tx_dev = tx_dev
self.current_device = None
self.auto = auto
self.data_devices = None
self.custom_port = custom_port
iio_emu = which("iio-emu") is None
if iio_emu:
> raise Exception("iio-emu not found on path")
E Exception: iio-emu not found on path
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:40: Exception
Check failure on line 0 in test.test_ad2s1210
github-actions / Test Results
test_ad2s1210_attr_boolean[attr=hysteresis_enable-value=True-classname=adi.ad2s1210] (test.test_ad2s1210) with error
results.xml [took 0s]
Raw output
failed on setup with "Exception: iio-emu not found on path"
request = <SubRequest '_iio_emu' for <Function test_measure_phase>>
worker_id = 'master'
@pytest.fixture(scope="session", autouse=True)
def _iio_emu(request, worker_id):
"""Initialization emulation fixture"""
if request.config.getoption("--emu"):
if worker_id == "master":
custom_port = None
else:
worker_id = worker_id.replace("gw", "")
custom_port = IIO_EMU_BASE_PORT + int(worker_id)
logger = logging.getLogger()
logger.info(f"Using custom port {custom_port}")
exml = request.config.getoption("--emu-xml")
if exml:
if not os.path.exists(exml):
raise Exception(f"{exml} not found")
emu = iio_emu_manager(xml_path=exml, auto=False, custom_port=custom_port)
emu.start()
yield emu
emu.stop()
return
# Get list of all devices available to emulate
map = get_hw_map(request)
if not map:
raise Exception("No hardware map selected (ex: --adi-hw-map)")
hw_w_emulation = {}
for hw in map:
for field in map[hw]:
if isinstance(field, dict) and "emulate" in field:
hw_w_emulation[hw] = field
if hw in hw_w_emulation:
devices = []
for field in map[hw]:
if isinstance(field, str):
devices.append(field)
hw_w_emulation[hw]["devices"] = devices
> emu = iio_emu_manager(xml_path="auto", auto=True, custom_port=custom_port)
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:379:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_libiio.plugin.iio_emu_manager object at 0x7f551bbc09d0>
xml_path = 'auto', auto = True, rx_dev = None, tx_dev = None, custom_port = None
def __init__(
self,
xml_path: str,
auto: bool = True,
rx_dev: str = None,
tx_dev: str = None,
custom_port: int = None,
):
self.xml_path = xml_path
self.rx_dev = rx_dev
self.tx_dev = tx_dev
self.current_device = None
self.auto = auto
self.data_devices = None
self.custom_port = custom_port
iio_emu = which("iio-emu") is None
if iio_emu:
> raise Exception("iio-emu not found on path")
E Exception: iio-emu not found on path
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:40: Exception
Check failure on line 0 in test.test_ad2s1210
github-actions / Test Results
test_ad2s1210_attr_boolean[attr=hysteresis_enable-value=False-classname=adi.ad2s1210] (test.test_ad2s1210) with error
results.xml [took 0s]
Raw output
failed on setup with "Exception: iio-emu not found on path"
request = <SubRequest '_iio_emu' for <Function test_measure_phase>>
worker_id = 'master'
@pytest.fixture(scope="session", autouse=True)
def _iio_emu(request, worker_id):
"""Initialization emulation fixture"""
if request.config.getoption("--emu"):
if worker_id == "master":
custom_port = None
else:
worker_id = worker_id.replace("gw", "")
custom_port = IIO_EMU_BASE_PORT + int(worker_id)
logger = logging.getLogger()
logger.info(f"Using custom port {custom_port}")
exml = request.config.getoption("--emu-xml")
if exml:
if not os.path.exists(exml):
raise Exception(f"{exml} not found")
emu = iio_emu_manager(xml_path=exml, auto=False, custom_port=custom_port)
emu.start()
yield emu
emu.stop()
return
# Get list of all devices available to emulate
map = get_hw_map(request)
if not map:
raise Exception("No hardware map selected (ex: --adi-hw-map)")
hw_w_emulation = {}
for hw in map:
for field in map[hw]:
if isinstance(field, dict) and "emulate" in field:
hw_w_emulation[hw] = field
if hw in hw_w_emulation:
devices = []
for field in map[hw]:
if isinstance(field, str):
devices.append(field)
hw_w_emulation[hw]["devices"] = devices
> emu = iio_emu_manager(xml_path="auto", auto=True, custom_port=custom_port)
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:379:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_libiio.plugin.iio_emu_manager object at 0x7f551bbc09d0>
xml_path = 'auto', auto = True, rx_dev = None, tx_dev = None, custom_port = None
def __init__(
self,
xml_path: str,
auto: bool = True,
rx_dev: str = None,
tx_dev: str = None,
custom_port: int = None,
):
self.xml_path = xml_path
self.rx_dev = rx_dev
self.tx_dev = tx_dev
self.current_device = None
self.auto = auto
self.data_devices = None
self.custom_port = custom_port
iio_emu = which("iio-emu") is None
if iio_emu:
> raise Exception("iio-emu not found on path")
E Exception: iio-emu not found on path
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:40: Exception
Check failure on line 0 in test.test_ad3552r
github-actions / Test Results
test_ad3552r_raw_attr[attr=raw-start=0-stop=4000-step=1000-tol=1-repeats=3-sub_channel=voltage0-classname=adi.ad3552r] (test.test_ad3552r) with error
results.xml [took 0s]
Raw output
failed on setup with "Exception: iio-emu not found on path"
request = <SubRequest '_iio_emu' for <Function test_measure_phase>>
worker_id = 'master'
@pytest.fixture(scope="session", autouse=True)
def _iio_emu(request, worker_id):
"""Initialization emulation fixture"""
if request.config.getoption("--emu"):
if worker_id == "master":
custom_port = None
else:
worker_id = worker_id.replace("gw", "")
custom_port = IIO_EMU_BASE_PORT + int(worker_id)
logger = logging.getLogger()
logger.info(f"Using custom port {custom_port}")
exml = request.config.getoption("--emu-xml")
if exml:
if not os.path.exists(exml):
raise Exception(f"{exml} not found")
emu = iio_emu_manager(xml_path=exml, auto=False, custom_port=custom_port)
emu.start()
yield emu
emu.stop()
return
# Get list of all devices available to emulate
map = get_hw_map(request)
if not map:
raise Exception("No hardware map selected (ex: --adi-hw-map)")
hw_w_emulation = {}
for hw in map:
for field in map[hw]:
if isinstance(field, dict) and "emulate" in field:
hw_w_emulation[hw] = field
if hw in hw_w_emulation:
devices = []
for field in map[hw]:
if isinstance(field, str):
devices.append(field)
hw_w_emulation[hw]["devices"] = devices
> emu = iio_emu_manager(xml_path="auto", auto=True, custom_port=custom_port)
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:379:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_libiio.plugin.iio_emu_manager object at 0x7f551bbc09d0>
xml_path = 'auto', auto = True, rx_dev = None, tx_dev = None, custom_port = None
def __init__(
self,
xml_path: str,
auto: bool = True,
rx_dev: str = None,
tx_dev: str = None,
custom_port: int = None,
):
self.xml_path = xml_path
self.rx_dev = rx_dev
self.tx_dev = tx_dev
self.current_device = None
self.auto = auto
self.data_devices = None
self.custom_port = custom_port
iio_emu = which("iio-emu") is None
if iio_emu:
> raise Exception("iio-emu not found on path")
E Exception: iio-emu not found on path
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:40: Exception
Check failure on line 0 in test.test_ad3552r
github-actions / Test Results
test_ad3552r_raw_attr[attr=raw-start=0-stop=4000-step=1000-tol=1-repeats=3-sub_channel=voltage1-classname=adi.ad3552r] (test.test_ad3552r) with error
results.xml [took 0s]
Raw output
failed on setup with "Exception: iio-emu not found on path"
request = <SubRequest '_iio_emu' for <Function test_measure_phase>>
worker_id = 'master'
@pytest.fixture(scope="session", autouse=True)
def _iio_emu(request, worker_id):
"""Initialization emulation fixture"""
if request.config.getoption("--emu"):
if worker_id == "master":
custom_port = None
else:
worker_id = worker_id.replace("gw", "")
custom_port = IIO_EMU_BASE_PORT + int(worker_id)
logger = logging.getLogger()
logger.info(f"Using custom port {custom_port}")
exml = request.config.getoption("--emu-xml")
if exml:
if not os.path.exists(exml):
raise Exception(f"{exml} not found")
emu = iio_emu_manager(xml_path=exml, auto=False, custom_port=custom_port)
emu.start()
yield emu
emu.stop()
return
# Get list of all devices available to emulate
map = get_hw_map(request)
if not map:
raise Exception("No hardware map selected (ex: --adi-hw-map)")
hw_w_emulation = {}
for hw in map:
for field in map[hw]:
if isinstance(field, dict) and "emulate" in field:
hw_w_emulation[hw] = field
if hw in hw_w_emulation:
devices = []
for field in map[hw]:
if isinstance(field, str):
devices.append(field)
hw_w_emulation[hw]["devices"] = devices
> emu = iio_emu_manager(xml_path="auto", auto=True, custom_port=custom_port)
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:379:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_libiio.plugin.iio_emu_manager object at 0x7f551bbc09d0>
xml_path = 'auto', auto = True, rx_dev = None, tx_dev = None, custom_port = None
def __init__(
self,
xml_path: str,
auto: bool = True,
rx_dev: str = None,
tx_dev: str = None,
custom_port: int = None,
):
self.xml_path = xml_path
self.rx_dev = rx_dev
self.tx_dev = tx_dev
self.current_device = None
self.auto = auto
self.data_devices = None
self.custom_port = custom_port
iio_emu = which("iio-emu") is None
if iio_emu:
> raise Exception("iio-emu not found on path")
E Exception: iio-emu not found on path
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:40: Exception
Check failure on line 0 in test.test_ad4000
github-actions / Test Results
test_ad4000_attr[attr=sampling_frequency-val=[10000, 50000, 100000, 200000, 500000, 1000000, 2000000]-classname=adi.ad4000] (test.test_ad4000) with error
results.xml [took 0s]
Raw output
failed on setup with "Exception: iio-emu not found on path"
request = <SubRequest '_iio_emu' for <Function test_measure_phase>>
worker_id = 'master'
@pytest.fixture(scope="session", autouse=True)
def _iio_emu(request, worker_id):
"""Initialization emulation fixture"""
if request.config.getoption("--emu"):
if worker_id == "master":
custom_port = None
else:
worker_id = worker_id.replace("gw", "")
custom_port = IIO_EMU_BASE_PORT + int(worker_id)
logger = logging.getLogger()
logger.info(f"Using custom port {custom_port}")
exml = request.config.getoption("--emu-xml")
if exml:
if not os.path.exists(exml):
raise Exception(f"{exml} not found")
emu = iio_emu_manager(xml_path=exml, auto=False, custom_port=custom_port)
emu.start()
yield emu
emu.stop()
return
# Get list of all devices available to emulate
map = get_hw_map(request)
if not map:
raise Exception("No hardware map selected (ex: --adi-hw-map)")
hw_w_emulation = {}
for hw in map:
for field in map[hw]:
if isinstance(field, dict) and "emulate" in field:
hw_w_emulation[hw] = field
if hw in hw_w_emulation:
devices = []
for field in map[hw]:
if isinstance(field, str):
devices.append(field)
hw_w_emulation[hw]["devices"] = devices
> emu = iio_emu_manager(xml_path="auto", auto=True, custom_port=custom_port)
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:379:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_libiio.plugin.iio_emu_manager object at 0x7f551bbc09d0>
xml_path = 'auto', auto = True, rx_dev = None, tx_dev = None, custom_port = None
def __init__(
self,
xml_path: str,
auto: bool = True,
rx_dev: str = None,
tx_dev: str = None,
custom_port: int = None,
):
self.xml_path = xml_path
self.rx_dev = rx_dev
self.tx_dev = tx_dev
self.current_device = None
self.auto = auto
self.data_devices = None
self.custom_port = custom_port
iio_emu = which("iio-emu") is None
if iio_emu:
> raise Exception("iio-emu not found on path")
E Exception: iio-emu not found on path
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:40: Exception
Check failure on line 0 in test.test_ad4000
github-actions / Test Results
test_ad4000_rx_data[channel=0-classname=adi.ad4000] (test.test_ad4000) with error
results.xml [took 0s]
Raw output
failed on setup with "Exception: iio-emu not found on path"
request = <SubRequest '_iio_emu' for <Function test_measure_phase>>
worker_id = 'master'
@pytest.fixture(scope="session", autouse=True)
def _iio_emu(request, worker_id):
"""Initialization emulation fixture"""
if request.config.getoption("--emu"):
if worker_id == "master":
custom_port = None
else:
worker_id = worker_id.replace("gw", "")
custom_port = IIO_EMU_BASE_PORT + int(worker_id)
logger = logging.getLogger()
logger.info(f"Using custom port {custom_port}")
exml = request.config.getoption("--emu-xml")
if exml:
if not os.path.exists(exml):
raise Exception(f"{exml} not found")
emu = iio_emu_manager(xml_path=exml, auto=False, custom_port=custom_port)
emu.start()
yield emu
emu.stop()
return
# Get list of all devices available to emulate
map = get_hw_map(request)
if not map:
raise Exception("No hardware map selected (ex: --adi-hw-map)")
hw_w_emulation = {}
for hw in map:
for field in map[hw]:
if isinstance(field, dict) and "emulate" in field:
hw_w_emulation[hw] = field
if hw in hw_w_emulation:
devices = []
for field in map[hw]:
if isinstance(field, str):
devices.append(field)
hw_w_emulation[hw]["devices"] = devices
> emu = iio_emu_manager(xml_path="auto", auto=True, custom_port=custom_port)
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:379:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_libiio.plugin.iio_emu_manager object at 0x7f551bbc09d0>
xml_path = 'auto', auto = True, rx_dev = None, tx_dev = None, custom_port = None
def __init__(
self,
xml_path: str,
auto: bool = True,
rx_dev: str = None,
tx_dev: str = None,
custom_port: int = None,
):
self.xml_path = xml_path
self.rx_dev = rx_dev
self.tx_dev = tx_dev
self.current_device = None
self.auto = auto
self.data_devices = None
self.custom_port = custom_port
iio_emu = which("iio-emu") is None
if iio_emu:
> raise Exception("iio-emu not found on path")
E Exception: iio-emu not found on path
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:40: Exception
Check failure on line 0 in test.test_ad4001
github-actions / Test Results
test_ad4001_attr[attr=sampling_frequency-val=[10000, 50000, 100000, 200000, 500000, 1000000, 2000000]-classname=adi.ad4001] (test.test_ad4001) with error
results.xml [took 0s]
Raw output
failed on setup with "Exception: iio-emu not found on path"
request = <SubRequest '_iio_emu' for <Function test_measure_phase>>
worker_id = 'master'
@pytest.fixture(scope="session", autouse=True)
def _iio_emu(request, worker_id):
"""Initialization emulation fixture"""
if request.config.getoption("--emu"):
if worker_id == "master":
custom_port = None
else:
worker_id = worker_id.replace("gw", "")
custom_port = IIO_EMU_BASE_PORT + int(worker_id)
logger = logging.getLogger()
logger.info(f"Using custom port {custom_port}")
exml = request.config.getoption("--emu-xml")
if exml:
if not os.path.exists(exml):
raise Exception(f"{exml} not found")
emu = iio_emu_manager(xml_path=exml, auto=False, custom_port=custom_port)
emu.start()
yield emu
emu.stop()
return
# Get list of all devices available to emulate
map = get_hw_map(request)
if not map:
raise Exception("No hardware map selected (ex: --adi-hw-map)")
hw_w_emulation = {}
for hw in map:
for field in map[hw]:
if isinstance(field, dict) and "emulate" in field:
hw_w_emulation[hw] = field
if hw in hw_w_emulation:
devices = []
for field in map[hw]:
if isinstance(field, str):
devices.append(field)
hw_w_emulation[hw]["devices"] = devices
> emu = iio_emu_manager(xml_path="auto", auto=True, custom_port=custom_port)
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:379:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_libiio.plugin.iio_emu_manager object at 0x7f551bbc09d0>
xml_path = 'auto', auto = True, rx_dev = None, tx_dev = None, custom_port = None
def __init__(
self,
xml_path: str,
auto: bool = True,
rx_dev: str = None,
tx_dev: str = None,
custom_port: int = None,
):
self.xml_path = xml_path
self.rx_dev = rx_dev
self.tx_dev = tx_dev
self.current_device = None
self.auto = auto
self.data_devices = None
self.custom_port = custom_port
iio_emu = which("iio-emu") is None
if iio_emu:
> raise Exception("iio-emu not found on path")
E Exception: iio-emu not found on path
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:40: Exception
Check failure on line 0 in test.test_ad4001
github-actions / Test Results
test_ad4001_rx_data[channel=0-classname=adi.ad4001] (test.test_ad4001) with error
results.xml [took 0s]
Raw output
failed on setup with "Exception: iio-emu not found on path"
request = <SubRequest '_iio_emu' for <Function test_measure_phase>>
worker_id = 'master'
@pytest.fixture(scope="session", autouse=True)
def _iio_emu(request, worker_id):
"""Initialization emulation fixture"""
if request.config.getoption("--emu"):
if worker_id == "master":
custom_port = None
else:
worker_id = worker_id.replace("gw", "")
custom_port = IIO_EMU_BASE_PORT + int(worker_id)
logger = logging.getLogger()
logger.info(f"Using custom port {custom_port}")
exml = request.config.getoption("--emu-xml")
if exml:
if not os.path.exists(exml):
raise Exception(f"{exml} not found")
emu = iio_emu_manager(xml_path=exml, auto=False, custom_port=custom_port)
emu.start()
yield emu
emu.stop()
return
# Get list of all devices available to emulate
map = get_hw_map(request)
if not map:
raise Exception("No hardware map selected (ex: --adi-hw-map)")
hw_w_emulation = {}
for hw in map:
for field in map[hw]:
if isinstance(field, dict) and "emulate" in field:
hw_w_emulation[hw] = field
if hw in hw_w_emulation:
devices = []
for field in map[hw]:
if isinstance(field, str):
devices.append(field)
hw_w_emulation[hw]["devices"] = devices
> emu = iio_emu_manager(xml_path="auto", auto=True, custom_port=custom_port)
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:379:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_libiio.plugin.iio_emu_manager object at 0x7f551bbc09d0>
xml_path = 'auto', auto = True, rx_dev = None, tx_dev = None, custom_port = None
def __init__(
self,
xml_path: str,
auto: bool = True,
rx_dev: str = None,
tx_dev: str = None,
custom_port: int = None,
):
self.xml_path = xml_path
self.rx_dev = rx_dev
self.tx_dev = tx_dev
self.current_device = None
self.auto = auto
self.data_devices = None
self.custom_port = custom_port
iio_emu = which("iio-emu") is None
if iio_emu:
> raise Exception("iio-emu not found on path")
E Exception: iio-emu not found on path
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:40: Exception
Check failure on line 0 in test.test_ad4002
github-actions / Test Results
test_ad4002_attr[attr=sampling_frequency-val=[10000, 50000, 100000, 200000, 500000, 1000000, 2000000]-classname=adi.ad4002] (test.test_ad4002) with error
results.xml [took 0s]
Raw output
failed on setup with "Exception: iio-emu not found on path"
request = <SubRequest '_iio_emu' for <Function test_measure_phase>>
worker_id = 'master'
@pytest.fixture(scope="session", autouse=True)
def _iio_emu(request, worker_id):
"""Initialization emulation fixture"""
if request.config.getoption("--emu"):
if worker_id == "master":
custom_port = None
else:
worker_id = worker_id.replace("gw", "")
custom_port = IIO_EMU_BASE_PORT + int(worker_id)
logger = logging.getLogger()
logger.info(f"Using custom port {custom_port}")
exml = request.config.getoption("--emu-xml")
if exml:
if not os.path.exists(exml):
raise Exception(f"{exml} not found")
emu = iio_emu_manager(xml_path=exml, auto=False, custom_port=custom_port)
emu.start()
yield emu
emu.stop()
return
# Get list of all devices available to emulate
map = get_hw_map(request)
if not map:
raise Exception("No hardware map selected (ex: --adi-hw-map)")
hw_w_emulation = {}
for hw in map:
for field in map[hw]:
if isinstance(field, dict) and "emulate" in field:
hw_w_emulation[hw] = field
if hw in hw_w_emulation:
devices = []
for field in map[hw]:
if isinstance(field, str):
devices.append(field)
hw_w_emulation[hw]["devices"] = devices
> emu = iio_emu_manager(xml_path="auto", auto=True, custom_port=custom_port)
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:379:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_libiio.plugin.iio_emu_manager object at 0x7f551bbc09d0>
xml_path = 'auto', auto = True, rx_dev = None, tx_dev = None, custom_port = None
def __init__(
self,
xml_path: str,
auto: bool = True,
rx_dev: str = None,
tx_dev: str = None,
custom_port: int = None,
):
self.xml_path = xml_path
self.rx_dev = rx_dev
self.tx_dev = tx_dev
self.current_device = None
self.auto = auto
self.data_devices = None
self.custom_port = custom_port
iio_emu = which("iio-emu") is None
if iio_emu:
> raise Exception("iio-emu not found on path")
E Exception: iio-emu not found on path
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:40: Exception
Check failure on line 0 in test.test_ad4002
github-actions / Test Results
test_ad4002_rx_data[channel=0-classname=adi.ad4002] (test.test_ad4002) with error
results.xml [took 0s]
Raw output
failed on setup with "Exception: iio-emu not found on path"
request = <SubRequest '_iio_emu' for <Function test_measure_phase>>
worker_id = 'master'
@pytest.fixture(scope="session", autouse=True)
def _iio_emu(request, worker_id):
"""Initialization emulation fixture"""
if request.config.getoption("--emu"):
if worker_id == "master":
custom_port = None
else:
worker_id = worker_id.replace("gw", "")
custom_port = IIO_EMU_BASE_PORT + int(worker_id)
logger = logging.getLogger()
logger.info(f"Using custom port {custom_port}")
exml = request.config.getoption("--emu-xml")
if exml:
if not os.path.exists(exml):
raise Exception(f"{exml} not found")
emu = iio_emu_manager(xml_path=exml, auto=False, custom_port=custom_port)
emu.start()
yield emu
emu.stop()
return
# Get list of all devices available to emulate
map = get_hw_map(request)
if not map:
raise Exception("No hardware map selected (ex: --adi-hw-map)")
hw_w_emulation = {}
for hw in map:
for field in map[hw]:
if isinstance(field, dict) and "emulate" in field:
hw_w_emulation[hw] = field
if hw in hw_w_emulation:
devices = []
for field in map[hw]:
if isinstance(field, str):
devices.append(field)
hw_w_emulation[hw]["devices"] = devices
> emu = iio_emu_manager(xml_path="auto", auto=True, custom_port=custom_port)
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:379:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_libiio.plugin.iio_emu_manager object at 0x7f551bbc09d0>
xml_path = 'auto', auto = True, rx_dev = None, tx_dev = None, custom_port = None
def __init__(
self,
xml_path: str,
auto: bool = True,
rx_dev: str = None,
tx_dev: str = None,
custom_port: int = None,
):
self.xml_path = xml_path
self.rx_dev = rx_dev
self.tx_dev = tx_dev
self.current_device = None
self.auto = auto
self.data_devices = None
self.custom_port = custom_port
iio_emu = which("iio-emu") is None
if iio_emu:
> raise Exception("iio-emu not found on path")
E Exception: iio-emu not found on path
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:40: Exception
Check failure on line 0 in test.test_ad4003
github-actions / Test Results
test_ad4003_attr[attr=sampling_frequency-val=[10000, 50000, 100000, 200000, 500000, 1000000, 2000000]-classname=adi.ad4003] (test.test_ad4003) with error
results.xml [took 0s]
Raw output
failed on setup with "Exception: iio-emu not found on path"
request = <SubRequest '_iio_emu' for <Function test_measure_phase>>
worker_id = 'master'
@pytest.fixture(scope="session", autouse=True)
def _iio_emu(request, worker_id):
"""Initialization emulation fixture"""
if request.config.getoption("--emu"):
if worker_id == "master":
custom_port = None
else:
worker_id = worker_id.replace("gw", "")
custom_port = IIO_EMU_BASE_PORT + int(worker_id)
logger = logging.getLogger()
logger.info(f"Using custom port {custom_port}")
exml = request.config.getoption("--emu-xml")
if exml:
if not os.path.exists(exml):
raise Exception(f"{exml} not found")
emu = iio_emu_manager(xml_path=exml, auto=False, custom_port=custom_port)
emu.start()
yield emu
emu.stop()
return
# Get list of all devices available to emulate
map = get_hw_map(request)
if not map:
raise Exception("No hardware map selected (ex: --adi-hw-map)")
hw_w_emulation = {}
for hw in map:
for field in map[hw]:
if isinstance(field, dict) and "emulate" in field:
hw_w_emulation[hw] = field
if hw in hw_w_emulation:
devices = []
for field in map[hw]:
if isinstance(field, str):
devices.append(field)
hw_w_emulation[hw]["devices"] = devices
> emu = iio_emu_manager(xml_path="auto", auto=True, custom_port=custom_port)
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:379:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_libiio.plugin.iio_emu_manager object at 0x7f551bbc09d0>
xml_path = 'auto', auto = True, rx_dev = None, tx_dev = None, custom_port = None
def __init__(
self,
xml_path: str,
auto: bool = True,
rx_dev: str = None,
tx_dev: str = None,
custom_port: int = None,
):
self.xml_path = xml_path
self.rx_dev = rx_dev
self.tx_dev = tx_dev
self.current_device = None
self.auto = auto
self.data_devices = None
self.custom_port = custom_port
iio_emu = which("iio-emu") is None
if iio_emu:
> raise Exception("iio-emu not found on path")
E Exception: iio-emu not found on path
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:40: Exception
Check failure on line 0 in test.test_ad4003
github-actions / Test Results
test_ad4003_rx_data[channel=0-classname=adi.ad4003] (test.test_ad4003) with error
results.xml [took 0s]
Raw output
failed on setup with "Exception: iio-emu not found on path"
request = <SubRequest '_iio_emu' for <Function test_measure_phase>>
worker_id = 'master'
@pytest.fixture(scope="session", autouse=True)
def _iio_emu(request, worker_id):
"""Initialization emulation fixture"""
if request.config.getoption("--emu"):
if worker_id == "master":
custom_port = None
else:
worker_id = worker_id.replace("gw", "")
custom_port = IIO_EMU_BASE_PORT + int(worker_id)
logger = logging.getLogger()
logger.info(f"Using custom port {custom_port}")
exml = request.config.getoption("--emu-xml")
if exml:
if not os.path.exists(exml):
raise Exception(f"{exml} not found")
emu = iio_emu_manager(xml_path=exml, auto=False, custom_port=custom_port)
emu.start()
yield emu
emu.stop()
return
# Get list of all devices available to emulate
map = get_hw_map(request)
if not map:
raise Exception("No hardware map selected (ex: --adi-hw-map)")
hw_w_emulation = {}
for hw in map:
for field in map[hw]:
if isinstance(field, dict) and "emulate" in field:
hw_w_emulation[hw] = field
if hw in hw_w_emulation:
devices = []
for field in map[hw]:
if isinstance(field, str):
devices.append(field)
hw_w_emulation[hw]["devices"] = devices
> emu = iio_emu_manager(xml_path="auto", auto=True, custom_port=custom_port)
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:379:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_libiio.plugin.iio_emu_manager object at 0x7f551bbc09d0>
xml_path = 'auto', auto = True, rx_dev = None, tx_dev = None, custom_port = None
def __init__(
self,
xml_path: str,
auto: bool = True,
rx_dev: str = None,
tx_dev: str = None,
custom_port: int = None,
):
self.xml_path = xml_path
self.rx_dev = rx_dev
self.tx_dev = tx_dev
self.current_device = None
self.auto = auto
self.data_devices = None
self.custom_port = custom_port
iio_emu = which("iio-emu") is None
if iio_emu:
> raise Exception("iio-emu not found on path")
E Exception: iio-emu not found on path
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:40: Exception
Check failure on line 0 in test.test_ad4020
github-actions / Test Results
test_ad4020_attr[attr=sampling_frequency-val=[10000, 50000, 100000, 200000, 500000, 1000000, 1800000]-classname=adi.ad4020] (test.test_ad4020) with error
results.xml [took 0s]
Raw output
failed on setup with "Exception: iio-emu not found on path"
request = <SubRequest '_iio_emu' for <Function test_measure_phase>>
worker_id = 'master'
@pytest.fixture(scope="session", autouse=True)
def _iio_emu(request, worker_id):
"""Initialization emulation fixture"""
if request.config.getoption("--emu"):
if worker_id == "master":
custom_port = None
else:
worker_id = worker_id.replace("gw", "")
custom_port = IIO_EMU_BASE_PORT + int(worker_id)
logger = logging.getLogger()
logger.info(f"Using custom port {custom_port}")
exml = request.config.getoption("--emu-xml")
if exml:
if not os.path.exists(exml):
raise Exception(f"{exml} not found")
emu = iio_emu_manager(xml_path=exml, auto=False, custom_port=custom_port)
emu.start()
yield emu
emu.stop()
return
# Get list of all devices available to emulate
map = get_hw_map(request)
if not map:
raise Exception("No hardware map selected (ex: --adi-hw-map)")
hw_w_emulation = {}
for hw in map:
for field in map[hw]:
if isinstance(field, dict) and "emulate" in field:
hw_w_emulation[hw] = field
if hw in hw_w_emulation:
devices = []
for field in map[hw]:
if isinstance(field, str):
devices.append(field)
hw_w_emulation[hw]["devices"] = devices
> emu = iio_emu_manager(xml_path="auto", auto=True, custom_port=custom_port)
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:379:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_libiio.plugin.iio_emu_manager object at 0x7f551bbc09d0>
xml_path = 'auto', auto = True, rx_dev = None, tx_dev = None, custom_port = None
def __init__(
self,
xml_path: str,
auto: bool = True,
rx_dev: str = None,
tx_dev: str = None,
custom_port: int = None,
):
self.xml_path = xml_path
self.rx_dev = rx_dev
self.tx_dev = tx_dev
self.current_device = None
self.auto = auto
self.data_devices = None
self.custom_port = custom_port
iio_emu = which("iio-emu") is None
if iio_emu:
> raise Exception("iio-emu not found on path")
E Exception: iio-emu not found on path
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:40: Exception
Check failure on line 0 in test.test_ad4020
github-actions / Test Results
test_ad4020_rx_data[channel=0-classname=adi.ad4020] (test.test_ad4020) with error
results.xml [took 0s]
Raw output
failed on setup with "Exception: iio-emu not found on path"
request = <SubRequest '_iio_emu' for <Function test_measure_phase>>
worker_id = 'master'
@pytest.fixture(scope="session", autouse=True)
def _iio_emu(request, worker_id):
"""Initialization emulation fixture"""
if request.config.getoption("--emu"):
if worker_id == "master":
custom_port = None
else:
worker_id = worker_id.replace("gw", "")
custom_port = IIO_EMU_BASE_PORT + int(worker_id)
logger = logging.getLogger()
logger.info(f"Using custom port {custom_port}")
exml = request.config.getoption("--emu-xml")
if exml:
if not os.path.exists(exml):
raise Exception(f"{exml} not found")
emu = iio_emu_manager(xml_path=exml, auto=False, custom_port=custom_port)
emu.start()
yield emu
emu.stop()
return
# Get list of all devices available to emulate
map = get_hw_map(request)
if not map:
raise Exception("No hardware map selected (ex: --adi-hw-map)")
hw_w_emulation = {}
for hw in map:
for field in map[hw]:
if isinstance(field, dict) and "emulate" in field:
hw_w_emulation[hw] = field
if hw in hw_w_emulation:
devices = []
for field in map[hw]:
if isinstance(field, str):
devices.append(field)
hw_w_emulation[hw]["devices"] = devices
> emu = iio_emu_manager(xml_path="auto", auto=True, custom_port=custom_port)
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:379:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_libiio.plugin.iio_emu_manager object at 0x7f551bbc09d0>
xml_path = 'auto', auto = True, rx_dev = None, tx_dev = None, custom_port = None
def __init__(
self,
xml_path: str,
auto: bool = True,
rx_dev: str = None,
tx_dev: str = None,
custom_port: int = None,
):
self.xml_path = xml_path
self.rx_dev = rx_dev
self.tx_dev = tx_dev
self.current_device = None
self.auto = auto
self.data_devices = None
self.custom_port = custom_port
iio_emu = which("iio-emu") is None
if iio_emu:
> raise Exception("iio-emu not found on path")
E Exception: iio-emu not found on path
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_libiio/plugin.py:40: Exception