cbuildbot_launch: Downgrade warning log to info.
This is part of expected behavior and doesn't need to be a warning.
BUG=b:224904440
TEST=./run_tests
Change-Id: I356628316eef0e04cb9d4a13e40833892181e051
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/3534739
Reviewed-by: George Engelbrecht <engeg@google.com>
Reviewed-by: Navil Perez <navil@google.com>
Commit-Queue: Madeleine Hardt <hardtmad@google.com>
Tested-by: Madeleine Hardt <hardtmad@google.com>
diff --git a/scripts/cbuildbot_launch.py b/scripts/cbuildbot_launch.py
index 5f64940..5988b2a 100644
--- a/scripts/cbuildbot_launch.py
+++ b/scripts/cbuildbot_launch.py
@@ -176,7 +176,8 @@
state_raw = osutils.ReadFile(state_file)
state.from_json(state_raw)
except IOError as e:
- logging.warning('Unable to read %s: %s', state_file, e)
+ logging.info('Unable to read %s: %s. Expected for first task on bot.',
+ state_file, e)
return state
except ValueError as e:
logging.warning('Saved state file %s is not valid JSON: %s', state_file, e)