> -----Original Message----- > From: Andrus Adamchik [mailto:and...@objectstyle.org] > Sent: Sunday, 7 July 2013 5:09 PM > To: dev@cayenne.apache.org; ga...@16degrees.com.au > Subject: Re: Buildbot RAT reports no longer working for Cayenne project > > Hi Gavin, > > Sorry about that. There was no intent to break buildbot reports. > > "mvn rat:check" wasn't working for me on a local machine. It would get > bogged in my .git directory, eventually failing with "too many noncompliant > files" error (or something similar). So I simply created a parallel bash script, > without touching the Maven config. > > Unlike Ari, I don't understand buildbot well enough. Is there a place to check > what exact command it is executing to generate this report? This should give > me an idea how to restore it. (I have a suspicion of what is causing it, but I > don't want to start fixing it in the dark).
No worries Andrus, ok so we have a few things going on :- commit -> build -> rat report -> published. 1. A commit to your trunk automatically triggers a build to the cayenne-trunk-rat-report build contained in: https://svn.apache.org/repos/infra/infrastructure/buildbot/aegis/buildmaster /master1/projects/cayenne.conf which checks out a new copy of your trunk then runs this command: 'bash', '-c', 'ant -f /home/buildslave1/slave1/rat-buildfiles/cayenne.xml -lib /home/buildslave1/ so that command references two files: 1.) https://svn.apache.org/repos/infra/infrastructure/buildbot/ceres/buildslave1 /slave1/rat-buildfiles/cayenne.xml -- the above file looks for <excludesfile name="${src-dir}/build-tools/rat-excludes" /> which is now missing and why your buildbot reports fail now. 2.) the current rat release jar file held at /home/buildslave1/apache-rat-0.8-SNAPSHOT.jar (I will update that jar soon). As a committer, you should have access to those files in svn to take a look (and make changes). Note that we don't use maven for rat on buildbot slaves so if you need any help in that regard, the creadur (nee rat) dev mailing list is very good. For anything else, I'll be glad to assist getting all aspects working. Gav... > > Thanks, > Andrus > > On Jul 7, 2013, at 4:01 AM, Gavin McDonald <ga...@16degrees.com.au> > wrote: > > Hi, > > > > It seems that you've made some changes to bypass the ASF Buildbot [1] > > producing your RAT reports [2] and you now do it a different way. > > > > This puzzles me somewhat since Ari had only just opened an INFRA [3] > > issue 4 days ago to get it working on Buildbot [4] . And I responded > > quickly and got it working right away (3 days ago). All one needed to > > do from then on was to enhance your rat-excludes file but you have > > removed it, making all the builds now fail on every commit. [5] (many > > projects do find it useful and work ok with a rat-excludes file [6]) > > > > Going forward, if you intend doing your own rat-reports without > > buildbots assistance, shall I remove the buildbot configuration for > Cayenne? > > > > (In the meantime, I've changed the failure/pass emails for this build > > from my inbox to this dev list) > > > > Thanks > > > > Gav... > > > > [1] - http://ci.apache.org/buildbot.html > > [2] - http://ci.apache.org/projects/cayenne/rat-output.html > > [3] - https://issues.apache.org/jira/browse/INFRA-6488 > > [4] - http://ci.apache.org/builders/cayenne-trunk-rat-report/builds/3 > > [5] - http://ci.apache.org/builders/cayenne-trunk-rat-report/builds > > [6] - http://ci.apache.org/projects/rat-master-summary.html > > > > --- > > > > > >