cvat-ai / cvat

Annotate better with CVAT, the industry-leading data engine for machine learning. Used and trusted by teams at any scale, for data of any scale.
https://cvat.ai
MIT License
12.69k stars 3.02k forks source link

The CPU deployment process stops #3589

Closed laolihaile closed 3 years ago

laolihaile commented 3 years ago
$ sudo serverless/deploy_cpu.sh
Deploying /home/usr/download/cvat/cvat/serverless/openvino/dextr function...
21.08.25 14:14:26.409                     nuctl (I) Deploying function {"name": ""}
21.08.25 14:14:26.410                     nuctl (I) Building {"versionInfo": "Label: 1.5.16, Git commit: ae43a6a560c2bec42d7ccfdf6e8e11a1e3cc3774, OS: linux, Arch: amd64, Go version: go1.14.3", "name": ""}
21.08.25 14:14:26.790                     nuctl (I) Cleaning up before deployment {"functionName": "openvino-dextr"}
21.08.25 14:14:26.812                     nuctl (I) Staging files and preparing base images
21.08.25 14:14:26.813                     nuctl (I) Building processor image {"imageName": "cvat/openvino.dextr:latest"}
21.08.25 14:14:26.813     nuctl.platform.docker (I) Pulling image {"imageName": "quay.io/nuclio/handler-builder-python-onbuild:1.5.16-amd64"}
21.08.25 14:14:54.193     nuctl.platform.docker (I) Pulling image {"imageName": "quay.io/nuclio/uhttpc:0.0.1-amd64"}
21.08.25 14:15:13.354            nuctl.platform (I) Building docker image {"image": "cvat/openvino.dextr:latest"}

The process is at a standstill here could u help me please

bsekachev commented 3 years ago

@laolihaile What exactly function do you want to deploy?

laolihaile commented 3 years ago

@bsekachev I want to deploy siammask I use the following command

$ nuctl deploy --project-name cvat   --path serverless/pytorch/foolwood/siammask/nuclio   --volume `pwd`/serverless/common:/opt/nuclio/common 

got this

21.08.25 16:23:49.202                     nuctl (I) Deploying function {"name": ""}
21.08.25 16:23:49.202                     nuctl (I) Building {"versionInfo": "Label: 1.5.16, Git commit: ae43a6a560c2bec42d7ccfdf6e8e11a1e3cc3774, OS: linux, Arch: amd64, Go version: go1.14.3", "name": ""}
21.08.25 16:23:49.470                     nuctl (I) Cleaning up before deployment {"functionName": "pth-foolwood-siammask"}
21.08.25 16:23:49.494                     nuctl (I) Staging files and preparing base images
21.08.25 16:23:49.495                     nuctl (I) Building processor image {"imageName": "cvat/pth.foolwood.siammask:latest"}
21.08.25 16:23:49.495     nuctl.platform.docker (I) Pulling image {"imageName": "quay.io/nuclio/handler-builder-python-onbuild:1.5.16-amd64"}
21.08.25 16:24:11.278     nuctl.platform.docker (I) Pulling image {"imageName": "quay.io/nuclio/uhttpc:0.0.1-amd64"}
21.08.25 16:24:39.670            nuctl.platform (I) Building docker image {"image": "cvat/pth.foolwood.siammask:latest"}
21.08.25 16:32:10.976     nuctl.platform.docker (W) Docker command outputted to stderr - this may result in errors {"workingDir": "/tmp/nuclio-build-782173628/staging", "cmd": "docker build --network host --force-rm -t cvat/pth.foolwood.siammask:latest -f /tmp/nuclio-build-782173628/staging/Dockerfile.processor  --build-arg NUCLIO_LABEL=1.5.16 --build-arg NUCLIO_ARCH=amd64 --build-arg NUCLIO_BUILD_LOCAL_HANDLER_DIR=handler  .", "stderr": "The command 'conda run -n siammask /bin/bash -c pip install -r SiamMask/requirements.txt jsonpickle' returned a non-zero code: 1\n"}
21.08.25 16:32:10.985                     nuctl (W) Failed to create a function; setting the function status {"err": "Failed to build processor image", "errVerbose": "\nError - exit status 1\n    /nuclio/pkg/cmdrunner/shellrunner.go:96\n\nCall stack:\nstdout:\nSending build context to Docker daemon  44.69MB\r\r\nStep 1/20 : FROM continuumio/miniconda3\n ---> 67414e5844b6\nStep 2/20 : ARG NUCLIO_LABEL\n ---> Using cache\n ---> 0aa974f8f8fb\nStep 3/20 : ARG NUCLIO_ARCH\n ---> Using cache\n ---> a0fe77afd297\nStep 4/20 : ARG NUCLIO_BUILD_LOCAL_HANDLER_DIR\n ---> Using cache\n ---> f13903bb6f00\nStep 5/20 : WORKDIR /opt/nuclio\n ---> Using cache\n ---> b7b5f0415232\nStep 6/20 : RUN conda create -y -n siammask python=3.6\n ---> Using cache\n ---> 1d0b131c4db5\nStep 7/20 : SHELL [\"conda\", \"run\", \"-n\", \"siammask\", \"/bin/bash\", \"-c\"]\n ---> Using cache\n ---> 3c3bde1c42ad\nStep 8/20 : RUN git clone https://github.com/foolwood/SiamMask.git\n ---> Running in f662ee5e4730\n\u001b[91mCloning into 'SiamMask'...\n\n\u001b[0mRemoving intermediate container f662ee5e4730\n ---> bc8e44b080e3\nStep 9/20 : RUN pip install -r SiamMask/requirements.txt jsonpickle\n ---> Running in eaa84485a8fc\n\u001b[91mERROR conda.cli.main_run:execute(33): Subprocess for 'conda run ['/bin/bash', '-c', 'pip install -r SiamMask/requirements.txt jsonpickle']' command failed.  (See above for error)\n\u001b[0m\u001b[91mWARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0ceae89978>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/\nWARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0ceae89c18>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/\nWARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0ceae89d68>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/\nWARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0ceae89eb8>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/\nWARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0cebb80048>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/\nERROR: Could not find a version that satisfies the requirement jsonpickle\nERROR: No matching distribution found for jsonpickle\n\n\u001b[0mRemoving intermediate container eaa84485a8fc\n\nstderr:\nThe command 'conda run -n siammask /bin/bash -c pip install -r SiamMask/requirements.txt jsonpickle' returned a non-zero code: 1\n\n    /nuclio/pkg/cmdrunner/shellrunner.go:96\nFailed to build\n    /nuclio/pkg/dockerclient/shell.go:118\nFailed to build docker image\n    .../pkg/containerimagebuilderpusher/docker.go:53\nFailed to build processor image\n    /nuclio/pkg/processor/build/builder.go:250\nFailed to build processor image", "errCauses": [{"error": "Failed to build docker image", "errorVerbose": "\nError - exit status 1\n    /nuclio/pkg/cmdrunner/shellrunner.go:96\n\nCall stack:\nstdout:\nSending build context to Docker daemon  44.69MB\r\r\nStep 1/20 : FROM continuumio/miniconda3\n ---> 67414e5844b6\nStep 2/20 : ARG NUCLIO_LABEL\n ---> Using cache\n ---> 0aa974f8f8fb\nStep 3/20 : ARG NUCLIO_ARCH\n ---> Using cache\n ---> a0fe77afd297\nStep 4/20 : ARG NUCLIO_BUILD_LOCAL_HANDLER_DIR\n ---> Using cache\n ---> f13903bb6f00\nStep 5/20 : WORKDIR /opt/nuclio\n ---> Using cache\n ---> b7b5f0415232\nStep 6/20 : RUN conda create -y -n siammask python=3.6\n ---> Using cache\n ---> 1d0b131c4db5\nStep 7/20 : SHELL [\"conda\", \"run\", \"-n\", \"siammask\", \"/bin/bash\", \"-c\"]\n ---> Using cache\n ---> 3c3bde1c42ad\nStep 8/20 : RUN git clone https://github.com/foolwood/SiamMask.git\n ---> Running in f662ee5e4730\n\u001b[91mCloning into 'SiamMask'...\n\n\u001b[0mRemoving intermediate container f662ee5e4730\n ---> bc8e44b080e3\nStep 9/20 : RUN pip install -r SiamMask/requirements.txt jsonpickle\n ---> Running in eaa84485a8fc\n\u001b[91mERROR conda.cli.main_run:execute(33): Subprocess for 'conda run ['/bin/bash', '-c', 'pip install -r SiamMask/requirements.txt jsonpickle']' command failed.  (See above for error)\n\u001b[0m\u001b[91mWARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0ceae89978>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/\nWARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0ceae89c18>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/\nWARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0ceae89d68>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/\nWARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0ceae89eb8>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/\nWARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0cebb80048>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/\nERROR: Could not find a version that satisfies the requirement jsonpickle\nERROR: No matching distribution found for jsonpickle\n\n\u001b[0mRemoving intermediate container eaa84485a8fc\n\nstderr:\nThe command 'conda run -n siammask /bin/bash -c pip install -r SiamMask/requirements.txt jsonpickle' returned a non-zero code: 1\n\n    /nuclio/pkg/cmdrunner/shellrunner.go:96\nFailed to build\n    /nuclio/pkg/dockerclient/shell.go:118\nFailed to build docker image\n    .../pkg/containerimagebuilderpusher/docker.go:53\nFailed to build docker image", "errorCauses": [{"error": "Failed to build", "errorVerbose": "\nError - exit status 1\n    /nuclio/pkg/cmdrunner/shellrunner.go:96\n\nCall stack:\nstdout:\nSending build context to Docker daemon  44.69MB\r\r\nStep 1/20 : FROM continuumio/miniconda3\n ---> 67414e5844b6\nStep 2/20 : ARG NUCLIO_LABEL\n ---> Using cache\n ---> 0aa974f8f8fb\nStep 3/20 : ARG NUCLIO_ARCH\n ---> Using cache\n ---> a0fe77afd297\nStep 4/20 : ARG NUCLIO_BUILD_LOCAL_HANDLER_DIR\n ---> Using cache\n ---> f13903bb6f00\nStep 5/20 : WORKDIR /opt/nuclio\n ---> Using cache\n ---> b7b5f0415232\nStep 6/20 : RUN conda create -y -n siammask python=3.6\n ---> Using cache\n ---> 1d0b131c4db5\nStep 7/20 : SHELL [\"conda\", \"run\", \"-n\", \"siammask\", \"/bin/bash\", \"-c\"]\n ---> Using cache\n ---> 3c3bde1c42ad\nStep 8/20 : RUN git clone https://github.com/foolwood/SiamMask.git\n ---> Running in f662ee5e4730\n\u001b[91mCloning into 'SiamMask'...\n\n\u001b[0mRemoving intermediate container f662ee5e4730\n ---> bc8e44b080e3\nStep 9/20 : RUN pip install -r SiamMask/requirements.txt jsonpickle\n ---> Running in eaa84485a8fc\n\u001b[91mERROR conda.cli.main_run:execute(33): Subprocess for 'conda run ['/bin/bash', '-c', 'pip install -r SiamMask/requirements.txt jsonpickle']' command failed.  (See above for error)\n\u001b[0m\u001b[91mWARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0ceae89978>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/\nWARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0ceae89c18>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/\nWARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0ceae89d68>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/\nWARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0ceae89eb8>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/\nWARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0cebb80048>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/\nERROR: Could not find a version that satisfies the requirement jsonpickle\nERROR: No matching distribution found for jsonpickle\n\n\u001b[0mRemoving intermediate container eaa84485a8fc\n\nstderr:\nThe command 'conda run -n siammask /bin/bash -c pip install -r SiamMask/requirements.txt jsonpickle' returned a non-zero code: 1\n\n    /nuclio/pkg/cmdrunner/shellrunner.go:96\nFailed to build\n    /nuclio/pkg/dockerclient/shell.go:118\nFailed to build", "errorCauses": [{"error": "stdout:\nSending build context to Docker daemon  44.69MB\r\r\nStep 1/20 : FROM continuumio/miniconda3\n ---> 67414e5844b6\nStep 2/20 : ARG NUCLIO_LABEL\n ---> Using cache\n ---> 0aa974f8f8fb\nStep 3/20 : ARG NUCLIO_ARCH\n ---> Using cache\n ---> a0fe77afd297\nStep 4/20 : ARG NUCLIO_BUILD_LOCAL_HANDLER_DIR\n ---> Using cache\n ---> f13903bb6f00\nStep 5/20 : WORKDIR /opt/nuclio\n ---> Using cache\n ---> b7b5f0415232\nStep 6/20 : RUN conda create -y -n siammask python=3.6\n ---> Using cache\n ---> 1d0b131c4db5\nStep 7/20 : SHELL [\"conda\", \"run\", \"-n\", \"siammask\", \"/bin/bash\", \"-c\"]\n ---> Using cache\n ---> 3c3bde1c42ad\nStep 8/20 : RUN git clone https://github.com/foolwood/SiamMask.git\n ---> Running in f662ee5e4730\n\u001b[91mCloning into 'SiamMask'...\n\n\u001b[0mRemoving intermediate container f662ee5e4730\n ---> bc8e44b080e3\nStep 9/20 : RUN pip install -r SiamMask/requirements.txt jsonpickle\n ---> Running in eaa84485a8fc\n\u001b[91mERROR conda.cli.main_run:execute(33): Subprocess for 'conda run ['/bin/bash', '-c', 'pip install -r SiamMask/requirements.txt jsonpickle']' command failed.  (See above for error)\n\u001b[0m\u001b[91mWARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0ceae89978>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/\nWARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0ceae89c18>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/\nWARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0ceae89d68>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/\nWARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0ceae89eb8>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/\nWARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0cebb80048>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/\nERROR: Could not find a version that satisfies the requirement jsonpickle\nERROR: No matching distribution found for jsonpickle\n\n\u001b[0mRemoving intermediate container eaa84485a8fc\n\nstderr:\nThe command 'conda run -n siammask /bin/bash -c pip install -r SiamMask/requirements.txt jsonpickle' returned a non-zero code: 1\n", "errorVerbose": "\nError - exit status 1\n    /nuclio/pkg/cmdrunner/shellrunner.go:96\n\nCall stack:\nstdout:\nSending build context to Docker daemon  44.69MB\r\r\nStep 1/20 : FROM continuumio/miniconda3\n ---> 67414e5844b6\nStep 2/20 : ARG NUCLIO_LABEL\n ---> Using cache\n ---> 0aa974f8f8fb\nStep 3/20 : ARG NUCLIO_ARCH\n ---> Using cache\n ---> a0fe77afd297\nStep 4/20 : ARG NUCLIO_BUILD_LOCAL_HANDLER_DIR\n ---> Using cache\n ---> f13903bb6f00\nStep 5/20 : WORKDIR /opt/nuclio\n ---> Using cache\n ---> b7b5f0415232\nStep 6/20 : RUN conda create -y -n siammask python=3.6\n ---> Using cache\n ---> 1d0b131c4db5\nStep 7/20 : SHELL [\"conda\", \"run\", \"-n\", \"siammask\", \"/bin/bash\", \"-c\"]\n ---> Using cache\n ---> 3c3bde1c42ad\nStep 8/20 : RUN git clone https://github.com/foolwood/SiamMask.git\n ---> Running in f662ee5e4730\n\u001b[91mCloning into 'SiamMask'...\n\n\u001b[0mRemoving intermediate container f662ee5e4730\n ---> bc8e44b080e3\nStep 9/20 : RUN pip install -r SiamMask/requirements.txt jsonpickle\n ---> Running in eaa84485a8fc\n\u001b[91mERROR conda.cli.main_run:execute(33): Subprocess for 'conda run ['/bin/bash', '-c', 'pip install -r SiamMask/requirements.txt jsonpickle']' command failed.  (See above for error)\n\u001b[0m\u001b[91mWARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0ceae89978>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/\nWARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0ceae89c18>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/\nWARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0ceae89d68>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/\nWARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0ceae89eb8>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/\nWARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0cebb80048>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/\nERROR: Could not find a version that satisfies the requirement jsonpickle\nERROR: No matching distribution found for jsonpickle\n\n\u001b[0mRemoving intermediate container eaa84485a8fc\n\nstderr:\nThe command 'conda run -n siammask /bin/bash -c pip install -r SiamMask/requirements.txt jsonpickle' returned a non-zero code: 1\n\n    /nuclio/pkg/cmdrunner/shellrunner.go:96\nstdout:\nSending build context to Docker daemon  44.69MB\r\r\nStep 1/20 : FROM continuumio/miniconda3\n ---> 67414e5844b6\nStep 2/20 : ARG NUCLIO_LABEL\n ---> Using cache\n ---> 0aa974f8f8fb\nStep 3/20 : ARG NUCLIO_ARCH\n ---> Using cache\n ---> a0fe77afd297\nStep 4/20 : ARG NUCLIO_BUILD_LOCAL_HANDLER_DIR\n ---> Using cache\n ---> f13903bb6f00\nStep 5/20 : WORKDIR /opt/nuclio\n ---> Using cache\n ---> b7b5f0415232\nStep 6/20 : RUN conda create -y -n siammask python=3.6\n ---> Using cache\n ---> 1d0b131c4db5\nStep 7/20 : SHELL [\"conda\", \"run\", \"-n\", \"siammask\", \"/bin/bash\", \"-c\"]\n ---> Using cache\n ---> 3c3bde1c42ad\nStep 8/20 : RUN git clone https://github.com/foolwood/SiamMask.git\n ---> Running in f662ee5e4730\n\u001b[91mCloning into 'SiamMask'...\n\n\u001b[0mRemoving intermediate container f662ee5e4730\n ---> bc8e44b080e3\nStep 9/20 : RUN pip install -r SiamMask/requirements.txt jsonpickle\n ---> Running in eaa84485a8fc\n\u001b[91mERROR conda.cli.main_run:execute(33): Subprocess for 'conda run ['/bin/bash', '-c', 'pip install -r SiamMask/requirements.txt jsonpickle']' command failed.  (See above for error)\n\u001b[0m\u001b[91mWARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0ceae89978>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/\nWARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0ceae89c18>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/\nWARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0ceae89d68>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/\nWARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0ceae89eb8>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/\nWARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0cebb80048>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/\nERROR: Could not find a version that satisfies the requirement jsonpickle\nERROR: No matching distribution found for jsonpickle\n\n\u001b[0mRemoving intermediate container eaa84485a8fc\n\nstderr:\nThe command 'conda run -n siammask /bin/bash -c pip install -r SiamMask/requirements.txt jsonpickle' returned a non-zero code: 1\n", "errorCauses": [{"error": "exit status 1"}]}]}]}]}

Error - exit status 1
    /nuclio/pkg/cmdrunner/shellrunner.go:96

Call stack:
stdout:
Sending build context to Docker daemon  44.69MB
Step 1/20 : FROM continuumio/miniconda3
 ---> 67414e5844b6
Step 2/20 : ARG NUCLIO_LABEL
 ---> Using cache
 ---> 0aa974f8f8fb
Step 3/20 : ARG NUCLIO_ARCH
 ---> Using cache
 ---> a0fe77afd297
Step 4/20 : ARG NUCLIO_BUILD_LOCAL_HANDLER_DIR
 ---> Using cache
 ---> f13903bb6f00
Step 5/20 : WORKDIR /opt/nuclio
 ---> Using cache
 ---> b7b5f0415232
Step 6/20 : RUN conda create -y -n siammask python=3.6
 ---> Using cache
 ---> 1d0b131c4db5
Step 7/20 : SHELL ["conda", "run", "-n", "siammask", "/bin/bash", "-c"]
 ---> Using cache
 ---> 3c3bde1c42ad
Step 8/20 : RUN git clone https://github.com/foolwood/SiamMask.git
 ---> Running in f662ee5e4730
Cloning into 'SiamMask'...

Removing intermediate container f662ee5e4730
 ---> bc8e44b080e3
Step 9/20 : RUN pip install -r SiamMask/requirements.txt jsonpickle
 ---> Running in eaa84485a8fc
ERROR conda.cli.main_run:execute(33): Subprocess for 'conda run ['/bin/bash', '-c', 'pip install -r SiamMask/requirements.txt jsonpickle']' command failed.  (See above for error)
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0ceae89978>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0ceae89c18>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0ceae89d68>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0ceae89eb8>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0cebb80048>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jsonpickle/
ERROR: Could not find a version that satisfies the requirement jsonpickle
ERROR: No matching distribution found for jsonpickle

Removing intermediate container eaa84485a8fc

stderr:
The command 'conda run -n siammask /bin/bash -c pip install -r SiamMask/requirements.txt jsonpickle' returned a non-zero code: 1

    /nuclio/pkg/cmdrunner/shellrunner.go:96
Failed to build
    /nuclio/pkg/dockerclient/shell.go:118
Failed to build docker image
    .../pkg/containerimagebuilderpusher/docker.go:53
Failed to build processor image
    /nuclio/pkg/processor/build/builder.go:250
Failed to deploy function
    ...//nuclio/pkg/platform/abstract/platform.go:182

How should I solve this problem please,thank you

azhavoro commented 3 years ago

If you are behind a proxy this may be helpful https://openvinotoolkit.github.io/cvat/docs/administration/basics/installation/#deploying-cvat-behind-a-proxy

bsekachev commented 3 years ago

I hope you solved your problem. I will close the issue, do not hesitate to reopen it if you still don't manage to it.

Petros626 commented 1 year ago

@azhavoro any other help or did you solved it?