return vlttng_cmd
def main():
+ nfsrootfs = "https://obj.internal.efficios.com/lava/rootfs/rootfs_amd64_trusty_2016-02-23-1134.tar.gz"
test_type = None
parser = argparse.ArgumentParser(description='Launch baremetal test using Lava')
parser.add_argument('-t', '--type', required=True)
if test_type in [TestType.baremetal_benchmarks, TestType.baremetal_tests]:
device_type = DeviceType.x86
vlttng_path = '/tmp/virtenv'
- nfsrootfs = "/storage/jenkins-lava/rootfs/rootfs_amd64_trusty_2016-02-23-1134.tar.gz"
else:
device_type = DeviceType.kvm
vlttng_path = '/root/virtenv'
- nfsrootfs = "/storage/jenkins-lava/rootfs/rootfs_amd64_trusty_2016-02-23-1134.tar.gz"
vlttng_cmd = get_vlttng_cmd(device_type, args.tools_commit, args.ust_commit)
-device_type: {{ device_type }}
+device_type: x86
job_name: {{ job_name }}
timeouts:
job:
# the template uses that to ensure that qemu-system-x86_64 is executed.
{# Used amd64 as a default #}
arch: amd64
+tags:
+ - qemu
{% endif %}
{% if device_type == DeviceType.x86 %}
tags:
- boot:
timeout:
minutes: 10
- {% if device_type == DeviceType.x86 %}
method: ipxe
commands: ramdisk
prompts:
- 'root@linaro-server:~#'
- {% elif device_type == DeviceType.kvm %}
- method: qemu-nfs
- media: nfs
- auto_login:
- login_prompt: "kvm02 login:"
- username: root
- prompts:
- - 'linaro-test'
- {% endif %}
- test:
definitions: