Hi Lucas,

Thanks for the response. I actually discovered some missing dependencies: 
libpopt and blkid. Once, these installed, it seems to build grubby from a 
tarball.

Steve

-----Original Message-----
From: Lucas Meneghel Rodrigues [mailto:l...@redhat.com] 
Sent: 11 June 2012 14:27
To: Walsh, Steve
Cc: autotest@test.kernel.org
Subject: Re: [Autotest] kernel.boot is failing because "Unable to instantiate 
boottool"

On Mon, 2012-06-11 at 12:56 +0200, steve.wa...@sap.com wrote:
> 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 finding weird that it appears to not even trying to compile and
install grubby... I'll have to pick up an ubuntu VM and perform some
tests, hang on...


> 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


_______________________________________________
Autotest mailing list
Autotest@test.kernel.org
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to