Skip to content

frequent 404 when downloading ros-apt-source #892

Description

@christianrauch

Description

I often get:

##[group]Invoking "bash -c set -eo pipefail && export ROS_APT_SOURCE_VERSION=$(curl -s https://api.github.com/repos/ros-infrastructure/ros-apt-source/releases/latest | grep -F "tag_name" | awk -F'"' '{print $4}') && ubuntu_codename=$(. /etc/os-release && echo ${UBUNTU_CODENAME:-${VERSION_CODENAME}}) && package_name="ros2-apt-source" && curl --fail --location --retry 3 --retry-delay 2 -o "/tmp/${package_name}.deb" "https://github.com/ros-infrastructure/ros-apt-source/releases/download/${ROS_APT_SOURCE_VERSION}/${package_name}_${ROS_APT_SOURCE_VERSION}.${ubuntu_codename}_all.deb" && sudo dpkg -i "/tmp/${package_name}.deb" && rm -f "/tmp/${package_name}.deb""
[command]/usr/bin/bash -c set -eo pipefail && export ROS_APT_SOURCE_VERSION=$(curl -s https://api.github.com/repos/ros-infrastructure/ros-apt-source/releases/latest | grep -F "tag_name" | awk -F'"' '{print $4}') && ubuntu_codename=$(. /etc/os-release && echo ${UBUNTU_CODENAME:-${VERSION_CODENAME}}) && package_name="ros2-apt-source" && curl --fail --location --retry 3 --retry-delay 2 -o "/tmp/${package_name}.deb" "https://github.com/ros-infrastructure/ros-apt-source/releases/download/${ROS_APT_SOURCE_VERSION}/${package_name}_${ROS_APT_SOURCE_VERSION}.${ubuntu_codename}_all.deb" && sudo dpkg -i "/tmp/${package_name}.deb" && rm -f "/tmp/${package_name}.deb"
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed


  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404

Expected Behavior

The action should always be able to download from the ros-apt-source repo.

Actual Behavior

The actions fails with a 404.

To Reproduce

This is non-deterministic and happends sporadicaly.

System (please complete the following information)

  • OS: [e.g. Ubuntu Bionic]
  • ROS 2 Distro: [e.g. Dashing]

** For ROS 2 bugs - please attach a VCS.repos or Dockerfile if possible to help us reproduce the environment **

Additional context

** Add any other context about the problem here **

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions