• Sven Zheng's avatar
    [lacros] Fix sometimes script can't run tests locally · 782822fa
    Sven Zheng authored
    Error:
      File "build/lacros/test_runner.py", line 129, in _remove_unused_ash_chrome_versions
        age = time.time() - os.path.getatime(os.path.join(p, 'chrome'))
      File "/usr/local/google/home/svenzheng/.vpython-root/000cad/lib/python2.7/genericpath.py", line 67, in getatime
        return os.stat(filename).st_atime
    OSError: [Errno 2] No such file or directory: 'build/lacros/prebuilt_ash_chrome/for_bots/chrome'
    
    Bug: 1131739
    Change-Id: I78dbaa624956a4e9019598eae3c07270907792bb
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2429590Reviewed-by: default avatarYuke Liao <liaoyuke@chromium.org>
    Commit-Queue: Sven Zheng <svenzheng@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#811344}
    782822fa
test_runner.py 17.4 KB