From owner-freebsd-testing@FreeBSD.ORG Sun Jul 27 20:38:20 2014 Return-Path: Delivered-To: testing@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 53B9A94C; Sun, 27 Jul 2014 20:38:20 +0000 (UTC) Received: from vps.hungerhost.com (vps.hungerhost.com [216.38.53.176]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 27C3925A5; Sun, 27 Jul 2014 20:38:19 +0000 (UTC) Received: from a6.norwich.yourspac.nsdsl.net ([94.229.131.101]:51458 helo=[10.3.6.18]) by vps.hungerhost.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1) (envelope-from ) id 1XBVCy-00069X-Ga; Sun, 27 Jul 2014 16:38:16 -0400 From: "George Neville-Neil" To: "Garrett Cooper" Subject: Re: A new way to test systems in multiple machine scenarios... Date: Sun, 27 Jul 2014 21:38:05 +0100 Message-ID: <9207F596-D12C-4624-932C-631E47D40D66@neville-neil.com> In-Reply-To: <19D0342C-3635-4DC1-ACB8-5697F1D579F0@gmail.com> References: <19D0342C-3635-4DC1-ACB8-5697F1D579F0@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Mailer: MailMate (1.8r4214) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vps.hungerhost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - neville-neil.com X-Get-Message-Sender-Via: vps.hungerhost.com: authenticated_id: gnn@neville-neil.com Cc: "testing@freebsd.org" , "net@freebsd.org" X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jul 2014 20:38:20 -0000 On 6 Jul 2014, at 4:52, Garrett Cooper wrote: >> On Jul 5, 2014, at 20:04, "George Neville-Neil" >> wrote: >> >> Hi, >> >> I've coded up a system to allow you to control multiple other systems >> for use in testing. >> >> https://github.com/gvnn3/conductor >> >> It's BSD licensed, of course, and is only alpha quality but I'm using >> it in the test lab >> to control hosts in forwarding tests. >> >> I'll be updating the system frequently over the coming months as I >> build out more test scenarios, >> add documentation and the like. >> >> There are two main scripts, player, and conductor. You run N >> players, one per machine, and >> a single conductor. The conductor controls the players by sending >> down phases which are >> encoded in INI style configs. There are a few, simple, samples in >> the config/ directory >> of the project. >> >> Best, >> George >> >> NOTE: Conductor MUST run as root to be useful. Do NOT run on the >> open Internet. It is meant >> for private test labs. > > I took a quick glance at the code -- have you considered using > multiprocessing managers instead? > > https://docs.python.org/2/library/multiprocessing.html#managers I had not. Thanks. I'll give it a look over. Best, George