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

Failing test: Chrome UI Functional Tests.test/functional/apps/dashboard/dashboard_filtering·ts - dashboard app using current data dashboard filtering using a pinned filter that excludes all data "after all" hook for "vega is filtered" #92522

Closed
kibanamachine opened this issue Feb 23, 2021 · 6 comments · Fixed by #117944
Assignees
Labels
blocker failed-test A test failure on a tracked branch, potentially flaky-test skipped-test Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas v7.12.1 v8.0.0

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Feb 23, 2021

A test failed on a tracked branch

Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj~="filter"][data-test-subj~="filter-key-bytes"])
Wait timed out after 10008ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at onFailure (test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:57:13)
    at Retry.try (test/common/services/retry/retry.ts:32:14)
    at Proxy.clickByCssSelector (test/functional/services/common/find.ts:419:7)
    at TestSubjects.click (test/functional/services/common/test_subjects.ts:105:7)
    at FilterBar.toggleFilterPinned (test/functional/services/filter_bar.ts:85:7)
    at Context.<anonymous> (test/functional/apps/dashboard/dashboard_filtering.ts:142:9)
    at Object.apply (packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

First failure: Jenkins Build

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Feb 23, 2021
@tylersmalley tylersmalley added the Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas label Feb 23, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-presentation (Team:Presentation)

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@tylersmalley
Copy link
Contributor

tylersmalley commented Apr 6, 2021

Skipped, 22 failures in the past week

image

master: 32a691f
7.x: 671f91f

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@cqliu1 cqliu1 self-assigned this Apr 29, 2021
@rashmivkulkarni
Copy link
Contributor

when I ran this query from the dev tools ( vega visualization) :

GET _search
{
  "aggs": {
    "time_buckets": {
      "date_histogram": {
        "field": "@timestamp",
        "interval": "30s",
        "extended_bounds": {
          "min": 1632258950910,
          "max": 1632259850910
        },
        "min_doc_count": 0
      }
    }
  },
  "size": 0,
  "query": {
    "bool": {
      "must": [
        {
          "range": {
            "@timestamp": {
              "gte": "2021-09-21T21:15:50.910Z",
              "lte": "2021-09-21T21:30:50.910Z",
              "format": "strict_date_optional_time"
            }
          }
        }
      ],
      "filter": [],
      "should": [],
      "must_not": []
    }
  }
}

response

{
 "error" : {
   "root_cause" : [
     {
       "type" : "x_content_parse_exception",
       "reason" : "[6:9] [date_histogram] unknown field [interval] did you mean [fixed_interval]?"
     }
   ],
   "type" : "x_content_parse_exception",
   "reason" : "[6:9] [date_histogram] unknown field [interval] did you mean [fixed_interval]?"
 },
 "status" : 400
}

Screen Shot 2021-09-21 at 2 15 27 PM

ref: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-datehistogram-aggregation.html

This behavior has been deprecated in favor of two new, explicit fields: calendar_interval and fixed_interval.

@ThomThomson
Copy link
Contributor

In progress fix for the vega issue is here. Hopefully we can unskip this test after the vega fix is merged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker failed-test A test failure on a tracked branch, potentially flaky-test skipped-test Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas v7.12.1 v8.0.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants