You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Tejas Patil (JIRA)" <ji...@apache.org> on 2013/08/13 10:03:47 UTC

[jira] [Updated] (SAMZA-10) Unable to build due to test failure

     [ https://issues.apache.org/jira/browse/SAMZA-10?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tejas Patil updated SAMZA-10:
-----------------------------

    Attachment: build.log.tgz

Hi Chris,

> 1. Is this reproducible from a clean checkout? What about if you delete the .m2 and gradle caches (as shown above)?
Yes. I followed the steps below and could see TestTopicMetadataCache.testBasicMetadataCacheFunctionality failing consistently (ran the entire thing 5 times).

rm -rf ~/.ivy2 ~/.m2 ~/.gradle     # great... now I have to download entire internet for next few hours !!!
rm -rf incubator-samza/
git clone http://git-wip-us.apache.org/repos/asf/incubator-samza.git
cd incubator-samza
./gradlew clean build --stacktrace --debug  2>&1 | tee build.log

Note that in subsequent builds, on the checkout where it fails for the first time, were successful.

> 2. What OS are you running this on?
Ubuntu-Secure-Remix 12.10 19oct2012
Kernel: 3.5.0-37-generic

> 3. Do you have any SCALA environment variables set in your bash env ($ env | grep SCALA)?
I have SCALA_HOME and scala bin in $PATH

$ scala -version
Scala code runner version 2.9.2 -- Copyright 2002-2011, LAMP/EPFL

> 4. Are you running a Gradle daemon on your machine?
No

> If this issue is reproducible in any way for you:
> 1. can you run the same gradle command with --debug?
I have saved the logs for the run with "--debug" and "--stacktrace" set.  Attached build.log.tgz

> 2. Does switching from Scala predef assert to JUnit's assert fix the issue?
It did not. Still the same test had failed.
                
> Unable to build due to test failure
> -----------------------------------
>
>                 Key: SAMZA-10
>                 URL: https://issues.apache.org/jira/browse/SAMZA-10
>             Project: Samza
>          Issue Type: Bug
>         Environment: 64-bit Ubuntu box
>            Reporter: Tejas Patil
>            Assignee: Chris Riccomini
>         Attachments: build.log.tgz
>
>
> After following the "checkout and build" instruction given over wiki [0], there is a test failure due to which the build fails. Sharing the console output and test report of the failed test case over [1] and [2] respectively.
> When I triggered the build again on the same checkout, there were no failures and the build was successful. It seems that there is some problem while building for the very first time.
> [0] : http://samza.incubator.apache.org/startup/download/
> [1] : http://pastebin.com/himg5bC3
> [2] : http://pastebin.com/BFzCBnwP

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira