[
https://issues.apache.org/jira/browse/MESOS-8253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327579#comment-16327579
]
Jie Yu commented on MESOS-8253:
-------------------------------
One potential workaround I can think of is to write a wrapper program that pipe
the stdout/stderr of docker run/build. the wrapper program will set fd to be
blocking, but assume that its own stdout/stderr is non-blocking (and will retry
if writes fail with EAGAIN).
> Mesos CI docker rmi conflict
> ----------------------------
>
> Key: MESOS-8253
> URL: https://issues.apache.org/jira/browse/MESOS-8253
> Project: Mesos
> Issue Type: Bug
> Components: build, docker
> Reporter: James Peach
> Priority: Major
>
> We are seeing a lot of docker build jobs failing when they try to clean up
> there docker images:
> {noformat}
> + docker rmi mesos-1511286604-15916
> Error response from daemon: conflict: unable to remove repository reference
> "mesos-1511286604-15916" (must force) - container 1aabf0225a43 is using its
> referenced image 23292073f88f
> Build step 'Execute shell' marked build as failure
> {noformat}
> The full Jenkins log is
> [here|https://builds.apache.org/job/Mesos-Buildbot/BUILDTOOL=autotools,COMPILER=clang,CONFIGURATION=--verbose%20--disable-libtool-wrappers%20--enable-libevent%20--enable-ssl,ENVIRONMENT=GLOG_v=1%20MESOS_VERBOSE=1,OS=ubuntu%3A14.04,label_exp=(ubuntu)&&(!ubuntu-us1)&&(!ubuntu-eu2)&&(!qnode3)&&(!H23)/4486/console]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)