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

chore(NA): moving @kbn/optimizer to babel transpiler #109231

Merged
merged 3 commits into from
Aug 19, 2021

Conversation

mistic
Copy link
Member

@mistic mistic commented Aug 19, 2021

One step forward on #69706

That PR moves the @kbn/optimizer from using tsc compiler to babel transpiler to produce the js outputs.

@mistic mistic added chore Team:Operations Team label for Operations Team v8.0.0 release_note:skip Skip the PR/issue when compiling release notes auto-backport Deprecated - use backport:version if exact versions are needed v7.15.0 v7.16.0 v7.14.1 labels Aug 19, 2021
@mistic mistic requested a review from jbudz August 19, 2021 11:40
@mistic mistic requested a review from a team as a code owner August 19, 2021 11:40
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/uptime/synthetics_integration·ts.Uptime app with generated data When on the Synthetics Integration Policy Create Page displays custom UI should display policy view

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: Uptime app
[00:00:00]           └-> "before all" hook in "Uptime app"
[00:00:00]           └-: with generated data
[00:00:00]             └-> "before all" hook in "with generated data"
[00:01:45]             └-: When on the Synthetics Integration Policy Create Page
[00:01:45]               └-> "before all" hook in "When on the Synthetics Integration Policy Create Page"
[00:01:45]               └-: displays custom UI
[00:01:45]                 └-> "before all" hook for "should display policy view"
[00:01:45]                 └-> "before all" hook for "should display policy view"
[00:01:45]                   │ info Setting up call to retrieve Synthetics package
[00:01:45]                   │ debg navigateToActualUrl http://localhost:61151/app/fleet/integrations/synthetics-0.2.2/add-integration
[00:01:45]                   │ debg browser[INFO] http://localhost:61151/app/fleet/integrations/synthetics-0.2.2/add-integration?_t=1629375203854 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:01:45]                   │
[00:01:45]                   │ debg browser[INFO] http://localhost:61151/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:45]                   │ debg currentUrl = http://localhost:61151/app/fleet/integrations/synthetics-0.2.2/add-integration
[00:01:45]                   │          appUrl = http://localhost:61151/app/fleet/integrations/synthetics-0.2.2/add-integration
[00:01:45]                   │ debg TestSubjects.find(kibanaChrome)
[00:01:45]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:47]                   │ debg isGlobalLoadingIndicatorVisible
[00:01:47]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:47]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:47]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/VrB6lcm8Qp620SFijAucvA] update_mapping [_doc]
[00:01:47]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:47]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:48]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [.fleet_component_template-1]
[00:01:48]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/VrB6lcm8Qp620SFijAucvA] update_mapping [_doc]
[00:01:50]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/VrB6lcm8Qp620SFijAucvA] update_mapping [_doc]
[00:01:50]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/VrB6lcm8Qp620SFijAucvA] update_mapping [_doc]
[00:01:50]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/VrB6lcm8Qp620SFijAucvA] update_mapping [_doc]
[00:01:52]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.apm_server@mappings]
[00:01:52]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.auditbeat@mappings]
[00:01:52]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.apm_server@mappings]
[00:01:52]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.auditbeat@custom]
[00:01:52]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.apm_server@custom]
[00:01:52]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.filebeat@mappings]
[00:01:52]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.auditbeat@mappings]
[00:01:52]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent@mappings]
[00:01:53]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.elastic_agent@mappings]
[00:01:53]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.endpoint_security@mappings]
[00:01:53]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.fleet_server@mappings]
[00:01:53]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.filebeat@mappings]
[00:01:53]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.endpoint_security@mappings]
[00:01:53]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.fleet_server@mappings]
[00:01:53]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.heartbeat@mappings]
[00:01:53]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.heartbeat@mappings]
[00:01:53]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.metricbeat@mappings]
[00:01:53]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.metricbeat@mappings]
[00:01:53]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.osquerybeat@mappings]
[00:01:53]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.apm_server@custom]
[00:01:53]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.packetbeat@mappings]
[00:01:53]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.packetbeat@mappings]
[00:01:53]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.osquerybeat@mappings]
[00:01:53]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.filebeat@custom]
[00:01:53]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.auditbeat@custom]
[00:01:53]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent@custom]
[00:01:53]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.fleet_server@custom]
[00:01:53]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.endpoint_security@custom]
[00:01:53]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.elastic_agent@custom]
[00:01:53]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.fleet_server@custom]
[00:01:53]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.heartbeat@custom]
[00:01:53]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.endpoint_security@custom]
[00:01:53]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.filebeat@custom]
[00:01:54]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.heartbeat@custom]
[00:01:54]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.metricbeat@custom]
[00:01:54]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.metricbeat@custom]
[00:01:54]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.osquerybeat@custom]
[00:01:54]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.packetbeat@custom]
[00:01:54]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.packetbeat@custom]
[00:01:54]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.osquerybeat@custom]
[00:01:54]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [logs-elastic_agent.auditbeat] for index patterns [logs-elastic_agent.auditbeat-*]
[00:01:54]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-elastic_agent.apm_server] for index patterns [metrics-elastic_agent.apm_server-*]
[00:01:54]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [logs-elastic_agent.apm_server] for index patterns [logs-elastic_agent.apm_server-*]
[00:01:54]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [logs-elastic_agent.filebeat] for index patterns [logs-elastic_agent.filebeat-*]
[00:01:54]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-elastic_agent.auditbeat] for index patterns [metrics-elastic_agent.auditbeat-*]
[00:01:54]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [logs-elastic_agent] for index patterns [logs-elastic_agent-*]
[00:01:54]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [logs-elastic_agent.fleet_server] for index patterns [logs-elastic_agent.fleet_server-*]
[00:01:54]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-elastic_agent.endpoint_security] for index patterns [metrics-elastic_agent.endpoint_security-*]
[00:01:54]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-elastic_agent.elastic_agent] for index patterns [metrics-elastic_agent.elastic_agent-*]
[00:01:54]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-elastic_agent.fleet_server] for index patterns [metrics-elastic_agent.fleet_server-*]
[00:01:54]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [logs-elastic_agent.heartbeat] for index patterns [logs-elastic_agent.heartbeat-*]
[00:01:54]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [logs-elastic_agent.endpoint_security] for index patterns [logs-elastic_agent.endpoint_security-*]
[00:01:54]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-elastic_agent.filebeat] for index patterns [metrics-elastic_agent.filebeat-*]
[00:01:54]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-elastic_agent.heartbeat] for index patterns [metrics-elastic_agent.heartbeat-*]
[00:01:54]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [logs-elastic_agent.metricbeat] for index patterns [logs-elastic_agent.metricbeat-*]
[00:01:54]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-elastic_agent.metricbeat] for index patterns [metrics-elastic_agent.metricbeat-*]
[00:01:54]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [logs-elastic_agent.osquerybeat] for index patterns [logs-elastic_agent.osquerybeat-*]
[00:01:54]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [logs-elastic_agent.packetbeat] for index patterns [logs-elastic_agent.packetbeat-*]
[00:01:54]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-elastic_agent.packetbeat] for index patterns [metrics-elastic_agent.packetbeat-*]
[00:01:54]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-elastic_agent.osquerybeat] for index patterns [metrics-elastic_agent.osquerybeat-*]
[00:01:55]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-system.filesystem@custom]
[00:01:55]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-system.core@custom]
[00:01:55]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-system.fsstat@custom]
[00:01:55]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-system.process@custom]
[00:01:55]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-system.network@custom]
[00:01:55]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-system.application@custom]
[00:01:55]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-system.memory@custom]
[00:01:56]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-system.cpu@custom]
[00:01:56]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-system.load@custom]
[00:01:56]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-system.process.summary@custom]
[00:01:56]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-system.security@custom]
[00:01:56]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-system.auth@custom]
[00:01:56]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-system.diskio@custom]
[00:01:56]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-system.syslog@custom]
[00:01:56]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-system.socket_summary@custom]
[00:01:56]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-system.system@custom]
[00:01:56]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-system.uptime@custom]
[00:01:56]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-system.filesystem] for index patterns [metrics-system.filesystem-*]
[00:01:56]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-system.core] for index patterns [metrics-system.core-*]
[00:01:56]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-system.fsstat] for index patterns [metrics-system.fsstat-*]
[00:01:56]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-system.process] for index patterns [metrics-system.process-*]
[00:01:56]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-system.network] for index patterns [metrics-system.network-*]
[00:01:56]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [logs-system.application] for index patterns [logs-system.application-*]
[00:01:56]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-system.memory] for index patterns [metrics-system.memory-*]
[00:01:57]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-system.cpu] for index patterns [metrics-system.cpu-*]
[00:01:57]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-system.load] for index patterns [metrics-system.load-*]
[00:01:57]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-system.process.summary] for index patterns [metrics-system.process.summary-*]
[00:01:57]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [logs-system.security] for index patterns [logs-system.security-*]
[00:01:57]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [logs-system.auth] for index patterns [logs-system.auth-*]
[00:01:57]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-system.diskio] for index patterns [metrics-system.diskio-*]
[00:01:57]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [logs-system.syslog] for index patterns [logs-system.syslog-*]
[00:01:57]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-system.socket_summary] for index patterns [metrics-system.socket_summary-*]
[00:01:57]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [logs-system.system] for index patterns [logs-system.system-*]
[00:01:57]                   │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-system.uptime] for index patterns [metrics-system.uptime-*]
[00:02:00]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/VrB6lcm8Qp620SFijAucvA] update_mapping [_doc]
[00:02:01]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/VrB6lcm8Qp620SFijAucvA] update_mapping [_doc]
[00:02:02]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/VrB6lcm8Qp620SFijAucvA] update_mapping [_doc]
[00:02:05]                   │ proc [kibana]   log   [12:13:44.190] [error][fleet][plugins] Error: Default Fleet Server policy could not be added. fleet_server is not installed, add fleet_server to `xpack.fleet.packages` or remove it from fleet_server-1.
[00:02:05]                   │ proc [kibana]     at /dev/shm/workspace/kibana-build-15/x-pack/plugins/fleet/server/services/preconfiguration.js:193:19
[00:02:05]                   │ proc [kibana]     at runMicrotasks (<anonymous>)
[00:02:05]                   │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:02:05]                   │ proc [kibana]     at async Promise.all (index 0)
[00:02:05]                   │ proc [kibana]     at ensurePreconfiguredPackagesAndPolicies (/dev/shm/workspace/kibana-build-15/x-pack/plugins/fleet/server/services/preconfiguration.js:182:42)
[00:02:05]                   │ proc [kibana]     at createSetupSideEffects (/dev/shm/workspace/kibana-build-15/x-pack/plugins/fleet/server/services/setup.js:80:7)
[00:02:05]                   │ proc [kibana]     at awaitIfPending (/dev/shm/workspace/kibana-build-15/x-pack/plugins/fleet/server/services/setup_utils.js:38:20)
[00:02:05]                   │ proc [kibana]     at fleetSetupHandler (/dev/shm/workspace/kibana-build-15/x-pack/plugins/fleet/server/routes/setup/handlers.js:58:25)
[00:02:05]                   │ proc [kibana]     at Router.handle (/dev/shm/workspace/kibana-build-15/src/core/server/http/router/router.js:161:30)
[00:02:05]                   │ proc [kibana]     at handler (/dev/shm/workspace/kibana-build-15/src/core/server/http/router/router.js:122:50)
[00:02:05]                   │ proc [kibana]     at exports.Manager.execute (/dev/shm/workspace/kibana-build-15/node_modules/@hapi/hapi/lib/toolkit.js:60:28)
[00:02:05]                   │ proc [kibana]     at Object.internals.handler (/dev/shm/workspace/kibana-build-15/node_modules/@hapi/hapi/lib/handler.js:46:20)
[00:02:05]                   │ proc [kibana]     at exports.execute (/dev/shm/workspace/kibana-build-15/node_modules/@hapi/hapi/lib/handler.js:31:20)
[00:02:05]                   │ proc [kibana]     at Request._lifecycle (/dev/shm/workspace/kibana-build-15/node_modules/@hapi/hapi/lib/request.js:370:32)
[00:02:05]                   │ proc [kibana]     at Request._execute (/dev/shm/workspace/kibana-build-15/node_modules/@hapi/hapi/lib/request.js:279:9)
[00:02:05]                   │ proc [kibana]  error  [12:13:25.803]  Error: Internal Server Error
[00:02:05]                   │ proc [kibana]     at HapiResponseAdapter.toError (/dev/shm/workspace/kibana-build-15/src/core/server/http/router/response_adapter.js:128:19)
[00:02:05]                   │ proc [kibana]     at HapiResponseAdapter.toHapiResponse (/dev/shm/workspace/kibana-build-15/src/core/server/http/router/response_adapter.js:82:19)
[00:02:05]                   │ proc [kibana]     at HapiResponseAdapter.handle (/dev/shm/workspace/kibana-build-15/src/core/server/http/router/response_adapter.js:73:17)
[00:02:05]                   │ proc [kibana]     at Router.handle (/dev/shm/workspace/kibana-build-15/src/core/server/http/router/router.js:162:34)
[00:02:05]                   │ proc [kibana]     at runMicrotasks (<anonymous>)
[00:02:05]                   │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:02:05]                   │ proc [kibana]     at handler (/dev/shm/workspace/kibana-build-15/src/core/server/http/router/router.js:122:50)
[00:02:05]                   │ proc [kibana]     at exports.Manager.execute (/dev/shm/workspace/kibana-build-15/node_modules/@hapi/hapi/lib/toolkit.js:60:28)
[00:02:05]                   │ proc [kibana]     at Object.internals.handler (/dev/shm/workspace/kibana-build-15/node_modules/@hapi/hapi/lib/handler.js:46:20)
[00:02:05]                   │ proc [kibana]     at exports.execute (/dev/shm/workspace/kibana-build-15/node_modules/@hapi/hapi/lib/handler.js:31:20)
[00:02:05]                   │ proc [kibana]     at Request._lifecycle (/dev/shm/workspace/kibana-build-15/node_modules/@hapi/hapi/lib/request.js:370:32)
[00:02:05]                   │ proc [kibana]     at Request._execute (/dev/shm/workspace/kibana-build-15/node_modules/@hapi/hapi/lib/request.js:279:9)
[00:02:05]                   │ERROR browser[SEVERE] http://localhost:61151/api/fleet/setup - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
[00:02:05]                 └-> should display policy view
[00:02:05]                   └-> "before each" hook: global before each for "should display policy view"
[00:02:05]                   └-> "before each" hook: delete settings for "should display policy view"
[00:02:05]                     │ debg Deleting saved object {
[00:02:05]                     │        type: 'uptime-dynamic-settings',
[00:02:05]                     │        id: 'uptime-dynamic-settings-singleton'
[00:02:05]                     │      }/%s
[00:02:06]                   └-> "before each" hook: load heartbeat data for "should display policy view"
[00:02:06]                     │ info [x-pack/test/functional/es_archives/uptime/blank] Loading "mappings.json"
[00:02:06]                     │ info [x-pack/test/functional/es_archives/uptime/blank] Loading "data.json"
[00:02:06]                     │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [heartbeat-8-generated-test] creating index, cause [api], templates [], shards [1]/[1]
[00:02:06]                     │ info [x-pack/test/functional/es_archives/uptime/blank] Created index "heartbeat-8-generated-test"
[00:02:06]                     │ debg [x-pack/test/functional/es_archives/uptime/blank] "heartbeat-8-generated-test" settings undefined
[00:02:06]                   │ debg TestSubjects.exists(monitorSettingsSection)
[00:02:06]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="monitorSettingsSection"]') with timeout=120000
[00:02:09]                   │ debg --- retry.tryForTime error: [data-test-subj="monitorSettingsSection"] is not displayed
[00:02:12]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:15]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:18]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:21]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:24]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:27]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:30]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:33]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:36]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:39]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:42]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:45]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:48]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:52]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:55]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:58]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:01]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:04]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:07]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:10]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:13]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:16]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:19]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:22]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:25]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:28]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:31]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:34]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:37]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:40]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:43]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:46]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:49]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:52]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:55]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:59]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:02]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:05]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:08]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:08]                   │ info Taking screenshot "/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/screenshots/failure/Uptime app with generated data When on the Synthetics Integration Policy Create Page displays custom UI should display policy view.png"
[00:04:08]                   │ info Current URL is: http://localhost:61151/app/fleet/integrations/synthetics-0.2.2/add-integration
[00:04:08]                   │ info Saving page source to: /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/failure_debug/html/Uptime app with generated data When on the Synthetics Integration Policy Create Page displays custom UI should display policy view.html
[00:04:08]                   └- ✖ fail: Uptime app with generated data When on the Synthetics Integration Policy Create Page displays custom UI should display policy view
[00:04:08]                   │      Error: expected testSubject(monitorSettingsSection) to exist
[00:04:08]                   │       at TestSubjects.existOrFail (/dev/shm/workspace/parallel/15/kibana/test/functional/services/common/test_subjects.ts:45:13)
[00:04:08]                   │       at Object.ensureIsOnPackagePage (test/functional/page_objects/synthetics_integration_page.ts:130:7)
[00:04:08]                   │       at Context.<anonymous> (test/functional/apps/uptime/synthetics_integration.ts:102:9)
[00:04:08]                   │       at Object.apply (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:04:08]                   │ 
[00:04:08]                   │ 

Stack Trace

Error: expected testSubject(monitorSettingsSection) to exist
    at TestSubjects.existOrFail (/dev/shm/workspace/parallel/15/kibana/test/functional/services/common/test_subjects.ts:45:13)
    at Object.ensureIsOnPackagePage (test/functional/page_objects/synthetics_integration_page.ts:130:7)
    at Context.<anonymous> (test/functional/apps/uptime/synthetics_integration.ts:102:9)
    at Object.apply (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)

Metrics [docs]

✅ unchanged

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

@mistic mistic merged commit cfd5dad into elastic:master Aug 19, 2021
mistic added a commit to mistic/kibana that referenced this pull request Aug 19, 2021
* chore(NA): adds 7.16 into  backportrc

* chore(NA): moving @kbn/optimizer to babel transpiler
# Conflicts:
#	packages/kbn-optimizer/BUILD.bazel
#	packages/kbn-optimizer/tsconfig.json
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Aug 19, 2021
* chore(NA): adds 7.16 into  backportrc

* chore(NA): moving @kbn/optimizer to babel transpiler
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Aug 19, 2021
* chore(NA): adds 7.16 into  backportrc

* chore(NA): moving @kbn/optimizer to babel transpiler
@kibanamachine
Copy link
Contributor

💔 Backport failed

Status Branch Result
7.15
7.x
7.14 Commit could not be cherrypicked due to conflicts

Successful backport PRs will be merged automatically after passing CI.

To backport manually run:
node scripts/backport --pr 109231

mistic added a commit that referenced this pull request Aug 19, 2021
* chore(NA): adds 7.16 into  backportrc

* chore(NA): moving @kbn/optimizer to babel transpiler
# Conflicts:
#	packages/kbn-optimizer/BUILD.bazel
#	packages/kbn-optimizer/tsconfig.json

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
kibanamachine added a commit that referenced this pull request Aug 19, 2021
* chore(NA): adds 7.16 into  backportrc

* chore(NA): moving @kbn/optimizer to babel transpiler

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
kibanamachine added a commit that referenced this pull request Aug 19, 2021
* chore(NA): adds 7.16 into  backportrc

* chore(NA): moving @kbn/optimizer to babel transpiler

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed chore release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team v7.14.1 v7.15.0 v7.16.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants