Push on main #146
67 fail, 1 239 skipped, 279 pass in 15m 34s
Annotations
Check warning on line 0 in test.test_cn0511_p
github-actions / Test Results
test_cn0511_attr_with_depends[frequency-depends0-1-2949120000-1-8-2-adi.cn0511] (test.test_cn0511_p) failed
results.xml [took 8s]
Raw output
BrokenPipeError: [Errno 32] Broken pipe
test_attribute_check_range_singleval_with_depends = <function attribute_check_range_singleval_with_depends at 0x7fa751da3dc0>
iio_uri = 'ip:10.1.0.49', classname = 'adi.cn0511', attr = 'frequency'
depends = {'sample_rate': 5898240000}, start = 1, stop = 2949120000, step = 1
tol = 8, repeats = 2
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, depends, start, stop, step, tol, repeats",
[("frequency", dict(sample_rate=5898240000), 1, 2949120000, 1, 8, 2),],
)
def test_cn0511_attr_with_depends(
test_attribute_check_range_singleval_with_depends,
iio_uri,
classname,
attr,
depends,
start,
stop,
step,
tol,
repeats,
):
> test_attribute_check_range_singleval_with_depends(
iio_uri, classname, attr, depends, start, stop, step, tol, repeats
)
test/test_cn0511_p.py:52:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:681: in attribute_check_range_singleval_with_depends
assert dev_interface(uri, classname, val, attr, tol)
test/common.py:105: in dev_interface
if not hasattr(sdr, attr):
adi/ad9166.py:166: in frequency
return self._get_iio_attr(self._dac0_name, "nco_frequency", True)
adi/attribute.py:127: in _get_iio_attr
self._get_iio_attr_str(channel_name, attr_name, output, _ctrl)
adi/attribute.py:122: in _get_iio_attr_str
return channel.attrs[attr_name].value
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:711: in <lambda>
lambda self: self._read(),
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:740: in _read
_c_read_attr(self._channel, self._name_ascii, buf, len(buf))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
result = -32, func = <_FuncPtr object at 0x7fa76fce2940>
arguments = (<iio.LP__Channel object at 0x7fa751a0e5c0>, b'nco_frequency', <ctypes.c_char_Array_1024 object at 0x7fa751a0e9c0>, 1024)
def _check_negative(result, func, arguments):
if result >= 0:
return result
> raise OSError(-result, _strerror(-result))
E BrokenPipeError: [Errno 32] Broken pipe
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:62: BrokenPipeError
Check warning on line 0 in test.test_cn0565
github-actions / Test Results
test_cn0565_attrs[electrode_count-0-64-8-1-1-adi.cn0565] (test.test_cn0565) failed
results.xml [took 8s]
Raw output
Exception: No device found
self = <adi.cn0565.cn0565 object at 0x7fa751aabac0>, uri = 'ip:10.1.0.49'
_device_name = 'cn0565'
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
> self._ctx = iio.Context(self.uri)
adi/context_manager.py:36:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:1358: in __init__
self._context = _new_uri(_context.encode("ascii"))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
result = <iio.LP__Context object at 0x7fa7515a63c0>
func = <_FuncPtr object at 0x7fa76fcd7400>, arguments = (b'ip:10.1.0.49',)
def _check_null(result, func, arguments):
if result:
return result
err = get_last_error() if "Windows" in _system() else get_errno()
> raise OSError(err, _strerror(err))
E BrokenPipeError: [Errno 32] Broken pipe
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:56: BrokenPipeError
During handling of the above exception, another exception occurred:
test_attribute_single_value = <function attribute_single_value at 0x7fa751da3430>
iio_uri = 'ip:10.1.0.49', classname = 'adi.cn0565', attr = 'electrode_count'
start = 0, stop = 64, step = 8, tol = 1, repeats = 1
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol, repeats",
[
("electrode_count", 0, 64, 8, 1, 1),
("force_distance", 0, 8, 1, 0, 0),
("sense_distance", 0, 8, 1, 0, 0),
],
)
def test_cn0565_attrs(
test_attribute_single_value,
iio_uri,
classname,
attr,
start,
stop,
step,
tol,
repeats,
):
> test_attribute_single_value(
iio_uri, classname, attr, start, stop, step, tol, repeats
)
test/test_cn0565.py:29:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:70: in attribute_single_value
assert dev_interface(uri, classname, val, attr, tol)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/cn0565.py:28: in __init__
context_manager.__init__(self, uri, self._device_name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.cn0565.cn0565 object at 0x7fa751aabac0>, uri = 'ip:10.1.0.49'
_device_name = 'cn0565'
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
self._ctx = iio.Context(self.uri)
except BaseException:
> raise Exception("No device found")
E Exception: No device found
adi/context_manager.py:38: Exception
Check warning on line 0 in test.test_cn0579
github-actions / Test Results
test_cn0579_attr_multiple[sampling_frequency-val0-adi.cn0579] (test.test_cn0579) failed
results.xml [took 8s]
Raw output
Exception: No device found
self = <adi.cn0579.cn0579 object at 0x7fa751603a60>, uri = 'ip:10.1.0.49'
_device_name = ' '
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
> self._ctx = iio.Context(self.uri)
adi/context_manager.py:36:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:1358: in __init__
self._context = _new_uri(_context.encode("ascii"))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
result = <iio.LP__Context object at 0x7fa751a0e940>
func = <_FuncPtr object at 0x7fa76fcd7400>, arguments = (b'ip:10.1.0.49',)
def _check_null(result, func, arguments):
if result:
return result
err = get_last_error() if "Windows" in _system() else get_errno()
> raise OSError(err, _strerror(err))
E BrokenPipeError: [Errno 32] Broken pipe
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:56: BrokenPipeError
During handling of the above exception, another exception occurred:
test_attribute_multiple_values = <function attribute_multiple_values at 0x7fa751da3700>
iio_uri = 'ip:10.1.0.49', classname = 'adi.cn0579', attr = 'sampling_frequency'
val = [1000, 2000, 4000, 8000, 16000, 32000, ...]
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, val",
[
(
"sampling_frequency",
[
1000,
2000,
4000,
8000,
16000,
32000,
64000,
128000,
256000,
32000,
], # End on a rate compatible with all power modes
),
("filter_type", ["WIDEBAND", "SINC5"],),
("power_mode", ["MEDIAN_MODE", "FAST_MODE"],),
("sync_start_enable", ["arm"],),
],
)
def test_cn0579_attr_multiple(
test_attribute_multiple_values, iio_uri, classname, attr, val
):
> test_attribute_multiple_values(iio_uri, classname, attr, val, 0)
test/test_cn0579.py:43:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:221: in attribute_multiple_values
assert dev_interface(uri, classname, val, attr, tol, sleep=sleep)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/cn0579.py:16: in __init__
ad7768_4.__init__(self, uri)
adi/ad7768.py:21: in __init__
context_manager.__init__(self, uri, self._device_name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.cn0579.cn0579 object at 0x7fa751603a60>, uri = 'ip:10.1.0.49'
_device_name = ' '
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
self._ctx = iio.Context(self.uri)
except BaseException:
> raise Exception("No device found")
E Exception: No device found
adi/context_manager.py:38: Exception
Check warning on line 0 in test.test_cn0579
github-actions / Test Results
test_cn0579_attr_multiple[filter_type-val1-adi.cn0579] (test.test_cn0579) failed
results.xml [took 5s]
Raw output
Exception: No device found
self = <adi.cn0579.cn0579 object at 0x7fa7515e7f70>, uri = 'ip:10.1.0.49'
_device_name = ' '
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
> self._ctx = iio.Context(self.uri)
adi/context_manager.py:36:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:1358: in __init__
self._context = _new_uri(_context.encode("ascii"))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
result = <iio.LP__Context object at 0x7fa751a0eac0>
func = <_FuncPtr object at 0x7fa76fcd7400>, arguments = (b'ip:10.1.0.49',)
def _check_null(result, func, arguments):
if result:
return result
err = get_last_error() if "Windows" in _system() else get_errno()
> raise OSError(err, _strerror(err))
E BrokenPipeError: [Errno 32] Broken pipe
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:56: BrokenPipeError
During handling of the above exception, another exception occurred:
test_attribute_multiple_values = <function attribute_multiple_values at 0x7fa751da3700>
iio_uri = 'ip:10.1.0.49', classname = 'adi.cn0579', attr = 'filter_type'
val = ['WIDEBAND', 'SINC5']
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, val",
[
(
"sampling_frequency",
[
1000,
2000,
4000,
8000,
16000,
32000,
64000,
128000,
256000,
32000,
], # End on a rate compatible with all power modes
),
("filter_type", ["WIDEBAND", "SINC5"],),
("power_mode", ["MEDIAN_MODE", "FAST_MODE"],),
("sync_start_enable", ["arm"],),
],
)
def test_cn0579_attr_multiple(
test_attribute_multiple_values, iio_uri, classname, attr, val
):
> test_attribute_multiple_values(iio_uri, classname, attr, val, 0)
test/test_cn0579.py:43:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:221: in attribute_multiple_values
assert dev_interface(uri, classname, val, attr, tol, sleep=sleep)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/cn0579.py:16: in __init__
ad7768_4.__init__(self, uri)
adi/ad7768.py:21: in __init__
context_manager.__init__(self, uri, self._device_name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.cn0579.cn0579 object at 0x7fa7515e7f70>, uri = 'ip:10.1.0.49'
_device_name = ' '
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
self._ctx = iio.Context(self.uri)
except BaseException:
> raise Exception("No device found")
E Exception: No device found
adi/context_manager.py:38: Exception
Check warning on line 0 in test.test_cn0579
github-actions / Test Results
test_cn0579_attr_multiple[power_mode-val2-adi.cn0579] (test.test_cn0579) failed
results.xml [took 5s]
Raw output
Exception: No device found
self = <adi.cn0579.cn0579 object at 0x7fa7515e3670>, uri = 'ip:10.1.0.49'
_device_name = ' '
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
> self._ctx = iio.Context(self.uri)
adi/context_manager.py:36:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:1358: in __init__
self._context = _new_uri(_context.encode("ascii"))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
result = <iio.LP__Context object at 0x7fa7516bc0c0>
func = <_FuncPtr object at 0x7fa76fcd7400>, arguments = (b'ip:10.1.0.49',)
def _check_null(result, func, arguments):
if result:
return result
err = get_last_error() if "Windows" in _system() else get_errno()
> raise OSError(err, _strerror(err))
E BrokenPipeError: [Errno 32] Broken pipe
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:56: BrokenPipeError
During handling of the above exception, another exception occurred:
test_attribute_multiple_values = <function attribute_multiple_values at 0x7fa751da3700>
iio_uri = 'ip:10.1.0.49', classname = 'adi.cn0579', attr = 'power_mode'
val = ['MEDIAN_MODE', 'FAST_MODE']
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, val",
[
(
"sampling_frequency",
[
1000,
2000,
4000,
8000,
16000,
32000,
64000,
128000,
256000,
32000,
], # End on a rate compatible with all power modes
),
("filter_type", ["WIDEBAND", "SINC5"],),
("power_mode", ["MEDIAN_MODE", "FAST_MODE"],),
("sync_start_enable", ["arm"],),
],
)
def test_cn0579_attr_multiple(
test_attribute_multiple_values, iio_uri, classname, attr, val
):
> test_attribute_multiple_values(iio_uri, classname, attr, val, 0)
test/test_cn0579.py:43:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:221: in attribute_multiple_values
assert dev_interface(uri, classname, val, attr, tol, sleep=sleep)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/cn0579.py:16: in __init__
ad7768_4.__init__(self, uri)
adi/ad7768.py:21: in __init__
context_manager.__init__(self, uri, self._device_name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.cn0579.cn0579 object at 0x7fa7515e3670>, uri = 'ip:10.1.0.49'
_device_name = ' '
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
self._ctx = iio.Context(self.uri)
except BaseException:
> raise Exception("No device found")
E Exception: No device found
adi/context_manager.py:38: Exception
Check warning on line 0 in test.test_cn0579
github-actions / Test Results
test_cn0579_attr_multiple[sync_start_enable-val3-adi.cn0579] (test.test_cn0579) failed
results.xml [took 5s]
Raw output
Exception: No device found
self = <adi.cn0579.cn0579 object at 0x7fa7515abe20>, uri = 'ip:10.1.0.49'
_device_name = ' '
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
> self._ctx = iio.Context(self.uri)
adi/context_manager.py:36:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:1358: in __init__
self._context = _new_uri(_context.encode("ascii"))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
result = <iio.LP__Context object at 0x7fa7516bcc40>
func = <_FuncPtr object at 0x7fa76fcd7400>, arguments = (b'ip:10.1.0.49',)
def _check_null(result, func, arguments):
if result:
return result
err = get_last_error() if "Windows" in _system() else get_errno()
> raise OSError(err, _strerror(err))
E BrokenPipeError: [Errno 32] Broken pipe
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:56: BrokenPipeError
During handling of the above exception, another exception occurred:
test_attribute_multiple_values = <function attribute_multiple_values at 0x7fa751da3700>
iio_uri = 'ip:10.1.0.49', classname = 'adi.cn0579', attr = 'sync_start_enable'
val = ['arm']
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, val",
[
(
"sampling_frequency",
[
1000,
2000,
4000,
8000,
16000,
32000,
64000,
128000,
256000,
32000,
], # End on a rate compatible with all power modes
),
("filter_type", ["WIDEBAND", "SINC5"],),
("power_mode", ["MEDIAN_MODE", "FAST_MODE"],),
("sync_start_enable", ["arm"],),
],
)
def test_cn0579_attr_multiple(
test_attribute_multiple_values, iio_uri, classname, attr, val
):
> test_attribute_multiple_values(iio_uri, classname, attr, val, 0)
test/test_cn0579.py:43:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:221: in attribute_multiple_values
assert dev_interface(uri, classname, val, attr, tol, sleep=sleep)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/cn0579.py:16: in __init__
ad7768_4.__init__(self, uri)
adi/ad7768.py:21: in __init__
context_manager.__init__(self, uri, self._device_name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.cn0579.cn0579 object at 0x7fa7515abe20>, uri = 'ip:10.1.0.49'
_device_name = ' '
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
self._ctx = iio.Context(self.uri)
except BaseException:
> raise Exception("No device found")
E Exception: No device found
adi/context_manager.py:38: Exception
Check warning on line 0 in test.test_cn0579
github-actions / Test Results
test_cn0579_attr_single[CC_CH0-0-1-1-0-adi.cn0579] (test.test_cn0579) failed
results.xml [took 5s]
Raw output
Exception: No device found
self = <adi.cn0579.cn0579 object at 0x7fa75164a4c0>, uri = 'ip:10.1.0.49'
_device_name = ' '
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
> self._ctx = iio.Context(self.uri)
adi/context_manager.py:36:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:1358: in __init__
self._context = _new_uri(_context.encode("ascii"))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
result = <iio.LP__Context object at 0x7fa75160d840>
func = <_FuncPtr object at 0x7fa76fcd7400>, arguments = (b'ip:10.1.0.49',)
def _check_null(result, func, arguments):
if result:
return result
err = get_last_error() if "Windows" in _system() else get_errno()
> raise OSError(err, _strerror(err))
E BrokenPipeError: [Errno 32] Broken pipe
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:56: BrokenPipeError
During handling of the above exception, another exception occurred:
test_attribute_single_value = <function attribute_single_value at 0x7fa751da3430>
iio_uri = 'ip:10.1.0.49', classname = 'adi.cn0579', attr = 'CC_CH0', start = 0
stop = 1, step = 1, tol = 0
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol",
[
("CC_CH0", 0, 1, 1, 0),
("CC_CH1", 0, 1, 1, 0),
("CC_CH2", 0, 1, 1, 0),
("CC_CH3", 0, 1, 1, 0),
],
)
def test_cn0579_attr_single(
test_attribute_single_value, iio_uri, classname, attr, start, stop, step, tol
):
> test_attribute_single_value(iio_uri, classname, attr, start, stop, step, tol)
test/test_cn0579.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:70: in attribute_single_value
assert dev_interface(uri, classname, val, attr, tol)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/cn0579.py:16: in __init__
ad7768_4.__init__(self, uri)
adi/ad7768.py:21: in __init__
context_manager.__init__(self, uri, self._device_name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.cn0579.cn0579 object at 0x7fa75164a4c0>, uri = 'ip:10.1.0.49'
_device_name = ' '
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
self._ctx = iio.Context(self.uri)
except BaseException:
> raise Exception("No device found")
E Exception: No device found
adi/context_manager.py:38: Exception
Check warning on line 0 in test.test_cn0579
github-actions / Test Results
test_cn0579_attr_single[CC_CH1-0-1-1-0-adi.cn0579] (test.test_cn0579) failed
results.xml [took 5s]
Raw output
Exception: No device found
self = <adi.cn0579.cn0579 object at 0x7fa751636be0>, uri = 'ip:10.1.0.49'
_device_name = ' '
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
> self._ctx = iio.Context(self.uri)
adi/context_manager.py:36:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:1358: in __init__
self._context = _new_uri(_context.encode("ascii"))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
result = <iio.LP__Context object at 0x7fa751622440>
func = <_FuncPtr object at 0x7fa76fcd7400>, arguments = (b'ip:10.1.0.49',)
def _check_null(result, func, arguments):
if result:
return result
err = get_last_error() if "Windows" in _system() else get_errno()
> raise OSError(err, _strerror(err))
E BrokenPipeError: [Errno 32] Broken pipe
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:56: BrokenPipeError
During handling of the above exception, another exception occurred:
test_attribute_single_value = <function attribute_single_value at 0x7fa751da3430>
iio_uri = 'ip:10.1.0.49', classname = 'adi.cn0579', attr = 'CC_CH1', start = 0
stop = 1, step = 1, tol = 0
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol",
[
("CC_CH0", 0, 1, 1, 0),
("CC_CH1", 0, 1, 1, 0),
("CC_CH2", 0, 1, 1, 0),
("CC_CH3", 0, 1, 1, 0),
],
)
def test_cn0579_attr_single(
test_attribute_single_value, iio_uri, classname, attr, start, stop, step, tol
):
> test_attribute_single_value(iio_uri, classname, attr, start, stop, step, tol)
test/test_cn0579.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:70: in attribute_single_value
assert dev_interface(uri, classname, val, attr, tol)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/cn0579.py:16: in __init__
ad7768_4.__init__(self, uri)
adi/ad7768.py:21: in __init__
context_manager.__init__(self, uri, self._device_name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.cn0579.cn0579 object at 0x7fa751636be0>, uri = 'ip:10.1.0.49'
_device_name = ' '
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
self._ctx = iio.Context(self.uri)
except BaseException:
> raise Exception("No device found")
E Exception: No device found
adi/context_manager.py:38: Exception
Check warning on line 0 in test.test_cn0579
github-actions / Test Results
test_cn0579_attr_single[CC_CH2-0-1-1-0-adi.cn0579] (test.test_cn0579) failed
results.xml [took 5s]
Raw output
Exception: No device found
self = <adi.cn0579.cn0579 object at 0x7fa751594730>, uri = 'ip:10.1.0.49'
_device_name = ' '
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
> self._ctx = iio.Context(self.uri)
adi/context_manager.py:36:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:1358: in __init__
self._context = _new_uri(_context.encode("ascii"))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
result = <iio.LP__Context object at 0x7fa751622940>
func = <_FuncPtr object at 0x7fa76fcd7400>, arguments = (b'ip:10.1.0.49',)
def _check_null(result, func, arguments):
if result:
return result
err = get_last_error() if "Windows" in _system() else get_errno()
> raise OSError(err, _strerror(err))
E BrokenPipeError: [Errno 32] Broken pipe
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:56: BrokenPipeError
During handling of the above exception, another exception occurred:
test_attribute_single_value = <function attribute_single_value at 0x7fa751da3430>
iio_uri = 'ip:10.1.0.49', classname = 'adi.cn0579', attr = 'CC_CH2', start = 0
stop = 1, step = 1, tol = 0
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol",
[
("CC_CH0", 0, 1, 1, 0),
("CC_CH1", 0, 1, 1, 0),
("CC_CH2", 0, 1, 1, 0),
("CC_CH3", 0, 1, 1, 0),
],
)
def test_cn0579_attr_single(
test_attribute_single_value, iio_uri, classname, attr, start, stop, step, tol
):
> test_attribute_single_value(iio_uri, classname, attr, start, stop, step, tol)
test/test_cn0579.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:70: in attribute_single_value
assert dev_interface(uri, classname, val, attr, tol)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/cn0579.py:16: in __init__
ad7768_4.__init__(self, uri)
adi/ad7768.py:21: in __init__
context_manager.__init__(self, uri, self._device_name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.cn0579.cn0579 object at 0x7fa751594730>, uri = 'ip:10.1.0.49'
_device_name = ' '
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
self._ctx = iio.Context(self.uri)
except BaseException:
> raise Exception("No device found")
E Exception: No device found
adi/context_manager.py:38: Exception
Check warning on line 0 in test.test_cn0579
github-actions / Test Results
test_cn0579_attr_single[CC_CH3-0-1-1-0-adi.cn0579] (test.test_cn0579) failed
results.xml [took 5s]
Raw output
Exception: No device found
self = <adi.cn0579.cn0579 object at 0x7fa7515753d0>, uri = 'ip:10.1.0.49'
_device_name = ' '
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
> self._ctx = iio.Context(self.uri)
adi/context_manager.py:36:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:1358: in __init__
self._context = _new_uri(_context.encode("ascii"))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
result = <iio.LP__Context object at 0x7fa7516bc0c0>
func = <_FuncPtr object at 0x7fa76fcd7400>, arguments = (b'ip:10.1.0.49',)
def _check_null(result, func, arguments):
if result:
return result
err = get_last_error() if "Windows" in _system() else get_errno()
> raise OSError(err, _strerror(err))
E BrokenPipeError: [Errno 32] Broken pipe
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:56: BrokenPipeError
During handling of the above exception, another exception occurred:
test_attribute_single_value = <function attribute_single_value at 0x7fa751da3430>
iio_uri = 'ip:10.1.0.49', classname = 'adi.cn0579', attr = 'CC_CH3', start = 0
stop = 1, step = 1, tol = 0
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol",
[
("CC_CH0", 0, 1, 1, 0),
("CC_CH1", 0, 1, 1, 0),
("CC_CH2", 0, 1, 1, 0),
("CC_CH3", 0, 1, 1, 0),
],
)
def test_cn0579_attr_single(
test_attribute_single_value, iio_uri, classname, attr, start, stop, step, tol
):
> test_attribute_single_value(iio_uri, classname, attr, start, stop, step, tol)
test/test_cn0579.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:70: in attribute_single_value
assert dev_interface(uri, classname, val, attr, tol)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/cn0579.py:16: in __init__
ad7768_4.__init__(self, uri)
adi/ad7768.py:21: in __init__
context_manager.__init__(self, uri, self._device_name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.cn0579.cn0579 object at 0x7fa7515753d0>, uri = 'ip:10.1.0.49'
_device_name = ' '
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
self._ctx = iio.Context(self.uri)
except BaseException:
> raise Exception("No device found")
E Exception: No device found
adi/context_manager.py:38: Exception
Check warning on line 0 in test.test_fmcomms5_p
github-actions / Test Results
test_fmcomms5_attr[tx_hardwaregain_chan0--86-0.0-0.25-0-adi.FMComms5] (test.test_fmcomms5_p) failed
results.xml [took 8s]
Raw output
Exception: No device found
self = <adi.fmcomms5.FMComms5 object at 0x7fa7515b6cd0>, uri = 'ip:10.1.0.49'
_device_name = ''
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
> self._ctx = iio.Context(self.uri)
adi/context_manager.py:36:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:1358: in __init__
self._context = _new_uri(_context.encode("ascii"))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
result = <iio.LP__Context object at 0x7fa751622740>
func = <_FuncPtr object at 0x7fa76fcd7400>, arguments = (b'ip:10.1.0.49',)
def _check_null(result, func, arguments):
if result:
return result
err = get_last_error() if "Windows" in _system() else get_errno()
> raise OSError(err, _strerror(err))
E BrokenPipeError: [Errno 32] Broken pipe
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:56: BrokenPipeError
During handling of the above exception, another exception occurred:
test_attribute_single_value = <function attribute_single_value at 0x7fa751da3430>
iio_uri = 'ip:10.1.0.49', classname = 'adi.FMComms5'
attr = 'tx_hardwaregain_chan0', start = -86, stop = 0.0, step = 0.25, tol = 0
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol",
[
("tx_hardwaregain_chan0", -86, 0.0, 0.25, 0),
("rx_lo", 70000000, 6000000000, 1, 8),
("tx_lo", 47000000, 6000000000, 1, 8),
("sample_rate", 2084000, 61440000, 1, 4),
],
)
def test_fmcomms5_attr(
test_attribute_single_value, iio_uri, classname, attr, start, stop, step, tol
):
> test_attribute_single_value(iio_uri, classname, attr, start, stop, step, tol)
test/test_fmcomms5_p.py:30:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:70: in attribute_single_value
assert dev_interface(uri, classname, val, attr, tol)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/fmcomms5.py:43: in __init__
context_manager.__init__(self, uri, self._device_name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.fmcomms5.FMComms5 object at 0x7fa7515b6cd0>, uri = 'ip:10.1.0.49'
_device_name = ''
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
self._ctx = iio.Context(self.uri)
except BaseException:
> raise Exception("No device found")
E Exception: No device found
adi/context_manager.py:38: Exception
Check warning on line 0 in test.test_fmcomms5_p
github-actions / Test Results
test_fmcomms5_attr[rx_lo-70000000-6000000000-1-8-adi.FMComms5] (test.test_fmcomms5_p) failed
results.xml [took 5s]
Raw output
Exception: No device found
self = <adi.fmcomms5.FMComms5 object at 0x7fa75144a3a0>, uri = 'ip:10.1.0.49'
_device_name = ''
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
> self._ctx = iio.Context(self.uri)
adi/context_manager.py:36:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:1358: in __init__
self._context = _new_uri(_context.encode("ascii"))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
result = <iio.LP__Context object at 0x7fa7514388c0>
func = <_FuncPtr object at 0x7fa76fcd7400>, arguments = (b'ip:10.1.0.49',)
def _check_null(result, func, arguments):
if result:
return result
err = get_last_error() if "Windows" in _system() else get_errno()
> raise OSError(err, _strerror(err))
E BrokenPipeError: [Errno 32] Broken pipe
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:56: BrokenPipeError
During handling of the above exception, another exception occurred:
test_attribute_single_value = <function attribute_single_value at 0x7fa751da3430>
iio_uri = 'ip:10.1.0.49', classname = 'adi.FMComms5', attr = 'rx_lo'
start = 70000000, stop = 6000000000, step = 1, tol = 8
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol",
[
("tx_hardwaregain_chan0", -86, 0.0, 0.25, 0),
("rx_lo", 70000000, 6000000000, 1, 8),
("tx_lo", 47000000, 6000000000, 1, 8),
("sample_rate", 2084000, 61440000, 1, 4),
],
)
def test_fmcomms5_attr(
test_attribute_single_value, iio_uri, classname, attr, start, stop, step, tol
):
> test_attribute_single_value(iio_uri, classname, attr, start, stop, step, tol)
test/test_fmcomms5_p.py:30:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:70: in attribute_single_value
assert dev_interface(uri, classname, val, attr, tol)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/fmcomms5.py:43: in __init__
context_manager.__init__(self, uri, self._device_name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.fmcomms5.FMComms5 object at 0x7fa75144a3a0>, uri = 'ip:10.1.0.49'
_device_name = ''
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
self._ctx = iio.Context(self.uri)
except BaseException:
> raise Exception("No device found")
E Exception: No device found
adi/context_manager.py:38: Exception
Check warning on line 0 in test.test_fmcomms5_p
github-actions / Test Results
test_fmcomms5_attr[tx_lo-47000000-6000000000-1-8-adi.FMComms5] (test.test_fmcomms5_p) failed
results.xml [took 5s]
Raw output
Exception: No device found
self = <adi.fmcomms5.FMComms5 object at 0x7fa7515e3c70>, uri = 'ip:10.1.0.49'
_device_name = ''
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
> self._ctx = iio.Context(self.uri)
adi/context_manager.py:36:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:1358: in __init__
self._context = _new_uri(_context.encode("ascii"))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
result = <iio.LP__Context object at 0x7fa751438940>
func = <_FuncPtr object at 0x7fa76fcd7400>, arguments = (b'ip:10.1.0.49',)
def _check_null(result, func, arguments):
if result:
return result
err = get_last_error() if "Windows" in _system() else get_errno()
> raise OSError(err, _strerror(err))
E BrokenPipeError: [Errno 32] Broken pipe
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:56: BrokenPipeError
During handling of the above exception, another exception occurred:
test_attribute_single_value = <function attribute_single_value at 0x7fa751da3430>
iio_uri = 'ip:10.1.0.49', classname = 'adi.FMComms5', attr = 'tx_lo'
start = 47000000, stop = 6000000000, step = 1, tol = 8
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol",
[
("tx_hardwaregain_chan0", -86, 0.0, 0.25, 0),
("rx_lo", 70000000, 6000000000, 1, 8),
("tx_lo", 47000000, 6000000000, 1, 8),
("sample_rate", 2084000, 61440000, 1, 4),
],
)
def test_fmcomms5_attr(
test_attribute_single_value, iio_uri, classname, attr, start, stop, step, tol
):
> test_attribute_single_value(iio_uri, classname, attr, start, stop, step, tol)
test/test_fmcomms5_p.py:30:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:70: in attribute_single_value
assert dev_interface(uri, classname, val, attr, tol)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/fmcomms5.py:43: in __init__
context_manager.__init__(self, uri, self._device_name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.fmcomms5.FMComms5 object at 0x7fa7515e3c70>, uri = 'ip:10.1.0.49'
_device_name = ''
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
self._ctx = iio.Context(self.uri)
except BaseException:
> raise Exception("No device found")
E Exception: No device found
adi/context_manager.py:38: Exception
Check warning on line 0 in test.test_fmcomms5_p
github-actions / Test Results
test_fmcomms5_attr[sample_rate-2084000-61440000-1-4-adi.FMComms5] (test.test_fmcomms5_p) failed
results.xml [took 5s]
Raw output
Exception: No device found
self = <adi.fmcomms5.FMComms5 object at 0x7fa751429730>, uri = 'ip:10.1.0.49'
_device_name = ''
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
> self._ctx = iio.Context(self.uri)
adi/context_manager.py:36:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:1358: in __init__
self._context = _new_uri(_context.encode("ascii"))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
result = <iio.LP__Context object at 0x7fa751622dc0>
func = <_FuncPtr object at 0x7fa76fcd7400>, arguments = (b'ip:10.1.0.49',)
def _check_null(result, func, arguments):
if result:
return result
err = get_last_error() if "Windows" in _system() else get_errno()
> raise OSError(err, _strerror(err))
E BrokenPipeError: [Errno 32] Broken pipe
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:56: BrokenPipeError
During handling of the above exception, another exception occurred:
test_attribute_single_value = <function attribute_single_value at 0x7fa751da3430>
iio_uri = 'ip:10.1.0.49', classname = 'adi.FMComms5', attr = 'sample_rate'
start = 2084000, stop = 61440000, step = 1, tol = 4
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol",
[
("tx_hardwaregain_chan0", -86, 0.0, 0.25, 0),
("rx_lo", 70000000, 6000000000, 1, 8),
("tx_lo", 47000000, 6000000000, 1, 8),
("sample_rate", 2084000, 61440000, 1, 4),
],
)
def test_fmcomms5_attr(
test_attribute_single_value, iio_uri, classname, attr, start, stop, step, tol
):
> test_attribute_single_value(iio_uri, classname, attr, start, stop, step, tol)
test/test_fmcomms5_p.py:30:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:70: in attribute_single_value
assert dev_interface(uri, classname, val, attr, tol)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/fmcomms5.py:43: in __init__
context_manager.__init__(self, uri, self._device_name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.fmcomms5.FMComms5 object at 0x7fa751429730>, uri = 'ip:10.1.0.49'
_device_name = ''
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
self._ctx = iio.Context(self.uri)
except BaseException:
> raise Exception("No device found")
E Exception: No device found
adi/context_manager.py:38: Exception
Check warning on line 0 in test.test_fmcomms5_p
github-actions / Test Results
test_fmcomms5_chip_b_attr[tx_hardwaregain_chip_b_chan0--86-0.0-0.25-0-adi.FMComms5] (test.test_fmcomms5_p) failed
results.xml [took 5s]
Raw output
Exception: No device found
self = <adi.fmcomms5.FMComms5 object at 0x7fa751679550>, uri = 'ip:10.1.0.49'
_device_name = ''
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
> self._ctx = iio.Context(self.uri)
adi/context_manager.py:36:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:1358: in __init__
self._context = _new_uri(_context.encode("ascii"))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
result = <iio.LP__Context object at 0x7fa751438d40>
func = <_FuncPtr object at 0x7fa76fcd7400>, arguments = (b'ip:10.1.0.49',)
def _check_null(result, func, arguments):
if result:
return result
err = get_last_error() if "Windows" in _system() else get_errno()
> raise OSError(err, _strerror(err))
E BrokenPipeError: [Errno 32] Broken pipe
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:56: BrokenPipeError
During handling of the above exception, another exception occurred:
test_attribute_single_value = <function attribute_single_value at 0x7fa751da3430>
iio_uri = 'ip:10.1.0.49', classname = 'adi.FMComms5'
attr = 'tx_hardwaregain_chip_b_chan0', start = -86, stop = 0.0, step = 0.25
tol = 0
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol",
[
("tx_hardwaregain_chip_b_chan0", -86, 0.0, 0.25, 0),
("rx_lo_chip_b", 70000000, 6000000000, 1, 8),
("tx_lo_chip_b", 47000000, 6000000000, 1, 8),
("sample_rate", 2084000, 61440000, 1, 4),
],
)
def test_fmcomms5_chip_b_attr(
test_attribute_single_value, iio_uri, classname, attr, start, stop, step, tol
):
> test_attribute_single_value(iio_uri, classname, attr, start, stop, step, tol)
test/test_fmcomms5_p.py:184:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:70: in attribute_single_value
assert dev_interface(uri, classname, val, attr, tol)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/fmcomms5.py:43: in __init__
context_manager.__init__(self, uri, self._device_name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.fmcomms5.FMComms5 object at 0x7fa751679550>, uri = 'ip:10.1.0.49'
_device_name = ''
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
self._ctx = iio.Context(self.uri)
except BaseException:
> raise Exception("No device found")
E Exception: No device found
adi/context_manager.py:38: Exception
Check warning on line 0 in test.test_fmcomms5_p
github-actions / Test Results
test_fmcomms5_chip_b_attr[rx_lo_chip_b-70000000-6000000000-1-8-adi.FMComms5] (test.test_fmcomms5_p) failed
results.xml [took 5s]
Raw output
Exception: No device found
self = <adi.fmcomms5.FMComms5 object at 0x7fa75132e730>, uri = 'ip:10.1.0.49'
_device_name = ''
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
> self._ctx = iio.Context(self.uri)
adi/context_manager.py:36:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:1358: in __init__
self._context = _new_uri(_context.encode("ascii"))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
result = <iio.LP__Context object at 0x7fa75160d840>
func = <_FuncPtr object at 0x7fa76fcd7400>, arguments = (b'ip:10.1.0.49',)
def _check_null(result, func, arguments):
if result:
return result
err = get_last_error() if "Windows" in _system() else get_errno()
> raise OSError(err, _strerror(err))
E BrokenPipeError: [Errno 32] Broken pipe
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:56: BrokenPipeError
During handling of the above exception, another exception occurred:
test_attribute_single_value = <function attribute_single_value at 0x7fa751da3430>
iio_uri = 'ip:10.1.0.49', classname = 'adi.FMComms5', attr = 'rx_lo_chip_b'
start = 70000000, stop = 6000000000, step = 1, tol = 8
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol",
[
("tx_hardwaregain_chip_b_chan0", -86, 0.0, 0.25, 0),
("rx_lo_chip_b", 70000000, 6000000000, 1, 8),
("tx_lo_chip_b", 47000000, 6000000000, 1, 8),
("sample_rate", 2084000, 61440000, 1, 4),
],
)
def test_fmcomms5_chip_b_attr(
test_attribute_single_value, iio_uri, classname, attr, start, stop, step, tol
):
> test_attribute_single_value(iio_uri, classname, attr, start, stop, step, tol)
test/test_fmcomms5_p.py:184:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:70: in attribute_single_value
assert dev_interface(uri, classname, val, attr, tol)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/fmcomms5.py:43: in __init__
context_manager.__init__(self, uri, self._device_name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.fmcomms5.FMComms5 object at 0x7fa75132e730>, uri = 'ip:10.1.0.49'
_device_name = ''
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
self._ctx = iio.Context(self.uri)
except BaseException:
> raise Exception("No device found")
E Exception: No device found
adi/context_manager.py:38: Exception
Check warning on line 0 in test.test_fmcomms5_p
github-actions / Test Results
test_fmcomms5_chip_b_attr[tx_lo_chip_b-47000000-6000000000-1-8-adi.FMComms5] (test.test_fmcomms5_p) failed
results.xml [took 5s]
Raw output
Exception: No device found
self = <adi.fmcomms5.FMComms5 object at 0x7fa751618370>, uri = 'ip:10.1.0.49'
_device_name = ''
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
> self._ctx = iio.Context(self.uri)
adi/context_manager.py:36:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:1358: in __init__
self._context = _new_uri(_context.encode("ascii"))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
result = <iio.LP__Context object at 0x7fa751612540>
func = <_FuncPtr object at 0x7fa76fcd7400>, arguments = (b'ip:10.1.0.49',)
def _check_null(result, func, arguments):
if result:
return result
err = get_last_error() if "Windows" in _system() else get_errno()
> raise OSError(err, _strerror(err))
E BrokenPipeError: [Errno 32] Broken pipe
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:56: BrokenPipeError
During handling of the above exception, another exception occurred:
test_attribute_single_value = <function attribute_single_value at 0x7fa751da3430>
iio_uri = 'ip:10.1.0.49', classname = 'adi.FMComms5', attr = 'tx_lo_chip_b'
start = 47000000, stop = 6000000000, step = 1, tol = 8
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol",
[
("tx_hardwaregain_chip_b_chan0", -86, 0.0, 0.25, 0),
("rx_lo_chip_b", 70000000, 6000000000, 1, 8),
("tx_lo_chip_b", 47000000, 6000000000, 1, 8),
("sample_rate", 2084000, 61440000, 1, 4),
],
)
def test_fmcomms5_chip_b_attr(
test_attribute_single_value, iio_uri, classname, attr, start, stop, step, tol
):
> test_attribute_single_value(iio_uri, classname, attr, start, stop, step, tol)
test/test_fmcomms5_p.py:184:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:70: in attribute_single_value
assert dev_interface(uri, classname, val, attr, tol)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/fmcomms5.py:43: in __init__
context_manager.__init__(self, uri, self._device_name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.fmcomms5.FMComms5 object at 0x7fa751618370>, uri = 'ip:10.1.0.49'
_device_name = ''
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
self._ctx = iio.Context(self.uri)
except BaseException:
> raise Exception("No device found")
E Exception: No device found
adi/context_manager.py:38: Exception
Check warning on line 0 in test.test_fmcomms5_p
github-actions / Test Results
test_fmcomms5_chip_b_attr[sample_rate-2084000-61440000-1-4-adi.FMComms5] (test.test_fmcomms5_p) failed
results.xml [took 5s]
Raw output
Exception: No device found
self = <adi.fmcomms5.FMComms5 object at 0x7fa751c69220>, uri = 'ip:10.1.0.49'
_device_name = ''
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
> self._ctx = iio.Context(self.uri)
adi/context_manager.py:36:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:1358: in __init__
self._context = _new_uri(_context.encode("ascii"))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
result = <iio.LP__Context object at 0x7fa751612ec0>
func = <_FuncPtr object at 0x7fa76fcd7400>, arguments = (b'ip:10.1.0.49',)
def _check_null(result, func, arguments):
if result:
return result
err = get_last_error() if "Windows" in _system() else get_errno()
> raise OSError(err, _strerror(err))
E BrokenPipeError: [Errno 32] Broken pipe
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:56: BrokenPipeError
During handling of the above exception, another exception occurred:
test_attribute_single_value = <function attribute_single_value at 0x7fa751da3430>
iio_uri = 'ip:10.1.0.49', classname = 'adi.FMComms5', attr = 'sample_rate'
start = 2084000, stop = 61440000, step = 1, tol = 4
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol",
[
("tx_hardwaregain_chip_b_chan0", -86, 0.0, 0.25, 0),
("rx_lo_chip_b", 70000000, 6000000000, 1, 8),
("tx_lo_chip_b", 47000000, 6000000000, 1, 8),
("sample_rate", 2084000, 61440000, 1, 4),
],
)
def test_fmcomms5_chip_b_attr(
test_attribute_single_value, iio_uri, classname, attr, start, stop, step, tol
):
> test_attribute_single_value(iio_uri, classname, attr, start, stop, step, tol)
test/test_fmcomms5_p.py:184:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:70: in attribute_single_value
assert dev_interface(uri, classname, val, attr, tol)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/fmcomms5.py:43: in __init__
context_manager.__init__(self, uri, self._device_name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.fmcomms5.FMComms5 object at 0x7fa751c69220>, uri = 'ip:10.1.0.49'
_device_name = ''
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
self._ctx = iio.Context(self.uri)
except BaseException:
> raise Exception("No device found")
E Exception: No device found
adi/context_manager.py:38: Exception
Check warning on line 0 in test.test_lm75
github-actions / Test Results
test_lm75_attr[max--55000-125000-30000-1-10-adi.lm75] (test.test_lm75) failed
results.xml [took 8s]
Raw output
Exception: No device found
self = <adi.lm75.lm75 object at 0x7fa75134bee0>, uri = 'ip:10.1.0.49'
_device_name = ''
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
> self._ctx = iio.Context(self.uri)
adi/context_manager.py:36:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:1358: in __init__
self._context = _new_uri(_context.encode("ascii"))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
result = <iio.LP__Context object at 0x7fa751612d40>
func = <_FuncPtr object at 0x7fa76fcd7400>, arguments = (b'ip:10.1.0.49',)
def _check_null(result, func, arguments):
if result:
return result
err = get_last_error() if "Windows" in _system() else get_errno()
> raise OSError(err, _strerror(err))
E BrokenPipeError: [Errno 32] Broken pipe
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:56: BrokenPipeError
During handling of the above exception, another exception occurred:
test_attribute_single_value = <function attribute_single_value at 0x7fa751da3430>
iio_uri = 'ip:10.1.0.49', classname = 'adi.lm75', attr = 'max', start = -55000
stop = 125000, step = 30000, tol = 1, repeats = 10
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol, repeats",
[
("max", -55000, 125000, 30000, 1, 10),
("max_hyst", -55000, 125000, 30000, 1, 10),
],
)
def test_lm75_attr(
test_attribute_single_value,
iio_uri,
classname,
attr,
start,
stop,
step,
tol,
repeats,
):
> test_attribute_single_value(
iio_uri, classname, attr, start, stop, step, tol, repeats
)
test/test_lm75.py:27:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:70: in attribute_single_value
assert dev_interface(uri, classname, val, attr, tol)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/lm75.py:27: in __init__
context_manager.__init__(self, uri, self._device_name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.lm75.lm75 object at 0x7fa75134bee0>, uri = 'ip:10.1.0.49'
_device_name = ''
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
self._ctx = iio.Context(self.uri)
except BaseException:
> raise Exception("No device found")
E Exception: No device found
adi/context_manager.py:38: Exception
Check warning on line 0 in test.test_lm75
github-actions / Test Results
test_lm75_attr[max_hyst--55000-125000-30000-1-10-adi.lm75] (test.test_lm75) failed
results.xml [took 5s]
Raw output
Exception: No device found
self = <adi.lm75.lm75 object at 0x7fa7515949d0>, uri = 'ip:10.1.0.49'
_device_name = ''
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
> self._ctx = iio.Context(self.uri)
adi/context_manager.py:36:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:1358: in __init__
self._context = _new_uri(_context.encode("ascii"))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
result = <iio.LP__Context object at 0x7fa751612c40>
func = <_FuncPtr object at 0x7fa76fcd7400>, arguments = (b'ip:10.1.0.49',)
def _check_null(result, func, arguments):
if result:
return result
err = get_last_error() if "Windows" in _system() else get_errno()
> raise OSError(err, _strerror(err))
E BrokenPipeError: [Errno 32] Broken pipe
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:56: BrokenPipeError
During handling of the above exception, another exception occurred:
test_attribute_single_value = <function attribute_single_value at 0x7fa751da3430>
iio_uri = 'ip:10.1.0.49', classname = 'adi.lm75', attr = 'max_hyst'
start = -55000, stop = 125000, step = 30000, tol = 1, repeats = 10
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol, repeats",
[
("max", -55000, 125000, 30000, 1, 10),
("max_hyst", -55000, 125000, 30000, 1, 10),
],
)
def test_lm75_attr(
test_attribute_single_value,
iio_uri,
classname,
attr,
start,
stop,
step,
tol,
repeats,
):
> test_attribute_single_value(
iio_uri, classname, attr, start, stop, step, tol, repeats
)
test/test_lm75.py:27:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:70: in attribute_single_value
assert dev_interface(uri, classname, val, attr, tol)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/lm75.py:27: in __init__
context_manager.__init__(self, uri, self._device_name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.lm75.lm75 object at 0x7fa7515949d0>, uri = 'ip:10.1.0.49'
_device_name = ''
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
self._ctx = iio.Context(self.uri)
except BaseException:
> raise Exception("No device found")
E Exception: No device found
adi/context_manager.py:38: Exception
Check warning on line 0 in test.test_ltc2387
github-actions / Test Results
test_ltc2387_attr[sampling_frequency-1000000-15000000-1000000-120000-3-adi.ltc2387] (test.test_ltc2387) failed
results.xml [took 8s]
Raw output
Exception: No device found
self = <adi.ltc2387.ltc2387 object at 0x7fa7515b3e20>, uri = 'ip:10.1.0.49'
_device_name = ''
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
> self._ctx = iio.Context(self.uri)
adi/context_manager.py:36:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:1358: in __init__
self._context = _new_uri(_context.encode("ascii"))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
result = <iio.LP__Context object at 0x7fa751612ec0>
func = <_FuncPtr object at 0x7fa76fcd7400>, arguments = (b'ip:10.1.0.49',)
def _check_null(result, func, arguments):
if result:
return result
err = get_last_error() if "Windows" in _system() else get_errno()
> raise OSError(err, _strerror(err))
E BrokenPipeError: [Errno 32] Broken pipe
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:56: BrokenPipeError
During handling of the above exception, another exception occurred:
test_attribute_single_value = <function attribute_single_value at 0x7fa751da3430>
iio_uri = 'ip:10.1.0.49', classname = 'adi.ltc2387', attr = 'sampling_frequency'
start = 1000000, stop = 15000000, step = 1000000, tol = 120000, repeats = 3
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol, repeats",
[("sampling_frequency", 1000000, 15000000, 1000000, 120000, 3),],
)
def test_ltc2387_attr(
test_attribute_single_value,
iio_uri,
classname,
attr,
start,
stop,
step,
tol,
repeats,
):
> test_attribute_single_value(
iio_uri, classname, attr, start, stop, step, tol, repeats
)
test/test_ltc2387.py:32:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:70: in attribute_single_value
assert dev_interface(uri, classname, val, attr, tol)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ltc2387.py:21: in __init__
context_manager.__init__(self, uri, self._device_name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ltc2387.ltc2387 object at 0x7fa7515b3e20>, uri = 'ip:10.1.0.49'
_device_name = ''
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
self._ctx = iio.Context(self.uri)
except BaseException:
> raise Exception("No device found")
E Exception: No device found
adi/context_manager.py:38: Exception
Check warning on line 0 in test.test_ltc2664
github-actions / Test Results
test_ltc2688_raw_attr[raw-0-65000-1000-1-3-voltage0-adi.ltc2664] (test.test_ltc2664) failed
results.xml [took 8s]
Raw output
Exception: No device found
self = <adi.ltc2664.ltc2664 object at 0x7fa7515b35e0>, uri = 'ip:10.1.0.49'
_device_name = 'LTC2664'
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
> self._ctx = iio.Context(self.uri)
adi/context_manager.py:36:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:1358: in __init__
self._context = _new_uri(_context.encode("ascii"))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
result = <iio.LP__Context object at 0x7fa75160d840>
func = <_FuncPtr object at 0x7fa76fcd7400>, arguments = (b'ip:10.1.0.49',)
def _check_null(result, func, arguments):
if result:
return result
err = get_last_error() if "Windows" in _system() else get_errno()
> raise OSError(err, _strerror(err))
E BrokenPipeError: [Errno 32] Broken pipe
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:56: BrokenPipeError
During handling of the above exception, another exception occurred:
test_attribute_single_value = <function attribute_single_value at 0x7fa751da3430>
iio_uri = 'ip:10.1.0.49', classname = 'adi.ltc2664', attr = 'raw', start = 0
stop = 65000, step = 1000, tol = 1, repeats = 3, sub_channel = 'voltage0'
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol, repeats, sub_channel",
[
("raw", 0, 65000, 1000, 1, 3, "voltage0"), # Standard Channel
("raw0", 0, 65000, 1000, 1, 3, "voltage1"), # Toggle Channel
("raw1", 0, 65000, 1000, 1, 3, "voltage1"), # Toggle Channel
("raw", 0, 65000, 1000, 1, 3, "voltage2"), # Standard Channel
("raw", 0, 65000, 1000, 1, 3, "voltage3"), # Standard Channel
],
)
def test_ltc2688_raw_attr(
test_attribute_single_value,
iio_uri,
classname,
attr,
start,
stop,
step,
tol,
repeats,
sub_channel,
):
> test_attribute_single_value(
iio_uri, classname, attr, start, stop, step, tol, repeats, sub_channel
)
test/test_ltc2664.py:32:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:66: in attribute_single_value
assert dev_interface_sub_channel(
test/common.py:151: in dev_interface_sub_channel
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ltc2664.py:17: in __init__
context_manager.__init__(self, uri, self._device_name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ltc2664.ltc2664 object at 0x7fa7515b35e0>, uri = 'ip:10.1.0.49'
_device_name = 'LTC2664'
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
self._ctx = iio.Context(self.uri)
except BaseException:
> raise Exception("No device found")
E Exception: No device found
adi/context_manager.py:38: Exception
Check warning on line 0 in test.test_ltc2664
github-actions / Test Results
test_ltc2688_raw_attr[raw0-0-65000-1000-1-3-voltage1-adi.ltc2664] (test.test_ltc2664) failed
results.xml [took 5s]
Raw output
Exception: No device found
self = <adi.ltc2664.ltc2664 object at 0x7fa7515b6f70>, uri = 'ip:10.1.0.49'
_device_name = 'LTC2664'
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
> self._ctx = iio.Context(self.uri)
adi/context_manager.py:36:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:1358: in __init__
self._context = _new_uri(_context.encode("ascii"))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
result = <iio.LP__Context object at 0x7fa75134d240>
func = <_FuncPtr object at 0x7fa76fcd7400>, arguments = (b'ip:10.1.0.49',)
def _check_null(result, func, arguments):
if result:
return result
err = get_last_error() if "Windows" in _system() else get_errno()
> raise OSError(err, _strerror(err))
E BrokenPipeError: [Errno 32] Broken pipe
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:56: BrokenPipeError
During handling of the above exception, another exception occurred:
test_attribute_single_value = <function attribute_single_value at 0x7fa751da3430>
iio_uri = 'ip:10.1.0.49', classname = 'adi.ltc2664', attr = 'raw0', start = 0
stop = 65000, step = 1000, tol = 1, repeats = 3, sub_channel = 'voltage1'
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol, repeats, sub_channel",
[
("raw", 0, 65000, 1000, 1, 3, "voltage0"), # Standard Channel
("raw0", 0, 65000, 1000, 1, 3, "voltage1"), # Toggle Channel
("raw1", 0, 65000, 1000, 1, 3, "voltage1"), # Toggle Channel
("raw", 0, 65000, 1000, 1, 3, "voltage2"), # Standard Channel
("raw", 0, 65000, 1000, 1, 3, "voltage3"), # Standard Channel
],
)
def test_ltc2688_raw_attr(
test_attribute_single_value,
iio_uri,
classname,
attr,
start,
stop,
step,
tol,
repeats,
sub_channel,
):
> test_attribute_single_value(
iio_uri, classname, attr, start, stop, step, tol, repeats, sub_channel
)
test/test_ltc2664.py:32:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:66: in attribute_single_value
assert dev_interface_sub_channel(
test/common.py:151: in dev_interface_sub_channel
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ltc2664.py:17: in __init__
context_manager.__init__(self, uri, self._device_name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ltc2664.ltc2664 object at 0x7fa7515b6f70>, uri = 'ip:10.1.0.49'
_device_name = 'LTC2664'
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
self._ctx = iio.Context(self.uri)
except BaseException:
> raise Exception("No device found")
E Exception: No device found
adi/context_manager.py:38: Exception
Check warning on line 0 in test.test_ltc2664
github-actions / Test Results
test_ltc2688_raw_attr[raw1-0-65000-1000-1-3-voltage1-adi.ltc2664] (test.test_ltc2664) failed
results.xml [took 5s]
Raw output
Exception: No device found
self = <adi.ltc2664.ltc2664 object at 0x7fa751536760>, uri = 'ip:10.1.0.49'
_device_name = 'LTC2664'
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
> self._ctx = iio.Context(self.uri)
adi/context_manager.py:36:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:1358: in __init__
self._context = _new_uri(_context.encode("ascii"))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
result = <iio.LP__Context object at 0x7fa751352840>
func = <_FuncPtr object at 0x7fa76fcd7400>, arguments = (b'ip:10.1.0.49',)
def _check_null(result, func, arguments):
if result:
return result
err = get_last_error() if "Windows" in _system() else get_errno()
> raise OSError(err, _strerror(err))
E BrokenPipeError: [Errno 32] Broken pipe
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:56: BrokenPipeError
During handling of the above exception, another exception occurred:
test_attribute_single_value = <function attribute_single_value at 0x7fa751da3430>
iio_uri = 'ip:10.1.0.49', classname = 'adi.ltc2664', attr = 'raw1', start = 0
stop = 65000, step = 1000, tol = 1, repeats = 3, sub_channel = 'voltage1'
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol, repeats, sub_channel",
[
("raw", 0, 65000, 1000, 1, 3, "voltage0"), # Standard Channel
("raw0", 0, 65000, 1000, 1, 3, "voltage1"), # Toggle Channel
("raw1", 0, 65000, 1000, 1, 3, "voltage1"), # Toggle Channel
("raw", 0, 65000, 1000, 1, 3, "voltage2"), # Standard Channel
("raw", 0, 65000, 1000, 1, 3, "voltage3"), # Standard Channel
],
)
def test_ltc2688_raw_attr(
test_attribute_single_value,
iio_uri,
classname,
attr,
start,
stop,
step,
tol,
repeats,
sub_channel,
):
> test_attribute_single_value(
iio_uri, classname, attr, start, stop, step, tol, repeats, sub_channel
)
test/test_ltc2664.py:32:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:66: in attribute_single_value
assert dev_interface_sub_channel(
test/common.py:151: in dev_interface_sub_channel
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ltc2664.py:17: in __init__
context_manager.__init__(self, uri, self._device_name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ltc2664.ltc2664 object at 0x7fa751536760>, uri = 'ip:10.1.0.49'
_device_name = 'LTC2664'
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
self._ctx = iio.Context(self.uri)
except BaseException:
> raise Exception("No device found")
E Exception: No device found
adi/context_manager.py:38: Exception
Check warning on line 0 in test.test_ltc2664
github-actions / Test Results
test_ltc2688_raw_attr[raw-0-65000-1000-1-3-voltage2-adi.ltc2664] (test.test_ltc2664) failed
results.xml [took 5s]
Raw output
Exception: No device found
self = <adi.ltc2664.ltc2664 object at 0x7fa7514d5dc0>, uri = 'ip:10.1.0.49'
_device_name = 'LTC2664'
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
> self._ctx = iio.Context(self.uri)
adi/context_manager.py:36:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:1358: in __init__
self._context = _new_uri(_context.encode("ascii"))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
result = <iio.LP__Context object at 0x7fa751352bc0>
func = <_FuncPtr object at 0x7fa76fcd7400>, arguments = (b'ip:10.1.0.49',)
def _check_null(result, func, arguments):
if result:
return result
err = get_last_error() if "Windows" in _system() else get_errno()
> raise OSError(err, _strerror(err))
E BrokenPipeError: [Errno 32] Broken pipe
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/iio.py:56: BrokenPipeError
During handling of the above exception, another exception occurred:
test_attribute_single_value = <function attribute_single_value at 0x7fa751da3430>
iio_uri = 'ip:10.1.0.49', classname = 'adi.ltc2664', attr = 'raw', start = 0
stop = 65000, step = 1000, tol = 1, repeats = 3, sub_channel = 'voltage2'
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol, repeats, sub_channel",
[
("raw", 0, 65000, 1000, 1, 3, "voltage0"), # Standard Channel
("raw0", 0, 65000, 1000, 1, 3, "voltage1"), # Toggle Channel
("raw1", 0, 65000, 1000, 1, 3, "voltage1"), # Toggle Channel
("raw", 0, 65000, 1000, 1, 3, "voltage2"), # Standard Channel
("raw", 0, 65000, 1000, 1, 3, "voltage3"), # Standard Channel
],
)
def test_ltc2688_raw_attr(
test_attribute_single_value,
iio_uri,
classname,
attr,
start,
stop,
step,
tol,
repeats,
sub_channel,
):
> test_attribute_single_value(
iio_uri, classname, attr, start, stop, step, tol, repeats, sub_channel
)
test/test_ltc2664.py:32:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:66: in attribute_single_value
assert dev_interface_sub_channel(
test/common.py:151: in dev_interface_sub_channel
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ltc2664.py:17: in __init__
context_manager.__init__(self, uri, self._device_name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ltc2664.ltc2664 object at 0x7fa7514d5dc0>, uri = 'ip:10.1.0.49'
_device_name = 'LTC2664'
def __init__(self, uri="", _device_name=""):
if self._ctx:
return
self.uri = uri
try:
if self.uri == "":
# Try USB contexts first
if _device_name != "":
contexts = iio.scan_contexts()
for c in contexts:
if _device_name in contexts[c]:
self._ctx = iio.Context(c)
break
# Try auto discover
if not self._ctx and self._uri_auto != "":
self._ctx = iio.Context(self._uri_auto)
if not self._ctx:
raise Exception("No device found")
else:
self._ctx = iio.Context(self.uri)
except BaseException:
> raise Exception("No device found")
E Exception: No device found
adi/context_manager.py:38: Exception