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

Unable to use Ubuntu 22.04 natively on GitHub actions #746

Closed
christophebedard opened this issue May 6, 2022 · 2 comments
Closed

Unable to use Ubuntu 22.04 natively on GitHub actions #746

christophebedard opened this issue May 6, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@christophebedard
Copy link
Member

christophebedard commented May 6, 2022

Description

Note: this issue is related to the GitHub actions infrastructure itself. This simply tracks the issue on the action-ros-ci side.

Expected Behavior

Can use ubuntu-22.04 as the job's OS (i.e., native runner OS).

Actual Behavior

Does not work.

Currently fails when setting up the container:

Checking docker version
  /usr/bin/docker version --format '{{.Server.APIVersion}}'
  Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
  '
  Error: Exit code 1 returned from process: file name '/usr/bin/docker', arguments 'version --format '{{.Server.APIVersion}}''.

https://github.com/ros2/rclc/runs/6320289481?check_suite_focus=true

To Reproduce

See ros2/rclc#288

System (please complete the following information)

Ubuntu 22.04

Additional context

Support for Ubuntu 22.04 is in public beta (as of yesterday): actions/runner-images#5490

There seems to be a workaround (for now): actions/runner-images#5490 (comment)

The other solution is to use Docker instead of relying on the runner's OS:

image: ${{ matrix.docker_image }}

Once this is fixed, we can also update the setup-ros/action-ros-ci tests to use ubuntu-22.04: #741 (comment)

@christophebedard christophebedard added the bug Something isn't working label May 6, 2022
@christophebedard
Copy link
Member Author

setup-ros wasn't installing the right version of RTI Connext DDS on Jammy, but it's been fixed: ros-tooling/setup-ros#486

@christophebedard
Copy link
Member Author

This seems to be resolved now, so I'll close this.

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

1 participant