Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build step 0 "gcr.io/cloud-builders/docker" failed #253

Closed
tatsu opened this issue Aug 20, 2019 · 1 comment
Closed

build step 0 "gcr.io/cloud-builders/docker" failed #253

tatsu opened this issue Aug 20, 2019 · 1 comment

Comments

@tatsu
Copy link

tatsu commented Aug 20, 2019

I get the following error when building the inference module on Breast Density Classification Model on AutoML Vision. Any help would be appreciated.

%%bash -s {project_id}
PROJECT_ID=$1

gcloud builds submit --config scripts/inference/cloudbuild.yaml --timeout 1h scripts/inference

----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "c51add17-dad1-46b9-8524-75fe2c094faa"

FETCHSOURCE
Fetching storage object: gs://my-datalab-tutorials_cloudbuild/source/1566312982.06-8ee4df9c86394d5781360b6d176b8c12.tgz#1566312983140069
Copying gs://my-datalab-tutorials_cloudbuild/source/1566312982.06-8ee4df9c86394d5781360b6d176b8c12.tgz#1566312983140069...
/ [1 files][  8.9 KiB/  8.9 KiB]                                                
Operation completed over 1 objects/8.9 KiB.                                      
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  36.35kB
Step 1/5 : FROM google/cloud-sdk
latest: Pulling from google/cloud-sdk
22dbe790f715: Pulling fs layer
9b50d9fc3c82: Pulling fs layer
61a04f82847e: Pulling fs layer
9b50d9fc3c82: Verifying Checksum
9b50d9fc3c82: Download complete
22dbe790f715: Verifying Checksum
22dbe790f715: Download complete
61a04f82847e: Verifying Checksum
61a04f82847e: Download complete
22dbe790f715: Pull complete
9b50d9fc3c82: Pull complete
61a04f82847e: Pull complete
Digest: sha256:d026fcb44de9f3ac58ed959afa892d8216de858dc69b370e001d641a4e362437
Status: Downloaded newer image for google/cloud-sdk:latest
 ---> fdb2213adc87
Step 2/5 : RUN mkdir -p /opt/inference_module/src && mkdir -p /opt/inference_module/bin
 ---> Running in 0408360c19ae
Removing intermediate container 0408360c19ae
 ---> 43f5c80f3aef
Step 3/5 : ADD / /opt/inference_module/src/
 ---> 3ae13bc0ba75
Step 4/5 : RUN pip install --upgrade pip && pip install --upgrade virtualenv &&     virtualenv /opt/inference_module/venv &&     . /opt/inference_module/venv/bin/activate &&     cd /opt/inference_module/src/ &&     python setup.py install
 ---> Running in c647ac561529
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages/pip-19.2.2-py2.7.egg (19.2.2)
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting virtualenv
  Downloading https://files.pythonhosted.org/packages/5e/6a/fa7e7f533595402040c831500bb10576e1f4b8f54d476f3994c7c55d8f5e/virtualenv-16.7.3-py2.py3-none-any.whl (3.3MB)
Installing collected packages: virtualenv
Successfully installed virtualenv-16.7.3
New python executable in /opt/inference_module/venv/bin/python
Installing setuptools, pip, wheel...
done.
running install
running bdist_egg
running egg_info
creating breast_density_inference_module.egg-info
writing requirements to breast_density_inference_module.egg-info/requires.txt
writing breast_density_inference_module.egg-info/PKG-INFO
writing top-level names to breast_density_inference_module.egg-info/top_level.txt
writing dependency_links to breast_density_inference_module.egg-info/dependency_links.txt
writing manifest file 'breast_density_inference_module.egg-info/SOURCES.txt'
reading manifest file 'breast_density_inference_module.egg-info/SOURCES.txt'
writing manifest file 'breast_density_inference_module.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
warning: install_lib: 'build/lib.linux-x86_64-2.7' does not exist -- no Python modules to install

creating build
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying breast_density_inference_module.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying breast_density_inference_module.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying breast_density_inference_module.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying breast_density_inference_module.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying breast_density_inference_module.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/breast_density_inference_module-0.1-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing breast_density_inference_module-0.1-py2.7.egg
Copying breast_density_inference_module-0.1-py2.7.egg to /opt/inference_module/venv/lib/python2.7/site-packages
Adding breast-density-inference-module 0.1 to easy-install.pth file

Installed /opt/inference_module/venv/lib/python2.7/site-packages/breast_density_inference_module-0.1-py2.7.egg
Processing dependencies for breast-density-inference-module==0.1
Searching for attrs
Reading https://pypi.org/simple/attrs/
Downloading https://files.pythonhosted.org/packages/23/96/d828354fa2dbdf216eaa7b7de0db692f12c234f7ef888cc14980ef40d1d2/attrs-19.1.0-py2.py3-none-any.whl#sha256=69c0dbf2ed392de1cb5ec704444b08a5ef81680a61cb899dc08127123af36a79
Best match: attrs 19.1.0
Processing attrs-19.1.0-py2.py3-none-any.whl
Installing attrs-19.1.0-py2.py3-none-any.whl to /opt/inference_module/venv/lib/python2.7/site-packages
writing requirements to /opt/inference_module/venv/lib/python2.7/site-packages/attrs-19.1.0-py2.7.egg/EGG-INFO/requires.txt
Adding attrs 19.1.0 to easy-install.pth file

Installed /opt/inference_module/venv/lib/python2.7/site-packages/attrs-19.1.0-py2.7.egg
Searching for google-cloud-automl
Reading https://pypi.org/simple/google-cloud-automl/
Downloading https://files.pythonhosted.org/packages/1a/d2/54d91e8bda501ea80126d1c46f255008bba4e03ce3fa4f3738511f96def1/google_cloud_automl-0.4.0-py2.py3-none-any.whl#sha256=c4925ffc538a2123ff00ecff81583218af91b0574bca2a80c39ea09b7a2e4af2
Best match: google-cloud-automl 0.4.0
Processing google_cloud_automl-0.4.0-py2.py3-none-any.whl
Installing google_cloud_automl-0.4.0-py2.py3-none-any.whl to /opt/inference_module/venv/lib/python2.7/site-packages
writing requirements to /opt/inference_module/venv/lib/python2.7/site-packages/google_cloud_automl-0.4.0-py2.7.egg/EGG-INFO/requires.txt
Adding google-cloud-automl 0.4.0 to easy-install.pth file

Installed /opt/inference_module/venv/lib/python2.7/site-packages/google_cloud_automl-0.4.0-py2.7.egg
Searching for oauth2client
Reading https://pypi.org/simple/oauth2client/
Downloading https://files.pythonhosted.org/packages/95/a9/4f25a14d23f0786b64875b91784607c2277eff25d48f915e39ff0cff505a/oauth2client-4.1.3-py2.py3-none-any.whl#sha256=b8a81cc5d60e2d364f0b1b98f958dbd472887acaf1a5b05e21c28c31a2d6d3ac
Best match: oauth2client 4.1.3
Processing oauth2client-4.1.3-py2.py3-none-any.whl
Installing oauth2client-4.1.3-py2.py3-none-any.whl to /opt/inference_module/venv/lib/python2.7/site-packages
writing requirements to /opt/inference_module/venv/lib/python2.7/site-packages/oauth2client-4.1.3-py2.7.egg/EGG-INFO/requires.txt
Adding oauth2client 4.1.3 to easy-install.pth file

Installed /opt/inference_module/venv/lib/python2.7/site-packages/oauth2client-4.1.3-py2.7.egg
Searching for httplib2
Reading https://pypi.org/simple/httplib2/
Downloading https://files.pythonhosted.org/packages/78/23/bb9606e87a66fd8c72a2b1a75b049d3859a122bc2648915be845bc44e04f/httplib2-0.13.1.tar.gz#sha256=6901c8c0ffcf721f9ce270ad86da37bc2b4d32b8802d4a9cec38274898a64044
Best match: httplib2 0.13.1
Processing httplib2-0.13.1.tar.gz
Writing /tmp/easy_install-ucQzLn/httplib2-0.13.1/setup.cfg
Running httplib2-0.13.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ucQzLn/httplib2-0.13.1/egg-dist-tmp-Rnehvt
zip_safe flag not set; analyzing archive contents...
httplib2.certs: module references __file__
creating /opt/inference_module/venv/lib/python2.7/site-packages/httplib2-0.13.1-py2.7.egg
Extracting httplib2-0.13.1-py2.7.egg to /opt/inference_module/venv/lib/python2.7/site-packages
Adding httplib2 0.13.1 to easy-install.pth file

Installed /opt/inference_module/venv/lib/python2.7/site-packages/httplib2-0.13.1-py2.7.egg
Searching for google-cloud-pubsub
Reading https://pypi.org/simple/google-cloud-pubsub/
Downloading https://files.pythonhosted.org/packages/ff/44/e9ed21d9e56a4c0c7e6f8657368bc6af9a8e34f613ecfdd616b7291d95b3/google_cloud_pubsub-0.45.0-py2.py3-none-any.whl#sha256=260ec6ab8bf8fe9d21cb11b445160eeead0d6578978afbe48769c7088c702be9
Best match: google-cloud-pubsub 0.45.0
Processing google_cloud_pubsub-0.45.0-py2.py3-none-any.whl
Installing google_cloud_pubsub-0.45.0-py2.py3-none-any.whl to /opt/inference_module/venv/lib/python2.7/site-packages
writing requirements to /opt/inference_module/venv/lib/python2.7/site-packages/google_cloud_pubsub-0.45.0-py2.7.egg/EGG-INFO/requires.txt
Adding google-cloud-pubsub 0.45.0 to easy-install.pth file

Installed /opt/inference_module/venv/lib/python2.7/site-packages/google_cloud_pubsub-0.45.0-py2.7.egg
Searching for googleapis-common-protos==1.5.3
Reading https://pypi.org/simple/googleapis-common-protos/
Downloading https://files.pythonhosted.org/packages/00/03/d25bed04ec8d930bcfa488ba81a2ecbf7eb36ae3ffd7e8f5be0d036a89c9/googleapis-common-protos-1.5.3.tar.gz#sha256=c075eddaa2628ab519e01b7d75b76e66c40eaa50fc52758d8225f84708950ef2
Best match: googleapis-common-protos 1.5.3
Processing googleapis-common-protos-1.5.3.tar.gz
Writing /tmp/easy_install-blImn8/googleapis-common-protos-1.5.3/setup.cfg
Running googleapis-common-protos-1.5.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-blImn8/googleapis-common-protos-1.5.3/egg-dist-tmp-a05X9R
zip_safe flag not set; analyzing archive contents...
Moving googleapis_common_protos-1.5.3-py2.7.egg to /opt/inference_module/venv/lib/python2.7/site-packages
Adding googleapis-common-protos 1.5.3 to easy-install.pth file

Installed /opt/inference_module/venv/lib/python2.7/site-packages/googleapis_common_protos-1.5.3-py2.7.egg
Searching for google-api-core
Reading https://pypi.org/simple/google-api-core/
Downloading https://files.pythonhosted.org/packages/71/e5/7059475b3013a3c75abe35015c5761735ab224eb1b129fee7c8e376e7805/google_api_core-1.14.2-py2.py3-none-any.whl#sha256=b2b91107bcc3b981633c89602b46451f6474973089febab3ee51c49cb7ae6a1f
Best match: google-api-core 1.14.2
Processing google_api_core-1.14.2-py2.py3-none-any.whl
Installing google_api_core-1.14.2-py2.py3-none-any.whl to /opt/inference_module/venv/lib/python2.7/site-packages
writing requirements to /opt/inference_module/venv/lib/python2.7/site-packages/google_api_core-1.14.2-py2.7.egg/EGG-INFO/requires.txt
Adding google-api-core 1.14.2 to easy-install.pth file

Installed /opt/inference_module/venv/lib/python2.7/site-packages/google_api_core-1.14.2-py2.7.egg
Searching for google-api-python-client
Reading https://pypi.org/simple/google-api-python-client/
Downloading https://files.pythonhosted.org/packages/31/c7/16ca16d28f2d71c8bd6fa67c91eb2a82259dc589c0504f903b675ecdaa84/google_api_python_client-1.7.11-py2-none-any.whl#sha256=3121d55d106ef1a2756e8074239512055bd99eb44da417b3dd680f9a1385adec
Best match: google-api-python-client 1.7.11
Processing google_api_python_client-1.7.11-py2-none-any.whl
Installing google_api_python_client-1.7.11-py2-none-any.whl to /opt/inference_module/venv/lib/python2.7/site-packages
writing requirements to /opt/inference_module/venv/lib/python2.7/site-packages/google_api_python_client-1.7.11-py2.7.egg/EGG-INFO/requires.txt
Adding google-api-python-client 1.7.11 to easy-install.pth file

Installed /opt/inference_module/venv/lib/python2.7/site-packages/google_api_python_client-1.7.11-py2.7.egg
Searching for requests-toolbelt
Reading https://pypi.org/simple/requests-toolbelt/
Downloading https://files.pythonhosted.org/packages/60/ef/7681134338fc097acef8d9b2f8abe0458e4d87559c689a8c306d0957ece5/requests_toolbelt-0.9.1-py2.py3-none-any.whl#sha256=380606e1d10dc85c3bd47bf5a6095f815ec007be7a8b69c878507068df059e6f
Best match: requests-toolbelt 0.9.1
Processing requests_toolbelt-0.9.1-py2.py3-none-any.whl
Installing requests_toolbelt-0.9.1-py2.py3-none-any.whl to /opt/inference_module/venv/lib/python2.7/site-packages
writing requirements to /opt/inference_module/venv/lib/python2.7/site-packages/requests_toolbelt-0.9.1-py2.7.egg/EGG-INFO/requires.txt
Adding requests-toolbelt 0.9.1 to easy-install.pth file

Installed /opt/inference_module/venv/lib/python2.7/site-packages/requests_toolbelt-0.9.1-py2.7.egg
Searching for enum34
Reading https://pypi.org/simple/enum34/
Downloading https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl#sha256=6bd0f6ad48ec2aa117d3d141940d484deccda84d4fcd884f5c3d93c23ecd8c79
Best match: enum34 1.1.6
Processing enum34-1.1.6-py2-none-any.whl
Installing enum34-1.1.6-py2-none-any.whl to /opt/inference_module/venv/lib/python2.7/site-packages
Adding enum34 1.1.6 to easy-install.pth file

Installed /opt/inference_module/venv/lib/python2.7/site-packages/enum34-1.1.6-py2.7.egg
Searching for six>=1.6.1
Reading https://pypi.org/simple/six/
Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl#sha256=3350809f0555b11f552448330d0b52d5f24c91a322ea4a15ef22629740f3761c
Best match: six 1.12.0
Processing six-1.12.0-py2.py3-none-any.whl
Installing six-1.12.0-py2.py3-none-any.whl to /opt/inference_module/venv/lib/python2.7/site-packages
Adding six 1.12.0 to easy-install.pth file

Installed /opt/inference_module/venv/lib/python2.7/site-packages/six-1.12.0-py2.7.egg
Searching for rsa>=3.1.4
Reading https://pypi.org/simple/rsa/
Downloading https://files.pythonhosted.org/packages/02/e5/38518af393f7c214357079ce67a317307936896e961e35450b70fad2a9cf/rsa-4.0-py2.py3-none-any.whl#sha256=14ba45700ff1ec9eeb206a2ce76b32814958a98e372006c8fb76ba820211be66
Best match: rsa 4.0
Processing rsa-4.0-py2.py3-none-any.whl
Installing rsa-4.0-py2.py3-none-any.whl to /opt/inference_module/venv/lib/python2.7/site-packages
writing requirements to /opt/inference_module/venv/lib/python2.7/site-packages/rsa-4.0-py2.7.egg/EGG-INFO/requires.txt
Adding rsa 4.0 to easy-install.pth file
Installing pyrsa-encrypt script to /opt/inference_module/venv/bin
Installing pyrsa-verify script to /opt/inference_module/venv/bin
Installing pyrsa-sign script to /opt/inference_module/venv/bin
Installing pyrsa-priv2pub script to /opt/inference_module/venv/bin
Installing pyrsa-decrypt script to /opt/inference_module/venv/bin
Installing pyrsa-keygen script to /opt/inference_module/venv/bin

Installed /opt/inference_module/venv/lib/python2.7/site-packages/rsa-4.0-py2.7.egg
Searching for pyasn1>=0.1.7
Reading https://pypi.org/simple/pyasn1/
Downloading https://files.pythonhosted.org/packages/6a/6e/209351ec34b7d7807342e2bb6ff8a96eef1fd5dcac13bdbadf065c2bb55c/pyasn1-0.4.6-py2.py3-none-any.whl#sha256=3bb81821d47b17146049e7574ab4bf1e315eb7aead30efe5d6a9ca422c9710be
Best match: pyasn1 0.4.6
Processing pyasn1-0.4.6-py2.py3-none-any.whl
Installing pyasn1-0.4.6-py2.py3-none-any.whl to /opt/inference_module/venv/lib/python2.7/site-packages
Adding pyasn1 0.4.6 to easy-install.pth file

Installed /opt/inference_module/venv/lib/python2.7/site-packages/pyasn1-0.4.6-py2.7.egg
Searching for pyasn1-modules>=0.0.5
Reading https://pypi.org/simple/pyasn1-modules/
Downloading https://files.pythonhosted.org/packages/be/70/e5ea8afd6d08a4b99ebfc77bd1845248d56cfcf43d11f9dc324b9580a35c/pyasn1_modules-0.2.6-py2.py3-none-any.whl#sha256=e30199a9d221f1b26c885ff3d87fd08694dbbe18ed0e8e405a2a7126d30ce4c0
Best match: pyasn1-modules 0.2.6
Processing pyasn1_modules-0.2.6-py2.py3-none-any.whl
Installing pyasn1_modules-0.2.6-py2.py3-none-any.whl to /opt/inference_module/venv/lib/python2.7/site-packages
writing requirements to /opt/inference_module/venv/lib/python2.7/site-packages/pyasn1_modules-0.2.6-py2.7.egg/EGG-INFO/requires.txt
Adding pyasn1-modules 0.2.6 to easy-install.pth file

Installed /opt/inference_module/venv/lib/python2.7/site-packages/pyasn1_modules-0.2.6-py2.7.egg
Searching for grpc-google-iam-v1<0.13dev,>=0.12.3
Reading https://pypi.org/simple/grpc-google-iam-v1/
Downloading https://files.pythonhosted.org/packages/65/19/2060c8faa325fddc09aa67af98ffcb6813f39a0ad805679fa64815362b3a/grpc-google-iam-v1-0.12.3.tar.gz#sha256=0bfb5b56f648f457021a91c0df0db4934b6e0c300bd0f2de2333383fe958aa72
Best match: grpc-google-iam-v1 0.12.3
Processing grpc-google-iam-v1-0.12.3.tar.gz
Writing /tmp/easy_install-Lc6wP0/grpc-google-iam-v1-0.12.3/setup.cfg
Running grpc-google-iam-v1-0.12.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-Lc6wP0/grpc-google-iam-v1-0.12.3/egg-dist-tmp-YmxQ4J
zip_safe flag not set; analyzing archive contents...
Moving grpc_google_iam_v1-0.12.3-py2.7.egg to /opt/inference_module/venv/lib/python2.7/site-packages
Adding grpc-google-iam-v1 0.12.3 to easy-install.pth file

Installed /opt/inference_module/venv/lib/python2.7/site-packages/grpc_google_iam_v1-0.12.3-py2.7.egg
Searching for protobuf>=3.0.0
Reading https://pypi.org/simple/protobuf/
Downloading https://files.pythonhosted.org/packages/c7/60/19c2c3b563c8a5ebbc5f17982fd794f415cfc4633a8248ab3e23a47662bc/protobuf-3.9.1-cp27-cp27mu-manylinux1_x86_64.whl#sha256=55f85b7808766e5e3f526818f5e2aeb5ba2edcc45bcccede46a3ccc19b569cb0
Best match: protobuf 3.9.1
Processing protobuf-3.9.1-cp27-cp27mu-manylinux1_x86_64.whl
Installing protobuf-3.9.1-cp27-cp27mu-manylinux1_x86_64.whl to /opt/inference_module/venv/lib/python2.7/site-packages
writing requirements to /opt/inference_module/venv/lib/python2.7/site-packages/protobuf-3.9.1-py2.7-linux-x86_64.egg/EGG-INFO/requires.txt
Adding protobuf 3.9.1 to easy-install.pth file

Installed /opt/inference_module/venv/lib/python2.7/site-packages/protobuf-3.9.1-py2.7-linux-x86_64.egg
Searching for requests<3.0.0dev,>=2.18.0
Reading https://pypi.org/simple/requests/
Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl#sha256=9cf5292fcd0f598c671cfc1e0d7d1a7f13bb8085e9a590f48c010551dc6c4b31
Best match: requests 2.22.0
Processing requests-2.22.0-py2.py3-none-any.whl
Installing requests-2.22.0-py2.py3-none-any.whl to /opt/inference_module/venv/lib/python2.7/site-packages
writing requirements to /opt/inference_module/venv/lib/python2.7/site-packages/requests-2.22.0-py2.7.egg/EGG-INFO/requires.txt
Adding requests 2.22.0 to easy-install.pth file

Installed /opt/inference_module/venv/lib/python2.7/site-packages/requests-2.22.0-py2.7.egg
Searching for pytz
Reading https://pypi.org/simple/pytz/
Downloading https://files.pythonhosted.org/packages/87/76/46d697698a143e05f77bec5a526bf4e56a0be61d63425b68f4ba553b51f2/pytz-2019.2-py2.py3-none-any.whl#sha256=c894d57500a4cd2d5c71114aaab77dbab5eabd9022308ce5ac9bb93a60a6f0c7
Best match: pytz 2019.2
Processing pytz-2019.2-py2.py3-none-any.whl
Installing pytz-2019.2-py2.py3-none-any.whl to /opt/inference_module/venv/lib/python2.7/site-packages
Adding pytz 2019.2 to easy-install.pth file

Installed /opt/inference_module/venv/lib/python2.7/site-packages/pytz-2019.2-py2.7.egg
error: googleapis-common-protos 1.5.3 is installed but googleapis-common-protos<2.0dev,>=1.6.0 is required by set(['google-api-core'])
The command '/bin/sh -c pip install --upgrade pip && pip install --upgrade virtualenv &&     virtualenv /opt/inference_module/venv &&     . /opt/inference_module/venv/bin/activate &&     cd /opt/inference_module/src/ &&     python setup.py install' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: exit status 1

--------------------------------------------------------------------------------

Creating temporary tarball archive of 7 file(s) totalling 29.1 KiB before compression.
Uploading tarball of [scripts/inference] to [gs://my-datalab-tutorials_cloudbuild/source/1566312982.06-8ee4df9c86394d5781360b6d176b8c12.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/my-datalab-tutorials/builds/c51add17-dad1-46b9-8524-75fe2c094faa].
Logs are available at [https://console.cloud.google.com/gcr/builds/c51add17-dad1-46b9-8524-75fe2c094faa?project=690702105461].
ERROR: (gcloud.builds.submit) build c51add17-dad1-46b9-8524-75fe2c094faa completed with status "FAILURE"
@tatsu
Copy link
Author

tatsu commented Aug 22, 2019

Just remove version number from inference/setup.py and it seems fine.

@tatsu tatsu closed this as completed Aug 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant