Lava: Upgrade rootfs to Xenial for kernel tests
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Wed, 30 Nov 2016 15:11:04 +0000 (10:11 -0500)
committerFrancis Deslauriers <francis.deslauriers@efficios.com>
Fri, 9 Dec 2016 16:04:58 +0000 (11:04 -0500)
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
scripts/lttng-baremetal-tests/lava-submit.py

index 1a3a68f1c76edf66cdd93fef86f8ca833d07785c..da5ddc7e41a69e05d81a11d4d43f981656c35ba7 100644 (file)
@@ -143,6 +143,7 @@ def get_config_cmd(build_device):
                     'depmod -a',
                     'locale-gen en_US.UTF-8',
                     'apt-get update',
+                    'apt-get upgrade',
                     'apt-get install -y {}'.format(' '.join(packages))
                 ])
     return command
@@ -211,8 +212,10 @@ def get_deploy_cmd_kvm(jenkins_job, kernel_path, linux_modules_path, lttng_modul
             'parameters': {
                 'customize': {},
                 'kernel': None,
-                'rootfs': 'file:///var/lib/lava-server/default/media/images/trusty-grub.img.gz',
-                'target_type': 'ubuntu'
+                'target_type': 'ubuntu',
+                'rootfs': 'file:///var/lib/lava-server/default/media/images/xenial.img.gz',
+                'login_prompt': 'kvm02 login:',
+                'username': 'root'
                 }
             })
 
@@ -250,6 +253,7 @@ def get_env_setup_cmd(build_device, lttng_tools_commit, lttng_ust_commit=None):
         'command': 'lava_command_run',
         'parameters': {
             'commands': [
+                'pip3 install --upgrade pip',
                 'git clone https://github.com/frdeso/syscall-bench-it.git bm',
                 'pip3 install vlttng',
                         ],
This page took 0.023619 seconds and 4 git commands to generate.