Hi,
I am trying to run testcase using yardstick commandline:
samples/vnf_samples/nsut/vpe/tc_baremetal_http_ipv4_ixload.yaml
and encountered an error because lack file: /opt/nsb_bin/vPE_vnf
I have run nsb_setup.sh before and using yardstick command line in docker
Detail please find in attachment
Please tell me how to create vPE_vnf file or what did I do wrong?
If you need any other informations, let tell me
*Best regards,*
*Phung Xuan Anh*
*Company* *:* *Viosoft Vietnam*
*Address* *:* *6 floor, ATS building, Cau Giay, Hanoi, Vietnam*
*E-mail* *:* *[email protected] <[email protected]>*
*Skype* *:* *phungxuananh272*
*Phone** number **: +841649625171*
Starting runner of type 'Duration'
[2018-01-12 03:59:08,581] [duration:_worker_process:46] INFO: Worker START, duration is 4s
[2018-01-12 03:59:08,772] [vnf_generic:setup:599] INFO: Instantiating tg__0
/bin/sh: 1: mount.cifs: not found
[2018-01-12 03:59:08,776] [sample_vnf:instantiate:937] INFO: Starting Sample server...
[2018-01-12 03:59:08,777] [vnf_generic:setup:601] INFO: Waiting for tg__0 to instantiate
[2018-01-12 03:59:08,778] [vnf_generic:setup:599] INFO: Instantiating vnf__0
[2018-01-12 03:59:08,778] [base:get_context_from_server:102] INFO: context not found for name 'vnf.yardstick-5a571f19'
[2018-01-12 03:59:13,378] [vnf_generic:setup:601] INFO: Waiting for vnf__0 to instantiate
[2018-01-12 03:59:13,866] [vpe_vnf:build_config:257] INFO: Provision and start the vPE_vnf
[2018-01-12 03:59:13,866] [vpe_vnf:build_config:258] INFO: /tmp/vpe_config
[2018-01-12 03:59:13,867] [vpe_vnf:build_config:259] INFO: /tmp/vpe_script
[2018-01-12 03:59:13,938] [utils:provision_tool:122] WARNING: /opt/nsb_bin/vPE_vnf not found on 1.1.1.3, will try to copy from localhost
Process vnf__0-vPE_vnf-653:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/home/ubuntu/validium-nsb-backend/yardstick/yardstick/network_services/vnf_generic/vnf/sample_vnf.py", line 835, in _run
cmd = self._build_config()
File "/home/ubuntu/validium-nsb-backend/yardstick/yardstick/network_services/vnf_generic/vnf/sample_vnf.py", line 830, in _build_config
return self.setup_helper.build_config()
File "/home/ubuntu/validium-nsb-backend/yardstick/yardstick/network_services/vnf_generic/vnf/vpe_vnf.py", line 260, in build_config
self._build_pipeline_kwargs()
File "/home/ubuntu/validium-nsb-backend/yardstick/yardstick/network_services/vnf_generic/vnf/sample_vnf.py", line 234, in _build_pipeline_kwargs
tool_path = self.ssh_helper.provision_tool(tool_file=self.APP_NAME)
File "/home/ubuntu/validium-nsb-backend/yardstick/yardstick/network_services/vnf_generic/vnf/sample_vnf.py", line 93, in provision_tool
return super(VnfSshHelper, self).provision_tool(tool_path, tool_file)
File "/home/ubuntu/validium-nsb-backend/yardstick/yardstick/ssh.py", line 503, in provision_tool
return super(AutoConnectSSH, self).provision_tool(tool_path, tool_file)
File "/home/ubuntu/validium-nsb-backend/yardstick/yardstick/ssh.py", line 432, in provision_tool
return provision_tool(self, tool_path, tool_file)
File "/home/ubuntu/validium-nsb-backend/yardstick/yardstick/network_services/utils.py", line 125, in provision_tool
connection.put(tool_path, tool_path)
File "/home/ubuntu/validium-nsb-backend/yardstick/yardstick/ssh.py", line 487, in put
return super(AutoConnectSSH, self).put(files, remote_path, recursive)
File "/home/ubuntu/validium-nsb-backend/yardstick/yardstick/ssh.py", line 387, in put
scp.put(files, remote_path, recursive)
File "/home/ubuntu/.validium-env/local/lib/python2.7/site-packages/scp.py", line 154, in put
self._send_files(files)
File "/home/ubuntu/.validium-env/local/lib/python2.7/site-packages/scp.py", line 228, in _send_files
(mode, size, mtime, atime) = self._read_stats(name)
File "/home/ubuntu/.validium-env/local/lib/python2.7/site-packages/scp.py", line 218, in _read_stats
stats = os.stat(name)
OSError: [Errno 2] No such file or directory: '/opt/nsb_bin/vPE_vnf'
_______________________________________________
opnfv-tech-discuss mailing list
[email protected]
https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss