On Wed, 2 Jan 2019 at 14:47, Milosz Wasilewski milosz.wasilewski@linaro.org wrote:
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).
When I do that, the celery service gives an error message, you can find it in attachment.
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
How can I enable ZMQ publisher ?
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 tells me squad is trying to connect through 5500 port. How can I check this is the good one ?
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.
I don't think this can be an issue here as I'm testing on the same host.
Regards, Axel
milosz