Return-Path: X-Original-To: apmail-builds-archive@minotaur.apache.org Delivered-To: apmail-builds-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 36FD0105E3 for ; Mon, 1 Dec 2014 17:17:54 +0000 (UTC) Received: (qmail 74376 invoked by uid 500); 1 Dec 2014 17:17:49 -0000 Delivered-To: apmail-builds-archive@apache.org Received: (qmail 74309 invoked by uid 500); 1 Dec 2014 17:17:49 -0000 Mailing-List: contact builds-help@apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: builds@apache.org Delivered-To: mailing list builds@apache.org Received: (qmail 74297 invoked by uid 99); 1 Dec 2014 17:17:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2014 17:17:48 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of andrew.bayer@gmail.com designates 74.125.82.47 as permitted sender) Received: from [74.125.82.47] (HELO mail-wg0-f47.google.com) (74.125.82.47) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2014 17:17:21 +0000 Received: by mail-wg0-f47.google.com with SMTP id n12so14627860wgh.6 for ; Mon, 01 Dec 2014 09:15:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=d95JHZUpL/6mfEdRD7+vEODMPkaQIWir+SkfwCS36Ts=; b=Te5Z6FdNjaPpoJWXiUmqgogN0uqqB+dSicgtTAKkQJvZOXXj30NvZGqxznA8v9Hi81 fULANHjIXiGZ9UOmtEtbMdwaXqbaru5pd6sUEpBnDGiP03FYkMl1H6gy9xUifDI4BR4m Y+KBK++S8Fh8flmnFgVeA5CEgeqPB/AQtBsFunpLMtMZbsB2GQ/1qqFPAC72LLeeojh8 9HciqMjl61rCEWw1FpeBQDbKvoMu/7+tMYQylaCayLLqXELSAvoqAMsqfs7YsbdXYti1 nbITQQl66Y69SHOS32HXO0gE+LHjQ99yI3c9LB/Q1ZJibvdzJmTV3dapfUtIoQ1oFPH+ mxTw== X-Received: by 10.194.246.130 with SMTP id xw2mr92076424wjc.33.1417454151220; Mon, 01 Dec 2014 09:15:51 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.89.67 with HTTP; Mon, 1 Dec 2014 09:15:30 -0800 (PST) In-Reply-To: References: From: Andrew Bayer Date: Mon, 1 Dec 2014 09:15:30 -0800 Message-ID: Subject: Re: builds.apache.org suitability for Brooklyn integration tests To: "builds@apache.org" Content-Type: multipart/alternative; boundary=089e016817e82b45a505092ac319 X-Virus-Checked: Checked by ClamAV on apache.org --089e016817e82b45a505092ac319 Content-Type: text/plain; charset=UTF-8 So long as you don't need root, yeah, go merrily along on the cloud slaves - they're restricted to a single executor, so you can't bust anything else running on the slave at the same time, and if you're worried that you'll make disruptive changes to future builds, you can check the "Single-Use Slaves" option in your job config - when run on a cloud-provisioned slave, that'll result in the slave being taken offline and destroyed after your build completes. A. On Wed, Nov 26, 2014 at 2:12 AM, Richard Downer wrote: > Hello builds@apache.org - and I assume that Andrew Bayer is somewhere > behind this alias? > > I was at your talk at ApacheCon Europe last week and asked a question > about if the Jenkins infrastructure would be able to manage the > Brooklyn project's integration tests. I'd like to explore this in some > more detail. > > Brooklyn's normal mode of operation is - amongst other things - > installing and managing software. So its integration tests will be > doing things like downloading Tomcat, installing it on the local > machine by shelling out to bash, and starting it, where it would do > things like open TCP network ports for listening. So it is doing a lot > of work outside of the JVM sandbox. Repeat this for a couple of dozen > types of software. > > Furthermore, if there's any issue with the code under test, it may not > be able to clean up - in the worst case there would be processes left > running, consuming memory, disk space and network ports. > > When Brooklyn entered the Incubator, we moved our unit tests and PR > builder onto builds.apache.org, but we left the integration tests on > other infrastructure as we assumed that the shared build slaves were > not an appropriate place for "messy" tests like these. Instead, the > infrastructure we use relies on cloud build slaves which are shutdown > after the test run, therefore avoiding any cleanup issues. > > In the discussion at ApacheCon, you suggested that we could > potentially restrict our integration test job to running on the cloud > build slaves. > > What's the best way for us to move forward and run our integration > tests on builds.apache.org? > > Thanks, > > Richard > Committer/PPMC @ Apache Brooklyn (incubating) > --089e016817e82b45a505092ac319--