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

cvat version 2.0 reported an error when installing nuctl autoannotation function #8795

Closed
2 tasks done
chang50961471 opened this issue Dec 9, 2024 · 2 comments
Closed
2 tasks done
Labels
bug Something isn't working

Comments

@chang50961471
Copy link

Actions before raising this issue

  • I searched the existing issues and did not find anything similar.
  • I read/searched the docs

Steps to Reproduce

[root@bogon cvat-2.0.0]# nuctl deploy --project-name cvat --path serverless/pytorch/ultralytics/15Strip_surface_inspection/nuclio/ --volume pwd/serverless/common:/opt/nuclio/common --platform local
24.12.09 02:43:25.009 nuctl (I) Deploying function {"name": ""}
24.12.09 02:43:25.009 nuctl (I) Building {"versionInfo": "Label: 1.5.16, Git commit: ae43a6a560c2bec42d7ccfdf6e8e11a1e3cc3774, OS: linux, Arch: amd64, Go version: go1.14.3", "name": ""}
24.12.09 02:43:25.460 nuctl (I) Cleaning up before deployment {"functionName": "yolov5-strip_surface_inspection"}
24.12.09 02:43:25.522 nuctl (I) Staging files and preparing base images
24.12.09 02:43:25.523 nuctl (I) Building processor image {"imageName": "cvat/ultralytics-yolov5:latest"}
24.12.09 02:43:25.524 nuctl.platform.docker (I) Pulling image {"imageName": "quay.io/nuclio/handler-builder-python-onbuild:1.5.16-amd64"}
24.12.09 02:43:48.385 nuctl.platform.docker (W) Docker command outputted to stderr - this may result in errors {"workingDir": "/tmp/nuclio-build-100192796/staging", "cmd": "docker build --network host --force-rm -t nuclio-onbuild-ctb9vcolcaupumt0kik0 -f /tmp/nuclio-build-100192796/staging/Dockerfile.onbuild --build-arg NUCLIO_LABEL=1.5.16 --build-arg NUCLIO_ARCH=amd64 --build-arg NUCLIO_BUILD_LOCAL_HANDLER_DIR=handler .", "stderr": "#0 building with "default" instance using docker driver\n\n#1 [internal] load build definition from Dockerfile.onbuild\n#1 transferring dockerfile: 200B 0.0s done\n#1 DONE 0.0s\n\n#2 [internal] load metadata for quay.io/nuclio/handler-builder-python-onbuild:1.5.16-amd64\n#2 DONE 0.0s\n\n#3 [internal] load .dockerignore\n#3 transferring context: 2B done\n#3 DONE 0.0s\n\n#4 [1/1] FROM quay.io/nuclio/handler-builder-python-onbuild:1.5.16-amd64\n#4 CACHED\n\n#5 exporting to image\n#5 exporting layers done\n#5 writing image sha256:4c7ddc9d1b793fc2d42c4b5ed935ea2e86d909306f84e9efcaee2d23377b194d done\n#5 naming to docker.io/library/nuclio-onbuild-ctb9vcolcaupumt0kik0 done\n#5 DONE 0.0s\n"}
24.12.09 02:43:49.145 nuctl.platform.docker (I) Pulling image {"imageName": "quay.io/nuclio/uhttpc:0.0.1-amd64"}
24.12.09 02:44:12.139 nuctl.platform.docker (W) Docker command outputted to stderr - this may result in errors {"workingDir": "/tmp/nuclio-build-100192796/staging", "cmd": "docker build --network host --force-rm -t nuclio-onbuild-ctb9violcaupumt0kikg -f /tmp/nuclio-build-100192796/staging/Dockerfile.onbuild --build-arg NUCLIO_LABEL=1.5.16 --build-arg NUCLIO_ARCH=amd64 --build-arg NUCLIO_BUILD_LOCAL_HANDLER_DIR=handler .", "stderr": "#0 building with "default" instance using docker driver\n\n#1 [internal] load build definition from Dockerfile.onbuild\n#1 transferring dockerfile: 175B done\n#1 DONE 0.0s\n\n#2 [internal] load metadata for quay.io/nuclio/uhttpc:0.0.1-amd64\n#2 DONE 0.0s\n\n#3 [internal] load .dockerignore\n#3 transferring context: 2B done\n#3 DONE 0.0s\n\n#4 [1/1] FROM quay.io/nuclio/uhttpc:0.0.1-amd64\n#4 CACHED\n\n#5 exporting to image\n#5 exporting layers done\n#5 writing image sha256:6c437d7c55d8a360818c8150244ca2b60d974d8c6b2e15fe6ceb6dcc260b3914 done\n#5 naming to docker.io/library/nuclio-onbuild-ctb9violcaupumt0kikg done\n#5 DONE 0.0s\n"}
24.12.09 02:44:12.503 nuctl.platform (I) Building docker image {"image": "cvat/ultralytics-yolov5:latest"}
24.12.09 02:44:52.706 nuctl.platform.docker (W) Docker command outputted to stderr - this may result in errors {"workingDir": "/tmp/nuclio-build-100192796/staging", "cmd": "docker build --network host --force-rm -t cvat/ultralytics-yolov5:latest -f /tmp/nuclio-build-100192796/staging/Dockerfile.processor --build-arg NUCLIO_LABEL=1.5.16 --build-arg NUCLIO_ARCH=amd64 --build-arg NUCLIO_BUILD_LOCAL_HANDLER_DIR=handler .", "stderr": "#0 building with "default" instance using docker driver\n\n#1 [internal] load build definition from Dockerfile.processor\n#1 transferring dockerfile: 967B done\n#1 DONE 0.0s\n\n#2 [internal] load metadata for docker.io/ultralytics/yolov5:latest-cpu\n#2 DONE 34.1s\n\n#3 [internal] load .dockerignore\n#3 transferring context: 2B done\n#3 DONE 0.0s\n\n#4 [1/8] FROM docker.io/ultralytics/yolov5:latest-cpu@sha256:69a9ed0a0ebf3d8b7ccfaf9f40806ea8596e538201c15a26c129fdf8af592ea6\n#4 CACHED\n\n#5 [internal] load build context\n#5 transferring context: 5.20kB done\n#5 DONE 0.0s\n\n#6 [2/8] RUN apt update && apt install --no-install-recommends -y libglib2.0-0\n#6 0.189 \n#6 0.189 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n#6 0.189 \n#6 2.829 Ign:1 http://security.ubuntu.com/ubuntu mantic-security InRelease\n#6 2.830 Ign:2 http://archive.ubuntu.com/ubuntu mantic InRelease\n#6 3.091 Ign:3 http://archive.ubuntu.com/ubuntu mantic-updates InRelease\n#6 3.091 Err:4 http://security.ubuntu.com/ubuntu mantic-security Release\n#6 3.091 404 Not Found [IP: 91.189.91.81 80]\n#6 3.347 Ign:5 http://archive.ubuntu.com/ubuntu mantic-backports InRelease\n#6 3.592 Err:6 http://archive.ubuntu.com/ubuntu mantic Release\n#6 3.592 404 Not Found [IP: 185.125.190.83 80]\n#6 3.839 Err:7 http://archive.ubuntu.com/ubuntu mantic-updates Release\n#6 3.839 404 Not Found [IP: 185.125.190.83 80]\n#6 4.085 Err:8 http://archive.ubuntu.com/ubuntu mantic-backports Release\n#6 4.085 404 Not Found [IP: 185.125.190.83 80]\n#6 4.100 Reading package lists...\n#6 5.419 E: The repository 'http://security.ubuntu.com/ubuntu mantic-security Release' no longer has a Release file.\n#6 5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic Release' no longer has a Release file.\n#6 5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic-updates Release' no longer has a Release file.\n#6 5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic-backports Release' no longer has a Release file.\n#6 ERROR: process "/bin/sh -c apt update && apt install --no-install-recommends -y libglib2.0-0" did not complete successfully: exit code: 100\n------\n > [2/8] RUN apt update && apt install --no-install-recommends -y libglib2.0-0:\n3.592 404 Not Found [IP: 185.125.190.83 80]\n3.839 Err:7 http://archive.ubuntu.com/ubuntu mantic-updates Release\n3.839 404 Not Found [IP: 185.125.190.83 80]\n4.085 Err:8 http://archive.ubuntu.com/ubuntu mantic-backports Release\n4.085 404 Not Found [IP: 185.125.190.83 80]\n\n5.419 E: The repository 'http://security.ubuntu.com/ubuntu mantic-security Release' no longer has a Release file.\n5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic Release' no longer has a Release file.\n5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic-updates Release' no longer has a Release file.\n5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic-backports Release' no longer has a Release file.\n------\nDockerfile.processor:18\n--------------------\n 16 | USER root\n 17 | \n 18 | >>> RUN apt update && apt install --no-install-recommends -y libglib2.0-0\n 19 | \n 20 | WORKDIR /opt/nuclio\n--------------------\nERROR: failed to solve: process "/bin/sh -c apt update && apt install --no-install-recommends -y libglib2.0-0" did not complete successfully: exit code: 100\n"}
24.12.09 02:44:52.717 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:\n\nstderr:\n#0 building with "default" instance using docker driver\n\n#1 [internal] load build definition from Dockerfile.processor\n#1 transferring dockerfile: 967B done\n#1 DONE 0.0s\n\n#2 [internal] load metadata for docker.io/ultralytics/yolov5:latest-cpu\n#2 DONE 34.1s\n\n#3 [internal] load .dockerignore\n#3 transferring context: 2B done\n#3 DONE 0.0s\n\n#4 [1/8] FROM docker.io/ultralytics/yolov5:latest-cpu@sha256:69a9ed0a0ebf3d8b7ccfaf9f40806ea8596e538201c15a26c129fdf8af592ea6\n#4 CACHED\n\n#5 [internal] load build context\n#5 transferring context: 5.20kB done\n#5 DONE 0.0s\n\n#6 [2/8] RUN apt update && apt install --no-install-recommends -y libglib2.0-0\n#6 0.189 \n#6 0.189 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n#6 0.189 \n#6 2.829 Ign:1 http://security.ubuntu.com/ubuntu mantic-security InRelease\n#6 2.830 Ign:2 http://archive.ubuntu.com/ubuntu mantic InRelease\n#6 3.091 Ign:3 http://archive.ubuntu.com/ubuntu mantic-updates InRelease\n#6 3.091 Err:4 http://security.ubuntu.com/ubuntu mantic-security Release\n#6 3.091 404 Not Found [IP: 91.189.91.81 80]\n#6 3.347 Ign:5 http://archive.ubuntu.com/ubuntu mantic-backports InRelease\n#6 3.592 Err:6 http://archive.ubuntu.com/ubuntu mantic Release\n#6 3.592 404 Not Found [IP: 185.125.190.83 80]\n#6 3.839 Err:7 http://archive.ubuntu.com/ubuntu mantic-updates Release\n#6 3.839 404 Not Found [IP: 185.125.190.83 80]\n#6 4.085 Err:8 http://archive.ubuntu.com/ubuntu mantic-backports Release\n#6 4.085 404 Not Found [IP: 185.125.190.83 80]\n#6 4.100 Reading package lists...\n#6 5.419 E: The repository 'http://security.ubuntu.com/ubuntu mantic-security Release' no longer has a Release file.\n#6 5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic Release' no longer has a Release file.\n#6 5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic-updates Release' no longer has a Release file.\n#6 5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic-backports Release' no longer has a Release file.\n#6 ERROR: process "/bin/sh -c apt update && apt install --no-install-recommends -y libglib2.0-0" did not complete successfully: exit code: 100\n------\n > [2/8] RUN apt update && apt install --no-install-recommends -y libglib2.0-0:\n3.592 404 Not Found [IP: 185.125.190.83 80]\n3.839 Err:7 http://archive.ubuntu.com/ubuntu mantic-updates Release\n3.839 404 Not Found [IP: 185.125.190.83 80]\n4.085 Err:8 http://archive.ubuntu.com/ubuntu mantic-backports Release\n4.085 404 Not Found [IP: 185.125.190.83 80]\n\n5.419 E: The repository 'http://security.ubuntu.com/ubuntu mantic-security Release' no longer has a Release file.\n5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic Release' no longer has a Release file.\n5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic-updates Release' no longer has a Release file.\n5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic-backports Release' no longer has a Release file.\n------\nDockerfile.processor:18\n--------------------\n 16 | USER root\n 17 | \n 18 | >>> RUN apt update && apt install --no-install-recommends -y libglib2.0-0\n 19 | \n 20 | WORKDIR /opt/nuclio\n--------------------\nERROR: failed to solve: process "/bin/sh -c apt update && apt install --no-install-recommends -y libglib2.0-0" did not complete successfully: exit code: 100\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:\n\nstderr:\n#0 building with "default" instance using docker driver\n\n#1 [internal] load build definition from Dockerfile.processor\n#1 transferring dockerfile: 967B done\n#1 DONE 0.0s\n\n#2 [internal] load metadata for docker.io/ultralytics/yolov5:latest-cpu\n#2 DONE 34.1s\n\n#3 [internal] load .dockerignore\n#3 transferring context: 2B done\n#3 DONE 0.0s\n\n#4 [1/8] FROM docker.io/ultralytics/yolov5:latest-cpu@sha256:69a9ed0a0ebf3d8b7ccfaf9f40806ea8596e538201c15a26c129fdf8af592ea6\n#4 CACHED\n\n#5 [internal] load build context\n#5 transferring context: 5.20kB done\n#5 DONE 0.0s\n\n#6 [2/8] RUN apt update && apt install --no-install-recommends -y libglib2.0-0\n#6 0.189 \n#6 0.189 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n#6 0.189 \n#6 2.829 Ign:1 http://security.ubuntu.com/ubuntu mantic-security InRelease\n#6 2.830 Ign:2 http://archive.ubuntu.com/ubuntu mantic InRelease\n#6 3.091 Ign:3 http://archive.ubuntu.com/ubuntu mantic-updates InRelease\n#6 3.091 Err:4 http://security.ubuntu.com/ubuntu mantic-security Release\n#6 3.091 404 Not Found [IP: 91.189.91.81 80]\n#6 3.347 Ign:5 http://archive.ubuntu.com/ubuntu mantic-backports InRelease\n#6 3.592 Err:6 http://archive.ubuntu.com/ubuntu mantic Release\n#6 3.592 404 Not Found [IP: 185.125.190.83 80]\n#6 3.839 Err:7 http://archive.ubuntu.com/ubuntu mantic-updates Release\n#6 3.839 404 Not Found [IP: 185.125.190.83 80]\n#6 4.085 Err:8 http://archive.ubuntu.com/ubuntu mantic-backports Release\n#6 4.085 404 Not Found [IP: 185.125.190.83 80]\n#6 4.100 Reading package lists...\n#6 5.419 E: The repository 'http://security.ubuntu.com/ubuntu mantic-security Release' no longer has a Release file.\n#6 5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic Release' no longer has a Release file.\n#6 5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic-updates Release' no longer has a Release file.\n#6 5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic-backports Release' no longer has a Release file.\n#6 ERROR: process "/bin/sh -c apt update && apt install --no-install-recommends -y libglib2.0-0" did not complete successfully: exit code: 100\n------\n > [2/8] RUN apt update && apt install --no-install-recommends -y libglib2.0-0:\n3.592 404 Not Found [IP: 185.125.190.83 80]\n3.839 Err:7 http://archive.ubuntu.com/ubuntu mantic-updates Release\n3.839 404 Not Found [IP: 185.125.190.83 80]\n4.085 Err:8 http://archive.ubuntu.com/ubuntu mantic-backports Release\n4.085 404 Not Found [IP: 185.125.190.83 80]\n\n5.419 E: The repository 'http://security.ubuntu.com/ubuntu mantic-security Release' no longer has a Release file.\n5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic Release' no longer has a Release file.\n5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic-updates Release' no longer has a Release file.\n5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic-backports Release' no longer has a Release file.\n------\nDockerfile.processor:18\n--------------------\n 16 | USER root\n 17 | \n 18 | >>> RUN apt update && apt install --no-install-recommends -y libglib2.0-0\n 19 | \n 20 | WORKDIR /opt/nuclio\n--------------------\nERROR: failed to solve: process "/bin/sh -c apt update && apt install --no-install-recommends -y libglib2.0-0" did not complete successfully: exit code: 100\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:\n\nstderr:\n#0 building with "default" instance using docker driver\n\n#1 [internal] load build definition from Dockerfile.processor\n#1 transferring dockerfile: 967B done\n#1 DONE 0.0s\n\n#2 [internal] load metadata for docker.io/ultralytics/yolov5:latest-cpu\n#2 DONE 34.1s\n\n#3 [internal] load .dockerignore\n#3 transferring context: 2B done\n#3 DONE 0.0s\n\n#4 [1/8] FROM docker.io/ultralytics/yolov5:latest-cpu@sha256:69a9ed0a0ebf3d8b7ccfaf9f40806ea8596e538201c15a26c129fdf8af592ea6\n#4 CACHED\n\n#5 [internal] load build context\n#5 transferring context: 5.20kB done\n#5 DONE 0.0s\n\n#6 [2/8] RUN apt update && apt install --no-install-recommends -y libglib2.0-0\n#6 0.189 \n#6 0.189 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n#6 0.189 \n#6 2.829 Ign:1 http://security.ubuntu.com/ubuntu mantic-security InRelease\n#6 2.830 Ign:2 http://archive.ubuntu.com/ubuntu mantic InRelease\n#6 3.091 Ign:3 http://archive.ubuntu.com/ubuntu mantic-updates InRelease\n#6 3.091 Err:4 http://security.ubuntu.com/ubuntu mantic-security Release\n#6 3.091 404 Not Found [IP: 91.189.91.81 80]\n#6 3.347 Ign:5 http://archive.ubuntu.com/ubuntu mantic-backports InRelease\n#6 3.592 Err:6 http://archive.ubuntu.com/ubuntu mantic Release\n#6 3.592 404 Not Found [IP: 185.125.190.83 80]\n#6 3.839 Err:7 http://archive.ubuntu.com/ubuntu mantic-updates Release\n#6 3.839 404 Not Found [IP: 185.125.190.83 80]\n#6 4.085 Err:8 http://archive.ubuntu.com/ubuntu mantic-backports Release\n#6 4.085 404 Not Found [IP: 185.125.190.83 80]\n#6 4.100 Reading package lists...\n#6 5.419 E: The repository 'http://security.ubuntu.com/ubuntu mantic-security Release' no longer has a Release file.\n#6 5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic Release' no longer has a Release file.\n#6 5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic-updates Release' no longer has a Release file.\n#6 5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic-backports Release' no longer has a Release file.\n#6 ERROR: process "/bin/sh -c apt update && apt install --no-install-recommends -y libglib2.0-0" did not complete successfully: exit code: 100\n------\n > [2/8] RUN apt update && apt install --no-install-recommends -y libglib2.0-0:\n3.592 404 Not Found [IP: 185.125.190.83 80]\n3.839 Err:7 http://archive.ubuntu.com/ubuntu mantic-updates Release\n3.839 404 Not Found [IP: 185.125.190.83 80]\n4.085 Err:8 http://archive.ubuntu.com/ubuntu mantic-backports Release\n4.085 404 Not Found [IP: 185.125.190.83 80]\n\n5.419 E: The repository 'http://security.ubuntu.com/ubuntu mantic-security Release' no longer has a Release file.\n5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic Release' no longer has a Release file.\n5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic-updates Release' no longer has a Release file.\n5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic-backports Release' no longer has a Release file.\n------\nDockerfile.processor:18\n--------------------\n 16 | USER root\n 17 | \n 18 | >>> RUN apt update && apt install --no-install-recommends -y libglib2.0-0\n 19 | \n 20 | WORKDIR /opt/nuclio\n--------------------\nERROR: failed to solve: process "/bin/sh -c apt update && apt install --no-install-recommends -y libglib2.0-0" did not complete successfully: exit code: 100\n\n /nuclio/pkg/cmdrunner/shellrunner.go:96\nFailed to build\n /nuclio/pkg/dockerclient/shell.go:118\nFailed to build", "errorCauses": [{"error": "stdout:\n\nstderr:\n#0 building with "default" instance using docker driver\n\n#1 [internal] load build definition from Dockerfile.processor\n#1 transferring dockerfile: 967B done\n#1 DONE 0.0s\n\n#2 [internal] load metadata for docker.io/ultralytics/yolov5:latest-cpu\n#2 DONE 34.1s\n\n#3 [internal] load .dockerignore\n#3 transferring context: 2B done\n#3 DONE 0.0s\n\n#4 [1/8] FROM docker.io/ultralytics/yolov5:latest-cpu@sha256:69a9ed0a0ebf3d8b7ccfaf9f40806ea8596e538201c15a26c129fdf8af592ea6\n#4 CACHED\n\n#5 [internal] load build context\n#5 transferring context: 5.20kB done\n#5 DONE 0.0s\n\n#6 [2/8] RUN apt update && apt install --no-install-recommends -y libglib2.0-0\n#6 0.189 \n#6 0.189 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n#6 0.189 \n#6 2.829 Ign:1 http://security.ubuntu.com/ubuntu mantic-security InRelease\n#6 2.830 Ign:2 http://archive.ubuntu.com/ubuntu mantic InRelease\n#6 3.091 Ign:3 http://archive.ubuntu.com/ubuntu mantic-updates InRelease\n#6 3.091 Err:4 http://security.ubuntu.com/ubuntu mantic-security Release\n#6 3.091 404 Not Found [IP: 91.189.91.81 80]\n#6 3.347 Ign:5 http://archive.ubuntu.com/ubuntu mantic-backports InRelease\n#6 3.592 Err:6 http://archive.ubuntu.com/ubuntu mantic Release\n#6 3.592 404 Not Found [IP: 185.125.190.83 80]\n#6 3.839 Err:7 http://archive.ubuntu.com/ubuntu mantic-updates Release\n#6 3.839 404 Not Found [IP: 185.125.190.83 80]\n#6 4.085 Err:8 http://archive.ubuntu.com/ubuntu mantic-backports Release\n#6 4.085 404 Not Found [IP: 185.125.190.83 80]\n#6 4.100 Reading package lists...\n#6 5.419 E: The repository 'http://security.ubuntu.com/ubuntu mantic-security Release' no longer has a Release file.\n#6 5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic Release' no longer has a Release file.\n#6 5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic-updates Release' no longer has a Release file.\n#6 5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic-backports Release' no longer has a Release file.\n#6 ERROR: process "/bin/sh -c apt update && apt install --no-install-recommends -y libglib2.0-0" did not complete successfully: exit code: 100\n------\n > [2/8] RUN apt update && apt install --no-install-recommends -y libglib2.0-0:\n3.592 404 Not Found [IP: 185.125.190.83 80]\n3.839 Err:7 http://archive.ubuntu.com/ubuntu mantic-updates Release\n3.839 404 Not Found [IP: 185.125.190.83 80]\n4.085 Err:8 http://archive.ubuntu.com/ubuntu mantic-backports Release\n4.085 404 Not Found [IP: 185.125.190.83 80]\n\n5.419 E: The repository 'http://security.ubuntu.com/ubuntu mantic-security Release' no longer has a Release file.\n5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic Release' no longer has a Release file.\n5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic-updates Release' no longer has a Release file.\n5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic-backports Release' no longer has a Release file.\n------\nDockerfile.processor:18\n--------------------\n 16 | USER root\n 17 | \n 18 | >>> RUN apt update && apt install --no-install-recommends -y libglib2.0-0\n 19 | \n 20 | WORKDIR /opt/nuclio\n--------------------\nERROR: failed to solve: process "/bin/sh -c apt update && apt install --no-install-recommends -y libglib2.0-0" did not complete successfully: exit code: 100\n", "errorVerbose": "\nError - exit status 1\n /nuclio/pkg/cmdrunner/shellrunner.go:96\n\nCall stack:\nstdout:\n\nstderr:\n#0 building with "default" instance using docker driver\n\n#1 [internal] load build definition from Dockerfile.processor\n#1 transferring dockerfile: 967B done\n#1 DONE 0.0s\n\n#2 [internal] load metadata for docker.io/ultralytics/yolov5:latest-cpu\n#2 DONE 34.1s\n\n#3 [internal] load .dockerignore\n#3 transferring context: 2B done\n#3 DONE 0.0s\n\n#4 [1/8] FROM docker.io/ultralytics/yolov5:latest-cpu@sha256:69a9ed0a0ebf3d8b7ccfaf9f40806ea8596e538201c15a26c129fdf8af592ea6\n#4 CACHED\n\n#5 [internal] load build context\n#5 transferring context: 5.20kB done\n#5 DONE 0.0s\n\n#6 [2/8] RUN apt update && apt install --no-install-recommends -y libglib2.0-0\n#6 0.189 \n#6 0.189 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n#6 0.189 \n#6 2.829 Ign:1 http://security.ubuntu.com/ubuntu mantic-security InRelease\n#6 2.830 Ign:2 http://archive.ubuntu.com/ubuntu mantic InRelease\n#6 3.091 Ign:3 http://archive.ubuntu.com/ubuntu mantic-updates InRelease\n#6 3.091 Err:4 http://security.ubuntu.com/ubuntu mantic-security Release\n#6 3.091 404 Not Found [IP: 91.189.91.81 80]\n#6 3.347 Ign:5 http://archive.ubuntu.com/ubuntu mantic-backports InRelease\n#6 3.592 Err:6 http://archive.ubuntu.com/ubuntu mantic Release\n#6 3.592 404 Not Found [IP: 185.125.190.83 80]\n#6 3.839 Err:7 http://archive.ubuntu.com/ubuntu mantic-updates Release\n#6 3.839 404 Not Found [IP: 185.125.190.83 80]\n#6 4.085 Err:8 http://archive.ubuntu.com/ubuntu mantic-backports Release\n#6 4.085 404 Not Found [IP: 185.125.190.83 80]\n#6 4.100 Reading package lists...\n#6 5.419 E: The repository 'http://security.ubuntu.com/ubuntu mantic-security Release' no longer has a Release file.\n#6 5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic Release' no longer has a Release file.\n#6 5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic-updates Release' no longer has a Release file.\n#6 5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic-backports Release' no longer has a Release file.\n#6 ERROR: process "/bin/sh -c apt update && apt install --no-install-recommends -y libglib2.0-0" did not complete successfully: exit code: 100\n------\n > [2/8] RUN apt update && apt install --no-install-recommends -y libglib2.0-0:\n3.592 404 Not Found [IP: 185.125.190.83 80]\n3.839 Err:7 http://archive.ubuntu.com/ubuntu mantic-updates Release\n3.839 404 Not Found [IP: 185.125.190.83 80]\n4.085 Err:8 http://archive.ubuntu.com/ubuntu mantic-backports Release\n4.085 404 Not Found [IP: 185.125.190.83 80]\n\n5.419 E: The repository 'http://security.ubuntu.com/ubuntu mantic-security Release' no longer has a Release file.\n5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic Release' no longer has a Release file.\n5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic-updates Release' no longer has a Release file.\n5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic-backports Release' no longer has a Release file.\n------\nDockerfile.processor:18\n--------------------\n 16 | USER root\n 17 | \n 18 | >>> RUN apt update && apt install --no-install-recommends -y libglib2.0-0\n 19 | \n 20 | WORKDIR /opt/nuclio\n--------------------\nERROR: failed to solve: process "/bin/sh -c apt update && apt install --no-install-recommends -y libglib2.0-0" did not complete successfully: exit code: 100\n\n /nuclio/pkg/cmdrunner/shellrunner.go:96\nstdout:\n\nstderr:\n#0 building with "default" instance using docker driver\n\n#1 [internal] load build definition from Dockerfile.processor\n#1 transferring dockerfile: 967B done\n#1 DONE 0.0s\n\n#2 [internal] load metadata for docker.io/ultralytics/yolov5:latest-cpu\n#2 DONE 34.1s\n\n#3 [internal] load .dockerignore\n#3 transferring context: 2B done\n#3 DONE 0.0s\n\n#4 [1/8] FROM docker.io/ultralytics/yolov5:latest-cpu@sha256:69a9ed0a0ebf3d8b7ccfaf9f40806ea8596e538201c15a26c129fdf8af592ea6\n#4 CACHED\n\n#5 [internal] load build context\n#5 transferring context: 5.20kB done\n#5 DONE 0.0s\n\n#6 [2/8] RUN apt update && apt install --no-install-recommends -y libglib2.0-0\n#6 0.189 \n#6 0.189 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n#6 0.189 \n#6 2.829 Ign:1 http://security.ubuntu.com/ubuntu mantic-security InRelease\n#6 2.830 Ign:2 http://archive.ubuntu.com/ubuntu mantic InRelease\n#6 3.091 Ign:3 http://archive.ubuntu.com/ubuntu mantic-updates InRelease\n#6 3.091 Err:4 http://security.ubuntu.com/ubuntu mantic-security Release\n#6 3.091 404 Not Found [IP: 91.189.91.81 80]\n#6 3.347 Ign:5 http://archive.ubuntu.com/ubuntu mantic-backports InRelease\n#6 3.592 Err:6 http://archive.ubuntu.com/ubuntu mantic Release\n#6 3.592 404 Not Found [IP: 185.125.190.83 80]\n#6 3.839 Err:7 http://archive.ubuntu.com/ubuntu mantic-updates Release\n#6 3.839 404 Not Found [IP: 185.125.190.83 80]\n#6 4.085 Err:8 http://archive.ubuntu.com/ubuntu mantic-backports Release\n#6 4.085 404 Not Found [IP: 185.125.190.83 80]\n#6 4.100 Reading package lists...\n#6 5.419 E: The repository 'http://security.ubuntu.com/ubuntu mantic-security Release' no longer has a Release file.\n#6 5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic Release' no longer has a Release file.\n#6 5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic-updates Release' no longer has a Release file.\n#6 5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic-backports Release' no longer has a Release file.\n#6 ERROR: process "/bin/sh -c apt update && apt install --no-install-recommends -y libglib2.0-0" did not complete successfully: exit code: 100\n------\n > [2/8] RUN apt update && apt install --no-install-recommends -y libglib2.0-0:\n3.592 404 Not Found [IP: 185.125.190.83 80]\n3.839 Err:7 http://archive.ubuntu.com/ubuntu mantic-updates Release\n3.839 404 Not Found [IP: 185.125.190.83 80]\n4.085 Err:8 http://archive.ubuntu.com/ubuntu mantic-backports Release\n4.085 404 Not Found [IP: 185.125.190.83 80]\n\n5.419 E: The repository 'http://security.ubuntu.com/ubuntu mantic-security Release' no longer has a Release file.\n5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic Release' no longer has a Release file.\n5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic-updates Release' no longer has a Release file.\n5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic-backports Release' no longer has a Release file.\n------\nDockerfile.processor:18\n--------------------\n 16 | USER root\n 17 | \n 18 | >>> RUN apt update && apt install --no-install-recommends -y libglib2.0-0\n 19 | \n 20 | WORKDIR /opt/nuclio\n--------------------\nERROR: failed to solve: process "/bin/sh -c apt update && apt install --no-install-recommends -y libglib2.0-0" did not complete successfully: exit code: 100\n", "errorCauses": [{"error": "exit status 1"}]}]}]}]}

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

Call stack:
stdout:

stderr:
#0 building with "default" instance using docker driver

#1 [internal] load build definition from Dockerfile.processor
#1 transferring dockerfile: 967B done
#1 DONE 0.0s

#2 [internal] load metadata for docker.io/ultralytics/yolov5:latest-cpu
#2 DONE 34.1s

#3 [internal] load .dockerignore
#3 transferring context: 2B done
#3 DONE 0.0s

#4 [1/8] FROM docker.io/ultralytics/yolov5:latest-cpu@sha256:69a9ed0a0ebf3d8b7ccfaf9f40806ea8596e538201c15a26c129fdf8af592ea6
#4 CACHED

#5 [internal] load build context
#5 transferring context: 5.20kB done
#5 DONE 0.0s

#6 [2/8] RUN apt update && apt install --no-install-recommends -y libglib2.0-0
#6 0.189
#6 0.189 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
#6 0.189
#6 2.829 Ign:1 http://security.ubuntu.com/ubuntu mantic-security InRelease
#6 2.830 Ign:2 http://archive.ubuntu.com/ubuntu mantic InRelease
#6 3.091 Ign:3 http://archive.ubuntu.com/ubuntu mantic-updates InRelease
#6 3.091 Err:4 http://security.ubuntu.com/ubuntu mantic-security Release
#6 3.091 404 Not Found [IP: 91.189.91.81 80]
#6 3.347 Ign:5 http://archive.ubuntu.com/ubuntu mantic-backports InRelease
#6 3.592 Err:6 http://archive.ubuntu.com/ubuntu mantic Release
#6 3.592 404 Not Found [IP: 185.125.190.83 80]
#6 3.839 Err:7 http://archive.ubuntu.com/ubuntu mantic-updates Release
#6 3.839 404 Not Found [IP: 185.125.190.83 80]
#6 4.085 Err:8 http://archive.ubuntu.com/ubuntu mantic-backports Release
#6 4.085 404 Not Found [IP: 185.125.190.83 80]
#6 4.100 Reading package lists...
#6 5.419 E: The repository 'http://security.ubuntu.com/ubuntu mantic-security Release' no longer has a Release file.
#6 5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic Release' no longer has a Release file.
#6 5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic-updates Release' no longer has a Release file.
#6 5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic-backports Release' no longer has a Release file.
#6 ERROR: process "/bin/sh -c apt update && apt install --no-install-recommends -y libglib2.0-0" did not complete successfully: exit code: 100

[2/8] RUN apt update && apt install --no-install-recommends -y libglib2.0-0:
3.592 404 Not Found [IP: 185.125.190.83 80]
3.839 Err:7 http://archive.ubuntu.com/ubuntu mantic-updates Release
3.839 404 Not Found [IP: 185.125.190.83 80]
4.085 Err:8 http://archive.ubuntu.com/ubuntu mantic-backports Release
4.085 404 Not Found [IP: 185.125.190.83 80]

5.419 E: The repository 'http://security.ubuntu.com/ubuntu mantic-security Release' no longer has a Release file.
5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic Release' no longer has a Release file.
5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic-updates Release' no longer has a Release file.
5.419 E: The repository 'http://archive.ubuntu.com/ubuntu mantic-backports Release' no longer has a Release file.

Dockerfile.processor:18

16 | USER root
17 |
18 | >>> RUN apt update && apt install --no-install-recommends -y libglib2.0-0
19 |
20 | WORKDIR /opt/nuclio

ERROR: failed to solve: process "/bin/sh -c apt update && apt install --no-install-recommends -y libglib2.0-0" did not complete successfully: exit code: 100

/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

Expected Behavior

No response

Possible Solution

No response

Context

No response

Environment

No response

@chang50961471 chang50961471 added the bug Something isn't working label Dec 9, 2024
@bsekachev
Copy link
Member

ERROR: failed to solve: process "/bin/sh -c apt update && apt install --no-install-recommends -y libglib2.0-0

This error is not from CVAT, this is from your function installation instructions.

@chang50961471
Copy link
Author

How to solve this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants