From patchwork Wed Jan 30 05:46:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Doan X-Patchwork-Id: 14350 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id F0DF423F8C for ; Wed, 30 Jan 2013 05:46:15 +0000 (UTC) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by fiordland.canonical.com (Postfix) with ESMTP id 7362CA18008 for ; Wed, 30 Jan 2013 05:46:15 +0000 (UTC) Received: by mail-vc0-f170.google.com with SMTP id p16so810469vcq.15 for ; Tue, 29 Jan 2013 21:46:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:content-type:mime-version:x-launchpad-project :x-launchpad-branch:x-launchpad-message-rationale :x-launchpad-branch-revision-number:x-launchpad-notification-type:to :from:subject:message-id:date:reply-to:sender:errors-to:precedence :x-generated-by:x-launchpad-hash:x-gm-message-state; bh=noDbtPb6xxDe5OIAWkDNKpZQgn1eBIvyCs9dArKv3dY=; b=M9dQ7dLPh9iCuXQwEiI8UJRvnAfsC/3+1rTJ2TP6zGnODLRwO7qbkEAVfG9rWGsXOz MTlpqitjGo7OaDJmJOb5Bkd07Z4SbXl+EbT2X/VmkW9hHI3LNrroBpHSWLvDAKde7w3N OnObcv6coG3l9HzZFjbz6YxybFdHyrsjKGbaqser2QSQcUYB4xT9lN71q32UGNSA71lP wy9QL6tjdE7PBsH51ybC9J1idpCqFlzjaDEqLummHUQgVRWNg7fjkPSa61IRzN68m7vi ltvJy2/V7Bi1ty0LJF1ihZ4r7LnjgPAPd69mVKmAhG2xMNAV0l/PJMkogp1Z5fqmBhoW 1Wrg== X-Received: by 10.220.214.6 with SMTP id gy6mr1568782vcb.8.1359524774892; Tue, 29 Jan 2013 21:46:14 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.145.101 with SMTP id st5csp172703veb; Tue, 29 Jan 2013 21:46:14 -0800 (PST) X-Received: by 10.180.106.34 with SMTP id gr2mr6182837wib.18.1359524773452; Tue, 29 Jan 2013 21:46:13 -0800 (PST) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id m9si91230wjy.242.2013.01.29.21.46.12 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 29 Jan 2013 21:46:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) smtp.mail=bounces@canonical.com Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1U0QUu-0002s2-Hi for ; Wed, 30 Jan 2013 05:46:12 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 725EEE01C5 for ; Wed, 30 Jan 2013 05:46:12 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-dispatcher X-Launchpad-Branch: ~linaro-validation/lava-dispatcher/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 550 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dispatcher/trunk] Rev 550: testdef_meta data has not yet been approved in our bundle format Message-Id: <20130130054612.25211.30329.launchpad@ackee.canonical.com> Date: Wed, 30 Jan 2013 05:46:12 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="16455"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 223f4bfe147ef140700f4ff7387576f013e3549a X-Gm-Message-State: ALoCoQnlQZCBYWQ0ev1wl2vqoLves3oEqi5wz9KqEKf8AoHVuAi1rxFg3XnopRnQMMI1uax+kOkX ------------------------------------------------------------ revno: 550 tags: release-0.32.1 committer: Andy Doan branch nick: lava-dispatcher timestamp: Tue 2013-01-29 23:33:55 -0600 message: testdef_meta data has not yet been approved in our bundle format we need to release today but we aren't yet ready to include the proposed update to the bundle format. For now, I'm just backing out the part of revno 548 that added this information to the bundle modified: lava_dispatcher/lava_test_shell.py lava_dispatcher/test_data.py --- lp:lava-dispatcher https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk You are subscribed to branch lp:lava-dispatcher. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk/+edit-subscription === modified file 'lava_dispatcher/lava_test_shell.py' --- lava_dispatcher/lava_test_shell.py 2013-01-28 08:29:21 +0000 +++ lava_dispatcher/lava_test_shell.py 2013-01-30 05:33:55 +0000 @@ -292,11 +292,11 @@ uuid = _read_content(os.path.join(test_run_dir, 'analyzer_assigned_uuid')) attachments = _get_run_attachments(test_run_dir, testdef, stdout) attributes = _attributes_from_dir(os.path.join(test_run_dir, 'attributes')) - testdef_metadata = _read_content(os.path.join(test_run_dir, - 'testdef_metadata')) + # XXX testdef_metadata = _read_content(os.path.join(test_run_dir, + # XXX 'testdef_metadata')) testdef = yaml.load(testdef) - testdef_metadata = yaml.load(testdef_metadata) + # XXX testdef_metadata = yaml.load(testdef_metadata) if uuid in testdefs_by_uuid: sw_sources = testdefs_by_uuid[uuid]._sw_sources else: @@ -314,7 +314,7 @@ 'hardware_context': hwcontext, 'attachments': attachments, 'attributes': attributes, - 'testdef_metadata': testdef_metadata, + # XXX 'testdef_metadata': testdef_metadata, } === modified file 'lava_dispatcher/test_data.py' --- lava_dispatcher/test_data.py 2013-01-28 08:29:21 +0000 +++ lava_dispatcher/test_data.py 2013-01-30 05:33:55 +0000 @@ -34,8 +34,8 @@ def __init__(self, test_id='lava'): self.job_status = 'pass' self.metadata = {} - self._test_run = { 'test_results':[], 'attachments':[], 'tags':[], - 'testdef_metadata':{} } + self._test_run = { 'test_results':[], 'attachments':[], 'tags':[], } + # XXX 'testdef_metadata':{} } self._test_run['test_id'] = test_id self._assign_date() self._assign_uuid()