rauc / rauc-hawkbit-updater

The RAUC hawkBit updater is a simple commandline tool/daemon that runs on your target and interfaces between RAUC and hawkBit's DDI API.
https://rauc-hawkbit-updater.readthedocs.io
GNU Lesser General Public License v2.1
58 stars 36 forks source link

Partial download test cases fail #180

Open tduf opened 4 months ago

tduf commented 4 months ago

Despite my PR #179, there is still 2 test cases in failure when I run locally the test_download.py:

./test/wait-for-hawkbit-online && dbus-run-session -- pytest -v test/test_download.py 
Waiting for hawkbit to come up 
============================================================================================================ test session starts =============================================================================================================
platform linux -- Python 3.12.3, pytest-8.2.2, pluggy-1.5.0 -- /home/thibaud/Work/xxx/repo/rauc-hawkbit-updater/venv/bin/python3
cachedir: .pytest_cache
rootdir: /home/thibaud/Work/xxx/repo/rauc-hawkbit-updater
configfile: pytest.ini
collected 7 items                                                                                                                                                                                                                            

test/test_download.py::test_download_inexistent_location PASSED                                                                                                                                                                        [ 14%]
test/test_download.py::test_download_unallowed_location PASSED                                                                                                                                                                         [ 28%]
test/test_download.py::test_download_too_slow PASSED                                                                                                                                                                                   [ 42%]
test/test_download.py::test_download_partials_without_resume FAILED                                                                                                                                                                    [ 57%]
test/test_download.py::test_download_partials_with_resume FAILED                                                                                                                                                                       [ 71%]
test/test_download.py::test_download_slow_with_resume PASSED                                                                                                                                                                           [ 85%]
test/test_download.py::test_download_only PASSED              

Full logs: rauc-hawkbit-updater-download-issue-full-logs.txt