Maven reported incorrect "total time" of the build
--------------------------------------------------

                 Key: MNG-5213
                 URL: https://jira.codehaus.org/browse/MNG-5213
             Project: Maven 2 & 3
          Issue Type: Bug
         Environment: [cstamas@marvin nexus (timeline-into-plugin)]$ mvn -v
Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
Maven home: /usr/share/maven
Java version: 1.6.0_29, vendor: Apple Inc.
Java home: /Library/Java/JavaVirtualMachines/1.6.0_29-b11-402.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.7.2", arch: "i386", family: "mac"
            Reporter: Tamás Cservenák


Maven reported incorrect "total time" of the build.

I started a "full" build (all of the ITs enabled) of Nexus OSS. It is known to 
take over two hours. But when I returned to my machine, this was the output:

{noformat}
...
[INFO] Nexus : Core Plugins : Migration Plugin : Packaging  SUCCESS [5.872s]
[INFO] Nexus : Core Plugins : Migration Plugin : Test harness  SUCCESS 
[44:45.692s]
[INFO] Nexus : Launcher .................................. SUCCESS [4.120s]
[INFO] Nexus : Clients : Lightweight REST ................ SUCCESS [0.057s]
[INFO] Nexus : Clients : Lightweight REST : Common ....... SUCCESS [1.545s]
[INFO] Nexus : Clients : Lightweight REST : ITs .......... SUCCESS [2.550s]
[INFO] Nexus : Clients : Lightweight REST : Staging/BP ... SUCCESS [3.347s]
[INFO] Nexus : Clients : Lightweight REST : M2 Settings .. SUCCESS [2.656s]
[INFO] Nexus : Clients : Lightweight REST : Core ......... SUCCESS [3.509s]
[INFO] Nexus : Distros : Nexus OSS Bundle Tattletale ..... SUCCESS [10.448s]
[INFO] Nexus : Stories ................................... SUCCESS [0.876s]
[INFO] Nexus : Test Harness : Core ITs ................... SUCCESS [1:48.181s]
[INFO] Nexus : Maven Plugins : Parent .................... SUCCESS [0.075s]
[INFO] Nexus : Maven Plugins : Nexus ..................... SUCCESS [19.127s]
[INFO] Nexus : Aggregator ................................ SUCCESS [24.694s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:15:25.587s
[INFO] Finished at: Thu Dec 08 00:15:39 CET 2011
[INFO] Final Memory: 135M/368M
[INFO] ------------------------------------------------------------------------
[cstamas@marvin nexus (timeline-into-plugin)]$ date
2011 Dec  8 Csü 00:25:07 CET
{noformat}

The "total time" reported of 1 hour 15 minutes is clearly wrong: just look the 
two modules:

* Nexus : Core Plugins : Migration Plugin : Test harness took 44 minutes.
* Nexus : Test Harness : Core ITs took 1 hour 48 minutes.

And, we _know_ (CI confirms too) that this build should take over than two 
hours.

One thing to remark: the build was started before, but did finish after 
midnight....

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to