[PATCH v2 0/3] tests/functional/asset: improve partial-download handling

Nicholas Piggin posted 3 patches 3 weeks ago
There is a newer version of this series
roms/skiboot                        |  2 +-
tests/functional/qemu_test/asset.py | 58 ++++++++++++++++++++++-------
tests/lcitool/libvirt-ci            |  2 +-
3 files changed, 46 insertions(+), 16 deletions(-)
[PATCH v2 0/3] tests/functional/asset: improve partial-download handling
Posted by Nicholas Piggin 3 weeks ago
v1 discussion:

https://lore.kernel.org/qemu-devel/20250312051739.938441-1-npiggin@gmail.com/T/#md49b293a64207b578600a8c428bccbce3d471e68

Changes since v1:

- Change retry exceeded handling to be a check for no file
- Tidied comments and debug leftover from patch 2
- If downloaded size does not match, the advertised and received
  sizes are now printed in the error log.

Thanks Thomas and Daniel for review comments.

Thanks,
Nick

Nicholas Piggin (3):
  tests/functional/asset: Fail assert fetch when retries are exceeded
  tests/functional/asset: Verify downloaded size
  tests/functional/asset: Add AssetError exception class

 roms/skiboot                        |  2 +-
 tests/functional/qemu_test/asset.py | 58 ++++++++++++++++++++++-------
 tests/lcitool/libvirt-ci            |  2 +-
 3 files changed, 46 insertions(+), 16 deletions(-)

-- 
2.47.1