Skip to content

automated/linux/lmp-device-register/lmp-device-register

Description

Run lmp-device-register and check if the output is corret. It assumes the device is flashed with FoundriesFactory image. Providing token is essential for proper test execution. Part of the test script is attempting to use a static, invalid token. HSM module can be set to either softhsm or hardware backed libckteec: /usr/lib/softhsm/libsofthsm2.so or /usr/lib/libckteec.so.0.1.0 UUID is usally generated randomly during test execution. It can be set to a constant value to exercise the backend response. Attempt to re-register the same UUID should fail with proper HTTP code.

Maintainer

  • milosz.wasilewski@foundries.io

OS

  • openembedded

Scope

  • functional

Devices

  • imx8mm
  • imx6ull

Steps to reproduce

  • cd ./automated/linux/lmp-device-register
  • ./lmp-device-register.sh -s "${SKIP_INSTALL}" -t "${TOKEN}" -u "${REG_UUID}" -m "${HSM_MODULE}"
  • ../../utils/send-to-lava.sh ./output/result.txt