Skip to content

automated/linux/fuego-multinode/fuego-host

Description

Run fuego tests with LAVA. Refer to http://fuegotest.org/

Maintainer

  • chase.qi@linaro.org

OS

  • debian

Scope

  • functional

Devices

  • docker

Steps to reproduce

  • trap 'lava-send host-done' ERR
  • # When more then on test defined, only send ssh pub key once. if [ -f /fuego-rw/ssh_keys/fuego-lava ]; then echo "SSH key pairs should be set already." else mkdir -p /fuego-rw/ssh_keys ssh-keygen -t rsa -N "" -f /fuego-rw/ssh_keys/fuego-lava -C fuego-lava # Message sent by lava-send is visible, when security is a # concern, job visibility should be set to private/group. lava-send ssh-pub-key pub_key=$(cat /fuego-rw/ssh_keys/fuego-lava.pub | awk '{print $2}') fi

  • cd ./automated/linux/fuego-multinode/

  • if "${WAIT_DUT}"; then lava-wait dut-ready; fi
  • ./fuego.sh -b "${BOARD}" -c "${TOOLCHAIN}" -t "${TEST}" -s "${SPEC}" -S "${SKIP_INSTALL}" || ret_val=$?
  • ../../utils/send-to-lava.sh ./output/result.txt
  • if "${HOST_DONE}"; then lava-send host-done; fi
  • if [ -n "${ret_val}" ] && [ "${ret_val}" -ne 0 ]; then exit 1; fi