On Wed, 2 Jan 2019 at 13:36, Axel Lebourhis axel.lebourhis@linaro.org wrote:
Milosz,
Your help is much appreciated, I'm close to success. So now I can submit a job through Squad. The only issue remaining is that Squad doesn't fetch the results, even with Squad listener running. If I go to http://<squad url>/<group>/<project>/build/<version>/testjobs, I can see the jobs I submitted, but the status is still on "not fetched" with no fetch attempt.
First please try to force fetch using admin UI. Go to 'test jobs', select your test job, select 'fetch results of the selected jobs' from the dropdown and press 'go' button. This should schedule a task to fetch the results. It might take around a minute to execute the task (should be quicker than that).
Maybe the ZMQ publisher is not configured well, I did nothing about this.
There might be a problem on both ends. IIRC LAVA doesn't enable ZMQ publisher by default. Even if it's enabled, it might be using incorrect port or reporting incorrect port on xml-rpc interface. If you try 'squad-admin listen -v 3' you should get sth like this:
[2019-01-02 13:41:36 +0000] [INFO] Backend validation.linaro.org starting [2019-01-02 13:41:36 +0000] [DEBUG] validation.linaro.org: connecting to tcp://validation.linaro.org:5510 [2019-01-02 13:41:36 +0000] [WARNING] validation.linaro.org: PyZMQ has no support for heartbeat (requires ZeroMQ library 4.2+), connection may be unstable
This will tell you where SQUAD is trying to connect to. One more issue might be some firewall between SQUAD and LAVA preventing successful connection.
milosz