Hi there, I've just started using autotest and I'm trying to use the kernel module to boot into a recently built kernel. It appears to be failing due to not being able to install grubby. I'm running this on Ubuntu 12.04 server. The stacktrace in client.0.DEBUG is shown below.
Any help would be greatly appreciated. Thanks, Steve 06/11 11:18:20 INFO | boottool:0498| Installing grubby because it was not found on this system 06/11 11:18:20 ERROR| boottool:0598| _run_get_output error while running: "/sbin/grubby --version" 06/11 11:18:20 WARNI| boottool:1180| Could not run grubby to fetch its version 06/11 11:18:20 WARNI| boottool:0571| Could not detect current grubby version. It may be that you are running an unsupported version of grubby 06/11 11:18:20 ERROR| boottool:0620| _run_get_output_err error while running: "/sbin/grubby --bootloader-probe" 06/11 11:18:21 DEBUG| package:0160| Listing all packages available 06/11 11:18:21 ERROR| parallel:0026| child process failed 06/11 11:18:21 DEBUG| parallel:0030| Traceback (most recent call last): 06/11 11:18:21 DEBUG| parallel:0030| File "/usr/local/autotest/parallel.py", line 18, in fork_start 06/11 11:18:21 DEBUG| parallel:0030| l() 06/11 11:18:21 DEBUG| parallel:0030| File "/usr/local/autotest/job.py", line 526, in <lambda> 06/11 11:18:21 DEBUG| parallel:0030| l = lambda : test.runtest(self, url, tag, args, dargs) 06/11 11:18:21 DEBUG| parallel:0030| File "/usr/local/autotest/test.py", line 114, in runtest 06/11 11:18:21 DEBUG| parallel:0030| job.sysinfo.log_after_each_iteration) 06/11 11:18:21 DEBUG| parallel:0030| File "/usr/local/autotest/shared/test.py", line 927, in runtest 06/11 11:18:21 DEBUG| parallel:0030| mytest._exec(args, dargs) 06/11 11:18:21 DEBUG| parallel:0030| File "/usr/local/autotest/shared/test.py", line 420, in _exec 06/11 11:18:21 DEBUG| parallel:0030| _call_test_function(self.execute, *p_args, **p_dargs) 06/11 11:18:21 DEBUG| parallel:0030| File "/usr/local/autotest/shared/test.py", line 835, in _call_test_function 06/11 11:18:21 DEBUG| parallel:0030| return func(*args, **dargs) 06/11 11:18:21 DEBUG| parallel:0030| File "/usr/local/autotest/shared/test.py", line 293, in execute 06/11 11:18:21 DEBUG| parallel:0030| postprocess_profiled_run, args, dargs) 06/11 11:18:21 DEBUG| parallel:0030| File "/usr/local/autotest/shared/test.py", line 213, in _call_run_once 06/11 11:18:21 DEBUG| parallel:0030| self.run_once(*args, **dargs) 06/11 11:18:21 DEBUG| parallel:0030| File "/usr/local/autotest/tests/heca_master_deploy/heca_master_deploy.py", line 17, in run_once 06/11 11:18:21 DEBUG| parallel:0030| kernel.boot() 06/11 11:18:21 DEBUG| parallel:0030| File "/usr/local/autotest/kernel.py", line 607, in boot 06/11 11:18:21 DEBUG| parallel:0030| self.subdir, self.applied_patches) 06/11 11:18:21 DEBUG| parallel:0030| File "/usr/local/autotest/kernel.py", line 104, in _boot_kernel 06/11 11:18:21 DEBUG| parallel:0030| self.add_to_bootloader(args) 06/11 11:18:21 DEBUG| parallel:0030| File "/usr/local/autotest/kernel.py", line 119, in add_to_bootloader 06/11 11:18:21 DEBUG| parallel:0030| self.initrd) 06/11 11:18:21 DEBUG| parallel:0030| File "/usr/local/autotest/kernel.py", line 40, in _add_kernel_to_bootloader 06/11 11:18:21 DEBUG| parallel:0030| bootloader.remove_kernel(tag) 06/11 11:18:21 DEBUG| parallel:0030| File "/usr/local/autotest/tools/boottool", line 1132, in remove_kernel 06/11 11:18:21 DEBUG| parallel:0030| entry_selection = self._get_entry_selection(kernel) 06/11 11:18:21 DEBUG| parallel:0030| File "/usr/local/autotest/tools/boottool", line 821, in _get_entry_selection 06/11 11:18:21 DEBUG| parallel:0030| return self._kernel_for_title(data) 06/11 11:18:21 DEBUG| parallel:0030| File "/usr/local/autotest/tools/boottool", line 791, in _kernel_for_title 06/11 11:18:21 DEBUG| parallel:0030| index = self._index_for_title(title) 06/11 11:18:21 DEBUG| parallel:0030| File "/usr/local/autotest/tools/boottool", line 745, in _index_for_title 06/11 11:18:21 DEBUG| parallel:0030| info = self.get_info_lines() 06/11 11:18:21 DEBUG| parallel:0030| File "/usr/local/autotest/tools/boottool", line 1158, in get_info_lines 06/11 11:18:21 DEBUG| parallel:0030| info = self.get_info(entry) 06/11 11:18:21 DEBUG| parallel:0030| File "/usr/local/autotest/tools/boottool", line 1024, in get_info 06/11 11:18:21 DEBUG| parallel:0030| info = self._run_grubby_get_output([command]) 06/11 11:18:21 DEBUG| parallel:0030| File "/usr/local/autotest/tools/boottool", line 681, in _run_grubby_get_output 06/11 11:18:21 DEBUG| parallel:0030| args = self._run_grubby_prepare_args(arguments, include_bootloader) 06/11 11:18:21 DEBUG| parallel:0030| File "/usr/local/autotest/tools/boottool", line 666, in _run_grubby_prepare_args 06/11 11:18:21 DEBUG| parallel:0030| if include_bootloader and self.bootloader is not None: 06/11 11:18:21 DEBUG| parallel:0030| File "/usr/local/autotest/shared/boottool.py", line 57, in __getattr__ 06/11 11:18:21 DEBUG| parallel:0030| self._init_on_demand() 06/11 11:18:21 DEBUG| parallel:0030| File "/usr/local/autotest/shared/boottool.py", line 53, in _init_on_demand 06/11 11:18:21 DEBUG| parallel:0030| raise error.JobError("Unable to instantiate boottool") 06/11 11:18:21 DEBUG| parallel:0030| JobError: Unable to instantiate boottool 06/11 11:18:22 INFO | job:0210| END ABORT heca_master_deploy heca_master_deploy timestamp=1339409902 localtime=Jun 11 11:18:22 06/11 11:18:23 DEBUG| base_job:0349| Persistent state client._record_indent now set to 1 06/11 11:18:24 DEBUG| base_job:0376| Persistent state client.unexpected_reboot deleted Dr. Steve Walsh Researcher, SAP Research, CEC Belfast SAP (UK) Limited, The Concourse Building, Queen's Road , Queen's Island, Titanic Quarter, BT3 9TD Belfast T +44 (0)28 9078 5721
_______________________________________________ Autotest mailing list Autotest@test.kernel.org http://test.kernel.org/cgi-bin/mailman/listinfo/autotest