From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-f169.google.com (mail-qt0-f169.google.com [209.85.216.169]) by dpdk.org (Postfix) with ESMTP id DBB9620F for ; Wed, 14 Dec 2016 17:23:04 +0100 (CET) Received: by mail-qt0-f169.google.com with SMTP id c47so29522634qtc.2 for ; Wed, 14 Dec 2016 08:23:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=atomicrules-com.20150623.gappssmtp.com; s=20150623; h=from:content-transfer-encoding:subject:message-id:date:to :mime-version; bh=/qB6L8xoU8cOA0wKJmhGLdczLYY/7G7KNZeH17iKBGY=; b=F7g+BFCdr4tOcknLYvZMmByYNt1UM+nnf0e3WkDVoq4NXu8x5unAZnyZiJDbtrW7to cScAlRXq9Qsr1nNuvx8JMjhea7UjthjFPLQ7esItcNoSuQSIixNzEQD1DzIO9wCXNlJX SQjG/HuflSUzgaMe/7j8zJ/oX7c8Q3htWDWEOOgJC/vYI63Ccdh08aYqCB89u5rbCIZV JpSWWNL4j3djpXwQRj5bV8FQ4zhZe/hUvhE0Rad9r3vtd3YQZX/8Sh06xXT6TkmSVTFO 0RcLN/nckU/ceC39/oabthFdXZY0dyNYWRsG3+Myj6M8pBQWe7W+4f7rCKrMmGkm7QFT xX/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:subject :message-id:date:to:mime-version; bh=/qB6L8xoU8cOA0wKJmhGLdczLYY/7G7KNZeH17iKBGY=; b=aPYBapeQ/MMUjVDMH+I/UG7KbQYkGrRkCPNmSft3S/TrDIN/dCZ25B3GlOBn7u+dFW s2v6sL0T4HuhkSWzY682tD+RXaYIyzznIHhaMgOgh1Q5DcflciRm82s7IDk8r0q1dc7z wlGH2K5oo9gGRIZAdEEoneh3av6dIuDgMFdWFhD0t4vewthXJGn6+ZfXB45y3wwRxqCF XBfJuj+i+66/+/nyRlXlWeGZrrjZRfCfX2rEVpqKowUHGlBlhdRMN0Fd2yB3AVQOoRw3 6lFZvUfy1imeDaRLCMRxja+HgOeKGrf89H0GhDTdKAvLoka41SkGfE+sYjHdC52A9c00 XEuw== X-Gm-Message-State: AKaTC01R6g9bI11V6HRObxXGalBMNzL3TP//+g6uvDXECBMMLpsY38dRIGOYqCko+RYoWQ== X-Received: by 10.237.53.176 with SMTP id c45mr88000407qte.222.1481732584118; Wed, 14 Dec 2016 08:23:04 -0800 (PST) Received: from [192.168.0.6] (h66-222-104-8.cntcnh.broadband.dynamic.tds.net. [66.222.104.8]) by smtp.gmail.com with ESMTPSA id n79sm18412085qkn.15.2016.12.14.08.23.03 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 Dec 2016 08:23:03 -0800 (PST) From: john miller Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-Id: <1FD3A933-F3E6-4B13-898D-A1B387B40345@atomicrules.com> Date: Wed, 14 Dec 2016 11:23:02 -0500 To: dts@dpdk.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) X-Mailer: Apple Mail (2.2104) Subject: [dts] Minimum Tester/DUT configuration 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: Wed, 14 Dec 2016 16:23:05 -0000 Hi All, We have configured a tester and a DUT for DTS testing, both machines are = 4 core systems, one running ubuntu 14.04 and the other ubuntu 16.04 OS's = . Before we plug our hardware into the tester we are trying to = establish ground truth using a 2 port Fortville eagle card in the tester = and one in the DUT. The DTS documentation indicates that a minimum = system requires 4 ports so my first question is, can some of the tests = run with a 2 port configuration and is there any documentation that = indicates which tests require all 4 ports ? The basic tests like = hello_world, timer, and cmdline pass, but when we attempt run tests like = l2fwd we get the following error indicating that 4 ports are required. INFO:=20 TEST SUITE : TestL2fwd INFO: NIC : fortville_eagle ERROR: set_up_all failed: Traceback (most recent call last): File "/work/dts/framework/test_case.py", line 223, in = execute_setup_all self.set_up_all() File "/work/dts/tests/TestSuite_l2fwd.py", line 66, in set_up_all "Not enough ports for " + self.nic) File "/work/dts/framework/test_case.py", line 146, in verify raise VerifyFailure(description) VerifyFailure: 'Not enough ports for fortville_eagle=E2=80=99 Also the DPDK mutilprocess test documentation indicates that the test = should run with only 2 ports. However when we attempt to run we get the = following error. The error looks like it is a result of the test = attempting to use more lcores than are available on the DUT. Although i = could change the test script to avoid this, I would like to know if = there is a configuration parameter that i missed that should be set to = the number of cores on the DUT.=20 DTS_DUT_CMD: [192.168.0.11] = ./examples/multi_process/simple_mp/simple_mp/x86_64-native-linuxapp-gcc/si= mple_mp -n 1 -c 0x6 --proc-type=3Dprimary SUITE_DUT_CMD: [192.168.0.11] = ./examples/multi_process/simple_mp/simple_mp/x86_64-native-linuxapp-gcc/si= mple_mp -n 1 -c 0x60000 --proc-type=3Dsecondary ERROR: Test Case test_multiprocess_simple_mploadtest = Result FAILED: TIMEOUT on = ./examples/multi_process/simple_mp/simple_mp/x86_64-native-linuxapp-gcc/si= mple_mp -n 1 -c 0x60000 --proc-type=3Dsecondary ERROR: EAL: Detected lcore 0 as core 0 on socket 0 EAL: Detected lcore 1 as core 1 on socket 0 EAL: Detected lcore 2 as core 2 on socket 0 EAL: Detected lcore 3 as core 3 on socket 0 EAL: Detected lcore 4 as core 0 on socket 0 EAL: Detected lcore 5 as core 1 on socket 0 EAL: Detected lcore 6 as core 2 on socket 0 EAL: Detected lcore 7 as core 3 on socket 0 EAL: Support maximum 128 logical core(s) by configuration. EAL: Detected 8 lcore(s) EAL: lcore 17 unavailable EAL: invalid coremask Usage: = ./examples/multi_process/simple_mp/simple_mp/x86_64-native-linuxapp-gcc/si= mple_mp [options] Thank you, -John