Till yesterday, everything was good, able to deploy simple PHP project successfully from Google Cloud SDK Shell. But suddenly, receive the below errors list at the end. Do not understand why this happens. Also, do not understand why Python erros are showing.
File upload done.
Updating service [default]...failed.
ERROR: (gcloud.app.deploy) Error Response: [9] Cloud build 466aef5a-213e-41c2-a6c9-e61ec6b09631 status: FAILURE.
Error ID: F220AEAA.
Error type: BuildError.
Error message: INFO FTL version php-v0.17.0
INFO Beginning FTL build for php
INFO FTL arg passed: exposed_ports None
INFO FTL arg passed: tar_base_image_path None
INFO FTL arg passed: export_cache_stats False
INFO FTL arg passed: builder_output_path ""
INFO FTL arg passed: ttl 168
INFO FTL arg passed: global_cache False
INFO FTL arg passed: cache True
INFO FTL arg passed: upload True
INFO FTL arg passed: sh_c_prefix False
INFO FTL arg passed: fail_on_error True
INFO FTL arg passed: output_path None
INFO FTL arg passed: cache_key_version v0.17.0
INFO FTL arg passed: cache_salt
INFO FTL arg passed: directory /workspace
INFO FTL arg passed: entrypoint None
INFO FTL arg passed: additional_directory /.googleconfig
INFO FTL arg passed: destination_path /srv
INFO FTL arg passed: verbosity NOTSET
INFO starting: full build
INFO starting: builder initialization
INFO builder initialization took 0 seconds
INFO starting: build process for FTL image
INFO starting: rm_vendor_dir
INFO rm_vendor_dir rm -rf /workspace/vendor
INFO `rm_vendor_dir` stdout:
INFO rm_vendor_dir took 0 seconds
INFO build process for FTL image took 0 seconds
INFO full build took 0 seconds
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/bin/ftl.par/__main__.py", line 65, in <module>
File "/usr/local/bin/ftl.par/__main__.py", line 54, in main
File "/usr/local/bin/ftl.par/__main__/ftl/php/builder.py", line 49, in Build
File "/usr/local/bin/ftl.par/__main__/ftl/php/layer_builder.py", line 57, in BuildLayer
File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 380, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Expecting property name: line 4 column 5 (char 59).