test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] Minimum Tester/DUT configuration
@ 2016-12-14 16:23 john miller
  2016-12-15 14:00 ` Liu, Yong
  0 siblings, 1 reply; 10+ messages in thread
From: john miller @ 2016-12-14 16:23 UTC (permalink / raw)
  To: dts


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: 
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’



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. 


         DTS_DUT_CMD: [192.168.0.11] ./examples/multi_process/simple_mp/simple_mp/x86_64-native-linuxapp-gcc/simple_mp -n 1 -c 0x6 --proc-type=primary
       SUITE_DUT_CMD: [192.168.0.11] ./examples/multi_process/simple_mp/simple_mp/x86_64-native-linuxapp-gcc/simple_mp -n 1 -c 0x60000 --proc-type=secondary
               ERROR: Test Case test_multiprocess_simple_mploadtest Result FAILED: TIMEOUT on ./examples/multi_process/simple_mp/simple_mp/x86_64-native-linuxapp-gcc/simple_mp -n 1 -c 0x60000 --proc-type=secondary
               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/simple_mp [options]



Thank you,
-John

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-02-04  4:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-14 16:23 [dts] Minimum Tester/DUT configuration john miller
2016-12-15 14:00 ` Liu, Yong
2017-01-24 16:10   ` john miller
2017-01-25  2:59     ` Liu, Yong
2017-01-25  3:08       ` john miller
2017-01-25  3:19         ` john miller
2017-01-25  5:25           ` Liu, Yong
2017-01-25  6:34             ` Xu, HuilongX
2017-01-27 13:33               ` john miller
2017-02-04  4:02                 ` Liu, Yong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).