incubator-s4-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karthik Kambatla <kkamb...@cs.purdue.edu>
Subject Re: [s4-piper] gradle test
Date Sun, 23 Oct 2011 04:45:35 GMT
------------------------------------------------------------
Gradle 1.0-milestone-3
------------------------------------------------------------

Gradle build time: Thursday, September 8, 2011 4:06:52 PM UTC
Groovy: 1.7.10
Ant: Apache Ant(TM) version 1.8.2 compiled on August 19 2011
Ivy: non official version
JVM: 1.6.0_23 (Sun Microsystems Inc. 20.0-b11)
OS: Linux 3.0.0-12-generic amd64

On Sun, Oct 23, 2011 at 12:41 AM, Leo Neumeyer <leoneumeyer@gmail.com>wrote:

> Strange. Let's check that we are using the same gradle:
>
> $ gradle -v
>
> ------------------------------------------------------------
> Gradle 1.0-milestone-3
> ------------------------------------------------------------
>
> Gradle build time: Monday, 25 April 2011 5:40:11 PM EST
> Groovy: 1.7.10
> Ant: Apache Ant(TM) version 1.8.2 compiled on December 20 2010
> Ivy: 2.2.0
> JVM: 1.6.0_26 (Apple Inc. 20.1-b02-383)
> OS: Mac OS X 10.7.2 x86_64
>
> and do all this to see if we can tell where it is crashing:
>
> Run with --stacktrace option to get the stack trace. Run with --info or
> --debug option to get more log output.
>
> -leo
>
> On Sat, Oct 22, 2011 at 8:07 PM, Karthik Kambatla
> <kkambatl@cs.purdue.edu> wrote:
> > Hi Leo
> >
> > I freshly cloned your master, but still getting same problem -
> >
> > kkambatl@keka:/tmp/s4-piper$ gradle test
> > :s4-base:compileJava
> > :s4-base:processResources UP-TO-DATE
> > :s4-base:classes
> > :s4-base:compileTestJava UP-TO-DATE
> > :s4-base:processTestResources UP-TO-DATE
> > :s4-base:testClasses UP-TO-DATE
> > :s4-base:test
> >
> > FAILURE: Build failed with an exception.
> >
> > * What went wrong:
> > Execution failed for task ':s4-base:test'.
> > Cause: Could not generate test report to
> > '/tmp/s4-piper/subprojects/s4-base/build/reports/tests'.
> > Cause: java.lang.NullPointerException (no error message)
> >
> > * Try:
> > Run with --stacktrace option to get the stack trace. Run with --info or
> > --debug option to get more log output.
> >
> > BUILD FAILED
> >
> > Total time: 16.95 secs
> >
> > On Sat, Oct 22, 2011 at 10:31 PM, Leo Neumeyer <leoneumeyer@gmail.com
> >wrote:
> >
> >> Karthik,
> >>
> >> Can you pull the latest commit and try gain. It works fine for me.
> >>
> >> The test reports are written to these locations:
> >>
> >> subprojects/s4-*/build/reports/tests/index.html
> >>
> >> This is my output:
> >>
> >> $ gradle test
> >> :s4-base:compileJava
> >> :s4-base:processResources UP-TO-DATE
> >> :s4-base:classes
> >> :s4-base:compileTestJava UP-TO-DATE
> >> :s4-base:processTestResources UP-TO-DATE
> >> :s4-base:testClasses UP-TO-DATE
> >> :s4-base:test
> >> :s4-base:jar
> >> :s4-comm:compileJava
> >> :s4-comm:processResources UP-TO-DATE
> >> :s4-comm:classes
> >> :s4-comm:compileTestJava
> >> :s4-comm:processTestResources
> >> :s4-comm:testClasses
> >> :s4-comm:test
> >> :s4-comm:jar
> >> :s4-core:compileJava
> >> :s4-core:processResources
> >> :s4-core:classes
> >> :s4-core:compileTestJava
> >> :s4-core:processTestResources
> >> :s4-core:testClasses
> >> :s4-core:test
> >> :s4-core:jar
> >> :s4-example:compileJava
> >> :s4-example:processResources
> >> :s4-example:classes
> >> :s4-example:compileTestJava UP-TO-DATE
> >> :s4-example:processTestResources UP-TO-DATE
> >> :s4-example:testClasses UP-TO-DATE
> >> :s4-example:test
> >>
> >> BUILD SUCCESSFUL
> >>
> >> Total time: 1 mins 30.641 secs
> >>
> >> -leo
> >>
> >>
> >> On Sat, Oct 22, 2011 at 5:38 PM, Karthik Kambatla
> >> <kkambatl@cs.purdue.edu> wrote:
> >> > Hi again
> >> >
> >> > I have trouble understanding how to run the unit tests that we write -
> >> like
> >> > test.s4.TestCircularFifoBuffer. gradle tasks tells me I should run
> >> 'gradle
> >> > test'. When I run gradle test, it fails with the following output.
> Please
> >> > help.
> >> >
> >> > kkambatl@keka:~/code/s4-piper$ gradle test
> >> > :s4-base:compileJava UP-TO-DATE
> >> > :s4-base:processResources UP-TO-DATE
> >> > :s4-base:classes UP-TO-DATE
> >> > :s4-base:compileTestJava UP-TO-DATE
> >> > :s4-base:processTestResources UP-TO-DATE
> >> > :s4-base:testClasses UP-TO-DATE
> >> > :s4-base:test
> >> >
> >> > FAILURE: Build failed with an exception.
> >> >
> >> > * What went wrong:
> >> > Execution failed for task ':s4-base:test'.
> >> > Cause: Could not generate test report to
> >> >
> '/home/kkambatl/code/s4-piper/subprojects/s4-base/build/reports/tests'.
> >> > Cause: java.lang.NullPointerException (no error message)
> >> >
> >> > * Try:
> >> > Run with --stacktrace option to get the stack trace. Run with --info
> or
> >> > --debug option to get more log output.
> >> >
> >> > BUILD FAILED
> >> >
> >> > Total time: 13.179 secs
> >> >
> >> > Thanks much,
> >> > Karthik
> >> >
> >>
> >>
> >>
> >> --
> >>
> >> -leo
> >>
> >
>
>
>
> --
>
> -leo
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message