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

change latest to humble-ex1.15.7-otp26.2.2, add elixir v1.16, and sort out older tags #17

Merged
merged 6 commits into from
Mar 25, 2024

Conversation

takasehideki
Copy link
Member

@takasehideki takasehideki commented Mar 25, 2024

This PR changes the latest tag that contains the recommended tool versions for Rclex to humble-ex1.15.7-otp26.2.2.
Also, humble-ex1.16.2-otp26.2.2 is added, and some older tags are sorted out.

  • Humble Hawksbill (LTS rosdistro until May 2027)
    • humble-ex1.16.2-otp26.2.2
    • humble-ex1.15.7-otp26.2.2 [latest]
    • humble-ex1.14.5-otp25.3.2.5
  • Foxy Fitzroy (EOL!)
    • foxy-ex1.15.5-otp26.0.2
  • [experimental] Iron Irwini (STS until Nov 2024)
    • iron-ex1.15.5-otp26.0.2

I will merge this PR after pushing these new tags, and confirming these operations with the Rclex CI test.


Note that the initial of this PR used OTP 26.2.3, but I found the issue on arm64, so I decided to downgrade to 26.2.2 for now (see detail)

@takasehideki
Copy link
Member Author

Umm,,, so strange segmentation fault occurred in mix rclex_docker.build --multi ;;(

 => ERROR [linux/arm64 13/15] RUN . /opt/ros/humble/setup.sh && env |   0.4s
------
 > [linux/arm64 13/15] RUN . /opt/ros/humble/setup.sh && env | grep ROS &&   mix hex.info:
0.074 ROS_PYTHON_VERSION=3
0.074 ROS_DISTRO=humble
0.074 ROS_VERSION=2
0.074 ROS_LOCALHOST_ONLY=0
0.422 Segmentation fault
------
WARNING: No output specified with docker-container driver. Build result will only remain in the build cache. To push result image into registry use --push or to load image into docker use --load
Dockerfile:81
--------------------
  80 |     # Check version
  81 | >>> RUN . /opt/ros/${ROS_DISTRO}/setup.sh && env | grep ROS && \
  82 | >>>   mix hex.info
  83 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c . /opt/ros/${ROS_DISTRO}/setup.sh && env | grep ROS &&   mix hex.info" did not complete successfully: exit code: 139

12:09:28.127 [error] docker build failed, exit_status: 1

@takasehideki
Copy link
Member Author

Almost the same issue happened when we operated BASE_IMAGE directly on my M1Mac.

% docker run -it hexpm/elixir:1.15.7-erlang-26.2.3-ubuntu-jammy-20240125
root@9c9831b4db0e:/# mix local.hex
Are you sure you want to install "https://builds.hex.pm/installs/1.15.0/hex-2.0.6.ez"? [Yn] y
* creating root/.mix/archives/hex-2.0.6
root@9c9831b4db0e:/# mix hex.info
Segmentation fault

@takasehideki
Copy link
Member Author

I found a tentative cause at erlang/otp#8238
Roughly speaking, the combination of Hex 2.0.6 and OTP 26.2.3 on arm64 could not work fine for now. The solution is to downgrade the OTP to 26.2.2 or do run mix archive.install github hexpm/hex branch latest as indicated in the thread. Since we don't necessarily need Erlang to be up-to-date, we'll take the former approach.

takasehideki added a commit to rclex/rclex that referenced this pull request Mar 25, 2024
@takasehideki takasehideki changed the title change latest to humble-ex1.15.7-otp26.2.3, add elixir v1.16, and sort out older tags change latest to humble-ex1.15.7-otp26.2.2, add elixir v1.16, and sort out older tags Mar 25, 2024
@takasehideki
Copy link
Member Author

CI for rclex works fine!!
rclex/rclex#308

takasehideki added a commit to rclex/rclex that referenced this pull request Mar 25, 2024
@takasehideki takasehideki merged commit b756a40 into main Mar 25, 2024
@takasehideki takasehideki deleted the bump_latest branch March 25, 2024 05:27
FelixPe pushed a commit to FelixPe/rclex that referenced this pull request Apr 23, 2024
takasehideki added a commit to rclex/rclex that referenced this pull request May 23, 2024
**Full Changelog**: v0.10.0...v0.10.1

* New features:
  * Use `rcl_subscription_set_on_new_message_callback` by @pojiro and @FelixPe in #317
* Code Improvements/Fixes:
  * restore rclex_connection_tests by @takasehideki in #305
  * bump CI targets according to rclex/rclex_docker#17 by @takasehideki in #308
  * bump tool-versions to follow `latest` by @takasehideki in #310
  * Minor fixes by @pojiro in #319
* Bumps:
  * Bump mix_test_watch from 1.1.2 to 1.2.0 by @dependabot in #295
  * Bump elixir_make from 0.7.8 to 0.8.3 by @dependabot in #309
  * Bump benchee from 1.1.0 to 1.3.0 by @dependabot in #304
  * Bump ex_doc from 0.31.1 to 0.31.2 by @dependabot in #296
  * Bump credo from 1.7.5 to 1.7.6 by @dependabot in #321
  * Bump ex_doc from 0.31.2 to 0.33.0 by @dependabot in #323
* Note in this release: none
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

Successfully merging this pull request may close these issues.

None yet

1 participant