On Wed, 2 Jan 2019 at 16:06, Milosz Wasilewski milosz.wasilewski@linaro.org wrote:
On Wed, 2 Jan 2019 at 15:01, Axel Lebourhis axel.lebourhis@linaro.org wrote:
On Wed, 2 Jan 2019 at 15:14, Milosz Wasilewski <
milosz.wasilewski@linaro.org> wrote:
On Wed, 2 Jan 2019 at 14:03, Axel Lebourhis axel.lebourhis@linaro.org
wrote:
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.
This looks like a bug in SQUAD. However I haven't seen it in our servers, so I'm a bit puzzled. Anyway, to avoid this, please set the following value in the project 'settings' field: CI_LAVA_SEND_ADMIN_EMAIL: false
Ok now it's working I can force the fetch. How can I automate this ?
This is just for debugging. Fetchin using ZMQ events should be used instead.
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 ?
I'm not an expert on this. Please check LAVA docs. They're pretty
verbose:
https://master.lavasoftware.org/static/docs/v2/advanced-installation.html#in...
https://master.lavasoftware.org/static/docs/v2/data-export.html#index-6
Thank you I configured my instance as needed.
Great. Could you now check whether automated fetching works when the jobs finish in LAVA?
Yes the results are fetched at the end of the job. I can see traces in logs that everything is going well. I now need to install squad on the production instance, but it should be ok :)
Thank you very much for your help, it would have been harder without it !
Regards, Axel
milosz