Skip to content

Conversation

@cauemarcondes
Copy link
Contributor

Backports the following commits to 7.x:

cauemarcondes and others added 2 commits September 11, 2020 07:49
…hart (elastic#75528)

* replacing error rate to use event.outcome field

* addressing PR comment

* fixing api test

* fixing API test

* fixing api tests

* rmeoving snapshot from api test

* testing error rate

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/apm/common/__snapshots__/elasticsearch_fieldnames.test.ts.snap
* removing ml-state index from archive

* removing archiver

* removing archiver

* adding archiver with ml anomalies

* fixing test
# Conflicts:
#	x-pack/test/apm_api_integration/common/fixtures/es_archiver/apm_8.0.0/data.json.gz
#	x-pack/test/apm_api_integration/trial/archives_metadata.ts
#	x-pack/test/apm_api_integration/trial/fixtures/es_archiver/ml_8.0.0/data.json.gz
#	x-pack/test/apm_api_integration/trial/fixtures/es_archiver/ml_8.0.0/mappings.json
@cauemarcondes cauemarcondes added the backport This PR is a backport of another PR label Sep 11, 2020
@kibanamachine
Copy link
Contributor

💔 Build Failed

Failed CI Steps


Test Failures

X-Pack APM API integration tests (trial).x-pack/test/apm_api_integration/trial/tests/service_maps/service_maps·ts.APM specs (trial) Service Maps Service Maps with a trial license when there is data with anomalies returns service map elements

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: APM specs (trial)
[00:00:00]           └-> "before all" hook
[00:00:18]           └-: Service Maps
[00:00:18]             └-> "before all" hook
[00:00:18]             └-: Service Maps with a trial license
[00:00:18]               └-> "before all" hook
[00:00:20]               └-: when there is data with anomalies
[00:00:20]                 └-> "before all" hook
[00:00:20]                 └-> "before all" hook
[00:00:20]                   │ info [apm_8.0.0] Loading "mappings.json"
[00:00:20]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [.ml-anomalies-shared/PPxRRsUAQa-PuuuAVsDkqQ] deleting index
[00:00:20]                   │ info [apm_8.0.0] Loading "data.json.gz"
[00:00:20]                   │ info [apm_8.0.0] Deleted existing index ".ml-anomalies-shared"
[00:00:20]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [.ml-anomalies-shared] creating index, cause [api], templates [.ml-anomalies-], shards [1]/[1]
[00:00:20]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] updating number_of_replicas to [0] for indices [.ml-anomalies-shared]
[00:00:20]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.ml-anomalies-shared][0]]]).
[00:00:20]                   │ info [apm_8.0.0] Created index ".ml-anomalies-shared"
[00:00:20]                   │ debg [apm_8.0.0] ".ml-anomalies-shared" settings {"index":{"auto_expand_replicas":"0-1","hidden":"true","number_of_replicas":"1","number_of_shards":"1","translog":{"durability":"async"}}}
[00:00:20]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [.ml-config/ldRxucMnRFOHb09F2zN6gg] deleting index
[00:00:20]                   │ info [apm_8.0.0] Deleted existing index ".ml-config"
[00:00:20]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [.ml-config] creating index, cause [api], templates [.ml-config], shards [1]/[1]
[00:00:20]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] updating number_of_replicas to [0] for indices [.ml-config]
[00:00:20]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.ml-config][0]]]).
[00:00:20]                   │ info [apm_8.0.0] Created index ".ml-config"
[00:00:20]                   │ debg [apm_8.0.0] ".ml-config" settings {"index":{"auto_expand_replicas":"0-1","max_result_window":"10000","number_of_replicas":"1","number_of_shards":"1"}}
[00:00:20]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [apm-8.0.0-error-000001] creating index, cause [api], templates [], shards [1]/[0]
[00:00:20]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[apm-8.0.0-error-000001][0]]]).
[00:00:20]                   │ info [apm_8.0.0] Created index "apm-8.0.0-error-000001"
[00:00:20]                   │ debg [apm_8.0.0] "apm-8.0.0-error-000001" settings {"index":{"auto_expand_replicas":"false","codec":"best_compression","lifecycle":{"indexing_complete":"true","name":"apm-rollover-30-days","rollover_alias":"apm-8.0.0-error"},"mapping":{"total_fields":{"limit":"2000"}},"number_of_replicas":"0","number_of_shards":"1","priority":"50","refresh_interval":"5s"}}
[00:00:20]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [apm-8.0.0-error-000002] creating index, cause [api], templates [], shards [1]/[0]
[00:00:20]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[apm-8.0.0-error-000002][0]]]).
[00:00:20]                   │ info [apm_8.0.0] Created index "apm-8.0.0-error-000002"
[00:00:20]                   │ debg [apm_8.0.0] "apm-8.0.0-error-000002" settings {"index":{"auto_expand_replicas":"false","codec":"best_compression","lifecycle":{"indexing_complete":"true","name":"apm-rollover-30-days","rollover_alias":"apm-8.0.0-error"},"mapping":{"total_fields":{"limit":"2000"}},"number_of_replicas":"0","number_of_shards":"1","priority":"50","refresh_interval":"5s"}}
[00:00:20]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [apm-8.0.0-error-2020.07.31-000001] creating index, cause [api], templates [], shards [1]/[1]
[00:00:20]                   │ info [apm_8.0.0] Created index "apm-8.0.0-error-2020.07.31-000001"
[00:00:20]                   │ debg [apm_8.0.0] "apm-8.0.0-error-2020.07.31-000001" settings {"index":{"codec":"best_compression","lifecycle":{"indexing_complete":"true","name":"apm-rollover-30-days","rollover_alias":"apm-8.0.0-error"},"mapping":{"total_fields":{"limit":"2000"}},"number_of_replicas":"1","number_of_shards":"1","priority":"100","refresh_interval":"5s"}}
[00:00:20]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [apm-8.0.0-error-2020.07.31-000002] creating index, cause [api], templates [], shards [1]/[1]
[00:00:21]                   │ info [apm_8.0.0] Created index "apm-8.0.0-error-2020.07.31-000002"
[00:00:21]                   │ debg [apm_8.0.0] "apm-8.0.0-error-2020.07.31-000002" settings {"index":{"codec":"best_compression","lifecycle":{"name":"apm-rollover-30-days","rollover_alias":"apm-8.0.0-error"},"mapping":{"total_fields":{"limit":"2000"}},"number_of_replicas":"1","number_of_shards":"1","priority":"100","refresh_interval":"5s"}}
[00:00:21]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [apm-8.0.0-metric-000001] creating index, cause [api], templates [], shards [1]/[0]
[00:00:21]                   │ info [apm_8.0.0] Created index "apm-8.0.0-metric-000001"
[00:00:21]                   │ debg [apm_8.0.0] "apm-8.0.0-metric-000001" settings {"index":{"auto_expand_replicas":"false","codec":"best_compression","lifecycle":{"indexing_complete":"true","name":"apm-rollover-30-days","rollover_alias":"apm-8.0.0-metric"},"mapping":{"total_fields":{"limit":"2000"}},"number_of_replicas":"0","number_of_shards":"1","priority":"50","refresh_interval":"5s"}}
[00:00:21]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [apm-8.0.0-metric-000002] creating index, cause [api], templates [], shards [1]/[0]
[00:00:21]                   │ info [apm_8.0.0] Created index "apm-8.0.0-metric-000002"
[00:00:21]                   │ debg [apm_8.0.0] "apm-8.0.0-metric-000002" settings {"index":{"auto_expand_replicas":"false","codec":"best_compression","lifecycle":{"indexing_complete":"true","name":"apm-rollover-30-days","rollover_alias":"apm-8.0.0-metric"},"mapping":{"total_fields":{"limit":"2000"}},"number_of_replicas":"0","number_of_shards":"1","priority":"50","refresh_interval":"5s"}}
[00:00:21]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [apm-8.0.0-metric-2020.07.31-000001] creating index, cause [api], templates [], shards [1]/[1]
[00:00:21]                   │ info [apm_8.0.0] Created index "apm-8.0.0-metric-2020.07.31-000001"
[00:00:21]                   │ debg [apm_8.0.0] "apm-8.0.0-metric-2020.07.31-000001" settings {"index":{"codec":"best_compression","lifecycle":{"indexing_complete":"true","name":"apm-rollover-30-days","rollover_alias":"apm-8.0.0-metric"},"mapping":{"total_fields":{"limit":"2000"}},"number_of_replicas":"1","number_of_shards":"1","priority":"100","refresh_interval":"5s"}}
[00:00:21]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [apm-8.0.0-metric-2020.07.31-000002] creating index, cause [api], templates [], shards [1]/[1]
[00:00:21]                   │ info [apm_8.0.0] Created index "apm-8.0.0-metric-2020.07.31-000002"
[00:00:21]                   │ debg [apm_8.0.0] "apm-8.0.0-metric-2020.07.31-000002" settings {"index":{"codec":"best_compression","lifecycle":{"name":"apm-rollover-30-days","rollover_alias":"apm-8.0.0-metric"},"mapping":{"total_fields":{"limit":"2000"}},"number_of_replicas":"1","number_of_shards":"1","priority":"100","refresh_interval":"5s"}}
[00:00:21]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [apm-8.0.0-span-000001] creating index, cause [api], templates [], shards [1]/[0]
[00:00:21]                   │ info [apm_8.0.0] Created index "apm-8.0.0-span-000001"
[00:00:21]                   │ debg [apm_8.0.0] "apm-8.0.0-span-000001" settings {"index":{"auto_expand_replicas":"false","codec":"best_compression","lifecycle":{"indexing_complete":"true","name":"apm-rollover-30-days","rollover_alias":"apm-8.0.0-span"},"mapping":{"total_fields":{"limit":"2000"}},"number_of_replicas":"0","number_of_shards":"1","priority":"50","refresh_interval":"5s"}}
[00:00:21]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [apm-8.0.0-span-000002] creating index, cause [api], templates [], shards [1]/[0]
[00:00:21]                   │ info [apm_8.0.0] Created index "apm-8.0.0-span-000002"
[00:00:21]                   │ debg [apm_8.0.0] "apm-8.0.0-span-000002" settings {"index":{"auto_expand_replicas":"false","codec":"best_compression","lifecycle":{"indexing_complete":"true","name":"apm-rollover-30-days","rollover_alias":"apm-8.0.0-span"},"mapping":{"total_fields":{"limit":"2000"}},"number_of_replicas":"0","number_of_shards":"1","priority":"50","refresh_interval":"5s"}}
[00:00:21]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [apm-8.0.0-span-2020.07.31-000001] creating index, cause [api], templates [], shards [1]/[1]
[00:00:21]                   │ info [apm_8.0.0] Created index "apm-8.0.0-span-2020.07.31-000001"
[00:00:21]                   │ debg [apm_8.0.0] "apm-8.0.0-span-2020.07.31-000001" settings {"index":{"codec":"best_compression","lifecycle":{"indexing_complete":"true","name":"apm-rollover-30-days","rollover_alias":"apm-8.0.0-span"},"mapping":{"total_fields":{"limit":"2000"}},"number_of_replicas":"1","number_of_shards":"1","priority":"100","refresh_interval":"5s"}}
[00:00:21]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [apm-8.0.0-span-2020.07.31-000002] creating index, cause [api], templates [], shards [1]/[1]
[00:00:21]                   │ info [apm_8.0.0] Created index "apm-8.0.0-span-2020.07.31-000002"
[00:00:21]                   │ debg [apm_8.0.0] "apm-8.0.0-span-2020.07.31-000002" settings {"index":{"codec":"best_compression","lifecycle":{"name":"apm-rollover-30-days","rollover_alias":"apm-8.0.0-span"},"mapping":{"total_fields":{"limit":"2000"}},"number_of_replicas":"1","number_of_shards":"1","priority":"100","refresh_interval":"5s"}}
[00:00:21]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [apm-8.0.0-transaction-000001] creating index, cause [api], templates [], shards [1]/[0]
[00:00:21]                   │ info [apm_8.0.0] Created index "apm-8.0.0-transaction-000001"
[00:00:21]                   │ debg [apm_8.0.0] "apm-8.0.0-transaction-000001" settings {"index":{"auto_expand_replicas":"false","codec":"best_compression","lifecycle":{"indexing_complete":"true","name":"apm-rollover-30-days","rollover_alias":"apm-8.0.0-transaction"},"mapping":{"total_fields":{"limit":"2000"}},"number_of_replicas":"0","number_of_shards":"1","priority":"50","refresh_interval":"5s"}}
[00:00:21]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [apm-8.0.0-transaction-000002] creating index, cause [api], templates [], shards [1]/[0]
[00:00:21]                   │ info [apm_8.0.0] Created index "apm-8.0.0-transaction-000002"
[00:00:21]                   │ debg [apm_8.0.0] "apm-8.0.0-transaction-000002" settings {"index":{"auto_expand_replicas":"false","codec":"best_compression","lifecycle":{"indexing_complete":"true","name":"apm-rollover-30-days","rollover_alias":"apm-8.0.0-transaction"},"mapping":{"total_fields":{"limit":"2000"}},"number_of_replicas":"0","number_of_shards":"1","priority":"50","refresh_interval":"5s"}}
[00:00:21]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [apm-8.0.0-transaction-2020.07.31-000001] creating index, cause [api], templates [], shards [1]/[1]
[00:00:22]                   │ info [apm_8.0.0] Created index "apm-8.0.0-transaction-2020.07.31-000001"
[00:00:22]                   │ debg [apm_8.0.0] "apm-8.0.0-transaction-2020.07.31-000001" settings {"index":{"codec":"best_compression","lifecycle":{"indexing_complete":"true","name":"apm-rollover-30-days","rollover_alias":"apm-8.0.0-transaction"},"mapping":{"total_fields":{"limit":"2000"}},"number_of_replicas":"1","number_of_shards":"1","priority":"100","refresh_interval":"5s"}}
[00:00:22]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [apm-8.0.0-transaction-2020.07.31-000002] creating index, cause [api], templates [], shards [1]/[1]
[00:00:22]                   │ info [apm_8.0.0] Created index "apm-8.0.0-transaction-2020.07.31-000002"
[00:00:22]                   │ debg [apm_8.0.0] "apm-8.0.0-transaction-2020.07.31-000002" settings {"index":{"codec":"best_compression","lifecycle":{"name":"apm-rollover-30-days","rollover_alias":"apm-8.0.0-transaction"},"mapping":{"total_fields":{"limit":"2000"}},"number_of_replicas":"1","number_of_shards":"1","priority":"100","refresh_interval":"5s"}}
[00:00:25]                   │ info [apm_8.0.0] Indexed 206 docs into ".ml-anomalies-shared"
[00:00:25]                   │ info [apm_8.0.0] Indexed 16 docs into ".ml-config"
[00:00:25]                   │ info [apm_8.0.0] Indexed 222 docs into "apm-8.0.0-error-2020.07.31-000002"
[00:00:25]                   │ info [apm_8.0.0] Indexed 5089 docs into "apm-8.0.0-metric-2020.07.31-000002"
[00:00:25]                   │ info [apm_8.0.0] Indexed 2419 docs into "apm-8.0.0-span-2020.07.31-000002"
[00:00:25]                   │ info [apm_8.0.0] Indexed 963 docs into "apm-8.0.0-transaction-2020.07.31-000002"
[00:00:25]                 └-> returns service map elements
[00:00:25]                   └-> "before each" hook: global before each
[00:00:25]                   └- ✖ fail: APM specs (trial) Service Maps Service Maps with a trial license when there is data with anomalies returns service map elements
[00:00:25]                   │      Error: expected [] to not be empty
[00:00:25]                   │       at Assertion.assert (/dev/shm/workspace/parallel/8/kibana/packages/kbn-expect/expect.js:100:11)
[00:00:25]                   │       at Assertion.empty (/dev/shm/workspace/parallel/8/kibana/packages/kbn-expect/expect.js:209:8)
[00:00:25]                   │       at Context.it (test/apm_api_integration/trial/tests/service_maps/service_maps.ts:304:42)
[00:00:25]                   │ 
[00:00:25]                   │ 

Stack Trace

Error: expected [] to not be empty
    at Assertion.assert (/dev/shm/workspace/parallel/8/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.empty (/dev/shm/workspace/parallel/8/kibana/packages/kbn-expect/expect.js:209:8)
    at Context.it (test/apm_api_integration/trial/tests/service_maps/service_maps.ts:304:42)

X-Pack APM API integration tests (trial).x-pack/test/apm_api_integration/trial/tests/service_maps/service_maps·ts.APM specs (trial) Service Maps Service Maps with a trial license when there is data with anomalies returns service map elements

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: APM specs (trial)
[00:00:00]           └-> "before all" hook
[00:00:19]           └-: Service Maps
[00:00:19]             └-> "before all" hook
[00:00:19]             └-: Service Maps with a trial license
[00:00:19]               └-> "before all" hook
[00:00:21]               └-: when there is data with anomalies
[00:00:21]                 └-> "before all" hook
[00:00:21]                 └-> "before all" hook
[00:00:21]                   │ info [apm_8.0.0] Loading "mappings.json"
[00:00:21]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [.ml-anomalies-shared/8WkYhNnuT66NK1RAPlc7rQ] deleting index
[00:00:21]                   │ info [apm_8.0.0] Loading "data.json.gz"
[00:00:21]                   │ info [apm_8.0.0] Deleted existing index ".ml-anomalies-shared"
[00:00:21]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [.ml-anomalies-shared] creating index, cause [api], templates [.ml-anomalies-], shards [1]/[1]
[00:00:21]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] updating number_of_replicas to [0] for indices [.ml-anomalies-shared]
[00:00:21]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.ml-anomalies-shared][0]]]).
[00:00:21]                   │ info [apm_8.0.0] Created index ".ml-anomalies-shared"
[00:00:21]                   │ debg [apm_8.0.0] ".ml-anomalies-shared" settings {"index":{"auto_expand_replicas":"0-1","hidden":"true","number_of_replicas":"1","number_of_shards":"1","translog":{"durability":"async"}}}
[00:00:21]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [.ml-config/gRFkFPlXSO60A_Kq0W1ibg] deleting index
[00:00:21]                   │ info [apm_8.0.0] Deleted existing index ".ml-config"
[00:00:21]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [.ml-config] creating index, cause [api], templates [.ml-config], shards [1]/[1]
[00:00:21]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] updating number_of_replicas to [0] for indices [.ml-config]
[00:00:21]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.ml-config][0]]]).
[00:00:21]                   │ info [apm_8.0.0] Created index ".ml-config"
[00:00:21]                   │ debg [apm_8.0.0] ".ml-config" settings {"index":{"auto_expand_replicas":"0-1","max_result_window":"10000","number_of_replicas":"1","number_of_shards":"1"}}
[00:00:21]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [apm-8.0.0-error-000001] creating index, cause [api], templates [], shards [1]/[0]
[00:00:21]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[apm-8.0.0-error-000001][0]]]).
[00:00:21]                   │ info [apm_8.0.0] Created index "apm-8.0.0-error-000001"
[00:00:21]                   │ debg [apm_8.0.0] "apm-8.0.0-error-000001" settings {"index":{"auto_expand_replicas":"false","codec":"best_compression","lifecycle":{"indexing_complete":"true","name":"apm-rollover-30-days","rollover_alias":"apm-8.0.0-error"},"mapping":{"total_fields":{"limit":"2000"}},"number_of_replicas":"0","number_of_shards":"1","priority":"50","refresh_interval":"5s"}}
[00:00:21]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [apm-8.0.0-error-000002] creating index, cause [api], templates [], shards [1]/[0]
[00:00:21]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[apm-8.0.0-error-000002][0]]]).
[00:00:21]                   │ info [apm_8.0.0] Created index "apm-8.0.0-error-000002"
[00:00:21]                   │ debg [apm_8.0.0] "apm-8.0.0-error-000002" settings {"index":{"auto_expand_replicas":"false","codec":"best_compression","lifecycle":{"indexing_complete":"true","name":"apm-rollover-30-days","rollover_alias":"apm-8.0.0-error"},"mapping":{"total_fields":{"limit":"2000"}},"number_of_replicas":"0","number_of_shards":"1","priority":"50","refresh_interval":"5s"}}
[00:00:21]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [apm-8.0.0-error-2020.07.31-000001] creating index, cause [api], templates [], shards [1]/[1]
[00:00:21]                   │ info [apm_8.0.0] Created index "apm-8.0.0-error-2020.07.31-000001"
[00:00:21]                   │ debg [apm_8.0.0] "apm-8.0.0-error-2020.07.31-000001" settings {"index":{"codec":"best_compression","lifecycle":{"indexing_complete":"true","name":"apm-rollover-30-days","rollover_alias":"apm-8.0.0-error"},"mapping":{"total_fields":{"limit":"2000"}},"number_of_replicas":"1","number_of_shards":"1","priority":"100","refresh_interval":"5s"}}
[00:00:21]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [apm-8.0.0-error-2020.07.31-000002] creating index, cause [api], templates [], shards [1]/[1]
[00:00:21]                   │ info [apm_8.0.0] Created index "apm-8.0.0-error-2020.07.31-000002"
[00:00:21]                   │ debg [apm_8.0.0] "apm-8.0.0-error-2020.07.31-000002" settings {"index":{"codec":"best_compression","lifecycle":{"name":"apm-rollover-30-days","rollover_alias":"apm-8.0.0-error"},"mapping":{"total_fields":{"limit":"2000"}},"number_of_replicas":"1","number_of_shards":"1","priority":"100","refresh_interval":"5s"}}
[00:00:21]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [apm-8.0.0-metric-000001] creating index, cause [api], templates [], shards [1]/[0]
[00:00:21]                   │ info [apm_8.0.0] Created index "apm-8.0.0-metric-000001"
[00:00:21]                   │ debg [apm_8.0.0] "apm-8.0.0-metric-000001" settings {"index":{"auto_expand_replicas":"false","codec":"best_compression","lifecycle":{"indexing_complete":"true","name":"apm-rollover-30-days","rollover_alias":"apm-8.0.0-metric"},"mapping":{"total_fields":{"limit":"2000"}},"number_of_replicas":"0","number_of_shards":"1","priority":"50","refresh_interval":"5s"}}
[00:00:22]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [apm-8.0.0-metric-000002] creating index, cause [api], templates [], shards [1]/[0]
[00:00:22]                   │ info [apm_8.0.0] Created index "apm-8.0.0-metric-000002"
[00:00:22]                   │ debg [apm_8.0.0] "apm-8.0.0-metric-000002" settings {"index":{"auto_expand_replicas":"false","codec":"best_compression","lifecycle":{"indexing_complete":"true","name":"apm-rollover-30-days","rollover_alias":"apm-8.0.0-metric"},"mapping":{"total_fields":{"limit":"2000"}},"number_of_replicas":"0","number_of_shards":"1","priority":"50","refresh_interval":"5s"}}
[00:00:22]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [apm-8.0.0-metric-2020.07.31-000001] creating index, cause [api], templates [], shards [1]/[1]
[00:00:22]                   │ info [apm_8.0.0] Created index "apm-8.0.0-metric-2020.07.31-000001"
[00:00:22]                   │ debg [apm_8.0.0] "apm-8.0.0-metric-2020.07.31-000001" settings {"index":{"codec":"best_compression","lifecycle":{"indexing_complete":"true","name":"apm-rollover-30-days","rollover_alias":"apm-8.0.0-metric"},"mapping":{"total_fields":{"limit":"2000"}},"number_of_replicas":"1","number_of_shards":"1","priority":"100","refresh_interval":"5s"}}
[00:00:22]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [apm-8.0.0-metric-2020.07.31-000002] creating index, cause [api], templates [], shards [1]/[1]
[00:00:22]                   │ info [apm_8.0.0] Created index "apm-8.0.0-metric-2020.07.31-000002"
[00:00:22]                   │ debg [apm_8.0.0] "apm-8.0.0-metric-2020.07.31-000002" settings {"index":{"codec":"best_compression","lifecycle":{"name":"apm-rollover-30-days","rollover_alias":"apm-8.0.0-metric"},"mapping":{"total_fields":{"limit":"2000"}},"number_of_replicas":"1","number_of_shards":"1","priority":"100","refresh_interval":"5s"}}
[00:00:22]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [apm-8.0.0-span-000001] creating index, cause [api], templates [], shards [1]/[0]
[00:00:22]                   │ info [apm_8.0.0] Created index "apm-8.0.0-span-000001"
[00:00:22]                   │ debg [apm_8.0.0] "apm-8.0.0-span-000001" settings {"index":{"auto_expand_replicas":"false","codec":"best_compression","lifecycle":{"indexing_complete":"true","name":"apm-rollover-30-days","rollover_alias":"apm-8.0.0-span"},"mapping":{"total_fields":{"limit":"2000"}},"number_of_replicas":"0","number_of_shards":"1","priority":"50","refresh_interval":"5s"}}
[00:00:22]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [apm-8.0.0-span-000002] creating index, cause [api], templates [], shards [1]/[0]
[00:00:22]                   │ info [apm_8.0.0] Created index "apm-8.0.0-span-000002"
[00:00:22]                   │ debg [apm_8.0.0] "apm-8.0.0-span-000002" settings {"index":{"auto_expand_replicas":"false","codec":"best_compression","lifecycle":{"indexing_complete":"true","name":"apm-rollover-30-days","rollover_alias":"apm-8.0.0-span"},"mapping":{"total_fields":{"limit":"2000"}},"number_of_replicas":"0","number_of_shards":"1","priority":"50","refresh_interval":"5s"}}
[00:00:22]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [apm-8.0.0-span-2020.07.31-000001] creating index, cause [api], templates [], shards [1]/[1]
[00:00:22]                   │ info [apm_8.0.0] Created index "apm-8.0.0-span-2020.07.31-000001"
[00:00:22]                   │ debg [apm_8.0.0] "apm-8.0.0-span-2020.07.31-000001" settings {"index":{"codec":"best_compression","lifecycle":{"indexing_complete":"true","name":"apm-rollover-30-days","rollover_alias":"apm-8.0.0-span"},"mapping":{"total_fields":{"limit":"2000"}},"number_of_replicas":"1","number_of_shards":"1","priority":"100","refresh_interval":"5s"}}
[00:00:22]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [apm-8.0.0-span-2020.07.31-000002] creating index, cause [api], templates [], shards [1]/[1]
[00:00:22]                   │ info [apm_8.0.0] Created index "apm-8.0.0-span-2020.07.31-000002"
[00:00:22]                   │ debg [apm_8.0.0] "apm-8.0.0-span-2020.07.31-000002" settings {"index":{"codec":"best_compression","lifecycle":{"name":"apm-rollover-30-days","rollover_alias":"apm-8.0.0-span"},"mapping":{"total_fields":{"limit":"2000"}},"number_of_replicas":"1","number_of_shards":"1","priority":"100","refresh_interval":"5s"}}
[00:00:22]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [apm-8.0.0-transaction-000001] creating index, cause [api], templates [], shards [1]/[0]
[00:00:22]                   │ info [apm_8.0.0] Created index "apm-8.0.0-transaction-000001"
[00:00:22]                   │ debg [apm_8.0.0] "apm-8.0.0-transaction-000001" settings {"index":{"auto_expand_replicas":"false","codec":"best_compression","lifecycle":{"indexing_complete":"true","name":"apm-rollover-30-days","rollover_alias":"apm-8.0.0-transaction"},"mapping":{"total_fields":{"limit":"2000"}},"number_of_replicas":"0","number_of_shards":"1","priority":"50","refresh_interval":"5s"}}
[00:00:22]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [apm-8.0.0-transaction-000002] creating index, cause [api], templates [], shards [1]/[0]
[00:00:22]                   │ info [apm_8.0.0] Created index "apm-8.0.0-transaction-000002"
[00:00:22]                   │ debg [apm_8.0.0] "apm-8.0.0-transaction-000002" settings {"index":{"auto_expand_replicas":"false","codec":"best_compression","lifecycle":{"indexing_complete":"true","name":"apm-rollover-30-days","rollover_alias":"apm-8.0.0-transaction"},"mapping":{"total_fields":{"limit":"2000"}},"number_of_replicas":"0","number_of_shards":"1","priority":"50","refresh_interval":"5s"}}
[00:00:22]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [apm-8.0.0-transaction-2020.07.31-000001] creating index, cause [api], templates [], shards [1]/[1]
[00:00:23]                   │ info [apm_8.0.0] Created index "apm-8.0.0-transaction-2020.07.31-000001"
[00:00:23]                   │ debg [apm_8.0.0] "apm-8.0.0-transaction-2020.07.31-000001" settings {"index":{"codec":"best_compression","lifecycle":{"indexing_complete":"true","name":"apm-rollover-30-days","rollover_alias":"apm-8.0.0-transaction"},"mapping":{"total_fields":{"limit":"2000"}},"number_of_replicas":"1","number_of_shards":"1","priority":"100","refresh_interval":"5s"}}
[00:00:23]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1599804312554458906] [apm-8.0.0-transaction-2020.07.31-000002] creating index, cause [api], templates [], shards [1]/[1]
[00:00:23]                   │ info [apm_8.0.0] Created index "apm-8.0.0-transaction-2020.07.31-000002"
[00:00:23]                   │ debg [apm_8.0.0] "apm-8.0.0-transaction-2020.07.31-000002" settings {"index":{"codec":"best_compression","lifecycle":{"name":"apm-rollover-30-days","rollover_alias":"apm-8.0.0-transaction"},"mapping":{"total_fields":{"limit":"2000"}},"number_of_replicas":"1","number_of_shards":"1","priority":"100","refresh_interval":"5s"}}
[00:00:26]                   │ info [apm_8.0.0] Indexed 206 docs into ".ml-anomalies-shared"
[00:00:26]                   │ info [apm_8.0.0] Indexed 16 docs into ".ml-config"
[00:00:26]                   │ info [apm_8.0.0] Indexed 222 docs into "apm-8.0.0-error-2020.07.31-000002"
[00:00:26]                   │ info [apm_8.0.0] Indexed 5089 docs into "apm-8.0.0-metric-2020.07.31-000002"
[00:00:26]                   │ info [apm_8.0.0] Indexed 2419 docs into "apm-8.0.0-span-2020.07.31-000002"
[00:00:26]                   │ info [apm_8.0.0] Indexed 963 docs into "apm-8.0.0-transaction-2020.07.31-000002"
[00:00:26]                 └-> returns service map elements
[00:00:26]                   └-> "before each" hook: global before each
[00:00:27]                   └- ✖ fail: APM specs (trial) Service Maps Service Maps with a trial license when there is data with anomalies returns service map elements
[00:00:27]                   │      Error: expected [] to not be empty
[00:00:27]                   │       at Assertion.assert (/dev/shm/workspace/parallel/8/kibana/packages/kbn-expect/expect.js:100:11)
[00:00:27]                   │       at Assertion.empty (/dev/shm/workspace/parallel/8/kibana/packages/kbn-expect/expect.js:209:8)
[00:00:27]                   │       at Context.it (test/apm_api_integration/trial/tests/service_maps/service_maps.ts:304:42)
[00:00:27]                   │ 
[00:00:27]                   │ 

Stack Trace

Error: expected [] to not be empty
    at Assertion.assert (/dev/shm/workspace/parallel/8/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.empty (/dev/shm/workspace/parallel/8/kibana/packages/kbn-expect/expect.js:209:8)
    at Context.it (test/apm_api_integration/trial/tests/service_maps/service_maps.ts:304:42)

Build metrics

async chunks size

id value diff baseline
apm 4.9MB +34.0B 4.9MB

distributable file count

id value diff baseline
default 47220 +1 47219

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

@cauemarcondes cauemarcondes deleted the backport/7.x/pr-75528_pr-77143 branch September 13, 2020 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants