There was similar discussion on this previously last year. See below references discussions,
At the time, the going theory may have been related to different java versions involved which may impact existing "gradle" daemon context but never drill down beyond that. Also, not sure if with the nb-javac included in NB13, if that will add anything further to the issue. Eric Bresie [email protected] >From one discussion: On Sun, Oct 10, 2021 at 10:52 AM Eric Bresie <[email protected]> wrote: > These were some of the issues mentioned previously (1), (2), (3). Maybe > some of those can help. > > I believe during travis build on one set of tests there seem to be some > files that are in use which cause some failures due to locked files...I > hypothesized the gradle daemon running with different java versions and/or > some concurrent jobs elsewhere may result in some locked files but that's > just a guess. There may be gradle daemon flags that can be added to make > things not use the daemon which maybe could help but that also is a guess. > > (1) > https://lists.apache.org/thread.html/r944d5e9e79b6abdf9337293f417c3b51229e8b7d7989833028328359%40%3Cdev.netbeans.apache.org%3E > (2) > https://lists.apache.org/thread.html/rcddd3063fb087fb894eeea38b6c555c802c4412e15a27ada1b4dccbe%40%3Cdev.netbeans.apache.org%3E > (3) > https://lists.apache.org/thread.html/r4d99f87f7e23c2cd2f1e6997e00e93ebd51cd5a640ad555d137402c9%40%3Cdev.netbeans.apache.org%3E > > Eric Bresie > [email protected] > > > On Mon, Oct 4, 2021 at 10:35 AM Svata Dedic <[email protected]> > wrote: > >> Dne 04. 10. 21 v 15:20 Eric Barboni napsal(a): >> > But now the sub job "Test Java modules with nb-javac on Java 8" fail >> with >> > the following on regular basis on several PR. >> > "hide-logs.sh ant $OPTS -f java/gradle.java test" exited with 1. >> >> In several of my PRs the Gradle's JavaExecToken* test is failing. Will >> fix as soon as I finish my current task. >> >> -S. >> > >From another discussion On Sun, Sep 19, 2021 at 9:24 AM Eric Bresie <[email protected]> wrote: > I was hoping to start a discussion on issues during travis CI builds. > > I've been trying to get my PR accepted for some time but it always seems > to fail during the Travis CI phase of testing for things that I can tell > are unrelated to the PR changes. I've noticed other "failures" for other > folks as well so I'm hoping to figure out where the problem may be and how > to get this resolved. If someone is working this I'd be interested to know > the progress. > > I think a lot of the problems is around the context of these travis ci > checks > > - 9844.13 Test Java modules with nb-javac on Java 8 > <https://app.travis-ci.com/github/apache/netbeans/jobs/531496484> > - 9844.25 Test refactoring.java without nb-javac on Java 15 > <https://app.travis-ci.com/github/apache/netbeans/jobs/531496496> > > I've tried running some of the builds locally and have seen some issues > during that so maybe it's related to other things in the build. Although > I'm not sure how some builds seem to be passing while master + PR based > ones in Travis CI are successful. > > I know resources can sometimes be an issue on the build infrastructure. > I'm suspicious of > > 1. Different Java versions involved (i.e. maybe different versions > confusing the build in some way [i.e. java 8 and java 15]) > 2. Interim test issues [I've noted some in the "Gradle Java Project"] > 3. Something broke in master someplace > > > I had a previous thread on this before (1) without much follow up [I'm > sure posting extensive stack traces was probably a turn off for > responding]. > I've seen folks talking about similar issues on the Slack channel > > Not sure if maybe this is part of some other issue (2) or where to go from > here. > > Eric Bresie > [email protected] > > Reference: > > (1) > https://lists.apache.org/thread.html/rcddd3063fb087fb894eeea38b6c555c802c4412e15a27ada1b4dccbe%40%3Cdev.netbeans.apache.org%3E > (2) NETBEANS-5627 Gradle project Lookup inconsistent until > OpenProjects.open() > On Sat, Mar 5, 2022 at 10:54 AM antonio <[email protected]> wrote: > Hi all, > > So it seems our Travis builds fail randomly on (at least) the following > tasks: > > - 11538.13 Test Java modules with nb-javac on Java 8 > - 11538.14 Test java.hints batch 1 with nb-javac on Java 8 > > Questions are: > > a) do we need these now that JDK >= 11 is required to run NetBeans? > b) if not, can we get rid of them? > > The objectives being: > > - Making Travis builds consistent and reliable. > - Reducing the amount of trees we burn to run Travis builds. > > Thanks, > Antonio > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > > >
