def _force_symlink(root, target, link_to):
current_symlink = root.joinpath(target)<EOL>try:<EOL><INDENT>current_symlink.unlink()<EOL><DEDENT>except OSError:<EOL><INDENT>pass<EOL><DEDENT>try:<EOL><INDENT>current_symlink.symlink_to(link_to)<EOL><DEDENT>except Exception:<EOL><INDENT>pass<EOL><DEDENT>
helper to create the current symlink

    it's full of race conditions that are reasonably ok to ignore
    for the context of best effort linking to the latest testrun

    the presumption being thatin case of much parallelism
    the inaccuracy is going to be acceptable