New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 888881 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 888819
Owner: ----
Closed: Sep 25
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

Presubmit failure on a removed file

Project Member Reported by moh...@chromium.org, Sep 25

Issue description

In my CL (http://crrev/c/1239336) I've removed a file and all references to it. Still the presubmit is failing with an error complaining that the file could not be found:

[https://ci.chromium.org/p/chromium/builders/luci.chromium.try/chromium_presubmit/234682]

Traceback (most recent call last):
  File "/b/swarming/w/ir/kitchen-checkout/depot_tools/presubmit_support.py", line 1751, in <module>
    sys.exit(main())
  File "/b/swarming/w/ir/kitchen-checkout/depot_tools/presubmit_support.py", line 1740, in main
    options.parallel)
  File "/b/swarming/w/ir/kitchen-checkout/depot_tools/presubmit_support.py", line 1547, in DoPresubmitChecks
    results += executer.ExecPresubmitScript(presubmit_script, filename)
  File "/b/swarming/w/ir/kitchen-checkout/depot_tools/presubmit_support.py", line 1454, in ExecPresubmitScript
    result = eval(function_name + '(*__args)', context)
  File "<string>", line 1, in <module>
  File "<string>", line 3469, in CheckChangeOnCommit
  File "<string>", line 3013, in _CommonChecks
  File "<string>", line 901, in _CheckNoDISABLETypoInTests
  File "/b/swarming/w/ir/kitchen-checkout/depot_tools/presubmit_support.py", line 719, in ReadFile
    return gclient_utils.FileRead(file_item, mode)
  File "/b/swarming/w/ir/kitchen-checkout/depot_tools/gclient_utils.py", line 139, in FileRead
    with open(filename, mode=mode) as f:
IOError: [Errno 2] No such file or directory: '/b/swarming/w/ir/cache/builder/chromium_presubmit/src/services/ws/gpu_host/test_gpu_host.cc'

It seems to be a bug in presubmit scripts.
 
Mergedinto: 888819
Status: Duplicate (was: Available)

Sign in to add a comment