action #98628
Updated by okurz over 2 years ago
## Observation Here is an example of worker configuration: ~~~ yaml [40138] HMC_HOSTNAME=hmc HMC_MACHINE_NAME=ish414 WORKER_CLASS=hmc_ppc64le_lsh40138 LPAR_ID=138 SUT_IP=lsh40138 ARCH=ppc64le ~~~ In this example, the instance number of worker is 40138, base on the formula "QEMUPORT;integer;20002 + worker instance * 10" in doc/backend_vars.asciidoc, vars{QEMUPORT} = 421382, then $cmd_srv_port = 421383, the port is used for listening like "http://0.0.0.0:421383", when using script_run like ~~~ perl testapi::assert_script_run(cmd="curl -f -v http://10.17.215.137:421383/FI1JZTNB0QGSIwjG/current_script > /tmp/scriptXT2eW.sh", timeout=90, quiet=undef, fail_message="") ~~~ curl will report: * Closing connection -1 curl: (3) URL using bad/illegal format or missing URL Expectation: openQA should handle the situation when $cmd_srv_port larger than 65535, for example: set a random number as port. ## Workaround Use openQA worker instance numbers well below 40000