See <https://builds.apache.org/job/Mesos-Docker-CentOS/16/display/redirect?page=changes>
Changes: [github] Fix link to zookeeper documentation. [songzihao1990] fix name of --executor_environment_variables [bbannier] Used SHA512 for release file checksums. [bbannier] Improved handling of non-terminal operations after master failover. [songzihao1990] Added MESOS-8488 to 1.5.1 CHANGELOG. [songzihao1990] Added MESOS-8574, MESOS-8575, MESOS-8576 to 1.5.1 CHANGELOG. [songzihao1990] Added MESOS-8605 to 1.5.1 CHANGELOG. [songzihao1990] Added MESOS-8488 to 1.4.2 CHANGELOG. [songzihao1990] Added MESOS-8574, MESOS-8575, MESOS-8576 to 1.4.2 CHANGELOG. [songzihao1990] Added MESOS-8605 to 1.4.2 CHANGELOG. [songzihao1990] Added MESOS-8488 to 1.3.3 CHANGELOG. [songzihao1990] Added MESOS-8574, MESOS-8575, MESOS-8576 to 1.3.3 CHANGELOG. [songzihao1990] Added MESOS-8605 to 1.3.3 CHANGELOG. [songzihao1990] Fixed CHANGELOG spacing for 1.5.1. [songzihao1990] Fixed CHANGELOG spacing for 1.4.2 and 1.4.1. [songzihao1990] Added MESOS-8619 to the 1.5.1 CHANGELOG. [songzihao1990] Added MESOS-8631 to the 1.5.1 CHANGELOG. [songzihao1990] Added MESOS-8646 to the 1.5.1 CHANGELOG. [jpeach] Update `--enforce_container_disk_quota` usage to include disk/xfs. [jpeach] Replace `used for` with `used by` in the agent flags. [bmahler] Refactored resource allocation logic. [bmahler] Avoided copying when possible in Option::getOrElse. ------------------------------------------ Started by timer [EnvInject] - Loading node environment variables. Building remotely on H33 (ubuntu xenial) in workspace <https://builds.apache.org/job/Mesos-Docker-CentOS/ws/> Cloning the remote Git repository Cloning repository https://git-wip-us.apache.org/repos/asf/mesos.git > git init <https://builds.apache.org/job/Mesos-Docker-CentOS/ws/> # 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 config remote.origin.url > https://git-wip-us.apache.org/repos/asf/mesos.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # > timeout=10 > 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 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 56843f3b93483ba07df9ceb3d9e0a44d3975b567 (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 56843f3b93483ba07df9ceb3d9e0a44d3975b567 Commit message: "Avoided copying when possible in Option::getOrElse." > git rev-list --no-walk ffc45b3467a8c6ebc774d4825f48030006863306 # timeout=10 > git tag -a -f -m Jenkins Build #16 jenkins-Mesos-Docker-CentOS-16 # > 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/jenkins5184318726665277577.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 function cleanup { 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 Build step 'Execute shell' marked build as failure
