From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 334DD2A5F for ; Thu, 7 Jul 2016 07:45:22 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP; 06 Jul 2016 22:45:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,323,1464678000"; d="scan'208";a="730752259" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by FMSMGA003.fm.intel.com with ESMTP; 06 Jul 2016 22:45:20 -0700 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id u675jJOC020204; Thu, 7 Jul 2016 13:45:19 +0800 Received: from shecgisg003.sh.intel.com (localhost [127.0.0.1]) by shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id u675jGmw031238; Thu, 7 Jul 2016 13:45:18 +0800 Received: (from yliu84x@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id u675jG1W031234; Thu, 7 Jul 2016 13:45:16 +0800 From: Marvin Liu To: dts@dpdk.org Cc: Marvin Liu Date: Thu, 7 Jul 2016 13:45:15 +0800 Message-Id: <1467870315-31202-1-git-send-email-yong.liu@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dts] [PATCH] tests cloud_filter: show filter type in validation process X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jul 2016 05:45:22 -0000 Show validating cloud filter type in the validation process. This information will help with user to get to known that which filter caused failure. Signed-off-by: Marvin Liu diff --git a/tests/TestSuite_cloud_filter.py b/tests/TestSuite_cloud_filter.py index 59d0038..7348aea 100644 --- a/tests/TestSuite_cloud_filter.py +++ b/tests/TestSuite_cloud_filter.py @@ -308,9 +308,11 @@ class TestCloudFilter(TestCase): """ Send packet match cloud filter rule and verify packet received """ + self.logger.info("Verifying vxlan %s filter" % cloud_cfg.cf_rule['type']) if dpdk: cloud_cfg.transmit_packet() out = self.pmdout.get_output() + print out queue = cloud_cfg.cf_rule['queue'] self.verify("queue %d" % queue in out, "Vxlan not received in queue %d" % queue) @@ -356,6 +358,8 @@ class TestCloudFilter(TestCase): print "Kernel VF captured packet not match rule" raise + self.logger.info("Verified vxlan %s filter pass" % cloud_cfg.cf_rule['type']) + def test_cloud_filter(self): """ Verify dpdk work with linux driver added cloud filter rule -- 1.9.3