Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unittest test_checkin.py warns when cleaning up symlinks #1472

Open
remkonoteboom opened this issue Jun 6, 2020 · 0 comments
Open

Unittest test_checkin.py warns when cleaning up symlinks #1472

remkonoteboom opened this issue Jun 6, 2020 · 0 comments

Comments

@remkonoteboom
Copy link
Contributor

Describe the bug
When the tests finish executing, errors are dumped out when trying to clean up symlinks. They are harmless, however output should be clean

To Reproduce

  1. Run: python test_checkin.py

Expected behavior
Script runs without error if all tests pass

Screenshots

[Errno 2] No such file or directory: '../../../../tmp/tactic/alias2/alias2/text.txt' -> '/home/tactic/assets/alias2/text.txt'
Failed to undo symlink /home/tactic/assets/../alias2/alias2/text.txt
[Errno 2] No such file or directory: '../../../../tmp/tactic/alias2/alias2/text.txt' -> '/home/tactic/assets/alias2/text.txt'
Failed to undo symlink /home/tactic/assets/../alias2/alias2/text.txt
Error:  b"Destination path '/home/tactic/tactic_temp/cache/dd28d2cafb6e4fa32b6/filename_process_v001.jpg' already exists"
Error moving [/home/tactic/assets/unittest/person/PERSON00002/process/versions/subdir/filename_process_v001.jpg] to cache directory in [/home/tactic/tactic_temp/cache/dd28d2cafb6e4fa32b6] failed. Removed repository files
Error:  b"Destination path '/home/tactic/tactic_temp/cache/dd28d2cafb6e4fa32b6/filename_process_v001.jpg' already exists"
Error moving [/home/tactic/assets/unittest/person/PERSON00002/process/versions/filename_process_v001.jpg] to cache directory in [/home/tactic/tactic_temp/cache/dd28d2cafb6e4fa32b6] failed. Removed repository files
Error:  b"Destination path '/home/tactic/tactic_temp/cache/dd28d2cafb6e4fa32b6/TESTfilename_v001.jpg' already exists"
Error moving [/home/tactic/assets/unittest/person/PERSON00002/naming/TESTfilename_v001.jpg] to cache directory in [/home/tactic/tactic_temp/cache/dd28d2cafb6e4fa32b6] failed. Removed repository files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant