You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Nguyen Anh Tu <ng...@gmail.com> on 2013/09/03 12:11:53 UTC

Master build failed

Hi guys,

I get an error when building lastest code on master branch:

Check, is this api part of another build profile? Null value for key:
listCiscoVnmcResources preProcessedCommand=1
Check, is this api part of another build profile? Null value for key:
addCiscoAsa1000vResource preProcessedCommand=1
Check, is this api part of another build profile? Null value for key:
deleteCiscoAsa1000vResource preProcessedCommand=1
Check, is this api part of another build profile? Null value for key:
listCiscoAsa1000vResources preProcessedCommand=1
Traceback (most recent call last):
  File "/home/mint/cloudstack/gsoc/gre/cloudstack/tools/apidoc/gen_toc.py",
line 192, in <module>
    category = choose_category(fn)
  File "/home/mint/cloudstack/gsoc/gre/cloudstack/tools/apidoc/gen_toc.py",
line 172, in choose_category
    (fn, __file__))
Exception: Need to add a category for ldapRemove.xml to
/home/mint/cloudstack/gsoc/gre/cloudstack/tools/apidoc/gen_toc.py:known_categories
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache CloudStack apidocs ......................... FAILURE [5.203s]
[INFO] Apache CloudStack marvin .......................... SKIPPED
[INFO] Apache CloudStack DevCloud ........................ SKIPPED
[INFO] Apache CloudStack DevCloud-KVM .................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 6.064s
[INFO] Finished at: Tue Sep 03 17:08:26 ICT 2013
[INFO] Final Memory: 24M/221M
[INFO]
------------------------------------------------------------------------
[WARNING] The requested profile "systemvm" could not be activated because
it does not exist.
[ERROR] Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (compile) on project
cloud-apidoc: Command execution failed. Process exited with an error: 1
(Exit value: 1) -> [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/MojoExecutionException


Thanks for any help.

-- 

N.g.U.y.e.N.A.n.H.t.U

Re: Master build failed

Posted by Nguyen Anh Tu <ng...@gmail.com>.
2013/9/3 Ian Duffy <ia...@ianduffy.ie>

> Can you test on a clean clone of master?


Yah. I believe it'll be compiled successfully with a clean clone. However I
can pass it now by disabling developer argument.

Thanks

-- 

N.g.U.y.e.N.A.n.H.t.U

Re: Master build failed

Posted by Ian Duffy <ia...@ianduffy.ie>.
> Exception: Need to add a category for ldapRemove.xml to
/home/mint/cloudstack/gsoc/gre/cloudstack/tools/apidoc/
gen_toc.py:known_categories

That sounds like its caused by the merge I did on saturday of the
LdapPlugin branch.

Just tested on a clean clone of master and it compiled OK.

It sounds like you might have conflicts on your local clone, the
client/tomcatconf/commands.properties.in is most definitely old as the
ldapRemove command has been removed from there.

Can you test on a clean clone of master?

Thanks.

RE: Master build failed

Posted by Rajesh Battala <ra...@citrix.com>.
Workaround, you can disable developer argument in mvn cmdline or use -DskipTests=true

-----Original Message-----
From: Nguyen Anh Tu [mailto:ng.tuna@gmail.com] 
Sent: Tuesday, September 3, 2013 3:42 PM
To: dev@cloudstack.apache.org
Subject: Master build failed

Hi guys,

I get an error when building lastest code on master branch:

Check, is this api part of another build profile? Null value for key:
listCiscoVnmcResources preProcessedCommand=1 Check, is this api part of another build profile? Null value for key:
addCiscoAsa1000vResource preProcessedCommand=1 Check, is this api part of another build profile? Null value for key:
deleteCiscoAsa1000vResource preProcessedCommand=1 Check, is this api part of another build profile? Null value for key:
listCiscoAsa1000vResources preProcessedCommand=1 Traceback (most recent call last):
  File "/home/mint/cloudstack/gsoc/gre/cloudstack/tools/apidoc/gen_toc.py",
line 192, in <module>
    category = choose_category(fn)
  File "/home/mint/cloudstack/gsoc/gre/cloudstack/tools/apidoc/gen_toc.py",
line 172, in choose_category
    (fn, __file__))
Exception: Need to add a category for ldapRemove.xml to /home/mint/cloudstack/gsoc/gre/cloudstack/tools/apidoc/gen_toc.py:known_categories
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache CloudStack apidocs ......................... FAILURE [5.203s] [INFO] Apache CloudStack marvin .......................... SKIPPED [INFO] Apache CloudStack DevCloud ........................ SKIPPED [INFO] Apache CloudStack DevCloud-KVM .................... SKIPPED [INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 6.064s
[INFO] Finished at: Tue Sep 03 17:08:26 ICT 2013 [INFO] Final Memory: 24M/221M [INFO]
------------------------------------------------------------------------
[WARNING] The requested profile "systemvm" could not be activated because it does not exist.
[ERROR] Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (compile) on project
cloud-apidoc: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [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/MojoExecutionException


Thanks for any help.

-- 

N.g.U.y.e.N.A.n.H.t.U