On 21 August 2017 at 00:50, Michael Chen <tsejen.tw@gmail.com> wrote:
>
>
> Hi Lava users,
>
> I just updated lava from 2016.12 to 2017.6-1. And I found my health-check
> job failed(uncomplete) after the update.
> Here is the result logs before:
> https://pastebin.com/KWAnYQvD
> and after:
> https://pastebin.com/mqXDfR3H
>
> I checked the log and think the cause for the issue is:
> ```
> case: job
> definition: lava
> error_msg: constants section not present in the device config.
constants is a section added by base.jinja2 so this would likely arise
due to a locally modified device-type template which either does not
extend base.jinja2 or has an error in the syntax which prevents the
constant block being expressed.
https://git.linaro.org/lava/lava-server.git/tree/lava_ scheduler_app/tests/device- types/base.jinja2#n63
See
Developing using device-type templates
https://staging.validation.linaro.org/static/docs/v2/ development-intro.html#index-2
> error_type: Configuration
> result: fail
> ```
>
> What I have done:
> * Try to find the "constants section" with no luck.
base.jinja2
> * Looked at the logs in /var/lava-server/ and didn't find the log specific
> for the reason of this.
> * Asked IRC channel and ask, answered by codehelp(thanks:)). Then tried to
> replace my device-type config in
> /etc/lava-server/dispatcher-config/device-types with x86.jinja2 and the > ______________________________
> error message is the same.
>
>
> Any input would by much appreciated, thank you.
>
> Regards,
> -Michael Chen
>
_________________
> Lava-users mailing list
> Lava-users@lists.linaro.org
> https://lists.linaro.org/mailman/listinfo/lava-users
>
--
Neil Williams
=============
neil.williams@linaro.org
http://www.linux.codehelp.co.uk/