
Hi Simon,
On Thu, 2022-01-27 at 09:05 -0700, Simon Glass wrote:
Hi Harald,
[...]
Thanks for all the info. I tried master and it mostly works, although Iget the same error:
[...]
│ File "/home/sglass/.local/lib/python3.8/site-packages/tbot-0.9.4-py3.8.egg/tbot/tc/uboot/testpy.py", line 332, in testpy │ os.write(chan_console.fileno(), data) │ OSError: [Errno 9] Bad file descriptor ├───────────────────────────────────────── └─FAILURE (43.835s)
That happens after the tests finish, and what seems to be an exact 30 second delay from 'Exiting poweroff' to 'Fail'. I am not really any the wiser about what is happening there. The config is:
Did you try changing the channel as I mentioned? The channel is probably actually selected in the lab config where the connection to the machine labelled "sglass" is made. If that's still a ParamikoConnector, please try switching to the SSHConnector as a test (and the SSHConnector is generally preferred these days...).
# Generated by labman from dut rpi3
[...]
Also I saw a failure for self tests:
[...]
│ │ │ File "/home/sglass/.local/lib/python3.8/site-packages/tbot-0.9.4-py3.8.egg/tbot/machine/linux/bash.py", line 204, in cmd_context │ │ │ retcode = int(proxy_ch.read_until_prompt()) │ │ │ ValueError: invalid literal for int() with base 10: 'o $?\n' │ │ │ │ │ └─Fail. (1.050s) │ └─Fail. (1.091s) ├─Exception:
Hmm, that's the old selftests... Can you try running the new selftests in the tbot repository:
cd /path/to/tbot-sources python3 -m pytest selftest/
Finally, I have about 10 local patches which I'd like to send...
Sure, please go ahead! Either on the tbot list or on GitHub, whatever you prefer.
Regards,