builder-client: .../steps: removeDirectory: unsatisified constraints (Directory not empty)

Ian Lynagh igloo at earth.li
Thu Nov 10 21:26:52 CET 2011


Hi Thorkil,

On Wed, Nov 09, 2011 at 08:45:46PM +0100, Thorkil Naur wrote:
> 
> Somehow, the builder-client manages to get to the
> 
> >       liftIO $ removeDirectory stepsDir
> 
> in builder/client/client.hs, without attempting the UPLOADs.

Probably due to this, in getNumericDirectoryContents:

            -- Thorkil says that the tn23 builder sometimes gets an
            -- invalid argument exception (happened Oct 31 and Dec 04).
            -- I don't know what's going on, but in the interests of
            -- making something work, we treat that as no contents.
            `onInvalidArgument` return []

I've just pushed a patch
    Give more information is an InvalidArgument exception happens
which will print some diagnostic info when this happens.

> Another thing: A few recent builds have terminated with
> 
> > builder_client_v_20111106_085947.out-Running "testsuite summary"
> > builder_client_v_20111106_085947.out-[2011-11-07 03:25:23] [tn23] Sending: "UPLOAD 480 1"
> > builder_client_v_20111106_085947.out:builder-client: SSLIOError
> 
> which I haven't seen before. I have recently re-built the bulder-client,
> possibly with new ghc and/or libraries.

I think the SSL lib now throws different sorts of exceptions or
something, so I need to fix up the code that catches them.


Thanks
Ian




More information about the Cvs-ghc mailing list