From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id BEE4EE00A6D; Tue, 21 Jun 2016 07:25:03 -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=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [192.55.52.88 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 0669CE00984 for ; Tue, 21 Jun 2016 07:24:45 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP; 21 Jun 2016 07:24:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,504,1459839600"; d="scan'208";a="980424710" Received: from linux.intel.com ([10.54.29.200]) by orsmga001.jf.intel.com with ESMTP; 21 Jun 2016 07:24:44 -0700 Received: from vmed.fi.intel.com (vmed.fi.intel.com [10.237.72.68]) by linux.intel.com (Postfix) with ESMTP id 701326A4006 for ; Tue, 21 Jun 2016 07:24:42 -0700 (PDT) From: Ed Bartosh To: toaster@yoctoproject.org Date: Tue, 21 Jun 2016 17:24:26 +0300 Message-Id: X-Mailer: git-send-email 2.1.4 Subject: [PATCH 0/6] fixed toaster-eventreplay (#9585) 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: Tue, 21 Jun 2016 14:25:03 -0000 Hi, This patchet contains changes made to toaster-eventreplay script to make it working with the recent codebase. Most of the changes were caused by moving to Python 3. Old event serializing code in cooker and toaster-eventreplay doesn't work in Python 3. There were also changes made to toasterui and buildinfohelper that made the script outdated, e.g. setEventMask was used in toasterui, but was not implemented in toaster-eventreplay. Test instructions: - generate event file using bitbake -u knotty -w events core-image-minimal - start toaster: . ../bitbake/bin/toaster start - check the the latest build: ../bitbake/lib/toaster/manage.py shell In [1]: from orm.models import Build In [2]: Build.objects.last() Out[2]: - replay event file: toaster-eventreplay events - make sure latest build number is incremented: ../bitbake/lib/toaster/manage.py shell In [1]: from orm.models import Build In [2]: Build.objects.last() Out[2]: Note: This patchset depends on recent changes to cooker code: http://lists.openembedded.org/pipermail/bitbake-devel/2016-June/007602.html The following changes since commit 94dd70f042cd750a44ddfcef879a9547b072788f: toaster-tests: define capabilities for latest Firefox driver (2016-06-21 13:48:30 +0300) are available in the git repository at: git://git.yoctoproject.org/poky-contrib ed/toaster/eventplay-9585 http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/toaster/eventplay-9585 Ed Bartosh (6): eventreplay: add MockConnection.getEventHandle method eventprelay: implement setEventMask command eventreplay: fix event loading code eventreplay: replace MockConfigParameters with namedtuple eventreplay: reorganize imports eventreplay: rewrite the script bitbake/bin/toaster-eventreplay | 220 ++++++++++++++++------------------------ 1 file changed, 86 insertions(+), 134 deletions(-) -- Regards, Ed