giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jakob Homan (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GIRAPH-50) package/test failure with maven 2.2.1
Date Wed, 26 Oct 2011 23:23:32 GMT

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

Jakob Homan updated GIRAPH-50:
------------------------------

    Attachment: GIRAPH-50.patch

I ran into this again on a new machine, so I whipped up a quick patch.  Added text to README
and site about Maven 3 requirement.  Also, added maven enforcer rule (thanks @sthuebner!)
so the build will fail without Maven 3 with a reasonable message.  This is a better user experience
than the failed tests without explanation otherwise.

Tried building against maven 2 and verified a good message was shown:
{noformat}[INFO] [enforcer:enforce {execution: enforce-maven}]
[WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireMavenVersion failed with message:
Detected Maven Version: 2.2.1 is not in the allowed range 3.0.0.{noformat}
                
> package/test failure with maven 2.2.1
> -------------------------------------
>
>                 Key: GIRAPH-50
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-50
>             Project: Giraph
>          Issue Type: Bug
>         Environment: maven 2.2.1
>            Reporter: Mitul Tiwari
>            Priority: Minor
>         Attachments: GIRAPH-50.patch
>
>
> package/test works with maven 3.0.3, but package/test does not work with maven 2.2.1.
For example, the following command results in an error:
> $ /usr/bin/mvn221 -Dhadoop=non_secure package
> Last few lines of error:
>     Results :
>     Failed tests: 
>       testSuperstepBalancer(org.apache.giraph.TestVertexRangeBalancer)
>     testBspCheckpoint(org.apache.giraph.TestManualCheckpoint)
>     testBspSuperStep(org.apache.giraph.TestBspBasic)
>     testBspMsg(org.apache.giraph.TestBspBasic)
>     testBspCombiner(org.apache.giraph.TestBspBasic)
>     testBspPageRank(org.apache.giraph.TestBspBasic)
>     testBspShortestPaths(org.apache.giraph.TestBspBasic)
>     testMutateGraph(org.apache.giraph.TestMutateGraphVertex)
>     testContinue(org.apache.giraph.TestJsonBase64Format)
>   Tests run: 27, Failures: 9, Errors: 0, Skipped: 0
>   11/10/10 11:23:37 WARN zk.ZooKeeperManager: onlineZooKeeperServers: Forced a shutdown
hook kill of the ZooKeeper process.
>   11/10/10 11:23:37 WARN zk.ZooKeeperManager: onlineZooKeeperServers: Forced a shutdown
hook kill of the ZooKeeper process.
>   11/10/10 11:23:37 WARN zk.ZooKeeperManager: onlineZooKeeperServers: Forced a shutdown
hook kill of the ZooKeeper process.
>   11/10/10 11:23:37 WARN zk.ZooKeeperManager: onlineZooKeeperServers: Forced a shutdown
hook kill of the ZooKeeper process.
>   11/10/10 11:23:37 WARN zk.ZooKeeperManager: onlineZooKeeperServers: Forced a shutdown
hook kill of the ZooKeeper process.
>   11/10/10 11:23:37 WARN zk.ZooKeeperManager: onlineZooKeeperServers: Forced a shutdown
hook kill of the ZooKeeper process.
>   11/10/10 11:23:37 WARN zk.ZooKeeperManager: onlineZooKeeperServers: Forced a shutdown
hook kill of the ZooKeeper process.
>   11/10/10 11:23:37 WARN zk.ZooKeeperManager: onlineZooKeeperServers: Forced a shutdown
hook kill of the ZooKeeper process.
>   11/10/10 11:23:37 WARN zk.ZooKeeperManager: onlineZooKeeperServers: Forced a shutdown
hook kill of the ZooKeeper process.
>   11/10/10 11:23:37 WARN zk.ZooKeeperManager: onlineZooKeeperServers: Forced a shutdown
hook kill of the ZooKeeper process.
>   [INFO] ------------------------------------------------------------------------
>   [ERROR] BUILD FAILURE
>   [INFO] ------------------------------------------------------------------------
>   [INFO] There are test failures.
>   Please refer to /Users/mtiwari/pkgs/giraph/Apache/giraph/target/surefire-reports for
the individual test results.
>   [INFO] ------------------------------------------------------------------------
>   [INFO] For more information, run Maven with the -e switch
>   [INFO] ------------------------------------------------------------------------
>   [INFO] Total time: 23 seconds
>   [INFO] Finished at: Mon Oct 10 11:23:37 PDT 2011
>   [INFO] Final Memory: 51M/106M
>   [INFO] ------------------------------------------------------------------------

--
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

        

Mime
View raw message