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 X-Pack UI Functional Tests.x-pack/test/functional/apps/lens/heatmap·ts - lens app lens heatmap should reflect stop colors change on the chart #113043

Closed
kibanamachine opened this issue Sep 23, 2021 · 17 comments · Fixed by #113728, #117811 or #119010
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Sep 23, 2021

A test failed on a tracked branch

Error: expected [ { key: '5,722.77 - 8,529.22',
    name: '5,722.77 - 8,529.22',
    color: '#6092c0' },
  { key: '8,529.22 - 11,335.66',
    name: '8,529.22 - 11,335.66',
    color: '#a8bfda' },
  { key: '11,335.66 - 14,142.11',
    name: '11,335.66 - 14,142.11',
    color: '#ebeff5' },
  { key: '14,142.11 - 16,948.55',
    name: '14,142.11 - 16,948.55',
    color: '#ecb385' },
  { key: '≥ 16,948.55',
    name: '≥ 16,948.55',
    color: '#e7664c' } ] to sort of equal [ { key: '7,126 - 8,529.22',
    name: '7,126 - 8,529.22',
    color: '#6092c0' },
  { key: '8,529.22 - 11,335.66',
    name: '8,529.22 - 11,335.66',
    color: '#a8bfda' },
  { key: '11,335.66 - 14,142.11',
    name: '11,335.66 - 14,142.11',
    color: '#ebeff5' },
  { key: '14,142.11 - 16,948.55',
    name: '14,142.11 - 16,948.55',
    color: '#ecb385' },
  { key: '≥ 16,948.55',
    name: '≥ 16,948.55',
    color: '#e7664c' } ]
    at Assertion.assert (/var/lib/buildkite-agent/builds/kb-cigroup-6-7dee58c5cd7e66e1/elastic/kibana-hourly/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.eql (/var/lib/buildkite-agent/builds/kb-cigroup-6-7dee58c5cd7e66e1/elastic/kibana-hourly/kibana/node_modules/@kbn/expect/expect.js:244:8)
    at Context.<anonymous> (test/functional/apps/lens/heatmap.ts:86:43)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at Object.apply (/var/lib/buildkite-agent/builds/kb-cigroup-6-7dee58c5cd7e66e1/elastic/kibana-hourly/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16) {
  actual: '[\n' +
    '  {\n' +
    '    "color": "#6092c0"\n' +
    '    "key": "5,722.77 - 8,529.22"\n' +
    '    "name": "5,722.77 - 8,529.22"\n' +
    '  }\n' +
    '  {\n' +
    '    "color": "#a8bfda"\n' +
    '    "key": "8,529.22 - 11,335.66"\n' +
    '    "name": "8,529.22 - 11,335.66"\n' +
    '  }\n' +
    '  {\n' +
    '    "color": "#ebeff5"\n' +
    '    "key": "11,335.66 - 14,142.11"\n' +
    '    "name": "11,335.66 - 14,142.11"\n' +
    '  }\n' +
    '  {\n' +
    '    "color": "#ecb385"\n' +
    '    "key": "14,142.11 - 16,948.55"\n' +
    '    "name": "14,142.11 - 16,948.55"\n' +
    '  }\n' +
    '  {\n' +
    '    "color": "#e7664c"\n' +
    '    "key": "≥ 16,948.55"\n' +
    '    "name": "≥ 16,948.55"\n' +
    '  }\n' +
    ']',
  expected: '[\n' +
    '  {\n' +
    '    "color": "#6092c0"\n' +
    '    "key": "7,126 - 8,529.22"\n' +
    '    "name": "7,126 - 8,529.22"\n' +
    '  }\n' +
    '  {\n' +
    '    "color": "#a8bfda"\n' +
    '    "key": "8,529.22 - 11,335.66"\n' +
    '    "name": "8,529.22 - 11,335.66"\n' +
    '  }\n' +
    '  {\n' +
    '    "color": "#ebeff5"\n' +
    '    "key": "11,335.66 - 14,142.11"\n' +
    '    "name": "11,335.66 - 14,142.11"\n' +
    '  }\n' +
    '  {\n' +
    '    "color": "#ecb385"\n' +
    '    "key": "14,142.11 - 16,948.55"\n' +
    '    "name": "14,142.11 - 16,948.55"\n' +
    '  }\n' +
    '  {\n' +
    '    "color": "#e7664c"\n' +
    '    "key": "≥ 16,948.55"\n' +
    '    "name": "≥ 16,948.55"\n' +
    '  }\n' +
    ']',
  showDiff: true
}

First failure: CI Build

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Sep 23, 2021
@botelastic botelastic bot added the needs-team Issues missing a team label label Sep 23, 2021
@jbudz jbudz added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Sep 23, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-vis-editors (Team:VisEditors)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Sep 23, 2021
@dej611
Copy link
Contributor

dej611 commented Sep 27, 2021

The interesting bit is that only the first bucket of the number histogram has changed. The rest has remained unchanged

@kibanamachine
Copy link
Contributor Author

New failure: CI Build

@kibanamachine
Copy link
Contributor Author

New failure: CI Build

@kibanamachine
Copy link
Contributor Author

New failure: CI Build

spalger added a commit that referenced this issue Sep 29, 2021
spalger added a commit that referenced this issue Sep 29, 2021
(cherry picked from commit f79a96f)
@spalger
Copy link
Contributor

spalger commented Sep 29, 2021

Skipped

master/8.0: f79a96f
7.x/7.16: 66d90fd

@stratoula
Copy link
Contributor

The CI screenshot just for reference
image

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@spalger
Copy link
Contributor

spalger commented Nov 3, 2021

Looks like this is the first failure since the fix went in, including PRs, but probably a good idea to take another look @stratoula

@mistic
Copy link
Member

mistic commented Nov 4, 2021

This test looks flaky. Skipping for now.

main/8.1: b121681
8.0: e7ca0c2

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@flash1293
Copy link
Contributor

This is a different problem - the color stop UI is not opening. A retry like we use in other places should help

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 8.0

@flash1293
Copy link
Contributor

This is yet a different problem - entering the value in the color picker seems unstable

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 8.0

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 7.15

@flash1293
Copy link
Contributor

Seems like this was a CI problem:

│ERROR browser[SEVERE] http://localhost:6101/api/core/capabilities - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
  | │ERROR browser[SEVERE] http://localhost:6101/44308/bundles/core/core.entry.js 12:156648 Error: Internal Server Error
  | │          at fetch_Fetch.fetchResponse (http://localhost:6101/44308/bundles/core/core.entry.js:6:27830)
  | │          at async http://localhost:6101/44308/bundles/core/core.entry.js:6:25046
  | │          at async http://localhost:6101/44308/bundles/core/core.entry.js:6:24952
  | │ proc [kibana]   log   [23:19:59.029] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE. took: 34ms.
  | │ proc [kibana]   log   [23:19:59.029] [info][savedobjects-service] [.kibana] Migration completed after 689ms
  | │ proc [kibana] {"log.level":"info","@timestamp":"2021-12-09T23:19:59.046Z","log":{"logger":"elastic-apm-node"},"ecs":{"version":"1.6.0"},"message":"Sending error to Elastic APM: {\"id\":\"e04299aebf6514c89acace8ad74dbe42\"}"}
  | │ERROR browser[SEVERE] http://localhost:6101/44308/bundles/core/core.entry.js 5:2474
  | │ERROR browser[SEVERE] http://localhost:6101/app/maps/map#/?_g=(filters:!(),refreshInterval:(pause:!f,value:0),time:(from:'2015-09-22T00:00:00.000Z',to:'2015-09-22T04:00:00.000Z'))&_a=(filters:!(),query:(language:kuery,query:''))&initialLayers=(id:a032dc95-d374-459e-9eb8-7be630405e63,sourceDescriptor:(geoField:geo.coordinates,id:ee1eb80c-6f05-49ba-b440-d67452bc2d7d,indexPatternId:'logstash-*',label:'logstash-*',scalingType:CLUSTERS,tooltipProperties:!(),type:ES_SEARCH),type:BLENDED_VECTOR,visible:!t) 0:0 Uncaught e: no elements in sequence
  | │ERROR browser[SEVERE] http://localhost:6101/44308/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 282:610526 Uncaught e: no elements in sequence
  | └-> should not cause PDF reports to fail
  | -> "before each" hook: global before each for "should not cause PDF reports to fail"
  | │ERROR browser[SEVERE] http://localhost:6101/api/kibana/settings - Failed to load resource: the server responded with a status of 403 (Forbidden)
 ```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
8 participants