Skip to content

Build is failing with Gradle 4.2 #26840

@dadoonet

Description

@dadoonet

Not sure what causes it but when I run:

gradle :plugins:repository-azure:check

I'm getting (tested on 5.6, 6.0 and 6.x branches):

* What went wrong:
Execution failed for task ':plugins:repository-azure:integTestCluster#installRepositoryAzurePlugin'.
> A problem occurred starting process 'command '/Users/dpilato/Documents/Elasticsearch/dev/elasticsearch/es-5.x/elasticsearch/plugins/repository-azure/build/cluster/integTestCluster node0/elasticsearch-5.6.3-SNAPSHOT/bin/elasticsearch-plugin''

Note that on 6.0 and 6.x the message is a bit different as it fails when running bin/elasticsearch-keystore. I checked manually the directory and I'm able to run bin/elasticsearch-plugin or bin/elasticsearch-keystore manually.

$ gradle -version

------------------------------------------------------------
Gradle 4.2
------------------------------------------------------------

Build time:   2017-09-20 14:48:23 UTC
Revision:     5ba503cc17748671c83ce35d7da1cffd6e24dfbd

Groovy:       2.4.11
Ant:          Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM:          1.8.0_144 (Oracle Corporation 25.144-b01)
OS:           Mac OS X 10.12.6 x86_64

Running with gradlew works:

./gradlew :plugins:repository-azure:check

gradlew reports a 3.3 version of Gradle.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Delivery/BuildBuild or test infrastructureTeam:DeliveryMeta label for Delivery team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions