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

[20542] Pin CMake version and vm.mmap_rnd_bits in sanitizer workflows #4558

Merged
merged 6 commits into from
Mar 15, 2024

Conversation

EduPonz
Copy link

@EduPonz EduPonz commented Mar 15, 2024

Description

Since the roll out of Github Ubuntu 22.04 (20240310) Image, ASan and TSan jobs have been failing. The issue was reported in actions/runner-images#9491 and fixed in actions/runner-images#9513. Until that fix is deployed, this PR:

  1. Sets kernel param vm.mmap_rnd_bits to 28 as a workaround
  2. Pins the CMake version used in all 3 sanitizer jobs.

@Mergifyio backport 2.13.x 2.12.x 2.10.x 2.6.x

Contributor Checklist

  • Commit messages follow the project guidelines.
  • N/A: The code follows the style guidelines of this project.
  • N/A: Tests that thoroughly check the new feature have been added/Regression tests checking the bug and its fix have been added; the added tests pass locally
  • N/A: Any new/modified methods have been properly documented using Doxygen.
  • N/A: Changes are ABI compatible.
  • N/A: Changes are API compatible.
  • N/A: New feature has been added to the versions.md file (if applicable).
  • N/A: New feature has been documented/Current behavior is correctly described in the documentation.
  • Applicable backports have been included in the description.

Reviewer Checklist

  • The PR has a milestone assigned.
  • The title and description correctly express the PR's purpose.
  • Check contributor checklist is correct.
  • Check CI results: changes do not issue any warning.
  • Check CI results: failing tests are unrelated with the changes.

Signed-off-by: EduPonz <eduardoponz@eprosima.com>
@EduPonz EduPonz added this to the v2.14.0 - Frozen milestone Mar 15, 2024
Signed-off-by: EduPonz <eduardoponz@eprosima.com>
@EduPonz EduPonz force-pushed the ci/fix_cmake_sanitizer_workflows branch 3 times, most recently from 3c8b473 to 32e6306 Compare March 15, 2024 09:41
@EduPonz EduPonz force-pushed the ci/fix_cmake_sanitizer_workflows branch from 32e6306 to 4f9af87 Compare March 15, 2024 10:28
@EduPonz EduPonz changed the title [20542] Pin CMake version in sanitizer workflows [20542] Pin CMake version and vm.mmap_rnd_bits in sanitizer workflows Mar 15, 2024
Mario-DL
Mario-DL previously approved these changes Mar 15, 2024
MiguelCompany
MiguelCompany previously approved these changes Mar 15, 2024
Signed-off-by: EduPonz <eduardoponz@eprosima.com>
@EduPonz EduPonz dismissed stale reviews from MiguelCompany and Mario-DL via 54a5df1 March 15, 2024 11:34
Signed-off-by: EduPonz <eduardoponz@eprosima.com>
@EduPonz EduPonz merged commit 0c439a0 into master Mar 15, 2024
6 of 10 checks passed
@EduPonz EduPonz deleted the ci/fix_cmake_sanitizer_workflows branch March 15, 2024 17:03
@EduPonz
Copy link
Author

EduPonz commented Mar 15, 2024

@Mergifyio backport 2.13.x 2.12.x 2.10.x 2.6.x

Copy link
Contributor

mergify bot commented Mar 15, 2024

backport 2.13.x 2.12.x 2.10.x 2.6.x

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Mar 15, 2024
…#4558)

* Refs #20542: Fix CMake version in sanitizer workflows

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Install correct version of Gtest

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* fixup! Refs #20542: Fix CMake version in sanitizer workflows

* Refs #20542: Set number of random bits for mmap to 28

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Fix asan_colcon.meta

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Use CCache also for ASan DS

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

---------

Signed-off-by: EduPonz <eduardoponz@eprosima.com>
(cherry picked from commit 0c439a0)

# Conflicts:
#	.github/workflows/address-sanitizers.yaml
#	.github/workflows/config/asan_colcon.meta
#	.github/workflows/thread-sanitizer.yaml
mergify bot pushed a commit that referenced this pull request Mar 15, 2024
…#4558)

* Refs #20542: Fix CMake version in sanitizer workflows

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Install correct version of Gtest

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* fixup! Refs #20542: Fix CMake version in sanitizer workflows

* Refs #20542: Set number of random bits for mmap to 28

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Fix asan_colcon.meta

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Use CCache also for ASan DS

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

---------

Signed-off-by: EduPonz <eduardoponz@eprosima.com>
(cherry picked from commit 0c439a0)

# Conflicts:
#	.github/workflows/address-sanitizers.yaml
#	.github/workflows/config/asan_colcon.meta
#	.github/workflows/thread-sanitizer.yaml
mergify bot pushed a commit that referenced this pull request Mar 15, 2024
…#4558)

* Refs #20542: Fix CMake version in sanitizer workflows

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Install correct version of Gtest

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* fixup! Refs #20542: Fix CMake version in sanitizer workflows

* Refs #20542: Set number of random bits for mmap to 28

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Fix asan_colcon.meta

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Use CCache also for ASan DS

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

---------

Signed-off-by: EduPonz <eduardoponz@eprosima.com>
(cherry picked from commit 0c439a0)

# Conflicts:
#	.github/workflows/address-sanitizers.yaml
#	.github/workflows/config/asan_colcon.meta
#	.github/workflows/thread-sanitizer.yaml
mergify bot pushed a commit that referenced this pull request Mar 15, 2024
…#4558)

* Refs #20542: Fix CMake version in sanitizer workflows

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Install correct version of Gtest

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* fixup! Refs #20542: Fix CMake version in sanitizer workflows

* Refs #20542: Set number of random bits for mmap to 28

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Fix asan_colcon.meta

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Use CCache also for ASan DS

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

---------

Signed-off-by: EduPonz <eduardoponz@eprosima.com>
(cherry picked from commit 0c439a0)

# Conflicts:
#	.github/workflows/address-sanitizers.yaml
#	.github/workflows/config/asan_colcon.meta
#	.github/workflows/thread-sanitizer.yaml
EduPonz added a commit that referenced this pull request Mar 16, 2024
…#4558)

* Refs #20542: Fix CMake version in sanitizer workflows

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Install correct version of Gtest

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* fixup! Refs #20542: Fix CMake version in sanitizer workflows

* Refs #20542: Set number of random bits for mmap to 28

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Fix asan_colcon.meta

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Use CCache also for ASan DS

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

---------

Signed-off-by: EduPonz <eduardoponz@eprosima.com>
(cherry picked from commit 0c439a0)
Signed-off-by: EduPonz <eduardoponz@eprosima.com>
EduPonz added a commit that referenced this pull request Mar 16, 2024
…#4558)

* Refs #20542: Fix CMake version in sanitizer workflows

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Install correct version of Gtest

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* fixup! Refs #20542: Fix CMake version in sanitizer workflows

* Refs #20542: Set number of random bits for mmap to 28

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Fix asan_colcon.meta

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Use CCache also for ASan DS

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

---------

Signed-off-by: EduPonz <eduardoponz@eprosima.com>
(cherry picked from commit 0c439a0)
Signed-off-by: EduPonz <eduardoponz@eprosima.com>
EduPonz added a commit that referenced this pull request Mar 16, 2024
…#4558)

* Refs #20542: Fix CMake version in sanitizer workflows

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Install correct version of Gtest

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* fixup! Refs #20542: Fix CMake version in sanitizer workflows

* Refs #20542: Set number of random bits for mmap to 28

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Fix asan_colcon.meta

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Use CCache also for ASan DS

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

---------

Signed-off-by: EduPonz <eduardoponz@eprosima.com>
(cherry picked from commit 0c439a0)
Signed-off-by: EduPonz <eduardoponz@eprosima.com>
EduPonz added a commit that referenced this pull request Mar 16, 2024
…#4558)

* Refs #20542: Fix CMake version in sanitizer workflows

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Install correct version of Gtest

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* fixup! Refs #20542: Fix CMake version in sanitizer workflows

* Refs #20542: Set number of random bits for mmap to 28

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Fix asan_colcon.meta

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Use CCache also for ASan DS

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

---------

Signed-off-by: EduPonz <eduardoponz@eprosima.com>
(cherry picked from commit 0c439a0)
EduPonz added a commit that referenced this pull request Mar 16, 2024
…#4558)

* Refs #20542: Fix CMake version in sanitizer workflows

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Install correct version of Gtest

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* fixup! Refs #20542: Fix CMake version in sanitizer workflows

* Refs #20542: Set number of random bits for mmap to 28

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Fix asan_colcon.meta

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Use CCache also for ASan DS

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

---------

Signed-off-by: EduPonz <eduardoponz@eprosima.com>
(cherry picked from commit 0c439a0)
Signed-off-by: EduPonz <eduardoponz@eprosima.com>
EduPonz added a commit that referenced this pull request Mar 16, 2024
…#4558)

* Refs #20542: Fix CMake version in sanitizer workflows

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Install correct version of Gtest

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* fixup! Refs #20542: Fix CMake version in sanitizer workflows

* Refs #20542: Set number of random bits for mmap to 28

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Fix asan_colcon.meta

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Use CCache also for ASan DS

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

---------

Signed-off-by: EduPonz <eduardoponz@eprosima.com>
(cherry picked from commit 0c439a0)
Signed-off-by: EduPonz <eduardoponz@eprosima.com>
EduPonz added a commit that referenced this pull request Mar 16, 2024
…#4558)

* Refs #20542: Fix CMake version in sanitizer workflows

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Install correct version of Gtest

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* fixup! Refs #20542: Fix CMake version in sanitizer workflows

* Refs #20542: Set number of random bits for mmap to 28

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Fix asan_colcon.meta

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Use CCache also for ASan DS

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

---------

Signed-off-by: EduPonz <eduardoponz@eprosima.com>
(cherry picked from commit 0c439a0)
Signed-off-by: EduPonz <eduardoponz@eprosima.com>
EduPonz added a commit that referenced this pull request Mar 16, 2024
…#4558)

* Refs #20542: Fix CMake version in sanitizer workflows

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Install correct version of Gtest

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* fixup! Refs #20542: Fix CMake version in sanitizer workflows

* Refs #20542: Set number of random bits for mmap to 28

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Fix asan_colcon.meta

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Use CCache also for ASan DS

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

---------

Signed-off-by: EduPonz <eduardoponz@eprosima.com>
(cherry picked from commit 0c439a0)
Signed-off-by: EduPonz <eduardoponz@eprosima.com>
EduPonz added a commit that referenced this pull request Mar 16, 2024
…#4558)

* Refs #20542: Fix CMake version in sanitizer workflows

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Install correct version of Gtest

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* fixup! Refs #20542: Fix CMake version in sanitizer workflows

* Refs #20542: Set number of random bits for mmap to 28

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Fix asan_colcon.meta

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

* Refs #20542: Use CCache also for ASan DS

Signed-off-by: EduPonz <eduardoponz@eprosima.com>

---------

Signed-off-by: EduPonz <eduardoponz@eprosima.com>
(cherry picked from commit 0c439a0)
Signed-off-by: EduPonz <eduardoponz@eprosima.com>
EduPonz added a commit that referenced this pull request Mar 17, 2024
…#4566)

* Refs #20542: Fix CMake version in sanitizer workflows



* Refs #20542: Install correct version of Gtest



* fixup! Refs #20542: Fix CMake version in sanitizer workflows

* Refs #20542: Set number of random bits for mmap to 28



* Refs #20542: Fix asan_colcon.meta



* Refs #20542: Use CCache also for ASan DS



---------


(cherry picked from commit 0c439a0)

Signed-off-by: EduPonz <eduardoponz@eprosima.com>
Co-authored-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com>
EduPonz added a commit that referenced this pull request Mar 17, 2024
…#4567)

* Refs #20542: Fix CMake version in sanitizer workflows



* Refs #20542: Install correct version of Gtest



* fixup! Refs #20542: Fix CMake version in sanitizer workflows

* Refs #20542: Set number of random bits for mmap to 28



* Refs #20542: Fix asan_colcon.meta



* Refs #20542: Use CCache also for ASan DS



---------


(cherry picked from commit 0c439a0)

Signed-off-by: EduPonz <eduardoponz@eprosima.com>
Co-authored-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com>
EduPonz added a commit that referenced this pull request Mar 17, 2024
…#4568)

* Refs #20542: Fix CMake version in sanitizer workflows



* Refs #20542: Install correct version of Gtest



* fixup! Refs #20542: Fix CMake version in sanitizer workflows

* Refs #20542: Set number of random bits for mmap to 28



* Refs #20542: Fix asan_colcon.meta



* Refs #20542: Use CCache also for ASan DS



---------


(cherry picked from commit 0c439a0)

Signed-off-by: EduPonz <eduardoponz@eprosima.com>
Co-authored-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com>
EduPonz added a commit that referenced this pull request Mar 17, 2024
…#4569)

* Refs #20542: Fix CMake version in sanitizer workflows



* Refs #20542: Install correct version of Gtest



* fixup! Refs #20542: Fix CMake version in sanitizer workflows

* Refs #20542: Set number of random bits for mmap to 28



* Refs #20542: Fix asan_colcon.meta



* Refs #20542: Use CCache also for ASan DS



---------


(cherry picked from commit 0c439a0)

Signed-off-by: EduPonz <eduardoponz@eprosima.com>
Co-authored-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com>
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.

3 participants