← Back to team overview

instant team mailing list archive

Re: [DOLFIN-dev] Release and buildbot status

 

On Mon, Apr 06, 2009 at 01:41:59PM +0200, Johannes Ring wrote:
> On Mon, April 6, 2009 13:35, Anders Logg wrote:
> > The buildbot is still not happy on all platforms. The MPI fixes by
> > Johan seem to have helped some but there are still problems.
> >
> > For mac-osx, the tests seem to hang when running the submesh demo:
> >
> >   command timed out: 1200 seconds without output, killing pid 12857
> >   process killed by signal 9
> >   program finished with exit code -1
> 
> I think the macbot has crashed. I will try to restart it.
> 
> > For linux64-exp, most tests seem to fail.
> 
> We thought that our fixes would make this slave green but now we got a
> strange error:
> 
>  ./../../demo/fem/simple/python (Python)
> 
> Traceback (most recent call last):
>   File "./demo.py", line 19, in <module>
>     V = FunctionSpace(mesh, "CG", 1)
>   File
> "/work/jhbuildbot/fenics/lib/python2.5/site-packages/dolfin/functionspace.py",
> line 184, in __init__
>     FunctionSpaceBase.__init__(self, mesh, element)
>   File
> "/work/jhbuildbot/fenics/lib/python2.5/site-packages/dolfin/functionspace.py",
> line 46, in __init__
>     ufc_element, ufc_dofmap = jit(self._element)
>   File
> "/work/jhbuildbot/fenics/lib/python2.5/site-packages/dolfin/jit.py",
> line 30, in jit
>     if not check_swig_version(cpp.__swigversion__,same=True):
>   File
> "/work/jhbuildbot/fenics/lib/python2.5/site-packages/instant/config.py",
> line 35, in check_swig_version
>     installed_version = map(int, get_swig_version().split('.'))
>   File
> "/work/jhbuildbot/fenics/lib/python2.5/site-packages/instant/config.py",
> line 14, in get_swig_version
>     r = re.search(pattern, output)
>   File "/usr/lib/python2.5/re.py", line 142, in search
>     return _compile(pattern, flags).search(string)
> TypeError: expected string or buffer
> 
> Johannes

This error appears when the second argument to re.search is wrong.

So the output variable returned from Instant's get_status_output
is wrong.

Why does Instant require its own get_status_output instead of using
commands.getstatusoutput?

-- 
Anders

Attachment: signature.asc
Description: Digital signature


Follow ups