Lava: Remove useless debugging command on boot
[lttng-ci.git] / scripts / lttng-baremetal-tests / lava-submit.py
index 1a3a68f1c76edf66cdd93fef86f8ca833d07785c..7099088634a00d31f58e26544e75fd68a3f6cdbb 100644 (file)
@@ -126,8 +126,6 @@ def get_config_cmd(build_device):
         'command': 'lava_command_run',
         'parameters': {
             'commands': [
-                'ifup eth0',
-                'route -n',
                 'cat /etc/resolv.conf',
                 'echo nameserver 172.18.0.12 > /etc/resolv.conf',
                 'groupadd tracing'
@@ -143,6 +141,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 +210,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 +251,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',
                         ],
@@ -257,7 +259,7 @@ def get_env_setup_cmd(build_device, lttng_tools_commit, lttng_ust_commit=None):
             }
         })
 
-    vlttng_cmd = 'vlttng --jobs=16 --profile urcu-master' \
+    vlttng_cmd = 'vlttng --jobs=$(nproc) --profile urcu-master' \
                     ' --profile babeltrace-stable-1.4 ' \
                     ' --profile lttng-tools-master' \
                     ' --override projects.lttng-tools.checkout='+lttng_tools_commit + \
This page took 0.023824 seconds and 4 git commands to generate.