It will resolve big trouble on multi-machine job if we can sync the variable set by set_var to the database which can query by get_job_info
Here is the issue.
1.we perform a testsuite job require machines.
- machine 1 set_var(TARGET_VAR_1,"test").use mutex_lock to sync with machine2.
- machine use get get_job_info([machine's job_id) to get all variable and query the 'TARGET_VAR_1' .
the result is : we can NOT get the value.
I assume it not supported yet. so I open this request hope this can be implemented.
because once this feature done ,it will easy to communicate for the mutil-machine job, this will significant reduce the workaround code.
#4 Updated by jerrytang about 5 years ago
if you need the machines to talk to each other - you better make that 1:1. There are enough tools to have 2 machines talking to each other
Yes , I understand there are ways to make 2 host talking to each other.
The difficult part to the multi-machine parallel job is :
you can not know which host is assign as parent, which host is asseng as child .
(correct me if i miss something)
#5 Updated by nadvornik about 5 years ago
There are at least these options:
you can use fixed set of IPs, assigned via variables
if you use DNS/DHCP on support server, the hostname included in DHCP requests is propagated to DNS and becomes resolvable on other hosts
Is there any reason why these options do not fit?
#9 Updated by nadvornik almost 5 years ago
- Assignee set to nadvornik
This pull request hopefully implements the missing functionality.