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

Random failure when installing dependencies on rolling #855

Closed
bijoua29 opened this issue Mar 27, 2024 · 11 comments
Closed

Random failure when installing dependencies on rolling #855

bijoua29 opened this issue Mar 27, 2024 · 11 comments

Comments

@bijoua29
Copy link

bijoua29 commented Mar 27, 2024

Since yesterday, we are getting random failures when installing dependencies either upstream or target dependencies. We are running latest ros2 rolling on Ubuntu Noble and using github.

Here's an example for install_upstream_dependencies:

executing command [apt-get install -y -qq ros-rolling-rclcpp]
E: Unable to locate package ros-rolling-rclcpp
ERROR: the following rosdeps failed to install
apt: command [apt-get install -y -qq ros-rolling-rclcpp] failed
'( source /opt/ros/rolling/setup.bash && rosdep install -q --from-paths /home/runner/work/xxx/xxx/.work/upstream_ws/src --ignore-src -y | grep -E '(executing command)|(Setting up)' ; )' returned with 1
'install_upstream_dependencies' returned with code '1' after 0 min 9 sec

The particular package that it fails to fins is random and different on every run. All these packages are available locally at my desktop when I query.

Any idea what is going on as none of our CI builds are working since yesterday.

@mathias-luedtke
Copy link
Member

mathias-luedtke commented Mar 27, 2024

rolling was broken for some time, so I configured the building repository as the apt source.
However, the building repo might be quite unstable, so it is not ideal.
I have reverted it now (#851).
Hopefully this will fix your builds.

@bijoua29
Copy link
Author

@mathias-luedtke Yes, Thanks. This fixed our builds.

@bijoua29
Copy link
Author

@mathias-luedtke Spoke too soon. Still getting errors in our build:

executing command [apt-get install -y -qq ros-rolling-rqt-gui]
E: Unable to correct problems, you have held broken packages.
ERROR: the following rosdeps failed to install
apt: command [apt-get install -y -qq ros-rolling-rqt-gui] failed
'( source /opt/ros/rolling/setup.bash && rosdep install -q --from-paths /home/runner/work/xxx/xxx/.work/upstream_ws/src --ignore-src -y | grep -E '(executing command)|(Setting up)' ; )' returned with 1
'install_upstream_dependencies' returned with code '1' after 1 min 35 sec

@bijoua29 bijoua29 reopened this Mar 28, 2024
@mathias-luedtke mathias-luedtke changed the title Random failure when installing dependencies Random failure when installing dependencies on rolling Mar 29, 2024
@danthony06
Copy link

@mathias-luedtke
Copy link
Member

No, this is for running rolling on jammy.
I tried that weeks ago in #850 and it did not work..

@mathias-luedtke
Copy link
Member

#858 adds support for ROS_DISTRO=rolling OS_CODE_NAME=jammy
There is not much we can do about noble because it is still being migrated

@bijoua29
Copy link
Author

bijoua29 commented Apr 1, 2024

The failures now seem not just restricted to rolling packages. For example, I am getting the following during the 'init' step:

$ sudo apt-get -qq install -y --no-upgrade --no-install-recommends apt-utils build-essential gnupg2 dirmngr ca-certificates | grep -E 'Setting up' 
  E: Unable to correct problems, you have held broken packages.
  'sudo apt-get -qq install -y --no-upgrade --no-install-recommends apt-utils build-essential gnupg2 dirmngr ca-certificates | grep -E 'Setting up' ' returned with 100
'init' returned with code '100' after 0 min 1 sec

@mathias-luedtke
Copy link
Member

The failures now seem not just restricted to rolling packages. For example, I am getting the following during the 'init' step:

Yes, my pipelines are failing as well.
But noble has not even been released yet so it is expected to be unstable.

If you want something stable, set OS_CODE_NAME=jammy

@bijoua29
Copy link
Author

bijoua29 commented Apr 1, 2024

You are right @mathias-luedtke . Can't trust noble right now.

I need to be able to use the rolling sync before the noble update. I'm hoping the process described in https://discourse.ros.org/t/psa-rolling-ci-or-docker-build-fix-from-rosdep-errors-in-24-04-transition/36902 works

@bijoua29
Copy link
Author

bijoua29 commented Apr 5, 2024

Since this is now a Ubuntu Noble stability problem before Apr 25,2024 release, we can close out this issue.

@bijoua29
Copy link
Author

bijoua29 commented Apr 5, 2024

Closing now

@bijoua29 bijoua29 closed this as completed Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants