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

[7.10] [APM] Fix missing service.node.name (#84269) #84444

Merged
merged 1 commit into from
Nov 27, 2020

Conversation

sorenlouv
Copy link
Member

Backports the following commits to 7.10:

# Conflicts:
#	x-pack/plugins/apm/public/components/app/service_node_metrics/index.tsx
@sorenlouv
Copy link
Member Author

retest

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Firefox XPack UI Functional Tests.x-pack/test/functional/apps/grok_debugger/grok_debugger·js.logstash grok debugger app "before all" hook in "grok debugger app"

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 2 times on tracked branches: https://github.com/elastic/kibana/issues/84440

[00:00:00]       │
[00:02:52]         └-: logstash
[00:02:52]           └-> "before all" hook
[00:02:52]           └-: grok debugger app
[00:02:52]             └-> "before all" hook
[00:02:52]             └-> "before all" hook
[00:02:52]               │ info [empty_kibana] Loading "mappings.json"
[00:02:53]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1606488769902986636] [.kibana_2/EYhOzUMeSBu8JPkKphn7ug] deleting index
[00:02:53]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1606488769902986636] [.kibana_1/qf0F2T9CQjyiQjS2wWMwXA] deleting index
[00:02:53]               │ info [empty_kibana] Deleted existing index [".kibana_2",".kibana_1"]
[00:02:53]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1606488769902986636] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:02:53]               │ info [empty_kibana] Created index ".kibana"
[00:02:53]               │ debg [empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:02:53]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1606488769902986636] [.kibana/pVgaj_4IQ8mENm2vPvjXWQ] update_mapping [_doc]
[00:02:53]               │ debg Migrating saved objects
[00:02:53]               │ proc [kibana]   log   [15:23:21.328] [info][savedobjects-service] Creating index .kibana_2.
[00:02:53]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1606488769902986636] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:02:53]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1606488769902986636] updating number_of_replicas to [0] for indices [.kibana_2]
[00:02:53]               │ proc [kibana]   log   [15:23:21.398] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:02:53]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1606488769902986636] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:02:53]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1606488769902986636] updating number_of_replicas to [0] for indices [.kibana_1]
[00:02:53]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xxl-1606488769902986636] 4716 finished with response BulkByScrollResponse[took=2.1ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:02:53]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1606488769902986636] [.kibana/pVgaj_4IQ8mENm2vPvjXWQ] deleting index
[00:02:53]               │ proc [kibana]   log   [15:23:21.763] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:02:53]               │ proc [kibana]   log   [15:23:21.769] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:02:53]               │ proc [kibana]   log   [15:23:21.799] [info][savedobjects-service] Finished in 473ms.
[00:02:53]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:02:53]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1606488769902986636] [.kibana_2/IwsKW9qLQoudS7EW9-FUew] update_mapping [_doc]
[00:02:55]               │ debg navigating to grokDebugger url: http://localhost:6131/app/dev_tools#/grokdebugger
[00:02:55]               │ debg navigate to: http://localhost:6131/app/dev_tools#/grokdebugger
[00:02:55]               │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:55]               │ debg ... sleep(700) start
[00:02:56]               │ debg ... sleep(700) end
[00:02:56]               │ debg returned from get, calling refresh
[00:02:56]               │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", "http://localhost:6131/36053/bundles/core/core.entry.js", 6))
[00:02:56]               │ debg browser[log] "Detected an unhandled Promise rejection.\nEmptyError: no elements in sequence"
[00:02:56]               │ debg browser[log] "Detected an unhandled Promise rejection.\nTypeError: NetworkError when attempting to fetch resource."
[00:02:56]               │      console.log: "Detected an unhandled Promise rejection.\nEmptyError: no elements in sequence"
[00:02:56]               │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:57]               │ debg currentUrl = http://localhost:6131/login?next=%2Fapp%2Fdev_tools%3F_t%3D1606490603384#/grokdebugger
[00:02:57]               │          appUrl = http://localhost:6131/app/dev_tools#/grokdebugger
[00:02:57]               │ debg TestSubjects.find(kibanaChrome)
[00:02:57]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:02:58]               │ debg Found login page
[00:02:58]               │ debg TestSubjects.setValue(loginUsername, test_user)
[00:02:58]               │ debg TestSubjects.click(loginUsername)
[00:02:58]               │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:02:58]               │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:02:58]               │ debg TestSubjects.setValue(loginPassword, changeme)
[00:02:58]               │ debg TestSubjects.click(loginPassword)
[00:02:58]               │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:02:58]               │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:02:59]               │ debg TestSubjects.click(loginSubmit)
[00:02:59]               │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:02:59]               │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:02:59]               │ proc [kibana]   log   [15:23:27.235] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:02:59]               │ debg Find.waitForDeletedByCssSelector('.kibanaWelcomeLogo') with timeout=10000
[00:02:59]               │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:00]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:03:01]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:03:02]               │ debg Finished login process currentUrl = http://localhost:6131/app/dev_tools#/grokdebugger
[00:03:02]               │ debg ... sleep(501) start
[00:03:02]               │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:02]               │ debg ... sleep(501) end
[00:03:02]               │ debg in navigateTo url = http://localhost:6131/app/dev_tools#/grokdebugger
[00:03:02]               │ debg TestSubjects.exists(statusPageContainer)
[00:03:02]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:03:05]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:03:05]               │ debg TestSubjects.exists(grokDebugger)
[00:03:05]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebugger"]') with timeout=2500
[00:03:08]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebugger"] is not displayed
[00:03:08]               │ debg --- retry.try error: Expected to find the grok debugger
[00:03:09]               │ debg TestSubjects.exists(grokDebugger)
[00:03:09]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebugger"]') with timeout=2500
[00:03:11]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebugger"] is not displayed
[00:03:12]               │ debg --- retry.try failed again with the same message...
[00:03:12]               │ debg TestSubjects.exists(grokDebugger)
[00:03:12]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebugger"]') with timeout=2500
[00:03:15]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebugger"] is not displayed
[00:03:15]               │ debg --- retry.try failed again with the same message...
[00:03:16]               │ debg TestSubjects.exists(grokDebugger)
[00:03:16]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebugger"]') with timeout=2500
[00:03:18]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebugger"] is not displayed
[00:03:19]               │ debg --- retry.try failed again with the same message...
[00:03:19]               │ debg TestSubjects.exists(grokDebugger)
[00:03:19]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebugger"]') with timeout=2500
[00:03:22]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebugger"] is not displayed
[00:03:22]               │ debg --- retry.try failed again with the same message...
[00:03:23]               │ debg TestSubjects.exists(grokDebugger)
[00:03:23]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebugger"]') with timeout=2500
[00:03:25]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebugger"] is not displayed
[00:03:26]               │ debg --- retry.try failed again with the same message...
[00:03:26]               │ debg TestSubjects.exists(grokDebugger)
[00:03:26]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebugger"]') with timeout=2500
[00:03:29]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebugger"] is not displayed
[00:03:29]               │ debg --- retry.try failed again with the same message...
[00:03:30]               │ debg TestSubjects.exists(grokDebugger)
[00:03:30]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebugger"]') with timeout=2500
[00:03:32]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebugger"] is not displayed
[00:03:33]               │ debg --- retry.try failed again with the same message...
[00:03:33]               │ debg TestSubjects.exists(grokDebugger)
[00:03:33]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebugger"]') with timeout=2500
[00:03:36]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebugger"] is not displayed
[00:03:36]               │ debg --- retry.try failed again with the same message...
[00:03:37]               │ debg TestSubjects.exists(grokDebugger)
[00:03:37]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebugger"]') with timeout=2500
[00:03:40]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebugger"] is not displayed
[00:03:40]               │ debg --- retry.try failed again with the same message...
[00:03:41]               │ debg TestSubjects.exists(grokDebugger)
[00:03:41]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebugger"]') with timeout=2500
[00:03:43]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebugger"] is not displayed
[00:03:44]               │ debg --- retry.try failed again with the same message...
[00:03:44]               │ debg TestSubjects.exists(grokDebugger)
[00:03:44]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebugger"]') with timeout=2500
[00:03:47]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebugger"] is not displayed
[00:03:47]               │ debg --- retry.try failed again with the same message...
[00:03:48]               │ debg TestSubjects.exists(grokDebugger)
[00:03:48]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebugger"]') with timeout=2500
[00:03:50]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebugger"] is not displayed
[00:03:51]               │ debg --- retry.try failed again with the same message...
[00:03:51]               │ debg TestSubjects.exists(grokDebugger)
[00:03:51]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebugger"]') with timeout=2500
[00:03:54]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebugger"] is not displayed
[00:03:54]               │ debg --- retry.try failed again with the same message...
[00:03:55]               │ debg TestSubjects.exists(grokDebugger)
[00:03:55]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebugger"]') with timeout=2500
[00:03:57]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebugger"] is not displayed
[00:03:58]               │ debg --- retry.try failed again with the same message...
[00:03:58]               │ debg TestSubjects.exists(grokDebugger)
[00:03:58]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebugger"]') with timeout=2500
[00:04:01]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebugger"] is not displayed
[00:04:01]               │ debg --- retry.try failed again with the same message...
[00:04:02]               │ debg TestSubjects.exists(grokDebugger)
[00:04:02]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebugger"]') with timeout=2500
[00:04:04]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebugger"] is not displayed
[00:04:05]               │ debg --- retry.try failed again with the same message...
[00:04:05]               │ debg TestSubjects.exists(grokDebugger)
[00:04:05]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebugger"]') with timeout=2500
[00:04:16]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebugger"] is not displayed
[00:04:17]               │ debg --- retry.try failed again with the same message...
[00:04:17]               │ debg TestSubjects.exists(grokDebugger)
[00:04:17]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebugger"]') with timeout=2500
[00:04:20]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebugger"] is not displayed
[00:04:20]               │ debg --- retry.try failed again with the same message...
[00:04:21]               │ debg TestSubjects.exists(grokDebugger)
[00:04:21]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebugger"]') with timeout=2500
[00:04:23]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebugger"] is not displayed
[00:04:24]               │ debg --- retry.try failed again with the same message...
[00:04:24]               │ debg TestSubjects.exists(grokDebugger)
[00:04:24]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebugger"]') with timeout=2500
[00:04:27]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebugger"] is not displayed
[00:04:27]               │ debg --- retry.try failed again with the same message...
[00:04:28]               │ debg TestSubjects.exists(grokDebugger)
[00:04:28]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebugger"]') with timeout=2500
[00:04:30]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebugger"] is not displayed
[00:04:31]               │ debg --- retry.try failed again with the same message...
[00:04:31]               │ debg TestSubjects.exists(grokDebugger)
[00:04:31]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebugger"]') with timeout=2500
[00:04:34]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebugger"] is not displayed
[00:04:34]               │ debg --- retry.try failed again with the same message...
[00:04:35]               │ debg TestSubjects.exists(grokDebugger)
[00:04:35]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebugger"]') with timeout=2500
[00:04:37]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebugger"] is not displayed
[00:04:38]               │ debg --- retry.try failed again with the same message...
[00:04:38]               │ debg TestSubjects.exists(grokDebugger)
[00:04:38]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebugger"]') with timeout=2500
[00:04:41]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebugger"] is not displayed
[00:04:41]               │ debg --- retry.try failed again with the same message...
[00:04:42]               │ debg TestSubjects.exists(grokDebugger)
[00:04:42]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebugger"]') with timeout=2500
[00:04:44]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebugger"] is not displayed
[00:04:45]               │ debg --- retry.try failed again with the same message...
[00:04:45]               │ debg TestSubjects.exists(grokDebugger)
[00:04:45]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebugger"]') with timeout=2500
[00:04:48]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebugger"] is not displayed
[00:04:48]               │ debg --- retry.try failed again with the same message...
[00:04:49]               │ debg TestSubjects.exists(grokDebugger)
[00:04:49]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebugger"]') with timeout=2500
[00:04:51]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebugger"] is not displayed
[00:04:52]               │ debg --- retry.try failed again with the same message...
[00:04:52]               │ debg TestSubjects.exists(grokDebugger)
[00:04:52]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebugger"]') with timeout=2500
[00:04:55]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebugger"] is not displayed
[00:04:55]               │ debg --- retry.try failed again with the same message...
[00:04:56]               │ debg TestSubjects.exists(grokDebugger)
[00:04:56]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebugger"]') with timeout=2500
[00:04:58]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebugger"] is not displayed
[00:04:59]               │ debg --- retry.try failed again with the same message...
[00:04:59]               │ debg TestSubjects.exists(grokDebugger)
[00:04:59]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebugger"]') with timeout=2500
[00:05:02]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebugger"] is not displayed
[00:05:02]               │ debg --- retry.try failed again with the same message...
[00:05:03]               │ debg TestSubjects.exists(grokDebugger)
[00:05:03]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebugger"]') with timeout=2500
[00:05:05]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebugger"] is not displayed
[00:05:06]               │ debg --- retry.try failed again with the same message...
[00:05:06]               │ info Taking screenshot "/dev/shm/workspace/parallel/3/kibana/x-pack/test/functional/screenshots/failure/logstash grok debugger app _before all_ hook.png"
[00:05:06]               │ info Current URL is: http://localhost:6131/app/dev_tools#/grokdebugger
[00:05:06]               │ info Saving page source to: /dev/shm/workspace/parallel/3/kibana/x-pack/test/functional/failure_debug/html/logstash grok debugger app _before all_ hook.html
[00:05:06]               └- ✖ fail: logstash grok debugger app "before all" hook in "grok debugger app"
[00:05:06]               │      retry.try timeout: Error: Expected to find the grok debugger
[00:05:06]               │     at retry.try (/dev/shm/workspace/parallel/3/kibana/x-pack/test/functional/services/grok_debugger.js:53:17)
[00:05:06]               │   Error: retry.try timeout: Error: Expected to find the grok debugger
[00:05:06]               │       at retry.try (test/functional/services/grok_debugger.js:53:17)
[00:05:06]               │       at onFailure (/dev/shm/workspace/parallel/3/kibana/test/common/services/retry/retry_for_success.ts:28:9)
[00:05:06]               │       at retryForSuccess (/dev/shm/workspace/parallel/3/kibana/test/common/services/retry/retry_for_success.ts:68:13)
[00:05:06]               │ 
[00:05:06]               │ 

Stack Trace

Error: retry.try timeout: Error: Expected to find the grok debugger
    at retry.try (test/functional/services/grok_debugger.js:53:17)
    at onFailure (/dev/shm/workspace/parallel/3/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/parallel/3/kibana/test/common/services/retry/retry_for_success.ts:68:13)

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
apm 4.2MB 4.2MB +160.0B

History

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

@sorenlouv sorenlouv merged commit c943e8b into elastic:7.10 Nov 27, 2020
@sorenlouv sorenlouv deleted the backport/7.10/pr-84269 branch November 27, 2020 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants