ad937x: fix tests #75
227 fail, 991 skipped, 357 pass in 18m 35s
Annotations
Check warning on line 0 in test.test_ad9371
github-actions / Test Results
test_ad9371_attr[tx_hardwaregain_chan0--41.95-0.0-0.05-0.05-adi.ad9371] (test.test_ad9371) failed
results.xml [took 6s]
Raw output
paramiko.ssh_exception.AuthenticationException: Authentication failed.
test_attribute_single_value = <function attribute_single_value at 0x7fd3aa5cf3b0>
iio_uri = 'ip:10.1.0.224', classname = 'adi.ad9371'
attr = 'tx_hardwaregain_chan0', start = -41.95, stop = 0.0, step = 0.05
tol = 0.05
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol",
[
("tx_hardwaregain_chan0", -41.95, 0.0, 0.05, 0.05),
("tx_hardwaregain_chan1", -41.95, 0.0, 0.05, 0.05),
("tx_lo", 70000000, 6000000000, 1000, 0),
("rx_lo", 70000000, 6000000000, 1000, 0),
],
)
def test_ad9371_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_ad9371.py:265:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:70: in attribute_single_value
assert dev_interface(uri, classname, val, attr, tol)
test/common.py:110: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ad937x.py:40: in __init__
self._jesd = jesd(uri, username=username, password=password)
adi/jesd_internal.py:20: in __init__
self.fs = sshfs(address, username, password)
adi/sshfs.py:33: in __init__
allow_agent=False,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:496: in connect
passphrase,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:818: in _auth
raise saved_exception
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:805: in _auth
self._transport.auth_password(username, password)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:1603: in auth_password
return self.auth_handler.wait_for_response(my_event)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <paramiko.auth_handler.AuthHandler object at 0x7fd3a23f0310>
event = <threading.Event object at 0x7fd3a23f08d0>
def wait_for_response(self, event):
max_ts = None
if self.transport.auth_timeout is not None:
max_ts = time.time() + self.transport.auth_timeout
while True:
event.wait(0.1)
if not self.transport.is_active():
e = self.transport.get_exception()
if (e is None) or issubclass(e.__class__, EOFError):
e = AuthenticationException(
"Authentication failed: transport shut down or saw EOF"
)
raise e
if event.is_set():
break
if max_ts is not None and max_ts <= time.time():
raise AuthenticationException("Authentication timeout.")
if not self.is_authenticated():
e = self.transport.get_exception()
if e is None:
e = AuthenticationException("Authentication failed.")
# this is horrible. Python Exception isn't yet descended from
# object, so type(e) won't work. :(
# TODO 4.0: lol. just lmao.
if issubclass(e.__class__, PartialAuthentication):
return e.allowed_types
> raise e
E paramiko.ssh_exception.AuthenticationException: Authentication failed.
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/auth_handler.py:263: AuthenticationException
Check warning on line 0 in test.test_ad9371
github-actions / Test Results
test_ad9371_attr[tx_hardwaregain_chan1--41.95-0.0-0.05-0.05-adi.ad9371] (test.test_ad9371) failed
results.xml [took 2s]
Raw output
paramiko.ssh_exception.AuthenticationException: Authentication failed.
test_attribute_single_value = <function attribute_single_value at 0x7fd3aa5cf3b0>
iio_uri = 'ip:10.1.0.224', classname = 'adi.ad9371'
attr = 'tx_hardwaregain_chan1', start = -41.95, stop = 0.0, step = 0.05
tol = 0.05
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol",
[
("tx_hardwaregain_chan0", -41.95, 0.0, 0.05, 0.05),
("tx_hardwaregain_chan1", -41.95, 0.0, 0.05, 0.05),
("tx_lo", 70000000, 6000000000, 1000, 0),
("rx_lo", 70000000, 6000000000, 1000, 0),
],
)
def test_ad9371_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_ad9371.py:265:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:70: in attribute_single_value
assert dev_interface(uri, classname, val, attr, tol)
test/common.py:110: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ad937x.py:40: in __init__
self._jesd = jesd(uri, username=username, password=password)
adi/jesd_internal.py:20: in __init__
self.fs = sshfs(address, username, password)
adi/sshfs.py:33: in __init__
allow_agent=False,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:496: in connect
passphrase,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:818: in _auth
raise saved_exception
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:805: in _auth
self._transport.auth_password(username, password)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:1603: in auth_password
return self.auth_handler.wait_for_response(my_event)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <paramiko.auth_handler.AuthHandler object at 0x7fd3a2263dd0>
event = <threading.Event object at 0x7fd3a2263f90>
def wait_for_response(self, event):
max_ts = None
if self.transport.auth_timeout is not None:
max_ts = time.time() + self.transport.auth_timeout
while True:
event.wait(0.1)
if not self.transport.is_active():
e = self.transport.get_exception()
if (e is None) or issubclass(e.__class__, EOFError):
e = AuthenticationException(
"Authentication failed: transport shut down or saw EOF"
)
raise e
if event.is_set():
break
if max_ts is not None and max_ts <= time.time():
raise AuthenticationException("Authentication timeout.")
if not self.is_authenticated():
e = self.transport.get_exception()
if e is None:
e = AuthenticationException("Authentication failed.")
# this is horrible. Python Exception isn't yet descended from
# object, so type(e) won't work. :(
# TODO 4.0: lol. just lmao.
if issubclass(e.__class__, PartialAuthentication):
return e.allowed_types
> raise e
E paramiko.ssh_exception.AuthenticationException: Authentication failed.
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/auth_handler.py:263: AuthenticationException
Check warning on line 0 in test.test_ad9371
github-actions / Test Results
test_ad9371_attr[tx_lo-70000000-6000000000-1000-0-adi.ad9371] (test.test_ad9371) failed
results.xml [took 2s]
Raw output
paramiko.ssh_exception.AuthenticationException: Authentication failed.
test_attribute_single_value = <function attribute_single_value at 0x7fd3aa5cf3b0>
iio_uri = 'ip:10.1.0.224', classname = 'adi.ad9371', attr = 'tx_lo'
start = 70000000, stop = 6000000000, step = 1000, tol = 0
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol",
[
("tx_hardwaregain_chan0", -41.95, 0.0, 0.05, 0.05),
("tx_hardwaregain_chan1", -41.95, 0.0, 0.05, 0.05),
("tx_lo", 70000000, 6000000000, 1000, 0),
("rx_lo", 70000000, 6000000000, 1000, 0),
],
)
def test_ad9371_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_ad9371.py:265:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:70: in attribute_single_value
assert dev_interface(uri, classname, val, attr, tol)
test/common.py:110: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ad937x.py:40: in __init__
self._jesd = jesd(uri, username=username, password=password)
adi/jesd_internal.py:20: in __init__
self.fs = sshfs(address, username, password)
adi/sshfs.py:33: in __init__
allow_agent=False,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:496: in connect
passphrase,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:818: in _auth
raise saved_exception
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:805: in _auth
self._transport.auth_password(username, password)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:1603: in auth_password
return self.auth_handler.wait_for_response(my_event)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <paramiko.auth_handler.AuthHandler object at 0x7fd3a23c3690>
event = <threading.Event object at 0x7fd3a23c3810>
def wait_for_response(self, event):
max_ts = None
if self.transport.auth_timeout is not None:
max_ts = time.time() + self.transport.auth_timeout
while True:
event.wait(0.1)
if not self.transport.is_active():
e = self.transport.get_exception()
if (e is None) or issubclass(e.__class__, EOFError):
e = AuthenticationException(
"Authentication failed: transport shut down or saw EOF"
)
raise e
if event.is_set():
break
if max_ts is not None and max_ts <= time.time():
raise AuthenticationException("Authentication timeout.")
if not self.is_authenticated():
e = self.transport.get_exception()
if e is None:
e = AuthenticationException("Authentication failed.")
# this is horrible. Python Exception isn't yet descended from
# object, so type(e) won't work. :(
# TODO 4.0: lol. just lmao.
if issubclass(e.__class__, PartialAuthentication):
return e.allowed_types
> raise e
E paramiko.ssh_exception.AuthenticationException: Authentication failed.
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/auth_handler.py:263: AuthenticationException
Check warning on line 0 in test.test_ad9371
github-actions / Test Results
test_ad9371_attr[rx_lo-70000000-6000000000-1000-0-adi.ad9371] (test.test_ad9371) failed
results.xml [took 2s]
Raw output
paramiko.ssh_exception.AuthenticationException: Authentication failed.
test_attribute_single_value = <function attribute_single_value at 0x7fd3aa5cf3b0>
iio_uri = 'ip:10.1.0.224', classname = 'adi.ad9371', attr = 'rx_lo'
start = 70000000, stop = 6000000000, step = 1000, tol = 0
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol",
[
("tx_hardwaregain_chan0", -41.95, 0.0, 0.05, 0.05),
("tx_hardwaregain_chan1", -41.95, 0.0, 0.05, 0.05),
("tx_lo", 70000000, 6000000000, 1000, 0),
("rx_lo", 70000000, 6000000000, 1000, 0),
],
)
def test_ad9371_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_ad9371.py:265:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:70: in attribute_single_value
assert dev_interface(uri, classname, val, attr, tol)
test/common.py:110: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ad937x.py:40: in __init__
self._jesd = jesd(uri, username=username, password=password)
adi/jesd_internal.py:20: in __init__
self.fs = sshfs(address, username, password)
adi/sshfs.py:33: in __init__
allow_agent=False,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:496: in connect
passphrase,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:818: in _auth
raise saved_exception
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:805: in _auth
self._transport.auth_password(username, password)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:1603: in auth_password
return self.auth_handler.wait_for_response(my_event)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <paramiko.auth_handler.AuthHandler object at 0x7fd3a23ddad0>
event = <threading.Event object at 0x7fd3a23ddb90>
def wait_for_response(self, event):
max_ts = None
if self.transport.auth_timeout is not None:
max_ts = time.time() + self.transport.auth_timeout
while True:
event.wait(0.1)
if not self.transport.is_active():
e = self.transport.get_exception()
if (e is None) or issubclass(e.__class__, EOFError):
e = AuthenticationException(
"Authentication failed: transport shut down or saw EOF"
)
raise e
if event.is_set():
break
if max_ts is not None and max_ts <= time.time():
raise AuthenticationException("Authentication timeout.")
if not self.is_authenticated():
e = self.transport.get_exception()
if e is None:
e = AuthenticationException("Authentication failed.")
# this is horrible. Python Exception isn't yet descended from
# object, so type(e) won't work. :(
# TODO 4.0: lol. just lmao.
if issubclass(e.__class__, PartialAuthentication):
return e.allowed_types
> raise e
E paramiko.ssh_exception.AuthenticationException: Authentication failed.
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/auth_handler.py:263: AuthenticationException
Check warning on line 0 in test.test_ad9371
github-actions / Test Results
test_ad9371_rx_data[0-adi.ad9371] (test.test_ad9371) failed
results.xml [took 2s]
Raw output
paramiko.ssh_exception.AuthenticationException: Authentication failed.
test_dma_rx = <function dma_rx at 0x7fd3aa483b90>, iio_uri = 'ip:10.1.0.224'
classname = 'adi.ad9371', channel = 0
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", range(2))
def test_ad9371_rx_data(test_dma_rx, iio_uri, classname, channel):
> test_dma_rx(iio_uri, classname, channel)
test/test_ad9371.py:273:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/dma_tests.py:49: in dma_rx
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ad937x.py:40: in __init__
self._jesd = jesd(uri, username=username, password=password)
adi/jesd_internal.py:20: in __init__
self.fs = sshfs(address, username, password)
adi/sshfs.py:33: in __init__
allow_agent=False,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:496: in connect
passphrase,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:818: in _auth
raise saved_exception
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:805: in _auth
self._transport.auth_password(username, password)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:1603: in auth_password
return self.auth_handler.wait_for_response(my_event)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <paramiko.auth_handler.AuthHandler object at 0x7fd3a1ae57d0>
event = <threading.Event object at 0x7fd3a1ae5310>
def wait_for_response(self, event):
max_ts = None
if self.transport.auth_timeout is not None:
max_ts = time.time() + self.transport.auth_timeout
while True:
event.wait(0.1)
if not self.transport.is_active():
e = self.transport.get_exception()
if (e is None) or issubclass(e.__class__, EOFError):
e = AuthenticationException(
"Authentication failed: transport shut down or saw EOF"
)
raise e
if event.is_set():
break
if max_ts is not None and max_ts <= time.time():
raise AuthenticationException("Authentication timeout.")
if not self.is_authenticated():
e = self.transport.get_exception()
if e is None:
e = AuthenticationException("Authentication failed.")
# this is horrible. Python Exception isn't yet descended from
# object, so type(e) won't work. :(
# TODO 4.0: lol. just lmao.
if issubclass(e.__class__, PartialAuthentication):
return e.allowed_types
> raise e
E paramiko.ssh_exception.AuthenticationException: Authentication failed.
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/auth_handler.py:263: AuthenticationException
Check warning on line 0 in test.test_ad9371
github-actions / Test Results
test_ad9371_rx_data[1-adi.ad9371] (test.test_ad9371) failed
results.xml [took 2s]
Raw output
paramiko.ssh_exception.AuthenticationException: Authentication failed.
test_dma_rx = <function dma_rx at 0x7fd3aa483b90>, iio_uri = 'ip:10.1.0.224'
classname = 'adi.ad9371', channel = 1
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", range(2))
def test_ad9371_rx_data(test_dma_rx, iio_uri, classname, channel):
> test_dma_rx(iio_uri, classname, channel)
test/test_ad9371.py:273:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/dma_tests.py:49: in dma_rx
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ad937x.py:40: in __init__
self._jesd = jesd(uri, username=username, password=password)
adi/jesd_internal.py:20: in __init__
self.fs = sshfs(address, username, password)
adi/sshfs.py:33: in __init__
allow_agent=False,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:496: in connect
passphrase,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:818: in _auth
raise saved_exception
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:805: in _auth
self._transport.auth_password(username, password)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:1603: in auth_password
return self.auth_handler.wait_for_response(my_event)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <paramiko.auth_handler.AuthHandler object at 0x7fd3a22652d0>
event = <threading.Event object at 0x7fd3a2265a50>
def wait_for_response(self, event):
max_ts = None
if self.transport.auth_timeout is not None:
max_ts = time.time() + self.transport.auth_timeout
while True:
event.wait(0.1)
if not self.transport.is_active():
e = self.transport.get_exception()
if (e is None) or issubclass(e.__class__, EOFError):
e = AuthenticationException(
"Authentication failed: transport shut down or saw EOF"
)
raise e
if event.is_set():
break
if max_ts is not None and max_ts <= time.time():
raise AuthenticationException("Authentication timeout.")
if not self.is_authenticated():
e = self.transport.get_exception()
if e is None:
e = AuthenticationException("Authentication failed.")
# this is horrible. Python Exception isn't yet descended from
# object, so type(e) won't work. :(
# TODO 4.0: lol. just lmao.
if issubclass(e.__class__, PartialAuthentication):
return e.allowed_types
> raise e
E paramiko.ssh_exception.AuthenticationException: Authentication failed.
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/auth_handler.py:263: AuthenticationException
Check warning on line 0 in test.test_ad9371
github-actions / Test Results
test_ad9371_dds_loopback[param_set0-2000000-0.5--13-0-adi.ad9371] (test.test_ad9371) failed
results.xml [took 2s]
Raw output
paramiko.ssh_exception.AuthenticationException: Authentication failed.
test_dds_loopback = <function dds_loopback at 0x7fd3a7154950>
iio_uri = 'ip:10.1.0.224', classname = 'adi.ad9371'
param_set = {'ensm_mode': 'radio_on', 'gain_control_mode': 'manual', 'rx_hardwaregain_chan0': 10, 'rx_hardwaregain_chan1': 10, ...}
channel = 0, frequency = 2000000, scale = 0.5, peak_min = -13
@pytest.mark.no_obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
"param_set, frequency, scale, peak_min",
[
(params["one_cw_tone_manual"], 2000000, 0.5, -13),
(params["one_cw_tone_manual"], 2000000, 0.12, -25),
(params["one_cw_tone_manual"], 2000000, 0.25, -19),
(params["one_cw_tone_auto"], 1000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 2000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 500000, 0.12, -14.7),
(params["change_attenuation_5dB_manual"], 2000000, 0.25, -23.8),
(params["change_attenuation_10dB_manual"], 2000000, 0.25, -28.75),
(params["change_attenuation_0dB_auto"], 1000000, 0.12, -9),
(params["change_attenuation_20dB_auto"], 1000000, 0.12, -24.7),
(params["change_rf_gain_0dB_manual"], 2000000, 0.25, -29),
(params["change_rf_gain_20dB_manual"], 2000000, 0.25, -9),
(params["change_temp_gain_up"], 2000000, 0.25, -16),
(params["change_temp_gain_down"], 2000000, 0.25, -22),
],
)
def test_ad9371_dds_loopback(
test_dds_loopback,
iio_uri,
classname,
param_set,
channel,
frequency,
scale,
peak_min,
):
test_dds_loopback(
> iio_uri, classname, param_set, channel, frequency, scale, peak_min
)
test/test_ad9371.py:311:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/dma_tests.py:286: in dds_loopback
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ad937x.py:40: in __init__
self._jesd = jesd(uri, username=username, password=password)
adi/jesd_internal.py:20: in __init__
self.fs = sshfs(address, username, password)
adi/sshfs.py:33: in __init__
allow_agent=False,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:496: in connect
passphrase,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:818: in _auth
raise saved_exception
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:805: in _auth
self._transport.auth_password(username, password)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:1603: in auth_password
return self.auth_handler.wait_for_response(my_event)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <paramiko.auth_handler.AuthHandler object at 0x7fd3a1a9b6d0>
event = <threading.Event object at 0x7fd3a1a9b950>
def wait_for_response(self, event):
max_ts = None
if self.transport.auth_timeout is not None:
max_ts = time.time() + self.transport.auth_timeout
while True:
event.wait(0.1)
if not self.transport.is_active():
e = self.transport.get_exception()
if (e is None) or issubclass(e.__class__, EOFError):
e = AuthenticationException(
"Authentication failed: transport shut down or saw EOF"
)
raise e
if event.is_set():
break
if max_ts is not None and max_ts <= time.time():
raise AuthenticationException("Authentication timeout.")
if not self.is_authenticated():
e = self.transport.get_exception()
if e is None:
e = AuthenticationException("Authentication failed.")
# this is horrible. Python Exception isn't yet descended from
# object, so type(e) won't work. :(
# TODO 4.0: lol. just lmao.
if issubclass(e.__class__, PartialAuthentication):
return e.allowed_types
> raise e
E paramiko.ssh_exception.AuthenticationException: Authentication failed.
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/auth_handler.py:263: AuthenticationException
Check warning on line 0 in test.test_ad9371
github-actions / Test Results
test_ad9371_dds_loopback[param_set0-2000000-0.5--13-1-adi.ad9371] (test.test_ad9371) failed
results.xml [took 2s]
Raw output
paramiko.ssh_exception.AuthenticationException: Authentication failed.
test_dds_loopback = <function dds_loopback at 0x7fd3a7154950>
iio_uri = 'ip:10.1.0.224', classname = 'adi.ad9371'
param_set = {'ensm_mode': 'radio_on', 'gain_control_mode': 'manual', 'rx_hardwaregain_chan0': 10, 'rx_hardwaregain_chan1': 10, ...}
channel = 1, frequency = 2000000, scale = 0.5, peak_min = -13
@pytest.mark.no_obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
"param_set, frequency, scale, peak_min",
[
(params["one_cw_tone_manual"], 2000000, 0.5, -13),
(params["one_cw_tone_manual"], 2000000, 0.12, -25),
(params["one_cw_tone_manual"], 2000000, 0.25, -19),
(params["one_cw_tone_auto"], 1000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 2000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 500000, 0.12, -14.7),
(params["change_attenuation_5dB_manual"], 2000000, 0.25, -23.8),
(params["change_attenuation_10dB_manual"], 2000000, 0.25, -28.75),
(params["change_attenuation_0dB_auto"], 1000000, 0.12, -9),
(params["change_attenuation_20dB_auto"], 1000000, 0.12, -24.7),
(params["change_rf_gain_0dB_manual"], 2000000, 0.25, -29),
(params["change_rf_gain_20dB_manual"], 2000000, 0.25, -9),
(params["change_temp_gain_up"], 2000000, 0.25, -16),
(params["change_temp_gain_down"], 2000000, 0.25, -22),
],
)
def test_ad9371_dds_loopback(
test_dds_loopback,
iio_uri,
classname,
param_set,
channel,
frequency,
scale,
peak_min,
):
test_dds_loopback(
> iio_uri, classname, param_set, channel, frequency, scale, peak_min
)
test/test_ad9371.py:311:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/dma_tests.py:286: in dds_loopback
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ad937x.py:40: in __init__
self._jesd = jesd(uri, username=username, password=password)
adi/jesd_internal.py:20: in __init__
self.fs = sshfs(address, username, password)
adi/sshfs.py:33: in __init__
allow_agent=False,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:496: in connect
passphrase,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:818: in _auth
raise saved_exception
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:805: in _auth
self._transport.auth_password(username, password)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:1603: in auth_password
return self.auth_handler.wait_for_response(my_event)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <paramiko.auth_handler.AuthHandler object at 0x7fd3a22b2390>
event = <threading.Event object at 0x7fd3a22b2e90>
def wait_for_response(self, event):
max_ts = None
if self.transport.auth_timeout is not None:
max_ts = time.time() + self.transport.auth_timeout
while True:
event.wait(0.1)
if not self.transport.is_active():
e = self.transport.get_exception()
if (e is None) or issubclass(e.__class__, EOFError):
e = AuthenticationException(
"Authentication failed: transport shut down or saw EOF"
)
raise e
if event.is_set():
break
if max_ts is not None and max_ts <= time.time():
raise AuthenticationException("Authentication timeout.")
if not self.is_authenticated():
e = self.transport.get_exception()
if e is None:
e = AuthenticationException("Authentication failed.")
# this is horrible. Python Exception isn't yet descended from
# object, so type(e) won't work. :(
# TODO 4.0: lol. just lmao.
if issubclass(e.__class__, PartialAuthentication):
return e.allowed_types
> raise e
E paramiko.ssh_exception.AuthenticationException: Authentication failed.
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/auth_handler.py:263: AuthenticationException
Check warning on line 0 in test.test_ad9371
github-actions / Test Results
test_ad9371_dds_loopback[param_set1-2000000-0.12--25-0-adi.ad9371] (test.test_ad9371) failed
results.xml [took 2s]
Raw output
paramiko.ssh_exception.AuthenticationException: Authentication failed.
test_dds_loopback = <function dds_loopback at 0x7fd3a7154950>
iio_uri = 'ip:10.1.0.224', classname = 'adi.ad9371'
param_set = {'ensm_mode': 'radio_on', 'gain_control_mode': 'manual', 'rx_hardwaregain_chan0': 10, 'rx_hardwaregain_chan1': 10, ...}
channel = 0, frequency = 2000000, scale = 0.12, peak_min = -25
@pytest.mark.no_obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
"param_set, frequency, scale, peak_min",
[
(params["one_cw_tone_manual"], 2000000, 0.5, -13),
(params["one_cw_tone_manual"], 2000000, 0.12, -25),
(params["one_cw_tone_manual"], 2000000, 0.25, -19),
(params["one_cw_tone_auto"], 1000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 2000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 500000, 0.12, -14.7),
(params["change_attenuation_5dB_manual"], 2000000, 0.25, -23.8),
(params["change_attenuation_10dB_manual"], 2000000, 0.25, -28.75),
(params["change_attenuation_0dB_auto"], 1000000, 0.12, -9),
(params["change_attenuation_20dB_auto"], 1000000, 0.12, -24.7),
(params["change_rf_gain_0dB_manual"], 2000000, 0.25, -29),
(params["change_rf_gain_20dB_manual"], 2000000, 0.25, -9),
(params["change_temp_gain_up"], 2000000, 0.25, -16),
(params["change_temp_gain_down"], 2000000, 0.25, -22),
],
)
def test_ad9371_dds_loopback(
test_dds_loopback,
iio_uri,
classname,
param_set,
channel,
frequency,
scale,
peak_min,
):
test_dds_loopback(
> iio_uri, classname, param_set, channel, frequency, scale, peak_min
)
test/test_ad9371.py:311:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/dma_tests.py:286: in dds_loopback
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ad937x.py:40: in __init__
self._jesd = jesd(uri, username=username, password=password)
adi/jesd_internal.py:20: in __init__
self.fs = sshfs(address, username, password)
adi/sshfs.py:33: in __init__
allow_agent=False,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:496: in connect
passphrase,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:818: in _auth
raise saved_exception
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:805: in _auth
self._transport.auth_password(username, password)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:1603: in auth_password
return self.auth_handler.wait_for_response(my_event)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <paramiko.auth_handler.AuthHandler object at 0x7fd3a1b3abd0>
event = <threading.Event object at 0x7fd3a1b3af90>
def wait_for_response(self, event):
max_ts = None
if self.transport.auth_timeout is not None:
max_ts = time.time() + self.transport.auth_timeout
while True:
event.wait(0.1)
if not self.transport.is_active():
e = self.transport.get_exception()
if (e is None) or issubclass(e.__class__, EOFError):
e = AuthenticationException(
"Authentication failed: transport shut down or saw EOF"
)
raise e
if event.is_set():
break
if max_ts is not None and max_ts <= time.time():
raise AuthenticationException("Authentication timeout.")
if not self.is_authenticated():
e = self.transport.get_exception()
if e is None:
e = AuthenticationException("Authentication failed.")
# this is horrible. Python Exception isn't yet descended from
# object, so type(e) won't work. :(
# TODO 4.0: lol. just lmao.
if issubclass(e.__class__, PartialAuthentication):
return e.allowed_types
> raise e
E paramiko.ssh_exception.AuthenticationException: Authentication failed.
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/auth_handler.py:263: AuthenticationException
Check warning on line 0 in test.test_ad9371
github-actions / Test Results
test_ad9371_dds_loopback[param_set1-2000000-0.12--25-1-adi.ad9371] (test.test_ad9371) failed
results.xml [took 2s]
Raw output
paramiko.ssh_exception.AuthenticationException: Authentication failed.
test_dds_loopback = <function dds_loopback at 0x7fd3a7154950>
iio_uri = 'ip:10.1.0.224', classname = 'adi.ad9371'
param_set = {'ensm_mode': 'radio_on', 'gain_control_mode': 'manual', 'rx_hardwaregain_chan0': 10, 'rx_hardwaregain_chan1': 10, ...}
channel = 1, frequency = 2000000, scale = 0.12, peak_min = -25
@pytest.mark.no_obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
"param_set, frequency, scale, peak_min",
[
(params["one_cw_tone_manual"], 2000000, 0.5, -13),
(params["one_cw_tone_manual"], 2000000, 0.12, -25),
(params["one_cw_tone_manual"], 2000000, 0.25, -19),
(params["one_cw_tone_auto"], 1000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 2000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 500000, 0.12, -14.7),
(params["change_attenuation_5dB_manual"], 2000000, 0.25, -23.8),
(params["change_attenuation_10dB_manual"], 2000000, 0.25, -28.75),
(params["change_attenuation_0dB_auto"], 1000000, 0.12, -9),
(params["change_attenuation_20dB_auto"], 1000000, 0.12, -24.7),
(params["change_rf_gain_0dB_manual"], 2000000, 0.25, -29),
(params["change_rf_gain_20dB_manual"], 2000000, 0.25, -9),
(params["change_temp_gain_up"], 2000000, 0.25, -16),
(params["change_temp_gain_down"], 2000000, 0.25, -22),
],
)
def test_ad9371_dds_loopback(
test_dds_loopback,
iio_uri,
classname,
param_set,
channel,
frequency,
scale,
peak_min,
):
test_dds_loopback(
> iio_uri, classname, param_set, channel, frequency, scale, peak_min
)
test/test_ad9371.py:311:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/dma_tests.py:286: in dds_loopback
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ad937x.py:40: in __init__
self._jesd = jesd(uri, username=username, password=password)
adi/jesd_internal.py:20: in __init__
self.fs = sshfs(address, username, password)
adi/sshfs.py:33: in __init__
allow_agent=False,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:496: in connect
passphrase,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:818: in _auth
raise saved_exception
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:805: in _auth
self._transport.auth_password(username, password)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:1603: in auth_password
return self.auth_handler.wait_for_response(my_event)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <paramiko.auth_handler.AuthHandler object at 0x7fd3a23464d0>
event = <threading.Event object at 0x7fd3a2346f50>
def wait_for_response(self, event):
max_ts = None
if self.transport.auth_timeout is not None:
max_ts = time.time() + self.transport.auth_timeout
while True:
event.wait(0.1)
if not self.transport.is_active():
e = self.transport.get_exception()
if (e is None) or issubclass(e.__class__, EOFError):
e = AuthenticationException(
"Authentication failed: transport shut down or saw EOF"
)
raise e
if event.is_set():
break
if max_ts is not None and max_ts <= time.time():
raise AuthenticationException("Authentication timeout.")
if not self.is_authenticated():
e = self.transport.get_exception()
if e is None:
e = AuthenticationException("Authentication failed.")
# this is horrible. Python Exception isn't yet descended from
# object, so type(e) won't work. :(
# TODO 4.0: lol. just lmao.
if issubclass(e.__class__, PartialAuthentication):
return e.allowed_types
> raise e
E paramiko.ssh_exception.AuthenticationException: Authentication failed.
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/auth_handler.py:263: AuthenticationException
Check warning on line 0 in test.test_ad9371
github-actions / Test Results
test_ad9371_dds_loopback[param_set2-2000000-0.25--19-0-adi.ad9371] (test.test_ad9371) failed
results.xml [took 2s]
Raw output
paramiko.ssh_exception.AuthenticationException: Authentication failed.
test_dds_loopback = <function dds_loopback at 0x7fd3a7154950>
iio_uri = 'ip:10.1.0.224', classname = 'adi.ad9371'
param_set = {'ensm_mode': 'radio_on', 'gain_control_mode': 'manual', 'rx_hardwaregain_chan0': 10, 'rx_hardwaregain_chan1': 10, ...}
channel = 0, frequency = 2000000, scale = 0.25, peak_min = -19
@pytest.mark.no_obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
"param_set, frequency, scale, peak_min",
[
(params["one_cw_tone_manual"], 2000000, 0.5, -13),
(params["one_cw_tone_manual"], 2000000, 0.12, -25),
(params["one_cw_tone_manual"], 2000000, 0.25, -19),
(params["one_cw_tone_auto"], 1000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 2000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 500000, 0.12, -14.7),
(params["change_attenuation_5dB_manual"], 2000000, 0.25, -23.8),
(params["change_attenuation_10dB_manual"], 2000000, 0.25, -28.75),
(params["change_attenuation_0dB_auto"], 1000000, 0.12, -9),
(params["change_attenuation_20dB_auto"], 1000000, 0.12, -24.7),
(params["change_rf_gain_0dB_manual"], 2000000, 0.25, -29),
(params["change_rf_gain_20dB_manual"], 2000000, 0.25, -9),
(params["change_temp_gain_up"], 2000000, 0.25, -16),
(params["change_temp_gain_down"], 2000000, 0.25, -22),
],
)
def test_ad9371_dds_loopback(
test_dds_loopback,
iio_uri,
classname,
param_set,
channel,
frequency,
scale,
peak_min,
):
test_dds_loopback(
> iio_uri, classname, param_set, channel, frequency, scale, peak_min
)
test/test_ad9371.py:311:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/dma_tests.py:286: in dds_loopback
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ad937x.py:40: in __init__
self._jesd = jesd(uri, username=username, password=password)
adi/jesd_internal.py:20: in __init__
self.fs = sshfs(address, username, password)
adi/sshfs.py:33: in __init__
allow_agent=False,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:496: in connect
passphrase,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:818: in _auth
raise saved_exception
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:805: in _auth
self._transport.auth_password(username, password)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:1603: in auth_password
return self.auth_handler.wait_for_response(my_event)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <paramiko.auth_handler.AuthHandler object at 0x7fd3a1bad510>
event = <threading.Event object at 0x7fd3a1bad610>
def wait_for_response(self, event):
max_ts = None
if self.transport.auth_timeout is not None:
max_ts = time.time() + self.transport.auth_timeout
while True:
event.wait(0.1)
if not self.transport.is_active():
e = self.transport.get_exception()
if (e is None) or issubclass(e.__class__, EOFError):
e = AuthenticationException(
"Authentication failed: transport shut down or saw EOF"
)
raise e
if event.is_set():
break
if max_ts is not None and max_ts <= time.time():
raise AuthenticationException("Authentication timeout.")
if not self.is_authenticated():
e = self.transport.get_exception()
if e is None:
e = AuthenticationException("Authentication failed.")
# this is horrible. Python Exception isn't yet descended from
# object, so type(e) won't work. :(
# TODO 4.0: lol. just lmao.
if issubclass(e.__class__, PartialAuthentication):
return e.allowed_types
> raise e
E paramiko.ssh_exception.AuthenticationException: Authentication failed.
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/auth_handler.py:263: AuthenticationException
Check warning on line 0 in test.test_ad9371
github-actions / Test Results
test_ad9371_dds_loopback[param_set2-2000000-0.25--19-1-adi.ad9371] (test.test_ad9371) failed
results.xml [took 0s]
Raw output
paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
self = <paramiko.Transport at 0xa278a110 (unconnected)>
def _check_banner(self):
# this is slow, but we only have to do it once
for i in range(100):
# give them 15 seconds for the first line, then just 2 seconds
# each additional line. (some sites have very high latency.)
if i == 0:
timeout = self.banner_timeout
else:
timeout = 2
try:
> buf = self.packetizer.readline(timeout)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:2327:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/packet.py:381: in readline
buf += self._read_timeout(timeout)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <paramiko.packet.Packetizer object at 0x7fd3a278ad90>, timeout = 2
def _read_timeout(self, timeout):
start = time.time()
while True:
try:
x = self.__socket.recv(128)
if len(x) == 0:
> raise EOFError()
E EOFError
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/packet.py:618: EOFError
During handling of the above exception, another exception occurred:
test_dds_loopback = <function dds_loopback at 0x7fd3a7154950>
iio_uri = 'ip:10.1.0.224', classname = 'adi.ad9371'
param_set = {'ensm_mode': 'radio_on', 'gain_control_mode': 'manual', 'rx_hardwaregain_chan0': 10, 'rx_hardwaregain_chan1': 10, ...}
channel = 1, frequency = 2000000, scale = 0.25, peak_min = -19
@pytest.mark.no_obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
"param_set, frequency, scale, peak_min",
[
(params["one_cw_tone_manual"], 2000000, 0.5, -13),
(params["one_cw_tone_manual"], 2000000, 0.12, -25),
(params["one_cw_tone_manual"], 2000000, 0.25, -19),
(params["one_cw_tone_auto"], 1000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 2000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 500000, 0.12, -14.7),
(params["change_attenuation_5dB_manual"], 2000000, 0.25, -23.8),
(params["change_attenuation_10dB_manual"], 2000000, 0.25, -28.75),
(params["change_attenuation_0dB_auto"], 1000000, 0.12, -9),
(params["change_attenuation_20dB_auto"], 1000000, 0.12, -24.7),
(params["change_rf_gain_0dB_manual"], 2000000, 0.25, -29),
(params["change_rf_gain_20dB_manual"], 2000000, 0.25, -9),
(params["change_temp_gain_up"], 2000000, 0.25, -16),
(params["change_temp_gain_down"], 2000000, 0.25, -22),
],
)
def test_ad9371_dds_loopback(
test_dds_loopback,
iio_uri,
classname,
param_set,
channel,
frequency,
scale,
peak_min,
):
test_dds_loopback(
> iio_uri, classname, param_set, channel, frequency, scale, peak_min
)
test/test_ad9371.py:311:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/dma_tests.py:286: in dds_loopback
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ad937x.py:40: in __init__
self._jesd = jesd(uri, username=username, password=password)
adi/jesd_internal.py:20: in __init__
self.fs = sshfs(address, username, password)
adi/sshfs.py:33: in __init__
allow_agent=False,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:451: in connect
t.start_client(timeout=timeout)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:738: in start_client
raise e
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:2143: in run
self._check_banner()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <paramiko.Transport at 0xa278a110 (unconnected)>
def _check_banner(self):
# this is slow, but we only have to do it once
for i in range(100):
# give them 15 seconds for the first line, then just 2 seconds
# each additional line. (some sites have very high latency.)
if i == 0:
timeout = self.banner_timeout
else:
timeout = 2
try:
buf = self.packetizer.readline(timeout)
except ProxyCommandFailure:
raise
except Exception as e:
raise SSHException(
> "Error reading SSH protocol banner" + str(e)
)
E paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:2332: SSHException
Check warning on line 0 in test.test_ad9371
github-actions / Test Results
test_ad9371_dds_loopback[param_set3-1000000-0.12--14.7-0-adi.ad9371] (test.test_ad9371) failed
results.xml [took 2s]
Raw output
paramiko.ssh_exception.AuthenticationException: Authentication failed.
test_dds_loopback = <function dds_loopback at 0x7fd3a7154950>
iio_uri = 'ip:10.1.0.224', classname = 'adi.ad9371'
param_set = {'ensm_mode': 'radio_on', 'gain_control_mode': 'automatic', 'rx_lo': 2500000000, 'rx_temp_comp_gain_chan0': 0, ...}
channel = 0, frequency = 1000000, scale = 0.12, peak_min = -14.7
@pytest.mark.no_obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
"param_set, frequency, scale, peak_min",
[
(params["one_cw_tone_manual"], 2000000, 0.5, -13),
(params["one_cw_tone_manual"], 2000000, 0.12, -25),
(params["one_cw_tone_manual"], 2000000, 0.25, -19),
(params["one_cw_tone_auto"], 1000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 2000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 500000, 0.12, -14.7),
(params["change_attenuation_5dB_manual"], 2000000, 0.25, -23.8),
(params["change_attenuation_10dB_manual"], 2000000, 0.25, -28.75),
(params["change_attenuation_0dB_auto"], 1000000, 0.12, -9),
(params["change_attenuation_20dB_auto"], 1000000, 0.12, -24.7),
(params["change_rf_gain_0dB_manual"], 2000000, 0.25, -29),
(params["change_rf_gain_20dB_manual"], 2000000, 0.25, -9),
(params["change_temp_gain_up"], 2000000, 0.25, -16),
(params["change_temp_gain_down"], 2000000, 0.25, -22),
],
)
def test_ad9371_dds_loopback(
test_dds_loopback,
iio_uri,
classname,
param_set,
channel,
frequency,
scale,
peak_min,
):
test_dds_loopback(
> iio_uri, classname, param_set, channel, frequency, scale, peak_min
)
test/test_ad9371.py:311:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/dma_tests.py:286: in dds_loopback
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ad937x.py:40: in __init__
self._jesd = jesd(uri, username=username, password=password)
adi/jesd_internal.py:20: in __init__
self.fs = sshfs(address, username, password)
adi/sshfs.py:33: in __init__
allow_agent=False,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:496: in connect
passphrase,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:818: in _auth
raise saved_exception
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:805: in _auth
self._transport.auth_password(username, password)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:1603: in auth_password
return self.auth_handler.wait_for_response(my_event)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <paramiko.auth_handler.AuthHandler object at 0x7fd3a1a81ed0>
event = <threading.Event object at 0x7fd3a2662790>
def wait_for_response(self, event):
max_ts = None
if self.transport.auth_timeout is not None:
max_ts = time.time() + self.transport.auth_timeout
while True:
event.wait(0.1)
if not self.transport.is_active():
e = self.transport.get_exception()
if (e is None) or issubclass(e.__class__, EOFError):
e = AuthenticationException(
"Authentication failed: transport shut down or saw EOF"
)
raise e
if event.is_set():
break
if max_ts is not None and max_ts <= time.time():
raise AuthenticationException("Authentication timeout.")
if not self.is_authenticated():
e = self.transport.get_exception()
if e is None:
e = AuthenticationException("Authentication failed.")
# this is horrible. Python Exception isn't yet descended from
# object, so type(e) won't work. :(
# TODO 4.0: lol. just lmao.
if issubclass(e.__class__, PartialAuthentication):
return e.allowed_types
> raise e
E paramiko.ssh_exception.AuthenticationException: Authentication failed.
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/auth_handler.py:263: AuthenticationException
Check warning on line 0 in test.test_ad9371
github-actions / Test Results
test_ad9371_dds_loopback[param_set3-1000000-0.12--14.7-1-adi.ad9371] (test.test_ad9371) failed
results.xml [took 2s]
Raw output
paramiko.ssh_exception.AuthenticationException: Authentication failed.
test_dds_loopback = <function dds_loopback at 0x7fd3a7154950>
iio_uri = 'ip:10.1.0.224', classname = 'adi.ad9371'
param_set = {'ensm_mode': 'radio_on', 'gain_control_mode': 'automatic', 'rx_lo': 2500000000, 'rx_temp_comp_gain_chan0': 0, ...}
channel = 1, frequency = 1000000, scale = 0.12, peak_min = -14.7
@pytest.mark.no_obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
"param_set, frequency, scale, peak_min",
[
(params["one_cw_tone_manual"], 2000000, 0.5, -13),
(params["one_cw_tone_manual"], 2000000, 0.12, -25),
(params["one_cw_tone_manual"], 2000000, 0.25, -19),
(params["one_cw_tone_auto"], 1000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 2000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 500000, 0.12, -14.7),
(params["change_attenuation_5dB_manual"], 2000000, 0.25, -23.8),
(params["change_attenuation_10dB_manual"], 2000000, 0.25, -28.75),
(params["change_attenuation_0dB_auto"], 1000000, 0.12, -9),
(params["change_attenuation_20dB_auto"], 1000000, 0.12, -24.7),
(params["change_rf_gain_0dB_manual"], 2000000, 0.25, -29),
(params["change_rf_gain_20dB_manual"], 2000000, 0.25, -9),
(params["change_temp_gain_up"], 2000000, 0.25, -16),
(params["change_temp_gain_down"], 2000000, 0.25, -22),
],
)
def test_ad9371_dds_loopback(
test_dds_loopback,
iio_uri,
classname,
param_set,
channel,
frequency,
scale,
peak_min,
):
test_dds_loopback(
> iio_uri, classname, param_set, channel, frequency, scale, peak_min
)
test/test_ad9371.py:311:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/dma_tests.py:286: in dds_loopback
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ad937x.py:40: in __init__
self._jesd = jesd(uri, username=username, password=password)
adi/jesd_internal.py:20: in __init__
self.fs = sshfs(address, username, password)
adi/sshfs.py:33: in __init__
allow_agent=False,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:496: in connect
passphrase,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:818: in _auth
raise saved_exception
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:805: in _auth
self._transport.auth_password(username, password)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:1603: in auth_password
return self.auth_handler.wait_for_response(my_event)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <paramiko.auth_handler.AuthHandler object at 0x7fd3a224d750>
event = <threading.Event object at 0x7fd3a224d950>
def wait_for_response(self, event):
max_ts = None
if self.transport.auth_timeout is not None:
max_ts = time.time() + self.transport.auth_timeout
while True:
event.wait(0.1)
if not self.transport.is_active():
e = self.transport.get_exception()
if (e is None) or issubclass(e.__class__, EOFError):
e = AuthenticationException(
"Authentication failed: transport shut down or saw EOF"
)
raise e
if event.is_set():
break
if max_ts is not None and max_ts <= time.time():
raise AuthenticationException("Authentication timeout.")
if not self.is_authenticated():
e = self.transport.get_exception()
if e is None:
e = AuthenticationException("Authentication failed.")
# this is horrible. Python Exception isn't yet descended from
# object, so type(e) won't work. :(
# TODO 4.0: lol. just lmao.
if issubclass(e.__class__, PartialAuthentication):
return e.allowed_types
> raise e
E paramiko.ssh_exception.AuthenticationException: Authentication failed.
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/auth_handler.py:263: AuthenticationException
Check warning on line 0 in test.test_ad9371
github-actions / Test Results
test_ad9371_dds_loopback[param_set4-2000000-0.12--14.7-0-adi.ad9371] (test.test_ad9371) failed
results.xml [took 2s]
Raw output
paramiko.ssh_exception.AuthenticationException: Authentication failed.
test_dds_loopback = <function dds_loopback at 0x7fd3a7154950>
iio_uri = 'ip:10.1.0.224', classname = 'adi.ad9371'
param_set = {'ensm_mode': 'radio_on', 'gain_control_mode': 'automatic', 'rx_lo': 2500000000, 'rx_temp_comp_gain_chan0': 0, ...}
channel = 0, frequency = 2000000, scale = 0.12, peak_min = -14.7
@pytest.mark.no_obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
"param_set, frequency, scale, peak_min",
[
(params["one_cw_tone_manual"], 2000000, 0.5, -13),
(params["one_cw_tone_manual"], 2000000, 0.12, -25),
(params["one_cw_tone_manual"], 2000000, 0.25, -19),
(params["one_cw_tone_auto"], 1000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 2000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 500000, 0.12, -14.7),
(params["change_attenuation_5dB_manual"], 2000000, 0.25, -23.8),
(params["change_attenuation_10dB_manual"], 2000000, 0.25, -28.75),
(params["change_attenuation_0dB_auto"], 1000000, 0.12, -9),
(params["change_attenuation_20dB_auto"], 1000000, 0.12, -24.7),
(params["change_rf_gain_0dB_manual"], 2000000, 0.25, -29),
(params["change_rf_gain_20dB_manual"], 2000000, 0.25, -9),
(params["change_temp_gain_up"], 2000000, 0.25, -16),
(params["change_temp_gain_down"], 2000000, 0.25, -22),
],
)
def test_ad9371_dds_loopback(
test_dds_loopback,
iio_uri,
classname,
param_set,
channel,
frequency,
scale,
peak_min,
):
test_dds_loopback(
> iio_uri, classname, param_set, channel, frequency, scale, peak_min
)
test/test_ad9371.py:311:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/dma_tests.py:286: in dds_loopback
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ad937x.py:40: in __init__
self._jesd = jesd(uri, username=username, password=password)
adi/jesd_internal.py:20: in __init__
self.fs = sshfs(address, username, password)
adi/sshfs.py:33: in __init__
allow_agent=False,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:496: in connect
passphrase,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:818: in _auth
raise saved_exception
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:805: in _auth
self._transport.auth_password(username, password)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:1603: in auth_password
return self.auth_handler.wait_for_response(my_event)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <paramiko.auth_handler.AuthHandler object at 0x7fd3a1b316d0>
event = <threading.Event object at 0x7fd3a1b31bd0>
def wait_for_response(self, event):
max_ts = None
if self.transport.auth_timeout is not None:
max_ts = time.time() + self.transport.auth_timeout
while True:
event.wait(0.1)
if not self.transport.is_active():
e = self.transport.get_exception()
if (e is None) or issubclass(e.__class__, EOFError):
e = AuthenticationException(
"Authentication failed: transport shut down or saw EOF"
)
raise e
if event.is_set():
break
if max_ts is not None and max_ts <= time.time():
raise AuthenticationException("Authentication timeout.")
if not self.is_authenticated():
e = self.transport.get_exception()
if e is None:
e = AuthenticationException("Authentication failed.")
# this is horrible. Python Exception isn't yet descended from
# object, so type(e) won't work. :(
# TODO 4.0: lol. just lmao.
if issubclass(e.__class__, PartialAuthentication):
return e.allowed_types
> raise e
E paramiko.ssh_exception.AuthenticationException: Authentication failed.
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/auth_handler.py:263: AuthenticationException
Check warning on line 0 in test.test_ad9371
github-actions / Test Results
test_ad9371_dds_loopback[param_set4-2000000-0.12--14.7-1-adi.ad9371] (test.test_ad9371) failed
results.xml [took 0s]
Raw output
paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
self = <paramiko.Transport at 0xa17d2050 (unconnected)>
def _check_banner(self):
# this is slow, but we only have to do it once
for i in range(100):
# give them 15 seconds for the first line, then just 2 seconds
# each additional line. (some sites have very high latency.)
if i == 0:
timeout = self.banner_timeout
else:
timeout = 2
try:
> buf = self.packetizer.readline(timeout)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:2327:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/packet.py:381: in readline
buf += self._read_timeout(timeout)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <paramiko.packet.Packetizer object at 0x7fd3a17d2810>, timeout = 2
def _read_timeout(self, timeout):
start = time.time()
while True:
try:
x = self.__socket.recv(128)
if len(x) == 0:
> raise EOFError()
E EOFError
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/packet.py:618: EOFError
During handling of the above exception, another exception occurred:
test_dds_loopback = <function dds_loopback at 0x7fd3a7154950>
iio_uri = 'ip:10.1.0.224', classname = 'adi.ad9371'
param_set = {'ensm_mode': 'radio_on', 'gain_control_mode': 'automatic', 'rx_lo': 2500000000, 'rx_temp_comp_gain_chan0': 0, ...}
channel = 1, frequency = 2000000, scale = 0.12, peak_min = -14.7
@pytest.mark.no_obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
"param_set, frequency, scale, peak_min",
[
(params["one_cw_tone_manual"], 2000000, 0.5, -13),
(params["one_cw_tone_manual"], 2000000, 0.12, -25),
(params["one_cw_tone_manual"], 2000000, 0.25, -19),
(params["one_cw_tone_auto"], 1000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 2000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 500000, 0.12, -14.7),
(params["change_attenuation_5dB_manual"], 2000000, 0.25, -23.8),
(params["change_attenuation_10dB_manual"], 2000000, 0.25, -28.75),
(params["change_attenuation_0dB_auto"], 1000000, 0.12, -9),
(params["change_attenuation_20dB_auto"], 1000000, 0.12, -24.7),
(params["change_rf_gain_0dB_manual"], 2000000, 0.25, -29),
(params["change_rf_gain_20dB_manual"], 2000000, 0.25, -9),
(params["change_temp_gain_up"], 2000000, 0.25, -16),
(params["change_temp_gain_down"], 2000000, 0.25, -22),
],
)
def test_ad9371_dds_loopback(
test_dds_loopback,
iio_uri,
classname,
param_set,
channel,
frequency,
scale,
peak_min,
):
test_dds_loopback(
> iio_uri, classname, param_set, channel, frequency, scale, peak_min
)
test/test_ad9371.py:311:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/dma_tests.py:286: in dds_loopback
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ad937x.py:40: in __init__
self._jesd = jesd(uri, username=username, password=password)
adi/jesd_internal.py:20: in __init__
self.fs = sshfs(address, username, password)
adi/sshfs.py:33: in __init__
allow_agent=False,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:451: in connect
t.start_client(timeout=timeout)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:738: in start_client
raise e
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:2143: in run
self._check_banner()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <paramiko.Transport at 0xa17d2050 (unconnected)>
def _check_banner(self):
# this is slow, but we only have to do it once
for i in range(100):
# give them 15 seconds for the first line, then just 2 seconds
# each additional line. (some sites have very high latency.)
if i == 0:
timeout = self.banner_timeout
else:
timeout = 2
try:
buf = self.packetizer.readline(timeout)
except ProxyCommandFailure:
raise
except Exception as e:
raise SSHException(
> "Error reading SSH protocol banner" + str(e)
)
E paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:2332: SSHException
Check warning on line 0 in test.test_ad9371
github-actions / Test Results
test_ad9371_dds_loopback[param_set5-500000-0.12--14.7-0-adi.ad9371] (test.test_ad9371) failed
results.xml [took 0s]
Raw output
paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
self = <paramiko.Transport at 0xa1afb2d0 (unconnected)>
def _check_banner(self):
# this is slow, but we only have to do it once
for i in range(100):
# give them 15 seconds for the first line, then just 2 seconds
# each additional line. (some sites have very high latency.)
if i == 0:
timeout = self.banner_timeout
else:
timeout = 2
try:
> buf = self.packetizer.readline(timeout)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:2327:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/packet.py:381: in readline
buf += self._read_timeout(timeout)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <paramiko.packet.Packetizer object at 0x7fd3a232db10>, timeout = 2
def _read_timeout(self, timeout):
start = time.time()
while True:
try:
x = self.__socket.recv(128)
if len(x) == 0:
> raise EOFError()
E EOFError
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/packet.py:618: EOFError
During handling of the above exception, another exception occurred:
test_dds_loopback = <function dds_loopback at 0x7fd3a7154950>
iio_uri = 'ip:10.1.0.224', classname = 'adi.ad9371'
param_set = {'ensm_mode': 'radio_on', 'gain_control_mode': 'automatic', 'rx_lo': 2500000000, 'rx_temp_comp_gain_chan0': 0, ...}
channel = 0, frequency = 500000, scale = 0.12, peak_min = -14.7
@pytest.mark.no_obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
"param_set, frequency, scale, peak_min",
[
(params["one_cw_tone_manual"], 2000000, 0.5, -13),
(params["one_cw_tone_manual"], 2000000, 0.12, -25),
(params["one_cw_tone_manual"], 2000000, 0.25, -19),
(params["one_cw_tone_auto"], 1000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 2000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 500000, 0.12, -14.7),
(params["change_attenuation_5dB_manual"], 2000000, 0.25, -23.8),
(params["change_attenuation_10dB_manual"], 2000000, 0.25, -28.75),
(params["change_attenuation_0dB_auto"], 1000000, 0.12, -9),
(params["change_attenuation_20dB_auto"], 1000000, 0.12, -24.7),
(params["change_rf_gain_0dB_manual"], 2000000, 0.25, -29),
(params["change_rf_gain_20dB_manual"], 2000000, 0.25, -9),
(params["change_temp_gain_up"], 2000000, 0.25, -16),
(params["change_temp_gain_down"], 2000000, 0.25, -22),
],
)
def test_ad9371_dds_loopback(
test_dds_loopback,
iio_uri,
classname,
param_set,
channel,
frequency,
scale,
peak_min,
):
test_dds_loopback(
> iio_uri, classname, param_set, channel, frequency, scale, peak_min
)
test/test_ad9371.py:311:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/dma_tests.py:286: in dds_loopback
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ad937x.py:40: in __init__
self._jesd = jesd(uri, username=username, password=password)
adi/jesd_internal.py:20: in __init__
self.fs = sshfs(address, username, password)
adi/sshfs.py:33: in __init__
allow_agent=False,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:451: in connect
t.start_client(timeout=timeout)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:738: in start_client
raise e
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:2143: in run
self._check_banner()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <paramiko.Transport at 0xa1afb2d0 (unconnected)>
def _check_banner(self):
# this is slow, but we only have to do it once
for i in range(100):
# give them 15 seconds for the first line, then just 2 seconds
# each additional line. (some sites have very high latency.)
if i == 0:
timeout = self.banner_timeout
else:
timeout = 2
try:
buf = self.packetizer.readline(timeout)
except ProxyCommandFailure:
raise
except Exception as e:
raise SSHException(
> "Error reading SSH protocol banner" + str(e)
)
E paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:2332: SSHException
Check warning on line 0 in test.test_ad9371
github-actions / Test Results
test_ad9371_dds_loopback[param_set5-500000-0.12--14.7-1-adi.ad9371] (test.test_ad9371) failed
results.xml [took 2s]
Raw output
paramiko.ssh_exception.AuthenticationException: Authentication failed.
test_dds_loopback = <function dds_loopback at 0x7fd3a7154950>
iio_uri = 'ip:10.1.0.224', classname = 'adi.ad9371'
param_set = {'ensm_mode': 'radio_on', 'gain_control_mode': 'automatic', 'rx_lo': 2500000000, 'rx_temp_comp_gain_chan0': 0, ...}
channel = 1, frequency = 500000, scale = 0.12, peak_min = -14.7
@pytest.mark.no_obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
"param_set, frequency, scale, peak_min",
[
(params["one_cw_tone_manual"], 2000000, 0.5, -13),
(params["one_cw_tone_manual"], 2000000, 0.12, -25),
(params["one_cw_tone_manual"], 2000000, 0.25, -19),
(params["one_cw_tone_auto"], 1000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 2000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 500000, 0.12, -14.7),
(params["change_attenuation_5dB_manual"], 2000000, 0.25, -23.8),
(params["change_attenuation_10dB_manual"], 2000000, 0.25, -28.75),
(params["change_attenuation_0dB_auto"], 1000000, 0.12, -9),
(params["change_attenuation_20dB_auto"], 1000000, 0.12, -24.7),
(params["change_rf_gain_0dB_manual"], 2000000, 0.25, -29),
(params["change_rf_gain_20dB_manual"], 2000000, 0.25, -9),
(params["change_temp_gain_up"], 2000000, 0.25, -16),
(params["change_temp_gain_down"], 2000000, 0.25, -22),
],
)
def test_ad9371_dds_loopback(
test_dds_loopback,
iio_uri,
classname,
param_set,
channel,
frequency,
scale,
peak_min,
):
test_dds_loopback(
> iio_uri, classname, param_set, channel, frequency, scale, peak_min
)
test/test_ad9371.py:311:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/dma_tests.py:286: in dds_loopback
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ad937x.py:40: in __init__
self._jesd = jesd(uri, username=username, password=password)
adi/jesd_internal.py:20: in __init__
self.fs = sshfs(address, username, password)
adi/sshfs.py:33: in __init__
allow_agent=False,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:496: in connect
passphrase,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:818: in _auth
raise saved_exception
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:805: in _auth
self._transport.auth_password(username, password)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:1603: in auth_password
return self.auth_handler.wait_for_response(my_event)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <paramiko.auth_handler.AuthHandler object at 0x7fd3a2695fd0>
event = <threading.Event object at 0x7fd3a26956d0>
def wait_for_response(self, event):
max_ts = None
if self.transport.auth_timeout is not None:
max_ts = time.time() + self.transport.auth_timeout
while True:
event.wait(0.1)
if not self.transport.is_active():
e = self.transport.get_exception()
if (e is None) or issubclass(e.__class__, EOFError):
e = AuthenticationException(
"Authentication failed: transport shut down or saw EOF"
)
raise e
if event.is_set():
break
if max_ts is not None and max_ts <= time.time():
raise AuthenticationException("Authentication timeout.")
if not self.is_authenticated():
e = self.transport.get_exception()
if e is None:
e = AuthenticationException("Authentication failed.")
# this is horrible. Python Exception isn't yet descended from
# object, so type(e) won't work. :(
# TODO 4.0: lol. just lmao.
if issubclass(e.__class__, PartialAuthentication):
return e.allowed_types
> raise e
E paramiko.ssh_exception.AuthenticationException: Authentication failed.
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/auth_handler.py:263: AuthenticationException
Check warning on line 0 in test.test_ad9371
github-actions / Test Results
test_ad9371_dds_loopback[param_set6-2000000-0.25--23.8-0-adi.ad9371] (test.test_ad9371) failed
results.xml [took 0s]
Raw output
paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
self = <paramiko.Transport at 0xa1ae89d0 (unconnected)>
def _check_banner(self):
# this is slow, but we only have to do it once
for i in range(100):
# give them 15 seconds for the first line, then just 2 seconds
# each additional line. (some sites have very high latency.)
if i == 0:
timeout = self.banner_timeout
else:
timeout = 2
try:
> buf = self.packetizer.readline(timeout)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:2327:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/packet.py:381: in readline
buf += self._read_timeout(timeout)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <paramiko.packet.Packetizer object at 0x7fd3a1ae8390>, timeout = 2
def _read_timeout(self, timeout):
start = time.time()
while True:
try:
x = self.__socket.recv(128)
if len(x) == 0:
> raise EOFError()
E EOFError
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/packet.py:618: EOFError
During handling of the above exception, another exception occurred:
test_dds_loopback = <function dds_loopback at 0x7fd3a7154950>
iio_uri = 'ip:10.1.0.224', classname = 'adi.ad9371'
param_set = {'ensm_mode': 'radio_on', 'gain_control_mode': 'manual', 'rx_hardwaregain_chan0': 10, 'rx_hardwaregain_chan1': 10, ...}
channel = 0, frequency = 2000000, scale = 0.25, peak_min = -23.8
@pytest.mark.no_obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
"param_set, frequency, scale, peak_min",
[
(params["one_cw_tone_manual"], 2000000, 0.5, -13),
(params["one_cw_tone_manual"], 2000000, 0.12, -25),
(params["one_cw_tone_manual"], 2000000, 0.25, -19),
(params["one_cw_tone_auto"], 1000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 2000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 500000, 0.12, -14.7),
(params["change_attenuation_5dB_manual"], 2000000, 0.25, -23.8),
(params["change_attenuation_10dB_manual"], 2000000, 0.25, -28.75),
(params["change_attenuation_0dB_auto"], 1000000, 0.12, -9),
(params["change_attenuation_20dB_auto"], 1000000, 0.12, -24.7),
(params["change_rf_gain_0dB_manual"], 2000000, 0.25, -29),
(params["change_rf_gain_20dB_manual"], 2000000, 0.25, -9),
(params["change_temp_gain_up"], 2000000, 0.25, -16),
(params["change_temp_gain_down"], 2000000, 0.25, -22),
],
)
def test_ad9371_dds_loopback(
test_dds_loopback,
iio_uri,
classname,
param_set,
channel,
frequency,
scale,
peak_min,
):
test_dds_loopback(
> iio_uri, classname, param_set, channel, frequency, scale, peak_min
)
test/test_ad9371.py:311:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/dma_tests.py:286: in dds_loopback
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ad937x.py:40: in __init__
self._jesd = jesd(uri, username=username, password=password)
adi/jesd_internal.py:20: in __init__
self.fs = sshfs(address, username, password)
adi/sshfs.py:33: in __init__
allow_agent=False,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:451: in connect
t.start_client(timeout=timeout)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:738: in start_client
raise e
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:2143: in run
self._check_banner()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <paramiko.Transport at 0xa1ae89d0 (unconnected)>
def _check_banner(self):
# this is slow, but we only have to do it once
for i in range(100):
# give them 15 seconds for the first line, then just 2 seconds
# each additional line. (some sites have very high latency.)
if i == 0:
timeout = self.banner_timeout
else:
timeout = 2
try:
buf = self.packetizer.readline(timeout)
except ProxyCommandFailure:
raise
except Exception as e:
raise SSHException(
> "Error reading SSH protocol banner" + str(e)
)
E paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:2332: SSHException
Check warning on line 0 in test.test_ad9371
github-actions / Test Results
test_ad9371_dds_loopback[param_set6-2000000-0.25--23.8-1-adi.ad9371] (test.test_ad9371) failed
results.xml [took 0s]
Raw output
paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
self = <paramiko.Transport at 0xa2314990 (unconnected)>
def _check_banner(self):
# this is slow, but we only have to do it once
for i in range(100):
# give them 15 seconds for the first line, then just 2 seconds
# each additional line. (some sites have very high latency.)
if i == 0:
timeout = self.banner_timeout
else:
timeout = 2
try:
> buf = self.packetizer.readline(timeout)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:2327:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/packet.py:381: in readline
buf += self._read_timeout(timeout)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <paramiko.packet.Packetizer object at 0x7fd3a2314a90>, timeout = 2
def _read_timeout(self, timeout):
start = time.time()
while True:
try:
x = self.__socket.recv(128)
if len(x) == 0:
> raise EOFError()
E EOFError
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/packet.py:618: EOFError
During handling of the above exception, another exception occurred:
test_dds_loopback = <function dds_loopback at 0x7fd3a7154950>
iio_uri = 'ip:10.1.0.224', classname = 'adi.ad9371'
param_set = {'ensm_mode': 'radio_on', 'gain_control_mode': 'manual', 'rx_hardwaregain_chan0': 10, 'rx_hardwaregain_chan1': 10, ...}
channel = 1, frequency = 2000000, scale = 0.25, peak_min = -23.8
@pytest.mark.no_obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
"param_set, frequency, scale, peak_min",
[
(params["one_cw_tone_manual"], 2000000, 0.5, -13),
(params["one_cw_tone_manual"], 2000000, 0.12, -25),
(params["one_cw_tone_manual"], 2000000, 0.25, -19),
(params["one_cw_tone_auto"], 1000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 2000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 500000, 0.12, -14.7),
(params["change_attenuation_5dB_manual"], 2000000, 0.25, -23.8),
(params["change_attenuation_10dB_manual"], 2000000, 0.25, -28.75),
(params["change_attenuation_0dB_auto"], 1000000, 0.12, -9),
(params["change_attenuation_20dB_auto"], 1000000, 0.12, -24.7),
(params["change_rf_gain_0dB_manual"], 2000000, 0.25, -29),
(params["change_rf_gain_20dB_manual"], 2000000, 0.25, -9),
(params["change_temp_gain_up"], 2000000, 0.25, -16),
(params["change_temp_gain_down"], 2000000, 0.25, -22),
],
)
def test_ad9371_dds_loopback(
test_dds_loopback,
iio_uri,
classname,
param_set,
channel,
frequency,
scale,
peak_min,
):
test_dds_loopback(
> iio_uri, classname, param_set, channel, frequency, scale, peak_min
)
test/test_ad9371.py:311:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/dma_tests.py:286: in dds_loopback
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ad937x.py:40: in __init__
self._jesd = jesd(uri, username=username, password=password)
adi/jesd_internal.py:20: in __init__
self.fs = sshfs(address, username, password)
adi/sshfs.py:33: in __init__
allow_agent=False,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:451: in connect
t.start_client(timeout=timeout)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:738: in start_client
raise e
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:2143: in run
self._check_banner()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <paramiko.Transport at 0xa2314990 (unconnected)>
def _check_banner(self):
# this is slow, but we only have to do it once
for i in range(100):
# give them 15 seconds for the first line, then just 2 seconds
# each additional line. (some sites have very high latency.)
if i == 0:
timeout = self.banner_timeout
else:
timeout = 2
try:
buf = self.packetizer.readline(timeout)
except ProxyCommandFailure:
raise
except Exception as e:
raise SSHException(
> "Error reading SSH protocol banner" + str(e)
)
E paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:2332: SSHException
Check warning on line 0 in test.test_ad9371
github-actions / Test Results
test_ad9371_dds_loopback[param_set7-2000000-0.25--28.75-0-adi.ad9371] (test.test_ad9371) failed
results.xml [took 2s]
Raw output
paramiko.ssh_exception.AuthenticationException: Authentication failed.
test_dds_loopback = <function dds_loopback at 0x7fd3a7154950>
iio_uri = 'ip:10.1.0.224', classname = 'adi.ad9371'
param_set = {'ensm_mode': 'radio_on', 'gain_control_mode': 'manual', 'rx_hardwaregain_chan0': 10, 'rx_hardwaregain_chan1': 10, ...}
channel = 0, frequency = 2000000, scale = 0.25, peak_min = -28.75
@pytest.mark.no_obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
"param_set, frequency, scale, peak_min",
[
(params["one_cw_tone_manual"], 2000000, 0.5, -13),
(params["one_cw_tone_manual"], 2000000, 0.12, -25),
(params["one_cw_tone_manual"], 2000000, 0.25, -19),
(params["one_cw_tone_auto"], 1000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 2000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 500000, 0.12, -14.7),
(params["change_attenuation_5dB_manual"], 2000000, 0.25, -23.8),
(params["change_attenuation_10dB_manual"], 2000000, 0.25, -28.75),
(params["change_attenuation_0dB_auto"], 1000000, 0.12, -9),
(params["change_attenuation_20dB_auto"], 1000000, 0.12, -24.7),
(params["change_rf_gain_0dB_manual"], 2000000, 0.25, -29),
(params["change_rf_gain_20dB_manual"], 2000000, 0.25, -9),
(params["change_temp_gain_up"], 2000000, 0.25, -16),
(params["change_temp_gain_down"], 2000000, 0.25, -22),
],
)
def test_ad9371_dds_loopback(
test_dds_loopback,
iio_uri,
classname,
param_set,
channel,
frequency,
scale,
peak_min,
):
test_dds_loopback(
> iio_uri, classname, param_set, channel, frequency, scale, peak_min
)
test/test_ad9371.py:311:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/dma_tests.py:286: in dds_loopback
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ad937x.py:40: in __init__
self._jesd = jesd(uri, username=username, password=password)
adi/jesd_internal.py:20: in __init__
self.fs = sshfs(address, username, password)
adi/sshfs.py:33: in __init__
allow_agent=False,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:496: in connect
passphrase,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:818: in _auth
raise saved_exception
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:805: in _auth
self._transport.auth_password(username, password)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:1603: in auth_password
return self.auth_handler.wait_for_response(my_event)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <paramiko.auth_handler.AuthHandler object at 0x7fd3a22fead0>
event = <threading.Event object at 0x7fd3a22febd0>
def wait_for_response(self, event):
max_ts = None
if self.transport.auth_timeout is not None:
max_ts = time.time() + self.transport.auth_timeout
while True:
event.wait(0.1)
if not self.transport.is_active():
e = self.transport.get_exception()
if (e is None) or issubclass(e.__class__, EOFError):
e = AuthenticationException(
"Authentication failed: transport shut down or saw EOF"
)
raise e
if event.is_set():
break
if max_ts is not None and max_ts <= time.time():
raise AuthenticationException("Authentication timeout.")
if not self.is_authenticated():
e = self.transport.get_exception()
if e is None:
e = AuthenticationException("Authentication failed.")
# this is horrible. Python Exception isn't yet descended from
# object, so type(e) won't work. :(
# TODO 4.0: lol. just lmao.
if issubclass(e.__class__, PartialAuthentication):
return e.allowed_types
> raise e
E paramiko.ssh_exception.AuthenticationException: Authentication failed.
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/auth_handler.py:263: AuthenticationException
Check warning on line 0 in test.test_ad9371
github-actions / Test Results
test_ad9371_dds_loopback[param_set7-2000000-0.25--28.75-1-adi.ad9371] (test.test_ad9371) failed
results.xml [took 2s]
Raw output
paramiko.ssh_exception.AuthenticationException: Authentication failed.
test_dds_loopback = <function dds_loopback at 0x7fd3a7154950>
iio_uri = 'ip:10.1.0.224', classname = 'adi.ad9371'
param_set = {'ensm_mode': 'radio_on', 'gain_control_mode': 'manual', 'rx_hardwaregain_chan0': 10, 'rx_hardwaregain_chan1': 10, ...}
channel = 1, frequency = 2000000, scale = 0.25, peak_min = -28.75
@pytest.mark.no_obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
"param_set, frequency, scale, peak_min",
[
(params["one_cw_tone_manual"], 2000000, 0.5, -13),
(params["one_cw_tone_manual"], 2000000, 0.12, -25),
(params["one_cw_tone_manual"], 2000000, 0.25, -19),
(params["one_cw_tone_auto"], 1000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 2000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 500000, 0.12, -14.7),
(params["change_attenuation_5dB_manual"], 2000000, 0.25, -23.8),
(params["change_attenuation_10dB_manual"], 2000000, 0.25, -28.75),
(params["change_attenuation_0dB_auto"], 1000000, 0.12, -9),
(params["change_attenuation_20dB_auto"], 1000000, 0.12, -24.7),
(params["change_rf_gain_0dB_manual"], 2000000, 0.25, -29),
(params["change_rf_gain_20dB_manual"], 2000000, 0.25, -9),
(params["change_temp_gain_up"], 2000000, 0.25, -16),
(params["change_temp_gain_down"], 2000000, 0.25, -22),
],
)
def test_ad9371_dds_loopback(
test_dds_loopback,
iio_uri,
classname,
param_set,
channel,
frequency,
scale,
peak_min,
):
test_dds_loopback(
> iio_uri, classname, param_set, channel, frequency, scale, peak_min
)
test/test_ad9371.py:311:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/dma_tests.py:286: in dds_loopback
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ad937x.py:40: in __init__
self._jesd = jesd(uri, username=username, password=password)
adi/jesd_internal.py:20: in __init__
self.fs = sshfs(address, username, password)
adi/sshfs.py:33: in __init__
allow_agent=False,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:496: in connect
passphrase,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:818: in _auth
raise saved_exception
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:805: in _auth
self._transport.auth_password(username, password)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:1603: in auth_password
return self.auth_handler.wait_for_response(my_event)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <paramiko.auth_handler.AuthHandler object at 0x7fd3a1b8da90>
event = <threading.Event object at 0x7fd3a1b8dc90>
def wait_for_response(self, event):
max_ts = None
if self.transport.auth_timeout is not None:
max_ts = time.time() + self.transport.auth_timeout
while True:
event.wait(0.1)
if not self.transport.is_active():
e = self.transport.get_exception()
if (e is None) or issubclass(e.__class__, EOFError):
e = AuthenticationException(
"Authentication failed: transport shut down or saw EOF"
)
raise e
if event.is_set():
break
if max_ts is not None and max_ts <= time.time():
raise AuthenticationException("Authentication timeout.")
if not self.is_authenticated():
e = self.transport.get_exception()
if e is None:
e = AuthenticationException("Authentication failed.")
# this is horrible. Python Exception isn't yet descended from
# object, so type(e) won't work. :(
# TODO 4.0: lol. just lmao.
if issubclass(e.__class__, PartialAuthentication):
return e.allowed_types
> raise e
E paramiko.ssh_exception.AuthenticationException: Authentication failed.
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/auth_handler.py:263: AuthenticationException
Check warning on line 0 in test.test_ad9371
github-actions / Test Results
test_ad9371_dds_loopback[param_set8-1000000-0.12--9-0-adi.ad9371] (test.test_ad9371) failed
results.xml [took 0s]
Raw output
paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
self = <paramiko.Transport at 0xa22cb6d0 (unconnected)>
def _check_banner(self):
# this is slow, but we only have to do it once
for i in range(100):
# give them 15 seconds for the first line, then just 2 seconds
# each additional line. (some sites have very high latency.)
if i == 0:
timeout = self.banner_timeout
else:
timeout = 2
try:
> buf = self.packetizer.readline(timeout)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:2327:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/packet.py:381: in readline
buf += self._read_timeout(timeout)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <paramiko.packet.Packetizer object at 0x7fd3a22cb590>, timeout = 2
def _read_timeout(self, timeout):
start = time.time()
while True:
try:
x = self.__socket.recv(128)
if len(x) == 0:
> raise EOFError()
E EOFError
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/packet.py:618: EOFError
During handling of the above exception, another exception occurred:
test_dds_loopback = <function dds_loopback at 0x7fd3a7154950>
iio_uri = 'ip:10.1.0.224', classname = 'adi.ad9371'
param_set = {'ensm_mode': 'radio_on', 'gain_control_mode': 'automatic', 'rx_lo': 2500000000, 'rx_temp_comp_gain_chan0': 0, ...}
channel = 0, frequency = 1000000, scale = 0.12, peak_min = -9
@pytest.mark.no_obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
"param_set, frequency, scale, peak_min",
[
(params["one_cw_tone_manual"], 2000000, 0.5, -13),
(params["one_cw_tone_manual"], 2000000, 0.12, -25),
(params["one_cw_tone_manual"], 2000000, 0.25, -19),
(params["one_cw_tone_auto"], 1000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 2000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 500000, 0.12, -14.7),
(params["change_attenuation_5dB_manual"], 2000000, 0.25, -23.8),
(params["change_attenuation_10dB_manual"], 2000000, 0.25, -28.75),
(params["change_attenuation_0dB_auto"], 1000000, 0.12, -9),
(params["change_attenuation_20dB_auto"], 1000000, 0.12, -24.7),
(params["change_rf_gain_0dB_manual"], 2000000, 0.25, -29),
(params["change_rf_gain_20dB_manual"], 2000000, 0.25, -9),
(params["change_temp_gain_up"], 2000000, 0.25, -16),
(params["change_temp_gain_down"], 2000000, 0.25, -22),
],
)
def test_ad9371_dds_loopback(
test_dds_loopback,
iio_uri,
classname,
param_set,
channel,
frequency,
scale,
peak_min,
):
test_dds_loopback(
> iio_uri, classname, param_set, channel, frequency, scale, peak_min
)
test/test_ad9371.py:311:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/dma_tests.py:286: in dds_loopback
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ad937x.py:40: in __init__
self._jesd = jesd(uri, username=username, password=password)
adi/jesd_internal.py:20: in __init__
self.fs = sshfs(address, username, password)
adi/sshfs.py:33: in __init__
allow_agent=False,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:451: in connect
t.start_client(timeout=timeout)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:738: in start_client
raise e
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:2143: in run
self._check_banner()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <paramiko.Transport at 0xa22cb6d0 (unconnected)>
def _check_banner(self):
# this is slow, but we only have to do it once
for i in range(100):
# give them 15 seconds for the first line, then just 2 seconds
# each additional line. (some sites have very high latency.)
if i == 0:
timeout = self.banner_timeout
else:
timeout = 2
try:
buf = self.packetizer.readline(timeout)
except ProxyCommandFailure:
raise
except Exception as e:
raise SSHException(
> "Error reading SSH protocol banner" + str(e)
)
E paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:2332: SSHException
Check warning on line 0 in test.test_ad9371
github-actions / Test Results
test_ad9371_dds_loopback[param_set8-1000000-0.12--9-1-adi.ad9371] (test.test_ad9371) failed
results.xml [took 2s]
Raw output
paramiko.ssh_exception.AuthenticationException: Authentication failed.
test_dds_loopback = <function dds_loopback at 0x7fd3a7154950>
iio_uri = 'ip:10.1.0.224', classname = 'adi.ad9371'
param_set = {'ensm_mode': 'radio_on', 'gain_control_mode': 'automatic', 'rx_lo': 2500000000, 'rx_temp_comp_gain_chan0': 0, ...}
channel = 1, frequency = 1000000, scale = 0.12, peak_min = -9
@pytest.mark.no_obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
"param_set, frequency, scale, peak_min",
[
(params["one_cw_tone_manual"], 2000000, 0.5, -13),
(params["one_cw_tone_manual"], 2000000, 0.12, -25),
(params["one_cw_tone_manual"], 2000000, 0.25, -19),
(params["one_cw_tone_auto"], 1000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 2000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 500000, 0.12, -14.7),
(params["change_attenuation_5dB_manual"], 2000000, 0.25, -23.8),
(params["change_attenuation_10dB_manual"], 2000000, 0.25, -28.75),
(params["change_attenuation_0dB_auto"], 1000000, 0.12, -9),
(params["change_attenuation_20dB_auto"], 1000000, 0.12, -24.7),
(params["change_rf_gain_0dB_manual"], 2000000, 0.25, -29),
(params["change_rf_gain_20dB_manual"], 2000000, 0.25, -9),
(params["change_temp_gain_up"], 2000000, 0.25, -16),
(params["change_temp_gain_down"], 2000000, 0.25, -22),
],
)
def test_ad9371_dds_loopback(
test_dds_loopback,
iio_uri,
classname,
param_set,
channel,
frequency,
scale,
peak_min,
):
test_dds_loopback(
> iio_uri, classname, param_set, channel, frequency, scale, peak_min
)
test/test_ad9371.py:311:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/dma_tests.py:286: in dds_loopback
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ad937x.py:40: in __init__
self._jesd = jesd(uri, username=username, password=password)
adi/jesd_internal.py:20: in __init__
self.fs = sshfs(address, username, password)
adi/sshfs.py:33: in __init__
allow_agent=False,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:496: in connect
passphrase,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:818: in _auth
raise saved_exception
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:805: in _auth
self._transport.auth_password(username, password)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:1603: in auth_password
return self.auth_handler.wait_for_response(my_event)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <paramiko.auth_handler.AuthHandler object at 0x7fd3a13c2850>
event = <threading.Event object at 0x7fd3a13c2410>
def wait_for_response(self, event):
max_ts = None
if self.transport.auth_timeout is not None:
max_ts = time.time() + self.transport.auth_timeout
while True:
event.wait(0.1)
if not self.transport.is_active():
e = self.transport.get_exception()
if (e is None) or issubclass(e.__class__, EOFError):
e = AuthenticationException(
"Authentication failed: transport shut down or saw EOF"
)
raise e
if event.is_set():
break
if max_ts is not None and max_ts <= time.time():
raise AuthenticationException("Authentication timeout.")
if not self.is_authenticated():
e = self.transport.get_exception()
if e is None:
e = AuthenticationException("Authentication failed.")
# this is horrible. Python Exception isn't yet descended from
# object, so type(e) won't work. :(
# TODO 4.0: lol. just lmao.
if issubclass(e.__class__, PartialAuthentication):
return e.allowed_types
> raise e
E paramiko.ssh_exception.AuthenticationException: Authentication failed.
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/auth_handler.py:263: AuthenticationException
Check warning on line 0 in test.test_ad9371
github-actions / Test Results
test_ad9371_dds_loopback[param_set9-1000000-0.12--24.7-0-adi.ad9371] (test.test_ad9371) failed
results.xml [took 2s]
Raw output
paramiko.ssh_exception.AuthenticationException: Authentication failed.
test_dds_loopback = <function dds_loopback at 0x7fd3a7154950>
iio_uri = 'ip:10.1.0.224', classname = 'adi.ad9371'
param_set = {'ensm_mode': 'radio_on', 'gain_control_mode': 'automatic', 'rx_lo': 2500000000, 'rx_temp_comp_gain_chan0': 0, ...}
channel = 0, frequency = 1000000, scale = 0.12, peak_min = -24.7
@pytest.mark.no_obs_required
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1])
@pytest.mark.parametrize(
"param_set, frequency, scale, peak_min",
[
(params["one_cw_tone_manual"], 2000000, 0.5, -13),
(params["one_cw_tone_manual"], 2000000, 0.12, -25),
(params["one_cw_tone_manual"], 2000000, 0.25, -19),
(params["one_cw_tone_auto"], 1000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 2000000, 0.12, -14.7),
(params["one_cw_tone_auto"], 500000, 0.12, -14.7),
(params["change_attenuation_5dB_manual"], 2000000, 0.25, -23.8),
(params["change_attenuation_10dB_manual"], 2000000, 0.25, -28.75),
(params["change_attenuation_0dB_auto"], 1000000, 0.12, -9),
(params["change_attenuation_20dB_auto"], 1000000, 0.12, -24.7),
(params["change_rf_gain_0dB_manual"], 2000000, 0.25, -29),
(params["change_rf_gain_20dB_manual"], 2000000, 0.25, -9),
(params["change_temp_gain_up"], 2000000, 0.25, -16),
(params["change_temp_gain_down"], 2000000, 0.25, -22),
],
)
def test_ad9371_dds_loopback(
test_dds_loopback,
iio_uri,
classname,
param_set,
channel,
frequency,
scale,
peak_min,
):
test_dds_loopback(
> iio_uri, classname, param_set, channel, frequency, scale, peak_min
)
test/test_ad9371.py:311:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/dma_tests.py:286: in dds_loopback
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ad937x.py:40: in __init__
self._jesd = jesd(uri, username=username, password=password)
adi/jesd_internal.py:20: in __init__
self.fs = sshfs(address, username, password)
adi/sshfs.py:33: in __init__
allow_agent=False,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:496: in connect
passphrase,
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:818: in _auth
raise saved_exception
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/client.py:805: in _auth
self._transport.auth_password(username, password)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/transport.py:1603: in auth_password
return self.auth_handler.wait_for_response(my_event)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <paramiko.auth_handler.AuthHandler object at 0x7fd3a13df550>
event = <threading.Event object at 0x7fd3a13df850>
def wait_for_response(self, event):
max_ts = None
if self.transport.auth_timeout is not None:
max_ts = time.time() + self.transport.auth_timeout
while True:
event.wait(0.1)
if not self.transport.is_active():
e = self.transport.get_exception()
if (e is None) or issubclass(e.__class__, EOFError):
e = AuthenticationException(
"Authentication failed: transport shut down or saw EOF"
)
raise e
if event.is_set():
break
if max_ts is not None and max_ts <= time.time():
raise AuthenticationException("Authentication timeout.")
if not self.is_authenticated():
e = self.transport.get_exception()
if e is None:
e = AuthenticationException("Authentication failed.")
# this is horrible. Python Exception isn't yet descended from
# object, so type(e) won't work. :(
# TODO 4.0: lol. just lmao.
if issubclass(e.__class__, PartialAuthentication):
return e.allowed_types
> raise e
E paramiko.ssh_exception.AuthenticationException: Authentication failed.
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/paramiko/auth_handler.py:263: AuthenticationException