From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 5B718E00953; Sat, 5 Nov 2016 15:44:31 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (avery.brian[at]gmail.com) * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [209.85.192.193 listed in list.dnswl.org] Received: from mail-pf0-f193.google.com (mail-pf0-f193.google.com [209.85.192.193]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 375D6E00712 for ; Sat, 5 Nov 2016 15:44:27 -0700 (PDT) Received: by mail-pf0-f193.google.com with SMTP id n85so11818283pfi.3 for ; Sat, 05 Nov 2016 15:44:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=Ue/WNAxNiFKgpZdprC/C3QQqeLbzB5BmCcc33gKll04=; b=tUTFGsNEFCridss5vnSA8o84BoeBNEZ6e4hXmCWAogBQ9dr9TPqfUVr4SXQlHFi0oZ 8gCa+5q0YoNuL5joudJVFw+4egHNOtMSP18pewJ0VogwXI7ZXUF/GjoSNGjh4mePHp0d qtDWJLHOvBjPSH0C8INCi+asU82jPsnpmmNZWVk3/guJYcELf3PjYuuHp+ejOE1NPBPz b8/DhUhIqgKiFbKCH2SzSd8CbUGyQzKO4IXaFAScV/jikf1eNYVy8Dtyb5h4aP5uxqIV OnKsav/M5qKUNGv8+su+b2CfD41hUcI7rRwcXbyKZxETsRceR94KEMXQD0drXFHQhziz r5oQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Ue/WNAxNiFKgpZdprC/C3QQqeLbzB5BmCcc33gKll04=; b=EYx9FkP0yIRTrqWmpGJGETkZHubYr9nTFan3W0I0ipktQ6WfTy1OiVn5kAuN1EBtVd nuBBOniSz3jNUU26KccqhkTPWXr4tMbffJXq8eUkR6j4LQzDVPDTldwjKwsxQh5mXKDb c+QE2qXL7VViQB0RMUwgdExIVzW1aTY36u6+hGRduq5NUy+vir6tw2/9XVnXBDAn7ZZk Cv+Hult/ZhQ6LsC3DJZtK4BatqEtlrzi781hk2Ncpt4luNUwjtZqoGl77O46Y6jzwLv3 Hf+lWSfR/YVBaKt2Ed1Sii1CRcquk7iNslGDmXjTL6fasMFkpy1FZr9K4czoar0/hXoe yuDA== X-Gm-Message-State: ABUngvc62f07hNcFTLGLNsN8JI3vqSGWBFtE/iZ79TiiyhxCbOmI7WAtb12rcaDW4/LCFw== X-Received: by 10.98.131.67 with SMTP id h64mr136022pfe.86.1478385867372; Sat, 05 Nov 2016 15:44:27 -0700 (PDT) Received: from whisper.hsd1.or.comcast.net (c-98-232-142-195.hsd1.or.comcast.net. [98.232.142.195]) by smtp.gmail.com with ESMTPSA id b139sm29765009pfb.8.2016.11.05.15.44.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 05 Nov 2016 15:44:26 -0700 (PDT) From: brian avery X-Google-Original-From: brian avery To: toaster@yoctoproject.org Date: Sat, 5 Nov 2016 15:47:53 -0700 Message-Id: X-Mailer: git-send-email 1.9.1 Cc: brian avery Subject: [PATCH 0/1] toaster: add Selenium Docker container as browser test driver option X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Nov 2016 22:44:31 -0000 Once again, some random upgrade on one of my build servers prevented me from running the selenium browser tests. Ugh! So, this patch will allow you to run the standard tests using the Selenium docker container as the driver rather than relying on what seem to me to be pretty brittle drivers for firefox or chrome. The README in lib/toaster/tests/browser has some instructions and more are located on the wiki at https://wiki.yoctoproject.org/wiki/Running_Toaster_Tests_with_Containers This patch assumes the firefox container. Later, if we want to, we can add an additional env variable to override firefox or chrome containers. Initially, I just wanted to get this approach working so that we could use it. -Brian an intel employee The following changes since commit edb5b524b3ee807d55a437cbab3d768c5f6f2283: bitbake: lib/bb/cooker.py: fix for BBFILE_PATTERN = "" (2016-11-04 12:50:56 +0000) are available in the git repository at: git://git.yoctoproject.org/poky-contrib bavery/toaster/remoteContainerTest http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=bavery/toaster/remoteContainerTest brian avery (1): toaster: browser tests - add Selenium Docker container as driver lib/toaster/tests/browser/README | 21 +++++++++++++++++++-- lib/toaster/tests/browser/selenium_helpers_base.py | 7 +++++++ 2 files changed, 26 insertions(+), 2 deletions(-) -- 1.9.1