--- /dev/null
+ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDwkSh8Eiip4aqnUtKjo8WpdDrktmg89Jhbi8XrJy5UY9KmFQqV5Gy5YVfRveWmFZlHliRbWuxKhvpQ0XslaqeXSG/xwrVBtrfv3nw88a3txXClDZom6yBm5JIYxgNiPVYF+Pf64Jke7vNjJkAXSL6J2/wsKKGCsyAveI7ydhbRK1A/oEdG3E1R9Aukh4JYtPbuHxfLpleAc+S4tdZPeRPO+uNhDvw1XvNfWlk34rmohkaLMnp6tCwggk4zCYbhwHo9/UlS2Pb4AlBD9bto+9pi8E5PoYu/rB8rUe48iMZpYCKA153uQNibt7VCV13aCf3edzD1Df0MtJFRWZ+1cSHr joraj-efficios
+ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDgXxRLBKUwG8F/X9/RI3cNWOETFhXSxY2WIcnMvHCxphAOCOuX3XjZ5H5pOSI5uCrGhDGNX32I9ie7A3sgwUbw/Em8hSBF9DG4gUACl/4H1cKgG4qE9vd0j4ocHhJU15C03RDG87P0ecIeDuWVwVjLtylJConcZhRTnzuOVO4qkdlHvDY5M7ELTCprZHI+OhlWBquL829bRnZE9evdyGOYv9XHeVVjzHlpbLd0WkviNgumcYSuM16R7WvjGkjz80wp97UqWsaE/JIb87L10i5ByFGRqTmB+6gBhIuO1c37KhBULeOQVGumxQY68x9tRgLMlQmhcWJQ+dtPl4UELQHV jeremie.galarneau@efficios.com
--- /dev/null
+metadata:
+ format: Lava-Test Test Definition 1.0
+ name: x86-env-setup
+ description: "Basic environment setup for x86 board"
+ os:
+ - ubuntu
+ devices:
+ - x86
+run:
+ steps:
+ - git clone https://github.com/lttng/lttng-ci ci
+ - chmod 755 /
+ - systemctl start systemd-timesyncd
+ - echo nameserver 172.18.0.12 > /etc/resolv.conf
+ - ip a
+ - groupadd tracing
+ - depmod -a
+ - locale-gen en_US.UTF-8
+ - apt-get update
+ - apt-get upgrade
+ - apt-get install -y systemtap-sdt-dev openssh-server
+ - pip3 install 'pip==20.3'
+ - hash -r
+ - pip3 install vlttng
+ - cp lava/system-tests/authorized_keys /root/.ssh/authorized_keys
+ - chmod 600 /root/.ssh/authorized_keys
+ - sync
- test:
definitions:
- # Base setup of environment #
+ # Base setup #
+ - repository: https://github.com/lttng/lttng-ci.git
+ from: git
+ path: lava/system-tests/setup.yml
+ name: x86-env-setup
+ # Base vlttng setup #
- repository:
metadata:
format: Lava-Test Test Definition 1.0
- x86
run:
steps:
- - chmod 755 /
- - systemctl start systemd-timesyncd
- - echo nameserver 172.18.0.12 > /etc/resolv.conf
- - ip a
- - groupadd tracing
{% if device_type == DeviceType.x86 %}
- mount /dev/sda1 /tmp
{% elif device_type == DeviceType.kvm %}
- mount /dev/sda /tmp
{% endif %}
- rm -rf /tmp/*
- - depmod -a
- - locale-gen en_US.UTF-8
- - apt-get update
- - apt-get upgrade
- - apt-get install -y systemtap-sdt-dev
- - pip3 install 'pip==20.3'
- - hash -r
- - pip3 install vlttng
- {{ vlttng_cmd }}
- ln -s {{ vlttng_path }} /root/lttngvenv
- sync
from: inline
- name: x86-env-setup-inline
+ name:vlttng-env-setup-inline
path: inline/x86-env-setup.yaml
{% if test_type == TestType.baremetal_tests %}
- repository: https://github.com/lttng/lttng-ci.git