From owner-freebsd-virtualization@FreeBSD.ORG Thu Mar 20 22:29:19 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A450CFE6; Thu, 20 Mar 2014 22:29:19 +0000 (UTC) Received: from mail-la0-x22d.google.com (mail-la0-x22d.google.com [IPv6:2a00:1450:4010:c03::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F3A9CD91; Thu, 20 Mar 2014 22:29:18 +0000 (UTC) Received: by mail-la0-f45.google.com with SMTP id hr17so1119390lab.32 for ; Thu, 20 Mar 2014 15:29:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=VBP68Fe1BFCL4P3NgR2dEqIVxtTwzCS1DLCClhWUjXA=; b=zaAFuAiKT3VPVRAGpe1Bf3RVjbX5o0Qvw/W5I8MBcGH/EZpdqnGZD2s4wcesMiKNeC dg3VR26g0hZw2u9GN4FVUJpWWXMI2+/LiMPGMLHZdlAI2lxcRsDRXHCTnev4nBo8OSEV jEq6e+YBSkL1CaoMXqDpzkZJbPMiEMth+VcvNW/M7Y/1p4qwizTxQqs4Q+jeGhQ/BO4G gU8BDL9ADwN8hlcTx0epW+mt9YMFu7yLiMbRVK+PVEUUutshpFIVluiudz4d9Yq3za8L DEBsDm60Brv0S/AP86r1WAeaXywdldQ4DQ673IwT53/Ge3/OutvB4Lb2kI+0onaDPuGv 4//A== MIME-Version: 1.0 X-Received: by 10.112.92.172 with SMTP id cn12mr183909lbb.73.1395354557088; Thu, 20 Mar 2014 15:29:17 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.169.68 with HTTP; Thu, 20 Mar 2014 15:29:17 -0700 (PDT) In-Reply-To: <20140320213848.GU37327@FreeBSD.org> References: <532A0DE6.2020801@pitt.edu> <201403201124.07472.jhb@freebsd.org> <20140320213848.GU37327@FreeBSD.org> Date: Thu, 20 Mar 2014 15:29:17 -0700 X-Google-Sender-Auth: r-j2RITa7tSmhzjl1b3O5vZYHbE Message-ID: Subject: Re: Google Summer of Code 2014 question From: Craig Rodrigues To: "Wojciech A. Koszek" Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Mar 2014 22:29:19 -0000 On Thu, Mar 20, 2014 at 2:38 PM, Wojciech A. Koszek wrote: > DSL isn't a must here, I agree, but you'll be limited in testing otherwise. > Unless some technology already has what I want, I suggested getting this > functionality: > > vm0.cmd("ifconfig ....."); > vm1.cmd("ifconfig ...."); > > vm0.cmd("ping vm1"); > > vm0.register(function(data) { > if (data =~ /*Not*/) { > error(); > } > }); For the above pseudo-code which you listed, you've pretty much got that functionality in existing automation tools like Puppet, SaltStack, Chef, etc. For unit testing, Kyua is quite good, and people are writing lots of unit tests for it, and even committing some of them directly to FreeBSD. > Once this would work for VMs, I'd be interesting in proposing the creation > of the physical infrastructure for continuous FreeBSD testing. For the above item, we've already started putting that together. See: http://wiki.freebsd.org/Jenkins and the presentation I gave on March 13. At the next Devsummit in Ottawa, we want to talk about this further and get people who are interested in this topic to participate in the conversation: https://wiki.freebsd.org/201405DevSummit/Jenkins It would be interesting to get Raspberry PI hardware being tested regularly as part of continuous integration. We don't have Raspberry PI hardware available in the FreeBSD cluster, so someone who is interested would have to take the action item to acquire the hardware and set things up so the hardware is integrated with continuous integration/testing. Looking at the SummerOfCode2014 ideas page, my opinion is that for this item: https://wiki.freebsd.org/SummerOfCode2014#TEST-o-steron_for_FreeBSD_.28node.js.2FLua.29 -> has already been done with things like libvirt, which is being ported to FreeBSD by Roman Bogorodskiy. See: http://empt1e.blogspot.com/2014/03/bhyve-in-libvirt.html -> existing automation frameworks can already be used to send remote commands to VM's and for this item: https://wiki.freebsd.org/SummerOfCode2014#CON-tinuous_INtegration_for_FreeBSD_aka_improved_TinderBox_.28node.js.2FLua.29 -> better Tinderbox systems already exist. Jenkins and Buildbot are two commonly available open source implementations. -> the jenkins-admin team set up Jenkins ( http://jenkins.freebsd.org ) because we were familiar it, and so far it seems to work well My focus is to get existing software that people in the non-FreeBSD world have developed to solve these types of problems, and get them up and running in FreeBSD. -- Craig