Rohit, The files are MIT licensed, though one of them doesn't mention that. I think they must be excluded from the rat check.
On Thu, Aug 14, 2014 at 1:57 PM, Rohit Yadav <rohit.ya...@shapeblue.com> wrote: > Hi Mike and Seif, > > Can you please add license header to the files causing rat builds to fails > due to the commit: 9d776f4f2ce5a5c0d8364eed0959683830428cd0 > > Cheers. > > On 14-Aug-2014, at 1:53 pm, Apache Jenkins Server < > jenk...@builds.apache.org> wrote: > > > See <https://builds.apache.org/job/cloudstack-rat-master/5231/changes> > > > > Changes: > > > > [daan] CLOUDSTACK-5663 : Added the NULL CIDR check to avoid NPE for > createNetwork and listNetwork > > > > ------------------------------------------ > > Started by an SCM change > > Started by an SCM change > > Started by an SCM change > > Started by an SCM change > > Started by an SCM change > > Started by an SCM change > > Started by an SCM change > > Started by an SCM change > > Started by an SCM change > > Started by an SCM change > > Started by an SCM change > > Started by an SCM change > > Started by an SCM change > > Started by an SCM change > > Started by an SCM change > > Started by an SCM change > > Started by an SCM change > > Started by an SCM change > > Building remotely on ubuntu3 (Ubuntu ubuntu) in workspace < > https://builds.apache.org/job/cloudstack-rat-master/ws/> > >> git rev-parse --is-inside-work-tree > > Fetching changes from the remote Git repository > >> git config remote.origin.url > https://git-wip-us.apache.org/repos/asf/cloudstack.git > > Fetching upstream changes from > https://git-wip-us.apache.org/repos/asf/cloudstack.git > >> git --version > >> git fetch --tags --progress > https://git-wip-us.apache.org/repos/asf/cloudstack.git > +refs/heads/*:refs/remotes/origin/* > >> git rev-parse origin/master^{commit} > > Checking out Revision adf7de9a95fb5a9d08d4c091e85469605ae2074a > (origin/master) > >> git config core.sparsecheckout > >> git checkout -f adf7de9a95fb5a9d08d4c091e85469605ae2074a > >> git rev-list 7c92bac4a35dacba03883532ab6ebe638638b26c > > [cloudstack-rat-master] $ > /home/jenkins/tools/maven/apache-maven-2.2.1/bin/mvn > --projects=org.apache.cloudstack:cloudstack > org.apache.rat:apache-rat-plugin:0.10:check > > [INFO] Scanning for projects... > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Building Apache CloudStack > > [INFO] task-segment: [org.apache.rat:apache-rat-plugin:0.10:check] > > [INFO] > ------------------------------------------------------------------------ > > [INFO] [apache-rat:check {execution: default-cli}] > > [INFO] 51 implicit excludes (use -debug for more details). > > [INFO] Exclude: CHANGES > > [INFO] Exclude: README.md > > [INFO] Exclude: INSTALL.md > > [INFO] Exclude: .idea/ > > [INFO] Exclude: **/*.log > > [INFO] Exclude: **/*.patch > > [INFO] Exclude: **/.classpath > > [INFO] Exclude: **/.project > > [INFO] Exclude: **/.idea/** > > [INFO] Exclude: **/*.iml > > [INFO] Exclude: **/.settings/** > > [INFO] Exclude: .metadata/** > > [INFO] Exclude: .git/** > > [INFO] Exclude: .gitignore > > [INFO] Exclude: **/*.crt > > [INFO] Exclude: **/*.csr > > [INFO] Exclude: **/*.key > > [INFO] Exclude: **/authorized_keys > > [INFO] Exclude: **/*.war > > [INFO] Exclude: **/*.mar > > [INFO] Exclude: **/*.jar > > [INFO] Exclude: **/*.iso > > [INFO] Exclude: **/*.tgz > > [INFO] Exclude: **/*.zip > > [INFO] Exclude: **/target/** > > [INFO] Exclude: **/.vagrant > > [INFO] Exclude: awsapi/overlays/** > > [INFO] Exclude: build/build.number > > [INFO] Exclude: services/console-proxy/server/js/jquery.js > > [INFO] Exclude: debian/compat > > [INFO] Exclude: debian/control > > [INFO] Exclude: debian/dirs > > [INFO] Exclude: debian/rules > > [INFO] Exclude: dist/console-proxy/js/jquery.js > > [INFO] Exclude: > plugins/hypervisors/hyperv/DotNet/ServerResource/ServerResource.sln > > [INFO] Exclude: > plugins/hypervisors/hyperv/DotNet/ServerResource/packages/** > > [INFO] Exclude: > plugins/hypervisors/hyperv/DotNet/ServerResource/.nuget/** > > [INFO] Exclude: > plugins/hypervisors/hyperv/DotNet/ServerResource/**/obj/** > > [INFO] Exclude: > plugins/hypervisors/hyperv/DotNet/ServerResource/**/bin/** > > [INFO] Exclude: > plugins/hypervisors/hyperv/DotNet/ServerResource/**/packages.config > > [INFO] Exclude: > plugins/hypervisors/hyperv/DotNet/ServerResource/**/App.config > > [INFO] Exclude: > plugins/hypervisors/hyperv/DotNet/ServerResource/**/*.csproj > > [INFO] Exclude: > plugins/hypervisors/hyperv/DotNet/ServerResource/**/*.settings > > [INFO] Exclude: plugins/hypervisors/hyperv/conf/agent.properties > > [INFO] Exclude: scripts/vm/systemvm/id_rsa.cloud > > [INFO] Exclude: services/console-proxy/server/conf/agent.properties > > [INFO] Exclude: services/console-proxy/server/conf/environment.properties > > [INFO] Exclude: services/secondary-storage/conf/agent.properties > > [INFO] Exclude: services/secondary-storage/conf/environment.properties > > [INFO] Exclude: > tools/devcloud/basebuild/puppet-devcloudinitial/files/network.conf > > [INFO] Exclude: tools/appliance/definitions/devcloud/* > > [INFO] Exclude: tools/appliance/definitions/systemvmtemplate/* > > [INFO] Exclude: tools/appliance/definitions/systemvm64template/* > > [INFO] Exclude: tools/appliance/definitions/builtin/* > > [INFO] Exclude: tools/cli/cloudmonkey.egg-info/* > > [INFO] Exclude: tools/devcloud/src/deps/boxes/basebox-build/definition.rb > > [INFO] Exclude: tools/devcloud/src/deps/boxes/basebox-build/preseed.cfg > > [INFO] Exclude: tools/marvin/Marvin.egg-info/* > > [INFO] Exclude: ui/lib/flot/jquery.colorhelpers.js > > [INFO] Exclude: ui/lib/flot/jquery.flot.crosshair.js > > [INFO] Exclude: ui/lib/flot/jquery.flot.fillbetween.js > > [INFO] Exclude: ui/lib/flot/jquery.flot.image.js > > [INFO] Exclude: ui/lib/flot/jquery.flot.js > > [INFO] Exclude: ui/lib/flot/jquery.flot.navigate.js > > [INFO] Exclude: ui/lib/flot/jquery.flot.pie.js > > [INFO] Exclude: ui/lib/flot/jquery.flot.resize.js > > [INFO] Exclude: ui/lib/flot/jquery.flot.selection.js > > [INFO] Exclude: ui/lib/flot/jquery.flot.stack.js > > [INFO] Exclude: ui/lib/flot/jquery.flot.symbol.js > > [INFO] Exclude: ui/lib/flot/jquery.flot.threshold.js > > [INFO] Exclude: ui/lib/jquery-ui/css/jquery-ui.css > > [INFO] Exclude: ui/lib/jquery-ui/index.html > > [INFO] Exclude: ui/lib/jquery-ui/js/jquery-ui.js > > [INFO] Exclude: ui/lib/jquery.cookies.js > > [INFO] Exclude: ui/lib/jquery.easing.js > > [INFO] Exclude: ui/lib/jquery.js > > [INFO] Exclude: ui/lib/jquery.md5.js > > [INFO] Exclude: ui/lib/jquery.validate.js > > [INFO] Exclude: ui/lib/qunit/qunit.css > > [INFO] Exclude: ui/lib/qunit/qunit.js > > [INFO] Exclude: ui/lib/reset.css > > [INFO] Exclude: ui/lib/require.js > > [INFO] Exclude: systemvm/conf/agent.properties > > [INFO] Exclude: systemvm/conf/environment.properties > > [INFO] Exclude: systemvm/js/jquery.js > > [INFO] Exclude: systemvm/patches/debian/systemvm.vmx > > [INFO] Exclude: systemvm/patches/debian/config/root/.ssh/authorized_keys > > [INFO] Exclude: systemvm/patches/debian/config/etc/apache2/httpd.conf > > [INFO] Exclude: systemvm/patches/debian/config/etc/apache2/ports.conf > > [INFO] Exclude: > systemvm/patches/debian/config/etc/apache2/sites-available/default > > [INFO] Exclude: > systemvm/patches/debian/config/etc/apache2/sites-available/default-ssl > > [INFO] Exclude: > systemvm/patches/debian/config/etc/apache2/vhostexample.conf > > [INFO] Exclude: systemvm/patches/debian/config/etc/dnsmasq.conf.tmpl > > [INFO] Exclude: systemvm/patches/debian/config/etc/vpcdnsmasq.conf > > [INFO] Exclude: systemvm/patches/debian/config/etc/ssh/sshd_config > > [INFO] Exclude: systemvm/patches/debian/config/etc/rsyslog.conf > > [INFO] Exclude: systemvm/patches/debian/config/etc/logrotate.conf > > [INFO] Exclude: systemvm/patches/debian/config/etc/logrotate.d/* > > [INFO] Exclude: systemvm/patches/debian/config/etc/sysctl.conf > > [INFO] Exclude: > systemvm/patches/debian/config/root/redundant_router/keepalived.conf.templ > > [INFO] Exclude: > systemvm/patches/debian/config/root/redundant_router/arping_gateways.sh.templ > > [INFO] Exclude: > systemvm/patches/debian/config/root/redundant_router/conntrackd.conf.templ > > [INFO] Exclude: systemvm/patches/debian/vpn/etc/ipsec.conf > > [INFO] Exclude: systemvm/patches/debian/vpn/etc/ppp/options.xl2tpd > > [INFO] Exclude: systemvm/patches/debian/vpn/etc/xl2tpd/xl2tpd.conf > > [INFO] Exclude: systemvm/patches/debian/vpn/etc/ipsec.secrets > > [INFO] Exclude: systemvm/patches/debian/config/etc/haproxy/haproxy.cfg > > [INFO] Exclude: systemvm/patches/debian/config/etc/cloud-nic.rules > > [INFO] Exclude: systemvm/patches/debian/config/etc/modprobe.d/aesni_intel > > [INFO] Exclude: systemvm/patches/debian/config/etc/rc.local > > [INFO] Exclude: > systemvm/patches/debian/config/var/www/html/userdata/.htaccess > > [INFO] Exclude: > systemvm/patches/debian/config/var/www/html/latest/.htaccess > > [INFO] Exclude: systemvm/patches/debian/vpn/etc/ipsec.d/l2tp.conf > > [INFO] Exclude: tools/transifex/.tx/config > > [INFO] Exclude: tools/marvin/marvin/sandbox/advanced/sandbox.cfg > > [INFO] Exclude: tools/ngui/static/bootstrap/* > > [INFO] Exclude: tools/ngui/static/js/lib/* > > [INFO] Exclude: **/.checkstyle > > [INFO] Exclude: scripts/installer/windows/acs_license.rtf > > [INFO] 7740 resources included (use -debug for more details) > > [INFO] Rat check: Summary of files. Unapproved: 2 unknown: 2 generated: > 0 approved: 7575 licence. > > [INFO] > ------------------------------------------------------------------------ > > [ERROR] BUILD FAILURE > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Too many files with unapproved license: 2 See RAT report in: > /x1/jenkins/jenkins-slave/workspace/cloudstack-rat-master/target/rat.txt > > [INFO] > ------------------------------------------------------------------------ > > [INFO] For more information, run Maven with the -e switch > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Total time: 22 seconds > > [INFO] Finished at: Thu Aug 14 11:53:58 UTC 2014 > > [INFO] Final Memory: 28M/216M > > [INFO] > ------------------------------------------------------------------------ > > Build step 'Invoke top-level Maven targets' marked build as failure > > Archiving artifacts > > Sending artifact delta relative to cloudstack-rat-master #5215 > > Archived 1 artifacts > > Archive block size is 32768 > > Received 0 blocks and 578682 bytes > > Compression is 0.0% > > Took 0.19 sec > > Regards, > Rohit Yadav > Software Architect, ShapeBlue > M. +41 779015219 | rohit.ya...@shapeblue.com > Blog: bhaisaab.org | Twitter: @_bhaisaab > > > > Find out more about ShapeBlue and our range of CloudStack related services > > IaaS Cloud Design & Build< > http://shapeblue.com/iaas-cloud-design-and-build//> > CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/> > CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/> > CloudStack Infrastructure Support< > http://shapeblue.com/cloudstack-infrastructure-support/> > CloudStack Bootcamp Training Courses< > http://shapeblue.com/cloudstack-training/> > > This email and any attachments to it may be confidential and are intended > solely for the use of the individual to whom it is addressed. Any views or > opinions expressed are solely those of the author and do not necessarily > represent those of Shape Blue Ltd or related companies. If you are not the > intended recipient of this email, you must neither take any action based > upon its contents, nor copy or show it to anyone. Please contact the sender > if you believe you have received this email in error. Shape Blue Ltd is a > company incorporated in England & Wales. ShapeBlue Services India LLP is a > company incorporated in India and is operated under license from Shape Blue > Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil > and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is > a company registered by The Republic of South Africa and is traded under > license from Shape Blue Ltd. ShapeBlue is a registered trademark. > -- Daan