elastic / logstash-filter-elastic_integration

The Elastic Integrations filter for Logstash, which enables running Elastic Integrations inside of Logstash pipelines
Other
2 stars 9 forks source link

Build failed with 8.7 #85

Closed kaisecheng closed 11 months ago

kaisecheng commented 1 year ago

version: 0.0.2 buildkite: 179 reproducer: ./gradlew clean vendor

main branch fails when building elasticsearch locally because of missing dependency of ml-cpp 8.7.2-SNAPSHOT

Log

> [logstash 13/13] RUN bundle exec rake vendor:
--
  | #0 8.243 ./gradlew clean vendor
  | #0 8.435 Downloading https://services.gradle.org/distributions/gradle-8.0.2-bin.zip
  | #0 9.214 ...........10%............20%............30%............40%............50%............60%...........70%............80%............90%............100%
  | #0 12.85
  | #0 12.85 Welcome to Gradle 8.0.2!
  | #0 12.85
  | #0 12.85 Here are the highlights of this release:
  | #0 12.85  - Improvements to the Kotlin DSL
  | #0 12.85  - Fine-grained parallelism from the first build with configuration cache
  | #0 12.85  - Configurable Gradle user home cache cleanup
  | #0 12.85
  | #0 12.85 For more details see https://docs.gradle.org/8.0.2/release-notes.html
  | #0 12.86
  | #0 13.04 Starting a Gradle Daemon (subsequent builds will be faster)
  | #0 29.65 > Task :clean
  | #0 29.84 > Task :processResources NO-SOURCE
  | #0 31.74
  | #0 31.74 > Task :downloadElasticsearchSourceZip
  | #0 31.74 Download https://github.com/elastic/elasticsearch/archive/refs/heads/8.7.zip
  | #0 53.94
  | #0 53.94 > Task :unzipDownloadedElasticsearchSourceZip
  | #0 83.94 > Task :buildElasticsearchLocalDistro
  | #0 240.7 > Task :buildElasticsearchLocalDistro FAILED
  | #0 240.7
  | #0 240.7 FAILURE: Build failed with an exception.
  | #0 240.7
  | #0 240.7 * Where:
  | #0 240.7 Build file '/usr/share/plugins/plugin/build.gradle' line: 217
  | #0 240.7
  | #0 240.7 * What went wrong:
  | #0 240.7 Execution failed for task ':buildElasticsearchLocalDistro'.
  | #0 240.7 > Elasticsearch build failed; logs available in /usr/share/plugins/plugin/build/elasticsearch-build.log. Expression: (exitValue == 0). Values: exitValue = 1
  | #0 240.7
  | #0 240.7 * Try:
  | #0 240.7 > Run with --stacktrace option to get the stack trace.
  | #0 240.7 > Run with --info or --debug option to get more log output.
  | #0 240.8 > Run with --scan to get full insights.
  | #0 240.8
  | #0 240.8 * Get more help at https://help.gradle.org
  | #0 240.8
  | #0 240.8 BUILD FAILED in 3m 52s
  | #0 240.8 4 actionable tasks: 4 executed
  | #0 241.2 rake aborted!
  | #0 241.2 Command failed with status (1): [./gradlew clean vendor...]
  | #0 241.2 /usr/share/plugins/plugin/Rakefile:4:in `block in <main>'
  | #0 241.2 org/jruby/ext/monitor/Monitor.java:82:in `synchronize'
  | #0 241.2 org/jruby/ext/monitor/Monitor.java:82:in `synchronize'
  | #0 241.2 /usr/share/logstash/vendor/jruby/bin/bundle:25:in `<main>'
  | #0 241.2 Tasks: TOP => vendor => install_jars
  | #0 241.2 (See full trace by running task with --trace)
* What went wrong:
Could not determine the dependencies of task ':x-pack:plugin:ml:explodedBundlePlugin'.
> Could not resolve all task dependencies for configuration ':x-pack:plugin:ml:nativeBundle'.
   > Could not find org.elasticsearch.ml:ml-cpp:8.7.2-SNAPSHOT.
     Searched in the following locations:
       - https://artifacts-snapshot.elastic.co/ml-cpp/8.7.2-SNAPSHOT/downloads/ml-cpp/ml-cpp-8.7.2-SNAPSHOT-deps.zip
     Required by:
         project :x-pack:plugin:ml
kaisecheng commented 1 year ago

This issue may resolved by Resync with Elasticsearch 8.9