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

Rename server.xsrf.whitelist to server.xsrf.allowlist #84791

Merged
merged 4 commits into from
Dec 3, 2020

Conversation

mshustov
Copy link
Contributor

@mshustov mshustov commented Dec 2, 2020

as discussed in #16714 (comment)

Plugin API changes

server.xsrf.whitelist Kibana setting, disabling protections for arbitrary API endpoints, has been renamed to server.xsrf.allowlist.

@mshustov mshustov added chore Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! release_note:plugin_api_changes Contains a Plugin API changes section for the breaking plugin API changes section. v8.0.0 v7.11.0 labels Dec 2, 2020
@mshustov mshustov requested review from a team as code owners December 2, 2020 16:50
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-security (Team:Security)

@mshustov mshustov requested a review from azasypkin December 2, 2020 16:50
Copy link
Contributor

@mikecote mikecote left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alerting related changes LGTM

@mshustov mshustov merged commit 78123a1 into elastic:master Dec 3, 2020
@mshustov mshustov deleted the xsrf-allowlist branch December 3, 2020 06:19
mshustov added a commit to mshustov/kibana that referenced this pull request Dec 3, 2020
* rename xsrd.whitelist to xsrf.allowlist

* update docs

* update telemetry schema

* update kbn-config tests
# Conflicts:
#	src/core/server/config/deprecation/core_deprecations.ts
gmmorris added a commit to gmmorris/kibana that referenced this pull request Dec 3, 2020
* master: (40 commits)
  fix: 🐛 don't add separator befor group on no main items (elastic#83166)
  [Security Solution][Detections] Implements indicator match rule cypress test (elastic#84323)
  [APM] Add APM agent config options (elastic#84678)
  Fixed a11y issue on rollup jobs table selection (elastic#84567)
  [Discover] Refactor getContextUrl to separate file (elastic#84503)
  [Embeddable] Export CSV action for Lens embeddables in dashboard (elastic#83654)
  [TSVB] [Cleanup] Remove extra dateFormat props (elastic#84749)
  [Lens] Migrate legacy es client and remove total hits as int (elastic#84340)
  Improve logging pipeline in @kbn/legacy-logging (elastic#84629)
  Catch @hapi/podium errors (elastic#84575)
  [Discover] Unskip date histogram test (elastic#84727)
  Rename server.xsrf.whitelist to server.xsrf.allowlist (elastic#84791)
  [Enterprise Search] Fix schema errors button (elastic#84842)
  [APM] Removes react-sticky dependency in favor of using CSS (elastic#84589)
  [Maps] Always initialize routes on server-startup (elastic#84806)
  [Fleet] EPM support to handle uploaded file paths (elastic#84708)
  [Snapshot Restore] Fix initial policy form state (elastic#83928)
  Upgrade Node.js to version 14 (elastic#83425)
  [Security Solution] Keep Endpoint policies up to date with license changes (elastic#83992)
  [Security Solution][Exceptions] Implement exceptions for ML rules (elastic#84006)
  ...
gmmorris added a commit to gmmorris/kibana that referenced this pull request Dec 3, 2020
* master: (236 commits)
  fix: 🐛 don't add separator befor group on no main items (elastic#83166)
  [Security Solution][Detections] Implements indicator match rule cypress test (elastic#84323)
  [APM] Add APM agent config options (elastic#84678)
  Fixed a11y issue on rollup jobs table selection (elastic#84567)
  [Discover] Refactor getContextUrl to separate file (elastic#84503)
  [Embeddable] Export CSV action for Lens embeddables in dashboard (elastic#83654)
  [TSVB] [Cleanup] Remove extra dateFormat props (elastic#84749)
  [Lens] Migrate legacy es client and remove total hits as int (elastic#84340)
  Improve logging pipeline in @kbn/legacy-logging (elastic#84629)
  Catch @hapi/podium errors (elastic#84575)
  [Discover] Unskip date histogram test (elastic#84727)
  Rename server.xsrf.whitelist to server.xsrf.allowlist (elastic#84791)
  [Enterprise Search] Fix schema errors button (elastic#84842)
  [APM] Removes react-sticky dependency in favor of using CSS (elastic#84589)
  [Maps] Always initialize routes on server-startup (elastic#84806)
  [Fleet] EPM support to handle uploaded file paths (elastic#84708)
  [Snapshot Restore] Fix initial policy form state (elastic#83928)
  Upgrade Node.js to version 14 (elastic#83425)
  [Security Solution] Keep Endpoint policies up to date with license changes (elastic#83992)
  [Security Solution][Exceptions] Implement exceptions for ML rules (elastic#84006)
  ...
gmmorris added a commit to gmmorris/kibana that referenced this pull request Dec 3, 2020
…overy-action-group

* upstream/master: (48 commits)
  [Lens] accessibility screen reader issues (elastic#84395)
  [Logs UI] Fetch single log entries via a search strategy (elastic#81710)
  fix: 🐛 don't add separator befor group on no main items (elastic#83166)
  [Security Solution][Detections] Implements indicator match rule cypress test (elastic#84323)
  [APM] Add APM agent config options (elastic#84678)
  Fixed a11y issue on rollup jobs table selection (elastic#84567)
  [Discover] Refactor getContextUrl to separate file (elastic#84503)
  [Embeddable] Export CSV action for Lens embeddables in dashboard (elastic#83654)
  [TSVB] [Cleanup] Remove extra dateFormat props (elastic#84749)
  [Lens] Migrate legacy es client and remove total hits as int (elastic#84340)
  Improve logging pipeline in @kbn/legacy-logging (elastic#84629)
  Catch @hapi/podium errors (elastic#84575)
  [Discover] Unskip date histogram test (elastic#84727)
  Rename server.xsrf.whitelist to server.xsrf.allowlist (elastic#84791)
  [Enterprise Search] Fix schema errors button (elastic#84842)
  [APM] Removes react-sticky dependency in favor of using CSS (elastic#84589)
  [Maps] Always initialize routes on server-startup (elastic#84806)
  [Fleet] EPM support to handle uploaded file paths (elastic#84708)
  [Snapshot Restore] Fix initial policy form state (elastic#83928)
  Upgrade Node.js to version 14 (elastic#83425)
  ...
mshustov added a commit that referenced this pull request Dec 3, 2020
…84861)

* Rename server.xsrf.whitelist to server.xsrf.allowlist (#84791)

* rename xsrd.whitelist to xsrf.allowlist

* update docs

* update telemetry schema

* update kbn-config tests
# Conflicts:
#	src/core/server/config/deprecation/core_deprecations.ts

* Update core_deprecations.ts

* miss import
@gchaps
Copy link
Contributor

gchaps commented Dec 3, 2020

@restrry Please add a section labelled "Dev Docs" in the summary of this PR and include content that we can pull for the API plugin changes doc.

@kibanamachine
Copy link
Contributor

kibanamachine commented Dec 9, 2020

💔 Build Failed

Failed CI Steps


Test Failures

X-Pack API Integration Tests.x-pack/test/api_integration/apis/ml/results/get_anomalies_table_data·ts.apis Machine Learning ResultsService GetAnomaliesTableData should fetch anomalies table data

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 1 times on tracked branches: https://dryrun

[00:00:00]       │
[00:00:00]         └-: apis
[00:00:00]           └-> "before all" hook
[00:07:05]           └-: Machine Learning
[00:07:05]             └-> "before all" hook
[00:07:05]             └-> "before all" hook
[00:07:05]               │ debg creating role ft_ml_source
[00:07:05]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] added role [ft_ml_source]
[00:07:05]               │ debg creating role ft_ml_source_readonly
[00:07:05]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] added role [ft_ml_source_readonly]
[00:07:05]               │ debg creating role ft_ml_dest
[00:07:05]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] added role [ft_ml_dest]
[00:07:05]               │ debg creating role ft_ml_dest_readonly
[00:07:05]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] added role [ft_ml_dest_readonly]
[00:07:05]               │ debg creating role ft_ml_ui_extras
[00:07:05]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] added role [ft_ml_ui_extras]
[00:07:05]               │ debg creating role ft_default_space_ml_all
[00:07:05]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] added role [ft_default_space_ml_all]
[00:07:05]               │ debg creating role ft_default_space_ml_read
[00:07:05]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] added role [ft_default_space_ml_read]
[00:07:05]               │ debg creating role ft_default_space_ml_none
[00:07:05]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] added role [ft_default_space_ml_none]
[00:07:05]               │ debg creating user ft_ml_poweruser
[00:07:05]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] added user [ft_ml_poweruser]
[00:07:05]               │ debg created user ft_ml_poweruser
[00:07:05]               │ debg creating user ft_ml_poweruser_spaces
[00:07:05]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] added user [ft_ml_poweruser_spaces]
[00:07:05]               │ debg created user ft_ml_poweruser_spaces
[00:07:05]               │ debg creating user ft_ml_viewer
[00:07:05]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] added user [ft_ml_viewer]
[00:07:05]               │ debg created user ft_ml_viewer
[00:07:05]               │ debg creating user ft_ml_viewer_spaces
[00:07:06]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] added user [ft_ml_viewer_spaces]
[00:07:06]               │ debg created user ft_ml_viewer_spaces
[00:07:06]               │ debg creating user ft_ml_unauthorized
[00:07:06]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] added user [ft_ml_unauthorized]
[00:07:06]               │ debg created user ft_ml_unauthorized
[00:07:06]               │ debg creating user ft_ml_unauthorized_spaces
[00:07:06]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] added user [ft_ml_unauthorized_spaces]
[00:07:06]               │ debg created user ft_ml_unauthorized_spaces
[00:09:56]             └-: ResultsService
[00:09:56]               └-> "before all" hook
[00:09:56]               └-: GetAnomaliesTableData
[00:09:56]                 └-> "before all" hook
[00:09:56]                 └-> "before all" hook
[00:09:56]                   │ info [ml/farequote] Loading "mappings.json"
[00:09:56]                   │ info [ml/farequote] Loading "data.json.gz"
[00:09:56]                   │ info [ml/farequote] Skipped restore for existing index "ft_farequote"
[00:09:57]                   │ debg applying update to kibana config: {"dateFormat:tz":"UTC"}
[00:09:58]                   │ debg Creating anomaly detection job with id 'fq_multi_1_ae'...
[00:09:58]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [.ml-anomalies-shared] creating index, cause [api], templates [.ml-anomalies-], shards [1]/[1]
[00:09:58]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] updating number_of_replicas to [0] for indices [.ml-anomalies-shared]
[00:09:58]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [.ml-annotations-6] creating index, cause [api], templates [], shards [1]/[1]
[00:09:58]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] updating number_of_replicas to [0] for indices [.ml-annotations-6]
[00:09:58]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [.ml-anomalies-shared/j0L-1N2jQD-Kwix-STpSOw] update_mapping [_doc]
[00:09:58]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [.ml-config] creating index, cause [auto(bulk api)], templates [.ml-config], shards [1]/[1]
[00:09:58]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] updating number_of_replicas to [0] for indices [.ml-config]
[00:09:58]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [.ml-notifications-000001] creating index, cause [auto(bulk api)], templates [.ml-notifications-000001], shards [1]/[1]
[00:09:58]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] updating number_of_replicas to [0] for indices [.ml-notifications-000001]
[00:09:59]                   │ debg Waiting up to 5000ms for 'fq_multi_1_ae' to exist...
[00:09:59]                   │ debg Creating datafeed with id 'datafeed-fq_multi_1_se'...
[00:10:00]                   │ debg Waiting up to 5000ms for 'datafeed-fq_multi_1_se' to exist...
[00:10:00]                   │ debg Opening anomaly detection job 'fq_multi_1_ae'...
[00:10:00]                   │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] Opening job [fq_multi_1_ae]
[00:10:00]                   │ info [o.e.x.c.m.u.MlIndexAndAlias] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] About to create first concrete index [.ml-state-000001] with alias [.ml-state-write]
[00:10:00]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [.ml-state-000001] creating index, cause [api], templates [.ml-state], shards [1]/[1]
[00:10:00]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] updating number_of_replicas to [0] for indices [.ml-state-000001]
[00:10:00]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] moving index [.ml-state-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [ml-size-based-ilm-policy]
[00:10:00]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] moving index [.ml-state-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] in policy [ml-size-based-ilm-policy]
[00:10:00]                   │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] Loading model snapshot [N/A], job latest_record_timestamp [N/A]
[00:10:00]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] moving index [.ml-state-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] in policy [ml-size-based-ilm-policy]
[00:10:00]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] [autodetect/297178] [CResourceMonitor.cc@74] Setting model memory limit to 20 MB
[00:10:00]                   │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] Successfully set job state to [opened] for job [fq_multi_1_ae]
[00:10:00]                   │ debg Starting datafeed 'datafeed-fq_multi_1_se' with start: '0', end: '1607524878795'...
[00:10:00]                   │ info [o.e.x.m.d.DatafeedJob] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] Datafeed started (from: 1970-01-01T00:00:00.000Z to: 2020-12-09T14:41:18.795Z) with frequency [600000ms]
[00:10:00]                   │ debg Waiting up to 120000ms for datafeed state to be stopped...
[00:10:00]                   │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_se
[00:10:00]                   │ debg --- retry.waitForWithTimeout error: expected job state to be stopped but got started
[00:10:00]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [.ml-anomalies-shared/j0L-1N2jQD-Kwix-STpSOw] update_mapping [_doc]
[00:10:00]                   │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] 10000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:10:01]                   │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_se
[00:10:01]                   │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:10:01]                   │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] 20000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:10:01]                   │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] 30000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:10:01]                   │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_se
[00:10:01]                   │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:10:01]                   │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] 40000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:10:02]                   │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_se
[00:10:02]                   │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:10:02]                   │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] 50000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:10:02]                   │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_se
[00:10:02]                   │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:10:02]                   │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] 60000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:10:03]                   │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_se
[00:10:03]                   │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:10:03]                   │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] 70000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:10:03]                   │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] 80000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:10:03]                   │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_se
[00:10:03]                   │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:10:04]                   │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_se
[00:10:04]                   │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:10:04]                   │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_se
[00:10:04]                   │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:10:05]                   │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_se
[00:10:05]                   │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:10:05]                   │ info [o.e.x.m.d.DatafeedJob] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] Lookback has finished
[00:10:05]                   │ info [o.e.x.m.d.DatafeedManager] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [no_realtime] attempt to stop datafeed [datafeed-fq_multi_1_se] for job [fq_multi_1_ae]
[00:10:05]                   │ info [o.e.x.m.d.DatafeedManager] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [no_realtime] try lock [20s] to stop datafeed [datafeed-fq_multi_1_se] for job [fq_multi_1_ae]...
[00:10:05]                   │ info [o.e.x.m.d.DatafeedManager] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [no_realtime] stopping datafeed [datafeed-fq_multi_1_se] for job [fq_multi_1_ae], acquired [true]...
[00:10:05]                   │ info [o.e.x.m.d.DatafeedManager] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [no_realtime] datafeed [datafeed-fq_multi_1_se] for job [fq_multi_1_ae] has been stopped
[00:10:05]                   │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_se
[00:10:05]                   │ debg Waiting up to 120000ms for job state to be closed...
[00:10:05]                   │ debg Fetching anomaly detection job stats for job fq_multi_1_ae...
[00:10:05]                   │ debg --- retry.waitForWithTimeout error: expected job state to be closed but got opened
[00:10:05]                   │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] Closing job [fq_multi_1_ae], because [close job (api)]
[00:10:05]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] [autodetect/297178] [CCmdSkeleton.cc@51] Handled 86274 records
[00:10:05]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] [autodetect/297178] [CAnomalyJob.cc@1569] Pruning all models
[00:10:05]                   │ info [o.e.x.m.p.AbstractNativeProcess] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] State output finished
[00:10:05]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [.ml-anomalies-shared/j0L-1N2jQD-Kwix-STpSOw] update_mapping [_doc]
[00:10:05]                   │ info [o.e.x.m.j.p.a.o.AutodetectResultProcessor] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] 120 buckets parsed from autodetect output
[00:10:06]                   │ debg Fetching anomaly detection job stats for job fq_multi_1_ae...
[00:10:06]                   │ debg --- retry.waitForWithTimeout error: expected job state to be closed but got closing
[00:10:06]                   │ debg Fetching anomaly detection job stats for job fq_multi_1_ae...
[00:10:06]                   │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:10:06]                   │ info [o.e.x.m.j.p.a.AutodetectCommunicator] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] job closed
[00:10:07]                   │ debg Fetching anomaly detection job stats for job fq_multi_1_ae...
[00:10:07]                 └-> should fetch anomalies table data
[00:10:07]                   └-> "before each" hook: global before each
[00:10:07]                   └- ✖ fail: apis Machine Learning ResultsService GetAnomaliesTableData should fetch anomalies table data
[00:10:07]                   │       Error: expected 13 to sort of equal 12
[00:10:07]                   │       + expected - actual
[00:10:07]                   │ 
[00:10:07]                   │       -13
[00:10:07]                   │       +12
[00:10:07]                   │       
[00:10:07]                   │       at Assertion.assert (/dev/shm/workspace/parallel/21/kibana/packages/kbn-expect/expect.js:100:11)
[00:10:07]                   │       at Assertion.eql (/dev/shm/workspace/parallel/21/kibana/packages/kbn-expect/expect.js:244:8)
[00:10:07]                   │       at Context.<anonymous> (test/api_integration/apis/ml/results/get_anomalies_table_data.ts:79:40)
[00:10:07]                   │       at Object.apply (/dev/shm/workspace/parallel/21/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)
[00:10:07]                   │ 
[00:10:07]                   │ 

Stack Trace

Error: expected 13 to sort of equal 12
    at Assertion.assert (/dev/shm/workspace/parallel/21/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/21/kibana/packages/kbn-expect/expect.js:244:8)
    at Context.<anonymous> (test/api_integration/apis/ml/results/get_anomalies_table_data.ts:79:40)
    at Object.apply (/dev/shm/workspace/parallel/21/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16) {
  actual: '13',
  expected: '12',
  showDiff: true
}

X-Pack API Integration Tests.x-pack/test/api_integration/apis/ml/results/get_anomalies_table_data·ts.apis Machine Learning ResultsService GetAnomaliesTableData should fetch anomalies table data

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches

[00:00:00]       │
[00:00:00]         └-: apis
[00:00:00]           └-> "before all" hook
[00:06:57]           └-: Machine Learning
[00:06:57]             └-> "before all" hook
[00:06:57]             └-> "before all" hook
[00:06:57]               │ debg creating role ft_ml_source
[00:06:57]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] added role [ft_ml_source]
[00:06:57]               │ debg creating role ft_ml_source_readonly
[00:06:57]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] added role [ft_ml_source_readonly]
[00:06:57]               │ debg creating role ft_ml_dest
[00:06:57]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] added role [ft_ml_dest]
[00:06:57]               │ debg creating role ft_ml_dest_readonly
[00:06:57]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] added role [ft_ml_dest_readonly]
[00:06:57]               │ debg creating role ft_ml_ui_extras
[00:06:57]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] added role [ft_ml_ui_extras]
[00:06:57]               │ debg creating role ft_default_space_ml_all
[00:06:57]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] added role [ft_default_space_ml_all]
[00:06:57]               │ debg creating role ft_default_space_ml_read
[00:06:57]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] added role [ft_default_space_ml_read]
[00:06:57]               │ debg creating role ft_default_space_ml_none
[00:06:57]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] added role [ft_default_space_ml_none]
[00:06:57]               │ debg creating user ft_ml_poweruser
[00:06:57]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] added user [ft_ml_poweruser]
[00:06:57]               │ debg created user ft_ml_poweruser
[00:06:57]               │ debg creating user ft_ml_poweruser_spaces
[00:06:57]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] added user [ft_ml_poweruser_spaces]
[00:06:57]               │ debg created user ft_ml_poweruser_spaces
[00:06:57]               │ debg creating user ft_ml_viewer
[00:06:57]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] added user [ft_ml_viewer]
[00:06:57]               │ debg created user ft_ml_viewer
[00:06:57]               │ debg creating user ft_ml_viewer_spaces
[00:06:57]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] added user [ft_ml_viewer_spaces]
[00:06:57]               │ debg created user ft_ml_viewer_spaces
[00:06:57]               │ debg creating user ft_ml_unauthorized
[00:06:58]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] added user [ft_ml_unauthorized]
[00:06:58]               │ debg created user ft_ml_unauthorized
[00:06:58]               │ debg creating user ft_ml_unauthorized_spaces
[00:06:58]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] added user [ft_ml_unauthorized_spaces]
[00:06:58]               │ debg created user ft_ml_unauthorized_spaces
[00:09:48]             └-: ResultsService
[00:09:48]               └-> "before all" hook
[00:09:48]               └-: GetAnomaliesTableData
[00:09:48]                 └-> "before all" hook
[00:09:48]                 └-> "before all" hook
[00:09:48]                   │ info [ml/farequote] Loading "mappings.json"
[00:09:48]                   │ info [ml/farequote] Loading "data.json.gz"
[00:09:48]                   │ info [ml/farequote] Skipped restore for existing index "ft_farequote"
[00:09:48]                   │ debg applying update to kibana config: {"dateFormat:tz":"UTC"}
[00:09:49]                   │ debg Creating anomaly detection job with id 'fq_multi_1_ae'...
[00:09:49]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [.ml-anomalies-shared] creating index, cause [api], templates [.ml-anomalies-], shards [1]/[1]
[00:09:49]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] updating number_of_replicas to [0] for indices [.ml-anomalies-shared]
[00:09:49]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [.ml-annotations-6] creating index, cause [api], templates [], shards [1]/[1]
[00:09:49]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] updating number_of_replicas to [0] for indices [.ml-annotations-6]
[00:09:50]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [.ml-anomalies-shared/h8rXlkPXTGaoUzYa9a7ZMw] update_mapping [_doc]
[00:09:50]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [.ml-config] creating index, cause [auto(bulk api)], templates [.ml-config], shards [1]/[1]
[00:09:50]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] updating number_of_replicas to [0] for indices [.ml-config]
[00:09:50]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [.ml-notifications-000001] creating index, cause [auto(bulk api)], templates [.ml-notifications-000001], shards [1]/[1]
[00:09:50]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] updating number_of_replicas to [0] for indices [.ml-notifications-000001]
[00:09:50]                   │ debg Waiting up to 5000ms for 'fq_multi_1_ae' to exist...
[00:09:50]                   │ debg Creating datafeed with id 'datafeed-fq_multi_1_se'...
[00:09:51]                   │ debg Waiting up to 5000ms for 'datafeed-fq_multi_1_se' to exist...
[00:09:51]                   │ debg Opening anomaly detection job 'fq_multi_1_ae'...
[00:09:51]                   │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] Opening job [fq_multi_1_ae]
[00:09:51]                   │ info [o.e.x.c.m.u.MlIndexAndAlias] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] About to create first concrete index [.ml-state-000001] with alias [.ml-state-write]
[00:09:51]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [.ml-state-000001] creating index, cause [api], templates [.ml-state], shards [1]/[1]
[00:09:51]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] updating number_of_replicas to [0] for indices [.ml-state-000001]
[00:09:52]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] moving index [.ml-state-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [ml-size-based-ilm-policy]
[00:09:52]                   │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] Loading model snapshot [N/A], job latest_record_timestamp [N/A]
[00:09:52]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] moving index [.ml-state-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] in policy [ml-size-based-ilm-policy]
[00:09:52]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] moving index [.ml-state-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] in policy [ml-size-based-ilm-policy]
[00:09:52]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] [autodetect/197178] [CResourceMonitor.cc@74] Setting model memory limit to 20 MB
[00:09:52]                   │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] Successfully set job state to [opened] for job [fq_multi_1_ae]
[00:09:52]                   │ debg Starting datafeed 'datafeed-fq_multi_1_se' with start: '0', end: '1607523239642'...
[00:09:52]                   │ info [o.e.x.m.d.DatafeedJob] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] Datafeed started (from: 1970-01-01T00:00:00.000Z to: 2020-12-09T14:13:59.642Z) with frequency [600000ms]
[00:09:52]                   │ debg Waiting up to 120000ms for datafeed state to be stopped...
[00:09:52]                   │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_se
[00:09:52]                   │ debg --- retry.waitForWithTimeout error: expected job state to be stopped but got started
[00:09:52]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [.ml-anomalies-shared/h8rXlkPXTGaoUzYa9a7ZMw] update_mapping [_doc]
[00:09:52]                   │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] 10000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:09:52]                   │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_se
[00:09:53]                   │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:09:53]                   │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] 20000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:09:53]                   │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] 30000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:09:53]                   │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_se
[00:09:53]                   │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:09:53]                   │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] 40000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:09:54]                   │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_se
[00:09:54]                   │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:09:54]                   │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] 50000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:09:54]                   │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_se
[00:09:54]                   │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:09:54]                   │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] 60000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:09:55]                   │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_se
[00:09:55]                   │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:09:55]                   │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] 70000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:09:55]                   │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] 80000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:09:55]                   │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_se
[00:09:55]                   │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:09:56]                   │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_se
[00:09:56]                   │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:09:56]                   │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_se
[00:09:56]                   │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:09:57]                   │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_se
[00:09:57]                   │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:09:57]                   │ info [o.e.x.m.d.DatafeedJob] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] Lookback has finished
[00:09:57]                   │ info [o.e.x.m.d.DatafeedManager] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [no_realtime] attempt to stop datafeed [datafeed-fq_multi_1_se] for job [fq_multi_1_ae]
[00:09:57]                   │ info [o.e.x.m.d.DatafeedManager] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [no_realtime] try lock [20s] to stop datafeed [datafeed-fq_multi_1_se] for job [fq_multi_1_ae]...
[00:09:57]                   │ info [o.e.x.m.d.DatafeedManager] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [no_realtime] stopping datafeed [datafeed-fq_multi_1_se] for job [fq_multi_1_ae], acquired [true]...
[00:09:57]                   │ info [o.e.x.m.d.DatafeedManager] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [no_realtime] datafeed [datafeed-fq_multi_1_se] for job [fq_multi_1_ae] has been stopped
[00:09:57]                   │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_se
[00:09:57]                   │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:09:57]                   │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] Closing job [fq_multi_1_ae], because [close job (api)]
[00:09:57]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] [autodetect/197178] [CCmdSkeleton.cc@51] Handled 86274 records
[00:09:57]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] [autodetect/197178] [CAnomalyJob.cc@1569] Pruning all models
[00:09:57]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [.ml-anomalies-shared/h8rXlkPXTGaoUzYa9a7ZMw] update_mapping [_doc]
[00:09:57]                   │ info [o.e.x.m.p.AbstractNativeProcess] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] State output finished
[00:09:57]                   │ info [o.e.x.m.j.p.a.o.AutodetectResultProcessor] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] 120 buckets parsed from autodetect output
[00:09:58]                   │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_se
[00:09:58]                   │ debg Waiting up to 120000ms for job state to be closed...
[00:09:58]                   │ debg Fetching anomaly detection job stats for job fq_multi_1_ae...
[00:09:58]                   │ debg --- retry.waitForWithTimeout error: expected job state to be closed but got closing
[00:09:58]                   │ debg Fetching anomaly detection job stats for job fq_multi_1_ae...
[00:09:58]                   │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:09:58]                   │ info [o.e.x.m.j.p.a.AutodetectCommunicator] [kibana-ci-immutable-ubuntu-18-tests-xxl-1607519800081334305] [fq_multi_1_ae] job closed
[00:09:59]                   │ debg Fetching anomaly detection job stats for job fq_multi_1_ae...
[00:09:59]                 └-> should fetch anomalies table data
[00:09:59]                   └-> "before each" hook: global before each
[00:09:59]                   └- ✖ fail: apis Machine Learning ResultsService GetAnomaliesTableData should fetch anomalies table data
[00:09:59]                   │       Error: expected 13 to sort of equal 12
[00:09:59]                   │       + expected - actual
[00:09:59]                   │ 
[00:09:59]                   │       -13
[00:09:59]                   │       +12
[00:09:59]                   │       
[00:09:59]                   │       at Assertion.assert (/dev/shm/workspace/parallel/21/kibana/packages/kbn-expect/expect.js:100:11)
[00:09:59]                   │       at Assertion.eql (/dev/shm/workspace/parallel/21/kibana/packages/kbn-expect/expect.js:244:8)
[00:09:59]                   │       at Context.<anonymous> (test/api_integration/apis/ml/results/get_anomalies_table_data.ts:79:40)
[00:09:59]                   │       at Object.apply (/dev/shm/workspace/parallel/21/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)
[00:09:59]                   │ 
[00:09:59]                   │ 

Stack Trace

Error: expected 13 to sort of equal 12
    at Assertion.assert (/dev/shm/workspace/parallel/21/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/21/kibana/packages/kbn-expect/expect.js:244:8)
    at Context.<anonymous> (test/api_integration/apis/ml/results/get_anomalies_table_data.ts:79:40)
    at Object.apply (/dev/shm/workspace/parallel/21/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16) {
  actual: '13',
  expected: '12',
  showDiff: true
}

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore release_note:plugin_api_changes Contains a Plugin API changes section for the breaking plugin API changes section. Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! v7.11.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants