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

[CI] SmokeTestWatcherWithSecurityClientYamlTestSuiteIT.test {yaml=watcher/usage/10_basic/Test watcher usage stats output} #65547

Closed
pugnascotia opened this issue Nov 26, 2020 · 14 comments
Assignees
Labels
:Data Management/Watcher medium-risk An open issue or test failure that is a medium risk to future releases Team:Data Management Meta label for data/management team >test-failure Triaged test failures from CI

Comments

@pugnascotia
Copy link
Contributor

Build scan:

https://gradle-enterprise.elastic.co/s/tvd22xejovpkq

Repro line:

./gradlew ':x-pack:plugin:watcher:qa:with-security:yamlRestTest' --tests "org.elasticsearch.smoketest.SmokeTestWatcherWithSecurityClientYamlTestSuiteIT.test {yaml=watcher/usage/10_basic/Test watcher usage stats output}" -Dtests.seed=8712769CB44639EF -Dtests.security.manager=true -Dtests.locale=fr-LU -Dtests.timezone=Asia/Krasnoyarsk -Druntime.java=8 -Dtests.fips.enabled=true

Reproduces locally?:

No

Applicable branches:

7.x

Failure history:

Failure excerpt:

org.elasticsearch.smoketest.SmokeTestWatcherWithSecurityClientYamlTestSuiteIT > test {yaml=watcher/usage/10_basic/Test watcher usage stats output} FAILED
    java.lang.AssertionError: Failure at [watcher/usage/10_basic:48]: field [watcher.count.active] is not greater than [$watch_count_active]
    Expected: a value greater than <1>
         but: <1> was equal to <1>
        at __randomizedtesting.SeedInfo.seed([8712769CB44639EF:F4649461ABA5417]:0)
        at org.elasticsearch.test.rest.yaml.ESClientYamlSuiteTestCase.executeSection(ESClientYamlSuiteTestCase.java:414)
        at org.elasticsearch.test.rest.yaml.ESClientYamlSuiteTestCase.test(ESClientYamlSuiteTestCase.java:391)
@pugnascotia pugnascotia added >test-failure Triaged test failures from CI :Data Management/Watcher labels Nov 26, 2020
@elasticmachine elasticmachine added the Team:Data Management Meta label for data/management team label Nov 26, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (Team:Core/Features)

@jakelandis
Copy link
Contributor

jakelandis commented Dec 28, 2021

Test was never muted, and no comments for over 6m and no failures in the past 28 days. Closing. Feel free to reopen if it shows up again.

@cbuescher
Copy link
Member

Another one today that looks like this. Doesn't reproduce locally unfortunately. On 8.6 branch:

https://gradle-enterprise.elastic.co/s/h7ukuyd3kkkpy

java.lang.AssertionError: Failure at [watcher/usage/10_basic:48]: field [watcher.count.active] is not greater than [$watch_count_active]
Expected: a value greater than <1>
     but: <1> was equal to <1>
	at __randomizedtesting.SeedInfo.seed([21674259D2BA5B17:A9337D837C4636EF]:0)
	at org.elasticsearch.test.rest.yaml.ESClientYamlSuiteTestCase.executeSection(ESClientYamlSuiteTestCase.java:520)
	at org.elasticsearch.test.rest.yaml.ESClientYamlSuiteTestCase.test(ESClientYamlSuiteTestCase.java:480)

@cbuescher cbuescher reopened this Jan 25, 2023
@dakrone dakrone added the medium-risk An open issue or test failure that is a medium risk to future releases label Oct 12, 2023
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

@joegallo
Copy link
Contributor

joegallo commented Mar 8, 2024

I closed #104495 in favor of this one because it's the same yaml test, but don't miss that there's some valuable investigation on that ticket, or that we have seen this failure via more than just one yaml test runner, specifically:

 ./gradlew ':x-pack:plugin:watcher:qa:rest:yamlRestTestV7CompatTest' --tests "org.elasticsearch.smoketest.WatcherYamlRestIT.test {p0=watcher/usage/10_basic/Test watcher usage stats output}"

 ./gradlew ':x-pack:plugin:watcher:qa:with-security:yamlRestTest' --tests "org.elasticsearch.smoketest.SmokeTestWatcherWithSecurityClientYamlTestSuiteIT.test {yaml=watcher/usage/10_basic/Test watcher usage stats output}"

I'm assuming we'd see it off this one occasionally, too:

./gradlew ':x-pack:plugin:watcher:qa:rest:yamlRestTest' --tests "org.elasticsearch.smoketest.WatcherYamlRestIT.test {p0=watcher/usage/10_basic/Test watcher usage stats output}"

@joegallo
Copy link
Contributor

Same story on closing #93039 in favor of this one, too.

@joegallo joegallo self-assigned this Mar 11, 2024
@joegallo
Copy link
Contributor

I merged #106141 to make it a little easier to understand why this test fails when it fails.

@joegallo
Copy link
Contributor

#106192 has some of the fallout from having merged #106141, which I've since reverted.

@joegallo
Copy link
Contributor

joegallo commented Apr 5, 2024

AH HA! I've been looking at the fallout from having merged #106141, and here's something. I suspect it's a case of failing on the shutting down side of things. And here's why I think that:

Screenshot 2024-04-05 at 5 33 51 PM Screenshot 2024-04-05 at 5 33 58 PM Screenshot 2024-04-05 at 5 34 06 PM

The failures come in pairs! There's a test that's failing on the shutdown side and leaving a bad state in memory, and then there's a test that fails (with ten retries) on the setup side. But they fail in pairs.

@masseyke
Copy link
Member

Closing this as a duplicate of #112189 since that is the one listed in muted_tests.yml (and so it will get reopened by test automation if I close it).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/Watcher medium-risk An open issue or test failure that is a medium risk to future releases Team:Data Management Meta label for data/management team >test-failure Triaged test failures from CI
Projects
None yet
Development

No branches or pull requests