[ ERROR :: push-container-torizon-debug-arm64 failed with exit code 1] - VS Code IDE Extension Issue Report (0aca34f94baaccd4516e7e84d250c7df)

OS: linux :: x64
Distro: Linux Mint 21.2
Extension activation logs:

 Activating Torizon IDE ...
 Telemetry is enabled
 Extension collects completely anonymous telemetry data about templates usage. Participation in this anonymous program is optional, and you may opt-out if you'd not like to share any information. Check: https://github.com/toradex/torizon-experimental-torizon-ide-v2-docs/blob/main/USAGE-DATA.md#opt-out
 Telemetry allows us to accurately gauge templates usage. This data will help us to focus better on the most used templates, adding new features and putting effort in the right place.
 Resolving host IP address ...
 Host IP address OK
 Docker installed OK
 Docker running OK
 Docker compose OK
 PowerShell OK
 git OK
 dig OK
 avahi-resolve OK
 nmap OK
 iputils-ping OK
 file OK
 sshpass OK
 net-tools OK
 Cloning project templates
 Project templates clone OK
 Checkout templates repo to dev OK
 Project templates updated
 Checking connected devices ...
 Scanning Torizon devices ...
 Configuring debug id_rsa ...
 Debug id_rsa OK
 Torizon IDE extension activated
 Checking host ip sanity ...
 Host ip is OK
 Device 10.10.103.193 set as Docker Host
 Debian bookworm packages list load OK
 ERROR :: push-container-torizon-debug-arm64 failed with exit code 1

Tasks logs:

Container Runtime: docker
Run Arguments: -d -p 5002:5000 --restart=always registry:2
Container Name: registry
Container Exists
Container is running
 *  踴潦怒胯踴嫘胯批拍具整怒臭遙柴准潦潦艾 

 *  摰銵踴嫘: pwsh .conf/validateDepsRunning.ps1 


儭 VALIDATING ENVIRONMENT


 Environment is valid!

 *  踴潦怒胯踴嫘胯批拍具整怒臭遙柴准潦潦艾 

 *  摰銵踴嫘: bash -c [[ ! -z "10.10.103.193" ]] && true || false 

 *  踴潦怒胯踴嫘胯批拍具整怒臭遙柴准潦潦艾 

 *  摰銵踴嫘: bash -c [[ "aarch64" == "aarch64" ]] && true || false 

 *  踴潦怒胯踴嫘胯批拍具整怒臭遙柴准潦潦艾 

 *  摰銵踴嫘: [ $(/bin/python3 -m pip --version | awk '{print $2}' | cut -d'.' -f1) -lt 23 ] && /bin/python3 -m pip install --upgrade pip || true 

 *  踴潦怒胯踴嫘胯批拍具整怒臭遙柴准潦潦艾 

 *  摰銵踴嫘: /bin/python3 -m pip install --break-system-packages -r requirements-debug.txt 

Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: debugpy in /home/sakai/.local/lib/python3.10/site-packages (from -r requirements-debug.txt (line 1)) (1.8.0)

[notice] A new release of pip is available: 23.3 -> 23.3.1
[notice] To update, run: python3 -m pip install --upgrade pip
 *  踴潦怒胯踴嫘胯批拍具整怒臭遙柴准潦潦艾 

 *  摰銵踴嫘: sleep 1 

 *  踴潦怒胯踴嫘胯批拍具整怒臭遙柴准潦潦艾 

 *  摰銵踴嫘: sshpass -p torizon scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no /home/sakai/quickstart3/docker-compose.yml torizon@10.10.103.193:~/ 

Warning: Permanently added '10.10.103.193' (ED25519) to the list of known hosts.
 *  踴潦怒胯踴嫘胯批拍具整怒臭遙柴准潦潦艾 

 *  摰銵踴嫘: sshpass -p torizon ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no torizon@10.10.103.193 LOCAL_REGISTRY=10.10.102.84 TAG=arm64 GPU=-vivante docker-compose down --remove-orphans 

Warning: Permanently added '10.10.103.193' (ED25519) to the list of known hosts.
time="2023-12-11T04:22:20Z" level=warning msg="The \"DOCKER_LOGIN\" variable is not set. Defaulting to a blank string."
 *  踴潦怒胯踴嫘胯批拍具整怒臭遙柴准潦潦艾 

 *  摰銵踴嫘: DOCKER_HOST= docker compose build --pull --build-arg SSHUSERNAME=torizon --build-arg APP_ROOT=/home/torizon --build-arg IMAGE_ARCH=arm64 --build-arg SSH_DEBUG_PORT=6502 --build-arg GPU=-vivante quickstart3-debug 

WARN[0000] The "DOCKER_LOGIN" variable is not set. Defaulting to a blank string. 
[+] Building 0.7s (14/14) FINISHED                                                                                                 docker:default
 => [quickstart3-debug internal] load build definition from Dockerfile.debug                                                                 0.0s
 => => transferring dockerfile: 2.85kB                                                                                                       0.0s
 => [quickstart3-debug internal] load .dockerignore                                                                                          0.0s
 => => transferring context: 117B                                                                                                            0.0s
 => [quickstart3-debug internal] load metadata for docker.io/torizon/debian:3.0.8-bookworm                                                   0.7s
 => [quickstart3-debug 1/9] FROM docker.io/torizon/debian:3.0.8-bookworm@sha256:670aa4be3de68338e9dc5bf740f34079343199038fc06ab8f6d0ad4482a  0.0s
 => [quickstart3-debug internal] load build context                                                                                          0.0s
 => => transferring context: 104B                                                                                                            0.0s
 => CACHED [quickstart3-debug 2/9] RUN apt-get -q -y update &&     apt-get -q -y install     openssl     openssh-server     rsync     file   0.0s
 => CACHED [quickstart3-debug 3/9] RUN apt-get -q -y update &&     apt-get -q -y install     &&     apt-get clean && apt-get autoremove &&   0.0s
 => CACHED [quickstart3-debug 4/9] RUN python3 -m venv /home/torizon/.venv --system-site-packages                                            0.0s
 => CACHED [quickstart3-debug 5/9] COPY requirements-debug.txt /requirements-debug.txt                                                       0.0s
 => CACHED [quickstart3-debug 6/9] RUN . /home/torizon/.venv/bin/activate &&     pip3 install --upgrade pip && pip3 install --break-system-  0.0s
 => CACHED [quickstart3-debug 7/9] COPY .conf/id_rsa.pub /id_rsa.pub                                                                         0.0s
 => CACHED [quickstart3-debug 8/9] RUN mkdir /var/run/sshd &&     sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid  0.0s
 => CACHED [quickstart3-debug 9/9] RUN rm -r /etc/ssh/ssh*key &&     dpkg-reconfigure openssh-server                                         0.0s
 => [quickstart3-debug] exporting to image                                                                                                   0.0s
 => => exporting layers                                                                                                                      0.0s
 => => writing image sha256:da8738efd0e92e663621ee5a1d9eab53af6dec7bc061837d02a16d8306ec6b40                                                 0.0s
 => => naming to localhost:5002/quickstart3-debug:arm64                                                                                      0.0s
 *  踴潦怒胯踴嫘胯批拍具整怒臭遙柴准潦潦艾 

 *  摰銵踴嫘: DOCKER_HOST= docker compose push quickstart3-debug 

WARN[0000] The "DOCKER_LOGIN" variable is not set. Defaulting to a blank string. 
Get "http://localhost:5002/v2/": net/http: request canceled (Client.Timeout exceeded while awaiting headers)

 *  踴潦 准颯 "/usr/bin/bash '-c', 'DOCKER_HOST= docker compose push quickstart3-debug'" 蝯鈭喋潦 1 抒鈭整 
 *  踴潦怒胯踴嫘胯批拍具整怒臭遙柴准潦潦艾 

Reported by: @undefined

If you have more data that you think that is interesting from the context of the issue please reply below.

Thanks :robot:

so, the environment seems to be working ok. But:

the local registry did not respond in time. Maybe the local registry went down in the meantime? Take a look at the logs:

docker logs registry

Another thing to note:

We do not support Linux Mint.

BR,