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 ES Promotion: apis uptime uptime REST endpoints with generated data telemetry collectors fleet should receive expected results for fleet managed monitors after calling monitor logging #111240

Closed
mistic opened this issue Sep 6, 2021 · 3 comments · Fixed by #117929
Assignees
Labels

Comments

@mistic
Copy link
Member

mistic commented Sep 6, 2021

This failure is preventing the promotion of the current Elasticsearch nightly snapshot.

For more information on the Elasticsearch snapshot promotion process including how to reproduce using the unverified nightly ES build: https://www.elastic.co/guide/en/kibana/master/development-es-snapshots.html

CI failure logs: https://kibana-ci.elastic.co/job/elasticsearch+snapshots+verify/3349/testReport/junit/X-Pack%20API%20Integration%20Tests/x-pack_test_api_integration_apis_uptime_rest_telemetry_collectors_fleet%C2%B7ts/Kibana_Pipeline___apis_uptime_uptime_REST_endpoints_with_generated_data_telemetry_collectors_fleet_should_receive_expected_results_for_fleet_managed_monitors_after_calling_monitor_logging/

Error: expected { overview_page: 0,
  monitor_page: 1,
  no_of_unique_monitors: 4,
  settings_page: 0,
  monitor_frequency: [ 0.001, 0.001, 60, 60 ],
  monitor_name_stats: { min_length: 7, max_length: 22, avg_length: 12 },
  no_of_unique_observer_locations: 3,
  observer_location_name_stats: { min_length: 2, max_length: 7, avg_length: 4.8 },
  dateRangeStart: [ 'now/d' ],
  dateRangeEnd: [ 'now/d' ],
  autoRefreshEnabled: true,
  autorefreshInterval: [ 100 ],
  fleet_no_of_unique_monitors: 4,
  fleet_monitor_frequency: [ 0.001, 0.001, 60, 60 ],
  fleet_monitor_name_stats: { min_length: 7, max_length: 22, avg_length: 12 } } to sort of equal { overview_page: 0,
  monitor_page: 1,
  no_of_unique_monitors: 4,
  settings_page: 0,
  monitor_frequency: [ 120, 0.001, 60, 60 ],
  monitor_name_stats: { min_length: 7, max_length: 22, avg_length: 12 },
  no_of_unique_observer_locations: 3,
  observer_location_name_stats: { min_length: 2, max_length: 7, avg_length: 4.8 },
  dateRangeStart: [ 'now/d' ],
  dateRangeEnd: [ 'now/d' ],
  autoRefreshEnabled: true,
  autorefreshInterval: [ 100 ],
  fleet_monitor_frequency: [ 120, 0.001, 60, 60 ],
  fleet_monitor_name_stats: { min_length: 7, max_length: 22, avg_length: 12 },
  fleet_no_of_unique_monitors: 4 }
    at Assertion.assert (/dev/shm/workspace/parallel/8/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/8/kibana/node_modules/@kbn/expect/expect.js:244:8)
    at Context.<anonymous> (test/api_integration/apis/uptime/rest/telemetry_collectors_fleet.ts:160:25)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at Object.apply (/dev/shm/workspace/parallel/8/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16) {
  actual: '{\n' +
    '  "autoRefreshEnabled": true\n' +
    '  "autorefreshInterval": [\n' +
    '    100\n' +
    '  ]\n' +
    '  "dateRangeEnd": [\n' +
    '    "now/d"\n' +
    '  ]\n' +
    '  "dateRangeStart": [\n' +
    '    "now/d"\n' +
    '  ]\n' +
    '  "fleet_monitor_frequency": [\n' +
    '    0.001\n' +
    '    0.001\n' +
    '    60\n' +
    '    60\n' +
    '  ]\n' +
    '  "fleet_monitor_name_stats": {\n' +
    '    "avg_length": 12\n' +
    '    "max_length": 22\n' +
    '    "min_length": 7\n' +
    '  }\n' +
    '  "fleet_no_of_unique_monitors": 4\n' +
    '  "monitor_frequency": [\n' +
    '    0.001\n' +
    '    0.001\n' +
    '    60\n' +
    '    60\n' +
    '  ]\n' +
    '  "monitor_name_stats": {\n' +
    '    "avg_length": 12\n' +
    '    "max_length": 22\n' +
    '    "min_length": 7\n' +
    '  }\n' +
    '  "monitor_page": 1\n' +
    '  "no_of_unique_monitors": 4\n' +
    '  "no_of_unique_observer_locations": 3\n' +
    '  "observer_location_name_stats": {\n' +
    '    "avg_length": 4.8\n' +
    '    "max_length": 7\n' +
    '    "min_length": 2\n' +
    '  }\n' +
    '  "overview_page": 0\n' +
    '  "settings_page": 0\n' +
    '}',
  expected: '{\n' +
    '  "autoRefreshEnabled": true\n' +
    '  "autorefreshInterval": [\n' +
    '    100\n' +
    '  ]\n' +
    '  "dateRangeEnd": [\n' +
    '    "now/d"\n' +
    '  ]\n' +
    '  "dateRangeStart": [\n' +
    '    "now/d"\n' +
    '  ]\n' +
    '  "fleet_monitor_frequency": [\n' +
    '    120\n' +
    '    0.001\n' +
    '    60\n' +
    '    60\n' +
    '  ]\n' +
    '  "fleet_monitor_name_stats": {\n' +
    '    "avg_length": 12\n' +
    '    "max_length": 22\n' +
    '    "min_length": 7\n' +
    '  }\n' +
    '  "fleet_no_of_unique_monitors": 4\n' +
    '  "monitor_frequency": [\n' +
    '    120\n' +
    '    0.001\n' +
    '    60\n' +
    '    60\n' +
    '  ]\n' +
    '  "monitor_name_stats": {\n' +
    '    "avg_length": 12\n' +
    '    "max_length": 22\n' +
    '    "min_length": 7\n' +
    '  }\n' +
    '  "monitor_page": 1\n' +
    '  "no_of_unique_monitors": 4\n' +
    '  "no_of_unique_observer_locations": 3\n' +
    '  "observer_location_name_stats": {\n' +
    '    "avg_length": 4.8\n' +
    '    "max_length": 7\n' +
    '    "min_length": 2\n' +
    '  }\n' +
    '  "overview_page": 0\n' +
    '  "settings_page": 0\n' +
    '}',
  showDiff: true
}
@mistic mistic added blocker v8.0.0 Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability skipped-test failed-es-promotion labels Sep 6, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/uptime (Team:uptime)

@mistic
Copy link
Member Author

mistic commented Sep 6, 2021

Skipped.

master/8.0: 907a340
7.x/7.16: 55e2488

@jbudz
Copy link
Member

jbudz commented Oct 8, 2021

I added another skip here for "telemetry collectors heartbeat".
https://buildkite.com/elastic/kibana-elasticsearch-snapshot-verify/builds/222#2d05683f-b9f3-421b-98fe-fb888a40bacf

main: 485aebc
7.x: 61ec6f3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants