Skip to content

[7.x] [APM] Update ML job ID in data telemetry tasks (#71044)#71185

Merged
smith merged 1 commit intoelastic:7.xfrom
smith:backport/7.x/pr-71044
Jul 9, 2020
Merged

[7.x] [APM] Update ML job ID in data telemetry tasks (#71044)#71185
smith merged 1 commit intoelastic:7.xfrom
smith:backport/7.x/pr-71044

Conversation

@smith
Copy link
Copy Markdown
Contributor

@smith smith commented Jul 9, 2020

Backports the following commits to 7.x:

* [APM] Update ML job ID in data telemetry tasks

Use "apm-*" to match the new job IDs added in elastic#70560.

* additional fix

* Remove unused import
@smith smith added the backport This PR is a backport of another PR label Jul 9, 2020
@kibanamachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-xpack-agent / X-Pack Reporting API Integration Tests.x-pack/test/reporting_api_integration/reporting/csv_saved_search·ts.Reporting APIs Generation from Saved Search ID Merge user state into the query for query

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: Reporting APIs
[00:00:00]           └-> "before all" hook
[00:01:15]           └-: Generation from Saved Search ID
[00:01:15]             └-> "before all" hook
[00:01:58]             └-: Merge user state into the query
[00:01:58]               └-> "before all" hook
[00:01:58]               └-> for query
[00:01:58]                 └-> "before each" hook: global before each
[00:01:58]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594256535524618403] [.kibana] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:01:58]                 │ info [reporting/scripted_small] Loading "mappings.json"
[00:01:58]                 │ info [reporting/scripted_small] Loading "data.json.gz"
[00:01:58]                 └- ✖ fail: "Reporting APIs Generation from Saved Search ID Merge user state into the query for query"
[00:01:58]                 │

Stack Trace

{ Error: [invalid_alias_name_exception] Invalid alias name [.kibana], an index exists with the same name as the alias, with { index_uuid="jhMqH5OfS6-AXtkffaeknQ" & index=".kibana" }
    at respond (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:349:15)
    at checkRespForFailure (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:306:7)
    at HttpConnector.<anonymous> (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
    at IncomingMessage.wrapper (/dev/shm/workspace/kibana/node_modules/lodash/lodash.js:4929:19)
    at endReadableNT (_stream_readable.js:1145:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
  status: 400,
  displayName: 'BadRequest',
  message:
   '[invalid_alias_name_exception] Invalid alias name [.kibana], an index exists with the same name as the alias, with { index_uuid="jhMqH5OfS6-AXtkffaeknQ" & index=".kibana" }',
  path: '/.kibana_1',
  query: { include_type_name: false },
  body:
   { error:
      { root_cause: [Array],
        type: 'invalid_alias_name_exception',
        reason:
         'Invalid alias name [.kibana], an index exists with the same name as the alias',
        index_uuid: 'jhMqH5OfS6-AXtkffaeknQ',
        index: '.kibana' },
     status: 400 },
  statusCode: 400,
  response:
   '{"error":{"root_cause":[{"type":"invalid_alias_name_exception","reason":"Invalid alias name [.kibana], an index exists with the same name as the alias","index_uuid":"jhMqH5OfS6-AXtkffaeknQ","index":".kibana"}],"type":"invalid_alias_name_exception","reason":"Invalid alias name [.kibana], an index exists with the same name as the alias","index_uuid":"jhMqH5OfS6-AXtkffaeknQ","index":".kibana"},"status":400}',
  toString: [Function],
  toJSON: [Function] }

Build metrics

✅ unchanged

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

@smith smith merged commit 014dce0 into elastic:7.x Jul 9, 2020
@smith smith deleted the backport/7.x/pr-71044 branch July 9, 2020 05:19
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