NVIDIA-ISAAC-ROS / NVIDIA-ISAAC-ROS/isaac_ros_common

failed running run_dev.sh

Open
#131 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
317
Forks
227
PR merge metrics
No merged PRs in 30d

Description

using x86_64 system to install cummotion according to instructions here: https://nvidia-isaac-ros.github.io/repositories_and_packages/isaac_ros_cumotion/isaac_ros_cumotion_moveit/index.html#quickstart .
running this line:
cd ${ISAAC_ROS_WS}/src/isaac_ros_common && ./scripts/run_dev.sh

gets the following errors:
Launching Isaac ROS Dev container with image key x86_64.ros2_humble.user: /home/nir/workspaces/isaac_ros-dev/
Building x86_64.ros2_humble.user base as image: isaac_ros_dev-x86_64
Building layered image for key x86_64.ros2_humble.user as isaac_ros_dev-x86_64
Using configured docker search paths: /home/nir/workspaces/isaac_ros-dev/src/isaac_ros_common/scripts/../docker
Checking if base image nvcr.io/isaac/ros:x86_64-ros2_humble-user_ec7307b12dd30efb6f3f0633da81be95 exists on remote registry
Checking if base image nvcr.io/isaac/ros:x86_64-ros2_humble_ca64dc26066b1bcb639e16978c53ff75 exists on remote registry
Checking if base image nvcr.io/isaac/ros:x86_64_5ac6becb55810a5b2ed3ea0d61801133 exists on remote registry
Resolved the following 3 Dockerfiles for target image: x86_64.ros2_humble.user
/home/nir/workspaces/isaac_ros-dev/src/isaac_ros_common/scripts/../docker/Dockerfile.user
/home/nir/workspaces/isaac_ros-dev/src/isaac_ros_common/scripts/../docker/Dockerfile.ros2_humble
/home/nir/workspaces/isaac_ros-dev/src/isaac_ros_common/scripts/../docker/Dockerfile.x86_64
Building /home/nir/workspaces/isaac_ros-dev/src/isaac_ros_common/scripts/../docker/Dockerfile.x86_64 as image: x86_64-image with base:
[+] Building 4.4s (7/19) docker:default
=> [internal] load build definition from Dockerfile.x86_64 0.0s
=> => transferring dockerfile: 5.97kB 0.0s
=> [internal] load metadata for nvcr.io/nvidia/tritonserver:23.10-py3 1.8s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [stage-0 1/16] FROM nvcr.io/nvidia/tritonserver:23.10-py3@sha256:835 0.0s
=> CACHED [stage-0 2/16] RUN mkdir -p /opt/nvidia/isaac_ros_dev_base && 0.0s
=> CACHED [stage-0 3/16] RUN --mount=type=cache,target=/var/cache/apt a 0.0s
=> ERROR [stage-0 4/16] RUN --mount=type=cache,target=/var/cache/apt 2.6s

[stage-0 4/16] RUN --mount=type=cache,target=/var/cache/apt wget -qO - https://isaac.download.nvidia.com/isaac-ros/repos.key | apt-key add - && grep -qxF "deb https://isaac.download.nvidia.com/isaac-ros/release-3 $(lsb_release -cs) release-3.0" /etc/apt/sources.list || echo "deb https://isaac.download.nvidia.com/isaac-ros/release-3 $(lsb_release -cs) release-3.0" | tee -a /etc/apt/sources.list && apt-get update:
0.161 Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
0.613 OK
0.665 deb https://isaac.download.nvidia.com/isaac-ros/release-3 jammy release-3.0
0.955 Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
0.999 Hit:2 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 InRelease
1.010 Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
1.023 Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease
1.066 Get:5 https://isaac.download.nvidia.com/isaac-ros/release-3 jammy InRelease [3429 B]
1.078 Hit:6 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
1.864 Ign:7 https://isaac.download.nvidia.com/isaac-ros/release-3 jammy/release-3.0 amd64 Packages
1.936 Get:7 https://isaac.download.nvidia.com/isaac-ros/release-3 jammy/release-3.0 amd64 Packages [29.8 kB]
1.936 Err:7 https://isaac.download.nvidia.com/isaac-ros/release-3 jammy/release-3.0 amd64 Packages
1.936 File has unexpected size (30010 != 29756). Mirror sync in progress? [IP: 93.184.221.222 443]
1.936 Hashes of expected file:
1.936 - Filesize:29756 [weak]
1.936 - SHA256:52e020ceb7e96ff56fe91d46c186552ba0f16eeed519c7e2f14c35b2b8ab2062
1.936 - SHA1:1eec0f5f970fa4757bf9eb7527880359d4084d7f [weak]
1.936 - MD5Sum:7e41bd8552c5ddd8a7292feacdbd4555 [weak]
1.936 Release file created at: Sat, 15 Jun 2024 03:14:19 +0000
1.979 Fetched 3429 B in 1s (2769 B/s)
1.979 Reading package lists...
2.609 W: https://isaac.download.nvidia.com/isaac-ros/release-3/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
2.609 E: Failed to fetch https://isaac.download.nvidia.com/isaac-ros/release-3/dists/jammy/release-3.0/binary-amd64/Packages.gz File has unexpected size (30010 != 29756). Mirror sync in progress? [IP: 93.184.221.222 443]
2.609 Hashes of expected file:
2.609 - Filesize:29756 [weak]
2.609 - SHA256:52e020ceb7e96ff56fe91d46c186552ba0f16eeed519c7e2f14c35b2b8ab2062
2.609 - SHA1:1eec0f5f970fa4757bf9eb7527880359d4084d7f [weak]
2.609 - MD5Sum:7e41bd8552c5ddd8a7292feacdbd4555 [weak]
2.609 Release file created at: Sat, 15 Jun 2024 03:14:19 +0000
2.609 E: Some index files failed to download. They have been ignored, or old ones used instead.


Dockerfile.x86_64:31

30 | # Add Isaac apt repository
31 | >>> RUN --mount=type=cache,target=/var/cache/apt
32 | >>> wget -qO - https://isaac.download.nvidia.com/isaac-ros/repos.key | apt-key add - &&
33 | >>> grep -qxF "deb https://isaac.download.nvidia.com/isaac-ros/release-3 $(lsb_release -cs) release-3.0" /etc/apt/sources.list ||
34 | >>> echo "deb https://isaac.download.nvidia.com/isaac-ros/release-3 $(lsb_release -cs) release-3.0" | tee -a /etc/apt/sources.list
35 | >>> && apt-get update
36 |

ERROR: failed to solve: process "/bin/bash -c wget -qO - https://isaac.download.nvidia.com/isaac-ros/repos.key | apt-key add - && grep -qxF "deb https://isaac.download.nvidia.com/isaac-ros/release-3 $(lsb_release -cs) release-3.0" /etc/apt/sources.list || echo "deb https://isaac.download.nvidia.com/isaac-ros/release-3 $(lsb_release -cs) release-3.0" | tee -a /etc/apt/sources.list && apt-get update" did not complete successfully: exit code: 100
~/workspaces/isaac_ros-dev/src/isaac_ros_common

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with src/isaac_ros_common/scripts/run_dev.sh and inspect Dockerfile.x86_64 at line 31, where the Isaac ROS apt repository is added and updated. Verify whether the reported package-index mismatch still occurs; done means the x86_64 development container builds successfully without the apt-get update error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, dockerfile, shell, ubuntu
Domain
build-system, devops, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.