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

[RAC] [Observability] Disable RAC feature flags again #111264

Closed

Conversation

weltenwort
Copy link
Member

📝 Summary

This changes the default values for the three Observability RAC feature flags to be disabled by default.

Reverts #109113

@weltenwort weltenwort added v8.0.0 Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services release_note:skip Skip the PR/issue when compiling release notes auto-backport Deprecated - use backport:version if exact versions are needed Theme: rac label obsolete v7.15.0 v7.16.0 labels Sep 6, 2021
@weltenwort weltenwort self-assigned this Sep 6, 2021
@kibanamachine
Copy link
Contributor

kibanamachine commented Sep 6, 2021

💔 Build Failed

Failed CI Steps


Test Failures

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/uptime/feature_controls/uptime_security·ts.Uptime app with real-world data feature controls security global uptime all privileges shows uptime navlink

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 1 times on tracked branches: https://dryrun

[00:00:00]       │
[00:00:00]         └-: Uptime app
[00:00:00]           └-> "before all" hook in "Uptime app"
[00:06:16]           └-: with real-world data
[00:06:16]             └-> "before all" hook in "with real-world data"
[00:06:16]             └-> "before all" hook in "with real-world data"
[00:06:16]               │ info [x-pack/test/functional/es_archives/uptime/full_heartbeat] Unloading indices from "mappings.json"
[00:06:16]               │ info [x-pack/test/functional/es_archives/uptime/full_heartbeat] Unloading indices from "data.json.gz"
[00:06:16]               │ info [x-pack/test/functional/es_archives/uptime/full_heartbeat] Loading "mappings.json"
[00:06:16]               │ info [x-pack/test/functional/es_archives/uptime/full_heartbeat] Loading "data.json.gz"
[00:06:16]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [heartbeat-8-full-test] creating index, cause [api], templates [], shards [1]/[1]
[00:06:16]               │ info [x-pack/test/functional/es_archives/uptime/full_heartbeat] Created index "heartbeat-8-full-test"
[00:06:16]               │ debg [x-pack/test/functional/es_archives/uptime/full_heartbeat] "heartbeat-8-full-test" settings {"index":{"mapping":{"total_fields":{"limit":"10000"}},"number_of_replicas":"1","number_of_shards":"1","query":{"default_field":["message","tags","agent.ephemeral_id","agent.id","agent.name","agent.type","agent.version","as.organization.name","client.address","client.as.organization.name","client.domain","client.geo.city_name","client.geo.continent_name","client.geo.country_iso_code","client.geo.country_name","client.geo.name","client.geo.region_iso_code","client.geo.region_name","client.mac","client.user.domain","client.user.email","client.user.full_name","client.user.group.id","client.user.group.name","client.user.hash","client.user.id","client.user.name","cloud.account.id","cloud.availability_zone","cloud.instance.id","cloud.instance.name","cloud.machine.type","cloud.provider","cloud.region","container.id","container.image.name","container.image.tag","container.name","container.runtime","destination.address","destination.as.organization.name","destination.domain","destination.geo.city_name","destination.geo.continent_name","destination.geo.country_iso_code","destination.geo.country_name","destination.geo.name","destination.geo.region_iso_code","destination.geo.region_name","destination.mac","destination.user.domain","destination.user.email","destination.user.full_name","destination.user.group.id","destination.user.group.name","destination.user.hash","destination.user.id","destination.user.name","dns.answers.class","dns.answers.data","dns.answers.name","dns.answers.type","dns.header_flags","dns.id","dns.op_code","dns.question.class","dns.question.name","dns.question.registered_domain","dns.question.type","dns.response_code","dns.type","ecs.version","error.code","error.id","error.message","event.action","event.category","event.code","event.dataset","event.hash","event.id","event.kind","event.module","event.original","event.outcome","event.provider","event.timezone","event.type","file.device","file.directory","file.extension","file.gid","file.group","file.hash.md5","file.hash.sha1","file.hash.sha256","file.hash.sha512","file.inode","file.mode","file.name","file.owner","file.path","file.target_path","file.type","file.uid","geo.city_name","geo.continent_name","geo.country_iso_code","geo.country_name","geo.name","geo.region_iso_code","geo.region_name","group.id","group.name","hash.md5","hash.sha1","hash.sha256","hash.sha512","host.architecture","host.geo.city_name","host.geo.continent_name","host.geo.country_iso_code","host.geo.country_name","host.geo.name","host.geo.region_iso_code","host.geo.region_name","host.hostname","host.id","host.mac","host.name","host.os.family","host.os.full","host.os.kernel","host.os.name","host.os.platform","host.os.version","host.type","host.user.domain","host.user.email","host.user.full_name","host.user.group.id","host.user.group.name","host.user.hash","host.user.id","host.user.name","http.request.body.content","http.request.method","http.request.referrer","http.response.body.content","http.version","log.level","log.logger","log.original","network.application","network.community_id","network.direction","network.iana_number","network.name","network.protocol","network.transport","network.type","observer.geo.city_name","observer.geo.continent_name","observer.geo.country_iso_code","observer.geo.country_name","observer.geo.name","observer.geo.region_iso_code","observer.geo.region_name","observer.hostname","observer.mac","observer.os.family","observer.os.full","observer.os.kernel","observer.os.name","observer.os.platform","observer.os.version","observer.serial_number","observer.type","observer.vendor","observer.version","organization.id","organization.name","os.family","os.full","os.kernel","os.name","os.platform","os.version","process.args","process.executable","process.hash.md5","process.hash.sha1","process.hash.sha256","process.hash.sha512","process.name","process.thread.name","process.title","process.working_directory","server.address","server.as.organization.name","server.domain","server.geo.city_name","server.geo.continent_name","server.geo.country_iso_code","server.geo.country_name","server.geo.name","server.geo.region_iso_code","server.geo.region_name","server.mac","server.user.domain","server.user.email","server.user.full_name","server.user.group.id","server.user.group.name","server.user.hash","server.user.id","server.user.name","service.ephemeral_id","service.id","service.name","service.state","service.type","service.version","source.address","source.as.organization.name","source.domain","source.geo.city_name","source.geo.continent_name","source.geo.country_iso_code","source.geo.country_name","source.geo.name","source.geo.region_iso_code","source.geo.region_name","source.mac","source.user.domain","source.user.email","source.user.full_name","source.user.group.id","source.user.group.name","source.user.hash","source.user.id","source.user.name","tracing.trace.id","tracing.transaction.id","url.domain","url.fragment","url.full","url.original","url.password","url.path","url.query","url.scheme","url.username","user.domain","user.email","user.full_name","user.group.id","user.group.name","user.hash","user.id","user.name","user_agent.device.name","user_agent.name","user_agent.original","user_agent.os.family","user_agent.os.full","user_agent.os.kernel","user_agent.os.name","user_agent.os.platform","user_agent.os.version","user_agent.version","agent.hostname","error.type","timeseries.instance","cloud.project.id","cloud.image.id","host.os.build","host.os.codename","kubernetes.pod.name","kubernetes.pod.uid","kubernetes.namespace","kubernetes.node.name","kubernetes.replicaset.name","kubernetes.deployment.name","kubernetes.statefulset.name","kubernetes.container.name","kubernetes.container.image","jolokia.agent.version","jolokia.agent.id","jolokia.server.product","jolokia.server.version","jolokia.server.vendor","jolokia.url","monitor.type","monitor.name","monitor.id","monitor.status","monitor.check_group","http.response.body.hash","fields.*"]},"refresh_interval":"5s"}}
[00:06:17]               │ info [x-pack/test/functional/es_archives/uptime/full_heartbeat] Indexed 2000 docs into "heartbeat-8-full-test"
[00:06:17]               │ debg replacing kibana config doc: {"dateFormat:tz":"UTC"}
[00:06:17]               │ debg TestSubjects.exists(uptimeSettingsToOverviewLink)
[00:06:17]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeSettingsToOverviewLink"]') with timeout=0
[00:06:17]               │ debg --- retry.tryForTime error: [data-test-subj="uptimeSettingsToOverviewLink"] is not displayed
[00:06:18]               │ debg navigating to uptime url: http://localhost:61191/app/uptime
[00:06:18]               │ debg navigate to: http://localhost:61191/app/uptime
[00:06:18]               │ debg browser[INFO] http://localhost:61191/app/uptime?_t=1630923381603 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:06:18]               │
[00:06:18]               │ debg browser[INFO] http://localhost:61191/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:18]               │ debg ... sleep(700) start
[00:06:19]               │ debg ... sleep(700) end
[00:06:19]               │ debg returned from get, calling refresh
[00:06:20]               │ERROR browser[SEVERE] http://localhost:61191/45998/bundles/core/core.entry.js 12:150692 TypeError: Failed to fetch
[00:06:20]               │          at fetch_Fetch.fetchResponse (http://localhost:61191/45998/bundles/core/core.entry.js:6:28359)
[00:06:20]               │          at async http://localhost:61191/45998/bundles/core/core.entry.js:6:26148
[00:06:20]               │          at async http://localhost:61191/45998/bundles/core/core.entry.js:6:26054
[00:06:20]               │ debg browser[INFO] http://localhost:61191/app/uptime?_t=1630923381603 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:06:20]               │
[00:06:20]               │ debg browser[INFO] http://localhost:61191/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:20]               │ debg currentUrl = http://localhost:61191/app/uptime
[00:06:20]               │          appUrl = http://localhost:61191/app/uptime
[00:06:20]               │ debg TestSubjects.find(kibanaChrome)
[00:06:20]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:06:20]               │ debg ... sleep(501) start
[00:06:21]               │ debg ... sleep(501) end
[00:06:21]               │ debg in navigateTo url = http://localhost:61191/app/uptime
[00:06:21]               │ debg isGlobalLoadingIndicatorVisible
[00:06:21]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:21]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:22]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:06:23]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:23]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:23]               │ debg TestSubjects.exists(uptimeOverviewPage)
[00:06:23]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeOverviewPage"]') with timeout=2000
[00:07:07]             └-: feature controls
[00:07:07]               └-> "before all" hook in "feature controls"
[00:07:07]               └-: security
[00:07:07]                 └-> "before all" hook in "security"
[00:07:07]                 └-> "before all" hook in "security"
[00:07:07]                   │ info [x-pack/test/functional/es_archives/empty_kibana] Loading "mappings.json"
[00:07:07]                   │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_8.0.0_001/REv6simQQxWuLpVKVeq5aA] deleting index
[00:07:07]                   │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_task_manager_8.0.0_001/SxrVZ_O-TACvBHEnEipWtQ] deleting index
[00:07:07]                   │ info [x-pack/test/functional/es_archives/empty_kibana] Deleted existing index ".kibana_8.0.0_001"
[00:07:07]                   │ info [x-pack/test/functional/es_archives/empty_kibana] Deleted existing index ".kibana_task_manager_8.0.0_001"
[00:07:07]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:07:07]                   │ info [x-pack/test/functional/es_archives/empty_kibana] Created index ".kibana_1"
[00:07:07]                   │ debg [x-pack/test/functional/es_archives/empty_kibana] ".kibana_1" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:07:07]                   │ debg Migrating saved objects
[00:07:07]                   │ proc [kibana]   log   [10:17:10.970] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET. took: 4ms.
[00:07:07]                   │ proc [kibana]   log   [10:17:10.974] [info][savedobjects-service] [.kibana] INIT -> WAIT_FOR_YELLOW_SOURCE. took: 10ms.
[00:07:07]                   │ proc [kibana]   log   [10:17:10.977] [info][savedobjects-service] [.kibana] WAIT_FOR_YELLOW_SOURCE -> CHECK_UNKNOWN_DOCUMENTS. took: 3ms.
[00:07:07]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_task_manager_8.0.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:07:07]                   │ 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:07:07]                   │ proc [kibana]   log   [10:17:10.982] [info][savedobjects-service] [.kibana] CHECK_UNKNOWN_DOCUMENTS -> SET_SOURCE_WRITE_BLOCK. took: 5ms.
[00:07:07]                   │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_1/twbJvb2SQg2BPQ5p4wVWSQ]]
[00:07:07]                   │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_1]
[00:07:07]                   │ proc [kibana]   log   [10:17:11.103] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY. took: 133ms.
[00:07:07]                   │ proc [kibana]   log   [10:17:11.129] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CALCULATE_EXCLUDE_FILTERS. took: 147ms.
[00:07:07]                   │ proc [kibana]   log   [10:17:11.133] [info][savedobjects-service] [.kibana] CALCULATE_EXCLUDE_FILTERS -> CREATE_REINDEX_TEMP. took: 4ms.
[00:07:07]                   │ proc [kibana]   log   [10:17:11.159] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE. took: 56ms.
[00:07:07]                   │ proc [kibana]   log   [10:17:11.160] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 194ms
[00:07:07]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:07:07]                   │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_8.0.0_reindex_temp]
[00:07:07]                   │ proc [kibana]   log   [10:17:11.231] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP_OPEN_PIT. took: 98ms.
[00:07:07]                   │ proc [kibana]   log   [10:17:11.255] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_OPEN_PIT -> REINDEX_SOURCE_TO_TEMP_READ. took: 24ms.
[00:07:07]                   │ proc [kibana]   log   [10:17:11.265] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_CLOSE_PIT. took: 10ms.
[00:07:08]                   │ proc [kibana]   log   [10:17:11.271] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_CLOSE_PIT -> SET_TEMP_WRITE_BLOCK. took: 6ms.
[00:07:08]                   │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_8.0.0_reindex_temp/ScEFclHySYC3aVzStkAgAQ]]
[00:07:08]                   │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_8.0.0_reindex_temp]
[00:07:08]                   │ proc [kibana]   log   [10:17:11.339] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET. took: 68ms.
[00:07:08]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] applying create index request using existing index [.kibana_8.0.0_reindex_temp] metadata
[00:07:08]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:07:08]                   │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_8.0.0_001]
[00:07:08]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/CfhFAw_MRlS44VjX3_nqaA] create_mapping
[00:07:08]                   │ proc [kibana]   log   [10:17:11.476] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> REFRESH_TARGET. took: 137ms.
[00:07:08]                   │ proc [kibana]   log   [10:17:11.479] [info][savedobjects-service] [.kibana] REFRESH_TARGET -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 3ms.
[00:07:08]                   │ proc [kibana]   log   [10:17:11.482] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 3ms.
[00:07:08]                   │ proc [kibana]   log   [10:17:11.487] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 5ms.
[00:07:08]                   │ proc [kibana]   log   [10:17:11.488] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 1ms.
[00:07:08]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/CfhFAw_MRlS44VjX3_nqaA] update_mapping [_doc]
[00:07:08]                   │ proc [kibana]   log   [10:17:11.553] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 65ms.
[00:07:08]                   │ info [o.e.t.LoggingTaskListener] [node-01] 21819 finished with response BulkByScrollResponse[took=1.6ms,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:07:08]                   │ proc [kibana]   log   [10:17:11.565] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY. took: 12ms.
[00:07:08]                   │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_8.0.0_reindex_temp/ScEFclHySYC3aVzStkAgAQ] deleting index
[00:07:08]                   │ proc [kibana]   log   [10:17:11.636] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE. took: 71ms.
[00:07:08]                   │ proc [kibana]   log   [10:17:11.637] [info][savedobjects-service] [.kibana] Migration completed after 673ms
[00:07:08]                   │ debg [x-pack/test/functional/es_archives/empty_kibana] Migrated Kibana index after loading Kibana data
[00:07:09]                   │ debg [x-pack/test/functional/es_archives/empty_kibana] Ensured that default space exists in .kibana
[00:07:09]                   │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true,"visualization:visualize:legacyPieChartsLibrary":true}
[00:07:09]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/CfhFAw_MRlS44VjX3_nqaA] update_mapping [_doc]
[00:07:11]                   │ debg SecurityPage.forceLogout
[00:07:11]                   │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:07:11]                   │ debg --- retry.tryForTime error: .login-form is not displayed
[00:07:11]                   │ debg Redirecting to /logout to force the logout
[00:07:11]                   │ debg Waiting on the login form to appear
[00:07:11]                   │ debg Waiting for Login Page to appear.
[00:07:11]                   │ debg Waiting up to 100000ms for login page...
[00:07:11]                   │ debg browser[INFO] http://localhost:61191/logout?_t=1630923435063 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:07:11]                   │
[00:07:11]                   │ debg browser[INFO] http://localhost:61191/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:11]                   │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:07:14]                   │ERROR browser[SEVERE] http://localhost:61191/api/alerts/list_alert_types - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:07:14]                   │ debg browser[INFO] http://localhost:61191/45998/bundles/core/core.entry.js 12:151612 "Detected an unhandled Promise rejection.
[00:07:14]                   │      Error: Unauthorized"
[00:07:14]                   │ERROR browser[SEVERE] http://localhost:61191/45998/bundles/core/core.entry.js 5:2752 
[00:07:14]                   │ debg browser[INFO] http://localhost:61191/login?msg=LOGGED_OUT 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:07:14]                   │
[00:07:14]                   │ debg browser[INFO] http://localhost:61191/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:14]                   │ debg --- retry.tryForTime error: .login-form is not displayed
[00:07:14]                   │ERROR browser[SEVERE] http://localhost:61191/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:07:15]                   │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:07:15]                 └-: global uptime all privileges
[00:07:15]                   └-> "before all" hook for "shows uptime navlink"
[00:07:15]                   └-> "before all" hook for "shows uptime navlink"
[00:07:15]                     │ debg creating role global_uptime_all_role
[00:07:15]                     │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [global_uptime_all_role]
[00:07:15]                     │ debg creating user global_uptime_all_user
[00:07:15]                     │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [global_uptime_all_user]
[00:07:15]                     │ debg created user global_uptime_all_user
[00:07:15]                     │ debg TestSubjects.exists(loginForm)
[00:07:15]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:07:15]                     │ debg Waiting for Login Form to appear.
[00:07:15]                     │ debg Waiting up to 100000ms for login form...
[00:07:15]                     │ debg TestSubjects.exists(loginForm)
[00:07:15]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:07:15]                     │ debg TestSubjects.setValue(loginUsername, global_uptime_all_user)
[00:07:15]                     │ debg TestSubjects.click(loginUsername)
[00:07:15]                     │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:07:15]                     │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:07:16]                     │ debg TestSubjects.setValue(loginPassword, global_uptime_all_user-password)
[00:07:16]                     │ debg TestSubjects.click(loginPassword)
[00:07:16]                     │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:07:16]                     │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:07:16]                     │ debg TestSubjects.click(loginSubmit)
[00:07:16]                     │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:07:16]                     │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:07:16]                     │ debg Waiting for login result, expected: undefined.
[00:07:16]                     │ debg Waiting up to 20000ms for logout button visible...
[00:07:16]                     │ debg TestSubjects.exists(userMenuButton)
[00:07:16]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:07:16]                     │ proc [kibana]   log   [10:17:19.584] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:07:18]                     │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/CfhFAw_MRlS44VjX3_nqaA] update_mapping [_doc]
[00:07:18]                     │ debg browser[INFO] http://localhost:61191/app/home 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:07:18]                     │
[00:07:18]                     │ debg browser[INFO] http://localhost:61191/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:18]                     │ debg TestSubjects.exists(userMenu)
[00:07:18]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:07:20]                     │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:07:21]                     │ debg TestSubjects.click(userMenuButton)
[00:07:21]                     │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:07:21]                     │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:07:21]                     │ debg TestSubjects.exists(userMenu)
[00:07:21]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=120000
[00:07:21]                     │ debg TestSubjects.exists(userMenu > logoutLink)
[00:07:21]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:07:21]                   └-> shows uptime navlink
[00:07:21]                     └-> "before each" hook: global before each for "shows uptime navlink"
[00:07:21]                     └-> "before each" hook: delete settings for "shows uptime navlink"
[00:07:21]                       │ debg Deleting saved object {
[00:07:21]                       │        type: 'uptime-dynamic-settings',
[00:07:21]                       │        id: 'uptime-dynamic-settings-singleton'
[00:07:21]                       │      }/%s
[00:07:22]                     │ debg isGlobalLoadingIndicatorVisible
[00:07:22]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:07:22]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:07:23]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:07:24]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:07:24]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:07:24]                     │ debg TestSubjects.exists(collapsibleNav)
[00:07:24]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=2500
[00:07:26]                     │ debg --- retry.tryForTime error: [data-test-subj="collapsibleNav"] is not displayed
[00:07:27]                     │ debg TestSubjects.click(toggleNavButton)
[00:07:27]                     │ debg Find.clickByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:07:27]                     │ debg Find.findByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:07:27]                     │ debg TestSubjects.find(collapsibleNav)
[00:07:27]                     │ debg Find.findByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=10000
[00:07:27]                     │ debg Find.existsByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=2500
[00:07:27]                     │ debg Find.findByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:07:27]                     │ debg Find.clickByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:07:27]                     │ debg Find.findByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:07:27]                     │ info Taking screenshot "/dev/shm/workspace/parallel/19/kibana/x-pack/test/functional/screenshots/failure/Uptime app with real-world data feature controls security global uptime all privileges shows uptime navlink.png"
[00:07:27]                     │ info Current URL is: http://localhost:61191/app/home#/
[00:07:27]                     │ info Saving page source to: /dev/shm/workspace/parallel/19/kibana/x-pack/test/functional/failure_debug/html/Uptime app with real-world data feature controls security global uptime all privileges shows uptime navlink.html
[00:07:27]                     └- ✖ fail: Uptime app with real-world data feature controls security global uptime all privileges shows uptime navlink
[00:07:27]                     │       Error: expected [ 'Overview', 'Alerts', 'Uptime', 'Stack Management' ] to sort of equal [ 'Overview', 'Uptime', 'Stack Management' ]
[00:07:27]                     │       + expected - actual
[00:07:27]                     │ 
[00:07:27]                     │        [
[00:07:27]                     │          "Overview"
[00:07:27]                     │       -  "Alerts"
[00:07:27]                     │          "Uptime"
[00:07:27]                     │          "Stack Management"
[00:07:27]                     │        ]
[00:07:27]                     │       
[00:07:27]                     │       at Assertion.assert (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/expect/expect.js:100:11)
[00:07:27]                     │       at Assertion.eql (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/expect/expect.js:244:8)
[00:07:27]                     │       at Context.<anonymous> (test/functional/apps/uptime/feature_controls/uptime_security.ts:69:54)
[00:07:27]                     │       at runMicrotasks (<anonymous>)
[00:07:27]                     │       at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:07:27]                     │       at Object.apply (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:07:27]                     │ 
[00:07:27]                     │ 

Stack Trace

Error: expected [ 'Overview', 'Alerts', 'Uptime', 'Stack Management' ] to sort of equal [ 'Overview', 'Uptime', 'Stack Management' ]
    at Assertion.assert (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/expect/expect.js:244:8)
    at Context.<anonymous> (test/functional/apps/uptime/feature_controls/uptime_security.ts:69:54)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at Object.apply (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16) {
  actual: '[\n  "Overview"\n  "Alerts"\n  "Uptime"\n  "Stack Management"\n]',
  expected: '[\n  "Overview"\n  "Uptime"\n  "Stack Management"\n]',
  showDiff: true
}

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/uptime/feature_controls/uptime_security·ts.Uptime app with real-world data feature controls security global uptime all privileges shows uptime navlink

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:06:20]           └-: with real-world data
[00:06:20]             └-> "before all" hook in "with real-world data"
[00:06:20]             └-> "before all" hook in "with real-world data"
[00:06:20]               │ info [x-pack/test/functional/es_archives/uptime/full_heartbeat] Unloading indices from "mappings.json"
[00:06:20]               │ info [x-pack/test/functional/es_archives/uptime/full_heartbeat] Unloading indices from "data.json.gz"
[00:06:20]               │ info [x-pack/test/functional/es_archives/uptime/full_heartbeat] Loading "mappings.json"
[00:06:20]               │ info [x-pack/test/functional/es_archives/uptime/full_heartbeat] Loading "data.json.gz"
[00:06:20]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [heartbeat-8-full-test] creating index, cause [api], templates [], shards [1]/[1]
[00:06:20]               │ info [x-pack/test/functional/es_archives/uptime/full_heartbeat] Created index "heartbeat-8-full-test"
[00:06:20]               │ debg [x-pack/test/functional/es_archives/uptime/full_heartbeat] "heartbeat-8-full-test" settings {"index":{"mapping":{"total_fields":{"limit":"10000"}},"number_of_replicas":"1","number_of_shards":"1","query":{"default_field":["message","tags","agent.ephemeral_id","agent.id","agent.name","agent.type","agent.version","as.organization.name","client.address","client.as.organization.name","client.domain","client.geo.city_name","client.geo.continent_name","client.geo.country_iso_code","client.geo.country_name","client.geo.name","client.geo.region_iso_code","client.geo.region_name","client.mac","client.user.domain","client.user.email","client.user.full_name","client.user.group.id","client.user.group.name","client.user.hash","client.user.id","client.user.name","cloud.account.id","cloud.availability_zone","cloud.instance.id","cloud.instance.name","cloud.machine.type","cloud.provider","cloud.region","container.id","container.image.name","container.image.tag","container.name","container.runtime","destination.address","destination.as.organization.name","destination.domain","destination.geo.city_name","destination.geo.continent_name","destination.geo.country_iso_code","destination.geo.country_name","destination.geo.name","destination.geo.region_iso_code","destination.geo.region_name","destination.mac","destination.user.domain","destination.user.email","destination.user.full_name","destination.user.group.id","destination.user.group.name","destination.user.hash","destination.user.id","destination.user.name","dns.answers.class","dns.answers.data","dns.answers.name","dns.answers.type","dns.header_flags","dns.id","dns.op_code","dns.question.class","dns.question.name","dns.question.registered_domain","dns.question.type","dns.response_code","dns.type","ecs.version","error.code","error.id","error.message","event.action","event.category","event.code","event.dataset","event.hash","event.id","event.kind","event.module","event.original","event.outcome","event.provider","event.timezone","event.type","file.device","file.directory","file.extension","file.gid","file.group","file.hash.md5","file.hash.sha1","file.hash.sha256","file.hash.sha512","file.inode","file.mode","file.name","file.owner","file.path","file.target_path","file.type","file.uid","geo.city_name","geo.continent_name","geo.country_iso_code","geo.country_name","geo.name","geo.region_iso_code","geo.region_name","group.id","group.name","hash.md5","hash.sha1","hash.sha256","hash.sha512","host.architecture","host.geo.city_name","host.geo.continent_name","host.geo.country_iso_code","host.geo.country_name","host.geo.name","host.geo.region_iso_code","host.geo.region_name","host.hostname","host.id","host.mac","host.name","host.os.family","host.os.full","host.os.kernel","host.os.name","host.os.platform","host.os.version","host.type","host.user.domain","host.user.email","host.user.full_name","host.user.group.id","host.user.group.name","host.user.hash","host.user.id","host.user.name","http.request.body.content","http.request.method","http.request.referrer","http.response.body.content","http.version","log.level","log.logger","log.original","network.application","network.community_id","network.direction","network.iana_number","network.name","network.protocol","network.transport","network.type","observer.geo.city_name","observer.geo.continent_name","observer.geo.country_iso_code","observer.geo.country_name","observer.geo.name","observer.geo.region_iso_code","observer.geo.region_name","observer.hostname","observer.mac","observer.os.family","observer.os.full","observer.os.kernel","observer.os.name","observer.os.platform","observer.os.version","observer.serial_number","observer.type","observer.vendor","observer.version","organization.id","organization.name","os.family","os.full","os.kernel","os.name","os.platform","os.version","process.args","process.executable","process.hash.md5","process.hash.sha1","process.hash.sha256","process.hash.sha512","process.name","process.thread.name","process.title","process.working_directory","server.address","server.as.organization.name","server.domain","server.geo.city_name","server.geo.continent_name","server.geo.country_iso_code","server.geo.country_name","server.geo.name","server.geo.region_iso_code","server.geo.region_name","server.mac","server.user.domain","server.user.email","server.user.full_name","server.user.group.id","server.user.group.name","server.user.hash","server.user.id","server.user.name","service.ephemeral_id","service.id","service.name","service.state","service.type","service.version","source.address","source.as.organization.name","source.domain","source.geo.city_name","source.geo.continent_name","source.geo.country_iso_code","source.geo.country_name","source.geo.name","source.geo.region_iso_code","source.geo.region_name","source.mac","source.user.domain","source.user.email","source.user.full_name","source.user.group.id","source.user.group.name","source.user.hash","source.user.id","source.user.name","tracing.trace.id","tracing.transaction.id","url.domain","url.fragment","url.full","url.original","url.password","url.path","url.query","url.scheme","url.username","user.domain","user.email","user.full_name","user.group.id","user.group.name","user.hash","user.id","user.name","user_agent.device.name","user_agent.name","user_agent.original","user_agent.os.family","user_agent.os.full","user_agent.os.kernel","user_agent.os.name","user_agent.os.platform","user_agent.os.version","user_agent.version","agent.hostname","error.type","timeseries.instance","cloud.project.id","cloud.image.id","host.os.build","host.os.codename","kubernetes.pod.name","kubernetes.pod.uid","kubernetes.namespace","kubernetes.node.name","kubernetes.replicaset.name","kubernetes.deployment.name","kubernetes.statefulset.name","kubernetes.container.name","kubernetes.container.image","jolokia.agent.version","jolokia.agent.id","jolokia.server.product","jolokia.server.version","jolokia.server.vendor","jolokia.url","monitor.type","monitor.name","monitor.id","monitor.status","monitor.check_group","http.response.body.hash","fields.*"]},"refresh_interval":"5s"}}
[00:06:21]               │ info [x-pack/test/functional/es_archives/uptime/full_heartbeat] Indexed 2000 docs into "heartbeat-8-full-test"
[00:06:21]               │ debg replacing kibana config doc: {"dateFormat:tz":"UTC"}
[00:06:21]               │ debg TestSubjects.exists(uptimeSettingsToOverviewLink)
[00:06:21]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeSettingsToOverviewLink"]') with timeout=0
[00:06:21]               │ debg --- retry.tryForTime error: [data-test-subj="uptimeSettingsToOverviewLink"] is not displayed
[00:06:22]               │ debg navigating to uptime url: http://localhost:61191/app/uptime
[00:06:22]               │ debg navigate to: http://localhost:61191/app/uptime
[00:06:22]               │ debg browser[INFO] http://localhost:61191/app/uptime?_t=1630922857793 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:06:22]               │
[00:06:22]               │ debg browser[INFO] http://localhost:61191/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:22]               │ debg ... sleep(700) start
[00:06:23]               │ debg ... sleep(700) end
[00:06:23]               │ debg returned from get, calling refresh
[00:06:24]               │ debg browser[INFO] http://localhost:61191/app/uptime?_t=1630922857793 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:06:24]               │
[00:06:24]               │ debg browser[INFO] http://localhost:61191/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:24]               │ debg currentUrl = http://localhost:61191/app/uptime
[00:06:24]               │          appUrl = http://localhost:61191/app/uptime
[00:06:24]               │ debg TestSubjects.find(kibanaChrome)
[00:06:24]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:06:24]               │ debg ... sleep(501) start
[00:06:25]               │ debg ... sleep(501) end
[00:06:25]               │ debg in navigateTo url = http://localhost:61191/app/uptime
[00:06:25]               │ debg isGlobalLoadingIndicatorVisible
[00:06:25]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:25]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:26]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:06:27]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:27]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:27]               │ debg TestSubjects.exists(uptimeOverviewPage)
[00:06:27]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeOverviewPage"]') with timeout=2000
[00:07:03]             └-: feature controls
[00:07:03]               └-> "before all" hook in "feature controls"
[00:07:03]               └-: security
[00:07:03]                 └-> "before all" hook in "security"
[00:07:03]                 └-> "before all" hook in "security"
[00:07:03]                   │ info [x-pack/test/functional/es_archives/empty_kibana] Loading "mappings.json"
[00:07:03]                   │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_task_manager_8.0.0_001/U77ehgSuSZeWxplPhFXWwg] deleting index
[00:07:03]                   │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_8.0.0_001/sHgpVpYiRqKEOiXZbqbn3w] deleting index
[00:07:03]                   │ info [x-pack/test/functional/es_archives/empty_kibana] Deleted existing index ".kibana_8.0.0_001"
[00:07:03]                   │ info [x-pack/test/functional/es_archives/empty_kibana] Deleted existing index ".kibana_task_manager_8.0.0_001"
[00:07:03]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:07:03]                   │ info [x-pack/test/functional/es_archives/empty_kibana] Created index ".kibana_1"
[00:07:03]                   │ debg [x-pack/test/functional/es_archives/empty_kibana] ".kibana_1" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:07:03]                   │ debg Migrating saved objects
[00:07:03]                   │ proc [kibana]   log   [10:08:19.178] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET. took: 4ms.
[00:07:03]                   │ proc [kibana]   log   [10:08:19.182] [info][savedobjects-service] [.kibana] INIT -> WAIT_FOR_YELLOW_SOURCE. took: 10ms.
[00:07:03]                   │ proc [kibana]   log   [10:08:19.185] [info][savedobjects-service] [.kibana] WAIT_FOR_YELLOW_SOURCE -> CHECK_UNKNOWN_DOCUMENTS. took: 3ms.
[00:07:03]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_task_manager_8.0.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:07:03]                   │ 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:07:03]                   │ proc [kibana]   log   [10:08:19.191] [info][savedobjects-service] [.kibana] CHECK_UNKNOWN_DOCUMENTS -> SET_SOURCE_WRITE_BLOCK. took: 6ms.
[00:07:03]                   │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_1/wUYOCvZxQQGc9mP5GWfluQ]]
[00:07:03]                   │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_1]
[00:07:03]                   │ proc [kibana]   log   [10:08:19.296] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY. took: 118ms.
[00:07:03]                   │ proc [kibana]   log   [10:08:19.325] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CALCULATE_EXCLUDE_FILTERS. took: 134ms.
[00:07:03]                   │ proc [kibana]   log   [10:08:19.331] [info][savedobjects-service] [.kibana] CALCULATE_EXCLUDE_FILTERS -> CREATE_REINDEX_TEMP. took: 6ms.
[00:07:03]                   │ proc [kibana]   log   [10:08:19.360] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE. took: 64ms.
[00:07:03]                   │ proc [kibana]   log   [10:08:19.360] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 186ms
[00:07:03]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:07:03]                   │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_8.0.0_reindex_temp]
[00:07:03]                   │ proc [kibana]   log   [10:08:19.433] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP_OPEN_PIT. took: 102ms.
[00:07:03]                   │ proc [kibana]   log   [10:08:19.456] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_OPEN_PIT -> REINDEX_SOURCE_TO_TEMP_READ. took: 23ms.
[00:07:04]                   │ proc [kibana]   log   [10:08:19.466] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_CLOSE_PIT. took: 10ms.
[00:07:04]                   │ proc [kibana]   log   [10:08:19.473] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_CLOSE_PIT -> SET_TEMP_WRITE_BLOCK. took: 7ms.
[00:07:04]                   │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_8.0.0_reindex_temp/YKl83e2wT02FWvaeYcPxvg]]
[00:07:04]                   │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_8.0.0_reindex_temp]
[00:07:04]                   │ proc [kibana]   log   [10:08:19.538] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET. took: 65ms.
[00:07:04]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] applying create index request using existing index [.kibana_8.0.0_reindex_temp] metadata
[00:07:04]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:07:04]                   │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_8.0.0_001]
[00:07:04]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/b7XzV-GlSbCtuuZ0GY8glw] create_mapping
[00:07:04]                   │ proc [kibana]   log   [10:08:19.692] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> REFRESH_TARGET. took: 154ms.
[00:07:04]                   │ proc [kibana]   log   [10:08:19.696] [info][savedobjects-service] [.kibana] REFRESH_TARGET -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 4ms.
[00:07:04]                   │ proc [kibana]   log   [10:08:19.700] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 4ms.
[00:07:04]                   │ proc [kibana]   log   [10:08:19.706] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 6ms.
[00:07:04]                   │ proc [kibana]   log   [10:08:19.708] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 2ms.
[00:07:04]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/b7XzV-GlSbCtuuZ0GY8glw] update_mapping [_doc]
[00:07:04]                   │ proc [kibana]   log   [10:08:19.781] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 73ms.
[00:07:04]                   │ info [o.e.t.LoggingTaskListener] [node-01] 21344 finished with response BulkByScrollResponse[took=2ms,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:07:04]                   │ proc [kibana]   log   [10:08:19.794] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY. took: 13ms.
[00:07:04]                   │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_8.0.0_reindex_temp/YKl83e2wT02FWvaeYcPxvg] deleting index
[00:07:04]                   │ proc [kibana]   log   [10:08:19.886] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE. took: 92ms.
[00:07:04]                   │ proc [kibana]   log   [10:08:19.887] [info][savedobjects-service] [.kibana] Migration completed after 715ms
[00:07:04]                   │ debg [x-pack/test/functional/es_archives/empty_kibana] Migrated Kibana index after loading Kibana data
[00:07:05]                   │ debg [x-pack/test/functional/es_archives/empty_kibana] Ensured that default space exists in .kibana
[00:07:05]                   │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true,"visualization:visualize:legacyPieChartsLibrary":true}
[00:07:05]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/b7XzV-GlSbCtuuZ0GY8glw] update_mapping [_doc]
[00:07:07]                   │ debg SecurityPage.forceLogout
[00:07:07]                   │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:07:07]                   │ debg --- retry.tryForTime error: .login-form is not displayed
[00:07:07]                   │ debg Redirecting to /logout to force the logout
[00:07:07]                   │ debg Waiting on the login form to appear
[00:07:07]                   │ debg Waiting for Login Page to appear.
[00:07:07]                   │ debg Waiting up to 100000ms for login page...
[00:07:07]                   │ debg browser[INFO] http://localhost:61191/logout?_t=1630922903262 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:07:07]                   │
[00:07:07]                   │ debg browser[INFO] http://localhost:61191/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:07]                   │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:07:10]                   │ERROR browser[SEVERE] http://localhost:61191/api/alerts/list_alert_types - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:07:10]                   │ debg browser[INFO] http://localhost:61191/45998/bundles/core/core.entry.js 12:151612 "Detected an unhandled Promise rejection.
[00:07:10]                   │      Error: Unauthorized"
[00:07:10]                   │ERROR browser[SEVERE] http://localhost:61191/45998/bundles/core/core.entry.js 5:2752 
[00:07:10]                   │ debg browser[INFO] http://localhost:61191/login?msg=LOGGED_OUT 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:07:10]                   │
[00:07:10]                   │ debg browser[INFO] http://localhost:61191/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:10]                   │ debg --- retry.tryForTime error: .login-form is not displayed
[00:07:10]                   │ERROR browser[SEVERE] http://localhost:61191/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:07:11]                   │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:07:11]                 └-: global uptime all privileges
[00:07:11]                   └-> "before all" hook for "shows uptime navlink"
[00:07:11]                   └-> "before all" hook for "shows uptime navlink"
[00:07:11]                     │ debg creating role global_uptime_all_role
[00:07:11]                     │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [global_uptime_all_role]
[00:07:11]                     │ debg creating user global_uptime_all_user
[00:07:11]                     │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [global_uptime_all_user]
[00:07:11]                     │ debg created user global_uptime_all_user
[00:07:11]                     │ debg TestSubjects.exists(loginForm)
[00:07:11]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:07:11]                     │ debg Waiting for Login Form to appear.
[00:07:11]                     │ debg Waiting up to 100000ms for login form...
[00:07:11]                     │ debg TestSubjects.exists(loginForm)
[00:07:11]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:07:11]                     │ debg TestSubjects.setValue(loginUsername, global_uptime_all_user)
[00:07:11]                     │ debg TestSubjects.click(loginUsername)
[00:07:11]                     │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:07:11]                     │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:07:12]                     │ debg TestSubjects.setValue(loginPassword, global_uptime_all_user-password)
[00:07:12]                     │ debg TestSubjects.click(loginPassword)
[00:07:12]                     │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:07:12]                     │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:07:12]                     │ debg TestSubjects.click(loginSubmit)
[00:07:12]                     │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:07:12]                     │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:07:12]                     │ debg Waiting for login result, expected: undefined.
[00:07:12]                     │ debg Waiting up to 20000ms for logout button visible...
[00:07:12]                     │ debg TestSubjects.exists(userMenuButton)
[00:07:12]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:07:12]                     │ proc [kibana]   log   [10:08:27.899] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:07:14]                     │ debg browser[INFO] http://localhost:61191/app/home 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:07:14]                     │
[00:07:14]                     │ debg browser[INFO] http://localhost:61191/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:14]                     │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/b7XzV-GlSbCtuuZ0GY8glw] update_mapping [_doc]
[00:07:14]                     │ debg TestSubjects.exists(userMenu)
[00:07:14]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:07:17]                     │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:07:17]                     │ debg TestSubjects.click(userMenuButton)
[00:07:17]                     │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:07:17]                     │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:07:17]                     │ debg TestSubjects.exists(userMenu)
[00:07:17]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=120000
[00:07:17]                     │ debg TestSubjects.exists(userMenu > logoutLink)
[00:07:17]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:07:17]                   └-> shows uptime navlink
[00:07:17]                     └-> "before each" hook: global before each for "shows uptime navlink"
[00:07:17]                     └-> "before each" hook: delete settings for "shows uptime navlink"
[00:07:17]                       │ debg Deleting saved object {
[00:07:17]                       │        type: 'uptime-dynamic-settings',
[00:07:17]                       │        id: 'uptime-dynamic-settings-singleton'
[00:07:17]                       │      }/%s
[00:07:18]                     │ debg isGlobalLoadingIndicatorVisible
[00:07:18]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:07:18]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:07:19]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:07:20]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:07:20]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:07:20]                     │ debg TestSubjects.exists(collapsibleNav)
[00:07:20]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=2500
[00:07:22]                     │ debg --- retry.tryForTime error: [data-test-subj="collapsibleNav"] is not displayed
[00:07:23]                     │ debg TestSubjects.click(toggleNavButton)
[00:07:23]                     │ debg Find.clickByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:07:23]                     │ debg Find.findByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:07:23]                     │ debg TestSubjects.find(collapsibleNav)
[00:07:23]                     │ debg Find.findByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=10000
[00:07:23]                     │ debg Find.existsByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=2500
[00:07:23]                     │ debg Find.findByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:07:23]                     │ debg Find.clickByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:07:23]                     │ debg Find.findByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:07:23]                     │ info Taking screenshot "/dev/shm/workspace/parallel/19/kibana/x-pack/test/functional/screenshots/failure/Uptime app with real-world data feature controls security global uptime all privileges shows uptime navlink.png"
[00:07:23]                     │ info Current URL is: http://localhost:61191/app/home#/
[00:07:23]                     │ info Saving page source to: /dev/shm/workspace/parallel/19/kibana/x-pack/test/functional/failure_debug/html/Uptime app with real-world data feature controls security global uptime all privileges shows uptime navlink.html
[00:07:23]                     └- ✖ fail: Uptime app with real-world data feature controls security global uptime all privileges shows uptime navlink
[00:07:23]                     │       Error: expected [ 'Overview', 'Alerts', 'Uptime', 'Stack Management' ] to sort of equal [ 'Overview', 'Uptime', 'Stack Management' ]
[00:07:23]                     │       + expected - actual
[00:07:23]                     │ 
[00:07:23]                     │        [
[00:07:23]                     │          "Overview"
[00:07:23]                     │       -  "Alerts"
[00:07:23]                     │          "Uptime"
[00:07:23]                     │          "Stack Management"
[00:07:23]                     │        ]
[00:07:23]                     │       
[00:07:23]                     │       at Assertion.assert (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/expect/expect.js:100:11)
[00:07:23]                     │       at Assertion.eql (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/expect/expect.js:244:8)
[00:07:23]                     │       at Context.<anonymous> (test/functional/apps/uptime/feature_controls/uptime_security.ts:69:54)
[00:07:23]                     │       at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:07:23]                     │       at Object.apply (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:07:23]                     │ 
[00:07:23]                     │ 

Stack Trace

Error: expected [ 'Overview', 'Alerts', 'Uptime', 'Stack Management' ] to sort of equal [ 'Overview', 'Uptime', 'Stack Management' ]
    at Assertion.assert (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/expect/expect.js:244:8)
    at Context.<anonymous> (test/functional/apps/uptime/feature_controls/uptime_security.ts:69:54)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at Object.apply (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16) {
  actual: '[\n  "Overview"\n  "Alerts"\n  "Uptime"\n  "Stack Management"\n]',
  expected: '[\n  "Overview"\n  "Uptime"\n  "Stack Management"\n]',
  showDiff: true
}

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/infra/feature_controls/infrastructure_security·ts.InfraOps App feature controls infrastructure security global infrastructure all privileges shows metrics navlink

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:46:37]         └-: InfraOps App
[00:46:37]           └-> "before all" hook in "InfraOps App"
[00:46:37]           └-: feature controls
[00:46:37]             └-> "before all" hook in "feature controls"
[00:46:37]             └-: infrastructure security
[00:46:37]               └-> "before all" hook in "infrastructure security"
[00:46:37]               └-: global infrastructure all privileges
[00:46:37]                 └-> "before all" hook for "shows metrics navlink"
[00:46:37]                 └-> "before all" hook for "shows metrics navlink"
[00:46:37]                   │ debg creating role global_infrastructure_all_role
[00:46:37]                   │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [global_infrastructure_all_role]
[00:46:37]                   │ debg creating user global_infrastructure_all_user
[00:46:38]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [global_infrastructure_all_user]
[00:46:38]                   │ debg created user global_infrastructure_all_user
[00:46:38]                   │ debg SecurityPage.forceLogout
[00:46:38]                   │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:46:38]                   │ debg --- retry.tryForTime error: .login-form is not displayed
[00:46:38]                   │ debg Redirecting to /logout to force the logout
[00:46:38]                   │ debg Waiting on the login form to appear
[00:46:38]                   │ debg Waiting for Login Page to appear.
[00:46:38]                   │ debg Waiting up to 100000ms for login page...
[00:46:38]                   │ debg browser[INFO] http://localhost:6151/logout?_t=1630925304813 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:46:38]                   │
[00:46:38]                   │ debg browser[INFO] http://localhost:6151/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:46:38]                   │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:46:41]                   │ERROR browser[SEVERE] http://localhost:6151/api/alerts/list_alert_types - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:46:41]                   │ debg browser[INFO] http://localhost:6151/45998/bundles/core/core.entry.js 12:151612 "Detected an unhandled Promise rejection.
[00:46:41]                   │      Error: Unauthorized"
[00:46:41]                   │ERROR browser[SEVERE] http://localhost:6151/45998/bundles/core/core.entry.js 5:2752 
[00:46:41]                   │ debg browser[INFO] http://localhost:6151/login?msg=LOGGED_OUT 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:46:41]                   │
[00:46:41]                   │ debg browser[INFO] http://localhost:6151/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:46:41]                   │ debg --- retry.tryForTime error: .login-form is not displayed
[00:46:41]                   │ERROR browser[SEVERE] http://localhost:6151/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:46:42]                   │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:46:42]                   │ debg TestSubjects.exists(loginForm)
[00:46:42]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:46:42]                   │ debg Waiting for Login Form to appear.
[00:46:42]                   │ debg Waiting up to 100000ms for login form...
[00:46:42]                   │ debg TestSubjects.exists(loginForm)
[00:46:42]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:46:42]                   │ debg TestSubjects.setValue(loginUsername, global_infrastructure_all_user)
[00:46:42]                   │ debg TestSubjects.click(loginUsername)
[00:46:42]                   │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:46:42]                   │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:46:42]                   │ debg TestSubjects.setValue(loginPassword, global_infrastructure_all_user-password)
[00:46:42]                   │ debg TestSubjects.click(loginPassword)
[00:46:42]                   │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:46:42]                   │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:46:43]                   │ debg TestSubjects.click(loginSubmit)
[00:46:43]                   │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:46:43]                   │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:46:43]                   │ debg Waiting for login result, expected: undefined.
[00:46:43]                   │ debg Waiting up to 20000ms for logout button visible...
[00:46:43]                   │ debg TestSubjects.exists(userMenuButton)
[00:46:43]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:46:43]                   │ proc [kibana]   log   [10:48:29.243] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:46:45]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/jj1mzdCfSseaRMS6ZDqM0w] update_mapping [_doc]
[00:46:45]                   │ debg browser[INFO] http://localhost:6151/app/home 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:46:45]                   │
[00:46:45]                   │ debg browser[INFO] http://localhost:6151/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:46:45]                   │ debg TestSubjects.exists(userMenu)
[00:46:45]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:46:48]                   │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:46:48]                   │ debg TestSubjects.click(userMenuButton)
[00:46:48]                   │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:46:48]                   │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:46:48]                   │ debg TestSubjects.exists(userMenu)
[00:46:48]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=120000
[00:46:48]                   │ debg TestSubjects.exists(userMenu > logoutLink)
[00:46:48]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:46:48]                 └-> shows metrics navlink
[00:46:48]                   └-> "before each" hook: global before each for "shows metrics navlink"
[00:46:48]                   │ debg isGlobalLoadingIndicatorVisible
[00:46:48]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:46:48]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:46:50]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:46:51]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:46:51]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:46:51]                   │ debg TestSubjects.exists(collapsibleNav)
[00:46:51]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=2500
[00:46:53]                   │ debg --- retry.tryForTime error: [data-test-subj="collapsibleNav"] is not displayed
[00:46:54]                   │ debg TestSubjects.click(toggleNavButton)
[00:46:54]                   │ debg Find.clickByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:46:54]                   │ debg Find.findByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:46:54]                   │ debg TestSubjects.find(collapsibleNav)
[00:46:54]                   │ debg Find.findByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=10000
[00:46:54]                   │ debg Find.existsByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=2500
[00:46:54]                   │ debg Find.findByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:46:54]                   │ debg Find.clickByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:46:54]                   │ debg Find.findByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:46:54]                   │ info Taking screenshot "/dev/shm/workspace/parallel/5/kibana/x-pack/test/functional/screenshots/failure/InfraOps App feature controls infrastructure security global infrastructure all privileges shows metrics navlink.png"
[00:46:54]                   │ info Current URL is: http://localhost:6151/app/home#/
[00:46:54]                   │ info Saving page source to: /dev/shm/workspace/parallel/5/kibana/x-pack/test/functional/failure_debug/html/InfraOps App feature controls infrastructure security global infrastructure all privileges shows metrics navlink.html
[00:46:54]                   └- ✖ fail: InfraOps App feature controls infrastructure security global infrastructure all privileges shows metrics navlink
[00:46:54]                   │       Error: expected [ 'Overview', 'Alerts', 'Metrics', 'Stack Management' ] to sort of equal [ 'Overview', 'Metrics', 'Stack Management' ]
[00:46:54]                   │       + expected - actual
[00:46:54]                   │ 
[00:46:54]                   │        [
[00:46:54]                   │          "Overview"
[00:46:54]                   │       -  "Alerts"
[00:46:54]                   │          "Metrics"
[00:46:54]                   │          "Stack Management"
[00:46:54]                   │        ]
[00:46:54]                   │       
[00:46:54]                   │       at Assertion.assert (/dev/shm/workspace/parallel/5/kibana/node_modules/@kbn/expect/expect.js:100:11)
[00:46:54]                   │       at Assertion.eql (/dev/shm/workspace/parallel/5/kibana/node_modules/@kbn/expect/expect.js:244:8)
[00:46:54]                   │       at Context.<anonymous> (test/functional/apps/infra/feature_controls/infrastructure_security.ts:65:29)
[00:46:54]                   │       at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:46:54]                   │       at Object.apply (/dev/shm/workspace/parallel/5/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:46:54]                   │ 
[00:46:54]                   │ 

Stack Trace

Error: expected [ 'Overview', 'Alerts', 'Metrics', 'Stack Management' ] to sort of equal [ 'Overview', 'Metrics', 'Stack Management' ]
    at Assertion.assert (/dev/shm/workspace/parallel/5/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/5/kibana/node_modules/@kbn/expect/expect.js:244:8)
    at Context.<anonymous> (test/functional/apps/infra/feature_controls/infrastructure_security.ts:65:29)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at Object.apply (/dev/shm/workspace/parallel/5/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16) {
  actual: '[\n  "Overview"\n  "Alerts"\n  "Metrics"\n  "Stack Management"\n]',
  expected: '[\n  "Overview"\n  "Metrics"\n  "Stack Management"\n]',
  showDiff: true
}

Metrics [docs]

✅ unchanged

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

cc @weltenwort

@weltenwort
Copy link
Member Author

Replaced by #111296

@weltenwort weltenwort closed this Sep 6, 2021
@spalger spalger deleted the revert-109113-rac-temporarily-enable-feature-flag branch May 8, 2022 22:04
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 release_note:skip Skip the PR/issue when compiling release notes Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services Theme: rac label obsolete v7.15.0 v7.16.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants