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

[8.11](backport #3493) Increase sleep time for install progress tests #3543

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Oct 5, 2023

This is an automatic backport of pull request #3493 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

Increase the sleep timeout for testcase `TestProgress/single_step_delayed_failure`
to avoid flakiness on Windows.
The tick interval for the test is set to 10 ms but the code allows for
variance between 65% and 250% of such value and it expects at least 1
tick to happen (it is asserted on the regexp match as at least 1
additional `.`)

Original sleep time of 15 ms would not cover the whole possible
interval, after testing on windows with different timings the most
reliable seems to be ~100ms (40-50 ms would still yield a few failures
when run 10000 times in a loop)

(cherry picked from commit 6636206)
@mergify mergify bot requested a review from a team as a code owner October 5, 2023 15:41
@mergify mergify bot requested review from ycombinator and AndersonQ and removed request for a team October 5, 2023 15:41
@mergify mergify bot added the backport label Oct 5, 2023
@mergify mergify bot assigned pchila Oct 5, 2023
@elastic-sonarqube
Copy link

SonarQube Quality Gate

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2023-10-05T15:42:08.951+0000

  • Duration: 26 min 35 sec

Test stats 🧪

Test Results
Failed 0
Passed 6465
Skipped 59
Total 6524

💚 Flaky test report

Tests succeeded.

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • /package : Generate the packages.

  • run integration tests : Run the Elastic Agent Integration tests.

  • run end-to-end tests : Generate the packages and run the E2E Tests.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@elasticmachine
Copy link
Collaborator

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 98.78% (81/82) 👍
Files 66.0% (198/300) 👍
Classes 64.991% (362/557) 👍
Methods 52.425% (1146/2186) 👍
Lines 38.097% (13068/34302) 👍
Conditionals 100.0% (0/0) 💚

@cmacknz
Copy link
Member

cmacknz commented Oct 5, 2023

Merging, integration test failure is unrelated since this file only touches a unit test file:



../go/pkg/mod/github.com/elastic/elastic-agent-libs@v0.5.0/logp/core.go:31:2: github.com/hashicorp/go-multierror@v1.1.1: Get "https://proxy.golang.org/github.com/hashicorp/go-multierror/@v/v1.1.1.zip": dial tcp 64.233.182.141:443: i/o timeout
--
  | 2023-10-05 15:54:45 UTC | Error: error compiling magefiles

@cmacknz cmacknz merged commit b075253 into 8.11 Oct 5, 2023
24 of 25 checks passed
@cmacknz cmacknz deleted the mergify/bp/8.11/pr-3493 branch October 5, 2023 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants