Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eye scan support #518

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Add Time UI secondary axis

54c2a10
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

Eye scan support #518

Add Time UI secondary axis
54c2a10
Select commit
Loading
Failed to load commit list.
GitHub Actions / Unit Test Results failed Feb 13, 2024 in 0s

1 fail, 1 169 skipped, 255 pass in 9m 18s

1 425 tests  ±0      255 ✔️ ±0   9m 18s ⏱️ -1s
       1 suites ±0   1 169 💤 ±0 
       1 files   ±0          1 ±0 

Results for commit 54c2a10. ± Comparison against earlier commit 8494983.

Annotations

Check warning on line 0 in test.test_ad9081

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

test_ad9081_jesd_links (test.test_ad9081) failed

results.xml
Raw output
test_check_jesd_links = <function check_jesd_links at 0x7f4957dd8b80>
iio_uri = 'ip:10.1.0.8'

    @pytest.mark.iio_hardware(hardware)
    def test_ad9081_jesd_links(test_check_jesd_links, iio_uri):
>       test_check_jesd_links(classname, iio_uri)

test/test_ad9081.py:25: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
test/jesd.py:16: in check_jesd_links
    sdr = eval(f"{classname}(uri='{uri}', disable_jesd_control=False)")
<string>:1: in <module>
    ???
adi/ad9081.py:92: in __init__
    self._jesd = jesd_eye_scan(self, uri, username=username, password=password)
adi/jesd_internal.py:99: in __init__
    super().__init__(address, username, password)
adi/jesd_internal.py:20: in __init__
    self.fs = sshfs(address, username, password)
adi/sshfs.py:28: in __init__
    self.ssh.connect(
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/paramiko/client.py:485: in connect
    self._auth(
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/paramiko/client.py:818: in _auth
    raise saved_exception
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/paramiko/client.py:805: in _auth
    self._transport.auth_password(username, password)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/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 0x7f495692deb0>
event = <threading.Event object at 0x7f495692ddc0>

    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.8.18/x64/lib/python3.8/site-packages/paramiko/auth_handler.py:263: AuthenticationException