You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hama.apache.org by "Edward J. Yoon (JIRA)" <ji...@apache.org> on 2012/06/13 14:05:44 UTC

[jira] [Created] (HAMA-590) Fix TestSubmitGraphJob tests

Edward J. Yoon created HAMA-590:
-----------------------------------

             Summary: Fix TestSubmitGraphJob tests
                 Key: HAMA-590
                 URL: https://issues.apache.org/jira/browse/HAMA-590
             Project: Hama
          Issue Type: Bug
          Components: graph
            Reporter: Edward J. Yoon


I just noticed that graph's unit tests are not works and just skipped. 
All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Re: [jira] [Commented] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by Thomas Jungblut <th...@googlemail.com>.
No stop
Am 15.06.2012 09:27 schrieb "Edward J. Yoon (JIRA)" <ji...@apache.org>:

>
>    [
> https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295502#comment-13295502]
>
> Edward J. Yoon commented on HAMA-590:
> -------------------------------------
>
> It's hard to find the problem from your commits.
>
> Let's revert to yesterday.
>
> > Fix TestSubmitGraphJob tests
> > ----------------------------
> >
> >                 Key: HAMA-590
> >                 URL: https://issues.apache.org/jira/browse/HAMA-590
> >             Project: Hama
> >          Issue Type: Bug
> >          Components: graph
> >            Reporter: Edward J. Yoon
> >            Assignee: Thomas Jungblut
> >             Fix For: 0.5.0
> >
> >
> > I just noticed that graph's unit tests are just skipped.
> > All unit tests should be fixed and ran by default.
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA
> administrators:
> https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>

[jira] [Commented] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Thomas Jungblut (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295643#comment-13295643 ] 

Thomas Jungblut commented on HAMA-590:
--------------------------------------

fixed' 

+        // this is really needed to register the barrier watcher, don't remove this line!
+        zk.exists(pathToSuperstepZnode + "/ready", barrierWatcher);

-.-
                
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Thomas Jungblut
>             Fix For: 0.5.0
>
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295492#comment-13295492 ] 

Edward J. Yoon commented on HAMA-590:
-------------------------------------

{quote}
If you don't have more logs, I can't help you on that.
{quote}

Building is OK on your computer?
                
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Thomas Jungblut
>             Fix For: 0.5.0
>
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Thomas Jungblut (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295480#comment-13295480 ] 

Thomas Jungblut commented on HAMA-590:
--------------------------------------

There are no failures. The job works and outputs the correct 1.0 sum.
                
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Thomas Jungblut
>             Fix For: 0.5.0
>
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295513#comment-13295513 ] 

Edward J. Yoon commented on HAMA-590:
-------------------------------------

I know. 

A people (who use Ubuntu cluster), told to me that they can't build TRUNK after 'svn up' today. So, I was removed { fail(); } lines temporarily for that people.

Try to build again. I can't build TRUNK on ubuntu, gentoo, centos machines. I don't think so your computer is OK.

{code}
Ubuntu:

[INFO] 
[INFO] Apache Hama parent POM ............................ SUCCESS [2.239s]
[INFO] core .............................................. SUCCESS [6:09.084s]
[INFO] graph ............................................. FAILURE [11.224s]
[INFO] examples .......................................... SKIPPED
[INFO] yarn .............................................. SKIPPED
[INFO] machine learning .................................. SKIPPED
[INFO] hama-dist ......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6:23.063s
[INFO] Finished at: Fri Jun 15 16:58:51 KST 2012
[INFO] Final Memory: 50M/266M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.6:test (default-test) on project hama-graph: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/edward/workspace/hama-trunk/graph/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :hama-graph
edward@slave:~/workspace/hama-trunk$ 
edward@slave:~/workspace/hama-trunk$ svn up
Revision 1350513.

Gentoo:

Tests run: 45, Failures: 1, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] core .............................................. FAILURE [2:50.960s]
[INFO] graph ............................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:51.841s
[INFO] Finished at: Fri Jun 15 17:02:04 KST 2012

{code}
                
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Thomas Jungblut
>             Fix For: 0.5.0
>
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Reopened] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward J. Yoon reopened HAMA-590:
---------------------------------

      Assignee: Edward J. Yoon  (was: Thomas Jungblut)

Reopen. didn't fixed anything.
                
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>             Fix For: 0.5.0
>
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Thomas Jungblut (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295641#comment-13295641 ] 

Thomas Jungblut commented on HAMA-590:
--------------------------------------

That's quite strange, while debugging it hangs within the tasks in the supersteps. Looks like they don't get launched properly.
                
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Thomas Jungblut
>             Fix For: 0.5.0
>
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295488#comment-13295488 ] 

Edward J. Yoon commented on HAMA-590:
-------------------------------------

and, core module's TestBSPMasterGroomServer also.  

Nightly builds hangs. https://builds.apache.org/job/Hama-Nightly/580/console

{code}
Test set: org.apache.hama.bsp.TestBSPMasterGroomServer
-------------------------------------------------------------------------------
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec <<< FAILURE!
testSubmitJob(org.apache.hama.bsp.TestBSPMasterGroomServer)  Time elapsed: 0.004 sec  <<< FAILURE!
junit.framework.AssertionFailedError: null
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.fail(Assert.java:53)
	at org.apache.hama.bsp.TestBSPMasterGroomServer.testSubmitJob(TestBSPMasterGroomServer.java:107)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at junit.framework.TestCase.runTest(TestCase.java:168)
	at junit.framework.TestCase.runBare(TestCase.java:134)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at junit.framework.TestSuite.runTest(TestSuite.java:232)
	at junit.framework.TestSuite.run(TestSuite.java:227)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
	at org.junit.runners.Suite.runChild(Suite.java:128)
	at org.junit.runners.Suite.runChild(Suite.java:24)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:127)
	at org.apache.maven.surefire.junitcore.JUnitCoreTestSet.runJunitCore(JUnitCoreTestSet.java:208)
	at org.apache.maven.surefire.junitcore.JUnitCoreTestSet.execute(JUnitCoreTestSet.java:95)
	at org.apache.maven.surefire.junitcore.JUnitCoreTestSet.execute(JUnitCoreTestSet.java:82)
	at org.apache.maven.surefire.junitcore.JUnitCoreDirectoryTestSuite.execute(JUnitCoreDirectoryTestSuite.java:84)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:104)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1017)
{code}
                
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Thomas Jungblut
>             Fix For: 0.5.0
>
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Thomas Jungblut (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295063#comment-13295063 ] 

Thomas Jungblut commented on HAMA-590:
--------------------------------------

Yeah they were deactivated because we had no testcases for that module weeks ago.
                
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Thomas Jungblut
>             Fix For: 0.5.0
>
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Thomas Jungblut (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295056#comment-13295056 ] 

Thomas Jungblut commented on HAMA-590:
--------------------------------------

Can you elaborate more? In my case they are executed by maven in "mvn clean install" for example.
                
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295646#comment-13295646 ] 

Edward J. Yoon commented on HAMA-590:
-------------------------------------

Wow, thanks :D
                
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Thomas Jungblut
>             Fix For: 0.5.0
>
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Thomas Jungblut (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295486#comment-13295486 ] 

Thomas Jungblut commented on HAMA-590:
--------------------------------------

{{{
-------------------------------------------------------------------------------
Test set: org.apache.hama.graph.TestSubmitGraphJob
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec

}}}

Really, no idea what is wrong. The job has not completed normally, so this is not a graph problem but rather something that the base test in core is not working. If you don't have more logs, I can't help you on that.
                
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Thomas Jungblut
>             Fix For: 0.5.0
>
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295520#comment-13295520 ] 

Edward J. Yoon commented on HAMA-590:
-------------------------------------

Oh......  OK.

I'm heading out to dinner right now. cu later.
                
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Thomas Jungblut
>             Fix For: 0.5.0
>
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Thomas Jungblut (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295648#comment-13295648 ] 

Thomas Jungblut commented on HAMA-590:
--------------------------------------

now my maven build fails, further investigating.
                
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Thomas Jungblut
>             Fix For: 0.5.0
>
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Thomas Jungblut (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295627#comment-13295627 ] 

Thomas Jungblut commented on HAMA-590:
--------------------------------------

{noformat}

127.0.0.1       localhost       ThomasJDesktop
127.0.1.1       ThomasJDesktop

{noformat}

This is my host file, normally on ubuntu you get something like localhost.localdomain as additional hostname, this is basically why it fails.
I couldn't track this issue further, but I try now.
                
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Thomas Jungblut
>             Fix For: 0.5.0
>
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295491#comment-13295491 ] 

Edward J. Yoon commented on HAMA-590:
-------------------------------------

I don't remember exactly but, there was NullPointerException at getTaskToRun() method. I guess, it's a problem of graph partition logic.

{code}
    // Failed in attempt to get data locality or there was no input split.
    if (selectedGroom == null) {
      Iterator<String> groomIter = grooms.keySet().iterator();
      while (groomIter.hasNext()) {
        GroomServerStatus groom = grooms.get(groomIter.next());
        Integer taskInGroom = tasksInGroomMap.get(groom);
        taskInGroom = (taskInGroom == null) ? 0 : taskInGroom;
        if (taskInGroom < groom.getMaxTasks()) {
          selectedGroom = groom;
          t = new BSPTask(jobId, jobFile, taskid, partition, splitClass, split);
          activeTasks.put(taskid, groom.getGroomName());
        }
      }
{code}
                
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Thomas Jungblut
>             Fix For: 0.5.0
>
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Thomas Jungblut (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295650#comment-13295650 ] 

Thomas Jungblut commented on HAMA-590:
--------------------------------------

{noformat}
12/06/15 15:29:18 INFO bsp.BSPJobClient: Running job: job_201206151529_0001
12/06/15 15:29:18 INFO bsp.GroomServer: Launch 2 tasks.
12/06/15 15:29:18 WARN bsp.GroomServer: Error initializing attempt_201206151529_0001_000000_0:
java.lang.NullPointerException
	at org.apache.hama.bsp.GroomServer.localizeJob(GroomServer.java:637)
	at org.apache.hama.bsp.GroomServer.startNewTask(GroomServer.java:559)
	at org.apache.hama.bsp.GroomServer.access$000(GroomServer.java:87)
	at org.apache.hama.bsp.GroomServer$DispatchTasksHandler.handle(GroomServer.java:177)
	at org.apache.hama.bsp.GroomServer$Instructor.run(GroomServer.java:224)

12/06/15 15:29:18 INFO bsp.GroomServer: Launch 2 tasks.
{noformat}
                
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Thomas Jungblut
>             Fix For: 0.5.0
>
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295635#comment-13295635 ] 

Edward J. Yoon commented on HAMA-590:
-------------------------------------

Looks like not a problem of Ubuntu. Task processors fails.

My personal PC (gentoo)'s hosts file is like this:

{code}
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] core .............................................. FAILURE [2:57.018s]
[INFO] graph ............................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:58.315s
[INFO] Finished at: Fri Jun 15 21:43:53 KST 2012
[INFO] Final Memory: 37M/213M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.6:test (default-test) on project hama-core: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/edward/workspace/hama-trunk/core/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
edward@tweetple ~/workspace/hama-trunk $ cat /etc/host
host.conf    hosts        hosts.allow  hosts.deny   
edward@tweetple ~/workspace/hama-trunk $ cat /etc/hosts
# /etc/hosts: Local Host Database
#
# This file describes a number of aliases-to-address mappings for the for 
# local hosts that share this file.
#
# In the presence of the domain name service or NIS, this file may not be 
# consulted at all; see /etc/host.conf for the resolution order.
#

# IPv4 and IPv6 localhost aliases
127.0.0.1	localhost
::1		localhost

192.168.123.138 tweetple.com
192.168.123.148 tweetple.net
192.168.123.198	udanax.org
{code}
                
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Thomas Jungblut
>             Fix For: 0.5.0
>
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Reopened] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward J. Yoon reopened HAMA-590:
---------------------------------

    
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Thomas Jungblut
>             Fix For: 0.5.0
>
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Thomas Jungblut (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295482#comment-13295482 ] 

Thomas Jungblut commented on HAMA-590:
--------------------------------------

Then tell what kind of error you have, for me the build is okay.
                
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Thomas Jungblut
>             Fix For: 0.5.0
>
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Thomas Jungblut (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295518#comment-13295518 ] 

Thomas Jungblut commented on HAMA-590:
--------------------------------------

Yes, the testcase did not failed prior to my refactoring, because when it was not successful after waitforcomplete it just said: OK.

This problem is there since ages. And it is tightly coupled with the problem I reported in HAMA-583
                
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Thomas Jungblut
>             Fix For: 0.5.0
>
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Thomas Jungblut (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295508#comment-13295508 ] 

Thomas Jungblut commented on HAMA-590:
--------------------------------------

BTW: 

bq.I don't remember exactly but, there was NullPointerException at getTaskToRun() method. I guess, it's a problem of graph partition logic.

graph partitioning is done in the tasks now, not before if you remember.

                
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Thomas Jungblut
>             Fix For: 0.5.0
>
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Thomas Jungblut (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295655#comment-13295655 ] 

Thomas Jungblut commented on HAMA-590:
--------------------------------------

Looks like a race condition, when I debug sequentially it works.
                
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Thomas Jungblut
>             Fix For: 0.5.0
>
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Thomas Jungblut (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Jungblut resolved HAMA-590.
----------------------------------

    Resolution: Fixed

Just rewritten the whole testpackage to make it running again.

Please don't use stateful things and multiple methods while starting a HamaTestCluster.

Also one does simply not need to start a whole cluster just to test ZK creation.
                
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Thomas Jungblut
>             Fix For: 0.5.0
>
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Thomas Jungblut (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Jungblut resolved HAMA-590.
----------------------------------

    Resolution: Fixed

We make another jira for that.
                
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>             Fix For: 0.5.0
>
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward J. Yoon updated HAMA-590:
--------------------------------

    Description: 
I just noticed that graph's unit tests are just skipped. 
All unit tests should be fixed and ran by default.

  was:
I just noticed that graph's unit tests are not works and just skipped. 
All unit tests should be fixed and ran by default.

    
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Thomas Jungblut (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Jungblut resolved HAMA-590.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.5.0

just got committed
                
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Thomas Jungblut
>             Fix For: 0.5.0
>
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Thomas Jungblut (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295060#comment-13295060 ] 

Thomas Jungblut commented on HAMA-590:
--------------------------------------

Ah okay fail, yeah they don't get executed.
                
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295502#comment-13295502 ] 

Edward J. Yoon commented on HAMA-590:
-------------------------------------

It's hard to find the problem from your commits. 

Let's revert to yesterday.
                
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Thomas Jungblut
>             Fix For: 0.5.0
>
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Thomas Jungblut (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Jungblut reassigned HAMA-590:
------------------------------------

    Assignee: Thomas Jungblut
    
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Thomas Jungblut
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Thomas Jungblut (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295506#comment-13295506 ] 

Thomas Jungblut commented on HAMA-590:
--------------------------------------

Please don't revert this, this was a shitload of work. Really.

The problem was observed by me weeks ago:
https://issues.apache.org/jira/browse/HAMA-583?focusedCommentId=13284230&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13284230


This is a mixture problem of new DFS in 1.0 and our new scheduling.
For me it works fine, because my hostfile on my machine is consistent to the names in DFS, have eloborated more in the link above.

                
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Thomas Jungblut
>             Fix For: 0.5.0
>
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Comment Edited] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Thomas Jungblut (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295486#comment-13295486 ] 

Thomas Jungblut edited comment on HAMA-590 at 6/15/12 6:46 AM:
---------------------------------------------------------------

{noformat}
-------------------------------------------------------------------------------
Test set: org.apache.hama.graph.TestSubmitGraphJob
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
{noformat}

Really, no idea what is wrong. The job has not completed normally, so this is not a graph problem but rather something that the base test in core is not working. If you don't have more logs, I can't help you on that.
                
      was (Author: thomas.jungblut):
    {{{
-------------------------------------------------------------------------------
Test set: org.apache.hama.graph.TestSubmitGraphJob
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec

}}}

Really, no idea what is wrong. The job has not completed normally, so this is not a graph problem but rather something that the base test in core is not working. If you don't have more logs, I can't help you on that.
                  
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Thomas Jungblut
>             Fix For: 0.5.0
>
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295481#comment-13295481 ] 

Edward J. Yoon commented on HAMA-590:
-------------------------------------

I can't build TRUNK now.
                
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Thomas Jungblut
>             Fix For: 0.5.0
>
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Thomas Jungblut (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295639#comment-13295639 ] 

Thomas Jungblut commented on HAMA-590:
--------------------------------------

Yes. It really looks like a scheduling problem.
                
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Thomas Jungblut
>             Fix For: 0.5.0
>
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295484#comment-13295484 ] 

Edward J. Yoon commented on HAMA-590:
-------------------------------------

{code}

Test set: org.apache.hama.graph.TestSubmitGraphJob
-------------------------------------------------------------------------------
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec <<< FAILURE!
testSubmitJob(org.apache.hama.graph.TestSubmitGraphJob)  Time elapsed: 0.009 sec  <<< FAILURE!
junit.framework.AssertionFailedError: null
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.fail(Assert.java:53)
	at org.apache.hama.graph.TestSubmitGraphJob.testSubmitJob(TestSubmitGraphJob.java:97)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at junit.framework.TestCase.runTest(TestCase.java:168)
	at junit.framework.TestCase.runBare(TestCase.java:134)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at junit.framework.TestSuite.runTest(TestSuite.java:232)
	at junit.framework.TestSuite.run(TestSuite.java:227)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
	at org.junit.runners.Suite.runChild(Suite.java:128)
	at org.junit.runners.Suite.runChild(Suite.java:24)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:127)
	at org.apache.maven.surefire.junitcore.JUnitCoreTestSet.runJunitCore(JUnitCoreTestSet.java:208)
	at org.apache.maven.surefire.junitcore.JUnitCoreTestSet.execute(JUnitCoreTestSet.java:95)
	at org.apache.maven.surefire.junitcore.JUnitCoreTestSet.execute(JUnitCoreTestSet.java:82)
	at org.apache.maven.surefire.junitcore.JUnitCoreDirectoryTestSuite.execute(JUnitCoreDirectoryTestSuite.java:84)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:104)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1017)
{code}

                
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Thomas Jungblut
>             Fix For: 0.5.0
>
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-590) Fix TestSubmitGraphJob tests

Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295479#comment-13295479 ] 

Edward J. Yoon commented on HAMA-590:
-------------------------------------

TestSubmitGraphJob test failure also should be fixed.
                
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Thomas Jungblut
>             Fix For: 0.5.0
>
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira