Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[21233] Mitigate buffer recover test flakiness on mac #5035

Merged
merged 7 commits into from
Jul 11, 2024
Merged

Conversation

Mario-DL
Copy link
Member

@Mario-DL Mario-DL commented Jul 7, 2024

Description

This PR tries to mitigate the buffer_recover test flakiness in mac, further explanation is included in the comments within the code.

@Mergifyio backport 2.14.x 2.13.x 2.10.x

Contributor Checklist

  • Commit messages follow the project guidelines.
  • The code follows the style guidelines of this project.
  • 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 Any new configuration API has an equivalent XML API (with the corresponding XSD extension)
  • Changes are backport compatible: they do NOT break ABI nor change library core behavior.
  • 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.
  • If this is a critical bug fix, backports to the critical-only supported branches have been requested.
  • Check CI results: changes do not issue any warning.
  • Check CI results: failing tests are unrelated with the changes.

Signed-off-by: Mario Domínguez López <mariodominguez@eprosima.com>
@Mario-DL Mario-DL added this to the v3.0.0 milestone Jul 7, 2024
@EduPonz EduPonz requested a review from elianalf July 8, 2024 04:57
@github-actions github-actions bot added the ci-pending PR which CI is running label Jul 8, 2024
@Mario-DL Mario-DL requested review from elianalf and removed request for elianalf July 8, 2024 07:32
Signed-off-by: Mario Domínguez López <mariodominguez@eprosima.com>
@Mario-DL Mario-DL requested review from elianalf and removed request for elianalf July 8, 2024 08:34
@elianalf elianalf requested review from elianalf and removed request for elianalf July 9, 2024 07:54
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
@Mario-DL Mario-DL requested a review from elianalf July 10, 2024 08:07
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
@Mario-DL Mario-DL requested review from elianalf and removed request for elianalf July 10, 2024 08:13
MiguelCompany
MiguelCompany previously approved these changes Jul 10, 2024
@elianalf
Copy link
Contributor

elianalf commented Jul 10, 2024

LGTM with green CI.
After manual CI (run with --repeat-until-fail 30) passes we should remove the first commit introduced for debugging

@Mario-DL Mario-DL requested review from elianalf and removed request for elianalf July 10, 2024 13:58
@Mario-DL Mario-DL requested review from elianalf and removed request for elianalf July 10, 2024 19:52
@Mario-DL Mario-DL requested review from elianalf and removed request for elianalf July 11, 2024 07:23
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
@Mario-DL Mario-DL requested review from elianalf and removed request for elianalf July 11, 2024 08:05
@elianalf elianalf added the ready-to-merge Ready to be merged. CI and changes have been reviewed and approved. label Jul 11, 2024
@EduPonz
Copy link

EduPonz commented Jul 11, 2024

CI on the modified test run 30 times without failure here

@EduPonz EduPonz merged commit af92c13 into master Jul 11, 2024
3 checks passed
@EduPonz EduPonz deleted the bugfix/21233 branch July 11, 2024 10:34
@EduPonz
Copy link

EduPonz commented Jul 11, 2024

@Mergifyio backport 2.14.x 2.10.x

Copy link
Contributor

mergify bot commented Jul 11, 2024

backport 2.14.x 2.10.x

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Jul 11, 2024
* Refs #21233: Run mac-ci only and buffer recover test

Signed-off-by: Mario Domínguez López <mariodominguez@eprosima.com>

* Refs #21233: Test fix

Signed-off-by: Mario Domínguez López <mariodominguez@eprosima.com>

* Refs #21233: Apply Elianas sugg

Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>

* Refs #21233: Apply Miguels sugg

Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>

* Refs #21233: TMP force multiple test runs

Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>

* Revert "Refs #21233: TMP force multiple test runs"

This reverts commit d3e71c9.

* Revert "Refs #21233: Run mac-ci only and buffer recover test"

This reverts commit cbc2aa1.

---------

Signed-off-by: Mario Domínguez López <mariodominguez@eprosima.com>
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
(cherry picked from commit af92c13)
mergify bot pushed a commit that referenced this pull request Jul 11, 2024
* Refs #21233: Run mac-ci only and buffer recover test

Signed-off-by: Mario Domínguez López <mariodominguez@eprosima.com>

* Refs #21233: Test fix

Signed-off-by: Mario Domínguez López <mariodominguez@eprosima.com>

* Refs #21233: Apply Elianas sugg

Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>

* Refs #21233: Apply Miguels sugg

Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>

* Refs #21233: TMP force multiple test runs

Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>

* Revert "Refs #21233: TMP force multiple test runs"

This reverts commit d3e71c9.

* Revert "Refs #21233: Run mac-ci only and buffer recover test"

This reverts commit cbc2aa1.

---------

Signed-off-by: Mario Domínguez López <mariodominguez@eprosima.com>
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
(cherry picked from commit af92c13)
EduPonz pushed a commit that referenced this pull request Jul 15, 2024
* Refs #21233: Run mac-ci only and buffer recover test

Signed-off-by: Mario Domínguez López <mariodominguez@eprosima.com>

* Refs #21233: Test fix

Signed-off-by: Mario Domínguez López <mariodominguez@eprosima.com>

* Refs #21233: Apply Elianas sugg

Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>

* Refs #21233: Apply Miguels sugg

Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>

* Refs #21233: TMP force multiple test runs

Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>

* Revert "Refs #21233: TMP force multiple test runs"

This reverts commit d3e71c9.

* Revert "Refs #21233: Run mac-ci only and buffer recover test"

This reverts commit cbc2aa1.

---------

Signed-off-by: Mario Domínguez López <mariodominguez@eprosima.com>
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
(cherry picked from commit af92c13)

Co-authored-by: Mario Domínguez López <116071334+Mario-DL@users.noreply.github.com>
MiguelCompany pushed a commit that referenced this pull request Jul 31, 2024
* Refs #21233: Run mac-ci only and buffer recover test

Signed-off-by: Mario Domínguez López <mariodominguez@eprosima.com>

* Refs #21233: Test fix

Signed-off-by: Mario Domínguez López <mariodominguez@eprosima.com>

* Refs #21233: Apply Elianas sugg

Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>

* Refs #21233: Apply Miguels sugg

Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>

* Refs #21233: TMP force multiple test runs

Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>

* Revert "Refs #21233: TMP force multiple test runs"

This reverts commit d3e71c9.

* Revert "Refs #21233: Run mac-ci only and buffer recover test"

This reverts commit cbc2aa1.

---------

Signed-off-by: Mario Domínguez López <mariodominguez@eprosima.com>
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
(cherry picked from commit af92c13)
MiguelCompany pushed a commit that referenced this pull request Aug 19, 2024
* Refs #21233: Run mac-ci only and buffer recover test

Signed-off-by: Mario Domínguez López <mariodominguez@eprosima.com>

* Refs #21233: Test fix

Signed-off-by: Mario Domínguez López <mariodominguez@eprosima.com>

* Refs #21233: Apply Elianas sugg

Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>

* Refs #21233: Apply Miguels sugg

Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>

* Refs #21233: TMP force multiple test runs

Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>

* Revert "Refs #21233: TMP force multiple test runs"

This reverts commit d3e71c9.

* Revert "Refs #21233: Run mac-ci only and buffer recover test"

This reverts commit cbc2aa1.

---------

Signed-off-by: Mario Domínguez López <mariodominguez@eprosima.com>
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
(cherry picked from commit af92c13)

Co-authored-by: Mario Domínguez López <116071334+Mario-DL@users.noreply.github.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
ci-pending PR which CI is running ready-to-merge Ready to be merged. CI and changes have been reviewed and approved.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants