6 Commits

Author SHA1 Message Date
Chris Johns
a22b396a32 tester/tftp: Add a session timeout
- Fix listener done state

- Finish open with the state as finished

Closes #4959
2023-11-08 08:34:14 +11:00
Chris Johns
dac7ef233a tester/tftp: Fix recovery of timed out TFTP sessions
- Add support to retry the tftp session if the target has not
  started

- Add target handlers for the test directives to allow recovery
  on error
2021-09-19 08:31:58 +10:00
Chris Johns
e730a2d781 tester/tftp: Fix prptocol timeout handling
- Change some of the notification messages
2021-09-09 18:33:54 +10:00
Kinsey Moore
a918844889 tester: Avoid TFTP race condition
The u-boot TFTP client will fail a fully completed file retrieval if the
final ACK gets an ICMP response that the port is unavailable which can
occur if the port is closed before the ACK arrives from the client. This
change causes the TFTP server to wait for the final ACK before closing
the socket and prevents transfers from failing due to the race
condition.
2021-05-18 13:58:34 -05:00
Chris Johns
7a29b47a0f tester: Fix TFTP server Python2 issues.
- Add a --show-backtrace option to make it easier for users to
  get an exception backtrace if something goes wrong.

- Fix the --packet-trace option so it actually decodes the packets
2020-09-07 10:07:11 +10:00
Chris Johns
eb3608133b tester: Change to a simpler TFTP server
- Add a simpler TFTP to allow parallel test hardware

- Remove the imported tftpy server

Closes #4063
2020-09-01 09:18:04 +10:00