From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by dpdk.org (Postfix) with ESMTP id A18E958F7 for ; Fri, 16 Jan 2015 22:09:09 +0100 (CET) Received: by mail-pa0-f54.google.com with SMTP id fb1so26472380pad.13 for ; Fri, 16 Jan 2015 13:09:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Z3FVSPMvt+LTOy68N9uAVGxXYPlo+tuPjb2bSwmggqg=; b=cd0mszQuodl9YokthQCt2gd9ZGqaKBTQBTcsSl+h23LYqOe6Q6Sl+iMWHjOVZoUYNi 6EO+Cq8zjIewwUMdA4N6S/E+tD0RuRhtXfb+x0j+OkHlYWP3ptm4bG5iQudLpS9fawSM nhcYYTPJ75vzNYatsVDT/sCFlj9r1cMA8LKsX9a4fkUJzGOJpxiyU0rWnthskwlLikt4 fSbpknwz0yDjx91dRmxsNIVK9qOKCkLKSS6k5+Q8M8f4j7zqr7gacOvUZ1MSQVnz01yF 9ZU/rdtjJmBCFQqmArmxtFeAR/0SOzBxl8ezNkm3DKQIv95OJF+r9pNB1KyAg8zloy9t ZbPQ== MIME-Version: 1.0 X-Received: by 10.68.69.112 with SMTP id d16mr7912752pbu.102.1421442548888; Fri, 16 Jan 2015 13:09:08 -0800 (PST) Received: by 10.70.114.233 with HTTP; Fri, 16 Jan 2015 13:09:08 -0800 (PST) Date: Fri, 16 Jan 2015 13:09:08 -0800 Message-ID: From: Ravi Kerur To: dts@dpdk.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dts] Clarifications on setting up DUT 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: Fri, 16 Jan 2015 21:09:11 -0000 DTS team, I am making changes to DTS to support i217, i218 chipsets to DTS and I have couple of questions 1. Any README on system pre-requisites? Can I run DTS natively on DUT without any SSH? I have I217 and 82540EM NICs in a system running Ubuntu. I would like to use both NIC's for testing. If I use regular method of SSH, I will loose one NIC hence the question. 2. When I run DTS, for some of the commands I am getting garbage output. The problem is seen on 2 Ubuntu systems. When I run those commands manually commands work fine for e.g. *16/01/2015 12:58:00 DTS_TESTER_CMD: ls /sys/bus/pci/devices/0000:00:19.0/net* *16/01/2015 12:58:00 DTS_TESTER_OUTPUT: ^[[0m^[[01;34meth0^[[0m* *16/01/2015 12:58:00 DTS_TESTER_CMD: Tester: [000:00:19.0 8086:15a1] ^[[0m^[[01;34meth0^[[0m* *16/01/2015 12:58:00 DTS_TESTER_CMD: cat /sys/bus/pci/devices/0000:00:19.0/net/^[[0m^[[01;34meth0^[[0m/address* *16/01/2015 12:58:00 DTS_TESTER_OUTPUT: cat: /sys/bus/pci/devices/0000:00:19.0/net/m1: No such file or directory^M* *-bash: 34meth0m/address: No such file or directory* *16/01/2015 12:58:00 DTS_TESTER_CMD: ls /sys/bus/pci/devices/0000:04:02.0/net* *16/01/2015 12:58:00 DTS_TESTER_OUTPUT: ^[[0m^[[01;34meth1^[[0m* *16/01/2015 12:58:00 DTS_TESTER_CMD: Tester: [000:04:02.0 8086:100e] ^[[0m^[[01;34meth1^[[0m* *16/01/2015 12:58:00 DTS_TESTER_CMD: cat /sys/bus/pci/devices/0000:04:02.0/net/^[[0m^[[01;34meth1^[[0m/address* 3. Tests start failing with following msgs even though I217 NIC is recognized. *Traceback (most recent call last):* * File "/home/rkerur/dpdk-dts/dts/framework/dts.py", line 527, in execute_test_setup_all* * test_case.set_up_all()* * File "../tests/TestSuite_whitelist.py", line 61, in set_up_all* * self.verify(len(self.dutPorts) >= 1, "Insufficient ports")* * File "/home/rkerur/dpdk-dts/dts/framework/test_case.py", line 62, in verify* * raise VerifyFailure(description)* *VerifyFailure: 'Insufficient ports'* *16/01/2015 12:58:23 INFO:* *TEST SUITE ENDED: TestWhitelist* Thanks, Ravi