{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/31230","repository_url":"https://api.github.com/repos/elastic/elasticsearch","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/31230/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/31230/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/31230/events","html_url":"https://github.com/elastic/elasticsearch/issues/31230","id":330911197,"node_id":"MDU6SXNzdWUzMzA5MTExOTc=","number":31230,"title":"Upgrade to Gradle 4.8 and enable JDK 11 in CI","user":{"login":"jasontedor","id":4744941,"node_id":"MDQ6VXNlcjQ3NDQ5NDE=","avatar_url":"https://avatars3.githubusercontent.com/u/4744941?v=4","gravatar_id":"","url":"https://api.github.com/users/jasontedor","html_url":"https://github.com/jasontedor","followers_url":"https://api.github.com/users/jasontedor/followers","following_url":"https://api.github.com/users/jasontedor/following{/other_user}","gists_url":"https://api.github.com/users/jasontedor/gists{/gist_id}","starred_url":"https://api.github.com/users/jasontedor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasontedor/subscriptions","organizations_url":"https://api.github.com/users/jasontedor/orgs","repos_url":"https://api.github.com/users/jasontedor/repos","events_url":"https://api.github.com/users/jasontedor/events{/privacy}","received_events_url":"https://api.github.com/users/jasontedor/received_events","type":"User","site_admin":false},"labels":[{"id":106454670,"node_id":"MDU6TGFiZWwxMDY0NTQ2NzA=","url":"https://api.github.com/repos/elastic/elasticsearch/labels/:Core/Build","name":":Core/Build","color":"0e8a16","default":false},{"id":959855511,"node_id":"MDU6TGFiZWw5NTk4NTU1MTE=","url":"https://api.github.com/repos/elastic/elasticsearch/labels/jdk11","name":"jdk11","color":"e11d21","default":false},{"id":94283388,"node_id":"MDU6TGFiZWw5NDI4MzM4OA==","url":"https://api.github.com/repos/elastic/elasticsearch/labels/review","name":"review","color":"0052cc","default":false},{"id":962378555,"node_id":"MDU6TGFiZWw5NjIzNzg1NTU=","url":"https://api.github.com/repos/elastic/elasticsearch/labels/v6.5.0","name":"v6.5.0","color":"Dddddd","default":false},{"id":484855464,"node_id":"MDU6TGFiZWw0ODQ4NTU0NjQ=","url":"https://api.github.com/repos/elastic/elasticsearch/labels/v7.0.0","name":"v7.0.0","color":"dddddd","default":false}],"state":"closed","locked":false,"assignee":{"login":"rjernst","id":289412,"node_id":"MDQ6VXNlcjI4OTQxMg==","avatar_url":"https://avatars3.githubusercontent.com/u/289412?v=4","gravatar_id":"","url":"https://api.github.com/users/rjernst","html_url":"https://github.com/rjernst","followers_url":"https://api.github.com/users/rjernst/followers","following_url":"https://api.github.com/users/rjernst/following{/other_user}","gists_url":"https://api.github.com/users/rjernst/gists{/gist_id}","starred_url":"https://api.github.com/users/rjernst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjernst/subscriptions","organizations_url":"https://api.github.com/users/rjernst/orgs","repos_url":"https://api.github.com/users/rjernst/repos","events_url":"https://api.github.com/users/rjernst/events{/privacy}","received_events_url":"https://api.github.com/users/rjernst/received_events","type":"User","site_admin":false},"assignees":[{"login":"rjernst","id":289412,"node_id":"MDQ6VXNlcjI4OTQxMg==","avatar_url":"https://avatars3.githubusercontent.com/u/289412?v=4","gravatar_id":"","url":"https://api.github.com/users/rjernst","html_url":"https://github.com/rjernst","followers_url":"https://api.github.com/users/rjernst/followers","following_url":"https://api.github.com/users/rjernst/following{/other_user}","gists_url":"https://api.github.com/users/rjernst/gists{/gist_id}","starred_url":"https://api.github.com/users/rjernst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjernst/subscriptions","organizations_url":"https://api.github.com/users/rjernst/orgs","repos_url":"https://api.github.com/users/rjernst/repos","events_url":"https://api.github.com/users/rjernst/events{/privacy}","received_events_url":"https://api.github.com/users/rjernst/received_events","type":"User","site_admin":false},{"login":"atorok","id":2565652,"node_id":"MDQ6VXNlcjI1NjU2NTI=","avatar_url":"https://avatars1.githubusercontent.com/u/2565652?v=4","gravatar_id":"","url":"https://api.github.com/users/atorok","html_url":"https://github.com/atorok","followers_url":"https://api.github.com/users/atorok/followers","following_url":"https://api.github.com/users/atorok/following{/other_user}","gists_url":"https://api.github.com/users/atorok/gists{/gist_id}","starred_url":"https://api.github.com/users/atorok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atorok/subscriptions","organizations_url":"https://api.github.com/users/atorok/orgs","repos_url":"https://api.github.com/users/atorok/repos","events_url":"https://api.github.com/users/atorok/events{/privacy}","received_events_url":"https://api.github.com/users/atorok/received_events","type":"User","site_admin":false}],"milestone":null,"comments":18,"created_at":"2018-06-09T18:56:52Z","updated_at":"2018-07-15T10:09:31Z","closed_at":"2018-07-05T03:24:02Z","author_association":"MEMBER","body":"With rampdown phase one of JDK 11 approaching, we want to enable JDK 11 in CI. However, Gradle 4.7 is not compatible with JDK 11 (gradle/gradle#4860). The upgrade to Gradle 4.8 is non-trivial due to Gradle reporting dependency conflicts.\r\n\r\n Since the non-trivial nature keeps escalating [feature/31230_gradle48_jdk11](https://github.com/elastic/elasticsearch/tree/feature/31230_gradle48_jdk11) will track this work.\r\nCI for the branch is at (elastic/infra#5603, elastic/infra#5601): https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+31230_gradle48_jdk11+matrix-java-feature-branch/\r\n\r\nTODO:\r\n - [x] upgrade the Gradle wrapper to 4.8\r\n - [x] enable JDK 11 to be used as the compiler (while still allowing JDK 10)\r\n - [x] get the build passing on JDK 11\r\n - [x] add JDK 11 to the various properties files in `.ci`\r\n - [x] elastic/infra#5597: work with our internal infra team to have the EA build of the JDK upgraded to JDK 11-latest in CI\r\n- [ ]  #31305 AttachmentProcessorTests.testIndexedChars fails when running on jdk 11ea  ( tika 1.19 )\r\n- [ ] #31456 IngestAttachmentClientYamlTestSuiteIT fails on jdk 11 ( tika 1.19 )\r\n- [x] #31324 Understand Gradle 4.8 + JDK 10 test failure around setup of security policies \r\n- [ ]  #31498 plugins/repository-hdfs tests are failing when built by JDK 11 \r\n- [x] #31500 org.elasticsearch.painless.ArrayTests tests fail when running on JDK 11 \r\n\r\nThese changes should be done for 6.x and master.\r\nNote: Gradle  doesn't fully support  JDK 11 as of 4.8 and full support is planned for 4.9 gradle/gradle#5120 ."},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/405080690","html_url":"https://github.com/elastic/elasticsearch/issues/31230#issuecomment-405080690","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/31230","id":405080690,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTA4MDY5MA==","user":{"login":"mrhoric","id":13533729,"node_id":"MDQ6VXNlcjEzNTMzNzI5","avatar_url":"https://avatars0.githubusercontent.com/u/13533729?v=4","gravatar_id":"","url":"https://api.github.com/users/mrhoric","html_url":"https://github.com/mrhoric","followers_url":"https://api.github.com/users/mrhoric/followers","following_url":"https://api.github.com/users/mrhoric/following{/other_user}","gists_url":"https://api.github.com/users/mrhoric/gists{/gist_id}","starred_url":"https://api.github.com/users/mrhoric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrhoric/subscriptions","organizations_url":"https://api.github.com/users/mrhoric/orgs","repos_url":"https://api.github.com/users/mrhoric/repos","events_url":"https://api.github.com/users/mrhoric/events{/privacy}","received_events_url":"https://api.github.com/users/mrhoric/received_events","type":"User","site_admin":false},"created_at":"2018-07-15T10:09:31Z","updated_at":"2018-07-15T10:09:31Z","author_association":"NONE","body":"> macos 10.13.6\r\n> jdk 1.8.0\r\n> gradle 4.7\r\nI can't build es-5.6, it report errors like follows, how can i do some thing:\r\n `\r\n[2018-07-15T17:27:30,164][INFO ][o.e.p.PluginsService     ] [B9bR86I] loaded module [reindex]\r\n[2018-07-15T17:27:30,164][INFO ][o.e.p.PluginsService     ] [B9bR86I] loaded module [transport-netty3]\r\n[2018-07-15T17:27:30,164][INFO ][o.e.p.PluginsService     ] [B9bR86I] loaded module [transport-netty4]\r\n[2018-07-15T17:27:30,166][INFO ][o.e.p.PluginsService     ] [B9bR86I] no plugins loaded\r\n[2018-07-15T17:27:34,962][INFO ][o.e.d.DiscoveryModule    ] [B9bR86I] using discovery type [zen]\r\n[2018-07-15T17:27:38,029][INFO ][o.e.n.Node               ] initialized\r\n[2018-07-15T17:27:38,029][INFO ][o.e.n.Node               ] [B9bR86I] starting ...\r\n[2018-07-15T17:27:38,757][INFO ][o.e.t.TransportService   ] [B9bR86I] publish_address {127.0.0.1:57986}, bound_addresses {[::1]:57985}, {127.0.0.1:57986}\r\n[2018-07-15T17:27:41,920][INFO ][o.e.c.s.ClusterService   ] [B9bR86I] new_master {B9bR86I}{B9bR86IETgCsp4W0ZtL8CA}{WHLTSbYvTXi5hbOE_SEN2g}{127.0.0.1}{127.0.0.1:57986}{testattr=test}, reason: zen-disco-elected-as-master ([0] nodes joined)[, ]\r\n[2018-07-15T17:27:41,969][INFO ][o.e.h.n.Netty4HttpServerTransport] [B9bR86I] publish_address {127.0.0.1:58002}, bound_addresses {[::1]:58001}, {127.0.0.1:58002}\r\n[2018-07-15T17:27:41,974][INFO ][o.e.n.Node               ] [B9bR86I] started\r\n[2018-07-15T17:27:41,982][INFO ][o.e.g.GatewayService     ] [B9bR86I] recovered [0] indices into cluster_state\r\n=========================================\r\n\r\n> Task :modules:reindex:integTestRunner FAILED\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':modules:reindex:integTestRunner'.\r\n> There were test failures: 3 suites (1 ignored), 122 tests, 1 error [seed: 28E3711AC3679E5]\r\n\r\n* Try:\r\nRun with --info or --debug option to get more log output. Run with --scan to get full insights.\r\n\r\n* Exception is:\r\norg.gradle.api.tasks.TaskExecutionException: Execution failed for task ':modules:reindex:integTestRunner'.\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:103)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:73)\r\n        at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)\r\n        at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)\r\n        at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)\r\n        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)\r\n        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)\r\n        at org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)\r\n        at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)\r\n        at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)\r\n        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)\r\n        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)\r\n        at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)\r\n        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:256)\r\n        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:317)\r\n        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:309)\r\n        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:185)\r\n        at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:97)\r\n        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)\r\n        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:249)\r\n        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:238)\r\n        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:104)\r\n        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:98)\r\n        at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:663)\r\n        at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:596)\r\n        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:98)\r\n        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)\r\n        at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)\r\n        at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)\r\nCaused by: : There were test failures: 3 suites (1 ignored), 122 tests, 1 error [seed: 28E3711AC3679E5]\r\n        at com.carrotsearch.ant.tasks.junit4.JUnit4.execute(JUnit4.java:1051)\r\n        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)\r\n        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)\r\n        at org.gradle.api.internal.project.ant.BasicAntBuilder.nodeCompleted(BasicAntBuilder.java:78)\r\n        at com.carrotsearch.gradle.junit4.RandomizedTestingTask.executeTests(RandomizedTestingTask.groovy:237)\r\n        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)\r\n        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:46)\r\n        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)\r\n        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)\r\n        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:794)\r\n        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:761)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:124)\r\n        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:317)\r\n        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:309)\r\n        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:185)\r\n        at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:97)\r\n        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:113)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:95)\r\n        ... 29 more\r\n\r\n\r\n* Get more help at https://help.gradle.org\r\n\r\nDeprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.\r\nSee https://docs.gradle.org/4.7/userguide/command_line_interface.html#sec:command_line_warnings\r\n\r\nBUILD FAILED in 49m 55s\r\n683 actionable tasks: 240 executed, 443 up-to-date\r\n`"}}
{"actor":{"display_login":"mrhoric"}}