# Various Build issues with Master

**URL:** <https://discuss.elastic.co/t/various-build-issues-with-master/167776>\
**Category:** Elasticsearch\
**Created:** [February 11, 2019, 12:13am UTC](https://discuss.elastic.co/t/various-build-issues-with-master/167776 "2019-02-11T00:13:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![smonasco](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/smonasco/32/40845_2.png) [@smonasco](https://discuss.elastic.co/u/smonasco)\
**Post date:** [February 11, 2019, 12:13am UTC](https://discuss.elastic.co/t/various-build-issues-with-master/167776/1 "2019-02-11T00:13:28Z")

</div>

I'm trying to set myself up so I can contribute code.

Here is my fork: [GitHub - smonasco/elasticsearch: Open Source, Distributed, RESTful Search Engine](https://github.com/smonasco/elasticsearch)

Just typing `gradlew build' fails. It's looking for elasticsearch:8.0.0-SNAPSHOT, but can't find it which seems weird. This causes it to get no further than trying to build :benchmarks:runtime. Here's a build scan [Build Scan® | Gradle Cloud Services](https://gradle.com/s/2leu7cyqixlak)

I thought maybe it needed to build the server project in order to use that and the dependencies just weren't setup. So I ran `gradlew :server:test' so I could also test things. That seems to repeatedly fail on org.elasticsearch.common.logging.JsonThrowablePatternConverterTests.testStacktraceWithJson . Here's a build scan [Build Scan® | Gradle Cloud Services](https://scans.gradle.com/s/yer7bx4nhfnq2/) , but the following actually showed up in my console and not on the build scan:

Suite: org.elasticsearch.common.logging.JsonThrowablePatternConverterTests  
1\> [2019-02-11T00:46:57,475][INFO][o.e.c.l.JsonThrowablePatternConverterTests] [testStacktraceWithJson] before test  
1\> [2019-02-11T00:46:57,480][INFO][o.e.c.l.JsonThrowablePatternConverterTests] [testStacktraceWithJson] asdf  
1\> [2019-02-11T00:46:57,500][INFO][o.e.c.l.JsonThrowablePatternConverterTests] [testStacktraceWithJson] after test  
2\> REPRODUCE WITH: gradlew :server:unitTest -Dtests.seed=2C70A6A35913036C -Dtests.class=org.elasticsearch.common.logging.JsonThrowablePatternConverterTests -Dtests.method="testStacktraceWithJson" -Dtests.security.manager=true -Dtests.loca  
FAILURE 0.05s J0 | JsonThrowablePatternConverterTests.testStacktraceWithJson \<\<\< FAILURES!

> Throwable #1: java.lang.AssertionError: stacktrace should formatted in multiple lines  
> Expected: \<47\>  
> but: was \<38\>  
> at \_\_randomizedtesting.SeedInfo.seed([2C70A6A35913036C:A4839636D03D5DE]:0)  
> at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)  
> at org.elasticsearch.common.logging.JsonThrowablePatternConverterTests.testStacktraceWithJson(JsonThrowablePatternConverterTests.java:79)  
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)  
> at java.base/java.lang.Thread.run(Thread.java:834)  
> 1\> [2019-02-11T00:46:57,526][INFO][o.e.c.l.JsonThrowablePatternConverterTests] [testNoStacktrace] before test  
> 1\> [2019-02-11T00:46:57,528][INFO][o.e.c.l.JsonThrowablePatternConverterTests] [testNoStacktrace] after test  
> 2\> NOTE: leaving temporary files on disk at: C:\gitkraken\elasticsearch\server\build\testrun\unitTest\J0\temp\org.elasticsearch.common.logging.JsonThrowablePatternConverterTests\_2C70A6A35913036C-001  
> 2\> NOTE: test params are: codec=Asserting(Lucene80): {}, docValues:{}, maxPointsInLeafNode=61, maxMBSortInHeap=6.301749144096524, sim=Asserting(org.apache.lucene.search.similarities.AssertingSimilarity@689f73ab), locale=en-CK, timezone=Poland  
> 2\> NOTE: Windows 10 10.0 amd64/Oracle Corporation 11.0.2 (64-bit)/cpus=8,threads=1,free=228343312,total=536870912  
> 2\> NOTE: All tests run in this JVM: [RecoveryDuringReplicationTests, ScheduleWithFixedDelayTests, AggregationCollectorTests, SignificantTextTests, ExpectedShardSizeAllocationTests, BinaryFieldTypeTests, FieldDataCacheTests, SimpleQueryStringBuilderTests, MemorySizeSettingsTests, DocsStatsTests, StupidBackoffModelTests, ActionTests, IgnoredFieldTypeTests, AvgBucketTests, MurmurHash3Tests, CancellableThreadsTests, PrimaryReplicaSyncerTests, BulkPrimaryExecutionContextTests, SingleNodeDiscoveryTests, DiscoveryModuleTests, FloatNestedSortingTests, NullValueObjectMappingTests, SpanMultiTermQueryBuilderTests, StoreTests, ClearScrollControllerTests, TermsSetQueryBuilderTests, LegacyMapperServiceTests, SecureStringTests, RoutingFieldMapperTests, TransportReplicationActionTests, SimpleQueryStringQueryParserTests, ClusterStateToStringTests, PrimaryElectionRoutingTests, DefaultShardOperationFailedExceptionTests, AbstractLifecycleRunnableTests, ClusterIndexHealthTests, GetPipelineResponseTests, SearchScrollAsyncActionTests, BalancedSingleShardTests, ClusterRerouteTests, SignificanceHeuristicTests, IngestServiceTests, TypeFieldTypeTests, ClearIndicesCacheResponseTests, TransportClearVotingConfigExclusionsActionTests, SearchSlowLogTests, XContentBuilderTests, DecisionTests, ThreadContextTests, InternalStatsTests, SpecialPermissionTests, ScriptedSimilarityTests, ValueCountTests, ESPolicyTests, RestAnalyzeActionTests, DateFieldMapperTests, PersistentTasksExecutorResponseTests, SettingsTests, GeoCentroidTests, AutoDateHistogramTests, InternalTopHitsTests, MultiPolygonBuilderTests, QueriesTests, OperatorTests, GatewayMetaStateTests, StringsTests, ShardCoreKeyMapTests, MetaDataCreateIndexServiceTests, InternalGeoDistanceTests, PutRepositoryRequestTests, RemoteClusterAwareClientTests, UnknownNamedObjectExceptionTests, CoreAnalysisFactoryTests, ToAndFromJsonMetaDataTests, InSyncAllocationIdTests, ClusterStateResponseTests, CamelCaseFieldNameTests, ClusterChangedEventTests, AddIncrementallyTests, ListenableFutureTests, TransportBulkActionIngestTests, InternalMedianAbsoluteDeviationTests, CountedBitSetTests, SearchRequestBuilderTests, CompositeAggregationBuilderTests, GetAliasesResponseTests, CacheTests, PeerFinderTests, ScrollContextTests, RestGetFieldMappingActionTests, IndicesServiceTests, RecoveryTests, ObjectMapperMergeTests, JsonThrowablePatternConverterTests]  
> Completed [452/1240] on J0 in 0.09s, 2 tests, 1 failure \<\<\< FAILURES!

--Shannon Monasco

P.S. Usually I see more interesting unit test output in the build scan (a separate tab on the left) but I'm not seeing a good report with your setup.

---

<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:** [March 11, 2019, 12:13am UTC](https://discuss.elastic.co/t/various-build-issues-with-master/167776/2 "2019-03-11T00:13:39Z")

</div>

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