On Wed, Nov 18, 2020 at 02:49:20PM +0800, Cao Xueliang wrote:
On Wed, Nov 18, 2020 at 02:43:58PM +0800, Li Ping wrote:
If user wants to reproduce the result directly in the result directory. [problem] /srv/result/iperf/vm-2p8g/2020-11-09/z9.147520% submit job.yaml
submit may need a options to deal with this case.
submit --atom job.yaml, just need call the sched API, no need do split job again.
thank you for your information.
Thanks, Xueliang
[Error] Traceback (most recent call last): 9: from /home/liping/lkp-tests/sbin/submit:96:in `<main>' 8: from /home/liping/lkp-tests/sbin/submit:96:in `each' 7: from /home/liping/lkp-tests/sbin/submit:106:in `block in <main>' 6: from /home/liping/lkp-tests/lib/job.rb:699:in `each_jobs' 5: from /home/liping/lkp-tests/lib/job.rb:400:in `load_defaults' 4: from /home/liping/lkp-tests/lib/job.rb:400:in `each' 3: from /home/liping/lkp-tests/lib/job.rb:401:in `block in load_defaults' 2: from /home/liping/lkp-tests/lib/job.rb:381:in `load_one_defaults' 1: from /home/liping/lkp-tests/lib/job.rb:306:in `load_hosts_config' /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..2e94316c 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