Hi folks,

The 2021.03 tag has been pushed to master on git.lavasoftware.org.
.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

  https://hub.lavasoftware.org/

and

  https://hub.docker.com/u/lavasoftware

Changes in this release
==================

# Upgrading

## Security issues

A security issue has been discovered and fixed in LAVA:
* removing/updating jobs via API without authentication

Every version of LAVA (since 2018) is affected.

We strongly advise to upgrade your instances to LAVA 2021.03.

# Device-types

## New device-types

New supported devices:
* imx6sl
* imx6ull
* imx8dxl-phantom-mek
* stm32mp157c-lxa-mc1
* meson-axg-s400
* meson-gxl-s905x-p212

## docker

Docker container can now run on a remote machine with the following option:

```yaml
methods:
      docker:
        options:
          remote: {{ docker_remote|default('') }}
```

## depthcharge

A depthcharge support for x86 architecture has been added as part of the base-depthcharge.jinja2 template.

## qemu

It is now possible to change machine type for m68k qemu jobs.

## mason

mason templates now support using booti via use_mainline_uboot flag.

# Device management

## sync command

Additional options have been added to the ``sync`` management command:
* physical_owner
* physical_group
* group_device_permissions

Example device dictionary snippet:
```jinja
{% set sync_to_lava = {
   "device_type": "qemu",
   "worker": "worker-1",
   "physical_owner": "user1",
   "physical_group": "group1",
   "group_device_permissions": [
       ["change_device", "group1"],
       ["view_device", "group1"],
       ["submit_to_device", "group1"],
   ]
   }
%}
```

# Authentication

## Gitlab integration

GitLab auth provider from allauth has been added as the new authentication
backend. For this the django-allauth package needs to be installed manually.
The following line needs to be added to the settings file:

```yaml
AUTH_GITLAB_URL: "https://gitlab.example.com"
```

For more information please refer to https://docs.lavasoftware.org/lava/authentication.html

# LAVA dispatcher

## Ping interval

Time between two pings to the server is now configurable via ``--ping-interval`` argument.

# Docker

## options

LOGLEVEL setting can now be overridden by setting an environment variable on
the container.

# Bug fixes

* udev.py: Fix wait_device_board_id test
* rcar-gen3-common: fix kernel/dtb address
* dispatcher: fix JLink boot method to support LPC55S
* downloads: Add export of dynamic_data on postprocess
* job: do use sub_id with urls in templates
* apply_overlay: do not crash when the overlay is mentioned but missing
* schema: Fix docker image regexp
* map_scanned_results: try to keep most of the data when results is too large
* docker: upgrade sentry_sdk to 1.0.0
* qemu: Do not search qemu binary when docker is in use
* rest api: Updating device dict should not check for global user permission.
* lava-server manage wait: make the command more resilient


Thanks,
-- 
Stevan Radaković | LAVA Senior Engineer
Linaro.org <www.linaro.org> │ Open source software for ARM SoCs