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

rollup/security_tests/Index-based access failed on master #53412

Closed
mayya-sharipova opened this issue Mar 11, 2020 · 4 comments · Fixed by #86992
Closed

rollup/security_tests/Index-based access failed on master #53412

mayya-sharipova opened this issue Mar 11, 2020 · 4 comments · Fixed by #86992
Assignees
Labels
:StorageEngine/Rollup Turn fine-grained time-based data into coarser-grained data Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) >test-failure Triaged test failures from CI

Comments

@mayya-sharipova
Copy link
Contributor

mayya-sharipova commented Mar 11, 2020

Log: https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+multijob-unix-compatibility/os=debian-9&&immutable/626/console
Build Scans: https://gradle-enterprise.elastic.co/s/czj4wyadxa5w4

REPRODUCE WITH: ./gradlew ':x-pack:plugin:integTestRunner' --tests "org.elasticsearch.xpack.test.rest.XPackRestIT.test {p0=rollup/security_tests/Index-based access}" -Dtests.seed=D8D6FFF30F93B9E5 -Dtests.security.manager=true -Dtests.locale=nb -Dtests.timezone=Asia/Tehran -Dcompiler.java=13 -Dtests.rest.blacklist=getting_started/10_monitor_cluster_health/*

Doesn't reproduce for me.

Caused by: java.lang.AssertionError: 
hits.total didn't match expected value:
                    hits.total: expected Integer [1] but was Integer [0]
[2020-03-11T09:35:42,153][INFO ][o.e.x.t.r.XPackRestIT    ] [test] Stash dump on test failure [{
  "stash" : {
    "body" : {
      "took" : 0,
      "timed_out" : false,
      "_shards" : {
        "total" : 1,
        "successful" : 1,
        "skipped" : 0,
        "failed" : 0
      },
      "hits" : {
        "total" : 0,
        "max_score" : null,
        "hits" : [ ]
      }
    }
  }
}]
  2> REPRODUCE WITH: ./gradlew ':x-pack:plugin:integTestRunner' --tests "org.elasticsearch.xpack.test.rest.XPackRestIT.test {p0=rollup/security_tests/Index-based access}" -Dtests.seed=D8D6FFF30F93B9E5 -Dtests.security.manager=true -Dtests.locale=nb -Dtests.timezone=Asia/Tehran -Dcompiler.java=13 -Dtests.rest.blacklist=getting_started/10_monitor_cluster_health/*
  2> java.lang.AssertionError: Failure at [rollup/security_tests:164]: hits.total didn't match expected value:
                        hits.total: expected Integer [1] but was Integer [0]
        at __randomizedtesting.SeedInfo.seed([D8D6FFF30F93B9E5:5082C029A16FD41D]:0)


@mayya-sharipova mayya-sharipova added >test-failure Triaged test failures from CI :StorageEngine/Rollup Turn fine-grained time-based data into coarser-grained data labels Mar 11, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-analytics-geo (:Analytics/Rollup)

@polyfractal
Copy link
Contributor

@ywangd Haven't had a chance to investigate yet, but do you think this is related to the recent #52043 ?

@ywangd
Copy link
Member

ywangd commented Mar 11, 2020

It's not related. This test does not use _rollup_search API which is changed in my PR. It's a normal search.

@polyfractal
Copy link
Contributor

Ah good point, missed that. I'll start to investigate, thanks @ywangd!

@rjernst rjernst added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label May 4, 2020
@csoulios csoulios self-assigned this May 20, 2022
salvatore-campagna added a commit that referenced this issue Jul 6, 2022
…86992)

Instead of waiting in the yaml test we refresh once the
indexing operation is complete in the callback. This way
we avoid possible timeout issues which make the test
unstable.

Resolves #81983
Resolves #53412
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:StorageEngine/Rollup Turn fine-grained time-based data into coarser-grained data Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) >test-failure Triaged test failures from CI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants