From owner-freebsd-testing@FreeBSD.ORG Sun Jul 6 03:52:08 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 7E28418D; Sun, 6 Jul 2014 03:52:08 +0000 (UTC) Received: from mail-pa0-x22d.google.com (mail-pa0-x22d.google.com [IPv6:2607:f8b0:400e:c03::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3F6D52BDD; Sun, 6 Jul 2014 03:52:08 +0000 (UTC) Received: by mail-pa0-f45.google.com with SMTP id rd3so3656631pab.18 for ; Sat, 05 Jul 2014 20:52:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=3cqFEQ/HxvRouvdmKBBL16okKV+iBeV03h2UtwkdR6U=; b=YGvmLqNE+DjG1x+OGNNvXpVYX1Lmxt2WZXaf1BMMaI/HEp+EQV8q4UGvMz7013S4/j stnkvOiYNXM1HgEPGjdHqCH+KVR6xXJ72Zvgj0fstH2u9OwqWn4XR7LLCCfvYPVFWBft Emb9F2y1CZfQOeYBizA/Ps/fUVMf82fsT+yQxDFpbI6T0bO1JbC7og8waT7FirnJqF/9 pegB7ZhyFDLrqsZuUO9an6A+aBcrwpaz4BQA7Ikh2FNbToaHWGnxpuszHE0l6EwOge70 +YfZuqr1XwIJgjB663cQmTqBNfoR+lklxFBCv5xaZEQL+dJN+zsOvVSwYocB03rOB0W2 p4IA== X-Received: by 10.70.102.10 with SMTP id fk10mr21886pdb.111.1404618727801; Sat, 05 Jul 2014 20:52:07 -0700 (PDT) Received: from [10.101.19.180] (mobile-166-137-212-195.mycingular.net. [166.137.212.195]) by mx.google.com with ESMTPSA id b3sm6331748pbu.8.2014.07.05.20.52.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 05 Jul 2014 20:52:06 -0700 (PDT) References: Mime-Version: 1.0 (1.0) In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: <19D0342C-3635-4DC1-ACB8-5697F1D579F0@gmail.com> X-Mailer: iPhone Mail (11D257) From: Garrett Cooper Subject: Re: A new way to test systems in multiple machine scenarios... Date: Sat, 5 Jul 2014 20:52:03 -0700 To: George Neville-Neil 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, 06 Jul 2014 03:52:08 -0000 > On Jul 5, 2014, at 20:04, "George Neville-Neil" wro= te: >=20 > Hi, >=20 > I've coded up a system to allow you to control multiple other systems for u= se in testing. >=20 > https://github.com/gvnn3/conductor >=20 > It's BSD licensed, of course, and is only alpha quality but I'm using it i= n the test lab > to control hosts in forwarding tests. >=20 > I'll be updating the system frequently over the coming months as I build o= ut more test scenarios, > add documentation and the like. >=20 > 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 ph= ases which are > encoded in INI style configs. There are a few, simple, samples in the con= fig/ directory > of the project. >=20 > Best, > George >=20 > NOTE: Conductor MUST run as root to be useful. Do NOT run on the open Int= ernet. It is meant > for private test labs. I took a quick glance at the code -- have you considered using multiprocessi= ng managers instead? https://docs.python.org/2/library/multiprocessing.html#managers -Garrett=