Git log: commit 4af1553354834b735e08e4f4ceab198f77929a08
Merge: 7a8ecdcb 4abee12f
Author: Rémi Duraffort <remi.duraffort@linaro.org>
Date: Thu Jan 21 14:38:41 2021 +0000
Merge branch 'feature/lava_downloads' into 'master'
Allow docker test shell to specify downloads namespace.
See merge request lava/lava!1422
commit 4abee12f99b1dd1c9bf8786ba25d719148ed78ba
Author: Rémi Duraffort <remi.duraffort@linaro.org>
Date: Thu Jan 21 14:29:46 2021 +0100
Simplify previous commit code
Signed-off-by: Rémi Duraffort <remi.duraffort@linaro.org>
commit dc9d3bd89b0ff745493b8fdb3c43ffbb9c285bd7
Author: Larry Shen <larry.shen@nxp.com>
Date: Thu Jan 21 15:09:18 2021 +0800
Allow docker test shell to specify downloads namespace.
Signed-off-by: Larry Shen <larry.shen@nxp.com>
commit 7a8ecdcbc0a89a048478f94ae1b82832558d0a47
Merge: d4afd9bd 576202f4
Author: Antonio Terceiro <antonio.terceiro@linaro.org>
Date: Thu Jan 21 13:26:21 2021 +0000
Merge branch 'reenable-pyocd-test' into 'master'
Reenable pyocd test
See merge request lava/lava!1398
commit d4afd9bda7f6fdf154cacb832039d0aca490eba9
Merge: 9087bc03 b2382ebc
Author: stevanradakovic <stevan.radakovic@linaro.org>
Date: Thu Jan 21 10:40:25 2021 +0000
Merge branch 'docker_cgroup' into 'master'
Make device allow compatible with systemd cgroup.
See merge request lava/lava!1418
commit 9087bc03f3563584275938eaf2b5f4ac54236c86
Merge: 322ee97d e0caccd2
Author: stevanradakovic <stevan.radakovic@linaro.org>
Date: Thu Jan 21 10:38:51 2021 +0000
Merge branch 'qemu-hppa' into 'master'
device-types: qemu: add support fo hppa
See merge request lava/lava!1419
commit 322ee97defe6e026619e797a1cbdd253c62b75a9
Merge: 470f0d9d e0121e95
Author: stevanradakovic <stevan.radakovic@linaro.org>
Date: Thu Jan 21 10:32:19 2021 +0000
Merge branch 'musca-cmsis-dap' into 'master'
device-types: musca: Add support for cmsis-dap boot method.
See merge request lava/lava!1423
commit e0121e95dcbb17236203d899ccb387fbe28e9773
Author: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Date: Thu Jan 21 12:34:39 2021 +0300
device-types: musca: Add support for cmsis-dap boot method.
Make this boot method available to Musca boards, as tehy support it. This
is similar to how it was enabled for frdm-kw41z device type recently.
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
commit 470f0d9dde88e0be81e88f78a4c3669b2a9d11d0
Merge: ae1cbba3 bf6e45fe
Author: Antonio Terceiro <antonio.terceiro@linaro.org>
Date: Wed Jan 20 22:01:59 2021 +0000
Merge branch 'lava-dispatcher-host-misc' into 'master'
lava_dispatcher_host: add missing f-string marker
See merge request lava/lava!1421
commit bf6e45fed86f6e84aae1f7ff091e57e0af7cb53a
Author: Antonio Terceiro <antonio.terceiro@linaro.org>
Date: Wed Jan 20 17:53:29 2021 -0300
lava_dispatcher_host: add missing f-string marker
commit ae1cbba34237fbd471e83262b5505a2ca794c02b
Merge: 12b45a14 1c8403d6
Author: stevanradakovic <stevan.radakovic@linaro.org>
Date: Wed Jan 20 15:52:09 2021 +0000
Merge branch 'fix-451' into 'master'
Add custom methods for __in filtering.
Closes #451
See merge request lava/lava!1413
commit 12b45a1423c4c317aea67b3f311bc9e5ad26ca92
Merge: 3baf91ac 67cdd360
Author: Antonio Terceiro <antonio.terceiro@linaro.org>
Date: Wed Jan 20 12:29:42 2021 +0000
Merge branch 'wait_device_board_id' into 'master'
lava_dispatcher: Add wait_device_board_id in device_info for fastboot
See merge request lava/lava!1359
commit 3baf91ac857a7a00b08dea31895ec7d06fb5d10a
Merge: 713cb572 1bdf9e56
Author: Antonio Terceiro <antonio.terceiro@linaro.org>
Date: Wed Jan 20 12:26:58 2021 +0000
Merge branch 'fix-static-info' into 'master'
Mappings in static_info should be added to the container as well.
See merge request lava/lava!1415
commit e0caccd22371b3ecf3091cb001f013b1eb0810d6
Author: Corentin LABBE <clabbe@baylibre.com>
Date: Mon Jan 18 11:09:14 2021 +0000
device-types: qemu: add support fo hppa
qemu support hppa/parisc virtual machines, so let's permit LAVA to
boot them.
commit b2382ebc065e498f0fb2ee241fae31dc9cf645c3
Author: Larry Shen <larry.shen@nxp.com>
Date: Mon Jan 18 12:51:37 2021 +0800
Make device allow compatible with systemd cgroup.
In some K8S machine, systemd cgroup is used to replace cgroupfs.
This patch allows docker test shell could also work if we use systemd cgroup.
See this: https://kubernetes.io/docs/setup/production-environment/container-runtimes/#cgroup-drivers
Signed-off-by: Larry Shen <larry.shen@nxp.com>
commit 713cb572c3900f3b8857cc892edb87219977c343
Merge: f6c5a2bb a006d708
Author: Milosz Wasilewski <milosz.wasilewski@linaro.org>
Date: Fri Jan 15 11:35:02 2021 +0000
Merge branch 'cmsis-dap-wait-remount' into 'master'
cmsis_dap: Wait CMSIS-DAP MSD remount cycle to confirm successful programming
See merge request lava/lava!1416
commit f6c5a2bb40a184f6d3cf7319af7737971d907fd2
Merge: 39e22a6c e977397b
Author: Milosz Wasilewski <milosz.wasilewski@linaro.org>
Date: Fri Jan 15 11:33:08 2021 +0000
Merge branch 'frdm-kw41z-cmsis-dap' into 'master'
device-types: frdm-kw41z: Add support for cmsis-dap boot method.
See merge request lava/lava!1417
commit e977397bb95d5af2b4565cadfccf8810a1aeaedb
Author: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Date: Fri Jan 15 14:01:38 2021 +0300
device-types: frdm-kw41z: Add support for cmsis-dap boot method.
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
commit a006d708233f6c5e1a49cb84e032dc4be527e2d4
Author: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Date: Tue Jan 12 14:55:27 2021 +0300
cmsis_dap: Wait CMSIS-DAP MSD remount cycle to confirm successful programming
After CMSIS-DAP MSD finished programming firmware (either successfully or
not), it "unmounts" and "remounts" the USB MSD device (actually, issues
MSD "media changed" notifications). We now wait for "unmount" and following
"remount", and check for failure file, FAIL.TXT. If it's present, we dump
it and properly fail the operation (which for example allows parent LAVA
boot-retry action to try it again).
Note the detection of MSD unmount/remount requires issues FS sync commands
(which we now do on Python level using os.sync(), instead of calling
external "sync" command). (Commenting os.sync() calls is a way to trigger
failure behavior on hardware which is susceptible to it.)
Finally, while this new behavior is made default, a "skip_autoremount_wait"
option is added to revert to the old behavior (of just calling sync once and
waiting static delay). It can be set in a device dict for boards which may
turn out to have issues with new process.
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
commit 1bdf9e5648aba2319c15c34beffd5fef7d2698e4
Author: Stevan Radaković <stevan.radakovic@linaro.org>
Date: Mon Jan 11 15:38:36 2021 +0100
Mappings in static_info should be added to the container as well.
commit 1c8403d615dff8b5e2815582e337674ab6b45fdc
Author: Stevan Radaković <stevan.radakovic@linaro.org>
Date: Fri Jan 8 14:14:01 2021 +0100
Add custom methods for __in filtering.
New methods are required for each type of filtering other then
'exact' for custom filter.
Fixes #451
commit 39e22a6c7b2796a41cc3dafec3f42f2cddbd69c3
Merge: 82de29a5 9ed5fe41
Author: Rémi Duraffort <remi.duraffort@linaro.org>
Date: Thu Jan 7 08:32:26 2021 +0000
Merge branch '8dxl-ddr3l' into 'master'
Add imx8dxl-ddr3l-evk.
See merge request lava/lava!1408
commit 82de29a5987e21376e964d87523d36cb8f3e40bd
Merge: a1f08ea0 c2bc4f29
Author: Rémi Duraffort <remi.duraffort@linaro.org>
Date: Thu Jan 7 08:29:59 2021 +0000
Merge branch 'deploy-to-downloads-uniquify' into 'master'
dispatcher: support uniquify in deploy to: downloads
See merge request lava/lava!1411
commit a1f08ea0d07e81c5c95ca039302f6ff2c4c3ef5a
Merge: 9226b6b5 0cdbeb07
Author: stevanradakovic <stevan.radakovic@linaro.org>
Date: Wed Jan 6 13:32:36 2021 +0000
Merge branch 'fvp_multiple_consoles' into 'master'
FVP multiple consoles
See merge request lava/lava!1410
commit c2bc4f29586d1999cf4696730092f5095ef0232e
Author: Antonio Terceiro <antonio.terceiro@linaro.org>
Date: Wed Dec 30 16:15:56 2020 -0300
dispatcher: support uniquify in deploy to: downloads
This will cause the downloaded files to be available under ${image_key}/,
instead of at the root of the downloads directory. It allows jobs to
download more than one image with the same filename.
commit 0cdbeb0716e5d85d0c5b1fd49a212fe0f6154e02
Author: Milosz Wasilewski <milosz.wasilewski@linaro.org>
Date: Wed Dec 30 12:00:44 2020 +0000
lava_dispatcher: allow FVP multiple consoles output
This patch allows to read from all FVP consoles that the model produces.
It helps preventing model hangs due to internall buffer limited size.
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
commit 9226b6b57387e36f1312ea1e57939e01402970aa
Merge: 03c0b80a a4331452
Author: Milosz Wasilewski <milosz.wasilewski@linaro.org>
Date: Tue Dec 29 13:12:32 2020 +0000
Merge branch 'device-types-cmsis-dap-params' into 'master'
cmsis_dap: Add action param "post_unmount_delay", apply to existing cmsis-dap boards
See merge request lava/lava!1409
commit a4331452caa09cce2830426c8c185fdaf2a125dc
Author: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Date: Tue Dec 29 15:54:41 2020 +0300
doc: integrate-iot: Modernize a bit and mention post_unmount_delay param.
This page appears to be more or less random collection of notes. Mention
that explicitly. Elaborate on FRDM-K64F based on experience collected so
far, and explain how to use "cmsis-dap" boot method parameter
"post_unmount_delay" added recently (as found needed on e.g RaspberryPi4).
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
commit 5a5b8bb8e13e6ba95ce38931b80b86909138d4b5
Author: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Date: Mon Dec 28 13:23:11 2020 +0300
device-types: Proxy any cmsis-dap parameters from a device dict.
Previously, we had a quite cumbersome way to deploy new boot method
parameters to actual devices:
1. Introduce new param in boot method source code.
2. Add an adhoc, param-specific templating to device-type jinja template.
3. Put actual param setting in a device dict for a particular device.
We'd like to cut the middleman, p.2 from the process. This is also the
most cumbersome step, because primary source of the device-type template
is LAVA upstream. So, if you make a change to an upstream template, you
need to submit changes upstream, yet maintain your local version until
the patch is merged and new LAVA version is released.
This patch introduces a new idiom to pass an arbitrary parameter values
from a device dict to an action. "cmsis-dap" boot action is addressed in
this patch (consistently for all device types which use it).
To set particular params in a device dict, then use snippet like:
{% block cmsis_dap_params %}
post_unmount_delay: 1
foo: bar
{% endblock cmsis_dap_params %}
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
commit 8b91a6262dfc067feb1121a1cc9f5233e024279f
Author: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Date: Wed Dec 23 13:05:02 2020 +0300
cmsis_dap: Add action param "post_unmount_delay", default to 3s.
Allow boards to set "post_unmount_delay" param for "cmsis_dap" boot action,
to wait given number of seconds for system stabilization after "umount"
command. This is prompted by the issues seen on RaspberryPi4 workers, where
some binaries failed to be properly transferred without such delay. In my
limited testing, just 1s delay was enough. But to be on safe side, we set
default to 3s, and allow boards to override it.
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
commit 03c0b80af3b4364c967c0a1e0ddaa0634a5c1e17
Merge: d37d3d7f af1f0b5a
Author: Milosz Wasilewski <milosz.wasilewski@linaro.org>
Date: Tue Dec 29 08:51:04 2020 +0000
Merge branch 'cmsis-dap-log-board-info' into 'master'
cmsis_dap: Log DAPLink bootloader information
See merge request lava/lava!1406
commit 9ed5fe41659e5055d9b97afa82e5ea6acdb93639
Author: Larry Shen <larry.shen@nxp.com>
Date: Thu Dec 24 11:03:09 2020 +0800
Add imx8dxl-ddr3l-evk.
Signed-off-by: Larry Shen <larry.shen@nxp.com>
commit d37d3d7ff05203d821e228621f348b1681c993a9
Merge: d304f9b6 6fdc225d
Author: stevanradakovic <stevan.radakovic@linaro.org>
Date: Wed Dec 23 11:20:42 2020 +0000
Merge branch 'notify_custom_header' into 'master'
scheduler: add header field to NotificationCallback
Closes #462
See merge request lava/lava!1405
commit af1f0b5ac40846332a7313d5bb2040cc0abc5124
Author: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Date: Wed Dec 23 10:13:53 2020 +0300
cmsis_dap: Log DAPLink bootloader information
As part of job log, log contents of DAPLink virtual USB disk, and
contents of DETAILS.TXT (if any), which usually contains DAPLink
firmware version and state of various options. This will allow to
correlate possible job stability issues to DAPLink firmware/options
used (and compare across boards).
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
commit 6fdc225d3f5071fe9a1a8f7461959389fb46c94b
Author: Milosz Wasilewski <milosz.wasilewski@linaro.org>
Date: Mon Dec 21 13:31:51 2020 +0000
scheduler: add header field to NotificationCallback
Fixes: #462
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
commit d304f9b68824928f5fee4c45339821381370b965
Merge: ac4f863f 42ad960b
Author: Rémi Duraffort <remi.duraffort@linaro.org>
Date: Fri Dec 18 16:10:10 2020 +0000
Merge branch 'lxc_create' into 'master'
lava/lxc-mocker: Avoid apt-get upgrade on lxc-create
See merge request lava/lava!1402
commit ac4f863fd08f36beb844a700e9289e0d4cd11e2e
Author: Antonio Terceiro <antonio.terceiro@linaro.org>
Date: Thu Dec 17 15:41:02 2020 -0300
autopkgtest: management: run from $HOME
This avoids lava trying to determine the version number by running
`git`.
commit ecba5c12c0f71495fad7d4eeb9e212a67f8cd176
Merge: 92291d7f 3f242476
Author: Antonio Terceiro <antonio.terceiro@linaro.org>
Date: Thu Dec 17 18:43:03 2020 +0000
Merge branch 'fix-for-django-filters-2.4.0' into 'master'
lava_rest_app: fix field name in filters
Closes #460
See merge request lava/lava!1404
commit 3f2424761e1380351b70861e6983b2472ef93028
Author: Antonio Terceiro <antonio.terceiro@linaro.org>
Date: Thu Dec 17 15:15:37 2020 -0300
lava_rest_app: fix field name in filters
This used to pass by django-filter 2.1.0, but 2.4.0 will now throw an
exception.
Fixes #460
commit 92291d7f3464c057dd4b7b0dd0f901fc930e3a26
Merge: 2896ee17 f61d4059
Author: stevanradakovic <stevan.radakovic@linaro.org>
Date: Wed Dec 16 13:36:59 2020 +0000
Merge branch 'fix_rpi_docs' into 'master'
doc: fix small mistakes in RPi dispatcher setup
See merge request lava/lava!1403
commit f61d405956f4d9e29b674fbb218d296d99c98e82
Author: Milosz Wasilewski <milosz.wasilewski@linaro.org>
Date: Wed Dec 16 12:42:40 2020 +0000
doc: fix small mistakes in RPi dispatcher setup
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
commit 2896ee177c00a7315a7a7330c5ae85a201ecd623
Merge: b247482c 5217864b
Author: stevanradakovic <stevan.radakovic@linaro.org>
Date: Mon Dec 14 14:32:44 2020 +0000
Merge branch 'T25205-add-hp-11A-G6-EE-grunt' into 'master'
Add hp-11A-G6-EE-grunt device type template
See merge request lava/lava!1395
commit b247482cfa9c1154910bc6ef9b1a79c6e7c75fda
Merge: 091ba0be 77572cf5
Author: Milosz Wasilewski <milosz.wasilewski@linaro.org>
Date: Fri Dec 11 10:29:36 2020 +0000
Merge branch 'musca-s-support' into 'master'
Musca S support
See merge request lava/lava!1389
commit 67cdd36055c6ff59cbba7ed19ad3f6b3951bb240
Author: Aníbal Limón <anibal.limon@linaro.org>
Date: Fri Oct 16 13:18:00 2020 -0500
lava_dispatcher: Add wait_device_board_id in device_info for fastboot
In remote devices not connected directly to the lava-worker is not
possible to get the udev event to notify that the device reset properly.
This case covers QCOM internal devices qcs404-evb and sdm845-mtp.
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
commit 42ad960b8fa24641a2339e5c91e089287b9d6ab4
Author: Aníbal Limón <anibal.limon@linaro.org>
Date: Thu Dec 10 16:46:37 2020 -0600
lava/lxc-mocker: Avoid apt-get upgrade on lxc-create
There is no reason to upgrade in lxc-mocker because can change the
software installed in the host system.
The apt-get install will get the latest version available of the tools
requested.
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
commit 576202f4ea74d5ec0a6a48d05dea7e1f6f55d3c8
Author: Antonio Terceiro <antonio.terceiro@linaro.org>
Date: Tue Dec 8 14:42:33 2020 -0300
Revert "test_pyocd: temporarily disable the pyocd test"
This reverts commit aef5897ffb6e88d2ddcafcd3444cee0441dd88eb.
commit 5217864b9bd5fe7c0b5e7a7e172c7c67d8d2fb79
Author: Guillaume Tucker <guillaume.tucker@collabora.com>
Date: Thu Jul 2 12:46:23 2020 +0100
Add hp-11A-G6-EE-grunt device type template
Add a template for the hp-11A-G6-EE-grunt x86_64 Chromebook device
type using Depthcharge.
Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
commit 77572cf5c08bdb77cc376b691b4a4bfcf906a750
Author: Colin Thorbinson <colin.thorbinson@arm.com>
Date: Tue Nov 17 14:50:08 2020 +0000
Musca S support
Adding support for Musca S boards.
Change-Id: I2dcea98a2bb697e24ee159f5d1d489cc587fa5b6
Signed-off-by: Colin Thorbinson <colin.thorbinson@arm.com>