You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@mesos.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2018/05/11 05:45:26 UTC

Build failed in Jenkins: Mesos-Docker-CentOS #74

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

Changes:

[bbannier] Added token-based authentication for resource providers.

[bbannier] Added a realm for resource provider authentication.

[bbannier] Added token-based authentication to resource provider tests.

[klueska] Bumped 'tox' version used by python to 3.0.0.

[klueska] Added tox for linting and testing code living uder src/python.

[klueska] Removed pip install requirements-test.in in new CLI bootstrap script.

[andrew] Windows: Enabled `ProtobufTest` suite.

[chhsiao] Removed unnecessary gRPC build flags in Mesos.

[chhsiao] Removed unnecessary gRPC build flags in libprocess.

[chhsiao] Removed the OpenSSL dependency for building gRPC in Mesos.

[chhsiao] Removed the OpenSSL dependency for building gRPC in libprocess.

[chhsiao] Renamed `GRPC_UNSECURE` to `GRPC_VARIANT` in CMake.

[chhsiao] Fixed the link order for gRPC in CMake.

[vinodkone] Reformat email address in blog to avoid un-necessary updates to website.

------------------------------------------
[...truncated 20.37 KB...]
Transaction Summary
================================================================================
Install  4 Packages (+49 Dependent packages)
Upgrade  1 Package  (+ 7 Dependent packages)

Total download size: 25 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
Public key for bzip2-1.0.6-13.el7.x86_64.rpm is not installed
warning: /var/cache/yum/x86_64/7/base/packages/bzip2-1.0.6-13.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Public key for epel-release-7-9.noarch.rpm is not installed
Public key for patch-2.7.1-10.el7_5.x86_64.rpm is not installed
--------------------------------------------------------------------------------
Total                                              6.3 MB/s |  25 MB  00:03     
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Importing GPG key 0xF4A80EB5:
 Userid     : "CentOS-7 Key (CentOS 7 Official Signing Key) <se...@centos.org>"
 Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
 Package    : centos-release-7-4.1708.el7.centos.x86_64 (@CentOS)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : elfutils-libelf-0.170-4.el7.x86_64                          1/69 
  Installing : fipscheck-1.4.1-6.el7.x86_64                                2/69 
  Installing : fipscheck-lib-1.4.1-6.el7.x86_64                            3/69 
  Updating   : libcurl-7.29.0-46.el7.x86_64                                4/69 
  Installing : groff-base-1.22.2-8.el7.x86_64                              5/69 
  Installing : 1:perl-parent-0.225-244.el7.noarch                          6/69 
  Installing : perl-HTTP-Tiny-0.033-3.el7.noarch                           7/69 
  Installing : perl-podlators-2.5.1-3.el7.noarch                           8/69 
  Installing : perl-Pod-Perldoc-3.20-4.el7.noarch                          9/69 
  Installing : 1:perl-Pod-Escapes-1.04-292.el7.noarch                     10/69 
  Installing : perl-Text-ParseWords-3.29-4.el7.noarch                     11/69 
  Installing : perl-Encode-2.51-7.el7.x86_64                              12/69 
  Installing : perl-Pod-Usage-1.63-3.el7.noarch                           13/69 
  Installing : 4:perl-macros-5.16.3-292.el7.x86_64                        14/69 
  Installing : perl-threads-1.87-4.el7.x86_64                             15/69 
  Installing : perl-Exporter-5.68-3.el7.noarch                            16/69 
  Installing : perl-constant-1.27-2.el7.noarch                            17/69 
  Installing : perl-Time-Local-1.2300-2.el7.noarch                        18/69 
  Installing : perl-Socket-2.010-4.el7.x86_64                             19/69 
  Installing : perl-Carp-1.26-244.el7.noarch                              20/69 
  Installing : 4:perl-libs-5.16.3-292.el7.x86_64                          21/69 
  Installing : 4:perl-Time-HiRes-1.9725-3.el7.x86_64                      22/69 
  Installing : perl-threads-shared-1.43-6.el7.x86_64                      23/69 
  Installing : perl-PathTools-3.40-5.el7.x86_64                           24/69 
  Installing : perl-Scalar-List-Utils-1.27-248.el7.x86_64                 25/69 
  Installing : perl-Storable-2.45-3.el7.x86_64                            26/69 
  Installing : perl-File-Temp-0.23.01-3.el7.noarch                        27/69 
  Installing : perl-File-Path-2.09-2.el7.noarch                           28/69 
  Installing : perl-Filter-1.49-3.el7.x86_64                              29/69 
  Installing : 1:perl-Pod-Simple-3.28-4.el7.noarch                        30/69 
  Installing : perl-Getopt-Long-2.40-3.el7.noarch                         31/69 
  Installing : 4:perl-5.16.3-292.el7.x86_64                               32/69 
  Installing : 1:perl-Error-0.17020-2.el7.noarch                          33/69 
  Installing : perl-Thread-Queue-3.02-2.el7.noarch                        34/69 
  Installing : perl-TermReadKey-2.30-20.el7.x86_64                        35/69 
  Installing : less-458-9.el7.x86_64                                      36/69 
  Updating   : curl-7.29.0-46.el7.x86_64                                  37/69 
  Updating   : rpm-libs-4.11.3-32.el7.x86_64                              38/69 
  Updating   : rpm-4.11.3-32.el7.x86_64                                   39/69 
  Updating   : rpm-build-libs-4.11.3-32.el7.x86_64                        40/69 
  Installing : openssh-7.4p1-16.el7.x86_64                                41/69 
  Updating   : elfutils-libs-0.170-4.el7.x86_64                           42/69 
  Installing : elfutils-0.170-4.el7.x86_64                                43/69 
  Installing : dwz-0.11-3.el7.x86_64                                      44/69 
  Installing : unzip-6.0-19.el7.x86_64                                    45/69 
  Installing : zip-3.0-11.el7.x86_64                                      46/69 
  Installing : libedit-3.0-12.20121213cvs.el7.x86_64                      47/69 
  Installing : openssh-clients-7.4p1-16.el7.x86_64                        48/69 
  Installing : rsync-3.1.2-4.el7.x86_64                                   49/69 
  Installing : patch-2.7.1-10.el7_5.x86_64                                50/69 
  Installing : bzip2-1.0.6-13.el7.x86_64                                  51/69 
  Installing : gdb-7.6.1-110.el7.x86_64                                   52/69 
  Installing : perl-srpm-macros-1-8.el7.noarch                            53/69 
  Installing : redhat-rpm-config-9.1.0-80.el7.centos.noarch               54/69 
  Installing : file-5.11-33.el7.x86_64                                    55/69 
  Installing : libgnome-keyring-3.12.0-1.el7.x86_64                       56/69 
  Installing : perl-Git-1.8.3.1-13.el7.noarch                             57/69 
  Installing : git-1.8.3.1-13.el7.x86_64                                  58/69 
  Installing : rpm-build-4.11.3-32.el7.x86_64                             59/69 
  Updating   : rpm-python-4.11.3-32.el7.x86_64                            60/69 
  Installing : epel-release-7-9.noarch                                    61/69 
  Cleanup    : rpm-python-4.11.3-25.el7.x86_64                            62/69 
  Cleanup    : rpm-build-libs-4.11.3-25.el7.x86_64                        63/69 
  Cleanup    : rpm-4.11.3-25.el7.x86_64                                   64/69 
  Cleanup    : rpm-libs-4.11.3-25.el7.x86_64                              65/69 
  Cleanup    : curl-7.29.0-42.el7_4.1.x86_64                              66/69 
  Cleanup    : elfutils-libs-0.168-8.el7.x86_64                           67/69 
  Cleanup    : elfutils-libelf-0.168-8.el7.x86_64                         68/69 
  Cleanup    : libcurl-7.29.0-42.el7_4.1.x86_64                           69/69 
  Verifying  : fipscheck-lib-1.4.1-6.el7.x86_64                            1/69 
  Verifying  : perl-HTTP-Tiny-0.033-3.el7.noarch                           2/69 
  Verifying  : libgnome-keyring-3.12.0-1.el7.x86_64                        3/69 
  Verifying  : rpm-build-libs-4.11.3-32.el7.x86_64                         4/69 
  Verifying  : curl-7.29.0-46.el7.x86_64                                   5/69 
  Verifying  : perl-threads-shared-1.43-6.el7.x86_64                       6/69 
  Verifying  : epel-release-7-9.noarch                                     7/69 
  Verifying  : perl-threads-1.87-4.el7.x86_64                              8/69 
  Verifying  : perl-Exporter-5.68-3.el7.noarch                             9/69 
  Verifying  : perl-constant-1.27-2.el7.noarch                            10/69 
  Verifying  : perl-PathTools-3.40-5.el7.x86_64                           11/69 
  Verifying  : 4:perl-macros-5.16.3-292.el7.x86_64                        12/69 
  Verifying  : perl-Git-1.8.3.1-13.el7.noarch                             13/69 
  Verifying  : file-5.11-33.el7.x86_64                                    14/69 
  Verifying  : 1:perl-parent-0.225-244.el7.noarch                         15/69 
  Verifying  : 4:perl-5.16.3-292.el7.x86_64                               16/69 
  Verifying  : 1:perl-Pod-Simple-3.28-4.el7.noarch                        17/69 
  Verifying  : perl-srpm-macros-1-8.el7.noarch                            18/69 
  Verifying  : fipscheck-1.4.1-6.el7.x86_64                               19/69 
  Verifying  : groff-base-1.22.2-8.el7.x86_64                             20/69 
  Verifying  : perl-Thread-Queue-3.02-2.el7.noarch                        21/69 
  Verifying  : perl-File-Temp-0.23.01-3.el7.noarch                        22/69 
  Verifying  : elfutils-0.170-4.el7.x86_64                                23/69 
  Verifying  : perl-Getopt-Long-2.40-3.el7.noarch                         24/69 
  Verifying  : perl-Time-Local-1.2300-2.el7.noarch                        25/69 
  Verifying  : elfutils-libs-0.170-4.el7.x86_64                           26/69 
  Verifying  : redhat-rpm-config-9.1.0-80.el7.centos.noarch               27/69 
  Verifying  : perl-Pod-Perldoc-3.20-4.el7.noarch                         28/69 
  Verifying  : rpm-build-4.11.3-32.el7.x86_64                             29/69 
  Verifying  : perl-Socket-2.010-4.el7.x86_64                             30/69 
  Verifying  : gdb-7.6.1-110.el7.x86_64                                   31/69 
  Verifying  : perl-Carp-1.26-244.el7.noarch                              32/69 
  Verifying  : 1:perl-Error-0.17020-2.el7.noarch                          33/69 
  Verifying  : 4:perl-libs-5.16.3-292.el7.x86_64                          34/69 
  Verifying  : bzip2-1.0.6-13.el7.x86_64                                  35/69 
  Verifying  : 4:perl-Time-HiRes-1.9725-3.el7.x86_64                      36/69 
  Verifying  : perl-Scalar-List-Utils-1.27-248.el7.x86_64                 37/69 
  Verifying  : patch-2.7.1-10.el7_5.x86_64                                38/69 
  Verifying  : 1:perl-Pod-Escapes-1.04-292.el7.noarch                     39/69 
  Verifying  : rsync-3.1.2-4.el7.x86_64                                   40/69 
  Verifying  : perl-Pod-Usage-1.63-3.el7.noarch                           41/69 
  Verifying  : perl-Encode-2.51-7.el7.x86_64                              42/69 
  Verifying  : perl-Storable-2.45-3.el7.x86_64                            43/69 
  Verifying  : perl-podlators-2.5.1-3.el7.noarch                          44/69 
  Verifying  : openssh-7.4p1-16.el7.x86_64                                45/69 
  Verifying  : rpm-python-4.11.3-32.el7.x86_64                            46/69 
  Verifying  : perl-File-Path-2.09-2.el7.noarch                           47/69 
  Verifying  : git-1.8.3.1-13.el7.x86_64                                  48/69 
  Verifying  : perl-TermReadKey-2.30-20.el7.x86_64                        49/69 
  Verifying  : libedit-3.0-12.20121213cvs.el7.x86_64                      50/69 
  Verifying  : zip-3.0-11.el7.x86_64                                      51/69 
  Verifying  : libcurl-7.29.0-46.el7.x86_64                               52/69 
  Verifying  : openssh-clients-7.4p1-16.el7.x86_64                        53/69 
  Verifying  : perl-Filter-1.49-3.el7.x86_64                              54/69 
  Verifying  : dwz-0.11-3.el7.x86_64                                      55/69 
  Verifying  : perl-Text-ParseWords-3.29-4.el7.noarch                     56/69 
  Verifying  : unzip-6.0-19.el7.x86_64                                    57/69 
  Verifying  : rpm-libs-4.11.3-32.el7.x86_64                              58/69 
  Verifying  : elfutils-libelf-0.170-4.el7.x86_64                         59/69 
  Verifying  : less-458-9.el7.x86_64                                      60/69 
  Verifying  : rpm-4.11.3-32.el7.x86_64                                   61/69 
  Verifying  : rpm-4.11.3-25.el7.x86_64                                   62/69 
  Verifying  : rpm-libs-4.11.3-25.el7.x86_64                              63/69 
  Verifying  : curl-7.29.0-42.el7_4.1.x86_64                              64/69 
  Verifying  : libcurl-7.29.0-42.el7_4.1.x86_64                           65/69 
  Verifying  : elfutils-libs-0.168-8.el7.x86_64                           66/69 
  Verifying  : rpm-build-libs-4.11.3-25.el7.x86_64                        67/69 
  Verifying  : rpm-python-4.11.3-25.el7.x86_64                            68/69 
  Verifying  : elfutils-libelf-0.168-8.el7.x86_64                         69/69 

Installed:
  epel-release.noarch 0:7-9                                                     
  git.x86_64 0:1.8.3.1-13.el7                                                   
  redhat-rpm-config.noarch 0:9.1.0-80.el7.centos                                
  rpm-build.x86_64 0:4.11.3-32.el7                                              

Dependency Installed:
  bzip2.x86_64 0:1.0.6-13.el7                                                   
  dwz.x86_64 0:0.11-3.el7                                                       
  elfutils.x86_64 0:0.170-4.el7                                                 
  file.x86_64 0:5.11-33.el7                                                     
  fipscheck.x86_64 0:1.4.1-6.el7                                                
  fipscheck-lib.x86_64 0:1.4.1-6.el7                                            
  gdb.x86_64 0:7.6.1-110.el7                                                    
  groff-base.x86_64 0:1.22.2-8.el7                                              
  less.x86_64 0:458-9.el7                                                       
  libedit.x86_64 0:3.0-12.20121213cvs.el7                                       
  libgnome-keyring.x86_64 0:3.12.0-1.el7                                        
  openssh.x86_64 0:7.4p1-16.el7                                                 
  openssh-clients.x86_64 0:7.4p1-16.el7                                         
  patch.x86_64 0:2.7.1-10.el7_5                                                 
  perl.x86_64 4:5.16.3-292.el7                                                  
  perl-Carp.noarch 0:1.26-244.el7                                               
  perl-Encode.x86_64 0:2.51-7.el7                                               
  perl-Error.noarch 1:0.17020-2.el7                                             
  perl-Exporter.noarch 0:5.68-3.el7                                             
  perl-File-Path.noarch 0:2.09-2.el7                                            
  perl-File-Temp.noarch 0:0.23.01-3.el7                                         
  perl-Filter.x86_64 0:1.49-3.el7                                               
  perl-Getopt-Long.noarch 0:2.40-3.el7                                          
  perl-Git.noarch 0:1.8.3.1-13.el7                                              
  perl-HTTP-Tiny.noarch 0:0.033-3.el7                                           
  perl-PathTools.x86_64 0:3.40-5.el7                                            
  perl-Pod-Escapes.noarch 1:1.04-292.el7                                        
  perl-Pod-Perldoc.noarch 0:3.20-4.el7                                          
  perl-Pod-Simple.noarch 1:3.28-4.el7                                           
  perl-Pod-Usage.noarch 0:1.63-3.el7                                            
  perl-Scalar-List-Utils.x86_64 0:1.27-248.el7                                  
  perl-Socket.x86_64 0:2.010-4.el7                                              
  perl-Storable.x86_64 0:2.45-3.el7                                             
  perl-TermReadKey.x86_64 0:2.30-20.el7                                         
  perl-Text-ParseWords.noarch 0:3.29-4.el7                                      
  perl-Thread-Queue.noarch 0:3.02-2.el7                                         
  perl-Time-HiRes.x86_64 4:1.9725-3.el7                                         
  perl-Time-Local.noarch 0:1.2300-2.el7                                         
  perl-constant.noarch 0:1.27-2.el7                                             
  perl-libs.x86_64 4:5.16.3-292.el7                                             
  perl-macros.x86_64 4:5.16.3-292.el7                                           
  perl-parent.noarch 1:0.225-244.el7                                            
  perl-podlators.noarch 0:2.5.1-3.el7                                           
  perl-srpm-macros.noarch 0:1-8.el7                                             
  perl-threads.x86_64 0:1.87-4.el7                                              
  perl-threads-shared.x86_64 0:1.43-6.el7                                       
  rsync.x86_64 0:3.1.2-4.el7                                                    
  unzip.x86_64 0:6.0-19.el7                                                     
  zip.x86_64 0:3.0-11.el7                                                       

Updated:
  curl.x86_64 0:7.29.0-46.el7                                                   

Dependency Updated:
  elfutils-libelf.x86_64 0:0.170-4.el7     elfutils-libs.x86_64 0:0.170-4.el7   
  libcurl.x86_64 0:7.29.0-46.el7           rpm.x86_64 0:4.11.3-32.el7           
  rpm-build-libs.x86_64 0:4.11.3-32.el7    rpm-libs.x86_64 0:4.11.3-32.el7      
  rpm-python.x86_64 0:4.11.3-32.el7       

Complete!
Build timed out (after 180 minutes). Marking the build as failed.
<https://builds.apache.org/job/Mesos-Docker-CentOS/ws/support/jenkins/../packaging/centos/build-docker-image.sh>: line 36: 16560 Terminated              docker build --rm -t ${DOCKER_IMAGE_PACKAGING}:${DOCKER_IMAGE_TAG} -f "${SOURCE_DIR}/support/packaging/centos/centos7.dockerfile" "${SOURCE_DIR}/support/packaging/centos/"
cleanup
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
Build was aborted
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

Jenkins build is back to normal : Mesos-Docker-CentOS #82

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Mesos-Docker-CentOS/82/display/redirect?page=changes>


Build failed in Jenkins: Mesos-Docker-CentOS #81

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Mesos-Docker-CentOS/81/display/redirect?page=changes>

Changes:

[gregorywmann] Updated the website for Mesos 1.6.0 release.

[gregorywmann] Updated building instructions for Mesos 1.6.0 release.

[gregorywmann] Added the Mesos 1.6.0 release blog post.

[yujie.jay] Added ContainerID to container logger prepare interface.

------------------------------------------
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 a981067d2dd4a1ce6be68d3fd5a7115ce47b3a24 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f a981067d2dd4a1ce6be68d3fd5a7115ce47b3a24
Commit message: "Added ContainerID to container logger prepare interface."
 > git rev-list --no-walk 40b40d9b73221388e583fc140280f1eb2b48b832 # timeout=10
 > git tag -a -f -m Jenkins Build #81 jenkins-Mesos-Docker-CentOS-81 # 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/jenkins3380368675347184717.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

Build failed in Jenkins: Mesos-Docker-CentOS #80

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Mesos-Docker-CentOS/80/display/redirect?page=changes>

Changes:

[alexr] Fixed links used in WebUI index.html to get assets.

[yujie.jay] Updated the container logger interface.

[yujie.jay] Removed the unused MockContainerLogger.

[andrew] Windows: Fixed quoted cases of `SubprocessTest.Flags` test.

------------------------------------------
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 40b40d9b73221388e583fc140280f1eb2b48b832 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 40b40d9b73221388e583fc140280f1eb2b48b832
Commit message: "Windows: Fixed quoted cases of `SubprocessTest.Flags` test."
 > git rev-list --no-walk 9171af20eda9ee31b75e86dc833e06a6d856d329 # timeout=10
 > git tag -a -f -m Jenkins Build #80 jenkins-Mesos-Docker-CentOS-80 # 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/jenkins7913901522117749480.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

Build failed in Jenkins: Mesos-Docker-CentOS #79

Posted by Apache Jenkins Server <je...@builds.apache.org>.
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

Build failed in Jenkins: Mesos-Docker-CentOS #78

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Mesos-Docker-CentOS/78/display/redirect?page=changes>

Changes:

[gregorywmann] Added operation feedback to the list of experimental features.

[gregorywmann] Fixed a crash when metrics race with quota removal.

[xujyan] Added more diagnostic info for a CHECK.

[andrew] Windows: Ported the rest of `path_tests.cpp`.

[andrew] Windows: Enabled more agent tests.

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

[andrew] Windows: Disabled broken benchmarks test.

------------------------------------------
Started by timer
[EnvInject] - Loading node environment variables.
Building remotely on H26 (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 44856413fc1099783263b3935ee3c995c9358aff (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 44856413fc1099783263b3935ee3c995c9358aff
Commit message: "Windows: Disabled broken benchmarks test."
 > git rev-list --no-walk e181f26b6e1cb579b41813a619f68e3ed4b207ce # timeout=10
 > git tag -a -f -m Jenkins Build #78 jenkins-Mesos-Docker-CentOS-78 # 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/jenkins429274992470777055.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

Build failed in Jenkins: Mesos-Docker-CentOS #77

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Mesos-Docker-CentOS/77/display/redirect>

------------------------------------------
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 e181f26b6e1cb579b41813a619f68e3ed4b207ce (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f e181f26b6e1cb579b41813a619f68e3ed4b207ce
Commit message: "Added MESOS-8906 to the 1.5.2 CHANGELOG."
 > git rev-list --no-walk e181f26b6e1cb579b41813a619f68e3ed4b207ce # timeout=10
 > git tag -a -f -m Jenkins Build #77 jenkins-Mesos-Docker-CentOS-77 # 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/jenkins2166018181190997148.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

Build failed in Jenkins: Mesos-Docker-CentOS #76

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Mesos-Docker-CentOS/76/display/redirect>

------------------------------------------
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 e181f26b6e1cb579b41813a619f68e3ed4b207ce (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f e181f26b6e1cb579b41813a619f68e3ed4b207ce
Commit message: "Added MESOS-8906 to the 1.5.2 CHANGELOG."
 > git rev-list --no-walk e181f26b6e1cb579b41813a619f68e3ed4b207ce # timeout=10
 > git tag -a -f -m Jenkins Build #76 jenkins-Mesos-Docker-CentOS-76 # 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/jenkins6242878490985827424.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

Build failed in Jenkins: Mesos-Docker-CentOS #75

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Mesos-Docker-CentOS/75/display/redirect?page=changes>

Changes:

[songzihao1990] Explicitly marked functions `override` in cgroup subsystems.

[songzihao1990] Renamed cgroups subsystem processes.

[songzihao1990] Introduced wrapper for access to cgroups system access.

[songzihao1990] Added MESOS-8786 to 1.6.1 CHANGELOG.

[songzihao1990] Added MESOS-8786 to 1.5.1 CHANGELOG.

[songzihao1990] Added MESOS-8786 to 1.4.2 CHANGELOG.

[songzihao1990] Added MESOS-8786 to 1.3.3 CHANGELOG.

[songzihao1990] Added MESOS-8624 to 1.5.1 CHANGELOG.

[songzihao1990] Added MESOS-8741 to 1.5.1 CHANGELOG.

[songzihao1990] Removed 1.5.1 CHANGELOG's WIP.

[zhitaoli.cs] Removed unnecessary expectation on termination.

[chhsiao] Made `UriDiskProfileAdaptor` be able to update profile selectors.

[chhsiao] Added MESOS-8906 to the 1.6.1 CHANGELOG.

[chhsiao] Added MESOS-8906 to the 1.5.2 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 e181f26b6e1cb579b41813a619f68e3ed4b207ce (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f e181f26b6e1cb579b41813a619f68e3ed4b207ce
Commit message: "Added MESOS-8906 to the 1.5.2 CHANGELOG."
 > git rev-list --no-walk 77279f0256d12edc8208dfd96a88fea205bde8a4 # timeout=10
 > git tag -a -f -m Jenkins Build #75 jenkins-Mesos-Docker-CentOS-75 # 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/jenkins1557850965452596645.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