[
https://issues.apache.org/jira/browse/CLOUDSTACK-7522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rayees Namathponnan closed CLOUDSTACK-7522.
-------------------------------------------
> RPM builds should exit status 1, if there are failure in MVN build
> -------------------------------------------------------------------
>
> Key: CLOUDSTACK-7522
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7522
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Install and Setup
> Affects Versions: 4.5.0
> Reporter: Rayees Namathponnan
> Assignee: Rayees Namathponnan
> Priority: Critical
> Fix For: 4.5.0
>
>
> Steps to reproduce
> > execute RPM build command
> var=$(bash ./package.sh --pack noredist --build)
> > while executing MVN command kill java "killall -9 java"
> >see the output, echo $var to see the output
> Expected result
> RPM build should exited error
> Actual result
> RPM build not exited with error , it return Done, see the output
> .cloudstack.framework.config.impl.ConfigDepotAdminTest log4j:WARN No
> appenders could be found for logger
> (org.apache.cloudstack.framework.config.impl.ConfigDepotImpl). log4j:WARN
> Please initialize the log4j system properly. log4j:WARN See
> http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Tests
> run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.091 sec Results :
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] ---
> maven-jar-plugin:2.4:jar (default-jar) @ cloud-framework-config --- [INFO]
> Building jar:
> /root/cloudplatform/build/source/dist/rpmbuild/BUILD/cloudstack-4.5.0-SNAPSHOT/framework/config/target/cloud-framework-config-4.5.0-SNAPSHOT.jar
> [INFO] [INFO] --- maven-site-plugin:3.3:attach-descriptor
> (attach-descriptor) @ cloud-framework-config --- [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache CloudStack API 4.5.0-SNAPSHOT [INFO]
> ------------------------------------------------------------------------
> [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-api
> --- [INFO] Deleting
> /root/cloudplatform/build/source/dist/rpmbuild/BUILD/cloudstack-4.5.0-SNAPSHOT/api
> (includes = [target, dist], excludes = []) [INFO] [INFO] ---
> maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ cloud-api ---
> [INFO] Starting audit... Audit done. [INFO] [INFO] ---
> maven-remote-resources-plugin:1.3:process (default) @ cloud-api --- [INFO]
> [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
> cloud-api --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to
> copy filtered resources. [INFO] Copying 4 resources [INFO] Copying 3
> resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:compile
> (default-compile) @ cloud-api --- [INFO] Compiling 939 source files to
> /root/cloudplatform/build/source/dist/rpmbuild/BUILD/cloudstack-4.5.0-SNAPSHOT/api/target/classes
> RPM build errors: Done
> [root@build-test centos63]# vi package.sh
> Looks like this is happening after below commit
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=7ea7deded031b43042c68db0f7c5c6c8b21c18c2
> if revert this commit rpm exit with return 1, if there are issue with mvn
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)