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

Flaky Test - creating and using Painless string scripted fields #11040

Closed
stacey-gammon opened this issue Apr 5, 2017 · 5 comments
Closed

Flaky Test - creating and using Painless string scripted fields #11040

stacey-gammon opened this issue Apr 5, 2017 · 5 comments
Assignees
Labels
Feature:Visualizations Generic visualization features (in case no more specific feature label is available) test

Comments

@stacey-gammon
Copy link
Contributor

On master, seen this test fail a couple times:

14:46:16.398: Taking screenshot "/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-selenium/test/screenshots/failure/failure_1491403576398_creating and using Painless string scripted fields_should visualize scripted field in vertical bar chart.png"
>> FAIL: chrome on any platform - kibana - settings app - creating and using Painless string scripted fields - should visualize scripted field in vertical bar chart (3317ms)
Error: expected [ 'bad 27' ] to sort of equal [ 'good 359', 'bad 27' ]

  [
E   0: "good 359",
E   1: "bad 27",
E   length: 2
A   0: "bad 27",
A   length: 1
  ]

  at Assertion.assert  <node_modules/expect.js/index.js:96:13>
  at Assertion.eql  <node_modules/expect.js/index.js:230:10>
  at Test.<anonymous>  <test/functional/apps/management/_scripted_fields.js:227:55>
  at undefined.next  <native>
  at step  <test/functional/apps/management/_scripted_fields.js:15:191>
  at <test/functional/apps/management/_scripted_fields.js:15:361>
  at process._tickCallback  <internal/process/next_tick.js:103:7>
>> 1/4 tests failed

Filing to keep track and will report how often I see it.

@stacey-gammon
Copy link
Contributor Author

stacey-gammon commented Apr 5, 2017

Ran into it again.

cc @archanid

@jbudz
Copy link
Member

jbudz commented Apr 5, 2017

I don't think PageObjects.discover.removeAllFilters(); is working consistently.

@jbudz
Copy link
Member

jbudz commented Apr 10, 2017

#11108 is merged. I'm going to keep an eye on the builds and reopen this if needed.

@stacey-gammon
Copy link
Contributor Author

Ran into this again here: https://kibana-ci.elastic.co/job/elastic+kibana+pull-request+multijob-selenium/3594/consoleFull

PR is rebased with master so should have the new code.

@stacey-gammon stacey-gammon reopened this Apr 11, 2017
@jbudz jbudz removed their assignment May 30, 2017
@jen-huang jen-huang self-assigned this Jul 23, 2018
@jen-huang jen-huang added the Feature:Visualizations Generic visualization features (in case no more specific feature label is available) label Jul 23, 2018
@jen-huang
Copy link
Contributor

Spy panels was replaced by Inspector as part of #16387
All the should visualize scripted field in vertical bar chart tests were updated as part of that change, with additional adjustments in #20452.
I ran these tests locally a couple of times and did not see any failures, and haven't seen any recent builds failing here. Closing and will reopen if a failure is spotted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Visualizations Generic visualization features (in case no more specific feature label is available) test
Projects
None yet
Development

No branches or pull requests

4 participants