See <https://builds.apache.org/job/Mesos-Mini/13/display/redirect?page=changes>

Changes:

[zhq527725] Reaped the container process directly in Docker executor.

[songzihao1990] Attached/detached volume directory for task which has volume 
specified.

[songzihao1990] Added MESOS-8565 to 1.5.1 CHANGELOG.

[songzihao1990] Added MESOS-8577 to the 1.5.1 CHANGELOG.

[gregorywmann] Added new protobuf field `launch_executor` in 
RunTask(Group)Message.

[gregorywmann] Made master set `launch_executor` in the RunTask(Group)Message.

[gregorywmann] Added helper function for the agent to send 
`ExitedExecutorMessage`.

[gregorywmann] Fixed a bug where executor info lingers on master if failed to 
launch.

[gregorywmann] Added a test to ensure master removes executors that never 
launched.

[gregorywmann] Added a mock method for `__run()` to the mock slave.

[gregorywmann] Added tests to check that executors which fail to launch are 
removed.

[gregorywmann] Added MESOS-1720 to the 1.5.1 CHANGELOG.

[zhq527725] Added `Event::Update` and `v1::scheduler::TaskStatus` ostream 
operators.

[zhq527725] Improved some default executor log messages.

[zhq527725] Made default executor not shutdown if unsubscribed during task 
launch.

[zhq527725] Stopped shutting down the whole default executor on task launch 
failure.

[zhq527725] Added a regression test for MESOS-8468.

[zhq527725] Made the default executor treat agent disconnections more 
gracefully.

[zhq527725] Removed outdated executor-wide launched flag from the default 
executor.

[zhq527725] Added MESOS-8468 to the 1.5.1 CHANGELOG.

[andrew] Windows: Enabled `CurlFetcherPlugin` and `HadoopFetcherPlugin`.

------------------------------------------
Started by timer
[EnvInject] - Loading node environment variables.
Building remotely on H27 (ubuntu xenial) in workspace 
<https://builds.apache.org/job/Mesos-Mini/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url 
 > https://git-wip-us.apache.org/repos/asf/mesos.git # timeout=10
Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/mesos.git
 > git --version # timeout=10
 > git fetch --tags --progress 
 > https://git-wip-us.apache.org/repos/asf/mesos.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 1e71208338fc525d42cd8dd0ffad5a0841e40a92 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 1e71208338fc525d42cd8dd0ffad5a0841e40a92
Commit message: "Windows: Enabled `CurlFetcherPlugin` and 
`HadoopFetcherPlugin`."
 > git rev-list 709d7a138e1c64b2c30a9168f7c783efdd661e96 # timeout=10
 > git tag -a -f -m Jenkins Build #13 jenkins-Mesos-Mini-13 # timeout=10
[EnvInject] - Executing scripts and injecting environment variables after the 
SCM step.
[EnvInject] - Injecting as environment variables the properties content 
USERNAME=mesosdockerbot

[EnvInject] - Variables injected successfully.
[EnvInject] - Mask passwords that will be passed as build parameters.
[Mesos-Mini] $ /bin/bash -xe /tmp/jenkins4708904162918019338.sh
+ ./support/jenkins/mini.sh

CURRENT_DIR="$(cd "$(dirname "$0")"; pwd -P)"
cd "$(dirname "$0")"; pwd -P
dirname "$0"
SUPPORT_DIR="${CURRENT_DIR}/.."

: ${USERNAME:?"Environment variable 'USERNAME' must be set to the username of 
the 'Mesos DockerBot' Docker hub account."}
: ${PASSWORD:?"Environment variable 'PASSWORD' must be set to the password of 
the 'Mesos DockerBot' Docker hub account."}

DOCKER_IMAGE_MINI=${DOCKER_IMAGE_MINI:-"mesos/mesos-mini"}
DOCKER_IMAGE_PACKAGING=${DOCKER_IMAGE_PACKAGING:-"mesos/mesos-centos-packaging"}
DOCKER_IMAGE_DISTRO=${DOCKER_IMAGE_DISTRO:-"mesos/mesos-centos"}
DOCKER_IMAGE_TAG=`date +%F`
date +%F

function cleanup {
  docker rmi $(docker images -q ${DOCKER_IMAGE_PACKAGING}:${DOCKER_IMAGE_TAG}) 
|| true
  docker rmi $(docker images -q ${DOCKER_IMAGE_DISTRO}:${DOCKER_IMAGE_TAG}) || 
true
  docker rmi $(docker images -q ${DOCKER_IMAGE_MINI}:${DOCKER_IMAGE_TAG}) || 
true
}

trap cleanup EXIT

DOCKER_IMAGE_MINI=${DOCKER_IMAGE_MINI} \
DOCKER_IMAGE_PACKAGING=${DOCKER_IMAGE_PACKAGING} \
DOCKER_IMAGE_DISTRO=${DOCKER_IMAGE_DISTRO} \
DOCKER_IMAGE_TAG=${DOCKER_IMAGE_TAG} \
"${SUPPORT_DIR}/mesos-mini/build.sh"

# This script builds a Docker image that has one master, one agent and
# one example framework (Marathon) running.

CURRENT_DIR="$(cd "$(dirname "$0")"; pwd -P)"
cd "$(dirname "$0")"; pwd -P
dirname "$0"
SUPPORT_DIR="${CURRENT_DIR}/.."

DOCKER_IMAGE_MINI=${DOCKER_IMAGE_MINI:-"mesos/mesos-mini"}
DOCKER_IMAGE_PACKAGING=${DOCKER_IMAGE_PACKAGING:-"mesos/mesos-centos-packaging"}
DOCKER_IMAGE_DISTRO=${DOCKER_IMAGE_DISTRO:-"mesos/mesos-centos"}
DOCKER_IMAGE_TAG=${DOCKER_IMAGE_TAG:-"latest"}

if ! [ -x "$(command -v docker)" ]; then
  echo 'Error: docker is not installed.' >&2
  exit 1
fi
command -v docker

DOCKER_IMAGE_PACKAGING=${DOCKER_IMAGE_PACKAGING} \
DOCKER_IMAGE_DISTRO=${DOCKER_IMAGE_DISTRO} \
DOCKER_IMAGE_TAG=${DOCKER_IMAGE_TAG} \
"${SUPPORT_DIR}/packaging/centos/build-docker-image.sh"

# This script builds a CentOS based docker image with Mesos installed
# using the current head of the source tree.

CENTOS_DIR="$(cd "$(dirname "$0")"; pwd -P)"
cd "$(dirname "$0")"; pwd -P
dirname "$0"
SOURCE_DIR="$(cd ${CENTOS_DIR}/../../..; pwd -P)"
cd ${CENTOS_DIR}/../../..; pwd -P

DOCKER_IMAGE_PACKAGING=${DOCKER_IMAGE_PACKAGING:-"mesos/mesos-centos-packaging"}
DOCKER_IMAGE_DISTRO=${DOCKER_IMAGE_DISTRO:-"mesos/mesos-centos"}
DOCKER_IMAGE_TAG=${DOCKER_IMAGE_TAG:-"latest"}

if ! [ -x "$(command -v docker)" ]; then
  echo 'Error: docker is not installed.' >&2
  exit 1
fi
command -v docker

if [ -d "${SOURCE_DIR}/centos7" ]; then
  echo "Please cleanup 'centos7' under your Mesos source directory"
  exit 1
fi

TMP_BUILD_DIR=$(mktemp -d)
mktemp -d

function cleanup {
  rm -rf "${TMP_BUILD_DIR}"
  rm -rf "${SOURCE_DIR}/centos7"
}

trap cleanup EXIT

# Build the image for building Mesos packages.
docker build \
  --rm \
  -t ${DOCKER_IMAGE_PACKAGING}:${DOCKER_IMAGE_TAG} \
  -f "${SOURCE_DIR}/support/packaging/centos/centos7.dockerfile" \
  "${SOURCE_DIR}/support/packaging/centos/"
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the 
docker daemon running?
cleanup
cleanup
docker images -q ${DOCKER_IMAGE_PACKAGING}:${DOCKER_IMAGE_TAG}
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the 
docker daemon running?
"docker rmi" requires at least 1 argument(s).
See 'docker rmi --help'.

Usage:  docker rmi [OPTIONS] IMAGE [IMAGE...]

Remove one or more images
docker images -q ${DOCKER_IMAGE_DISTRO}:${DOCKER_IMAGE_TAG}
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the 
docker daemon running?
"docker rmi" requires at least 1 argument(s).
See 'docker rmi --help'.

Usage:  docker rmi [OPTIONS] IMAGE [IMAGE...]

Remove one or more images
docker images -q ${DOCKER_IMAGE_MINI}:${DOCKER_IMAGE_TAG}
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the 
docker daemon running?
"docker rmi" requires at least 1 argument(s).
See 'docker rmi --help'.

Usage:  docker rmi [OPTIONS] IMAGE [IMAGE...]

Remove one or more images
Build step 'Execute shell' marked build as failure

Reply via email to