diff options
author | Steven Koo <steven.koo@ni.com> | 2021-09-02 11:20:09 -0500 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-09-07 14:53:48 -0500 |
commit | 65831df17eec7857fdacc77934ba8babcd308baa (patch) | |
tree | 7f8b21187e9bf97836abd71c25a52a9970d68be2 | |
parent | ab7124c3544721aa4258b24281d6ff7cc56193cb (diff) | |
download | uhd-65831df17eec7857fdacc77934ba8babcd308baa.tar.gz uhd-65831df17eec7857fdacc77934ba8babcd308baa.tar.bz2 uhd-65831df17eec7857fdacc77934ba8babcd308baa.zip |
ci: Device wait to redlock scope for Vivado close
Sometimes Vivado gets reopened too fast causing port in use errors.
This moves the device reboot wait into the redlock scope to give some
time for Vivado to close before the next agent tries to get the lock.
Signed-off-by: Steven Koo <steven.koo@ni.com>
-rw-r--r-- | .ci/utils/mutex_hardware.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.ci/utils/mutex_hardware.py b/.ci/utils/mutex_hardware.py index 563ec5b1a..5e16c86fb 100644 --- a/.ci/utils/mutex_hardware.py +++ b/.ci/utils/mutex_hardware.py @@ -36,8 +36,8 @@ def jtag_x3xx(jtag_args, redis_server): jtag_host.run(vivado_program_jtag + " " + os.path.join(remote_working_dir, os.path.basename(fpga_path)) + " " + jtag_serial) - print("Waiting 15 seconds for device to come back up", flush=True) - time.sleep(15) + print("Waiting 15 seconds for device to come back up and for Vivado to close", flush=True) + time.sleep(15) def main(args): |