On Mon, Nov 16, 2020 at 07:43:15PM +0800, Liu Shaofei wrote:
perhaps you should have better title. E.g: fix missing hosts file of testbox field
On Mon, Nov 16, 2020 at 10:13:09AM +0800, Li Ping wrote:
If user wants to reproduce the result directly in the result directory.
I think above paragram don't need.
[problem] /srv/result/iperf/vm-2p8g/2020-11-09/z9.147520% submit job.yaml output:
output => error message:
ok, i got it. Thanks, Ping
Thanks, Liushaofei
/home/liping/lkp-tests/lib/job.rb:344:in `get_hosts_file': hosts file not exist: vm-2p8g.taishan200-2280-2s64p-256g, maybe need check testbox field (ArgumentError)
lib/job.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/job.rb b/lib/job.rb index 01719c2e..6dd93f01 100755 --- a/lib/job.rb +++ b/lib/job.rb @@ -337,7 +337,7 @@ class Job lab_hosts_file = get_lab_hosts_file return lab_hosts_file if lab_hosts_file
- hosts_file_name = @job['tbox_group'].split('--')[0]
- hosts_file_name = @job['tbox_group'].split(/(.|--)/)[0] hosts_file = "#{LKP_SRC}/hosts/#{hosts_file_name}" return hosts_file if File.file?(hosts_file)
-- 2.23.0