New issue
Advanced search Search tips

Issue 872510 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Add better bot logging when a named cache gets evicted

Project Member Reported by bpastene@chromium.org, Aug 8

Issue description

I'm currently debugging a builder who's builder cache gets evicted by swarming after every build. Trying to find out why, but all I see in the logs is:
"""
Removing named cache u'builder_60f35fc4e5c3d87a49d4a1c137e2b2bde9752a348be04c80e18f019a0e98276d_v2'
"""

No clue why it's doing that. Literally just putting debug statement before every "_remove_lru_item" call below would be a ton of help:
https://codesearch.chromium.org/chromium/infra/luci/client/local_caching.py?rcl=db606474e98248472fbfc9a2278f94380e31c07d&l=920
 
Also, this line doesn't actually print anything:
https://codesearch.chromium.org/chromium/infra/luci/appengine/swarming/swarming_bot/bot_code/bot_main.py?rcl=db606474e98248472fbfc9a2278f94380e31c07d&l=711

eg:

296 2018-08-08 00:22:04.556 I: Running: ['/usr/bin/python', '/b/s/swarming_bot.1.zip', 'run_isolated', '--clean', '--log-file', '/b/s/logs/run_isolated.log', '--cache', '/b/s/isolated_cache', '--min-free-space', '96898908160', '--named-cache-root', '/b/s/c', '--max-cache-size', '53687091200', '--max-items', '51200']
296 2018-08-08 00:22:05.269 I: Result:

296 2018-08-08 00:22:05.271 I: ts_mon hook_name='on_before_poll' pool=u'builder:ios-simulator|cores:8|cpu:x86-64-E5-2697_v2|gpu:none|mac_model:VMware7,1|machine_type:n1-highcpu-8|os:Mac-10.13.3|pool:luci.chromium.ci|python:2.7.10|ssd:1|xcode_version:9.2|zone:us-golo-9'
296 2018-08-08 00:22:05.272 I: on_before_poll(): 0.001s
Owner: mar...@chromium.org
Status: Assigned (was: Untriaged)

Sign in to add a comment