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

[Timelion app] Stabilize the flakiness in cloud #106826

Merged
merged 1 commit into from
Jul 28, 2021

Conversation

stratoula
Copy link
Contributor

@stratoula stratoula commented Jul 27, 2021

Summary

Closes #105872
There is some flakiness with the clickSuggestion function on cloud. I could increase the wait time but I think that we can simplify it a bit and hopefully the flakiness will disappear.

Test runner 100 times https://kibana-ci.elastic.co/job/kibana+flaky-test-suite-runner/1771/

Checklist

@stratoula stratoula added Feature:TimelionApp Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.15.0 v8.0.0 failed-test A test failure on a tracked branch, potentially flaky-test release_note:skip Skip the PR/issue when compiling release notes labels Jul 27, 2021
@stratoula stratoula requested a review from liza-mae July 27, 2021 12:05
@stratoula stratoula marked this pull request as ready for review July 27, 2021 12:05
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@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/infra/home_page·ts.InfraOps App Metrics UI Home page Saved Views should have save and load controls

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:46:23]         └-: InfraOps App
[00:46:23]           └-> "before all" hook in "InfraOps App"
[00:50:42]           └-: Metrics UI
[00:50:42]             └-> "before all" hook in "Metrics UI"
[00:50:42]             └-: Home page
[00:50:42]               └-> "before all" hook in "Home page"
[00:50:42]               └-> "before all" hook in "Home page"
[00:50:42]                 │ info [x-pack/test/functional/es_archives/empty_kibana] Loading "mappings.json"
[00:50:42]                 │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_8.0.0_001/mhfP4xCdTJOTTQ_834dmGA] deleting index
[00:50:42]                 │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_1/iettKia5SCa0C0q0ErqiGA] deleting index
[00:50:42]                 │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_task_manager_8.0.0_001/PmGRfVrxSs29pPkbYyfcwg] deleting index
[00:50:42]                 │ info [x-pack/test/functional/es_archives/empty_kibana] Deleted existing index ".kibana_8.0.0_001"
[00:50:42]                 │ info [x-pack/test/functional/es_archives/empty_kibana] Deleted existing index ".kibana_task_manager_8.0.0_001"
[00:50:42]                 │ info [x-pack/test/functional/es_archives/empty_kibana] Deleted existing index ".kibana_1"
[00:50:42]                 │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:50:42]                 │ info [x-pack/test/functional/es_archives/empty_kibana] Created index ".kibana_1"
[00:50:42]                 │ debg [x-pack/test/functional/es_archives/empty_kibana] ".kibana_1" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:50:42]                 │ debg Migrating saved objects
[00:50:42]                 │ proc [kibana]   log   [10:57:30.384] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET. took: 9ms.
[00:50:42]                 │ proc [kibana]   log   [10:57:30.388] [info][savedobjects-service] [.kibana] INIT -> WAIT_FOR_YELLOW_SOURCE. took: 14ms.
[00:50:42]                 │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_task_manager_8.0.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:50:42]                 │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_task_manager_8.0.0_001]
[00:50:42]                 │ proc [kibana]   log   [10:57:30.392] [info][savedobjects-service] [.kibana] WAIT_FOR_YELLOW_SOURCE -> CHECK_UNKNOWN_DOCUMENTS. took: 3ms.
[00:50:42]                 │ proc [kibana]   log   [10:57:30.397] [info][savedobjects-service] [.kibana] CHECK_UNKNOWN_DOCUMENTS -> SET_SOURCE_WRITE_BLOCK. took: 6ms.
[00:50:42]                 │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_1/LXNZX0pOSf-yHCE53ISttw]]
[00:50:42]                 │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_1]
[00:50:42]                 │ proc [kibana]   log   [10:57:30.449] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY. took: 65ms.
[00:50:42]                 │ proc [kibana]   log   [10:57:30.463] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP. took: 66ms.
[00:50:42]                 │ proc [kibana]   log   [10:57:30.486] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE. took: 37ms.
[00:50:42]                 │ proc [kibana]   log   [10:57:30.487] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 112ms
[00:50:42]                 │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:50:42]                 │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_8.0.0_reindex_temp]
[00:50:42]                 │ proc [kibana]   log   [10:57:30.538] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP_OPEN_PIT. took: 75ms.
[00:50:42]                 │ proc [kibana]   log   [10:57:30.542] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_OPEN_PIT -> REINDEX_SOURCE_TO_TEMP_READ. took: 4ms.
[00:50:42]                 │ proc [kibana]   log   [10:57:30.547] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_CLOSE_PIT. took: 5ms.
[00:50:42]                 │ proc [kibana]   log   [10:57:30.549] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_CLOSE_PIT -> SET_TEMP_WRITE_BLOCK. took: 2ms.
[00:50:42]                 │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_8.0.0_reindex_temp/bfMZT33vR-6u-NWkGdpF3w]]
[00:50:42]                 │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_8.0.0_reindex_temp]
[00:50:42]                 │ proc [kibana]   log   [10:57:30.589] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET. took: 40ms.
[00:50:42]                 │ info [o.e.c.m.MetadataCreateIndexService] [node-01] applying create index request using existing index [.kibana_8.0.0_reindex_temp] metadata
[00:50:42]                 │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:50:42]                 │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_8.0.0_001]
[00:50:42]                 │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/wbiSsxVtR0uSL30X-F6vrw] create_mapping
[00:50:42]                 │ proc [kibana]   log   [10:57:30.668] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> REFRESH_TARGET. took: 79ms.
[00:50:42]                 │ proc [kibana]   log   [10:57:30.670] [info][savedobjects-service] [.kibana] REFRESH_TARGET -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 2ms.
[00:50:42]                 │ proc [kibana]   log   [10:57:30.672] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 2ms.
[00:50:42]                 │ proc [kibana]   log   [10:57:30.676] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 4ms.
[00:50:42]                 │ proc [kibana]   log   [10:57:30.678] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 2ms.
[00:50:42]                 │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/wbiSsxVtR0uSL30X-F6vrw] update_mapping [_doc]
[00:50:42]                 │ info [o.e.t.LoggingTaskListener] [node-01] 77676 finished with response BulkByScrollResponse[took=1.3ms,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:50:42]                 │ proc [kibana]   log   [10:57:30.730] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 52ms.
[00:50:42]                 │ proc [kibana]   log   [10:57:30.733] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY. took: 3ms.
[00:50:42]                 │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_8.0.0_reindex_temp/bfMZT33vR-6u-NWkGdpF3w] deleting index
[00:50:42]                 │ proc [kibana]   log   [10:57:30.765] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE. took: 32ms.
[00:50:42]                 │ proc [kibana]   log   [10:57:30.766] [info][savedobjects-service] [.kibana] Migration completed after 392ms
[00:50:42]                 │ debg [x-pack/test/functional/es_archives/empty_kibana] Migrated Kibana index after loading Kibana data
[00:50:43]                 │ debg [x-pack/test/functional/es_archives/empty_kibana] Ensured that default space exists in .kibana
[00:50:43]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true,"visualization:visualize:legacyPieChartsLibrary":true}
[00:50:43]                 │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/wbiSsxVtR0uSL30X-F6vrw] update_mapping [_doc]
[00:51:26]               └-: Saved Views
[00:51:26]                 └-> "before all" hook for "should have save and load controls"
[00:51:26]                 └-> "before all" hook for "should have save and load controls"
[00:51:26]                   │ info [x-pack/test/functional/es_archives/infra/metrics_and_logs] Loading "mappings.json"
[00:51:26]                   │ info [x-pack/test/functional/es_archives/infra/metrics_and_logs] Loading "data.json.gz"
[00:51:26]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [metricbeat-7.0.0-alpha1-2018.10.17] creating index, cause [api], templates [], shards [1]/[0]
[00:51:26]                   │ info [x-pack/test/functional/es_archives/infra/metrics_and_logs] Created index "metricbeat-7.0.0-alpha1-2018.10.17"
[00:51:26]                   │ debg [x-pack/test/functional/es_archives/infra/metrics_and_logs] "metricbeat-7.0.0-alpha1-2018.10.17" settings {"index":{"codec":"best_compression","mapping":{"total_fields":{"limit":"10000"}},"number_of_replicas":"0","number_of_shards":"1","query":{"default_field":["beat.name","beat.hostname","beat.timezone","beat.version","tags","error.message","error.type","meta.cloud.provider","meta.cloud.instance_id","meta.cloud.instance_name","meta.cloud.machine_type","meta.cloud.availability_zone","meta.cloud.project_id","meta.cloud.region","docker.container.id","docker.container.image","docker.container.name","host.name","host.id","host.architecture","host.os.platform","host.os.version","host.os.family","host.mac","kubernetes.pod.name","kubernetes.pod.uid","kubernetes.namespace","kubernetes.node.name","kubernetes.container.name","kubernetes.container.image","metricset.module","metricset.name","metricset.host","metricset.namespace","type","service.name","aerospike.namespace.name","aerospike.namespace.node.host","aerospike.namespace.node.name","apache.status.hostname","ceph.cluster_health.overall_status","ceph.cluster_health.timechecks.round.status","ceph.monitor_health.health","ceph.monitor_health.name","ceph.osd_df.name","ceph.osd_df.device_class","ceph.osd_tree.name","ceph.osd_tree.type","ceph.osd_tree.children","ceph.osd_tree.status","ceph.osd_tree.device_class","ceph.osd_tree.father","ceph.pool_disk.name","couchbase.bucket.name","couchbase.bucket.type","couchbase.node.hostname","docker.container.command","docker.container.status","docker.container.ip_addresses","docker.healthcheck.status","docker.healthcheck.event.output","docker.image.id.current","docker.image.id.parent","docker.info.id","docker.network.interface","elasticsearch.cluster.name","elasticsearch.cluster.id","elasticsearch.cluster.state.id","elasticsearch.index.name","elasticsearch.node.name","elasticsearch.node.version","elasticsearch.node.jvm.version","elasticsearch.cluster.pending_task.source","elasticsearch.shard.state","etcd.leader.leader","etcd.self.id","etcd.self.leaderinfo.leader","etcd.self.leaderinfo.starttime","etcd.self.leaderinfo.uptime","etcd.self.name","etcd.self.starttime","etcd.self.state","golang.expvar.cmdline","golang.heap.cmdline","graphite.server.example","haproxy.stat.status","haproxy.stat.service_name","haproxy.stat.check.status","haproxy.stat.check.health.last","haproxy.stat.proxy.name","http.request.method","http.request.body","http.response.code","http.response.phrase","http.response.body","kafka.consumergroup.broker.address","kafka.consumergroup.id","kafka.consumergroup.topic","kafka.consumergroup.meta","kafka.consumergroup.client.id","kafka.consumergroup.client.host","kafka.consumergroup.client.member_id","kafka.partition.topic.name","kafka.partition.broker.address","kibana.stats.cluster_uuid","kibana.stats.name","kibana.stats.uuid","kibana.stats.version.number","kibana.stats.status.overall.state","kibana.status.name","kibana.status.uuid","kibana.status.version.number","kibana.status.status.overall.state","kubernetes.apiserver.request.client","kubernetes.apiserver.request.resource","kubernetes.apiserver.request.subresource","kubernetes.apiserver.request.scope","kubernetes.apiserver.request.verb","kubernetes.event.message","kubernetes.event.reason","kubernetes.event.type","kubernetes.event.metadata.name","kubernetes.event.metadata.namespace","kubernetes.event.metadata.resource_version","kubernetes.event.metadata.uid","kubernetes.event.metadata.self_link","kubernetes.event.involved_object.api_version","kubernetes.event.involved_object.kind","kubernetes.event.involved_object.name","kubernetes.event.involved_object.resource_version","kubernetes.event.involved_object.uid","kubernetes.container.id","kubernetes.container.status.phase","kubernetes.container.status.reason","kubernetes.deployment.name","kubernetes.node.status.ready","kubernetes.pod.status.phase","kubernetes.pod.status.ready","kubernetes.pod.status.scheduled","kubernetes.replicaset.name","kubernetes.statefulset.name","kubernetes.system.container","kubernetes.volume.name","kvm.dommemstat.stat.name","kvm.dommemstat.name","logstash.node.host","logstash.node.version","logstash.node.jvm.version","mongodb.collstats.db","mongodb.collstats.collection","mongodb.collstats.name","mongodb.dbstats.db","mongodb.status.version","mongodb.status.storage_engine.name","mysql.galera_status.cluster.status","mysql.galera_status.connected","mysql.galera_status.evs.evict","mysql.galera_status.evs.state","mysql.galera_status.local.state","mysql.galera_status.ready","nginx.stubstatus.hostname","php_fpm.pool.name","php_fpm.pool.process_manager","postgresql.activity.database.name","postgresql.activity.user.name","postgresql.activity.application_name","postgresql.activity.client.address","postgresql.activity.client.hostname","postgresql.activity.state","postgresql.activity.query","postgresql.database.name","postgresql.statement.query.text","rabbitmq.connection.name","rabbitmq.connection.vhost","rabbitmq.connection.user","rabbitmq.connection.node","rabbitmq.connection.type","rabbitmq.connection.host","rabbitmq.connection.peer.host","rabbitmq.exchange.name","rabbitmq.exchange.vhost","rabbitmq.exchange.user","rabbitmq.node.name","rabbitmq.node.type","rabbitmq.queue.name","rabbitmq.queue.vhost","rabbitmq.queue.node","rabbitmq.queue.state","redis.info.memory.max.policy","redis.info.memory.allocator","redis.info.persistence.rdb.bgsave.last_status","redis.info.persistence.aof.bgrewrite.last_status","redis.info.persistence.aof.write.last_status","redis.info.replication.role","redis.info.server.version","redis.info.server.git_sha1","redis.info.server.git_dirty","redis.info.server.build_id","redis.info.server.mode","redis.info.server.os","redis.info.server.arch_bits","redis.info.server.multiplexing_api","redis.info.server.gcc_version","redis.info.server.run_id","redis.info.server.config_file","redis.keyspace.id","system.diskio.name","system.diskio.serial_number","system.filesystem.device_name","system.filesystem.type","system.filesystem.mount_point","system.network.name","system.process.name","system.process.state","system.process.cmdline","system.process.username","system.process.cwd","system.process.cgroup.id","system.process.cgroup.path","system.process.cgroup.cpu.id","system.process.cgroup.cpu.path","system.process.cgroup.cpuacct.id","system.process.cgroup.cpuacct.path","system.process.cgroup.memory.id","system.process.cgroup.memory.path","system.process.cgroup.blkio.id","system.process.cgroup.blkio.path","system.raid.name","system.raid.activity_state","system.socket.direction","system.socket.family","system.socket.remote.host","system.socket.remote.etld_plus_one","system.socket.remote.host_error","system.socket.process.command","system.socket.process.cmdline","system.socket.process.exe","system.socket.user.name","uwsgi.status.worker.status","uwsgi.status.worker.rss","vsphere.datastore.name","vsphere.datastore.fstype","vsphere.host.name","vsphere.host.network_names","vsphere.virtualmachine.host","vsphere.virtualmachine.name","vsphere.virtualmachine.network_names","windows.service.id","windows.service.name","windows.service.display_name","windows.service.start_type","windows.service.state","windows.service.exit_code","zookeeper.mntr.hostname","zookeeper.mntr.server_state","zookeeper.mntr.version","fields.*"]},"refresh_interval":"5s"}}
[00:51:26]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [filebeat-7.0.0-alpha1-2018.10.17] creating index, cause [api], templates [], shards [1]/[0]
[00:51:26]                   │ info [x-pack/test/functional/es_archives/infra/metrics_and_logs] Created index "filebeat-7.0.0-alpha1-2018.10.17"
[00:51:26]                   │ debg [x-pack/test/functional/es_archives/infra/metrics_and_logs] "filebeat-7.0.0-alpha1-2018.10.17" settings {"index":{"codec":"best_compression","mapping":{"total_fields":{"limit":"10000"}},"number_of_replicas":"0","number_of_shards":"1","query":{"default_field":["beat.name","beat.hostname","beat.timezone","beat.version","tags","error.message","error.type","meta.cloud.provider","meta.cloud.instance_id","meta.cloud.instance_name","meta.cloud.machine_type","meta.cloud.availability_zone","meta.cloud.project_id","meta.cloud.region","docker.container.id","docker.container.image","docker.container.name","host.name","host.id","host.architecture","host.os.platform","host.os.version","host.os.family","host.mac","kubernetes.pod.name","kubernetes.pod.uid","kubernetes.namespace","kubernetes.node.name","kubernetes.container.name","kubernetes.container.image","source","message","stream","prospector.type","input.type","read_timestamp","fileset.module","fileset.name","syslog.severity_label","syslog.facility_label","process.program","service.name","log.level","apache2.access.remote_ip","apache2.access.user_name","apache2.access.method","apache2.access.url","apache2.access.http_version","apache2.access.referrer","apache2.access.agent","apache2.access.user_agent.device","apache2.access.user_agent.patch","apache2.access.user_agent.name","apache2.access.user_agent.os","apache2.access.user_agent.os_name","apache2.access.geoip.continent_name","apache2.access.geoip.country_iso_code","apache2.access.geoip.region_name","apache2.access.geoip.city_name","apache2.error.level","apache2.error.client","apache2.error.message","apache2.error.module","auditd.log.record_type","auditd.log.old_auid","auditd.log.new_auid","auditd.log.old_ses","auditd.log.new_ses","auditd.log.acct","auditd.log.pid","auditd.log.ppid","auditd.log.items","auditd.log.item","auditd.log.a0","auditd.log.res","auditd.log.geoip.continent_name","auditd.log.geoip.city_name","auditd.log.geoip.region_name","auditd.log.geoip.country_iso_code","elasticsearch.audit.node_name","elasticsearch.audit.layer","elasticsearch.audit.event_type","elasticsearch.audit.origin_type","elasticsearch.audit.principal","elasticsearch.audit.action","elasticsearch.audit.uri","elasticsearch.audit.request","elasticsearch.audit.request_body","elasticsearch.gc.tags","elasticsearch.server.component","elasticsearch.slowlog.loglevel","elasticsearch.slowlog.logger","elasticsearch.slowlog.node_name","elasticsearch.slowlog.index_name","elasticsearch.slowlog.shard_id","elasticsearch.slowlog.took","elasticsearch.slowlog.types","elasticsearch.slowlog.stats","elasticsearch.slowlog.search_type","elasticsearch.slowlog.source_query","elasticsearch.slowlog.extra_source","elasticsearch.slowlog.took_millis","elasticsearch.slowlog.total_hits","elasticsearch.slowlog.total_shards","icinga.debug.facility","icinga.debug.severity","icinga.debug.message","icinga.main.facility","icinga.main.severity","icinga.main.message","icinga.startup.facility","icinga.startup.severity","icinga.startup.message","iis.access.server_ip","iis.access.method","iis.access.url","iis.access.query_string","iis.access.user_name","iis.access.remote_ip","iis.access.referrer","iis.access.site_name","iis.access.server_name","iis.access.http_version","iis.access.cookie","iis.access.hostname","iis.access.agent","iis.access.user_agent.device","iis.access.user_agent.patch","iis.access.user_agent.name","iis.access.user_agent.os","iis.access.user_agent.os_name","iis.access.geoip.continent_name","iis.access.geoip.country_iso_code","iis.access.geoip.region_name","iis.access.geoip.city_name","iis.error.remote_ip","iis.error.server_ip","iis.error.http_version","iis.error.method","iis.error.url","iis.error.reason_phrase","iis.error.queue_name","iis.error.geoip.continent_name","iis.error.geoip.country_iso_code","iis.error.geoip.region_name","iis.error.geoip.city_name","kafka.log.timestamp","kafka.log.level","kafka.log.message","kafka.log.component","kafka.log.class","kafka.log.trace.class","kafka.log.trace.message","kafka.log.trace.full","kibana.log.tags","kibana.log.state","logstash.log.message","logstash.log.level","logstash.log.module","logstash.log.thread","logstash.slowlog.message","logstash.slowlog.level","logstash.slowlog.module","logstash.slowlog.thread","logstash.slowlog.event","logstash.slowlog.plugin_name","logstash.slowlog.plugin_type","logstash.slowlog.plugin_params","mongodb.log.severity","mongodb.log.component","mongodb.log.context","mongodb.log.message","mysql.error.timestamp","mysql.error.level","mysql.error.message","mysql.slowlog.user","mysql.slowlog.host","mysql.slowlog.ip","mysql.slowlog.query","nginx.access.remote_ip","nginx.access.user_name","nginx.access.method","nginx.access.url","nginx.access.http_version","nginx.access.referrer","nginx.access.agent","nginx.access.user_agent.device","nginx.access.user_agent.patch","nginx.access.user_agent.name","nginx.access.user_agent.os","nginx.access.user_agent.os_name","nginx.access.geoip.continent_name","nginx.access.geoip.country_iso_code","nginx.access.geoip.region_name","nginx.access.geoip.city_name","nginx.error.level","nginx.error.message","osquery.result.name","osquery.result.action","osquery.result.host_identifier","osquery.result.calendar_time","postgresql.log.timestamp","postgresql.log.timezone","postgresql.log.user","postgresql.log.database","postgresql.log.level","postgresql.log.query","postgresql.log.message","redis.log.role","redis.log.level","redis.log.message","redis.slowlog.cmd","redis.slowlog.key","redis.slowlog.args","system.auth.timestamp","system.auth.hostname","system.auth.program","system.auth.message","system.auth.user","system.auth.ssh.event","system.auth.ssh.method","system.auth.ssh.signature","system.auth.ssh.geoip.continent_name","system.auth.ssh.geoip.city_name","system.auth.ssh.geoip.region_name","system.auth.ssh.geoip.country_iso_code","system.auth.sudo.error","system.auth.sudo.tty","system.auth.sudo.pwd","system.auth.sudo.user","system.auth.sudo.command","system.auth.useradd.name","system.auth.useradd.home","system.auth.useradd.shell","system.auth.groupadd.name","system.syslog.timestamp","system.syslog.hostname","system.syslog.program","system.syslog.pid","system.syslog.message","traefik.access.remote_ip","traefik.access.user_name","traefik.access.method","traefik.access.url","traefik.access.http_version","traefik.access.referrer","traefik.access.agent","traefik.access.user_agent.device","traefik.access.user_agent.patch","traefik.access.user_agent.name","traefik.access.user_agent.os","traefik.access.user_agent.os_name","traefik.access.geoip.continent_name","traefik.access.geoip.country_iso_code","traefik.access.geoip.region_name","traefik.access.geoip.city_name","traefik.access.frontend_name","traefik.access.backend_url","fields.*"]},"refresh_interval":"5s"}}
[00:51:29]                   │ info [x-pack/test/functional/es_archives/infra/metrics_and_logs] Indexed 11063 docs into "metricbeat-7.0.0-alpha1-2018.10.17"
[00:51:29]                   │ info [x-pack/test/functional/es_archives/infra/metrics_and_logs] Indexed 1632 docs into "filebeat-7.0.0-alpha1-2018.10.17"
[00:51:30]                 └-> should have save and load controls
[00:51:30]                   └-> "before each" hook: global before each for "should have save and load controls"
[00:51:30]                   │ debg navigating to infraOps url: http://localhost:61231/app/metrics
[00:51:30]                   │ debg navigate to: http://localhost:61231/app/metrics
[00:51:30]                   │ debg browser[INFO] http://localhost:61231/app/metrics?_t=1627383498074 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:51:30]                   │
[00:51:30]                   │ debg browser[INFO] http://localhost:61231/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:51:31]                   │ debg ... sleep(700) start
[00:51:31]                   │ debg ... sleep(700) end
[00:51:31]                   │ debg returned from get, calling refresh
[00:51:32]                   │ debg browser[INFO] http://localhost:61231/app/metrics/inventory?_t=1627383498074&waffleFilter=(expression:%27%27,kind:kuery)&waffleTime=(currentTime:1627383499160,isAutoReloading:!f)&waffleOptions=(accountId:%27%27,autoBounds:!t,boundsOverride:(max:1,min:0),customMetrics:!(),customOptions:!(),groupBy:!(),legend:(palette:cool,reverseColors:!f,steps:10),metric:(type:cpu),nodeType:host,region:%27%27,sort:(by:name,direction:desc),view:map) 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:51:32]                   │
[00:51:32]                   │ debg browser[INFO] http://localhost:61231/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:51:32]                   │ debg currentUrl = http://localhost:61231/app/metrics/inventory?waffleFilter=(expression%3A''%2Ckind%3Akuery)&waffleTime=(currentTime%3A1627383499160%2CisAutoReloading%3A!f)&waffleOptions=(accountId%3A''%2CautoBounds%3A!t%2CboundsOverride%3A(max%3A1%2Cmin%3A0)%2CcustomMetrics%3A!()%2CcustomOptions%3A!()%2CgroupBy%3A!()%2Clegend%3A(palette%3Acool%2CreverseColors%3A!f%2Csteps%3A10)%2Cmetric%3A(type%3Acpu)%2CnodeType%3Ahost%2Cregion%3A''%2Csort%3A(by%3Aname%2Cdirection%3Adesc)%2Cview%3Amap)
[00:51:32]                   │          appUrl = http://localhost:61231/app/metrics
[00:51:32]                   │ debg TestSubjects.find(kibanaChrome)
[00:51:32]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:51:33]                   │ debg ... sleep(501) start
[00:51:33]                   │ debg ... sleep(501) end
[00:51:33]                   │ debg in navigateTo url = http://localhost:61231/app/metrics/inventory?waffleFilter=(expression%3A''%2Ckind%3Akuery)&waffleTime=(currentTime%3A1627383499160%2CisAutoReloading%3A!f)&waffleOptions=(accountId%3A''%2CautoBounds%3A!t%2CboundsOverride%3A(max%3A1%2Cmin%3A0)%2CcustomMetrics%3A!()%2CcustomOptions%3A!()%2CgroupBy%3A!()%2Clegend%3A(palette%3Acool%2CreverseColors%3A!f%2Csteps%3A10)%2Cmetric%3A(type%3Acpu)%2CnodeType%3Ahost%2Cregion%3A''%2Csort%3A(by%3Aname%2Cdirection%3Adesc)%2Csource%3Aurl%2Cview%3Amap)
[00:51:33]                   │ debg Find.findByCssSelector('[data-test-subj="waffleDatePicker"] .euiDatePicker.euiFieldText') with timeout=10000
[00:51:38]                   │ debg TestSubjects.find(savedViews-openPopover)
[00:51:38]                   │ debg Find.findByCssSelector('[data-test-subj="savedViews-openPopover"]') with timeout=10000
[00:51:38]                   │ debg TestSubjects.find(savedViews-currentViewName)
[00:51:38]                   │ debg Find.findByCssSelector('[data-test-subj="savedViews-currentViewName"]') with timeout=10000
[00:51:38]                   │ info Taking screenshot "/dev/shm/workspace/parallel/23/kibana/x-pack/test/functional/screenshots/failure/InfraOps App Metrics UI Home page Saved Views should have save and load controls.png"
[00:51:38]                   │ info Current URL is: http://localhost:61231/app/metrics/inventory?waffleFilter=(expression%3A''%2Ckind%3Akuery)&waffleTime=(currentTime%3A1539806283000%2CisAutoReloading%3A!f)&waffleOptions=(accountId%3A''%2CautoBounds%3A!t%2CboundsOverride%3A(max%3A1%2Cmin%3A0)%2CcustomMetrics%3A!()%2CcustomOptions%3A!()%2CgroupBy%3A!()%2Clegend%3A(palette%3Acool%2CreverseColors%3A!f%2Csteps%3A10)%2Cmetric%3A(type%3Acpu)%2CnodeType%3Ahost%2Cregion%3A''%2Csort%3A(by%3Aname%2Cdirection%3Adesc)%2Csource%3Aurl%2Cview%3Amap)
[00:51:38]                   │ info Saving page source to: /dev/shm/workspace/parallel/23/kibana/x-pack/test/functional/failure_debug/html/InfraOps App Metrics UI Home page Saved Views should have save and load controls.html
[00:51:38]                   └- ✖ fail: InfraOps App Metrics UI Home page Saved Views should have save and load controls
[00:51:38]                   │      Error: expected 'No view selected' to equal 'Default view'
[00:51:38]                   │       at Assertion.assert (/dev/shm/workspace/parallel/23/kibana/node_modules/@kbn/expect/expect.js:100:11)
[00:51:38]                   │       at Assertion.be.Assertion.equal (/dev/shm/workspace/parallel/23/kibana/node_modules/@kbn/expect/expect.js:227:8)
[00:51:38]                   │       at Assertion.be (/dev/shm/workspace/parallel/23/kibana/node_modules/@kbn/expect/expect.js:69:22)
[00:51:38]                   │       at Object.ensureViewIsLoaded (test/functional/page_objects/infra_saved_views.ts:78:49)
[00:51:38]                   │       at runMicrotasks (<anonymous>)
[00:51:38]                   │       at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:51:38]                   │       at Context.<anonymous> (test/functional/apps/infra/home_page.ts:96:9)
[00:51:38]                   │       at Object.apply (/dev/shm/workspace/parallel/23/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:51:38]                   │ 
[00:51:38]                   │ 

Stack Trace

Error: expected 'No view selected' to equal 'Default view'
    at Assertion.assert (/dev/shm/workspace/parallel/23/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.be.Assertion.equal (/dev/shm/workspace/parallel/23/kibana/node_modules/@kbn/expect/expect.js:227:8)
    at Assertion.be (/dev/shm/workspace/parallel/23/kibana/node_modules/@kbn/expect/expect.js:69:22)
    at Object.ensureViewIsLoaded (test/functional/page_objects/infra_saved_views.ts:78:49)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at Context.<anonymous> (test/functional/apps/infra/home_page.ts:96:9)
    at Object.apply (/dev/shm/workspace/parallel/23/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

Copy link
Contributor

@liza-mae liza-mae left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Feature:TimelionApp release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.15.0 v8.0.0
Projects
None yet
4 participants