See 
<https://builds.apache.org/job/Mesos-Docker-CentOS/79/display/redirect?page=changes>

Changes:

[bbannier] Updated cpplint from upstream.

[bbannier] Added .tox to files excluded by Python linter.

[bbannier] Updated cpplint from upstream.

[jpeach] Changed the XFS container kill test to use ASSERT_GE.

[gregorywmann] Added MESOS-8904 to the 1.5.2 CHANGELOG.

[gregorywmann] Added MESOS-8904 to the 1.4.2 CHANGELOG.

[gregorywmann] Added MESOS-8904 to the 1.3.3 CHANGELOG.

------------------------------------------
Started by timer
[EnvInject] - Loading node environment variables.
Building remotely on H22 (ubuntu xenial) in workspace 
<https://builds.apache.org/job/Mesos-Docker-CentOS/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 9171af20eda9ee31b75e86dc833e06a6d856d329 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 9171af20eda9ee31b75e86dc833e06a6d856d329
Commit message: "Added MESOS-8904 to the 1.3.3 CHANGELOG."
 > git rev-list --no-walk 44856413fc1099783263b3935ee3c995c9358aff # timeout=10
 > git tag -a -f -m Jenkins Build #79 jenkins-Mesos-Docker-CentOS-79 # 
 > 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-Docker-CentOS] $ /bin/bash -xe /tmp/jenkins4554250441835172990.sh
+ ./support/jenkins/docker-centos.sh

# This script build and push Docker image that has Mesos distro
# installed (based on CentOS).

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_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
}

trap cleanup EXIT

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
Please cleanup 'centos7' under your Mesos source directory
cleanup
docker images -q ${DOCKER_IMAGE_PACKAGING}:${DOCKER_IMAGE_TAG}
"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}
"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