SuccessConsole Output

GitHub pull request #6 of commit 2a709779b1a277587c37fc49b42770dfe5e665ae, no merge conflicts.
Setting status of 2a709779b1a277587c37fc49b42770dfe5e665ae to PENDING with url https://ci.openshift.redhat.com/jenkins/job/openldap/5/ and message: 'Build started sha1 is merged.'
Building in workspace /var/lib/jenkins/jobs/openldap/workspace
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/openshift/openldap # timeout=10
Fetching upstream changes from https://github.com/openshift/openldap
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/openshift/openldap +refs/pull/*:refs/remotes/origin/pr/*
 > git rev-parse refs/remotes/origin/pr/6/merge^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/pr/6/merge^{commit} # timeout=10
Checking out Revision 06c296dd72c1c2b0156c682f48e114c3b3672790 (refs/remotes/origin/pr/6/merge)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 06c296dd72c1c2b0156c682f48e114c3b3672790
First time build. Skipping changelog.
[workspace] $ /bin/sh -xe /tmp/hudson2253254988432160186.sh
+ image=openshift/openldap:latest
+ vagrant openshift-local-checkout --replace
You don't seem to have the GOPATH environment variable set on your system.
See: 'go help gopath' for more details about GOPATH.
Waiting for the cloning process to finish
Replacing: /var/lib/jenkins/jobs/openldap/workspace/origin
Cloning origin ...
Replacing: /var/lib/jenkins/jobs/openldap/workspace/source-to-image
Cloning source-to-image ...
OpenShift repositories cloned into /var/lib/jenkins/jobs/openldap/workspace
+ pushd origin
~/jobs/openldap/workspace/origin ~/jobs/openldap/workspace
+ vagrant origin-init --os rhel7 --stage inst devenv-openldap-5
Reading AWS credentials from /var/lib/jenkins/.awscred
Searching for latest base AMI
Found: ami-9979d1f2 (devenv-rhel7_2144)
+ vagrant up --provider aws
Bringing machine 'openshiftdev' up with 'aws' provider...
==> openshiftdev: Warning! The AWS provider doesn't support any of the Vagrant
==> openshiftdev: high-level network configurations (`config.vm.network`). They
==> openshiftdev: will be silently ignored.
==> openshiftdev: Launching an instance with the following settings...
==> openshiftdev:  -- Type: c3.large
==> openshiftdev:  -- AMI: ami-9979d1f2
==> openshiftdev:  -- Region: us-east-1
==> openshiftdev:  -- Keypair: libra
==> openshiftdev:  -- User Data: yes
==> openshiftdev:  -- User Data: 
==> openshiftdev: #cloud-config
==> openshiftdev: 
==> openshiftdev: growpart:
==> openshiftdev:   mode: auto
==> openshiftdev:   devices: ['/']
==> openshiftdev: runcmd:
==> openshiftdev: - [ sh, -xc, "sed -i s/^Defaults.*requiretty/#Defaults requiretty/g /etc/sudoers"]
==> openshiftdev:         
==> openshiftdev:  -- Block Device Mapping: [{"DeviceName"=>"/dev/sda1", "Ebs.VolumeSize"=>25, "Ebs.VolumeType"=>"gp2"}]
==> openshiftdev:  -- Terminate On Shutdown: false
==> openshiftdev:  -- Monitoring: false
==> openshiftdev:  -- EBS optimized: false
==> openshiftdev:  -- Assigning a public IP address in a VPC: false
==> openshiftdev: Waiting for instance to become "ready"...
==> openshiftdev: Waiting for SSH to become available...
==> openshiftdev: Machine is booted and ready for use!
==> openshiftdev: Running provisioner: setup (shell)...
    openshiftdev: Running: /tmp/vagrant-shell20150812-9134-ttk2mc.sh
==> openshiftdev: Host: ec2-54-166-25-186.compute-1.amazonaws.com
+ vagrant build-sti --binary-only
Running command '
pushd /data/src/github.com/openshift/source-to-image
  commit_id=`git rev-parse $(git rev-parse --abbrev-ref HEAD)`
  git_status=$(git status --porcelain)
  if [ -f ~/sync/source-to-image ]
  then
    previous_commit_id=$(cat ~/sync/source-to-image)
  fi
  if [ "$previous_commit_id" != "$commit_id" ] || [ -n "$git_status" ]
  then
    
echo "Performing source-to-image build..."
set -e
hack/build-go.sh

  else
    echo "Commit ID: $commit_id"
    echo "Previous Commit ID: $previous_commit_id"
    echo "Git Status: $git_status"
    echo "No update for source-to-image, $(git rev-parse --abbrev-ref HEAD)"
  fi
  mkdir -p ~/sync
  echo -n $commit_id > ~/sync/source-to-image
popd
        '
/data/src/github.com/openshift/source-to-image ~
Commit ID: d1e0f5b9be118a45e21eddafc42b155966227dee
Previous Commit ID: d1e0f5b9be118a45e21eddafc42b155966227dee
Git Status: 
No update for source-to-image, master
~
+ vagrant test-openshift-image --image openldap --source openshift/openldap --ref 2a709779b1a277587c37fc49b42770dfe5e665ae
Running command '
set -x

# NOTE: This is only for rhel7
if [ -n "" -a -f /etc/sysconfig/docker ]; then
  cat <<EOF > /etc/sysconfig/docker
OPTIONS='--insecure-registry  --selinux-enabled'
EOF
  systemctl restart docker
fi

# so we can call sti
PATH=/data/src/github.com/openshift/source-to-image/_output/go/bin:/data/src/github.com/openshift/source-to-image/_output/local/go/bin:$PATH

# create a temp dir to play in
temp_dir=$(mktemp -d /tmp/image_test.XXXXXXX)

# set correct SELinux context
chcon -t docker_share_t $temp_dir

cd $temp_dir

# clone the image repo
git clone https://github.com/openshift/openldap
cd openldap

# Fetch refs from Github pull requests
git fetch --quiet --tags --progress https://github.com/openshift/openldap +refs/pull/*:refs/remotes/origin/pr/*

# switch to the desired ref
git checkout 2a709779b1a277587c37fc49b42770dfe5e665ae

if [ "false" == "true" -a -n "" ]; then
  # Pull base images
  docker pull /openshift/base-centos7 && docker tag /openshift/base-centos7 openshift/base-centos7
  docker pull /openshift/base-rhel7 && docker tag /openshift/base-rhel7 openshift/base-rhel7
fi

if ! make test TARGET=rhel7; then
    echo "ERROR: openldap-rhel7 failed testing."
    exit 1
fi
  
if ! make test TARGET=centos7; then
    echo "ERROR: openldap-centos7 failed testing."
    exit 1
fi

# clean up
cd /
rm -rf $temp_dir
exit $status
'
+ '[' -n '' -a -f /etc/sysconfig/docker ']'
+ PATH=/data/src/github.com/openshift/source-to-image/_output/go/bin:/data/src/github.com/openshift/source-to-image/_output/local/go/bin:/data/src/github.com/openshift/origin/_output/etcd/bin:/data/src/github.com/openshift/origin/_output/local/go/bin/:/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/root/bin
++ mktemp -d /tmp/image_test.XXXXXXX
+ temp_dir=/tmp/image_test.FUkkkAw
+ chcon -t docker_share_t /tmp/image_test.FUkkkAw
+ cd /tmp/image_test.FUkkkAw
+ git clone https://github.com/openshift/openldap
Cloning into 'openldap'...
+ cd openldap
+ git fetch --quiet --tags --progress https://github.com/openshift/openldap '+refs/pull/*:refs/remotes/origin/pr/*'
remote: Counting objects: 134, done.
remote: Compressing objects:   1% (1/96)   
remote: Compressing objects:   2% (2/96)   
remote: Compressing objects:   3% (3/96)   
remote: Compressing objects:   4% (4/96)   
remote: Compressing objects:   5% (5/96)   
remote: Compressing objects:   6% (6/96)   
remote: Compressing objects:   7% (7/96)   
remote: Compressing objects:   8% (8/96)   
remote: Compressing objects:   9% (9/96)   
remote: Compressing objects:  10% (10/96)   
remote: Compressing objects:  11% (11/96)   
remote: Compressing objects:  12% (12/96)   
remote: Compressing objects:  13% (13/96)   
remote: Compressing objects:  14% (14/96)   
remote: Compressing objects:  15% (15/96)   
remote: Compressing objects:  16% (16/96)   
remote: Compressing objects:  17% (17/96)   
remote: Compressing objects:  18% (18/96)   
remote: Compressing objects:  19% (19/96)   
remote: Compressing objects:  20% (20/96)   
remote: Compressing objects:  21% (21/96)   
remote: Compressing objects:  22% (22/96)   
remote: Compressing objects:  23% (23/96)   
remote: Compressing objects:  25% (24/96)   
remote: Compressing objects:  26% (25/96)   
remote: Compressing objects:  27% (26/96)   
remote: Compressing objects:  28% (27/96)   
remote: Compressing objects:  29% (28/96)   
remote: Compressing objects:  30% (29/96)   
remote: Compressing objects:  31% (30/96)   
remote: Compressing objects:  32% (31/96)   
remote: Compressing objects:  33% (32/96)   
remote: Compressing objects:  34% (33/96)   
remote: Compressing objects:  35% (34/96)   
remote: Compressing objects:  36% (35/96)   
remote: Compressing objects:  37% (36/96)   
remote: Compressing objects:  38% (37/96)   
remote: Compressing objects:  39% (38/96)   
remote: Compressing objects:  40% (39/96)   
remote: Compressing objects:  41% (40/96)   
remote: Compressing objects:  42% (41/96)   
remote: Compressing objects:  43% (42/96)   
remote: Compressing objects:  44% (43/96)   
remote: Compressing objects:  45% (44/96)   
remote: Compressing objects:  46% (45/96)   
remote: Compressing objects:  47% (46/96)   
remote: Compressing objects:  48% (47/96)   
remote: Compressing objects:  50% (48/96)   
remote: Compressing objects:  51% (49/96)   
remote: Compressing objects:  52% (50/96)   
remote: Compressing objects:  53% (51/96)   
remote: Compressing objects:  54% (52/96)   
remote: Compressing objects:  55% (53/96)   
remote: Compressing objects:  56% (54/96)   
remote: Compressing objects:  57% (55/96)   
remote: Compressing objects:  58% (56/96)   
remote: Compressing objects:  59% (57/96)   
remote: Compressing objects:  60% (58/96)   
remote: Compressing objects:  61% (59/96)   
remote: Compressing objects:  62% (60/96)   
remote: Compressing objects:  63% (61/96)   
remote: Compressing objects:  64% (62/96)   
remote: Compressing objects:  65% (63/96)   
remote: Compressing objects:  66% (64/96)   
remote: Compressing objects:  67% (65/96)   
remote: Compressing objects:  68% (66/96)   
remote: Compressing objects:  69% (67/96)   
remote: Compressing objects:  70% (68/96)   
remote: Compressing objects:  71% (69/96)   
remote: Compressing objects:  72% (70/96)   
remote: Compressing objects:  73% (71/96)   
remote: Compressing objects:  75% (72/96)   
remote: Compressing objects:  76% (73/96)   
remote: Compressing objects:  77% (74/96)   
remote: Compressing objects:  78% (75/96)   
remote: Compressing objects:  79% (76/96)   
remote: Compressing objects:  80% (77/96)   
remote: Compressing objects:  81% (78/96)   
remote: Compressing objects:  82% (79/96)   
remote: Compressing objects:  83% (80/96)   
remote: Compressing objects:  84% (81/96)   
remote: Compressing objects:  85% (82/96)   
remote: Compressing objects:  86% (83/96)   
remote: Compressing objects:  87% (84/96)   
remote: Compressing objects:  88% (85/96)   
remote: Compressing objects:  89% (86/96)   
remote: Compressing objects:  90% (87/96)   
remote: Compressing objects:  91% (88/96)   
remote: Compressing objects:  92% (89/96)   
remote: Compressing objects:  93% (90/96)   
remote: Compressing objects:  94% (91/96)   
remote: Compressing objects:  95% (92/96)   
remote: Compressing objects:  96% (93/96)   
remote: Compressing objects:  97% (94/96)   
remote: Compressing objects:  98% (95/96)   
remote: Compressing objects: 100% (96/96)   
remote: Compressing objects: 100% (96/96), done.
Receiving objects:   0% (1/134)   
Receiving objects:   1% (2/134)   
Receiving objects:   2% (3/134)   
Receiving objects:   3% (5/134)   
Receiving objects:   4% (6/134)   
Receiving objects:   5% (7/134)   
Receiving objects:   6% (9/134)   
Receiving objects:   7% (10/134)   
Receiving objects:   8% (11/134)   
Receiving objects:   9% (13/134)   
Receiving objects:  10% (14/134)   
Receiving objects:  11% (15/134)   
Receiving objects:  12% (17/134)   
Receiving objects:  13% (18/134)   
Receiving objects:  14% (19/134)   
Receiving objects:  15% (21/134)   
Receiving objects:  16% (22/134)   
Receiving objects:  17% (23/134)   
Receiving objects:  18% (25/134)   
Receiving objects:  19% (26/134)   
Receiving objects:  20% (27/134)   
Receiving objects:  21% (29/134)   
Receiving objects:  22% (30/134)   
Receiving objects:  23% (31/134)   
Receiving objects:  24% (33/134)   
Receiving objects:  25% (34/134)   
Receiving objects:  26% (35/134)   
Receiving objects:  27% (37/134)   
Receiving objects:  28% (38/134)   
Receiving objects:  29% (39/134)   
Receiving objects:  30% (41/134)   
Receiving objects:  31% (42/134)   
Receiving objects:  32% (43/134)   
Receiving objects:  33% (45/134)   
Receiving objects:  34% (46/134)   
Receiving objects:  35% (47/134)   
Receiving objects:  36% (49/134)   
Receiving objects:  37% (50/134)   
Receiving objects:  38% (51/134)   
Receiving objects:  39% (53/134)   
Receiving objects:  40% (54/134)   
Receiving objects:  41% (55/134)   
Receiving objects:  42% (57/134)   
Receiving objects:  43% (58/134)   
Receiving objects:  44% (59/134)   
Receiving objects:  45% (61/134)   
Receiving objects:  46% (62/134)   
Receiving objects:  47% (63/134)   
Receiving objects:  48% (65/134)   
Receiving objects:  49% (66/134)   
Receiving objects:  50% (67/134)   
Receiving objects:  51% (69/134)   
Receiving objects:  52% (70/134)   
Receiving objects:  53% (72/134)   
Receiving objects:  54% (73/134)   
Receiving objects:  55% (74/134)   
Receiving objects:  56% (76/134)   
Receiving objects:  57% (77/134)   
Receiving objects:  58% (78/134)   
Receiving objects:  59% (80/134)   
Receiving objects:  60% (81/134)   
Receiving objects:  61% (82/134)   
Receiving objects:  62% (84/134)   
Receiving objects:  63% (85/134)   
Receiving objects:  64% (86/134)   
Receiving objects:  65% (88/134)   
Receiving objects:  66% (89/134)   
Receiving objects:  67% (90/134)   
Receiving objects:  68% (92/134)   
Receiving objects:  69% (93/134)   
Receiving objects:  70% (94/134)   
Receiving objects:  71% (96/134)   
Receiving objects:  72% (97/134)   
Receiving objects:  73% (98/134)   
Receiving objects:  74% (100/134)   
Receiving objects:  75% (101/134)   
Receiving objects:  76% (102/134)   
Receiving objects:  77% (104/134)   
remote: Total 134 (delta 32), reused 2 (delta 2), pack-reused 31
Receiving objects:  78% (105/134), 428.00 KiB | 561.00 KiB/s   
Receiving objects:  79% (106/134), 428.00 KiB | 561.00 KiB/s   
Receiving objects:  80% (108/134), 428.00 KiB | 561.00 KiB/s   
Receiving objects:  81% (109/134), 428.00 KiB | 561.00 KiB/s   
Receiving objects:  82% (110/134), 428.00 KiB | 561.00 KiB/s   
Receiving objects:  83% (112/134), 428.00 KiB | 561.00 KiB/s   
Receiving objects:  84% (113/134), 428.00 KiB | 561.00 KiB/s   
Receiving objects:  85% (114/134), 428.00 KiB | 561.00 KiB/s   
Receiving objects:  86% (116/134), 428.00 KiB | 561.00 KiB/s   
Receiving objects:  87% (117/134), 428.00 KiB | 561.00 KiB/s   
Receiving objects:  88% (118/134), 428.00 KiB | 561.00 KiB/s   
Receiving objects:  89% (120/134), 428.00 KiB | 561.00 KiB/s   
Receiving objects:  90% (121/134), 428.00 KiB | 561.00 KiB/s   
Receiving objects:  91% (122/134), 428.00 KiB | 561.00 KiB/s   
Receiving objects:  92% (124/134), 428.00 KiB | 561.00 KiB/s   
Receiving objects:  93% (125/134), 428.00 KiB | 561.00 KiB/s   
Receiving objects:  94% (126/134), 428.00 KiB | 561.00 KiB/s   
Receiving objects:  95% (128/134), 428.00 KiB | 561.00 KiB/s   
Receiving objects:  96% (129/134), 428.00 KiB | 561.00 KiB/s   
Receiving objects:  97% (130/134), 428.00 KiB | 561.00 KiB/s   
Receiving objects:  98% (132/134), 428.00 KiB | 561.00 KiB/s   
Receiving objects:  99% (133/134), 428.00 KiB | 561.00 KiB/s   
Receiving objects: 100% (134/134), 428.00 KiB | 561.00 KiB/s   
Receiving objects: 100% (134/134), 439.27 KiB | 561.00 KiB/s, done.
Resolving deltas:   0% (0/40)   
Resolving deltas:   2% (1/40)   
Resolving deltas:  12% (5/40)   
Resolving deltas:  15% (6/40)   
Resolving deltas:  17% (7/40)   
Resolving deltas:  20% (8/40)   
Resolving deltas:  22% (9/40)   
Resolving deltas:  27% (11/40)   
Resolving deltas:  32% (13/40)   
Resolving deltas:  37% (15/40)   
Resolving deltas:  50% (20/40)   
Resolving deltas:  52% (21/40)   
Resolving deltas:  55% (22/40)   
Resolving deltas:  62% (25/40)   
Resolving deltas:  65% (26/40)   
Resolving deltas:  67% (27/40)   
Resolving deltas:  70% (28/40)   
Resolving deltas:  85% (34/40)   
Resolving deltas:  87% (35/40)   
Resolving deltas:  92% (37/40)   
Resolving deltas:  95% (38/40)   
Resolving deltas: 100% (40/40)   
Resolving deltas: 100% (40/40), done.
+ git checkout 2a709779b1a277587c37fc49b42770dfe5e665ae
Note: checking out '2a709779b1a277587c37fc49b42770dfe5e665ae'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at 2a70977... Added OpenLDAP 2.4.41 image
+ '[' false == true -a -n '' ']'
+ make test TARGET=rhel7
SKIP_SQUASH=0 VERSIONS="2.4.41" TAG_ON_SUCCESS= TEST_MODE=true hack/build.sh rhel7 
-> Building openshift/openldap-2441-rhel7-candidate ...
Sending build context to Docker daemon 557.1 kB
Sending build context to Docker daemon 1.114 MB
Sending build context to Docker daemon 1.671 MB
Sending build context to Docker daemon 2.228 MB
Sending build context to Docker daemon 2.785 MB
Sending build context to Docker daemon 3.342 MB
Sending build context to Docker daemon 3.899 MB
Sending build context to Docker daemon 4.456 MB
Sending build context to Docker daemon 5.014 MB
Sending build context to Docker daemon 5.571 MB
Sending build context to Docker daemon 6.128 MB
Sending build context to Docker daemon 6.685 MB
Sending build context to Docker daemon 7.242 MB
Sending build context to Docker daemon 7.799 MB
Sending build context to Docker daemon 8.356 MB
Sending build context to Docker daemon 8.913 MB
Sending build context to Docker daemon  9.47 MB
Sending build context to Docker daemon 10.03 MB
Sending build context to Docker daemon 10.58 MB
Sending build context to Docker daemon 11.14 MB
Sending build context to Docker daemon  11.7 MB
Sending build context to Docker daemon 12.26 MB
Sending build context to Docker daemon 12.81 MB
Sending build context to Docker daemon 13.37 MB
Sending build context to Docker daemon 13.93 MB
Sending build context to Docker daemon 14.48 MB
Sending build context to Docker daemon 15.04 MB
Sending build context to Docker daemon  15.6 MB
Sending build context to Docker daemon 16.15 MB
Sending build context to Docker daemon 16.71 MB
Sending build context to Docker daemon 17.27 MB
Sending build context to Docker daemon 17.83 MB
Sending build context to Docker daemon 18.38 MB
Sending build context to Docker daemon 18.94 MB
Sending build context to Docker daemon  19.5 MB
Sending build context to Docker daemon 20.05 MB
Sending build context to Docker daemon 20.61 MB
Sending build context to Docker daemon 21.17 MB
Sending build context to Docker daemon 21.73 MB
Sending build context to Docker daemon 22.28 MB
Sending build context to Docker daemon 22.84 MB
Sending build context to Docker daemon  23.4 MB
Sending build context to Docker daemon 23.95 MB
Sending build context to Docker daemon 24.51 MB
Sending build context to Docker daemon 25.07 MB
Sending build context to Docker daemon 25.62 MB
Sending build context to Docker daemon 26.18 MB
Sending build context to Docker daemon 26.74 MB
Sending build context to Docker daemon  27.3 MB
Sending build context to Docker daemon 27.85 MB
Sending build context to Docker daemon 28.41 MB
Sending build context to Docker daemon 28.97 MB
Sending build context to Docker daemon 29.52 MB
Sending build context to Docker daemon 30.08 MB
Sending build context to Docker daemon 30.64 MB
Sending build context to Docker daemon  31.2 MB
Sending build context to Docker daemon 31.75 MB
Sending build context to Docker daemon 32.31 MB
Sending build context to Docker daemon 32.87 MB
Sending build context to Docker daemon 33.42 MB
Sending build context to Docker daemon 33.98 MB
Sending build context to Docker daemon 34.54 MB
Sending build context to Docker daemon 34.64 MB

Sending build context to Docker daemon 
Step 0 : FROM centos:centos7
 ---> 7322fbe74aa5
Step 1 : MAINTAINER Steve Kuznetsov <skuznets@redhat.com>
 ---> Running in 08e255cbd674
 ---> f6528e2b16b2
Removing intermediate container 08e255cbd674
Step 2 : LABEL io.k8s.description "OpenLDAP is an open source implementation of the Lightweight Directory Access Protocol." io.k8s.display-name "OpenLDAP 2.4.41" io.openshift.expose-services "389:ldap,636:ldaps" io.openshift.tags "directory,ldap,openldap,openldap2441" io.openshift.non-scalable "true"
 ---> Running in 4595c34e3c26
 ---> 94b79992ce03
Removing intermediate container 4595c34e3c26
Step 3 : COPY ./contrib/config /opt/openshift/config
 ---> 8f243b03db29
Removing intermediate container 6d84100e6ce7
Step 4 : COPY ./contrib/lib /opt/openshift/lib
 ---> 59613c60cada
Removing intermediate container c50d377b4795
Step 5 : COPY run-*.sh /usr/local/bin/
 ---> cbeab0a43e67
Removing intermediate container 8eb44ce45c45
Step 6 : COPY contrib/*.ldif /usr/local/etc/openldap/
 ---> 9e2c1036c89a
Removing intermediate container 6db3c16aa2f0
Step 7 : COPY contrib/DB_CONFIG /usr/local/etc/openldap/
 ---> 48f5fdd14425
Removing intermediate container f6a4a31dbc2d
Step 8 : RUN yum install -y openldap openldap-servers openldap-clients &&     yum clean all -y &&     setcap 'cap_net_bind_service=+ep' /usr/sbin/slapd &&     mkdir -p /var/lib/ldap &&     chmod a+rwx -R /var/lib/ldap &&     mkdir -p /etc/openldap &&     chmod a+rwx -R /etc/openldap &&     mkdir -p /var/run/openldap &&     chmod a+rwx -R /var/run/openldap &&     chmod -R a+rw /opt/openshift
 ---> Running in e8382357c9a7
Loaded plugins: fastestmirror
Determining fastest mirrors
 * base: mirrors.lga7.us.voxel.net
 * extras: mirrors.advancedhosters.com
 * updates: mirror.cogentco.com
Package openldap-2.4.39-6.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package openldap-clients.x86_64 0:2.4.39-6.el7 will be installed
---> Package openldap-servers.x86_64 0:2.4.39-6.el7 will be installed
--> Processing Dependency: perl(warnings) for package: openldap-servers-2.4.39-6.el7.x86_64
--> Processing Dependency: perl(strict) for package: openldap-servers-2.4.39-6.el7.x86_64
--> Processing Dependency: perl(POSIX) for package: openldap-servers-2.4.39-6.el7.x86_64
--> Processing Dependency: libwrap.so.0()(64bit) for package: openldap-servers-2.4.39-6.el7.x86_64
--> Processing Dependency: libperl.so()(64bit) for package: openldap-servers-2.4.39-6.el7.x86_64
--> Processing Dependency: libltdl.so.7()(64bit) for package: openldap-servers-2.4.39-6.el7.x86_64
--> Running transaction check
---> Package libtool-ltdl.x86_64 0:2.4.2-20.el7 will be installed
---> Package perl.x86_64 4:5.16.3-285.el7 will be installed
--> Processing Dependency: perl(Socket) >= 1.3 for package: 4:perl-5.16.3-285.el7.x86_64
--> Processing Dependency: perl(Scalar::Util) >= 1.10 for package: 4:perl-5.16.3-285.el7.x86_64
--> Processing Dependency: perl-macros for package: 4:perl-5.16.3-285.el7.x86_64
--> Processing Dependency: perl(threads::shared) for package: 4:perl-5.16.3-285.el7.x86_64
--> Processing Dependency: perl(threads) for package: 4:perl-5.16.3-285.el7.x86_64
--> Processing Dependency: perl(constant) for package: 4:perl-5.16.3-285.el7.x86_64
--> Processing Dependency: perl(Time::Local) for package: 4:perl-5.16.3-285.el7.x86_64
--> Processing Dependency: perl(Time::HiRes) for package: 4:perl-5.16.3-285.el7.x86_64
--> Processing Dependency: perl(Storable) for package: 4:perl-5.16.3-285.el7.x86_64
--> Processing Dependency: perl(Socket) for package: 4:perl-5.16.3-285.el7.x86_64
--> Processing Dependency: perl(Scalar::Util) for package: 4:perl-5.16.3-285.el7.x86_64
--> Processing Dependency: perl(Pod::Simple::XHTML) for package: 4:perl-5.16.3-285.el7.x86_64
--> Processing Dependency: perl(Pod::Simple::Search) for package: 4:perl-5.16.3-285.el7.x86_64
--> Processing Dependency: perl(Getopt::Long) for package: 4:perl-5.16.3-285.el7.x86_64
--> Processing Dependency: perl(Filter::Util::Call) for package: 4:perl-5.16.3-285.el7.x86_64
--> Processing Dependency: perl(File::Temp) for package: 4:perl-5.16.3-285.el7.x86_64
--> Processing Dependency: perl(File::Spec::Unix) for package: 4:perl-5.16.3-285.el7.x86_64
--> Processing Dependency: perl(File::Spec::Functions) for package: 4:perl-5.16.3-285.el7.x86_64
--> Processing Dependency: perl(File::Spec) for package: 4:perl-5.16.3-285.el7.x86_64
--> Processing Dependency: perl(File::Path) for package: 4:perl-5.16.3-285.el7.x86_64
--> Processing Dependency: perl(Exporter) for package: 4:perl-5.16.3-285.el7.x86_64
--> Processing Dependency: perl(Cwd) for package: 4:perl-5.16.3-285.el7.x86_64
--> Processing Dependency: perl(Carp) for package: 4:perl-5.16.3-285.el7.x86_64
---> Package perl-libs.x86_64 4:5.16.3-285.el7 will be installed
---> Package tcp_wrappers-libs.x86_64 0:7.6-77.el7 will be installed
--> Running transaction check
---> Package perl-Carp.noarch 0:1.26-244.el7 will be installed
---> Package perl-Exporter.noarch 0:5.68-3.el7 will be installed
---> Package perl-File-Path.noarch 0:2.09-2.el7 will be installed
---> Package perl-File-Temp.noarch 0:0.23.01-3.el7 will be installed
---> Package perl-Filter.x86_64 0:1.49-3.el7 will be installed
---> Package perl-Getopt-Long.noarch 0:2.40-2.el7 will be installed
--> Processing Dependency: perl(Pod::Usage) >= 1.14 for package: perl-Getopt-Long-2.40-2.el7.noarch
--> Processing Dependency: perl(Text::ParseWords) for package: perl-Getopt-Long-2.40-2.el7.noarch
---> Package perl-PathTools.x86_64 0:3.40-5.el7 will be installed
---> Package perl-Pod-Simple.noarch 1:3.28-4.el7 will be installed
--> Processing Dependency: perl(Pod::Escapes) >= 1.04 for package: 1:perl-Pod-Simple-3.28-4.el7.noarch
--> Processing Dependency: perl(Encode) for package: 1:perl-Pod-Simple-3.28-4.el7.noarch
---> Package perl-Scalar-List-Utils.x86_64 0:1.27-248.el7 will be installed
---> Package perl-Socket.x86_64 0:2.010-3.el7 will be installed
---> Package perl-Storable.x86_64 0:2.45-3.el7 will be installed
---> Package perl-Time-HiRes.x86_64 4:1.9725-3.el7 will be installed
---> Package perl-Time-Local.noarch 0:1.2300-2.el7 will be installed
---> Package perl-constant.noarch 0:1.27-2.el7 will be installed
---> Package perl-macros.x86_64 4:5.16.3-285.el7 will be installed
---> Package perl-threads.x86_64 0:1.87-4.el7 will be installed
---> Package perl-threads-shared.x86_64 0:1.43-6.el7 will be installed
--> Running transaction check
---> Package perl-Encode.x86_64 0:2.51-7.el7 will be installed
---> Package perl-Pod-Escapes.noarch 1:1.04-285.el7 will be installed
---> Package perl-Pod-Usage.noarch 0:1.63-3.el7 will be installed
--> Processing Dependency: perl(Pod::Text) >= 3.15 for package: perl-Pod-Usage-1.63-3.el7.noarch
--> Processing Dependency: perl-Pod-Perldoc for package: perl-Pod-Usage-1.63-3.el7.noarch
---> Package perl-Text-ParseWords.noarch 0:3.29-4.el7 will be installed
--> Running transaction check
---> Package perl-Pod-Perldoc.noarch 0:3.20-4.el7 will be installed
--> Processing Dependency: perl(parent) for package: perl-Pod-Perldoc-3.20-4.el7.noarch
--> Processing Dependency: perl(HTTP::Tiny) for package: perl-Pod-Perldoc-3.20-4.el7.noarch
---> Package perl-podlators.noarch 0:2.5.1-3.el7 will be installed
--> Running transaction check
---> Package perl-HTTP-Tiny.noarch 0:0.033-3.el7 will be installed
---> Package perl-parent.noarch 1:0.225-244.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                     Arch        Version                Repository
                                                                           Size
================================================================================
Installing:
 openldap-clients            x86_64      2.4.39-6.el7           base      184 k
 openldap-servers            x86_64      2.4.39-6.el7           base      2.1 M
Installing for dependencies:
 libtool-ltdl                x86_64      2.4.2-20.el7           base       49 k
 perl                        x86_64      4:5.16.3-285.el7       base      8.0 M
 perl-Carp                   noarch      1.26-244.el7           base       19 k
 perl-Encode                 x86_64      2.51-7.el7             base      1.5 M
 perl-Exporter               noarch      5.68-3.el7             base       28 k
 perl-File-Path              noarch      2.09-2.el7             base       26 k
 perl-File-Temp              noarch      0.23.01-3.el7          base       56 k
 perl-Filter                 x86_64      1.49-3.el7             base       76 k
 perl-Getopt-Long            noarch      2.40-2.el7             base       56 k
 perl-HTTP-Tiny              noarch      0.033-3.el7            base       38 k
 perl-PathTools              x86_64      3.40-5.el7             base       82 k
 perl-Pod-Escapes            noarch      1:1.04-285.el7         base       50 k
 perl-Pod-Perldoc            noarch      3.20-4.el7             base       87 k
 perl-Pod-Simple             noarch      1:3.28-4.el7           base      216 k
 perl-Pod-Usage              noarch      1.63-3.el7             base       27 k
 perl-Scalar-List-Utils      x86_64      1.27-248.el7           base       36 k
 perl-Socket                 x86_64      2.010-3.el7            base       49 k
 perl-Storable               x86_64      2.45-3.el7             base       77 k
 perl-Text-ParseWords        noarch      3.29-4.el7             base       14 k
 perl-Time-HiRes             x86_64      4:1.9725-3.el7         base       45 k
 perl-Time-Local             noarch      1.2300-2.el7           base       24 k
 perl-constant               noarch      1.27-2.el7             base       19 k
 perl-libs                   x86_64      4:5.16.3-285.el7       base      687 k
 perl-macros                 x86_64      4:5.16.3-285.el7       base       42 k
 perl-parent                 noarch      1:0.225-244.el7        base       12 k
 perl-podlators              noarch      2.5.1-3.el7            base      112 k
 perl-threads                x86_64      1.87-4.el7             base       49 k
 perl-threads-shared         x86_64      1.43-6.el7             base       39 k
 tcp_wrappers-libs           x86_64      7.6-77.el7             base       66 k

Transaction Summary
================================================================================
Install  2 Packages (+29 Dependent packages)

Total download size: 14 M
Installed size: 42 M
Downloading packages:
warning: /var/cache/yum/x86_64/7/base/packages/libtool-ltdl-2.4.2-20.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Public key for libtool-ltdl-2.4.2-20.el7.x86_64.rpm is not installed
--------------------------------------------------------------------------------
Total                                              7.7 MB/s |  14 MB  00:01     
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) <security@centos.org>"
 Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
 Package    : centos-release-7-1.1503.el7.centos.2.8.x86_64 (@CentOS)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 1:perl-parent-0.225-244.el7.noarch                          1/31 
  Installing : perl-HTTP-Tiny-0.033-3.el7.noarch                           2/31 
  Installing : perl-podlators-2.5.1-3.el7.noarch                           3/31 
  Installing : perl-Pod-Perldoc-3.20-4.el7.noarch                          4/31 
  Installing : 1:perl-Pod-Escapes-1.04-285.el7.noarch                      5/31 
  Installing : perl-Encode-2.51-7.el7.x86_64                               6/31 
  Installing : perl-Text-ParseWords-3.29-4.el7.noarch                      7/31 
  Installing : perl-Pod-Usage-1.63-3.el7.noarch                            8/31 
  Installing : 4:perl-macros-5.16.3-285.el7.x86_64                         9/31 
  Installing : perl-Storable-2.45-3.el7.x86_64                            10/31 
  Installing : perl-constant-1.27-2.el7.noarch                            11/31 
  Installing : perl-Time-Local-1.2300-2.el7.noarch                        12/31 
  Installing : perl-Socket-2.010-3.el7.x86_64                             13/31 
  Installing : perl-Carp-1.26-244.el7.noarch                              14/31 
  Installing : 4:perl-Time-HiRes-1.9725-3.el7.x86_64                      15/31 
  Installing : perl-PathTools-3.40-5.el7.x86_64                           16/31 
  Installing : perl-Scalar-List-Utils-1.27-248.el7.x86_64                 17/31 
  Installing : 1:perl-Pod-Simple-3.28-4.el7.noarch                        18/31 
  Installing : perl-Exporter-5.68-3.el7.noarch                            19/31 
  Installing : perl-File-Temp-0.23.01-3.el7.noarch                        20/31 
  Installing : perl-File-Path-2.09-2.el7.noarch                           21/31 
  Installing : perl-threads-shared-1.43-6.el7.x86_64                      22/31 
  Installing : perl-threads-1.87-4.el7.x86_64                             23/31 
  Installing : perl-Filter-1.49-3.el7.x86_64                              24/31 
  Installing : 4:perl-libs-5.16.3-285.el7.x86_64                          25/31 
  Installing : perl-Getopt-Long-2.40-2.el7.noarch                         26/31 
  Installing : 4:perl-5.16.3-285.el7.x86_64                               27/31 
  Installing : tcp_wrappers-libs-7.6-77.el7.x86_64                        28/31 
  Installing : libtool-ltdl-2.4.2-20.el7.x86_64                           29/31 
  Installing : openldap-servers-2.4.39-6.el7.x86_64                       30/31 
  Installing : openldap-clients-2.4.39-6.el7.x86_64                       31/31 
  Verifying  : perl-HTTP-Tiny-0.033-3.el7.noarch                           1/31 
  Verifying  : perl-threads-shared-1.43-6.el7.x86_64                       2/31 
  Verifying  : perl-Storable-2.45-3.el7.x86_64                             3/31 
  Verifying  : libtool-ltdl-2.4.2-20.el7.x86_64                            4/31 
  Verifying  : perl-constant-1.27-2.el7.noarch                             5/31 
  Verifying  : perl-PathTools-3.40-5.el7.x86_64                            6/31 
  Verifying  : 1:perl-Pod-Escapes-1.04-285.el7.noarch                      7/31 
  Verifying  : 1:perl-parent-0.225-244.el7.noarch                          8/31 
  Verifying  : perl-File-Temp-0.23.01-3.el7.noarch                         9/31 
  Verifying  : 1:perl-Pod-Simple-3.28-4.el7.noarch                        10/31 
  Verifying  : perl-Time-Local-1.2300-2.el7.noarch                        11/31 
  Verifying  : perl-Pod-Perldoc-3.20-4.el7.noarch                         12/31 
  Verifying  : perl-Socket-2.010-3.el7.x86_64                             13/31 
  Verifying  : openldap-clients-2.4.39-6.el7.x86_64                       14/31 
  Verifying  : openldap-servers-2.4.39-6.el7.x86_64                       15/31 
  Verifying  : perl-Carp-1.26-244.el7.noarch                              16/31 
  Verifying  : perl-podlators-2.5.1-3.el7.noarch                          17/31 
  Verifying  : 4:perl-Time-HiRes-1.9725-3.el7.x86_64                      18/31 
  Verifying  : perl-Scalar-List-Utils-1.27-248.el7.x86_64                 19/31 
  Verifying  : 4:perl-macros-5.16.3-285.el7.x86_64                        20/31 
  Verifying  : perl-Pod-Usage-1.63-3.el7.noarch                           21/31 
  Verifying  : perl-Encode-2.51-7.el7.x86_64                              22/31 
  Verifying  : perl-Exporter-5.68-3.el7.noarch                            23/31 
  Verifying  : 4:perl-5.16.3-285.el7.x86_64                               24/31 
  Verifying  : perl-Getopt-Long-2.40-2.el7.noarch                         25/31 
  Verifying  : tcp_wrappers-libs-7.6-77.el7.x86_64                        26/31 
  Verifying  : perl-File-Path-2.09-2.el7.noarch                           27/31 
  Verifying  : perl-threads-1.87-4.el7.x86_64                             28/31 
  Verifying  : perl-Filter-1.49-3.el7.x86_64                              29/31 
  Verifying  : perl-Text-ParseWords-3.29-4.el7.noarch                     30/31 
  Verifying  : 4:perl-libs-5.16.3-285.el7.x86_64                          31/31 

Installed:
  openldap-clients.x86_64 0:2.4.39-6.el7 openldap-servers.x86_64 0:2.4.39-6.el7

Dependency Installed:
  libtool-ltdl.x86_64 0:2.4.2-20.el7                                            
  perl.x86_64 4:5.16.3-285.el7                                                  
  perl-Carp.noarch 0:1.26-244.el7                                               
  perl-Encode.x86_64 0:2.51-7.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-2.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-285.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-3.el7                                              
  perl-Storable.x86_64 0:2.45-3.el7                                             
  perl-Text-ParseWords.noarch 0:3.29-4.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-285.el7                                             
  perl-macros.x86_64 4:5.16.3-285.el7                                           
  perl-parent.noarch 1:0.225-244.el7                                            
  perl-podlators.noarch 0:2.5.1-3.el7                                           
  perl-threads.x86_64 0:1.87-4.el7                                              
  perl-threads-shared.x86_64 0:1.43-6.el7                                       
  tcp_wrappers-libs.x86_64 0:7.6-77.el7                                         

Complete!
Loaded plugins: fastestmirror
Cleaning repos: base extras updates
Cleaning up everything
Cleaning up list of fastest mirrors
 ---> 271462a99e2f
Removing intermediate container e8382357c9a7
Step 9 : VOLUME /var/lib/ldap /etc/openldap
 ---> Running in 688e50b83681
 ---> 12ba8e96d170
Removing intermediate container 688e50b83681
Step 10 : EXPOSE 389 636
 ---> Running in 229cc1fb9dfa
 ---> 0d7af6a8f867
Removing intermediate container 229cc1fb9dfa
Step 11 : CMD /usr/local/bin/run-openldap.sh
 ---> Running in e1accaf22ffd
 ---> e3554fbe6707
Removing intermediate container e1accaf22ffd
Step 12 : LABEL io.openshift.builder-version "2a70977"
 ---> Running in 2af06a6ca241
 ---> bdad3cba69ce
Removing intermediate container 2af06a6ca241
Successfully built bdad3cba69ce
zip_safe flag not set; analyzing archive contents...
websocket._http: module references __file__
websocket.tests.test_websocket: module references __file__
zip_safe flag not set; analyzing archive contents...
2015-08-12 09:07:51,174 root         INFO     Squashing image 'openshift/openldap-2441-rhel7-candidate'...
2015-08-12 09:07:51,222 root         INFO     Old image has 15 layers
2015-08-12 09:07:51,222 root         INFO     Attempting to squash from layer 7322fbe74aa5632b33a400959867c8ac4290e9c5112877a7754be70cfe5d66e9...
2015-08-12 09:07:51,222 root         INFO     Checking if squashing is necessary...
2015-08-12 09:07:51,222 root         INFO     We have 12 layers to squash
2015-08-12 09:07:51,223 root         INFO     Saving image bdad3cba69cead6b5f2d5d9f4b6d162c5137c78cd357122f07f08f0e334380f9 to /tmp/docker-squash-_5b__f/image.tar file...
2015-08-12 09:08:22,282 root         INFO     Image saved!
2015-08-12 09:08:22,283 root         INFO     Unpacking /tmp/docker-squash-_5b__f/image.tar tar file to /tmp/docker-squash-_5b__f/old directory
2015-08-12 09:08:24,927 root         INFO     Archive unpacked!
2015-08-12 09:08:24,928 root         INFO     New layer ID for squashed content will be: 9644efa77347e8b99040597da94471e574f277d6cda4b64044d05286161ee7fc
2015-08-12 09:08:24,928 root         INFO     Starting squashing...
2015-08-12 09:08:24,928 root         INFO     Squashing layer 'bdad3cba69cead6b5f2d5d9f4b6d162c5137c78cd357122f07f08f0e334380f9'...
2015-08-12 09:08:24,929 root         INFO     Squashing layer 'e3554fbe6707b3e81556bb5a70eae478a76f084b6a0d20b6132c37e15d5beac5'...
2015-08-12 09:08:24,929 root         INFO     Squashing layer '0d7af6a8f867c23636b17fe15a9f66766ff1dade18009b0aceaf7e5c3a333309'...
2015-08-12 09:08:24,929 root         INFO     Squashing layer '12ba8e96d1705ef8a2542f5968980fb61c5bf4199feb1f33103b95527be09a6a'...
2015-08-12 09:08:24,930 root         INFO     Squashing layer '271462a99e2f5088bb2a73cd7a42483417545e059fd72610f4f6d99219918036'...
2015-08-12 09:08:26,159 root         INFO     Squashing layer '48f5fdd1442591382ec83a558436ac7d8c34c834073d0a825672c3927049ad90'...
2015-08-12 09:08:26,163 root         INFO     Squashing layer '9e2c1036c89ac0825479b9cb4a1384a7396dec23c59e6a1d3996e9abf1955858'...
2015-08-12 09:08:26,166 root         INFO     Squashing layer 'cbeab0a43e6755fb51b4619bd54fdbe2996bd67e3c84d36fca3cd7959c8d3c4d'...
2015-08-12 09:08:26,168 root         INFO     Squashing layer '59613c60cadadc835c4ecf2f9abf74dfee63a5b1ac1d53ef17d96bc39d009728'...
2015-08-12 09:08:26,172 root         INFO     Squashing layer '8f243b03db294cf36b042e7b2ea587df9c85849089c481723029d0730e125d76'...
2015-08-12 09:08:26,189 root         INFO     Squashing layer '94b79992ce03f6507fa2fc3200dcee6dc8965986c34d120469a56d18ecee19fd'...
2015-08-12 09:08:26,189 root         INFO     Squashing layer 'f6528e2b16b24c159ac81e6d67f2b8fe9fa7a58fa84e6672482cc8bea879fc77'...
2015-08-12 09:08:26,780 root         INFO     Squashing finished!
2015-08-12 09:08:26,783 root         INFO     Squashed image name: openshift/openldap-2441-rhel7-candidate:latest
2015-08-12 09:08:44,014 root         INFO     Image registered in Docker daemon
2015-08-12 09:08:44,063 root         INFO     Done
+ shopt -s nullglob
+ IMAGE_NAME=openshift/openldap-2441-rhel7-candidate
++ mktemp --suffix=openldap_test_cidfiles -d
+ CIDFILE_DIR=/tmp/tmp.71ArhMLQROopenldap_test_cidfiles
+ trap cleanup EXIT SIGINT
+ run_tests test_container_root
+ local name=test_container_root
+ create_container test_container_root
+ local name=test_container_root
+ cidfile=/tmp/tmp.71ArhMLQROopenldap_test_cidfiles/test_container_root
+ docker run --cidfile /tmp/tmp.71ArhMLQROopenldap_test_cidfiles/test_container_root -d openshift/openldap-2441-rhel7-candidate
8bb11bef6074a7816b459e69c77d268e0c6c98080909c1c531df717c79a30e96
Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning.
++ cat /tmp/tmp.71ArhMLQROopenldap_test_cidfiles/test_container_root
Created container 8bb11bef6074a7816b459e69c77d268e0c6c98080909c1c531df717c79a30e96
+ echo 'Created container 8bb11bef6074a7816b459e69c77d268e0c6c98080909c1c531df717c79a30e96'
++ get_container_ip test_container_root
++ local id=test_container_root
+++ get_cid test_container_root
+++ local id=test_container_root
+++ shift
++++ cat /tmp/tmp.71ArhMLQROopenldap_test_cidfiles/test_container_root
+++ echo 8bb11bef6074a7816b459e69c77d268e0c6c98080909c1c531df717c79a30e96
++ docker inspect '--format={{.NetworkSettings.IPAddress}}' 8bb11bef6074a7816b459e69c77d268e0c6c98080909c1c531df717c79a30e96
+ CONTAINER_IP=172.17.0.2
+ test_connection test_container_root
+ local name=test_container_root
++ get_container_ip test_container_root
++ local id=test_container_root
+++ get_cid test_container_root
+++ local id=test_container_root
+++ shift
++++ cat /tmp/tmp.71ArhMLQROopenldap_test_cidfiles/test_container_root
+++ echo 8bb11bef6074a7816b459e69c77d268e0c6c98080909c1c531df717c79a30e96
++ docker inspect '--format={{.NetworkSettings.IPAddress}}' 8bb11bef6074a7816b459e69c77d268e0c6c98080909c1c531df717c79a30e96
  Testing OpenLDAP connection to 172.17.0.2...
+ ip=172.17.0.2
+ echo '  Testing OpenLDAP connection to 172.17.0.2...'
+ local max_attempts=20
+ local sleep_time=2
++ seq 20
+ for i in '$(seq $max_attempts)'
    Trying to connect...
+ echo '    Trying to connect...'
+ set +e
+ openldap_cmd 'objectClass%3D*'
+ url_encoded_base=dc%3Dexample%2Cdc%3Dcom
+ curl 'ldap://172.17.0.2:389/dc%3Dexample%2Cdc%3Dcom?objectClass%3D*'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (39) LDAP remote: search failed Success 
+ status=39
+ set -e
+ '[' 39 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
    Trying to connect...
+ echo '    Trying to connect...'
+ set +e
+ openldap_cmd 'objectClass%3D*'
+ url_encoded_base=dc%3Dexample%2Cdc%3Dcom
+ curl 'ldap://172.17.0.2:389/dc%3Dexample%2Cdc%3Dcom?objectClass%3D*'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    23    0    23    0     0    150      0 --:--:-- --:--:-- --:--:-- DN: dc=example,dc=com

  151
+ status=0
+ set -e
+ '[' 0 -eq 0 ']'
  Success!
+ echo '  Success!'
+ return 0
+ test_openldap test_container_root
+ echo '  Testing OpenLDAP'
  Testing OpenLDAP
+ openldap_cmd objectClass%3Dorganization
+ url_encoded_base=dc%3Dexample%2Cdc%3Dcom
+ curl 'ldap://172.17.0.2:389/dc%3Dexample%2Cdc%3Dcom?objectClass%3Dorganization'
+ grep -E dc=example,dc=com
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    23    0    23    0     0    151      0 --:--:-- --:--:-- --:--:--   152
DN: dc=example,dc=com
  Success!
+ echo '  Success!'
  Test Success!
+ echo '  Test Success!'
+ DOCKER_ARGS='-u 12345'
+ run_tests test_container_nonroot
+ local name=test_container_nonroot
+ create_container test_container_nonroot
+ local name=test_container_nonroot
+ cidfile=/tmp/tmp.71ArhMLQROopenldap_test_cidfiles/test_container_nonroot
+ docker run -u 12345 --cidfile /tmp/tmp.71ArhMLQROopenldap_test_cidfiles/test_container_nonroot -d openshift/openldap-2441-rhel7-candidate
bf653941f857d0ead40117cffeea8d94a5b82a35216eb07bb3dd268cb875158a
Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning.
++ cat /tmp/tmp.71ArhMLQROopenldap_test_cidfiles/test_container_nonroot
Created container bf653941f857d0ead40117cffeea8d94a5b82a35216eb07bb3dd268cb875158a
+ echo 'Created container bf653941f857d0ead40117cffeea8d94a5b82a35216eb07bb3dd268cb875158a'
++ get_container_ip test_container_nonroot
++ local id=test_container_nonroot
+++ get_cid test_container_nonroot
+++ local id=test_container_nonroot
+++ shift
++++ cat /tmp/tmp.71ArhMLQROopenldap_test_cidfiles/test_container_nonroot
+++ echo bf653941f857d0ead40117cffeea8d94a5b82a35216eb07bb3dd268cb875158a
++ docker inspect '--format={{.NetworkSettings.IPAddress}}' bf653941f857d0ead40117cffeea8d94a5b82a35216eb07bb3dd268cb875158a
+ CONTAINER_IP=172.17.0.3
+ test_connection test_container_nonroot
+ local name=test_container_nonroot
++ get_container_ip test_container_nonroot
++ local id=test_container_nonroot
+++ get_cid test_container_nonroot
+++ local id=test_container_nonroot
+++ shift
++++ cat /tmp/tmp.71ArhMLQROopenldap_test_cidfiles/test_container_nonroot
+++ echo bf653941f857d0ead40117cffeea8d94a5b82a35216eb07bb3dd268cb875158a
++ docker inspect '--format={{.NetworkSettings.IPAddress}}' bf653941f857d0ead40117cffeea8d94a5b82a35216eb07bb3dd268cb875158a
  Testing OpenLDAP connection to 172.17.0.3...
+ ip=172.17.0.3
+ echo '  Testing OpenLDAP connection to 172.17.0.3...'
+ local max_attempts=20
+ local sleep_time=2
++ seq 20
    Trying to connect...
+ for i in '$(seq $max_attempts)'
+ echo '    Trying to connect...'
+ set +e
+ openldap_cmd 'objectClass%3D*'
+ url_encoded_base=dc%3Dexample%2Cdc%3Dcom
+ curl 'ldap://172.17.0.3:389/dc%3Dexample%2Cdc%3Dcom?objectClass%3D*'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed connect to 172.17.0.3:389; Connection refused
+ status=7
+ set -e
+ '[' 7 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
    Trying to connect...
+ echo '    Trying to connect...'
+ set +e
+ openldap_cmd 'objectClass%3D*'
+ url_encoded_base=dc%3Dexample%2Cdc%3Dcom
+ curl 'ldap://172.17.0.3:389/dc%3Dexample%2Cdc%3Dcom?objectClass%3D*'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    23    0    23    0     0    150      0 --:--:-- --:--:-- -DN: dc=example,dc=com

-:--:--   151
+ status=0
+ set -e
+ '[' 0 -eq 0 ']'
  Success!
+ echo '  Success!'
  Testing OpenLDAP
+ return 0
+ test_openldap test_container_nonroot
+ echo '  Testing OpenLDAP'
+ openldap_cmd objectClass%3Dorganization
+ url_encoded_base=dc%3Dexample%2Cdc%3Dcom
+ curl 'ldap://172.17.0.3:389/dc%3Dexample%2Cdc%3Dcom?objectClass%3Dorganization'
+ grep -E dc=example,dc=com
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    23    0    23    0     0    151      0 --:--:-- --:--:-- --:--:--   152
DN: dc=example,dc=com
  Success!
  Test Success!
+ echo '  Success!'
+ echo '  Test Success!'
+ cleanup
+ for cidfile in '$CIDFILE_DIR/*'
++ cat /tmp/tmp.71ArhMLQROopenldap_test_cidfiles/test_container_nonroot
+ CONTAINER=bf653941f857d0ead40117cffeea8d94a5b82a35216eb07bb3dd268cb875158a
+ echo 'Stopping and removing container bf653941f857d0ead40117cffeea8d94a5b82a35216eb07bb3dd268cb875158a...'
Stopping and removing container bf653941f857d0ead40117cffeea8d94a5b82a35216eb07bb3dd268cb875158a...
+ docker stop bf653941f857d0ead40117cffeea8d94a5b82a35216eb07bb3dd268cb875158a
bf653941f857d0ead40117cffeea8d94a5b82a35216eb07bb3dd268cb875158a
++ docker inspect -f '{{.State.ExitCode}}' bf653941f857d0ead40117cffeea8d94a5b82a35216eb07bb3dd268cb875158a
+ exit_status=0
+ '[' 0 '!=' 0 ']'
+ docker rm bf653941f857d0ead40117cffeea8d94a5b82a35216eb07bb3dd268cb875158a
bf653941f857d0ead40117cffeea8d94a5b82a35216eb07bb3dd268cb875158a
+ rm /tmp/tmp.71ArhMLQROopenldap_test_cidfiles/test_container_nonroot
Done.
+ echo Done.
+ for cidfile in '$CIDFILE_DIR/*'
++ cat /tmp/tmp.71ArhMLQROopenldap_test_cidfiles/test_container_root
+ CONTAINER=8bb11bef6074a7816b459e69c77d268e0c6c98080909c1c531df717c79a30e96
Stopping and removing container 8bb11bef6074a7816b459e69c77d268e0c6c98080909c1c531df717c79a30e96...
+ echo 'Stopping and removing container 8bb11bef6074a7816b459e69c77d268e0c6c98080909c1c531df717c79a30e96...'
+ docker stop 8bb11bef6074a7816b459e69c77d268e0c6c98080909c1c531df717c79a30e96
8bb11bef6074a7816b459e69c77d268e0c6c98080909c1c531df717c79a30e96
++ docker inspect -f '{{.State.ExitCode}}' 8bb11bef6074a7816b459e69c77d268e0c6c98080909c1c531df717c79a30e96
+ exit_status=0
+ '[' 0 '!=' 0 ']'
+ docker rm 8bb11bef6074a7816b459e69c77d268e0c6c98080909c1c531df717c79a30e96
8bb11bef6074a7816b459e69c77d268e0c6c98080909c1c531df717c79a30e96
+ rm /tmp/tmp.71ArhMLQROopenldap_test_cidfiles/test_container_root
Done.
+ echo Done.
+ rmdir /tmp/tmp.71ArhMLQROopenldap_test_cidfiles
+ make test TARGET=centos7
SKIP_SQUASH=0 VERSIONS="2.4.41" TAG_ON_SUCCESS= TEST_MODE=true hack/build.sh centos7 
-> Building openshift/openldap-2441-centos7-candidate ...
Sending build context to Docker daemon 557.1 kB
Sending build context to Docker daemon 1.114 MB
Sending build context to Docker daemon 1.671 MB
Sending build context to Docker daemon 2.228 MB
Sending build context to Docker daemon 2.785 MB
Sending build context to Docker daemon 3.342 MB
Sending build context to Docker daemon 3.899 MB
Sending build context to Docker daemon 4.456 MB
Sending build context to Docker daemon 5.014 MB
Sending build context to Docker daemon 5.571 MB
Sending build context to Docker daemon 6.128 MB
Sending build context to Docker daemon 6.685 MB
Sending build context to Docker daemon 7.242 MB
Sending build context to Docker daemon 7.799 MB
Sending build context to Docker daemon 8.356 MB
Sending build context to Docker daemon 8.913 MB
Sending build context to Docker daemon  9.47 MB
Sending build context to Docker daemon 10.03 MB
Sending build context to Docker daemon 10.58 MB
Sending build context to Docker daemon 11.14 MB
Sending build context to Docker daemon  11.7 MB
Sending build context to Docker daemon 12.26 MB
Sending build context to Docker daemon 12.81 MB
Sending build context to Docker daemon 13.37 MB
Sending build context to Docker daemon 13.93 MB
Sending build context to Docker daemon 14.48 MB
Sending build context to Docker daemon 15.04 MB
Sending build context to Docker daemon  15.6 MB
Sending build context to Docker daemon 16.15 MB
Sending build context to Docker daemon 16.71 MB
Sending build context to Docker daemon 17.27 MB
Sending build context to Docker daemon 17.83 MB
Sending build context to Docker daemon 18.38 MB
Sending build context to Docker daemon 18.94 MB
Sending build context to Docker daemon  19.5 MB
Sending build context to Docker daemon 20.05 MB
Sending build context to Docker daemon 20.61 MB
Sending build context to Docker daemon 21.17 MB
Sending build context to Docker daemon 21.73 MB
Sending build context to Docker daemon 22.28 MB
Sending build context to Docker daemon 22.84 MB
Sending build context to Docker daemon  23.4 MB
Sending build context to Docker daemon 23.95 MB
Sending build context to Docker daemon 24.51 MB
Sending build context to Docker daemon 25.07 MB
Sending build context to Docker daemon 25.62 MB
Sending build context to Docker daemon 26.18 MB
Sending build context to Docker daemon 26.74 MB
Sending build context to Docker daemon  27.3 MB
Sending build context to Docker daemon 27.85 MB
Sending build context to Docker daemon 28.41 MB
Sending build context to Docker daemon 28.97 MB
Sending build context to Docker daemon 29.52 MB
Sending build context to Docker daemon 30.08 MB
Sending build context to Docker daemon 30.64 MB
Sending build context to Docker daemon  31.2 MB
Sending build context to Docker daemon 31.75 MB
Sending build context to Docker daemon 32.31 MB
Sending build context to Docker daemon 32.87 MB
Sending build context to Docker daemon 33.42 MB
Sending build context to Docker daemon 33.98 MB
Sending build context to Docker daemon 34.54 MB
Sending build context to Docker daemon 34.64 MB

Sending build context to Docker daemon 
Step 0 : FROM centos:centos7
 ---> 7322fbe74aa5
Step 1 : MAINTAINER Steve Kuznetsov <skuznets@redhat.com>
 ---> Using cache
 ---> f6528e2b16b2
Step 2 : LABEL io.k8s.description "OpenLDAP is an open source implementation of the Lightweight Directory Access Protocol." io.k8s.display-name "OpenLDAP 2.4.41" io.openshift.expose-services "389:ldap,636:ldaps" io.openshift.tags "directory,ldap,openldap,openldap2441" io.openshift.non-scalable "true"
 ---> Using cache
 ---> 94b79992ce03
Step 3 : COPY ./contrib/config /opt/openshift/config
 ---> Using cache
 ---> 8f243b03db29
Step 4 : COPY ./contrib/lib /opt/openshift/lib
 ---> Using cache
 ---> 59613c60cada
Step 5 : COPY run-*.sh /usr/local/bin/
 ---> Using cache
 ---> cbeab0a43e67
Step 6 : COPY contrib/*.ldif /usr/local/etc/openldap/
 ---> Using cache
 ---> 9e2c1036c89a
Step 7 : COPY contrib/DB_CONFIG /usr/local/etc/openldap/
 ---> Using cache
 ---> 48f5fdd14425
Step 8 : RUN yum install -y openldap openldap-servers openldap-clients &&     yum clean all -y &&     setcap 'cap_net_bind_service=+ep' /usr/sbin/slapd &&     mkdir -p /var/lib/ldap &&     chmod a+rwx -R /var/lib/ldap &&     mkdir -p /etc/openldap &&     chmod a+rwx -R /etc/openldap &&     mkdir -p /var/run/openldap &&     chmod a+rwx -R /var/run/openldap &&     chmod -R a+rw /opt/openshift
 ---> Using cache
 ---> 271462a99e2f
Step 9 : VOLUME /var/lib/ldap /etc/openldap
 ---> Using cache
 ---> 12ba8e96d170
Step 10 : EXPOSE 389 636
 ---> Using cache
 ---> 0d7af6a8f867
Step 11 : CMD /usr/local/bin/run-openldap.sh
 ---> Using cache
 ---> e3554fbe6707
Step 12 : LABEL io.openshift.builder-version "2a70977"
 ---> Using cache
 ---> bdad3cba69ce
Successfully built bdad3cba69ce
2015-08-12 09:08:57,515 root         INFO     Squashing image 'openshift/openldap-2441-centos7-candidate'...
2015-08-12 09:08:57,562 root         INFO     Old image has 15 layers
2015-08-12 09:08:57,562 root         INFO     Attempting to squash from layer 7322fbe74aa5632b33a400959867c8ac4290e9c5112877a7754be70cfe5d66e9...
2015-08-12 09:08:57,562 root         INFO     Checking if squashing is necessary...
2015-08-12 09:08:57,562 root         INFO     We have 12 layers to squash
2015-08-12 09:08:57,563 root         INFO     Saving image bdad3cba69cead6b5f2d5d9f4b6d162c5137c78cd357122f07f08f0e334380f9 to /tmp/docker-squash-uvDv0Z/image.tar file...
2015-08-12 09:09:09,802 root         INFO     Image saved!
2015-08-12 09:09:09,803 root         INFO     Unpacking /tmp/docker-squash-uvDv0Z/image.tar tar file to /tmp/docker-squash-uvDv0Z/old directory
2015-08-12 09:09:17,488 root         INFO     Archive unpacked!
2015-08-12 09:09:17,488 root         INFO     New layer ID for squashed content will be: 2976e9fd852142470ffd9802d0922edadf227fcb7cc387c51293352694c562d0
2015-08-12 09:09:17,488 root         INFO     Starting squashing...
2015-08-12 09:09:17,489 root         INFO     Squashing layer 'bdad3cba69cead6b5f2d5d9f4b6d162c5137c78cd357122f07f08f0e334380f9'...
2015-08-12 09:09:17,489 root         INFO     Squashing layer 'e3554fbe6707b3e81556bb5a70eae478a76f084b6a0d20b6132c37e15d5beac5'...
2015-08-12 09:09:17,489 root         INFO     Squashing layer '0d7af6a8f867c23636b17fe15a9f66766ff1dade18009b0aceaf7e5c3a333309'...
2015-08-12 09:09:17,490 root         INFO     Squashing layer '12ba8e96d1705ef8a2542f5968980fb61c5bf4199feb1f33103b95527be09a6a'...
2015-08-12 09:09:17,490 root         INFO     Squashing layer '271462a99e2f5088bb2a73cd7a42483417545e059fd72610f4f6d99219918036'...
2015-08-12 09:09:18,668 root         INFO     Squashing layer '48f5fdd1442591382ec83a558436ac7d8c34c834073d0a825672c3927049ad90'...
2015-08-12 09:09:18,671 root         INFO     Squashing layer '9e2c1036c89ac0825479b9cb4a1384a7396dec23c59e6a1d3996e9abf1955858'...
2015-08-12 09:09:18,674 root         INFO     Squashing layer 'cbeab0a43e6755fb51b4619bd54fdbe2996bd67e3c84d36fca3cd7959c8d3c4d'...
2015-08-12 09:09:18,676 root         INFO     Squashing layer '59613c60cadadc835c4ecf2f9abf74dfee63a5b1ac1d53ef17d96bc39d009728'...
2015-08-12 09:09:18,680 root         INFO     Squashing layer '8f243b03db294cf36b042e7b2ea587df9c85849089c481723029d0730e125d76'...
2015-08-12 09:09:18,695 root         INFO     Squashing layer '94b79992ce03f6507fa2fc3200dcee6dc8965986c34d120469a56d18ecee19fd'...
2015-08-12 09:09:18,696 root         INFO     Squashing layer 'f6528e2b16b24c159ac81e6d67f2b8fe9fa7a58fa84e6672482cc8bea879fc77'...
2015-08-12 09:09:19,287 root         INFO     Squashing finished!
2015-08-12 09:09:19,290 root         INFO     Squashed image name: openshift/openldap-2441-centos7-candidate:latest
2015-08-12 09:10:14,880 root         INFO     Image registered in Docker daemon
2015-08-12 09:10:14,929 root         INFO     Done
+ shopt -s nullglob
+ IMAGE_NAME=openshift/openldap-2441-centos7-candidate
++ mktemp --suffix=openldap_test_cidfiles -d
+ CIDFILE_DIR=/tmp/tmp.kdDFTpABtpopenldap_test_cidfiles
+ trap cleanup EXIT SIGINT
+ run_tests test_container_root
+ local name=test_container_root
+ create_container test_container_root
+ local name=test_container_root
+ cidfile=/tmp/tmp.kdDFTpABtpopenldap_test_cidfiles/test_container_root
+ docker run --cidfile /tmp/tmp.kdDFTpABtpopenldap_test_cidfiles/test_container_root -d openshift/openldap-2441-centos7-candidate
39b50e860853d3432126d28f6c5a201e05f642143e2a3644b7367d3044afb009
Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning.
++ cat /tmp/tmp.kdDFTpABtpopenldap_test_cidfiles/test_container_root
Created container 39b50e860853d3432126d28f6c5a201e05f642143e2a3644b7367d3044afb009
+ echo 'Created container 39b50e860853d3432126d28f6c5a201e05f642143e2a3644b7367d3044afb009'
++ get_container_ip test_container_root
++ local id=test_container_root
+++ get_cid test_container_root
+++ local id=test_container_root
+++ shift
++++ cat /tmp/tmp.kdDFTpABtpopenldap_test_cidfiles/test_container_root
+++ echo 39b50e860853d3432126d28f6c5a201e05f642143e2a3644b7367d3044afb009
++ docker inspect '--format={{.NetworkSettings.IPAddress}}' 39b50e860853d3432126d28f6c5a201e05f642143e2a3644b7367d3044afb009
+ CONTAINER_IP=172.17.0.4
+ test_connection test_container_root
+ local name=test_container_root
++ get_container_ip test_container_root
++ local id=test_container_root
+++ get_cid test_container_root
+++ local id=test_container_root
+++ shift
++++ cat /tmp/tmp.kdDFTpABtpopenldap_test_cidfiles/test_container_root
+++ echo 39b50e860853d3432126d28f6c5a201e05f642143e2a3644b7367d3044afb009
++ docker inspect '--format={{.NetworkSettings.IPAddress}}' 39b50e860853d3432126d28f6c5a201e05f642143e2a3644b7367d3044afb009
  Testing OpenLDAP connection to 172.17.0.4...
+ ip=172.17.0.4
+ echo '  Testing OpenLDAP connection to 172.17.0.4...'
+ local max_attempts=20
+ local sleep_time=2
++ seq 20
    Trying to connect...
+ for i in '$(seq $max_attempts)'
+ echo '    Trying to connect...'
+ set +e
+ openldap_cmd 'objectClass%3D*'
+ url_encoded_base=dc%3Dexample%2Cdc%3Dcom
+ curl 'ldap://172.17.0.4:389/dc%3Dexample%2Cdc%3Dcom?objectClass%3D*'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed connect to 172.17.0.4:389; Connection refused
+ status=7
+ set -e
+ '[' 7 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
    Trying to connect...
+ echo '    Trying to connect...'
+ set +e
+ openldap_cmd 'objectClass%3D*'
+ url_encoded_base=dc%3Dexample%2Cdc%3Dcom
+ curl 'ldap://172.17.0.4:389/dc%3Dexample%2Cdc%3Dcom?objectClass%3D*'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed connect to 172.17.0.4:389; Connection refused
+ status=7
+ set -e
+ '[' 7 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
    Trying to connect...
+ echo '    Trying to connect...'
+ set +e
+ openldap_cmd 'objectClass%3D*'
+ url_encoded_base=dc%3Dexample%2Cdc%3Dcom
+ curl 'ldap://172.17.0.4:389/dc%3Dexample%2Cdc%3Dcom?objectClass%3D*'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    23    0    23    0     0    150      0 --:--:-- --:--:-- --:--:--   151DN: dc=example,dc=com


+ status=0
+ set -e
+ '[' 0 -eq 0 ']'
  Success!
+ echo '  Success!'
+ return 0
+ test_openldap test_container_root
+ echo '  Testing OpenLDAP'
  Testing OpenLDAP
+ openldap_cmd objectClass%3Dorganization
+ url_encoded_base=dc%3Dexample%2Cdc%3Dcom
+ curl 'ldap://172.17.0.4:389/dc%3Dexample%2Cdc%3Dcom?objectClass%3Dorganization'
+ grep -E dc=example,dc=com
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    23    0    23    0     0    151      0 --:--:-- --:--:-- --:--:--   152
DN: dc=example,dc=com
  Success!
  Test Success!
+ echo '  Success!'
+ echo '  Test Success!'
+ DOCKER_ARGS='-u 12345'
+ run_tests test_container_nonroot
+ local name=test_container_nonroot
+ create_container test_container_nonroot
+ local name=test_container_nonroot
+ cidfile=/tmp/tmp.kdDFTpABtpopenldap_test_cidfiles/test_container_nonroot
+ docker run -u 12345 --cidfile /tmp/tmp.kdDFTpABtpopenldap_test_cidfiles/test_container_nonroot -d openshift/openldap-2441-centos7-candidate
6d06e660a91c8c2e9a034b596f8e1eeabd8998f3552a677e5aeb07f5ffb11649
Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning.
++ cat /tmp/tmp.kdDFTpABtpopenldap_test_cidfiles/test_container_nonroot
Created container 6d06e660a91c8c2e9a034b596f8e1eeabd8998f3552a677e5aeb07f5ffb11649
+ echo 'Created container 6d06e660a91c8c2e9a034b596f8e1eeabd8998f3552a677e5aeb07f5ffb11649'
++ get_container_ip test_container_nonroot
++ local id=test_container_nonroot
+++ get_cid test_container_nonroot
+++ local id=test_container_nonroot
+++ shift
++++ cat /tmp/tmp.kdDFTpABtpopenldap_test_cidfiles/test_container_nonroot
+++ echo 6d06e660a91c8c2e9a034b596f8e1eeabd8998f3552a677e5aeb07f5ffb11649
++ docker inspect '--format={{.NetworkSettings.IPAddress}}' 6d06e660a91c8c2e9a034b596f8e1eeabd8998f3552a677e5aeb07f5ffb11649
+ CONTAINER_IP=172.17.0.5
+ test_connection test_container_nonroot
+ local name=test_container_nonroot
++ get_container_ip test_container_nonroot
++ local id=test_container_nonroot
+++ get_cid test_container_nonroot
+++ local id=test_container_nonroot
+++ shift
++++ cat /tmp/tmp.kdDFTpABtpopenldap_test_cidfiles/test_container_nonroot
+++ echo 6d06e660a91c8c2e9a034b596f8e1eeabd8998f3552a677e5aeb07f5ffb11649
++ docker inspect '--format={{.NetworkSettings.IPAddress}}' 6d06e660a91c8c2e9a034b596f8e1eeabd8998f3552a677e5aeb07f5ffb11649
  Testing OpenLDAP connection to 172.17.0.5...
+ ip=172.17.0.5
+ echo '  Testing OpenLDAP connection to 172.17.0.5...'
+ local max_attempts=20
+ local sleep_time=2
++ seq 20
    Trying to connect...
+ for i in '$(seq $max_attempts)'
+ echo '    Trying to connect...'
+ set +e
+ openldap_cmd 'objectClass%3D*'
+ url_encoded_base=dc%3Dexample%2Cdc%3Dcom
+ curl 'ldap://172.17.0.5:389/dc%3Dexample%2Cdc%3Dcom?objectClass%3D*'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed connect to 172.17.0.5:389; Connection refused
+ status=7
+ set -e
+ '[' 7 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
    Trying to connect...
+ echo '    Trying to connect...'
+ set +e
+ openldap_cmd 'objectClass%3D*'
+ url_encoded_base=dc%3Dexample%2Cdc%3Dcom
+ curl 'ldap://172.17.0.5:389/dc%3Dexample%2Cdc%3Dcom?objectClass%3D*'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    23    0    23    0     0    150      0 --:--:-- --:--:-- --:--:--  DN: dc=example,dc=com

 151
+ status=0
+ set -e
+ '[' 0 -eq 0 ']'
+ echo '  Success!'
  Success!
+ return 0
+ test_openldap test_container_nonroot
+ echo '  Testing OpenLDAP'
  Testing OpenLDAP
+ grep -E dc=example,dc=com
+ openldap_cmd objectClass%3Dorganization
+ url_encoded_base=dc%3Dexample%2Cdc%3Dcom
+ curl 'ldap://172.17.0.5:389/dc%3Dexample%2Cdc%3Dcom?objectClass%3Dorganization'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    23    0    23    0     0    151      0 --:--:-- --:--:-- --:--:--   152
DN: dc=example,dc=com
+ echo '  Success!'
  Success!
  Test Success!
+ echo '  Test Success!'
+ cleanup
+ for cidfile in '$CIDFILE_DIR/*'
++ cat /tmp/tmp.kdDFTpABtpopenldap_test_cidfiles/test_container_nonroot
+ CONTAINER=6d06e660a91c8c2e9a034b596f8e1eeabd8998f3552a677e5aeb07f5ffb11649
+ echo 'Stopping and removing container 6d06e660a91c8c2e9a034b596f8e1eeabd8998f3552a677e5aeb07f5ffb11649...'
Stopping and removing container 6d06e660a91c8c2e9a034b596f8e1eeabd8998f3552a677e5aeb07f5ffb11649...
+ docker stop 6d06e660a91c8c2e9a034b596f8e1eeabd8998f3552a677e5aeb07f5ffb11649
6d06e660a91c8c2e9a034b596f8e1eeabd8998f3552a677e5aeb07f5ffb11649
++ docker inspect -f '{{.State.ExitCode}}' 6d06e660a91c8c2e9a034b596f8e1eeabd8998f3552a677e5aeb07f5ffb11649
+ exit_status=0
+ '[' 0 '!=' 0 ']'
+ docker rm 6d06e660a91c8c2e9a034b596f8e1eeabd8998f3552a677e5aeb07f5ffb11649
6d06e660a91c8c2e9a034b596f8e1eeabd8998f3552a677e5aeb07f5ffb11649
+ rm /tmp/tmp.kdDFTpABtpopenldap_test_cidfiles/test_container_nonroot
Done.
+ echo Done.
+ for cidfile in '$CIDFILE_DIR/*'
++ cat /tmp/tmp.kdDFTpABtpopenldap_test_cidfiles/test_container_root
+ CONTAINER=39b50e860853d3432126d28f6c5a201e05f642143e2a3644b7367d3044afb009
Stopping and removing container 39b50e860853d3432126d28f6c5a201e05f642143e2a3644b7367d3044afb009...
+ echo 'Stopping and removing container 39b50e860853d3432126d28f6c5a201e05f642143e2a3644b7367d3044afb009...'
+ docker stop 39b50e860853d3432126d28f6c5a201e05f642143e2a3644b7367d3044afb009
39b50e860853d3432126d28f6c5a201e05f642143e2a3644b7367d3044afb009
++ docker inspect -f '{{.State.ExitCode}}' 39b50e860853d3432126d28f6c5a201e05f642143e2a3644b7367d3044afb009
+ exit_status=0
+ '[' 0 '!=' 0 ']'
+ docker rm 39b50e860853d3432126d28f6c5a201e05f642143e2a3644b7367d3044afb009
39b50e860853d3432126d28f6c5a201e05f642143e2a3644b7367d3044afb009
+ rm /tmp/tmp.kdDFTpABtpopenldap_test_cidfiles/test_container_root
Done.
+ echo Done.
+ rmdir /tmp/tmp.kdDFTpABtpopenldap_test_cidfiles
+ cd /
+ rm -rf /tmp/image_test.FUkkkAw
+ exit
RC=0
+ popd
~/jobs/openldap/workspace
[PostBuildScript] - Execution post build scripts.
[workspace] $ /bin/sh -xe /tmp/hudson5551650496290304245.sh
+ pushd origin
~/jobs/openldap/workspace/origin ~/jobs/openldap/workspace
+ vagrant modify-instance -r devenv-openldap-5-terminate -s
==> openshiftdev: Renamed to devenv-openldap-5-terminate
==> openshiftdev: Stopping instance i-ee904845
==> openshiftdev: Stopped!
+ popd
~/jobs/openldap/workspace
Setting status of 2a709779b1a277587c37fc49b42770dfe5e665ae to SUCCESS with url https://ci.openshift.redhat.com/jenkins/job/openldap/5/ and message: 'Build finished. No test results found.'
Finished: SUCCESS