Hi, Borrowing some ideas from Apache jclouds community [1] I'd like to propose to use the same workflow:
Validating an Apache Brooklyn release involves verifying the following: - Verify that the checksums are valid. - Verify that the PGP signatures are valid. - Check that the expanded source archive matches contents of RC tag. - Verify that the expanded source archive builds and passes tests. - Check that LICENSE and NOTICE files are present and correct. - Make sure all files have license headers where appropriate. - Check that all dependencies have compatible licenses. - Verify that no compiled archives bundled in source archive. Some steps require a manual verification, and others are fully automated. The following scripts can be used: - Verify RAT, build, tests, checksums and signatures in one script Download the verification script: Unix: see the attachment If we accept the script we can then upload it to https://dist.apache.org/repos/dist/dev/brooklyn/verify_jclouds_rc.sh Run it and watch for failures: Unix: chmod +x verify_brooklyn_rc.sh ./verify_brooklyn_rc.sh 0.9.0-rc3 Notice if you're running this on a Mac, you'll need brew and to do a brew install gpg first. By the way running the script I've got [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Brooklyn Client Command Line Interface 0.9.0 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ brooklyn-client-cli --- [INFO] Deleting /private/tmp/apache-brooklyn-0.9.0-rc3/apache-brooklyn-0.9.0-src/brooklyn-client (includes = [brooklyn*.log, brooklyn*.log.*, stacktrace.log, test-output, prodDb.*], excludes = []) [INFO] [INFO] --- maven-replacer-plugin:1.4.1:replace (fix-eclipse-dot-classpath-mangling) @ brooklyn-client-cli --- [INFO] Ignoring missing file [INFO] Replacement run on 0 file. [INFO] [INFO] --- buildnumber-maven-plugin:1.3:create (default) @ brooklyn-client-cli --- [INFO] Executing: /bin/sh -c cd /private/tmp/apache-brooklyn-0.9.0-rc3/apache-brooklyn-0.9.0-src/brooklyn-client && git rev-parse --verify HEAD [INFO] Working directory: /private/tmp/apache-brooklyn-0.9.0-rc3/apache-brooklyn-0.9.0-src/brooklyn-client [INFO] Storing buildNumber: null at timestamp: 1460025523877 [WARNING] Cannot get the branch information from the git repository: Detecting the current branch failed: fatal: Not a git repository (or any of the parent directories): .git [INFO] Executing: /bin/sh -c cd /private/tmp/apache-brooklyn-0.9.0-rc3/apache-brooklyn-0.9.0-src/brooklyn-client && git rev-parse --verify HEAD [INFO] Working directory: /private/tmp/apache-brooklyn-0.9.0-rc3/apache-brooklyn-0.9.0-src/brooklyn-client [INFO] Storing buildScmBranch: UNKNOWN_BRANCH [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (brooklyn-build-req) @ brooklyn-client-cli --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ brooklyn-client-cli --- [INFO] [INFO] --- maven-antrun-plugin:1.8:run (process-build-all) @ brooklyn-client-cli --- [INFO] Executing tasks main: all: [exec] Starting build.sh (brooklyn-client go build script) [exec] [exec] ERROR: Incompatible Go language version: go1.5.2 [exec] [exec] Go version 1.6 or higher is required to build the brooklyn-client CLI. [exec] See golang.org for more information, or run maven with '-Dno-go-client' to skip. [exec] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Brooklyn REST JavaScript Web GUI ................... SUCCESS [ 18.747 s] [INFO] Brooklyn Server Root ............................... SUCCESS [ 0.188 s] [INFO] Brooklyn Parent Project ............................ SUCCESS [ 2.226 s] [INFO] Brooklyn Test Support Utilities .................... SUCCESS [ 4.008 s] [INFO] Brooklyn Logback Includable Configuration .......... SUCCESS [ 0.861 s] [INFO] Brooklyn Common Utilities .......................... SUCCESS [ 12.232 s] [INFO] Brooklyn API ....................................... SUCCESS [ 1.555 s] [INFO] CAMP Server Parent Project ......................... SUCCESS [ 0.227 s] [INFO] CAMP Base .......................................... SUCCESS [ 2.305 s] [INFO] Brooklyn Test Support .............................. SUCCESS [ 1.747 s] [INFO] Brooklyn REST Swagger Apidoc Utilities ............. SUCCESS [ 6.977 s] [INFO] Brooklyn Logback Configuration ..................... SUCCESS [ 0.392 s] [INFO] CAMP Server ........................................ SUCCESS [ 4.696 s] [INFO] CAMP Server Jersey ................................. SUCCESS [ 5.072 s] [INFO] Brooklyn Felix Runtime ............................. SUCCESS [ 2.719 s] [INFO] Brooklyn Groovy Utilities .......................... SUCCESS [ 0.811 s] [INFO] Brooklyn Core ...................................... SUCCESS [02:34 min] [INFO] Brooklyn Policies .................................. SUCCESS [01:09 min] [INFO] Brooklyn WinRM Software Entities ................... SUCCESS [ 7.076 s] [INFO] Brooklyn Secure JMXMP Agent ........................ SUCCESS [ 6.881 s] [INFO] Brooklyn JMX RMI Agent ............................. SUCCESS [ 0.629 s] [INFO] Brooklyn Jclouds Location Targets .................. SUCCESS [ 14.608 s] [INFO] Brooklyn Software Base ............................. SUCCESS [01:01 min] [INFO] Brooklyn CAMP REST API ............................. SUCCESS [01:09 min] [INFO] Brooklyn Hazelcast Storage ......................... SUCCESS [ 2.073 s] [INFO] Brooklyn Launcher Common ........................... SUCCESS [ 3.516 s] [INFO] Brooklyn REST API .................................. SUCCESS [ 7.912 s] [INFO] Brooklyn REST Resources ............................ SUCCESS [ 42.794 s] [INFO] Brooklyn REST Server ............................... SUCCESS [ 15.761 s] [INFO] Brooklyn Launcher .................................. SUCCESS [ 27.702 s] [INFO] Brooklyn Command Line Interface .................... SUCCESS [ 13.755 s] [INFO] Brooklyn REST Client ............................... SUCCESS [ 15.943 s] [INFO] Brooklyn REST Server with Jersey dependencies ...... SUCCESS [ 51.902 s] [INFO] Brooklyn Test Framework ............................ SUCCESS [01:02 min] [INFO] Brooklyn OSGi init ................................. SUCCESS [ 1.168 s] [INFO] Brooklyn Karaf ..................................... SUCCESS [ 0.017 s] [INFO] Brooklyn Karaf Features ............................ SUCCESS [ 0.618 s] [INFO] Brooklyn Karaf Distro .............................. SUCCESS [ 6.784 s] [INFO] Brooklyn Karaf Shell Commands ...................... SUCCESS [ 1.220 s] [INFO] Brooklyn Karaf pax-exam itest ...................... SUCCESS [ 16.232 s] [INFO] Brooklyn Library Root .............................. SUCCESS [ 0.224 s] [INFO] Brooklyn CM SaltStack .............................. SUCCESS [ 3.660 s] [INFO] Brooklyn CM Ansible ................................ SUCCESS [ 2.195 s] [INFO] Brooklyn CM Integration Root ....................... SUCCESS [ 0.150 s] [INFO] Brooklyn Network Software Entities ................. SUCCESS [ 2.630 s] [INFO] Brooklyn OSGi Software Entities .................... SUCCESS [ 2.408 s] [INFO] Brooklyn Database Software Entities ................ SUCCESS [ 3.249 s] [INFO] Brooklyn Web App Software Entities ................. SUCCESS [ 22.210 s] [INFO] Brooklyn Messaging Software Entities ............... SUCCESS [ 4.200 s] [INFO] Brooklyn NoSQL Data Store Software Entities ........ SUCCESS [ 13.083 s] [INFO] Brooklyn Monitoring Software Entities .............. SUCCESS [ 2.413 s] [INFO] Brooklyn QA ........................................ SUCCESS [ 9.798 s] [INFO] Brooklyn Examples Aggregator Project ............... SUCCESS [ 0.115 s] [INFO] Brooklyn Examples Aggregator Project - Webapps ..... SUCCESS [ 0.137 s] [INFO] hello-world-webapp Maven Webapp .................... SUCCESS [ 0.777 s] [INFO] hello-world-sql-webapp Maven Webapp ................ SUCCESS [ 1.041 s] [INFO] Brooklyn Simple Web Cluster Example ................ SUCCESS [ 4.382 s] [INFO] Brooklyn Global Web Fabric Example ................. SUCCESS [ 2.493 s] [INFO] Brooklyn Simple Messaging Publish-Subscribe Example SUCCESS [ 3.556 s] [INFO] Brooklyn NoSQL Cluster Examples .................... SUCCESS [ 2.510 s] [INFO] Brooklyn Client Command Line Interface ............. FAILURE [ 0.435 s] [INFO] Brooklyn Downstream Project Parent ................. SKIPPED [INFO] Brooklyn Dist Root ................................. SKIPPED [INFO] Brooklyn All Things ................................ SKIPPED [INFO] Brooklyn Distribution .............................. SKIPPED [INFO] Brooklyn Vagrant Getting Started Environment ....... SKIPPED [INFO] Brooklyn Quick-Start Project Archetype ............. SKIPPED [INFO] Brooklyn RPM Package ............................... SKIPPED [INFO] Brooklyn Root ...................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 13:23 min [INFO] Finished at: 2016-04-07T12:38:44+02:00 [INFO] Final Memory: 244M/1459M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (process-build-all) on project brooklyn-client-cli: An Ant BuildException has occured: The following error occurred while executing this line: [ERROR] /private/tmp/apache-brooklyn-0.9.0-rc3/apache-brooklyn-0.9.0-src/brooklyn-client/build.xml:23: exec returned: 1 [ERROR] around Ant part ...<ant target="all"/>... @ 4:22 in /private/tmp/apache-brooklyn-0.9.0-rc3/apache-brooklyn-0.9.0-src/brooklyn-client/target/antrun/build-main.xml [ERROR] -> [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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :brooklyn-client-cli HTH, Andrea [1]: https://cwiki.apache.org/confluence/display/JCLOUDS/Validate+a+Release On 7 April 2016 at 00:24, Richard Downer <[email protected]> wrote: > This is to call for a vote for the release of Apache Brooklyn 0.9.0 [rc3]. > > This release comprises of a source code distribution, and a > corresponding binary distribution, RPM packages, Vagrant environment > package, and Maven artifacts. > > The source and binary distributions, including signatures, digests, > etc. can be found at: > https://dist.apache.org/repos/dist/dev/brooklyn/apache-brooklyn-0.9.0-rc3 > > The artifact SHA-256 checksums are as follows: > 65e3438c81c76d47f98e637554e4b80c8c869ff482c18ca9b2d838778268a56b > *apache-brooklyn-0.9.0-rc3-1.noarch.rpm > 1a1235c10962371f52240f7fcb1c89f1d066cbb55715c493f4fdffc0a6927da0 > *apache-brooklyn-0.9.0-rc3-bin.tar.gz > f95a566d5bb086906d8a4657029757b08a90d2483ef00a7eae0ddd55832b0f4c > *apache-brooklyn-0.9.0-rc3-bin.zip > bbceefda7444a0235527d9830230acb6a3d9f9c6280f36bccc59486a3ee80db8 > *apache-brooklyn-0.9.0-rc3-client-cli-linux.tar.gz > 7a1cabc5d96be11cbd538a202c1712f9bd053be18f37dc533c543004b247a802 > *apache-brooklyn-0.9.0-rc3-client-cli-linux.zip > 51ecff55d2c7308efc7f215cc5ab4bdfd8db8d2588fde3346b3c5ad53cf9d396 > *apache-brooklyn-0.9.0-rc3-client-cli-macosx.tar.gz > cce8cf9819cb57b1c0bbbdbef76da43fb8142ed2f0a6b9cb613850e2188081d6 > *apache-brooklyn-0.9.0-rc3-client-cli-macosx.zip > 6d5f1ca2d9550048c80cdf951f00c780c3766d09960f15a47585c37e44c16926 > *apache-brooklyn-0.9.0-rc3-client-cli-windows.tar.gz > d0d021f17efe389558b5d12141694179f3245acd9d016bd9de03917fc6b9fa4c > *apache-brooklyn-0.9.0-rc3-client-cli-windows.zip > b993253273280027c45adb4d6899493e8df0301080128d6c8bc10148da3c1a74 > *apache-brooklyn-0.9.0-rc3-src.tar.gz > f9e4396ab123b650fe02675e0e753f819c4a5bcbf8ed48fd5fa925a6ba93e149 > *apache-brooklyn-0.9.0-rc3-src.zip > 052412c38707152b01117ccf504aa75d742495743b134f2d328dd4725f19ee4e > *apache-brooklyn-0.9.0-rc3-vagrant.tar.gz > 4a9cc996b827342c11176257bd1663ecb572913f2d3f3dc1f2d43b54be62aa52 > *apache-brooklyn-0.9.0-rc3-vagrant.zip > > The Nexus staging repositories for the Maven artifacts are located at: > https://repository.apache.org/content/repositories/orgapachebrooklyn-1018 > https://repository.apache.org/content/repositories/orgapachebrooklyn-1019 > > All release artifacts are signed with the following key: > https://people.apache.org/keys/committer/richard.asc > > KEYS file available here: > https://dist.apache.org/repos/dist/release/brooklyn/KEYS > > The artifacts were built from these Git commit IDs: > brooklyn: acc8ff1930d243d2a5fae1ad2f1a1ef17ca4a19c > brooklyn-client: bc8593a933fcb76327ae4a511643e39d25a87ba2 > brooklyn-dist: f08bddf201ab02a4f7066bfa3bcacf01bb430b99 > brooklyn-docs: 12430d193e1891b87a677d6b45a3b17861c83518 > brooklyn-library: 2565e6eb2868468ec2528df74fe85efdb887b6d2 > brooklyn-server: 718aea7d27ce21835860d2de6a31d0e9474bee85 > brooklyn-ui: 34d196678a8ae37804c698413d4ef19b86719a8f > All of the above have been tagged as "apache-brooklyn-0.9.0-rc3". > > > Please download the artifacts, test, and vote on releasing this > package as Apache Brooklyn 0.9.0. > > The vote will be open for at least 72 hours. > [ ] +1 Release this package as Apache Brooklyn 0.9.0 (please describe > the tests you have performed) > [ ] +0 no opinion > [ ] -1 Do not release this package (please describe why not) > > Thanks >
verify_brooklyn_rc.sh
Description: Bourne shell script
