mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinod Kone (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-2233) Run ASF CI mesos builds inside docker
Date Mon, 13 Apr 2015 17:44:12 GMT

    [ https://issues.apache.org/jira/browse/MESOS-2233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14492717#comment-14492717
] 

Vinod Kone commented on MESOS-2233:
-----------------------------------

Over the weekend, I've observed intermittent build errors (across Ubuntu14 and CentOS7, across
gcc and clang) when running a multi-config Jenkins job  which uses Docker to build Mesos (https://github.com/vinodkone/mesos/blob/vinod/jenkins_docker/support/jenkins_build.sh))
on ASF CI.

I was wondering if anyone had any experience building Mesos inside Docker and if they have
observed similar issues? cc [~cmaloney] [~tnachen]

Some errors:

https://builds.apache.org/job/vinod-docker-multi/COMPILER=gcc,LABEL=docker%7C%7CHadoop,OS=ubuntu:14.10/77/console
{code}
configure: error: in `/mesos/mesos-0.23.0/_build/3rdparty/libprocess/3rdparty/libev-4.15':
configure: error: C compiler cannot create executables
See `config.log' for more details
yes
checking for gcc... gcc
make[7]: *** [libev-4.15/libev.la] Error 77
make[7]: *** Waiting for unfinished jobs....
Makefile:1603: recipe for target 'libev-4.15/libev.la' failed
{code}

https://builds.apache.org/job/vinod-docker-multi/COMPILER=gcc,LABEL=docker%7C%7CHadoop,OS=centos:7/86/console
{code}
make[3]: Entering directory `/mesos/mesos-0.23.0/_build/src'
/bin/sh: error while loading shared libraries: libtinfo.so.5: failed to map segment from shared
object: Permission denied
make[3]: *** [common/.dirstamp] Error 127
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/mesos/mesos-0.23.0/_build/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/mesos/mesos-0.23.0/_build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mesos/mesos-0.23.0/_build'
make: *** [distcheck] Error 1
{code}

https://builds.apache.org/job/vinod-docker-multi/COMPILER=clang,LABEL=docker%7C%7CHadoop,OS=ubuntu:14.10/89/console
{code}
checking whether pthreads work with -pthread... mv -f .deps/logging_striptest2-logging_striptest2.Tpo
.deps/logging_striptest2-logging_striptest2.Po
Makefile:910: recipe for target 'logging_striptest2-logging_striptest2.o' failed
make[8]: *** [logging_striptest2-logging_striptest2.o] Segmentation fault
make[8]: *** Deleting file 'logging_striptest2-logging_striptest2.o'
make[8]: *** Waiting for unfinished jobs....
yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking whether to check for GCC pthread/shared inconsistencies... mv -f .deps/logging_striptest10-logging_striptest10.Tpo
.deps/logging_striptest10-logging_striptest10.Po
yes
checking whether -pthread is sufficient with -shared... yes
configure: creating ./config.status
2 warnings generated.
mv -f .deps/stl_logging_unittest-stl_logging_unittest.Tpo .deps/stl_logging_unittest-stl_logging_unittest.Po
make[8]: Leaving directory '/mesos/mesos-0.23.0/_build/3rdparty/libprocess/3rdparty/glog-0.3.3'
Makefile:1592: recipe for target 'glog-0.3.3/libglog.la' failed
make[7]: *** [glog-0.3.3/libglog.la] Error 2
make[7]: *** Waiting for unfinished jobs....
{code}

https://builds.apache.org/job/vinod-docker-multi/91/COMPILER=gcc,LABEL=docker%7C%7CHadoop,OS=ubuntu:14.10/consoleFull
{code}
ERROR: files left in build directory after distclean:
./src/authentication/.libs/libmesos_no_3rdparty_la-authentication.pb.o
Makefile:945: recipe for target 'distcleancheck' failed
make[1]: *** [distcleancheck] Error 1
make[1]: Leaving directory '/mesos/mesos-0.23.0/_build'
Makefile:872: recipe for target 'distcheck' failed
make: *** [distcheck] Error 1
{code}

> Run ASF CI mesos builds inside docker
> -------------------------------------
>
>                 Key: MESOS-2233
>                 URL: https://issues.apache.org/jira/browse/MESOS-2233
>             Project: Mesos
>          Issue Type: Task
>          Components: technical debt
>            Reporter: Vinod Kone
>            Assignee: Vinod Kone
>              Labels: twitter
>         Attachments: Dockerfile, supervisord.conf
>
>
> There are several limitations to mesos projects current state of CI, which is run on
builds.a.o
> --> Only runs on Ubuntu
> --> Doesn't run any tests that deal with cgroups
> --> Doesn't run any tests that need root permissions
> Now that ASF CI supports docker (https://issues.apache.org/jira/browse/BUILDS-25), it
would be great for the Mesos project to use it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message