Skip to content

add short sleep before clicking Remove on sample data (#71104)#71872

Merged
LeeDr merged 1 commit intoelastic:7.xfrom
LeeDr:backport/7.x/pr-71104
Jul 15, 2020
Merged

add short sleep before clicking Remove on sample data (#71104)#71872
LeeDr merged 1 commit intoelastic:7.xfrom
LeeDr:backport/7.x/pr-71104

Conversation

@LeeDr
Copy link
Copy Markdown

@LeeDr LeeDr commented Jul 15, 2020

Backports the following commits to 7.x:

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@LeeDr LeeDr added the backport This PR is a backport of another PR label Jul 15, 2020
@LeeDr LeeDr changed the title [7.x] add short sleep before clicking Remove on sample data (#71104) add short sleep before clicking Remove on sample data (#71104) Jul 15, 2020
@LeeDr LeeDr merged commit ec103d9 into elastic:7.x Jul 15, 2020
@kibanamachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/visualize/reporting·ts.Visualize Visualize "before all" hook: initialize tests in "Visualize"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:20:29]         └-: Visualize
[00:20:29]           └-> "before all" hook
[00:28:31]           └-: Visualize
[00:28:31]             └-> "before all" hook
[00:28:31]             └-> "before all" hook: initialize tests
[00:28:31]               │ debg ReportingPage:initTests
[00:28:31]               │ info [reporting/ecommerce] Loading "mappings.json"
[00:28:31]               │ info [reporting/ecommerce] Loading "data.json.gz"
[00:28:31]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594832918556215301] [ecommerce] creating index, cause [api], templates [], shards [1]/[0]
[00:28:31]               │ info [reporting/ecommerce] Created index "ecommerce"
[00:28:31]               │ debg [reporting/ecommerce] "ecommerce" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:28:31]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594832918556215301] [.kibana_1/Ks6k_ZlDTcq8SS2PTqSbYA] deleting index
[00:28:31]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594832918556215301] [.kibana_2/vUWgJNE0QLqBiqGWRV2PxA] deleting index
[00:28:31]               │ info [reporting/ecommerce] Deleted existing index [".kibana_2",".kibana_1"]
[00:28:31]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594832918556215301] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:28:31]               │ info [reporting/ecommerce] Created index ".kibana_1"
[00:28:31]               │ debg [reporting/ecommerce] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:28:33]               │ info [reporting/ecommerce] Indexed 4675 docs into "ecommerce"
[00:28:33]               │ info [reporting/ecommerce] Indexed 3 docs into ".kibana_1"
[00:28:33]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594832918556215301] [.kibana_1/-pXUWSmRRemZXiW7XNzZKQ] update_mapping [_doc]
[00:28:33]               │ debg Migrating saved objects
[00:28:33]               │ proc [kibana]   log   [18:10:32.439] [info][savedobjects-service] Creating index .kibana_2.
[00:28:33]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594832918556215301] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:28:33]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594832918556215301] updating number_of_replicas to [0] for indices [.kibana_2]
[00:28:33]               │ proc [kibana]   log   [18:10:32.497] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:28:33]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594832918556215301] [.kibana_2/pu8Nw_nTShWzwil6Qd3Pag] update_mapping [_doc]
[00:28:33]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594832918556215301] [.kibana_2/pu8Nw_nTShWzwil6Qd3Pag] update_mapping [_doc]
[00:28:34]               │ proc [kibana]   log   [18:10:32.588] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:28:34]               │ proc [kibana]   log   [18:10:32.622] [info][savedobjects-service] Finished in 184ms.
[00:28:34]               │ info [reporting/ecommerce_kibana] Loading "mappings.json"
[00:28:34]               │ info [reporting/ecommerce_kibana] Loading "data.json.gz"
[00:28:34]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594832918556215301] [.kibana_2/pu8Nw_nTShWzwil6Qd3Pag] update_mapping [_doc]
[00:28:34]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594832918556215301] [.kibana_2/pu8Nw_nTShWzwil6Qd3Pag] deleting index
[00:28:34]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594832918556215301] [.kibana_1/-pXUWSmRRemZXiW7XNzZKQ] deleting index
[00:28:34]               │ info [reporting/ecommerce_kibana] Deleted existing index [".kibana_2",".kibana_1"]
[00:28:34]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594832918556215301] [.kibana] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:28:34]               │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/Visualize Visualize _before all_ hook_ initialize tests.png"
[00:28:34]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594832918556215301] [.kibana/OiZlQDnZTn2p9h1K2S5CSw] create_mapping [_doc]
[00:28:34]               │ info Current URL is: http://localhost:6151/s/another-space/app/visualize#/edit/75c3e060-1e7c-11e9-8488-65449e65d0ed?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(filters:!(),linked:!f,query:(language:lucene,query:%27%27),uiState:(),vis:(aggs:!((enabled:!t,id:%271%27,params:(),schema:metric,type:count),(enabled:!t,id:%272%27,params:(field:geo.src,missingBucket:!f,missingBucketLabel:Missing,order:desc,orderBy:%271%27,otherBucket:!f,otherBucketLabel:Other,size:5),schema:segment,type:terms)),params:(addLegend:!t,addTooltip:!t,dimensions:(metric:(accessor:0,aggType:count,format:(id:number),params:())),isDonut:!t,labels:(last_level:!t,show:!f,truncate:100,values:!t),legendPosition:right,type:pie),title:%27A%20Pie%20in%20another%20space%27,type:pie))
[00:28:34]               │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/Visualize Visualize _before all_ hook_ initialize tests.html
[00:28:34]               └- ✖ fail: Visualize Visualize "before all" hook: initialize tests in "Visualize"
[00:28:34]               │      Error: [invalid_alias_name_exception] Invalid alias name [.kibana], an index exists with the same name as the alias, with { index_uuid="OiZlQDnZTn2p9h1K2S5CSw" & index=".kibana" }
[00:28:34]               │       at respond (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:28:34]               │       at checkRespForFailure (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:28:34]               │       at HttpConnector.<anonymous> (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:28:34]               │       at IncomingMessage.wrapper (/dev/shm/workspace/kibana/node_modules/lodash/lodash.js:4929:19)
[00:28:34]               │       at endReadableNT (_stream_readable.js:1145:12)
[00:28:34]               │       at process._tickCallback (internal/process/next_tick.js:63:19)
[00:28:34]               │ 
[00:28:34]               │ 

Stack Trace

{ Error: [invalid_alias_name_exception] Invalid alias name [.kibana], an index exists with the same name as the alias, with { index_uuid="OiZlQDnZTn2p9h1K2S5CSw" & 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="OiZlQDnZTn2p9h1K2S5CSw" & 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: 'OiZlQDnZTn2p9h1K2S5CSw',
        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":"OiZlQDnZTn2p9h1K2S5CSw","index":".kibana"}],"type":"invalid_alias_name_exception","reason":"Invalid alias name [.kibana], an index exists with the same name as the alias","index_uuid":"OiZlQDnZTn2p9h1K2S5CSw","index":".kibana"},"status":400}',
  toString: [Function],
  toJSON: [Function] }

Build metrics

✅ unchanged

History

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

@LeeDr LeeDr deleted the backport/7.x/pr-71104 branch August 20, 2020 17:52
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