Skip to content

Conversation

@ycombinator
Copy link
Contributor

@ycombinator ycombinator commented Jun 9, 2025

What does this PR do?

This PR amends the TestFIPSAgentConnectingToFIPSFleetServerInECHFRH integration test to wrap the flaky assertion and it's pre-requisite code in a require.Eventually block.

Why is it important?

To avoid flakiness in the test.

Related issues

Closes #8419

@mergify
Copy link
Contributor

mergify bot commented Jun 9, 2025

This pull request does not have a backport label. Could you fix it @ycombinator? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-./d./d is the label that automatically backports to the 8./d branch. /d is the digit
  • backport-active-all is the label that automatically backports to all active branches.
  • backport-active-8 is the label that automatically backports to all active minor branches for the 8 major.
  • backport-active-9 is the label that automatically backports to all active minor branches for the 9 major.

@ycombinator
Copy link
Contributor Author

Looks like the FIPS integration tests passed without retries: https://buildkite.com/elastic/elastic-agent/builds/22082. Re-running to check for flakiness.

@ycombinator
Copy link
Contributor Author

buildkite test this

@ycombinator ycombinator marked this pull request as ready for review June 9, 2025 23:53
@ycombinator ycombinator requested a review from a team as a code owner June 9, 2025 23:53
@ycombinator ycombinator requested review from blakerouse, michel-laterman and swiatekm and removed request for blakerouse June 9, 2025 23:53
@ycombinator ycombinator added the Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team label Jun 9, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@ycombinator
Copy link
Contributor Author

buildkite test this

@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

History

cc @ycombinator

@ycombinator
Copy link
Contributor Author

buildkite test this

@elastic-sonarqube
Copy link

@ycombinator ycombinator merged commit 540ee8d into elastic:main Jun 10, 2025
13 of 14 checks passed
@ycombinator ycombinator added the backport-8.19 Automated backport to the 8.19 branch label Jun 10, 2025
@ycombinator
Copy link
Contributor Author

@Mergifyio backport 8.19

mergify bot pushed a commit that referenced this pull request Jun 10, 2025
(cherry picked from commit 540ee8d)

# Conflicts:
#	testing/integration/fleetserver_fips_test.go
@mergify
Copy link
Contributor

mergify bot commented Jun 10, 2025

backport 8.19

✅ Backports have been created

@ycombinator ycombinator deleted the it-fips-ech-fix-flakiness branch June 10, 2025 13:19
ycombinator added a commit that referenced this pull request Jun 10, 2025
ycombinator added a commit that referenced this pull request Jun 10, 2025
(cherry picked from commit 540ee8d)

Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com>
v1v added a commit that referenced this pull request Jun 12, 2025
…ts-oblt-cli

* feature/serverless-its-oblt-cli: (51 commits)
  as agreed let's move the group to the kb.integration pipeline
  Update .github/workflows/serverless-project.yml
  ci: invoke serverless integration tests package from BK
  github-actions: create a serverless project daily
  [tests] split up serverless and resource leaks integration tests (#8396)
  chore: Update to elastic/beats@dfdc12e33de0 (#8446)
  Lock upgrade marker (#8254)
  build(deps): bump github.com/elastic/elastic-agent-system-metrics from 0.11.12 to 0.11.13 (#8420)
  Add docker image name template and renamed fips cloud specs (#8429)
  buildkite(scripts): refactor common scripts (#8365)
  Use require.Eventually to try and address flakiness (#8421)
  Fix pre-command to support extended testing (#8418)
  [Automation] Bump Golang version to 1.24.4 (#8384)
  chore: Update to elastic/beats@aed2a8b768bd (#8423)
  [main][Automation] Update versions (#8425)
  Add Pipeline to deploy custom agent image for FIPS testing (#8035)
  ci: automatically update OTel components (#8288)
  [Automation] Bump VM Image version to 1749258065 (#8390)
  fix: increase context timeout to accommodate for slower machines in Test_checkForUnprivilegedVault (#8374)
  otel: add cumulativetodeltaprocessor to EDOT collector (#8372)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-8.19 Automated backport to the 8.19 branch skip-changelog Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Flaky Test]: TestFIPSAgentConnectingToFIPSFleetServerInECHFRH

3 participants