Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.x] Fix paths for kibana packages used by plugins (#57097) (3c3d0b53) #57409

Merged
merged 1 commit into from
Feb 12, 2020

Conversation

mistic
Copy link
Member

@mistic mistic commented Feb 12, 2020

Backports the following commits to 7.x:

* Fix paths for kibana packages in prepare_project_dependencies(elastic#40858).

* Dist/index.js after yarn build.

* chore(NA): correctly include kbm pm new dist file

* Commit after cherry-pick 985c85c from recreation branch.

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/discover/feature_controls/discover_security·ts.discover feature controls security global discover all privileges allow saving via the saved query management component popover with no query loaded

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:07:17]         └-: discover
[00:07:17]           └-> "before all" hook
[00:07:17]           └-: feature controls
[00:07:17]             └-> "before all" hook
[00:07:17]             └-: security
[00:07:17]               └-> "before all" hook
[00:07:17]               └-> "before all" hook
[00:07:17]                 │ info [discover/feature_controls/security] Loading "mappings.json"
[00:07:17]                 │ info [discover/feature_controls/security] Loading "data.json"
[00:07:17]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1581480358823410915] [.kibana_1/LY7AJMOfTq6thHf5lFS9sg] deleting index
[00:07:17]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1581480358823410915] [.kibana_2/fKFnN7-TQsGoENn7uwegaQ] deleting index
[00:07:17]                 │ info [o.e.i.s.RetentionLeaseSyncAction] [kibana-ci-immutable-centos-tests-xl-1581480358823410915] [.kibana_2][0] retention lease background sync failed
[00:07:17]                 │      org.elasticsearch.transport.RemoteTransportException: [kibana-ci-immutable-centos-tests-xl-1581480358823410915][127.0.0.1:6143][indices:admin/seq_no/retention_lease_background_sync[p]]
[00:07:17]                 │      Caused by: org.elasticsearch.index.IndexNotFoundException: no such index [.kibana_2]
[00:07:17]                 │      	at org.elasticsearch.indices.IndicesService.indexServiceSafe(IndicesService.java:497) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:07:17]                 │      	at org.elasticsearch.action.support.replication.TransportReplicationAction.getIndexShard(TransportReplicationAction.java:591) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:07:17]                 │      	at org.elasticsearch.action.support.replication.TransportReplicationAction.access$000(TransportReplicationAction.java:93) ~[elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:07:17]                 │      	at org.elasticsearch.action.support.replication.TransportReplicationAction$AsyncPrimaryAction.doRun(TransportReplicationAction.java:274) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:07:17]                 │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:07:17]                 │      	at org.elasticsearch.action.support.replication.TransportReplicationAction.handlePrimaryRequest(TransportReplicationAction.java:256) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:07:17]                 │      	at org.elasticsearch.xpack.security.transport.SecurityServerTransportInterceptor$ProfileSecuredRequestHandler$1.doRun(SecurityServerTransportInterceptor.java:257) [x-pack-security-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:07:17]                 │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:07:17]                 │      	at org.elasticsearch.common.util.concurrent.EsExecutors$DirectExecutorService.execute(EsExecutors.java:225) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:07:17]                 │      	at org.elasticsearch.xpack.security.transport.SecurityServerTransportInterceptor$ProfileSecuredRequestHandler.lambda$messageReceived$0(SecurityServerTransportInterceptor.java:306) [x-pack-security-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:07:17]                 │      	at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:63) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:07:17]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService.authorizeSystemUser(AuthorizationService.java:378) [x-pack-security-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:07:17]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService.authorize(AuthorizationService.java:186) [x-pack-security-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:07:17]                 │      	at org.elasticsearch.xpack.security.transport.ServerTransportFilter$NodeProfile.lambda$inbound$1(ServerTransportFilter.java:130) [x-pack-security-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:07:17]                 │      	at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:63) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:07:17]                 │      	at org.elasticsearch.xpack.security.authc.AuthenticationService$Authenticator.lambda$authenticateAsync$2(AuthenticationService.java:251) [x-pack-security-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:07:17]                 │      	at org.elasticsearch.xpack.security.authc.AuthenticationService$Authenticator.lambda$lookForExistingAuthentication$6(AuthenticationService.java:313) [x-pack-security-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:07:17]                 │      	at org.elasticsearch.xpack.security.authc.AuthenticationService$Authenticator.lookForExistingAuthentication(AuthenticationService.java:324) [x-pack-security-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:07:17]                 │      	at org.elasticsearch.xpack.security.authc.AuthenticationService$Authenticator.authenticateAsync(AuthenticationService.java:248) [x-pack-security-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:07:17]                 │      	at org.elasticsearch.xpack.security.authc.AuthenticationService$Authenticator.access$000(AuthenticationService.java:199) [x-pack-security-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:07:17]                 │      	at org.elasticsearch.xpack.security.authc.AuthenticationService.authenticate(AuthenticationService.java:142) [x-pack-security-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:07:17]                 │      	at org.elasticsearch.xpack.security.transport.ServerTransportFilter$NodeProfile.inbound(ServerTransportFilter.java:121) [x-pack-security-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:07:17]                 │      	at org.elasticsearch.xpack.security.transport.SecurityServerTransportInterceptor$ProfileSecuredRequestHandler.messageReceived(SecurityServerTransportInterceptor.java:313) [x-pack-security-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:07:17]                 │      	at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:63) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:07:17]                 │      	at org.elasticsearch.transport.TransportService$7.doRun(TransportService.java:754) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:07:17]                 │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:692) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:07:17]                 │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-7.7.0-SNAPSHOT.jar:7.7.0-SNAPSHOT]
[00:07:17]                 │      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
[00:07:17]                 │      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
[00:07:17]                 │      	at java.lang.Thread.run(Thread.java:830) [?:?]
[00:07:17]                 │ info [discover/feature_controls/security] Deleted existing index [".kibana_2",".kibana_1"]
[00:07:17]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1581480358823410915] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [doc]
[00:07:17]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1581480358823410915] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:07:17]                 │ info [discover/feature_controls/security] Created index ".kibana"
[00:07:17]                 │ debg [discover/feature_controls/security] ".kibana" settings {"index":{"number_of_shards":"1","auto_expand_replicas":"0-1","number_of_replicas":"0"}}
[00:07:17]                 │ info [discover/feature_controls/security] Indexed 3 docs into ".kibana"
[00:07:18]                 │ info Creating index .kibana_2.
[00:07:18]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1581480358823410915] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:07:18]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1581480358823410915] updating number_of_replicas to [0] for indices [.kibana_2]
[00:07:19]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1581480358823410915] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:07:19]                 │ info Reindexing .kibana to .kibana_1
[00:07:19]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1581480358823410915] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:07:19]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1581480358823410915] updating number_of_replicas to [0] for indices [.kibana_1]
[00:07:19]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1581480358823410915] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:07:19]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1581480358823410915] 9701 finished with response BulkByScrollResponse[took=73.2ms,timed_out=false,sliceId=null,updated=0,created=3,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:07:19]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1581480358823410915] [.kibana/zOOc5Y22RLOmeDOoPH0q7A] deleting index
[00:07:19]                 │ info Migrating .kibana_1 saved objects to .kibana_2
[00:07:19]                 │ debg Migrating saved objects index-pattern:logstash-*, config:6.0.0, query:okjpgs
[00:07:19]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1581480358823410915] [.kibana_2/lgk7A11hSbqPBrC40t6nLw] update_mapping [_doc]
[00:07:19]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1581480358823410915] [.kibana_2/lgk7A11hSbqPBrC40t6nLw] update_mapping [_doc]
[00:07:19]                 │ info Pointing alias .kibana to .kibana_2.
[00:07:19]                 │ info Finished in 780ms.
[00:07:19]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:07:20]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1581480358823410915] [.kibana_2/lgk7A11hSbqPBrC40t6nLw] update_mapping [_doc]
[00:07:21]                 │ info [logstash_functional] Loading "mappings.json"
[00:07:21]                 │ info [logstash_functional] Loading "data.json.gz"
[00:07:21]                 │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:07:21]                 │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:07:21]                 │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:07:22]                 │ debg SecurityPage.forceLogout
[00:07:22]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:07:23]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:07:23]                 │ debg Redirecting to /logout to force the logout
[00:07:23]                 │ debg Waiting on the login form to appear
[00:07:23]                 │ debg Waiting up to 100000ms for login form...
[00:07:23]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:07:23]                 │ debg browser[INFO] http://localhost:6141/logout?_t=1581482854052 350 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:23]                 │
[00:07:23]                 │ debg browser[INFO] http://localhost:6141/bundles/app/logout/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:26]                 │ debg browser[INFO] http://localhost:6141/built_assets/dlls/vendors_3.bundle.dll.js 488:139970 "INFO: 2020-02-12T04:47:36Z
[00:07:26]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:07:26]                 │
[00:07:26]                 │      "
[00:07:26]                 │ debg browser[INFO] http://localhost:6141/login?_t=1581482854052 350 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:26]                 │
[00:07:26]                 │ debg browser[INFO] http://localhost:6141/bundles/app/login/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:26]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:07:27]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:07:28]                 │ debg browser[INFO] http://localhost:6141/built_assets/dlls/vendors_3.bundle.dll.js 488:139970 "INFO: 2020-02-12T04:47:38Z
[00:07:28]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:07:28]                 │
[00:07:28]                 │      "
[00:07:28]               └-: global discover all privileges
[00:07:28]                 └-> "before all" hook
[00:07:28]                 └-> "before all" hook
[00:07:28]                   │ debg creating role global_discover_all_role
[00:07:28]                   │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1581480358823410915] added role [global_discover_all_role]
[00:07:28]                   │ debg created role global_discover_all_role
[00:07:28]                   │ debg creating user global_discover_all_user
[00:07:28]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1581480358823410915] added user [global_discover_all_user]
[00:07:28]                   │ debg created user global_discover_all_user
[00:07:28]                   │ debg navigating to login url: http://localhost:6141/login
[00:07:28]                   │ debg Navigate to: http://localhost:6141/login
[00:07:28]                   │ debg ... sleep(700) start
[00:07:28]                   │ debg browser[INFO] http://localhost:6141/login?_t=1581482859010 350 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:28]                   │
[00:07:28]                   │ debg browser[INFO] http://localhost:6141/bundles/app/login/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:29]                   │ debg ... sleep(700) end
[00:07:29]                   │ debg returned from get, calling refresh
[00:07:29]                   │ debg browser[INFO] http://localhost:6141/login?_t=1581482859010 350 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:29]                   │
[00:07:29]                   │ debg browser[INFO] http://localhost:6141/bundles/app/login/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:29]                   │ debg currentUrl = http://localhost:6141/login
[00:07:29]                   │          appUrl = http://localhost:6141/login
[00:07:29]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:07:32]                   │ debg browser[INFO] http://localhost:6141/built_assets/dlls/vendors_3.bundle.dll.js 488:139970 "INFO: 2020-02-12T04:47:42Z
[00:07:32]                   │        Adding connection to http://localhost:6141/elasticsearch
[00:07:32]                   │
[00:07:32]                   │      "
[00:07:32]                   │ debg ... sleep(501) start
[00:07:32]                   │ debg ... sleep(501) end
[00:07:32]                   │ debg in navigateTo url = http://localhost:6141/login#/
[00:07:32]                   │ debg TestSubjects.exists(statusPageContainer)
[00:07:32]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:07:35]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:07:35]                   │ debg TestSubjects.setValue(loginUsername, global_discover_all_user)
[00:07:35]                   │ debg TestSubjects.click(loginUsername)
[00:07:35]                   │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:07:35]                   │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:07:36]                   │ debg TestSubjects.setValue(loginPassword, global_discover_all_user-password)
[00:07:36]                   │ debg TestSubjects.click(loginPassword)
[00:07:36]                   │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:07:36]                   │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:07:36]                   │ debg TestSubjects.click(loginSubmit)
[00:07:36]                   │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:07:36]                   │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:07:36]                   │ debg Waiting up to 20000ms for logout button visible...
[00:07:36]                   │ debg TestSubjects.exists(userMenuButton)
[00:07:36]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:07:39]                   │ debg browser[INFO] http://localhost:6141/app/kibana 350 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:39]                   │
[00:07:39]                   │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:39]                   │ debg browser[INFO] http://localhost:6141/built_assets/dlls/vendors_3.bundle.dll.js 488:139970 "INFO: 2020-02-12T04:47:49Z
[00:07:39]                   │        Adding connection to http://localhost:6141/elasticsearch
[00:07:39]                   │
[00:07:39]                   │      "
[00:07:39]                   │ debg --- retry.tryForTime error: [data-test-subj="userMenuButton"] is not displayed
[00:07:40]                   │ debg TestSubjects.exists(userMenuButton)
[00:07:40]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:07:40]                   │ debg TestSubjects.exists(userMenu)
[00:07:40]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:07:43]                   │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:07:43]                   │ debg TestSubjects.click(userMenuButton)
[00:07:43]                   │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:07:43]                   │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:07:43]                   │ debg Waiting up to 20000ms for user menu opened...
[00:07:43]                   │ debg TestSubjects.exists(userMenu)
[00:07:43]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:07:43]                   │ debg TestSubjects.exists(userMenu > logoutLink)
[00:07:43]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:07:43]                 └-> shows discover navlink
[00:07:43]                   └-> "before each" hook: global before each
[00:07:43]                   │ debg TestSubjects.find(navDrawer)
[00:07:43]                   │ debg Find.findByCssSelector('[data-test-subj="navDrawer"]') with timeout=10000
[00:07:43]                   └- ✓ pass  (25ms) "discover feature controls security global discover all privileges shows discover navlink"
[00:07:43]                 └-> shows save button
[00:07:43]                   └-> "before each" hook: global before each
[00:07:43]                   │ debg navigating to discover url: http://localhost:6141/app/kibana#/discover
[00:07:43]                   │ debg Navigate to: http://localhost:6141/app/kibana#/discover
[00:07:44]                   │ debg ... sleep(700) start
[00:07:44]                   │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1581482874434#/discover 350 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:44]                   │
[00:07:44]                   │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:44]                   │ debg ... sleep(700) end
[00:07:44]                   │ debg returned from get, calling refresh
[00:07:45]                   │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1581482874434#/discover 350 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:45]                   │
[00:07:45]                   │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:45]                   │ debg currentUrl = http://localhost:6141/app/kibana#/discover
[00:07:45]                   │          appUrl = http://localhost:6141/app/kibana#/discover
[00:07:45]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:07:47]                   │ debg TestSubjects.find(kibanaChrome)
[00:07:47]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:07:47]                   │ debg browser[INFO] http://localhost:6141/built_assets/dlls/vendors_3.bundle.dll.js 488:139970 "INFO: 2020-02-12T04:47:57Z
[00:07:47]                   │        Adding connection to http://localhost:6141/elasticsearch
[00:07:47]                   │
[00:07:47]                   │      "
[00:07:47]                   │ debg ... sleep(501) start
[00:07:48]                   │ debg ... sleep(501) end
[00:07:48]                   │ debg in navigateTo url = http://localhost:6141/app/kibana#/discover?_g=()&_a=(columns:!(_source),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:07:48]                   │ debg --- retry.try error: URL changed, waiting for it to settle
[00:07:48]                   │ debg ... sleep(501) start
[00:07:49]                   │ debg ... sleep(501) end
[00:07:49]                   │ debg in navigateTo url = http://localhost:6141/app/kibana#/discover?_g=()&_a=(columns:!(_source),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:07:49]                   │ debg TestSubjects.exists(statusPageContainer)
[00:07:49]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:07:52]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:07:52]                   │ debg TestSubjects.exists(discoverSaveButton)
[00:07:52]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="discoverSaveButton"]') with timeout=20000
[00:07:52]                   └- ✓ pass  (8.6s) "discover feature controls security global discover all privileges shows save button"
[00:07:52]                 └-> doesn't show read-only badge
[00:07:52]                   └-> "before each" hook: global before each
[00:07:52]                   │ debg TestSubjects.missingOrFail(headerBadge)
[00:07:52]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="headerBadge"]') with timeout=2500
[00:07:53]                   └- ✓ pass  (542ms) "discover feature controls security global discover all privileges doesn't show read-only badge"
[00:07:53]                 └-> Permalinks shows create short-url button
[00:07:53]                   └-> "before each" hook: global before each
[00:07:53]                   │ debg openShareMenuItem title:Permalinks
[00:07:53]                   │ debg TestSubjects.exists(shareContextMenu)
[00:07:53]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="shareContextMenu"]') with timeout=2500
[00:07:55]                   │ debg --- retry.tryForTime error: [data-test-subj="shareContextMenu"] is not displayed
[00:07:56]                   │ debg TestSubjects.click(shareTopNavButton)
[00:07:56]                   │ debg Find.clickByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:07:56]                   │ debg Find.findByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:07:56]                   │ debg Find.findByCssSelector('div.euiContextMenuPanel') with timeout=10000
[00:07:56]                   │ debg TestSubjects.click(sharePanel-Permalinks)
[00:07:56]                   │ debg Find.clickByCssSelector('[data-test-subj="sharePanel-Permalinks"]') with timeout=10000
[00:07:56]                   │ debg Find.findByCssSelector('[data-test-subj="sharePanel-Permalinks"]') with timeout=10000
[00:07:56]                   │ debg Find.waitForElementStale with timeout=10000
[00:07:56]                   │ debg TestSubjects.exists(createShortUrl)
[00:07:56]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="createShortUrl"]') with timeout=120000
[00:07:56]                   │ debg TestSubjects.click(shareTopNavButton)
[00:07:56]                   │ debg Find.clickByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:07:56]                   │ debg Find.findByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:07:56]                   └- ✓ pass  (3.7s) "discover feature controls security global discover all privileges Permalinks shows create short-url button"
[00:07:56]                 └-> allow saving via the saved query management component popover with no query loaded
[00:07:56]                   └-> "before each" hook: global before each
[00:07:56]                   │ debg TestSubjects.exists(saved-query-management-popover)
[00:07:56]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="saved-query-management-popover"]') with timeout=2500
[00:07:59]                   │ debg --- retry.tryForTime error: [data-test-subj="saved-query-management-popover"] is not displayed
[00:07:59]                   │ debg TestSubjects.click(saved-query-management-popover-button)
[00:07:59]                   │ debg Find.clickByCssSelector('[data-test-subj="saved-query-management-popover-button"]') with timeout=10000
[00:07:59]                   │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-popover-button"]') with timeout=10000
[00:07:59]                   │ debg TestSubjects.click(saved-query-management-save-button)
[00:07:59]                   │ debg Find.clickByCssSelector('[data-test-subj="saved-query-management-save-button"]') with timeout=10000
[00:07:59]                   │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-save-button"]') with timeout=10000
[00:08:00]                   │ debg TestSubjects.exists(saveQueryForm)
[00:08:00]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="saveQueryForm"]') with timeout=120000
[00:08:02]                   │ debg --- retry.tryForTime error: [data-test-subj="saveQueryForm"] is not displayed
[00:08:05]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:08]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:11]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:14]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:17]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:20]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:23]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:26]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:29]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:32]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:36]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:39]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:42]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:45]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:48]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:51]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:54]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:57]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:00]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:03]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:06]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:09]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:12]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:15]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:18]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:21]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:24]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:27]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:30]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:33]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:36]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:39]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:42]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:45]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:49]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:52]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:55]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:58]                   │ debg --- retry.tryForTime failed again with the same message...
[00:10:01]                   │ debg --- retry.tryForTime failed again with the same message...
[00:10:01]                   │ debg --- retry.try error: expected testSubject(saveQueryForm) to exist
[00:10:02]                   │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/discover feature controls security global discover all privileges allow saving via the saved query management component popover with no query loaded.png"
[00:10:02]                   │ info Current URL is: http://localhost:6141/app/kibana#/discover?_g=()&_a=(columns:!(_source),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:10:02]                   │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/discover feature controls security global discover all privileges allow saving via the saved query management component popover with no query loaded.html
[00:10:02]                   └- ✖ fail: "discover feature controls security global discover all privileges allow saving via the saved query management component popover with no query loaded"
[00:10:02]                   │

Stack Trace

Error: retry.try timeout: Error: expected testSubject(saveQueryForm) to exist
    at TestSubjects.existOrFail (/dev/shm/workspace/kibana/test/functional/services/test_subjects.ts:60:15)
    at onFailure (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:68:13)

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

@mistic mistic merged commit ebb49b7 into elastic:7.x Feb 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants