You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juneau.apache.org by "John D. Ament" <jo...@gmail.com> on 2016/09/21 13:37:34 UTC

Re: incubator-juneau git commit: Add RAT console output to figure out why it's failing only in Jenkins.

It doesn't like:

https://github.com/apache/incubator-juneau/blob/master/juneau-core/src/main/java/org/apache/juneau/html/dto/proto/temp.txt


On Wed, Sep 21, 2016 at 6:10 AM <ja...@apache.org> wrote:

> Repository: incubator-juneau
> Updated Branches:
>   refs/heads/master 6b8b2f2b8 -> f4f8a345b
>
>
> Add RAT console output to figure out why it's failing only in Jenkins.
>
> Project: http://git-wip-us.apache.org/repos/asf/incubator-juneau/repo
> Commit:
> http://git-wip-us.apache.org/repos/asf/incubator-juneau/commit/f4f8a345
> Tree:
> http://git-wip-us.apache.org/repos/asf/incubator-juneau/tree/f4f8a345
> Diff:
> http://git-wip-us.apache.org/repos/asf/incubator-juneau/diff/f4f8a345
>
> Branch: refs/heads/master
> Commit: f4f8a345b137b6869dea756f5d3c19fe0dad61b4
> Parents: 6b8b2f2
> Author: jamesbognar <ja...@gmail.com>
> Authored: Wed Sep 21 09:10:02 2016 -0400
> Committer: jamesbognar <ja...@gmail.com>
> Committed: Wed Sep 21 09:10:02 2016 -0400
>
> ----------------------------------------------------------------------
>  pom.xml | 1 +
>  1 file changed, 1 insertion(+)
> ----------------------------------------------------------------------
>
>
>
> http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/f4f8a345/pom.xml
> ----------------------------------------------------------------------
> diff --git a/pom.xml b/pom.xml
> index 5561d2f..f1c85cf 100644
> --- a/pom.xml
> +++ b/pom.xml
> @@ -119,6 +119,7 @@
>                                                 <exclude>**/*.log</exclude>
>
> <exclude>**/*.log.*</exclude>
>
> <exclude>**/target/**</exclude>
> +
>  <consoleOutput>true</consoleOutput>
>                                         </excludes>
>                                 </configuration>
>                                 <executions>
>
>

Re: incubator-juneau git commit: Add RAT console output to figure out why it's failing only in Jenkins.

Posted by "John D. Ament" <jo...@apache.org>.
Yeah, jenkins is a pain like that.  You can always browse the jenkins
workspace as well.

FWIW, this is a binary file.  There are characters at the beginning of each
line.

John

On Wed, Sep 21, 2016 at 7:10 AM James Bognar <ja...@salesforce.com>
wrote:

> Tricky...I was looking at the console output that doesn't have the link.  I
> didn't notice it in the email.
>
> Thanks again!
>
> On Wed, Sep 21, 2016 at 10:05 AM, John D. Ament <jo...@apache.org>
> wrote:
>
> > The build failure output includes the following text:
> >
> > [ERROR] Failed to execute goal
> org.apache.rat:apache-rat-plugin:0.11:check
> > (default) on project juneau-core: Too many files with unapproved
> license: 1
> > See RAT report in: <
> > https://builds.apache.org/job/Juneau-Java-1.7/ws/juneau-
> > core/target/rat.txt>
> > -> [Help 1]
> >
> > That link is accessible in jenkins.
> >
> > John
> >
> > On Wed, Sep 21, 2016 at 7:02 AM James Bognar <
> james.bognar@salesforce.com>
> > wrote:
> >
> > > Huh....strange.  It doesn't fail for me locally.  It thinks temp.txt
> is a
> > > binary file....
> > >
> > >   AL    src/main/java/org/apache/juneau/html/dto/proto/Td.java
> > >
> > >   B     src/main/java/org/apache/juneau/html/dto/proto/temp.txt
> > >
> > >   AL    src/main/java/org/apache/juneau/html/dto/proto/Template.java
> > >
> > > Thanks John!
> > >
> > > btw...how did you determine that?  I don't see how to access the
> rat.txt
> > > file generated by the jenkins build.
> > >
> > > On Wed, Sep 21, 2016 at 9:37 AM, John D. Ament <john.d.ament@gmail.com
> >
> > > wrote:
> > >
> > > > It doesn't like:
> > > >
> > > > https://github.com/apache/incubator-juneau/blob/master/
> > > > juneau-core/src/main/java/org/apache/juneau/html/dto/proto/temp.txt
> > > >
> > > >
> > > > On Wed, Sep 21, 2016 at 6:10 AM <ja...@apache.org> wrote:
> > > >
> > > > > Repository: incubator-juneau
> > > > > Updated Branches:
> > > > >   refs/heads/master 6b8b2f2b8 -> f4f8a345b
> > > > >
> > > > >
> > > > > Add RAT console output to figure out why it's failing only in
> > Jenkins.
> > > > >
> > > > > Project: http://git-wip-us.apache.org/repos/asf/incubator-juneau/
> > repo
> > > > > Commit:
> > > > >
> > >
> http://git-wip-us.apache.org/repos/asf/incubator-juneau/commit/f4f8a345
> > > > > Tree:
> > > > > http://git-wip-us.apache.org/repos/asf/incubator-juneau/
> > tree/f4f8a345
> > > > > Diff:
> > > > > http://git-wip-us.apache.org/repos/asf/incubator-juneau/
> > diff/f4f8a345
> > > > >
> > > > > Branch: refs/heads/master
> > > > > Commit: f4f8a345b137b6869dea756f5d3c19fe0dad61b4
> > > > > Parents: 6b8b2f2
> > > > > Author: jamesbognar <ja...@gmail.com>
> > > > > Authored: Wed Sep 21 09:10:02 2016 -0400
> > > > > Committer: jamesbognar <ja...@gmail.com>
> > > > > Committed: Wed Sep 21 09:10:02 2016 -0400
> > > > >
> > > > > ------------------------------------------------------------
> > ----------
> > > > >  pom.xml | 1 +
> > > > >  1 file changed, 1 insertion(+)
> > > > > ------------------------------------------------------------
> > ----------
> > > > >
> > > > >
> > > > >
> > > > > http://git-wip-us.apache.org/repos/asf/incubator-juneau/
> > > > blob/f4f8a345/pom.xml
> > > > > ------------------------------------------------------------
> > ----------
> > > > > diff --git a/pom.xml b/pom.xml
> > > > > index 5561d2f..f1c85cf 100644
> > > > > --- a/pom.xml
> > > > > +++ b/pom.xml
> > > > > @@ -119,6 +119,7 @@
> > > > >
> > > >  <exclude>**/*.log</exclude>
> > > > >
> > > > > <exclude>**/*.log.*</exclude>
> > > > >
> > > > > <exclude>**/target/**</exclude>
> > > > > +
> > > > >  <consoleOutput>true</consoleOutput>
> > > > >                                         </excludes>
> > > > >                                 </configuration>
> > > > >                                 <executions>
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > James Bognar
> > >
> >
>
>
>
> --
> James Bognar
>

Re: incubator-juneau git commit: Add RAT console output to figure out why it's failing only in Jenkins.

Posted by James Bognar <ja...@salesforce.com>.
Tricky...I was looking at the console output that doesn't have the link.  I
didn't notice it in the email.

Thanks again!

On Wed, Sep 21, 2016 at 10:05 AM, John D. Ament <jo...@apache.org>
wrote:

> The build failure output includes the following text:
>
> [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check
> (default) on project juneau-core: Too many files with unapproved license: 1
> See RAT report in: <
> https://builds.apache.org/job/Juneau-Java-1.7/ws/juneau-
> core/target/rat.txt>
> -> [Help 1]
>
> That link is accessible in jenkins.
>
> John
>
> On Wed, Sep 21, 2016 at 7:02 AM James Bognar <ja...@salesforce.com>
> wrote:
>
> > Huh....strange.  It doesn't fail for me locally.  It thinks temp.txt is a
> > binary file....
> >
> >   AL    src/main/java/org/apache/juneau/html/dto/proto/Td.java
> >
> >   B     src/main/java/org/apache/juneau/html/dto/proto/temp.txt
> >
> >   AL    src/main/java/org/apache/juneau/html/dto/proto/Template.java
> >
> > Thanks John!
> >
> > btw...how did you determine that?  I don't see how to access the rat.txt
> > file generated by the jenkins build.
> >
> > On Wed, Sep 21, 2016 at 9:37 AM, John D. Ament <jo...@gmail.com>
> > wrote:
> >
> > > It doesn't like:
> > >
> > > https://github.com/apache/incubator-juneau/blob/master/
> > > juneau-core/src/main/java/org/apache/juneau/html/dto/proto/temp.txt
> > >
> > >
> > > On Wed, Sep 21, 2016 at 6:10 AM <ja...@apache.org> wrote:
> > >
> > > > Repository: incubator-juneau
> > > > Updated Branches:
> > > >   refs/heads/master 6b8b2f2b8 -> f4f8a345b
> > > >
> > > >
> > > > Add RAT console output to figure out why it's failing only in
> Jenkins.
> > > >
> > > > Project: http://git-wip-us.apache.org/repos/asf/incubator-juneau/
> repo
> > > > Commit:
> > > >
> > http://git-wip-us.apache.org/repos/asf/incubator-juneau/commit/f4f8a345
> > > > Tree:
> > > > http://git-wip-us.apache.org/repos/asf/incubator-juneau/
> tree/f4f8a345
> > > > Diff:
> > > > http://git-wip-us.apache.org/repos/asf/incubator-juneau/
> diff/f4f8a345
> > > >
> > > > Branch: refs/heads/master
> > > > Commit: f4f8a345b137b6869dea756f5d3c19fe0dad61b4
> > > > Parents: 6b8b2f2
> > > > Author: jamesbognar <ja...@gmail.com>
> > > > Authored: Wed Sep 21 09:10:02 2016 -0400
> > > > Committer: jamesbognar <ja...@gmail.com>
> > > > Committed: Wed Sep 21 09:10:02 2016 -0400
> > > >
> > > > ------------------------------------------------------------
> ----------
> > > >  pom.xml | 1 +
> > > >  1 file changed, 1 insertion(+)
> > > > ------------------------------------------------------------
> ----------
> > > >
> > > >
> > > >
> > > > http://git-wip-us.apache.org/repos/asf/incubator-juneau/
> > > blob/f4f8a345/pom.xml
> > > > ------------------------------------------------------------
> ----------
> > > > diff --git a/pom.xml b/pom.xml
> > > > index 5561d2f..f1c85cf 100644
> > > > --- a/pom.xml
> > > > +++ b/pom.xml
> > > > @@ -119,6 +119,7 @@
> > > >
> > >  <exclude>**/*.log</exclude>
> > > >
> > > > <exclude>**/*.log.*</exclude>
> > > >
> > > > <exclude>**/target/**</exclude>
> > > > +
> > > >  <consoleOutput>true</consoleOutput>
> > > >                                         </excludes>
> > > >                                 </configuration>
> > > >                                 <executions>
> > > >
> > > >
> > >
> >
> >
> >
> > --
> > James Bognar
> >
>



-- 
James Bognar

Re: incubator-juneau git commit: Add RAT console output to figure out why it's failing only in Jenkins.

Posted by "John D. Ament" <jo...@apache.org>.
The build failure output includes the following text:

[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check
(default) on project juneau-core: Too many files with unapproved license: 1
See RAT report in: <
https://builds.apache.org/job/Juneau-Java-1.7/ws/juneau-core/target/rat.txt>
-> [Help 1]

That link is accessible in jenkins.

John

On Wed, Sep 21, 2016 at 7:02 AM James Bognar <ja...@salesforce.com>
wrote:

> Huh....strange.  It doesn't fail for me locally.  It thinks temp.txt is a
> binary file....
>
>   AL    src/main/java/org/apache/juneau/html/dto/proto/Td.java
>
>   B     src/main/java/org/apache/juneau/html/dto/proto/temp.txt
>
>   AL    src/main/java/org/apache/juneau/html/dto/proto/Template.java
>
> Thanks John!
>
> btw...how did you determine that?  I don't see how to access the rat.txt
> file generated by the jenkins build.
>
> On Wed, Sep 21, 2016 at 9:37 AM, John D. Ament <jo...@gmail.com>
> wrote:
>
> > It doesn't like:
> >
> > https://github.com/apache/incubator-juneau/blob/master/
> > juneau-core/src/main/java/org/apache/juneau/html/dto/proto/temp.txt
> >
> >
> > On Wed, Sep 21, 2016 at 6:10 AM <ja...@apache.org> wrote:
> >
> > > Repository: incubator-juneau
> > > Updated Branches:
> > >   refs/heads/master 6b8b2f2b8 -> f4f8a345b
> > >
> > >
> > > Add RAT console output to figure out why it's failing only in Jenkins.
> > >
> > > Project: http://git-wip-us.apache.org/repos/asf/incubator-juneau/repo
> > > Commit:
> > >
> http://git-wip-us.apache.org/repos/asf/incubator-juneau/commit/f4f8a345
> > > Tree:
> > > http://git-wip-us.apache.org/repos/asf/incubator-juneau/tree/f4f8a345
> > > Diff:
> > > http://git-wip-us.apache.org/repos/asf/incubator-juneau/diff/f4f8a345
> > >
> > > Branch: refs/heads/master
> > > Commit: f4f8a345b137b6869dea756f5d3c19fe0dad61b4
> > > Parents: 6b8b2f2
> > > Author: jamesbognar <ja...@gmail.com>
> > > Authored: Wed Sep 21 09:10:02 2016 -0400
> > > Committer: jamesbognar <ja...@gmail.com>
> > > Committed: Wed Sep 21 09:10:02 2016 -0400
> > >
> > > ----------------------------------------------------------------------
> > >  pom.xml | 1 +
> > >  1 file changed, 1 insertion(+)
> > > ----------------------------------------------------------------------
> > >
> > >
> > >
> > > http://git-wip-us.apache.org/repos/asf/incubator-juneau/
> > blob/f4f8a345/pom.xml
> > > ----------------------------------------------------------------------
> > > diff --git a/pom.xml b/pom.xml
> > > index 5561d2f..f1c85cf 100644
> > > --- a/pom.xml
> > > +++ b/pom.xml
> > > @@ -119,6 +119,7 @@
> > >
> >  <exclude>**/*.log</exclude>
> > >
> > > <exclude>**/*.log.*</exclude>
> > >
> > > <exclude>**/target/**</exclude>
> > > +
> > >  <consoleOutput>true</consoleOutput>
> > >                                         </excludes>
> > >                                 </configuration>
> > >                                 <executions>
> > >
> > >
> >
>
>
>
> --
> James Bognar
>

Re: incubator-juneau git commit: Add RAT console output to figure out why it's failing only in Jenkins.

Posted by James Bognar <ja...@salesforce.com>.
Huh....strange.  It doesn't fail for me locally.  It thinks temp.txt is a
binary file....

  AL    src/main/java/org/apache/juneau/html/dto/proto/Td.java

  B     src/main/java/org/apache/juneau/html/dto/proto/temp.txt

  AL    src/main/java/org/apache/juneau/html/dto/proto/Template.java

Thanks John!

btw...how did you determine that?  I don't see how to access the rat.txt
file generated by the jenkins build.

On Wed, Sep 21, 2016 at 9:37 AM, John D. Ament <jo...@gmail.com>
wrote:

> It doesn't like:
>
> https://github.com/apache/incubator-juneau/blob/master/
> juneau-core/src/main/java/org/apache/juneau/html/dto/proto/temp.txt
>
>
> On Wed, Sep 21, 2016 at 6:10 AM <ja...@apache.org> wrote:
>
> > Repository: incubator-juneau
> > Updated Branches:
> >   refs/heads/master 6b8b2f2b8 -> f4f8a345b
> >
> >
> > Add RAT console output to figure out why it's failing only in Jenkins.
> >
> > Project: http://git-wip-us.apache.org/repos/asf/incubator-juneau/repo
> > Commit:
> > http://git-wip-us.apache.org/repos/asf/incubator-juneau/commit/f4f8a345
> > Tree:
> > http://git-wip-us.apache.org/repos/asf/incubator-juneau/tree/f4f8a345
> > Diff:
> > http://git-wip-us.apache.org/repos/asf/incubator-juneau/diff/f4f8a345
> >
> > Branch: refs/heads/master
> > Commit: f4f8a345b137b6869dea756f5d3c19fe0dad61b4
> > Parents: 6b8b2f2
> > Author: jamesbognar <ja...@gmail.com>
> > Authored: Wed Sep 21 09:10:02 2016 -0400
> > Committer: jamesbognar <ja...@gmail.com>
> > Committed: Wed Sep 21 09:10:02 2016 -0400
> >
> > ----------------------------------------------------------------------
> >  pom.xml | 1 +
> >  1 file changed, 1 insertion(+)
> > ----------------------------------------------------------------------
> >
> >
> >
> > http://git-wip-us.apache.org/repos/asf/incubator-juneau/
> blob/f4f8a345/pom.xml
> > ----------------------------------------------------------------------
> > diff --git a/pom.xml b/pom.xml
> > index 5561d2f..f1c85cf 100644
> > --- a/pom.xml
> > +++ b/pom.xml
> > @@ -119,6 +119,7 @@
> >
>  <exclude>**/*.log</exclude>
> >
> > <exclude>**/*.log.*</exclude>
> >
> > <exclude>**/target/**</exclude>
> > +
> >  <consoleOutput>true</consoleOutput>
> >                                         </excludes>
> >                                 </configuration>
> >                                 <executions>
> >
> >
>



-- 
James Bognar