You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test_download_dataset is failing sometimes with the error:
[gw1] linux -- Python 3.9.9 /usr/bin/python
test_bin_rucio.py:1048: in test_download_dataset
assert re.search(search, err) is not None
E AssertionError: assert None is not None
E + where None = <function search at 0x7f252a347ca0>('file_OQAYTFTGUO successfully downloaded',
As @yuyiguo pointed out in #5872 (comment), the test does not download the dataset because it is already available locally. There seems to be no pattern on when the test is failing and when not.
2022-09-19 22:32:02,995 INFO Preparing download of data13_hip:file_OQAYTFTGUO
2022-09-19 22:32:02,995 INFO File exists already locally: data13_hip:file_OQAYTFTGUO
Modification
Remove the file before the download, so it does not exist locally and thus needs to be downloaded.
The text was updated successfully, but these errors were encountered:
…o#5887
The local created file in `test_download_dataset`, which gets uploaded, is not
removed before the download. This results in a failing test, since it is cached
and thus does not need to be downloaded.
The local created file in `test_download_dataset`, which gets uploaded, is not
removed before the download. This results in a failing test, since it is cached
and thus does not need to be downloaded.
Motivation
The
test_download_dataset
is failing sometimes with the error:As @yuyiguo pointed out in #5872 (comment), the test does not download the dataset because it is already available locally. There seems to be no pattern on when the test is failing and when not.
Modification
Remove the file before the download, so it does not exist locally and thus needs to be downloaded.
The text was updated successfully, but these errors were encountered: