Hi Dilip,
have you modified any configuration file? If so, could you please send us patch with your modifications? (e.g. output of "git diff" or "git diff master" in case you've created your branch). As Sridhar has mentioned, it can be caused by outdated configuration or by accidental reconfiguration of TRAFFIC array (e.g. by TRAFFIC = {... } inside 10_custom.conf). Best Regards, Martin ________________________________ Od: opnfv-tech-discuss-boun...@lists.opnfv.org <opnfv-tech-discuss-boun...@lists.opnfv.org> za uživatele Rao, Sridhar <sridhar....@spirent.com> Odesláno: pondělí 7. května 2018 7:37:57 Komu: dilip.d...@hpe.com; opnfv-tech-discuss@lists.opnfv.org Předmět: Re: [opnfv-tech-discuss] [VSPERF] trex_vm_tput KeyError: 'scapy' Dilip, Do you see 'scapy' dictionary within TRAFFIC dictionary in conf/03_traffic.conf? Looks like your traffic dictionary definition is old. Regards, Sridhar -----Original Message----- From: opnfv-tech-discuss-boun...@lists.opnfv.org <opnfv-tech-discuss-boun...@lists.opnfv.org> On Behalf Of Dilip Daya Sent: Friday, May 04, 2018 8:08 PM To: opnfv-tech-discuss@lists.opnfv.org Subject: [opnfv-tech-discuss] [VSPERF] trex_vm_tput KeyError: 'scapy' I'm hoping anyone can assist me with the following:` Environment: * ProLiant DL380 Gen10 * RHEL 7.5 (3.10.0-862.el7.x86_64) * VSPERF git clone dated Apr-30-2018 * vloop-vnf-ubuntu-16.04_trex_20180209.qcow2 Command-line: $ ./vsperf --integration trex_vm_tput ... ... [INFO ] 2018-05-03 18:29:35,645 : (trex) - T-Rex: In Trex connect method... PING 192.168.35.2 (192.168.35.2) 56(84) bytes of data. 64 bytes from 192.168.35.2: icmp_seq=1 ttl=64 time=0.213 ms --- 192.168.35.2 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.213/0.213/0.213/0.000 ms root@192.168.35.2's password: /root/trex/scripts/t-rex-64 [INFO ] 2018-05-03 18:29:38,420 : (trex) - T-Rex: Trex host successfully found... [INFO ] 2018-05-03 18:29:38,420 : (trex) - In Trex send_rfc2544_throughput method [INFO ] 2018-05-03 18:29:38,421 : (trex) - T-Rex sending learning packets [DEBUG] 2018-05-03 18:29:38,440 : (trex) - Starting traffic at 0.1 Gbps speed [DEBUG] 2018-05-03 18:29:38,441 : (pidstat) - cmd : sudo pkill --signal 2 pidstat ... ... [ERROR] 2018-05-03 18:38:55,107 : (root) - Failed to run test: trex_vm_tput Traceback (most recent call last): File "./vsperf", line 831, in main test.run() File "/home/dilip/vsperf_src/vswitchperf/testcases/testcase.py", line 360, in run if self.step_run(): File "/home/dilip/vsperf_src/vswitchperf/testcases/testcase.py", line 864, in step_run self._step_result[i] = test_method(*step_params) File "/home/dilip/vsperf_src/vswitchperf/core/traffic_controller_rfc2544.py", line 70, in send_traffic traffic, tests=self._tests, duration=self._duration, lossrate=self._lossrate) File "/home/dilip/vsperf_src/vswitchperf/tools/pkt_gen/trex/trex.py", line 613, in send_rfc2544_throughput self.learning_packets(traffic) File "/home/dilip/vsperf_src/vswitchperf/tools/pkt_gen/trex/trex.py", line 515, in learning_packets disable_capture=True) File "/home/dilip/vsperf_src/vswitchperf/tools/pkt_gen/trex/trex.py", line 386, in generate_traffic packet_1, packet_2 = self.create_packets(traffic, ports_info) File "/home/dilip/vsperf_src/vswitchperf/tools/pkt_gen/trex/trex.py", line 202, in create_packets if traffic['scapy']['enabled']: KeyError: 'scapy' [INFO ] 2018-05-03 18:38:55,114 : (root) - Continuing with next test... -- Thanks, -Dilip Daya _______________________________________________ opnfv-tech-discuss mailing list opnfv-tech-discuss@lists.opnfv.org https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss Spirent Communications e-mail confidentiality. ------------------------------------------------------------------------ This e-mail contains confidential and / or privileged information belonging to Spirent Communications plc, its affiliates and / or subsidiaries. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution and / or the taking of any action based upon reliance on the contents of this transmission is strictly forbidden. If you have received this message in error please notify the sender by return e-mail and delete it from your system. Spirent Communications plc Northwood Park, Gatwick Road, Crawley, West Sussex, RH10 9XN, United Kingdom. Tel No. +44 (0) 1293 767676 Fax No. +44 (0) 1293 767677 Registered in England Number 470893 Registered at Northwood Park, Gatwick Road, Crawley, West Sussex, RH10 9XN, United Kingdom. Or if within the US, Spirent Communications, 27349 Agoura Road, Calabasas, CA, 91301, USA. Tel No. 1-818-676- 2300 _______________________________________________ opnfv-tech-discuss mailing list opnfv-tech-discuss@lists.opnfv.org https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss
_______________________________________________ opnfv-tech-discuss mailing list opnfv-tech-discuss@lists.opnfv.org https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss