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

[humble] Rollback to rcpputils::fs and workaround failure in "open_succeds_twice" on second run. #1666

Merged
merged 3 commits into from
May 22, 2024

Conversation

MichaelOrlov
Copy link
Contributor

Note. The original failure in the "open_succeeds_twice" on the second run was because rcpputils::fs::delete_all(tmp_dir_) failed to delete the temp folder in destructor because it was there two subfolders.

@MichaelOrlov MichaelOrlov force-pushed the morlov/rollback_to_rcpputils_fs branch from 7e0f00e to fb14c32 Compare May 21, 2024 16:42
@MichaelOrlov MichaelOrlov marked this pull request as ready for review May 21, 2024 16:42
@MichaelOrlov MichaelOrlov requested a review from a team as a code owner May 21, 2024 16:42
@MichaelOrlov MichaelOrlov requested review from emersonknapp, hidmic, clalancette and audrow and removed request for a team May 21, 2024 16:42
Copy link
Contributor

@clalancette clalancette left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me with green CI. Thanks for implementing this.

@MichaelOrlov
Copy link
Contributor Author

Pulls: #1666
Gist: https://gist.githubusercontent.com/MichaelOrlov/b7f6cf28bea1a8d7214f31b873d2c127/raw/de972acc7adda30869dbf8d5429e532c8224d1ee/ros2.repos
BUILD args: --packages-above-and-dependencies rosbag2_cpp rosbag2_compression rosbag2_tests
TEST args: --packages-above rosbag2_cpp rosbag2_compression rosbag2_tests
ROS Distro: humble
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/13935

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

Copy link
Contributor

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@audrow
Copy link
Member

audrow commented May 21, 2024

Here's a CI run of RHEL, too. (Where the regression was noticed.)

  • RHEL Build Status

I ran with the same options as above except the EL, which I set to 8. I think this is the right thing to do for RHEL.

@MichaelOrlov MichaelOrlov changed the title Rollback to rcpputils::fs and workaround failure in "open_succeds_twice" on second run. [humble] Rollback to rcpputils::fs and workaround failure in "open_succeds_twice" on second run. May 21, 2024
@MichaelOrlov
Copy link
Contributor Author

@ros-pull-request-builder retest this please

@MichaelOrlov
Copy link
Contributor Author

The CI failure on RHEL is unrelated to the changes from this PR

Failed
rosbag2_py.flake8.E402 (./test/test_convert.py:30:1)

Failing for the past 1 build (Since [#692](https://ci.ros2.org/job/ci_linux-rhel/692/) )
[Took 0 ms.](https://ci.ros2.org/job/ci_linux-rhel/692/testReport/junit/rosbag2_py/flake8/E402____test_test_convert_py_30_1_/history)
Error Message
module level import not at top of file:
from rosbag2_py import (

I would go ahead and merge it.
cc @clalancette @audrow

@MichaelOrlov
Copy link
Contributor Author

Maybe we have a different version of the flake8 on the RHEL-8?
I've just tried to run flake8 on my local setup on this branch and there are no errors or warnings reported.

@clalancette
Copy link
Contributor

Maybe we have a different version of the flake8 on the RHEL-8?

It is the only platform where we install (parts of) flake8 from pip: https://github.com/ros2/ci/blob/master/linux_docker_resources/Dockerfile-RHEL#L198-L202 . So that may indeed by the case.

@MichaelOrlov
Copy link
Contributor Author

Ahh, merging then.

@MichaelOrlov MichaelOrlov merged commit 82bc154 into humble May 22, 2024
14 checks passed
@delete-merged-branch delete-merged-branch bot deleted the morlov/rollback_to_rcpputils_fs branch May 22, 2024 01:38
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.

5 participants