It would make sense to have one single command which could do it all for the devs, before committing code.
On 07/03/14 3:41 PM, "Mike Tutkowski" <mike.tutkow...@solidfire.com> wrote: >Great, guys - thanks! > >That makes sense. I added a small class to wrap some commonly passed >parameters and didn't add the license header. > > >On Fri, Mar 7, 2014 at 4:21 PM, Marcus <shadow...@gmail.com> wrote: > >> Link says this new file is missing license: >> >> Unapproved licenses: >> >> api/src/com/cloud/offering/DiskOfferingInfo.java >> >> On Fri, Mar 7, 2014 at 4:14 PM, Nitin Mehta <nitin.me...@citrix.com> >> wrote: >> > There is a RAT build failure. Check the link [1] for the file that >>misses >> > license header. Checking whether RAT build works for your machine at >>[2] >> > >> > [1] >> > >> >>https://builds.apache.org/job/cloudstack-rat-master/4166/artifact/target/ >>ra >> > t.txt >> > [2] >> > >> >>https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+Cloud >>St >> > ack#HowtobuildCloudStack-RAT:ASFLicenseChecking >> > >> > On 07/03/14 3:03 PM, "Mike Tutkowski" <mike.tutkow...@solidfire.com> >> wrote: >> > >> >>Hi, >> >> >> >>I'm not that familiar with reading these reports, but it claims there >>was >> >>a >> >>Jenkins build failure due to code I checked in. >> >> >> >>I ran a full build locally using mvn -P developer,systemvm clean >>install >> >>and then tested before checking the code in. Perhaps there is a >> regression >> >>test on Jenkins that no longer functions now? >> >> >> >>Thanks! >> >>Mike >> >> >> >>---------- Forwarded message ---------- >> >>From: Apache Jenkins Server <jenk...@builds.apache.org> >> >>Date: Fri, Mar 7, 2014 at 3:55 PM >> >>Subject: Build failed in Jenkins: cloudstack-rat-master #4166 >> >>To: cloudstack-comm...@incubator.apache.org, >> mike.tutkow...@solidfire.com >> >> >> >> >> >>See <https://builds.apache.org/job/cloudstack-rat-master/4166/changes> >> >> >> >>Changes: >> >> >> >>[mike.tutkowski] CLOUDSTACK-6170 >> >> >> >>------------------------------------------ >> >>Started by an SCM change >> >>Started by an SCM change >> >>Building remotely on ubuntu6 in workspace < >> >>https://builds.apache.org/job/cloudstack-rat-master/ws/> >> >>Fetching changes from the remote Git repository >> >>Fetching upstream changes from >> >>https://git-wip-us.apache.org/repos/asf/cloudstack.git >> >>Checking out Revision c427e8db1c4294bec93aa9295052950888c0fecf >> >>(origin/master) >> >>[cloudstack-rat-master] $ /bin/bash -xe >>/tmp/hudson6721284311782327396.sh >> >>+ /home/jenkins/tools/maven/latest2/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: 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: deps/XenServerJava/src/com/xensource/xenapi/*.java >> >>[INFO] Exclude: deps/XenServerJava/BSD >> >>[INFO] Exclude: deps/XenServerJava/Makefile >> >>[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/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.te >>>>mpl >> >>[INFO] Exclude: >> >> >>>>systemvm/patches/debian/config/root/redundant_router/arping_gateways.sh >>>>.te >> >>mpl >> >>[INFO] Exclude: >> >> >>>>systemvm/patches/debian/config/root/redundant_router/conntrackd.conf.te >>>>mpl >> >>[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] 7298 resources included (use -debug for more details) >> >>[INFO] Rat check: Summary of files. Unapproved: 1 unknown: 1 >>generated: 0 >> >>approved: 7132 licence. >> >>[INFO] >> >>>>----------------------------------------------------------------------- >>>>- >> >>[ERROR] BUILD FAILURE >> >>[INFO] >> >>>>----------------------------------------------------------------------- >>>>- >> >>[INFO] Too many files with unapproved license: 1 See RAT report in: < >> >> >> >>https://builds.apache.org/job/cloudstack-rat-master/4166/artifact/target/ >>r >> >>at.txt >> >>> >> >>[INFO] >> >>>>----------------------------------------------------------------------- >>>>- >> >>[INFO] For more information, run Maven with the -e switch >> >>[INFO] >> >>>>----------------------------------------------------------------------- >>>>- >> >>[INFO] Total time: 35 seconds >> >>[INFO] Finished at: Fri Mar 07 22:55:18 UTC 2014 >> >>[INFO] Final Memory: 30M/371M >> >>[INFO] >> >>>>----------------------------------------------------------------------- >>>>- >> >>Build step 'Execute shell' marked build as failure >> >>Archiving artifacts >> >> >> >> >> >> >> >>-- >> >>*Mike Tutkowski* >> >>*Senior CloudStack Developer, SolidFire Inc.* >> >>e: mike.tutkow...@solidfire.com >> >>o: 303.746.7302 >> >>Advancing the way the world uses the >> >>cloud<http://solidfire.com/solution/overview/?video=play> >> >>*(tm)* >> > >> > > > >-- >*Mike Tutkowski* >*Senior CloudStack Developer, SolidFire Inc.* >e: mike.tutkow...@solidfire.com >o: 303.746.7302 >Advancing the way the world uses the >cloud<http://solidfire.com/solution/overview/?video=play> >*(tm)*