# Build failing for Logstash 6.3.1

**URL:** <https://discuss.elastic.co/t/build-failing-for-logstash-6-3-1/140823>\
**Category:** Logstash\
**Created:** [July 20, 2018, 2:14am UTC](https://discuss.elastic.co/t/build-failing-for-logstash-6-3-1/140823 "2018-07-20T02:14:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nick-george](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nick-george/32/23318_2.png) [@nick-george](https://discuss.elastic.co/u/nick-george)\
**Post date:** [July 20, 2018, 2:14am UTC](https://discuss.elastic.co/t/build-failing-for-logstash-6-3-1/140823/1 "2018-07-20T02:14:34Z")

</div>

Hi,

I'm attempting to build logstash into an RPM. The reason I'm doing this is because I want to include some additional input/output/filter plugins at build time, rather than install them later.  
My ruby, rake, bundler & gradle skills are not up to scratch. I installed the version of JRUBY that the build was asking for (jruby-9.1.13.0) and have done the following commands:

```
./gradlew bootstrap
./gradlew build
org.logstash.instruments.monitors.MemoryMonitorTest > testEachHeapSpaceRepresented FAILED
  java.lang.AssertionError: 
  Expected: (a collection containing "PS Survivor Space" and a collection containing "PS Old Gen" and a collection containing "PS Eden Space")
     but: a collection containing "PS Survivor Space" was "Eden Space", was "Survivor Space", was "Tenured Gen"
    at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
    at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
    at org.logstash.instruments.monitors.MemoryMonitorTest.testEachHeapSpaceRepresented(MemoryMonitorTest.java:24)

------------------------------------------------------------------------
| Results: FAILURE (508 tests, 507 successes, 1 failures, 0 skipped) |
------------------------------------------------------------------------

508 tests completed, 1 failed

```

I have no idea if it matters, but my system java is:  
$ java -version  
openjdk version "1.8.0\_171"  
OpenJDK Runtime Environment (build 1.8.0\_171-b10)  
OpenJDK 64-Bit Server VM (build 25.171-b10, mixed mode)

OS is Oracle LInux 7.5

Is anyone able to suggest why the build might be failing and how I could fix it?

Many thanks,  
Nick George

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 17, 2018, 2:14am UTC](https://discuss.elastic.co/t/build-failing-for-logstash-6-3-1/140823/2 "2018-08-17T02:14:35Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
