[GSOC] strace testing in docker at travis-ci.org

Philippe Ombredanne pombredanne at nexb.com
Thu May 12 08:26:40 UTC 2016


On Thu, May 12, 2016 at 7:15 AM, Yun-Chih Chen <b03902074 at ntu.edu.tw> wrote:
> Hi,
>
>    I'm Yun-Chih, working on the GSOC project multi-architecture testing.
>    Here's [1] my attempt to test strace in docker at Travis CI.  There are
> currently eight different architectures.  x86_64 is okay; but others come
> with several issues:
>
>    1. armel, armhf, arm64:
>        NO tests succeeded.  Testing halted at "rt_sigqueueinfo.test" and
> never proceeded.
>    2. s390x, powerpc:
>        error running "configure": "C compiler cannot create executables",
> despite that libc6-dev, gcc are properly installed.
>    3. i386:
>        failing message "Target 'all-am' not remade because of errors." at
> line 2616.  Reason: unknown.
>
>    Here's the script that drive the whole process [2].  Anyone has insight
> on the errors above?  Any cue appreciated.  ( :  Thanks
>
> [1] https://travis-ci.org/yunchih/strace-docker
> [2] https://github.com/yunchih/strace-docker

My advice: do not run docker. I think this is a setting in the Travis file.
Otherwise the number of indirections becomes a tad too large:
Travis may itself run in VMs -> which runs containers --> in which
your run QEMU ....
A few too many moving parts IMHO.

So your goal is to limit the number of these and remove docker from
the equation.

>    2. s390x, powerpc:
>        error running "configure": "C compiler cannot create executables",
> despite that libc6-dev, gcc are properly installed.

As for the failure to build on various architectures, are you sure the
toolchain you use is compiled with support for these? It looks like it
from the Travis matrix though.


-- 
Cordially
Philippe Ombredanne




More information about the Strace-devel mailing list