The problembcomes from the fact that Gradle sets a Xmx for itself in the settings file. Jenkins installs a settings file before.
As every GitHub run is a clean checkout in new working dir, the settings never persist. IMHO, we should change the command line and pass JVM options to set heap size as it is written to the settings file. Uwe Am January 8, 2021 6:13:01 PM UTC schrieb David Smiley <[email protected]>: >Perhaps the OOMs are because .github/workflows/gradle-precommit.yml >yesterday switched from doing "gradlew check -x test" to "gradlew >precomit" >? CC Michael Sokolov > >~ David Smiley >Apache Lucene/Solr Search Developer >http://www.linkedin.com/in/davidwsmiley > > >On Fri, Jan 8, 2021 at 1:06 PM Timothy Potter <[email protected]> >wrote: > >> Same for my PR too ... OOMs about 14 minutes in ... >> >> On Fri, Jan 8, 2021 at 9:45 AM Houston Putman ><[email protected]> >> wrote: >> >>> Weirdly enough, Github PR precommit actions have started to OOM. Not >sure >>> if it's a github thing or something that changed on our end... >>> >>> On Fri, Jan 8, 2021 at 11:37 AM Joel Bernstein <[email protected]> >>> wrote: >>> >>>> It turned out to be this while I merged branches: >>>> >>>> warning: inexact rename detection was skipped due to too many >files. >>>> >>>> warning: you may want to set your merge.renamelimit variable to at >least >>>> 1639 and retry the command. >>>> >>>> Joel Bernstein >>>> http://joelsolr.blogspot.com/ >>>> >>>> >>>> On Fri, Jan 8, 2021 at 11:16 AM Joel Bernstein <[email protected]> >>>> wrote: >>>> >>>>> Thanks Eric, I'll do a fresh clone, something must be out of wack >with >>>>> my local repo. >>>>> >>>>> >>>>> Joel Bernstein >>>>> http://joelsolr.blogspot.com/ >>>>> >>>>> >>>>> On Fri, Jan 8, 2021 at 10:55 AM Eric Pugh < >>>>> [email protected]> wrote: >>>>> >>>>>> It ran for me just fine. I *think* you may not be up to date, >as >>>>>> dataimporthandler/ is no longer in master! >>>>>> >>>>>> >>>>>> On Jan 8, 2021, at 10:08 AM, Joel Bernstein <[email protected]> >>>>>> wrote: >>>>>> >>>>>> I'm getting failing gradle precommits in master: >>>>>> >>>>>> *> Task :solr:contrib:validateSourcePatterns* FAILED >>>>>> tabs instead spaces: >>>>>> >/Users/joelbernstein/committer/lucene-solr/solr/contrib/dataimporthandler/build/test-results/test/TEST-org.apache.solr.handler.dataimport.TestDocBuilder.xml >>>>>> tabs instead spaces: >>>>>> >/Users/joelbernstein/committer/lucene-solr/solr/contrib/dataimporthandler/build/test-results/test/TEST-org.apache.solr.handler.dataimport.TestSolrEntityProcessorEndToEnd.xml >>>>>> tabs instead spaces: >>>>>> >/Users/joelbernstein/committer/lucene-solr/solr/contrib/dataimporthandler/build/test-results/test/TEST-org.apache.solr.handler.dataimport.TestErrorHandling.xml >>>>>> tabs instead spaces: >>>>>> >/Users/joelbernstein/committer/lucene-solr/solr/contrib/dataimporthandler/build/test-results/test/TEST-org.apache.solr.handler.dataimport.TestScriptTransformer.xml >>>>>> tabs instead spaces: >>>>>> >/Users/joelbernstein/committer/lucene-solr/solr/contrib/dataimporthandler/build/test-results/test/TEST-org.apache.solr.handler.dataimport.TestSqlEntityProcessor.xml >>>>>> tabs instead spaces: >>>>>> >/Users/joelbernstein/committer/lucene-solr/solr/contrib/dataimporthandler/build/test-results/test/TEST-org.apache.solr.handler.dataimport.TestDocBuilder2.xml >>>>>> tabs instead spaces: >>>>>> >/Users/joelbernstein/committer/lucene-solr/solr/contrib/dataimporthandler/build/test-results/test/TEST-org.apache.solr.handler.dataimport.TestZKPropertiesWriter.xml >>>>>> tabs instead spaces: >>>>>> >/Users/joelbernstein/committer/lucene-solr/solr/contrib/dataimporthandler-extras/build/test-results/test/TEST-org.apache.solr.handler.dataimport.TestTikaEntityProcessor.xml >>>>>> >>>>>> FAILURE: Build failed with an exception. >>>>>> >>>>>> * Where: >>>>>> Script >>>>>> >'/Users/joelbernstein/committer/lucene-solr/gradle/validation/validate-source-patterns.gradle' >>>>>> line: 324 >>>>>> >>>>>> * What went wrong: >>>>>> Execution failed for task ':solr:contrib:validateSourcePatterns'. >>>>>> > Found 8 violations in source files (tabs instead spaces). >>>>>> >>>>>> >>>>>> Are others seeing this as well? I'm not seeing Jenkins emails >about >>>>>> this. >>>>>> >>>>>> >>>>>> Joel Bernstein >>>>>> http://joelsolr.blogspot.com/ >>>>>> >>>>>> >>>>>> _______________________ >>>>>> *Eric Pugh **| *Founder & CEO | OpenSource Connections, LLC | >434.466.1467 >>>>>> | http://www.opensourceconnections.com | My Free/Busy >>>>>> <http://tinyurl.com/eric-cal> >>>>>> Co-Author: Apache Solr Enterprise Search Server, 3rd Ed >>>>>> ><https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw> >>>>>> This e-mail and all contents, including attachments, is >considered to >>>>>> be Company Confidential unless explicitly stated otherwise, >regardless >>>>>> of whether attachments are marked as such. >>>>>> >>>>>> -- Uwe Schindler Achterdiek 19, 28357 Bremen https://www.thetaphi.de
