On Fri, 2010-08-06 at 12:39 +0530, divya wrote:
> Hi
> Kernbench autotest fails with the following error.Tried even on the latest 
> upstream autotest.
> ------------
> 12:09:02 INFO | Writing results to 
> /home/autotest-0.12.0/client/results/default
> 12:09:02 INFO | Initializing the state engine
> 12:09:02 INFO | Symlinking init scripts
> 12:09:02 WARNI| Linking init scripts failed
> 12:09:04 INFO | START   ----    ----    timestamp=1280990344    localtime=Aug 
> 05 12:09:04
> 12:09:04 INFO |         START   kernbench       kernbench       
> timestamp=1280990344    localtime=Aug 05 12:09:04
> 12:09:05 INFO | --- START kernel.extract ---
> 12:09:05 INFO | 
> ['http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.14.tar.bz2']
> 12:09:05 INFO | kernelexpand:
> 12:09:05 INFO | 
> ['http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.14.tar.bz2']
> 12:09:05 INFO | --- END kernel.extract ---
> 12:09:05 INFO |                 FAIL    kernbench      kernel.extract  
> timestamp=1280990345    localtime=Aug 05
> 12:09:05<urlopen error [Errno 111] Connection refused>
> 12:09:05 INFO | Ignoring exception during cleanup() phase:
> 12:09:05 INFO | Now raising the earlier<class 
> 'autotest_lib.client.common_lib.error.UnhandledTestFail'>    error
> 12:09:06 INFO |                 FAIL    kernbench      kernbench       
> timestamp=1280990346    localtime=Aug 05 12:09:06      
> Unhandled str: Unhandled URLError:<urlopen error [Errno 111]Connection refused
>                       Traceback (most recent call last):
>                      File "/home/autotest-0.12.0/client/common_lib/test.py", 
> line 570, in _call_test_function
>                        return func(*args, **dargs)
>                      File "/home/autotest-0.12.0/client/common_lib/test.py", 
> line 485, in _cherry_pick_call
>                       return func(*p_args, **p_dargs)
>                      File 
> "/home/autotest-0.12.0/client/tests/kernbench/kernbench.py", line 51, in 
> warmup
>                        self.kernel = self.__init_tree(version)
>                      File 
> "/home/autotest-0.12.0/client/tests/kernbench/kernbench.py", line 40, in 
> __init_tree
>                        kernel = self.job.kernel(tarball, self.outputdir, 
> self.tmpdir)
>                      File "/home/autotest-0.12.0/client/bin/job.py", line 
> 387, in kernel
>                        build_dir, leave)
>                      File "/home/autotest-0.12.0/client/bin/kernel.py", line 
> 846, in auto_kernel
>                        return kernel(job,kernel_paths[0], subdir, tmp_dir, 
> build_dir, leave)
>                      File "/home/autotest-0.12.0/client/bin/kernel.py", line 
> 122, in __init__
>                        self.extract(base_tree)
>                      File "/home/autotest-0.12.0/client/common_lib/log.py", 
> line 43, in recorded_func
>                        result = fn(self, *args, **dargs)
>                      File "/home/autotest-0.12.0/client/bin/kernel.py", line 
> 13, in tee_logdir_mark_wrapper
>                        result = fn(self, *args, **dargs)
>                      File "/home/autotest-0.12.0/client/bin/kernel.py", line 
> 158, in extract
>                       self.get_kernel_tree(base_components.pop(0))
>                      File "/home/autotest-0.12.0/client/bin/kernel.py", line 
> 232, in get_kernel_tree
>                        utils.get_file(base_tree, tarball)
>                      File "/home/autotest-0.12.0/client/common_lib/utils.py", 
> line 321, in get_file
>                        urlretrieve(src, dest)
>                      File "/home/autotest-0.12.0/client/common_lib/utils.py", 
> line 274, in urlretrieve
>                        src_file = urlopen(url, data=data, timeout=timeout)
>                      File "/home/autotest-0.12.0/client/common_lib/utils.py", 
> line 265, in urlopen
>                        return urllib2.urlopen(url, data=data)
>                      File "/usr/lib64/python2.6/urllib2.py", line 124, in 
> urlopen
>                        return _opener.open(url, data, timeout)
>                      File "/usr/lib64/python2.6/urllib2.py", line 389, in open
>                        response = self._open(req, data)
>                      File "/usr/lib64/python2.6/urllib2.py", line 407, in 
> _open
>                        '_open', req)
>                      File "/usr/lib64/python2.6/urllib2.py", line 367, in 
> _call_chain
>                        result = func(*args)
>                      File "/usr/lib64/python2.6/urllib2.py", line 1139, in 
> http_open
>                        return self.do_open(httplib.HTTPConnection, req)
>                      File "/usr/lib64/python2.6/urllib2.py", line 1114, in 
> do_open
>                        raise URLError(err)
>                  URLError:<urlopen error [Errno 111] Connection refused>      
>             
>               None
> 12:09:06 INFO |         END FAIL        kernbench       kernbench       
> timestamp=1280990346    localtime=Aug 05 12:09:06
> 12:09:06 INFO | END GOOD        ----    ----    timestamp=1280990346    
> localtime=Aug 05 12:09:06
> 
> Changing the version in control file to 2.6.34 didnt help and that also gave 
> the same error
> job.run_test('kernbench',version = '2.6.34')

Hi Divya, as Sudhir pointed out, it seems like a network problem on your
box. In order to confirm, I just tried kernbench in both svn trunk and
0.12.0 here on my laptop, and both worked well.

> 
> 12:14:19 INFO | --- START kernel.extract ---
> 12:14:19 INFO | 
> ['http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.34.tar.bz2']
> 12:14:19 INFO | kernelexpand:
> 12:14:19 INFO | 
> ['http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.34.tar.bz2']
> 12:14:19 INFO | --- END kernel.extract ---
> 12:14:19 INFO |                 FAIL    kernbench   kernel.extract  
> timestamp=1280990659    localtime=Aug 05
> 12:14:19<urlopen error [Errno 111] Connection refused>
> 12:14:19 INFO | Ignoring exception during cleanup() phase:
> 12:14:19 INFO | Now raising the earlier<class 
> 'autotest_lib.client.common_lib.error.UnhandledTestFail'>    error
> 12:14:20 INFO |                 FAIL    kernbench    kernbench       
> timestamp=1280990660    localtime=Aug 05 12:14:20      
> Unhandled str: Unhandled URLError:<urlopen error [Errno 111] Connection 
> refused>
> 
> 
> _______________________________________________
> Autotest mailing list
> [email protected]
> http://test.kernel.org/cgi-bin/mailman/listinfo/autotest


_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to