Hi folks,
The 2024.01 tag has been pushed to master on gitlab.com/lava/lava. .deb packages have been built in GitLab CI and are published at
https://apt.lavasoftware.org/release
Docker images for amd64 and arm64 have been built in GitLab CI and are available from
and
https://hub.docker.com/u/lavasoftware
Changes in this release ==================
# Upgrading
## Database migrations
This release includes one migration in lava_scheduler_app. Remote artifact token max length is increased from 100 to 200 for super-long API tokens.
# Device-types
## New device-types
New supported devices:
* stm32mp157a-dhcor-avenger96 * meson-g12b-a311d-libretech-cc * meson-sm1-s905d3-libretech-cc * imx93-11x11-evk-pmic-pf0900 * avh(Arm Virtual Hardware) * imx95-19x19-evk * dell-latitude-3445-7520c-skyrim * mt8186-corsola-steelix-sku131072
## NXP
Download addresses for i.MX8 are updated to match those shipped in the firmware for i.MX8MP-EVK which has been continuing to work happily. The old addresses no longer give enough room to avoid them overwriting each other.
# LAVA publisher
IPV6 is supported in ZMQ events now. Adding the following line in server settings enables IPV6 support.
```yaml EVENT_IPV6: true ```
# LAVA scheduler
* Improve device's Jinja template performance by using a shared Jinja environment. The template cache will be shared between HTTP requests and no longer spend time to compile templates for every request. For example, when a dispatcher downloads job from the server the template has to be rendered with a job's context. * Record worker health transitions. Worker online and offline state changes are logged and displayed now.
# REST API
The `/device/validate` endpoint now requires "add_device" permission.
# Deploy and boot methods
## avh
New AVH deploy and boot methods are added for integrating Arm Virtual Hardware in LAVA.
Example:
```yaml device_type: avh job_name: avh-rpi4b-deploy-boot-example
timeouts: job: minutes: 60
priority: medium visibility: public
secrets: # The value should be the name of user's remote artifact token avh_api_token: remote_artifact_token_name
actions: - deploy: to: avh options: model: rpi4b api_endpoint: https://app.avh.arm.com/api project_name: "Default Project" timeout: minutes: 30 images: rootfs: # Disk image. url: https://example.com/rpi4b/nand format: ext4 # root partition for LAVA test overlay. root_partition: 1 # Partition for custom overlays. partition: 1 overlays: modules: compression: xz format: tar path: / url: https://example.com/rpi4b/modules.tar.xz kernel: url: https://example.com/rpi4b/kernel dtb: url: https://example.com/rpi4b/devicetree
- boot: method: avh timeout: minutes: 20 prompts: - "pi@raspberrypi:" - "root@raspberrypi:" auto_login: login_prompt: "login:" username: pi password_prompt: 'Password:' password: raspberry login_commands: - sudo su ```
## fvp
Added buffering to the model stdout and stderr. Without this buffering, the model sometimes hangs when stdout or stderr buffers are full.
## fastboot
DUT will be powered off when fastboot timeout. On some devices, the fastboot command will never return and is not killable. This might block lava-run forever. Powering-off the DUT will release fastboot command.
## uuu
* Fixed individual action timeout not being respected in boot-corrupt-boot-media. * Disconnect device after uuu boot action to flush the output buffer.
## download
Allow to turn off kisscache at job level.
Example:
```yaml - deploy: timeout: minutes: 5 to: tmpfs images: rootfs: use_cache: false ```
# LAVA dispatcher
## Git clones
Added 6 times retries for git clone function. It could be helpful for infrastructure level one time failure.
## DUT output
In case it is needed by post-processing out of LAVA, single `\r` character in pexpect output is not stripped off anymore.
## Test definition parameters
Fixed test definition parameter `0` being converted to the empty string. LAVA dispatcher converts both key values `None` and `0` to `''` before. Now only `None` is converted.
Example:
```yaml - test: timeout: minutes: 5 definitions: - repository: http://git.linaro.org/lava-team/lava-functional-tests.git from: git path: lava-test-shell/smoke-tests-net.yaml name: smoke-tests parameters: USE_NC: 0 ```
`USE_NC: 0` was converted to `USE_NC=''` in the `run.sh` shell script before. It is now converted to `USE_NC='0'`.
Rgds
-- Chase Qi Senior Engineer Automation Software Team Linaro _______________________________________________ lava-announce mailing list -- lava-announce@lists.lavasoftware.org To unsubscribe send an email to lava-announce-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
lava-announce@lists.lavasoftware.org