SuccessConsole Output

GitHub pull request #11 of commit 313eb2bac9d6e099fb4ebdfbf9485a8fbc5d390a, no merge conflicts.
Setting status of 313eb2bac9d6e099fb4ebdfbf9485a8fbc5d390a to PENDING with url https://ci.openshift.redhat.com/jenkins/job/openldap/10/ 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 -c core.askpass=true fetch --tags --progress https://github.com/openshift/openldap +refs/pull/*:refs/remotes/origin/pr/*
 > git rev-parse refs/remotes/origin/pr/11/merge^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/pr/11/merge^{commit} # timeout=10
Checking out Revision 1db785550d0e49b45b8e4ff373f44ea805b63996 (refs/remotes/origin/pr/11/merge)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 1db785550d0e49b45b8e4ff373f44ea805b63996
First time build. Skipping changelog.
[workspace] $ /bin/sh -xe /tmp/hudson8993484861514899031.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-10
Reading AWS credentials from /var/lib/jenkins/.awscred
Searching for latest base AMI
Found: ami-873372e2 (devenv-rhel7_2449)
+ 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: Warning! You're launching this instance into a VPC without an
==> openshiftdev: elastic IP. Please verify you're properly connected to a VPN so
==> openshiftdev: you can access this machine, otherwise Vagrant will not be able
==> openshiftdev: to SSH into it.
==> openshiftdev: Launching an instance with the following settings...
==> openshiftdev:  -- Type: t2.medium
==> openshiftdev:  -- AMI: ami-873372e2
==> openshiftdev:  -- Region: us-east-1
==> openshiftdev:  -- Keypair: libra
==> openshiftdev:  -- Subnet ID: subnet-cf57c596
==> 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-shell20151008-23804-c2g18e.sh
==> openshiftdev: Host: ec2-52-71-255-55.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: e56d6e51ecfdb6ece880f362fa4f7a6954582230
Previous Commit ID: e56d6e51ecfdb6ece880f362fa4f7a6954582230
Git Status: 
No update for source-to-image, master
~
+ vagrant test-openshift-image --image openldap --source openshift/openldap --ref 313eb2bac9d6e099fb4ebdfbf9485a8fbc5d390a
Running command '
set -x

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

# so we can call sti
export 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 313eb2bac9d6e099fb4ebdfbf9485a8fbc5d390a

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 ! sudo env "PATH=$PATH" make test TARGET=rhel7; then
    echo "ERROR: openldap-rhel7 failed testing."
    exit 1
fi

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

# clean up
cd /
sudo rm -rf $temp_dir
exit $status
'
+ '[' -n '' -a -f /etc/sysconfig/docker ']'
+ export 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:/home/ec2-user/.local/bin:/home/ec2-user/bin
+ 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:/home/ec2-user/.local/bin:/home/ec2-user/bin
++ mktemp -d /tmp/image_test.XXXXXXX
+ temp_dir=/tmp/image_test.oBEd3QM
+ chcon -t docker_share_t /tmp/image_test.oBEd3QM
+ cd /tmp/image_test.oBEd3QM
+ 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: 122, done.
remote: Compressing objects:   1% (1/61)   
remote: Compressing objects:   3% (2/61)   
remote: Compressing objects:   4% (3/61)   
remote: Compressing objects:   6% (4/61)   
remote: Compressing objects:   8% (5/61)   
remote: Compressing objects:   9% (6/61)   
remote: Compressing objects:  11% (7/61)   
remote: Compressing objects:  13% (8/61)   
remote: Compressing objects:  14% (9/61)   
remote: Compressing objects:  16% (10/61)   
remote: Compressing objects:  18% (11/61)   
remote: Compressing objects:  19% (12/61)   
remote: Compressing objects:  21% (13/61)   
remote: Compressing objects:  22% (14/61)   
remote: Compressing objects:  24% (15/61)   
remote: Compressing objects:  26% (16/61)   
remote: Compressing objects:  27% (17/61)   
remote: Compressing objects:  29% (18/61)   
remote: Compressing objects:  31% (19/61)   
remote: Compressing objects:  32% (20/61)   
remote: Compressing objects:  34% (21/61)   
remote: Compressing objects:  36% (22/61)   
remote: Compressing objects:  37% (23/61)   
remote: Compressing objects:  39% (24/61)   
remote: Compressing objects:  40% (25/61)   
remote: Compressing objects:  42% (26/61)   
remote: Compressing objects:  44% (27/61)   
remote: Compressing objects:  45% (28/61)   
remote: Compressing objects:  47% (29/61)   
remote: Compressing objects:  49% (30/61)   
remote: Compressing objects:  50% (31/61)   
remote: Compressing objects:  52% (32/61)   
remote: Compressing objects:  54% (33/61)   
remote: Compressing objects:  55% (34/61)   
remote: Compressing objects:  57% (35/61)   
remote: Compressing objects:  59% (36/61)   
remote: Compressing objects:  60% (37/61)   
remote: Compressing objects:  62% (38/61)   
remote: Compressing objects:  63% (39/61)   
remote: Compressing objects:  65% (40/61)   
remote: Compressing objects:  67% (41/61)   
remote: Compressing objects:  68% (42/61)   
remote: Compressing objects:  70% (43/61)   
remote: Compressing objects:  72% (44/61)   
remote: Compressing objects:  73% (45/61)   
remote: Compressing objects:  75% (46/61)   
remote: Compressing objects:  77% (47/61)   
remote: Compressing objects:  78% (48/61)   
remote: Compressing objects:  80% (49/61)   
remote: Compressing objects:  81% (50/61)   
remote: Compressing objects:  83% (51/61)   
remote: Compressing objects:  85% (52/61)   
remote: Compressing objects:  86% (53/61)   
remote: Compressing objects:  88% (54/61)   
remote: Compressing objects:  90% (55/61)   
remote: Compressing objects:  91% (56/61)   
remote: Compressing objects:  93% (57/61)   
remote: Compressing objects:  95% (58/61)   
remote: Compressing objects:  96% (59/61)   
remote: Compressing objects:  98% (60/61)   
remote: Compressing objects: 100% (61/61)   
remote: Compressing objects: 100% (61/61), done.
Receiving objects:   0% (1/122)   
Receiving objects:   1% (2/122)   
Receiving objects:   2% (3/122)   
Receiving objects:   3% (4/122)   
Receiving objects:   4% (5/122)   
Receiving objects:   5% (7/122)   
Receiving objects:   6% (8/122)   
Receiving objects:   7% (9/122)   
Receiving objects:   8% (10/122)   
Receiving objects:   9% (11/122)   
Receiving objects:  10% (13/122)   
Receiving objects:  11% (14/122)   
Receiving objects:  12% (15/122)   
Receiving objects:  13% (16/122)   
Receiving objects:  14% (18/122)   
Receiving objects:  15% (19/122)   
Receiving objects:  16% (20/122)   
Receiving objects:  17% (21/122)   
Receiving objects:  18% (22/122)   
Receiving objects:  19% (24/122)   
Receiving objects:  20% (25/122)   
Receiving objects:  21% (26/122)   
Receiving objects:  22% (27/122)   
Receiving objects:  23% (29/122)   
Receiving objects:  24% (30/122)   
Receiving objects:  25% (31/122)   
Receiving objects:  26% (32/122)   
Receiving objects:  27% (33/122)   
Receiving objects:  28% (35/122)   
Receiving objects:  29% (36/122)   
Receiving objects:  30% (37/122)   
Receiving objects:  31% (38/122)   
Receiving objects:  32% (40/122)   
Receiving objects:  33% (41/122)   
Receiving objects:  34% (42/122)   
Receiving objects:  35% (43/122)   
Receiving objects:  36% (44/122)   
Receiving objects:  37% (46/122)   
Receiving objects:  38% (47/122)   
Receiving objects:  39% (48/122)   
Receiving objects:  40% (49/122)   
Receiving objects:  41% (51/122)   
Receiving objects:  42% (52/122)   
Receiving objects:  43% (53/122)   
Receiving objects:  44% (54/122)   
Receiving objects:  45% (55/122)   
Receiving objects:  46% (57/122)   
Receiving objects:  47% (58/122)   
Receiving objects:  48% (59/122)   
Receiving objects:  49% (60/122)   
Receiving objects:  50% (61/122)   
Receiving objects:  51% (63/122)   
Receiving objects:  52% (64/122)   
Receiving objects:  53% (65/122)   
Receiving objects:  54% (66/122)   
Receiving objects:  55% (68/122)   
Receiving objects:  56% (69/122)   
Receiving objects:  57% (70/122)   
Receiving objects:  58% (71/122)   
Receiving objects:  59% (72/122)   
Receiving objects:  60% (74/122)   
Receiving objects:  61% (75/122)   
Receiving objects:  62% (76/122)   
Receiving objects:  63% (77/122)   
Receiving objects:  64% (79/122)   
Receiving objects:  65% (80/122)   
Receiving objects:  66% (81/122)   
Receiving objects:  67% (82/122)   
Receiving objects:  68% (83/122)   
Receiving objects:  69% (85/122)   
Receiving objects:  70% (86/122)   
Receiving objects:  71% (87/122)   
Receiving objects:  72% (88/122)   
Receiving objects:  73% (90/122)   
Receiving objects:  74% (91/122)   
Receiving objects:  75% (92/122)   
Receiving objects:  76% (93/122)   
Receiving objects:  77% (94/122)   
Receiving objects:  78% (96/122)   
Receiving objects:  79% (97/122)   
Receiving objects:  80% (98/122)   
Receiving objects:  81% (99/122)   
Receiving objects:  82% (101/122)   
Receiving objects:  83% (102/122)   
Receiving objects:  84% (103/122)   
Receiving objects:  85% (104/122)   
Receiving objects:  86% (105/122)   
remote: Total 122 (delta 45), reused 22 (delta 22), pack-reused 38
Receiving objects:  87% (107/122), 372.00 KiB | 488.00 KiB/s   
Receiving objects:  88% (108/122), 372.00 KiB | 488.00 KiB/s   
Receiving objects:  89% (109/122), 372.00 KiB | 488.00 KiB/s   
Receiving objects:  90% (110/122), 372.00 KiB | 488.00 KiB/s   
Receiving objects:  91% (112/122), 372.00 KiB | 488.00 KiB/s   
Receiving objects:  92% (113/122), 372.00 KiB | 488.00 KiB/s   
Receiving objects:  93% (114/122), 372.00 KiB | 488.00 KiB/s   
Receiving objects:  94% (115/122), 372.00 KiB | 488.00 KiB/s   
Receiving objects:  95% (116/122), 372.00 KiB | 488.00 KiB/s   
Receiving objects:  96% (118/122), 372.00 KiB | 488.00 KiB/s   
Receiving objects:  97% (119/122), 372.00 KiB | 488.00 KiB/s   
Receiving objects:  98% (120/122), 372.00 KiB | 488.00 KiB/s   
Receiving objects:  99% (121/122), 372.00 KiB | 488.00 KiB/s   
Receiving objects: 100% (122/122), 372.00 KiB | 488.00 KiB/s   
Receiving objects: 100% (122/122), 378.63 KiB | 488.00 KiB/s, done.
Resolving deltas:   0% (0/53)   
Resolving deltas:   7% (4/53)   
Resolving deltas:   9% (5/53)   
Resolving deltas:  11% (6/53)   
Resolving deltas:  13% (7/53)   
Resolving deltas:  15% (8/53)   
Resolving deltas:  16% (9/53)   
Resolving deltas:  18% (10/53)   
Resolving deltas:  24% (13/53)   
Resolving deltas:  26% (14/53)   
Resolving deltas:  30% (16/53)   
Resolving deltas:  32% (17/53)   
Resolving deltas:  35% (19/53)   
Resolving deltas:  37% (20/53)   
Resolving deltas:  39% (21/53)   
Resolving deltas:  43% (23/53)   
Resolving deltas:  49% (26/53)   
Resolving deltas:  50% (27/53)   
Resolving deltas:  54% (29/53)   
Resolving deltas:  58% (31/53)   
Resolving deltas:  64% (34/53)   
Resolving deltas:  67% (36/53)   
Resolving deltas:  71% (38/53)   
Resolving deltas:  73% (39/53)   
Resolving deltas:  83% (44/53)   
Resolving deltas:  86% (46/53)   
Resolving deltas:  90% (48/53)   
Resolving deltas: 100% (53/53)   
Resolving deltas: 100% (53/53), completed with 8 local objects.
+ git checkout 313eb2bac9d6e099fb4ebdfbf9485a8fbc5d390a
Note: checking out '313eb2bac9d6e099fb4ebdfbf9485a8fbc5d390a'.

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 313eb2b... added test schema
+ '[' false == true -a -n '' ']'
+ sudo env 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:/home/ec2-user/.local/bin:/home/ec2-user/bin 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.65 MB

Sending build context to Docker daemon 
Step 0 : FROM centos:centos7
 ---> 0f73ae75014f
Step 1 : MAINTAINER Steve Kuznetsov <skuznets@redhat.com>
 ---> Running in ea793e30eaf4
 ---> ef1f813600d0
Removing intermediate container ea793e30eaf4
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 02d452dc0bd4
 ---> a6dd20643427
Removing intermediate container 02d452dc0bd4
Step 3 : COPY ./contrib/config /opt/openshift/config
 ---> 1c2940a28cba
Removing intermediate container 2e3c1e0258a9
Step 4 : COPY ./contrib/lib /opt/openshift/lib
 ---> 50996141132a
Removing intermediate container 783a23b640a7
Step 5 : COPY run-*.sh /usr/local/bin/
 ---> d9ac8abbbcf3
Removing intermediate container 53c01f2eb003
Step 6 : COPY contrib/*.ldif /usr/local/etc/openldap/
 ---> b32c9885a74a
Removing intermediate container a6faf56b168b
Step 7 : COPY contrib/DB_CONFIG /usr/local/etc/openldap/
 ---> bf035bd07083
Removing intermediate container 3d4a92ac5d0f
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 d6a5c3d428d4
Loaded plugins: fastestmirror
Determining fastest mirrors
 * base: mirrors.tripadvisor.com
 * extras: mirror.symnds.com
 * updates: mirror.trouble-free.net
Resolving Dependencies
--> Running transaction check
---> Package openldap.x86_64 0:2.4.39-6.el7 will be updated
---> Package openldap.x86_64 0:2.4.39-7.el7.centos will be an update
---> Package openldap-clients.x86_64 0:2.4.39-7.el7.centos will be installed
---> Package openldap-servers.x86_64 0:2.4.39-7.el7.centos will be installed
--> Processing Dependency: perl(warnings) for package: openldap-servers-2.4.39-7.el7.centos.x86_64
--> Processing Dependency: perl(strict) for package: openldap-servers-2.4.39-7.el7.centos.x86_64
--> Processing Dependency: perl(POSIX) for package: openldap-servers-2.4.39-7.el7.centos.x86_64
--> Processing Dependency: libwrap.so.0()(64bit) for package: openldap-servers-2.4.39-7.el7.centos.x86_64
--> Processing Dependency: libperl.so()(64bit) for package: openldap-servers-2.4.39-7.el7.centos.x86_64
--> Processing Dependency: libltdl.so.7()(64bit) for package: openldap-servers-2.4.39-7.el7.centos.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-7.el7.centos       updates    184 k
 openldap-servers          x86_64    2.4.39-7.el7.centos       updates    2.1 M
Updating:
 openldap                  x86_64    2.4.39-7.el7.centos       updates    344 k
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)
Upgrade  1 Package

Total download size: 14 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
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
Public key for openldap-2.4.39-7.el7.centos.x86_64.rpm is not installed
--------------------------------------------------------------------------------
Total                                              4.5 MB/s |  14 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) <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
  Updating   : openldap-2.4.39-7.el7.centos.x86_64                         1/33 
  Installing : 1:perl-parent-0.225-244.el7.noarch                          2/33 
  Installing : perl-HTTP-Tiny-0.033-3.el7.noarch                           3/33 
  Installing : perl-podlators-2.5.1-3.el7.noarch                           4/33 
  Installing : perl-Pod-Perldoc-3.20-4.el7.noarch                          5/33 
  Installing : 1:perl-Pod-Escapes-1.04-285.el7.noarch                      6/33 
  Installing : perl-Encode-2.51-7.el7.x86_64                               7/33 
  Installing : perl-Text-ParseWords-3.29-4.el7.noarch                      8/33 
  Installing : perl-Pod-Usage-1.63-3.el7.noarch                            9/33 
  Installing : 4:perl-macros-5.16.3-285.el7.x86_64                        10/33 
  Installing : perl-Storable-2.45-3.el7.x86_64                            11/33 
  Installing : perl-constant-1.27-2.el7.noarch                            12/33 
  Installing : perl-Time-Local-1.2300-2.el7.noarch                        13/33 
  Installing : perl-Socket-2.010-3.el7.x86_64                             14/33 
  Installing : perl-Carp-1.26-244.el7.noarch                              15/33 
  Installing : 4:perl-Time-HiRes-1.9725-3.el7.x86_64                      16/33 
  Installing : perl-PathTools-3.40-5.el7.x86_64                           17/33 
  Installing : perl-Scalar-List-Utils-1.27-248.el7.x86_64                 18/33 
  Installing : 1:perl-Pod-Simple-3.28-4.el7.noarch                        19/33 
  Installing : perl-Exporter-5.68-3.el7.noarch                            20/33 
  Installing : perl-File-Temp-0.23.01-3.el7.noarch                        21/33 
  Installing : perl-File-Path-2.09-2.el7.noarch                           22/33 
  Installing : perl-threads-shared-1.43-6.el7.x86_64                      23/33 
  Installing : perl-threads-1.87-4.el7.x86_64                             24/33 
  Installing : perl-Filter-1.49-3.el7.x86_64                              25/33 
  Installing : 4:perl-libs-5.16.3-285.el7.x86_64                          26/33 
  Installing : perl-Getopt-Long-2.40-2.el7.noarch                         27/33 
  Installing : 4:perl-5.16.3-285.el7.x86_64                               28/33 
  Installing : tcp_wrappers-libs-7.6-77.el7.x86_64                        29/33 
  Installing : libtool-ltdl-2.4.2-20.el7.x86_64                           30/33 
  Installing : openldap-servers-2.4.39-7.el7.centos.x86_64                31/33 
  Installing : openldap-clients-2.4.39-7.el7.centos.x86_64                32/33 
  Cleanup    : openldap-2.4.39-6.el7.x86_64                               33/33 
  Verifying  : perl-HTTP-Tiny-0.033-3.el7.noarch                           1/33 
  Verifying  : perl-threads-shared-1.43-6.el7.x86_64                       2/33 
  Verifying  : perl-Storable-2.45-3.el7.x86_64                             3/33 
  Verifying  : libtool-ltdl-2.4.2-20.el7.x86_64                            4/33 
  Verifying  : perl-constant-1.27-2.el7.noarch                             5/33 
  Verifying  : perl-PathTools-3.40-5.el7.x86_64                            6/33 
  Verifying  : 1:perl-Pod-Escapes-1.04-285.el7.noarch                      7/33 
  Verifying  : openldap-2.4.39-7.el7.centos.x86_64                         8/33 
  Verifying  : openldap-clients-2.4.39-7.el7.centos.x86_64                 9/33 
  Verifying  : perl-File-Temp-0.23.01-3.el7.noarch                        10/33 
  Verifying  : 1:perl-Pod-Simple-3.28-4.el7.noarch                        11/33 
  Verifying  : perl-Time-Local-1.2300-2.el7.noarch                        12/33 
  Verifying  : perl-Pod-Perldoc-3.20-4.el7.noarch                         13/33 
  Verifying  : perl-Socket-2.010-3.el7.x86_64                             14/33 
  Verifying  : perl-Carp-1.26-244.el7.noarch                              15/33 
  Verifying  : perl-podlators-2.5.1-3.el7.noarch                          16/33 
  Verifying  : 1:perl-parent-0.225-244.el7.noarch                         17/33 
  Verifying  : 4:perl-Time-HiRes-1.9725-3.el7.x86_64                      18/33 
  Verifying  : perl-Scalar-List-Utils-1.27-248.el7.x86_64                 19/33 
  Verifying  : 4:perl-macros-5.16.3-285.el7.x86_64                        20/33 
  Verifying  : perl-Pod-Usage-1.63-3.el7.noarch                           21/33 
  Verifying  : openldap-servers-2.4.39-7.el7.centos.x86_64                22/33 
  Verifying  : perl-Encode-2.51-7.el7.x86_64                              23/33 
  Verifying  : perl-Exporter-5.68-3.el7.noarch                            24/33 
  Verifying  : 4:perl-5.16.3-285.el7.x86_64                               25/33 
  Verifying  : perl-Getopt-Long-2.40-2.el7.noarch                         26/33 
  Verifying  : tcp_wrappers-libs-7.6-77.el7.x86_64                        27/33 
  Verifying  : perl-File-Path-2.09-2.el7.noarch                           28/33 
  Verifying  : perl-threads-1.87-4.el7.x86_64                             29/33 
  Verifying  : perl-Filter-1.49-3.el7.x86_64                              30/33 
  Verifying  : perl-Text-ParseWords-3.29-4.el7.noarch                     31/33 
  Verifying  : 4:perl-libs-5.16.3-285.el7.x86_64                          32/33 
  Verifying  : openldap-2.4.39-6.el7.x86_64                               33/33 

Installed:
  openldap-clients.x86_64 0:2.4.39-7.el7.centos                                 
  openldap-servers.x86_64 0:2.4.39-7.el7.centos                                 

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                                         

Updated:
  openldap.x86_64 0:2.4.39-7.el7.centos                                         

Complete!
Loaded plugins: fastestmirror
Cleaning repos: base extras systemdcontainer updates
Cleaning up everything
Cleaning up list of fastest mirrors
 ---> 8b7263dc8baf
Removing intermediate container d6a5c3d428d4
Step 9 : VOLUME /var/lib/ldap /etc/openldap
 ---> Running in 50e75e0bd328
 ---> 11402264dc81
Removing intermediate container 50e75e0bd328
Step 10 : EXPOSE 389 636
 ---> Running in 81243af2129b
 ---> 707f2f2311a4
Removing intermediate container 81243af2129b
Step 11 : CMD /usr/local/bin/run-openldap.sh
 ---> Running in fd77e8002f42
 ---> ce8630e8022d
Removing intermediate container fd77e8002f42
Step 12 : LABEL io.openshift.builder-version "313eb2b"
 ---> Running in ea29e9aa909e
 ---> 19dc3ced04f2
Removing intermediate container ea29e9aa909e
Successfully built 19dc3ced04f2
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-10-08 09:06:47,200 root         INFO     Squashing image 'openshift/openldap-2441-rhel7-candidate'...
2015-10-08 09:06:47,254 root         INFO     Old image has 17 layers
2015-10-08 09:06:47,254 root         INFO     Attempting to squash from layer 0f73ae75014f435e279d85ad31edc67e46c4a5d692b61840ff51e9d05f3b01ec...
2015-10-08 09:06:47,254 root         INFO     Checking if squashing is necessary...
2015-10-08 09:06:47,254 root         INFO     We have 12 layers to squash
2015-10-08 09:06:47,255 root         INFO     Saving image 19dc3ced04f2dafb463621fdf4e3faa04ef723bca176d8a3324a70778f89be7b to /tmp/docker-squash-478KN5/image.tar file...
2015-10-08 09:07:23,907 root         INFO     Image saved!
2015-10-08 09:07:23,908 root         INFO     Unpacking /tmp/docker-squash-478KN5/image.tar tar file to /tmp/docker-squash-478KN5/old directory
2015-10-08 09:07:24,424 root         INFO     Archive unpacked!
2015-10-08 09:07:24,425 root         INFO     New layer ID for squashed content will be: 747baf2ecb4b416be8187a968baa528800e3e56e3e9a804fbb8994027840b8fa
2015-10-08 09:07:24,425 root         INFO     Starting squashing...
2015-10-08 09:07:24,425 root         INFO     Squashing layer '19dc3ced04f2dafb463621fdf4e3faa04ef723bca176d8a3324a70778f89be7b'...
2015-10-08 09:07:24,425 root         INFO     Squashing layer 'ce8630e8022dc3961efda9881ce5e637cc4f25c8b0e2657b4e1604ccdfdd99ad'...
2015-10-08 09:07:24,426 root         INFO     Squashing layer '707f2f2311a4bf163cf9f422d0da264d1e7f286db8bd80534d0018c1fc217252'...
2015-10-08 09:07:24,426 root         INFO     Squashing layer '11402264dc8137b81d0934612345e10a75f958b81c560ecf1303bb6672f85922'...
2015-10-08 09:07:24,426 root         INFO     Squashing layer '8b7263dc8baf7e37f7f5a7d31bc6dbf2235a98ded0eb853432c437010167f697'...
2015-10-08 09:07:25,750 root         INFO     Squashing layer 'bf035bd07083c94104b7e68ddb01c568a3275a6ac5ad7b66230ef2ae045b0e02'...
2015-10-08 09:07:25,754 root         INFO     Squashing layer 'b32c9885a74ad2de0addb5e68ff78e36b8f13243290922088619586c1446c7a6'...
2015-10-08 09:07:25,757 root         INFO     Squashing layer 'd9ac8abbbcf3a6f8c9bb2c87ded10412886ed716354af0220042bc7c6139e674'...
2015-10-08 09:07:25,759 root         INFO     Squashing layer '50996141132a0bffa2c8569254caa4e2f7c3ec41c270236c792cb93496ee2cac'...
2015-10-08 09:07:25,764 root         INFO     Squashing layer '1c2940a28cba7eded5507b2b96b7f75fbb5cde4269e3839743c4d2c3377d6844'...
2015-10-08 09:07:25,780 root         INFO     Squashing layer 'a6dd2064342747cdfb656efa4138f787ee4e1cc4f3c9f239a5b0c67ae490a7ea'...
2015-10-08 09:07:25,780 root         INFO     Squashing layer 'ef1f813600d0c7b65cf66f77242f281704940599f5199200145772dfe56a69d1'...
2015-10-08 09:07:26,422 root         INFO     Squashing finished!
2015-10-08 09:07:26,426 root         INFO     Squashed image name: openshift/openldap-2441-rhel7-candidate:latest
2015-10-08 09:07:56,743 root         INFO     Image registered in Docker daemon
2015-10-08 09:07:56,797 root         INFO     Done
+ shopt -s nullglob
+ IMAGE_NAME=openshift/openldap-2441-rhel7-candidate
++ mktemp --suffix=openldap_test_cidfiles -d
+ CIDFILE_DIR=/tmp/tmp.zlcdd5OF5Eopenldap_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.zlcdd5OF5Eopenldap_test_cidfiles/test_container_root
+ docker run --cidfile /tmp/tmp.zlcdd5OF5Eopenldap_test_cidfiles/test_container_root -d openshift/openldap-2441-rhel7-candidate
b64c283e9b93b889ec9a3efcd1db00c09b708a0a2b68e07e150deb74deb12d91
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.zlcdd5OF5Eopenldap_test_cidfiles/test_container_root
Created container b64c283e9b93b889ec9a3efcd1db00c09b708a0a2b68e07e150deb74deb12d91
+ echo 'Created container b64c283e9b93b889ec9a3efcd1db00c09b708a0a2b68e07e150deb74deb12d91'
++ 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.zlcdd5OF5Eopenldap_test_cidfiles/test_container_root
+++ echo b64c283e9b93b889ec9a3efcd1db00c09b708a0a2b68e07e150deb74deb12d91
++ docker inspect '--format={{.NetworkSettings.IPAddress}}' b64c283e9b93b889ec9a3efcd1db00c09b708a0a2b68e07e150deb74deb12d91
+ 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.zlcdd5OF5Eopenldap_test_cidfiles/test_container_root
+++ echo b64c283e9b93b889ec9a3efcd1db00c09b708a0a2b68e07e150deb74deb12d91
++ docker inspect '--format={{.NetworkSettings.IPAddress}}' b64c283e9b93b889ec9a3efcd1db00c09b708a0a2b68e07e150deb74deb12d91
  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)'
+ echo '    Trying to connect...'
    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 --:--:-- --:--:-- --:--:--     0curl: (7) Failed connect to 172.17.0.2: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.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 --:--:-- --:--:-- --:--:--     0curl: (7) Failed connect to 172.17.0.2:389; Connection refused
+ status=7
+ set -e
+ '[' 7 -eq 0 ']'
+ sleep 2
    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.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    148      0 --:--:-- --:--:-- --:--:-- DN: dc=example,dc=com

  149
+ status=0
+ set -e
+ '[' 0 -eq 0 ']'
+ echo '  Success!'
  Success!
+ return 0
+ test_openldap test_container_root
+ echo '  Testing OpenLDAP'
  Testing OpenLDAP
+ openldap_cmd objectClass%3Dorganization
+ url_encoded_base=dc%3Dexample%2Cdc%3Dcom
+ grep -E dc=example,dc=com
+ curl 'ldap://172.17.0.2: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
  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.zlcdd5OF5Eopenldap_test_cidfiles/test_container_nonroot
+ docker run -u 12345 --cidfile /tmp/tmp.zlcdd5OF5Eopenldap_test_cidfiles/test_container_nonroot -d openshift/openldap-2441-rhel7-candidate
55f50137251adebd433b5d4a61e25334138bf6355e0c5de747c80752b04f00d4
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.zlcdd5OF5Eopenldap_test_cidfiles/test_container_nonroot
Created container 55f50137251adebd433b5d4a61e25334138bf6355e0c5de747c80752b04f00d4
+ echo 'Created container 55f50137251adebd433b5d4a61e25334138bf6355e0c5de747c80752b04f00d4'
++ 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.zlcdd5OF5Eopenldap_test_cidfiles/test_container_nonroot
+++ echo 55f50137251adebd433b5d4a61e25334138bf6355e0c5de747c80752b04f00d4
++ docker inspect '--format={{.NetworkSettings.IPAddress}}' 55f50137251adebd433b5d4a61e25334138bf6355e0c5de747c80752b04f00d4
+ 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.zlcdd5OF5Eopenldap_test_cidfiles/test_container_nonroot
+++ echo 55f50137251adebd433b5d4a61e25334138bf6355e0c5de747c80752b04f00d4
++ docker inspect '--format={{.NetworkSettings.IPAddress}}' 55f50137251adebd433b5d4a61e25334138bf6355e0c5de747c80752b04f00d4
+ ip=172.17.0.3
  Testing OpenLDAP connection to 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 --:--:-- --:--:-- --:--:--   1DN: dc=example,dc=com

51
+ status=0
+ set -e
+ '[' 0 -eq 0 ']'
  Success!
+ echo '  Success!'
+ return 0
  Testing OpenLDAP
+ test_openldap test_container_nonroot
+ echo '  Testing OpenLDAP'
+ openldap_cmd objectClass%3Dorganization
+ url_encoded_base=dc%3Dexample%2Cdc%3Dcom
+ grep -E dc=example,dc=com
+ curl 'ldap://172.17.0.3: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.zlcdd5OF5Eopenldap_test_cidfiles/test_container_nonroot
+ CONTAINER=55f50137251adebd433b5d4a61e25334138bf6355e0c5de747c80752b04f00d4
Stopping and removing container 55f50137251adebd433b5d4a61e25334138bf6355e0c5de747c80752b04f00d4...
+ echo 'Stopping and removing container 55f50137251adebd433b5d4a61e25334138bf6355e0c5de747c80752b04f00d4...'
+ docker stop 55f50137251adebd433b5d4a61e25334138bf6355e0c5de747c80752b04f00d4
55f50137251adebd433b5d4a61e25334138bf6355e0c5de747c80752b04f00d4
++ docker inspect -f '{{.State.ExitCode}}' 55f50137251adebd433b5d4a61e25334138bf6355e0c5de747c80752b04f00d4
+ exit_status=0
+ '[' 0 '!=' 0 ']'
+ docker rm 55f50137251adebd433b5d4a61e25334138bf6355e0c5de747c80752b04f00d4
55f50137251adebd433b5d4a61e25334138bf6355e0c5de747c80752b04f00d4
+ rm /tmp/tmp.zlcdd5OF5Eopenldap_test_cidfiles/test_container_nonroot
Done.
+ echo Done.
+ for cidfile in '$CIDFILE_DIR/*'
++ cat /tmp/tmp.zlcdd5OF5Eopenldap_test_cidfiles/test_container_root
+ CONTAINER=b64c283e9b93b889ec9a3efcd1db00c09b708a0a2b68e07e150deb74deb12d91
Stopping and removing container b64c283e9b93b889ec9a3efcd1db00c09b708a0a2b68e07e150deb74deb12d91...
+ echo 'Stopping and removing container b64c283e9b93b889ec9a3efcd1db00c09b708a0a2b68e07e150deb74deb12d91...'
+ docker stop b64c283e9b93b889ec9a3efcd1db00c09b708a0a2b68e07e150deb74deb12d91
b64c283e9b93b889ec9a3efcd1db00c09b708a0a2b68e07e150deb74deb12d91
++ docker inspect -f '{{.State.ExitCode}}' b64c283e9b93b889ec9a3efcd1db00c09b708a0a2b68e07e150deb74deb12d91
+ exit_status=0
+ '[' 0 '!=' 0 ']'
+ docker rm b64c283e9b93b889ec9a3efcd1db00c09b708a0a2b68e07e150deb74deb12d91
b64c283e9b93b889ec9a3efcd1db00c09b708a0a2b68e07e150deb74deb12d91
+ rm /tmp/tmp.zlcdd5OF5Eopenldap_test_cidfiles/test_container_root
Done.
+ echo Done.
+ rmdir /tmp/tmp.zlcdd5OF5Eopenldap_test_cidfiles
+ sudo env 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:/home/ec2-user/.local/bin:/home/ec2-user/bin 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.65 MB

Sending build context to Docker daemon 
Step 0 : FROM centos:centos7
 ---> 0f73ae75014f
Step 1 : MAINTAINER Steve Kuznetsov <skuznets@redhat.com>
 ---> Using cache
 ---> ef1f813600d0
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
 ---> a6dd20643427
Step 3 : COPY ./contrib/config /opt/openshift/config
 ---> Using cache
 ---> 1c2940a28cba
Step 4 : COPY ./contrib/lib /opt/openshift/lib
 ---> Using cache
 ---> 50996141132a
Step 5 : COPY run-*.sh /usr/local/bin/
 ---> Using cache
 ---> d9ac8abbbcf3
Step 6 : COPY contrib/*.ldif /usr/local/etc/openldap/
 ---> Using cache
 ---> b32c9885a74a
Step 7 : COPY contrib/*.schema /usr/local/etc/openldap/
 ---> 53ddf9ea293e
Removing intermediate container 3926ca7a5d66
Step 8 : COPY contrib/DB_CONFIG /usr/local/etc/openldap/
 ---> 878eecde97eb
Removing intermediate container f554453c1aae
Step 9 : 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 b28080e44880
Loaded plugins: fastestmirror
Determining fastest mirrors
 * base: mirrors.tripadvisor.com
 * extras: mirrors.advancedhosters.com
 * updates: mirror.trouble-free.net
Resolving Dependencies
--> Running transaction check
---> Package openldap.x86_64 0:2.4.39-6.el7 will be updated
---> Package openldap.x86_64 0:2.4.39-7.el7.centos will be an update
---> Package openldap-clients.x86_64 0:2.4.39-7.el7.centos will be installed
---> Package openldap-servers.x86_64 0:2.4.39-7.el7.centos will be installed
--> Processing Dependency: perl(warnings) for package: openldap-servers-2.4.39-7.el7.centos.x86_64
--> Processing Dependency: perl(strict) for package: openldap-servers-2.4.39-7.el7.centos.x86_64
--> Processing Dependency: perl(POSIX) for package: openldap-servers-2.4.39-7.el7.centos.x86_64
--> Processing Dependency: libwrap.so.0()(64bit) for package: openldap-servers-2.4.39-7.el7.centos.x86_64
--> Processing Dependency: libperl.so()(64bit) for package: openldap-servers-2.4.39-7.el7.centos.x86_64
--> Processing Dependency: libltdl.so.7()(64bit) for package: openldap-servers-2.4.39-7.el7.centos.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-7.el7.centos       updates    184 k
 openldap-servers          x86_64    2.4.39-7.el7.centos       updates    2.1 M
Updating:
 openldap                  x86_64    2.4.39-7.el7.centos       updates    344 k
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)
Upgrade  1 Package

Total download size: 14 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
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
Public key for openldap-clients-2.4.39-7.el7.centos.x86_64.rpm is not installed
--------------------------------------------------------------------------------
Total                                              4.5 MB/s |  14 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) <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
  Updating   : openldap-2.4.39-7.el7.centos.x86_64                         1/33 
  Installing : 1:perl-parent-0.225-244.el7.noarch                          2/33 
  Installing : perl-HTTP-Tiny-0.033-3.el7.noarch                           3/33 
  Installing : perl-podlators-2.5.1-3.el7.noarch                           4/33 
  Installing : perl-Pod-Perldoc-3.20-4.el7.noarch                          5/33 
  Installing : 1:perl-Pod-Escapes-1.04-285.el7.noarch                      6/33 
  Installing : perl-Encode-2.51-7.el7.x86_64                               7/33 
  Installing : perl-Text-ParseWords-3.29-4.el7.noarch                      8/33 
  Installing : perl-Pod-Usage-1.63-3.el7.noarch                            9/33 
  Installing : 4:perl-macros-5.16.3-285.el7.x86_64                        10/33 
  Installing : perl-Storable-2.45-3.el7.x86_64                            11/33 
  Installing : perl-constant-1.27-2.el7.noarch                            12/33 
  Installing : perl-Time-Local-1.2300-2.el7.noarch                        13/33 
  Installing : perl-Socket-2.010-3.el7.x86_64                             14/33 
  Installing : perl-Carp-1.26-244.el7.noarch                              15/33 
  Installing : 4:perl-Time-HiRes-1.9725-3.el7.x86_64                      16/33 
  Installing : perl-PathTools-3.40-5.el7.x86_64                           17/33 
  Installing : perl-Scalar-List-Utils-1.27-248.el7.x86_64                 18/33 
  Installing : 1:perl-Pod-Simple-3.28-4.el7.noarch                        19/33 
  Installing : perl-Exporter-5.68-3.el7.noarch                            20/33 
  Installing : perl-File-Temp-0.23.01-3.el7.noarch                        21/33 
  Installing : perl-File-Path-2.09-2.el7.noarch                           22/33 
  Installing : perl-threads-shared-1.43-6.el7.x86_64                      23/33 
  Installing : perl-threads-1.87-4.el7.x86_64                             24/33 
  Installing : perl-Filter-1.49-3.el7.x86_64                              25/33 
  Installing : 4:perl-libs-5.16.3-285.el7.x86_64                          26/33 
  Installing : perl-Getopt-Long-2.40-2.el7.noarch                         27/33 
  Installing : 4:perl-5.16.3-285.el7.x86_64                               28/33 
  Installing : tcp_wrappers-libs-7.6-77.el7.x86_64                        29/33 
  Installing : libtool-ltdl-2.4.2-20.el7.x86_64                           30/33 
  Installing : openldap-servers-2.4.39-7.el7.centos.x86_64                31/33 
  Installing : openldap-clients-2.4.39-7.el7.centos.x86_64                32/33 
  Cleanup    : openldap-2.4.39-6.el7.x86_64                               33/33 
  Verifying  : perl-HTTP-Tiny-0.033-3.el7.noarch                           1/33 
  Verifying  : perl-threads-shared-1.43-6.el7.x86_64                       2/33 
  Verifying  : perl-Storable-2.45-3.el7.x86_64                             3/33 
  Verifying  : libtool-ltdl-2.4.2-20.el7.x86_64                            4/33 
  Verifying  : perl-constant-1.27-2.el7.noarch                             5/33 
  Verifying  : perl-PathTools-3.40-5.el7.x86_64                            6/33 
  Verifying  : 1:perl-Pod-Escapes-1.04-285.el7.noarch                      7/33 
  Verifying  : openldap-2.4.39-7.el7.centos.x86_64                         8/33 
  Verifying  : openldap-clients-2.4.39-7.el7.centos.x86_64                 9/33 
  Verifying  : perl-File-Temp-0.23.01-3.el7.noarch                        10/33 
  Verifying  : 1:perl-Pod-Simple-3.28-4.el7.noarch                        11/33 
  Verifying  : perl-Time-Local-1.2300-2.el7.noarch                        12/33 
  Verifying  : perl-Pod-Perldoc-3.20-4.el7.noarch                         13/33 
  Verifying  : perl-Socket-2.010-3.el7.x86_64                             14/33 
  Verifying  : perl-Carp-1.26-244.el7.noarch                              15/33 
  Verifying  : perl-podlators-2.5.1-3.el7.noarch                          16/33 
  Verifying  : 1:perl-parent-0.225-244.el7.noarch                         17/33 
  Verifying  : 4:perl-Time-HiRes-1.9725-3.el7.x86_64                      18/33 
  Verifying  : perl-Scalar-List-Utils-1.27-248.el7.x86_64                 19/33 
  Verifying  : 4:perl-macros-5.16.3-285.el7.x86_64                        20/33 
  Verifying  : perl-Pod-Usage-1.63-3.el7.noarch                           21/33 
  Verifying  : openldap-servers-2.4.39-7.el7.centos.x86_64                22/33 
  Verifying  : perl-Encode-2.51-7.el7.x86_64                              23/33 
  Verifying  : perl-Exporter-5.68-3.el7.noarch                            24/33 
  Verifying  : 4:perl-5.16.3-285.el7.x86_64                               25/33 
  Verifying  : perl-Getopt-Long-2.40-2.el7.noarch                         26/33 
  Verifying  : tcp_wrappers-libs-7.6-77.el7.x86_64                        27/33 
  Verifying  : perl-File-Path-2.09-2.el7.noarch                           28/33 
  Verifying  : perl-threads-1.87-4.el7.x86_64                             29/33 
  Verifying  : perl-Filter-1.49-3.el7.x86_64                              30/33 
  Verifying  : perl-Text-ParseWords-3.29-4.el7.noarch                     31/33 
  Verifying  : 4:perl-libs-5.16.3-285.el7.x86_64                          32/33 
  Verifying  : openldap-2.4.39-6.el7.x86_64                               33/33 

Installed:
  openldap-clients.x86_64 0:2.4.39-7.el7.centos                                 
  openldap-servers.x86_64 0:2.4.39-7.el7.centos                                 

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                                         

Updated:
  openldap.x86_64 0:2.4.39-7.el7.centos                                         

Complete!
Loaded plugins: fastestmirror
Cleaning repos: base extras systemdcontainer updates
Cleaning up everything
Cleaning up list of fastest mirrors
 ---> 4d230d91d22f
Removing intermediate container b28080e44880
Step 10 : VOLUME /var/lib/ldap /etc/openldap
 ---> Running in 5a166953314d
 ---> cce6dbfd935f
Removing intermediate container 5a166953314d
Step 11 : EXPOSE 389 636
 ---> Running in a652cc57a5df
 ---> 6eda2073bf04
Removing intermediate container a652cc57a5df
Step 12 : CMD /usr/local/bin/run-openldap.sh
 ---> Running in 1a072233f071
 ---> b2e56fe75961
Removing intermediate container 1a072233f071
Step 13 : LABEL io.openshift.builder-version "313eb2b"
 ---> Running in ef01bc59deaf
 ---> 4568b7729b2a
Removing intermediate container ef01bc59deaf
Successfully built 4568b7729b2a
2015-10-08 09:08:51,537 root         INFO     Squashing image 'openshift/openldap-2441-centos7-candidate'...
2015-10-08 09:08:51,595 root         INFO     Old image has 18 layers
2015-10-08 09:08:51,595 root         INFO     Attempting to squash from layer 0f73ae75014f435e279d85ad31edc67e46c4a5d692b61840ff51e9d05f3b01ec...
2015-10-08 09:08:51,595 root         INFO     Checking if squashing is necessary...
2015-10-08 09:08:51,595 root         INFO     We have 13 layers to squash
2015-10-08 09:08:51,596 root         INFO     Saving image 4568b7729b2ae602bde935cb78b49c50c7c45f67a6eb8425a31cad124478feaa to /tmp/docker-squash-X_lyGN/image.tar file...
2015-10-08 09:08:57,951 root         INFO     Image saved!
2015-10-08 09:08:57,953 root         INFO     Unpacking /tmp/docker-squash-X_lyGN/image.tar tar file to /tmp/docker-squash-X_lyGN/old directory
2015-10-08 09:08:58,720 root         INFO     Archive unpacked!
2015-10-08 09:08:58,720 root         INFO     New layer ID for squashed content will be: 5e1474e926836135da1eabf76e17d6e1905de79e8482fcfe78d3fec39678f37b
2015-10-08 09:08:58,721 root         INFO     Starting squashing...
2015-10-08 09:08:58,721 root         INFO     Squashing layer '4568b7729b2ae602bde935cb78b49c50c7c45f67a6eb8425a31cad124478feaa'...
2015-10-08 09:08:58,721 root         INFO     Squashing layer 'b2e56fe75961aeb72a3c62a5736f83946182b8a841602d6530b5bbeeff2a8b65'...
2015-10-08 09:08:58,721 root         INFO     Squashing layer '6eda2073bf049e665fbb48253e263b6d480291c973b38869d3ed66354d8a1fcf'...
2015-10-08 09:08:58,722 root         INFO     Squashing layer 'cce6dbfd935facd8e6325c38bf455fc8daab5b452fec68bbe24d2b697c9f99af'...
2015-10-08 09:08:58,722 root         INFO     Squashing layer '4d230d91d22f3a42f1f75eae3cb582ded2df23b578be10ff9ea9c2043a0c9ba7'...
2015-10-08 09:09:00,035 root         INFO     Squashing layer '878eecde97eb21c10248b779b0a1fb48071620d5162844eb8b57ff8a427677ff'...
2015-10-08 09:09:00,040 root         INFO     Squashing layer '53ddf9ea293ee044a521d6e2a6f81b23488e61f040ee5b55cf041842176a6216'...
2015-10-08 09:09:00,042 root         INFO     Squashing layer 'b32c9885a74ad2de0addb5e68ff78e36b8f13243290922088619586c1446c7a6'...
2015-10-08 09:09:00,046 root         INFO     Squashing layer 'd9ac8abbbcf3a6f8c9bb2c87ded10412886ed716354af0220042bc7c6139e674'...
2015-10-08 09:09:00,048 root         INFO     Squashing layer '50996141132a0bffa2c8569254caa4e2f7c3ec41c270236c792cb93496ee2cac'...
2015-10-08 09:09:00,052 root         INFO     Squashing layer '1c2940a28cba7eded5507b2b96b7f75fbb5cde4269e3839743c4d2c3377d6844'...
2015-10-08 09:09:00,068 root         INFO     Squashing layer 'a6dd2064342747cdfb656efa4138f787ee4e1cc4f3c9f239a5b0c67ae490a7ea'...
2015-10-08 09:09:00,068 root         INFO     Squashing layer 'ef1f813600d0c7b65cf66f77242f281704940599f5199200145772dfe56a69d1'...
2015-10-08 09:09:00,703 root         INFO     Squashing finished!
2015-10-08 09:09:00,706 root         INFO     Squashed image name: openshift/openldap-2441-centos7-candidate:latest
2015-10-08 09:09:38,457 root         INFO     Image registered in Docker daemon
2015-10-08 09:09:38,511 root         INFO     Done
+ shopt -s nullglob
+ IMAGE_NAME=openshift/openldap-2441-centos7-candidate
++ mktemp --suffix=openldap_test_cidfiles -d
+ CIDFILE_DIR=/tmp/tmp.ilco3fTgJPopenldap_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.ilco3fTgJPopenldap_test_cidfiles/test_container_root
+ docker run --cidfile /tmp/tmp.ilco3fTgJPopenldap_test_cidfiles/test_container_root -d openshift/openldap-2441-centos7-candidate
00091d66c043bb4f0d42dd462cb9d807cb93597e29bc7292c4a6ac5206322551
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.ilco3fTgJPopenldap_test_cidfiles/test_container_root
Created container 00091d66c043bb4f0d42dd462cb9d807cb93597e29bc7292c4a6ac5206322551
+ echo 'Created container 00091d66c043bb4f0d42dd462cb9d807cb93597e29bc7292c4a6ac5206322551'
++ 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.ilco3fTgJPopenldap_test_cidfiles/test_container_root
+++ echo 00091d66c043bb4f0d42dd462cb9d807cb93597e29bc7292c4a6ac5206322551
++ docker inspect '--format={{.NetworkSettings.IPAddress}}' 00091d66c043bb4f0d42dd462cb9d807cb93597e29bc7292c4a6ac5206322551
+ CONTAINER_IP=172.17.0.5
+ 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.ilco3fTgJPopenldap_test_cidfiles/test_container_root
+++ echo 00091d66c043bb4f0d42dd462cb9d807cb93597e29bc7292c4a6ac5206322551
++ docker inspect '--format={{.NetworkSettings.IPAddress}}' 00091d66c043bb4f0d42dd462cb9d807cb93597e29bc7292c4a6ac5206322551
  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 --:--:-- --:--:-- --:--:--     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 --:--:-- --:--:-- --:--:--   151
DN: dc=example,dc=com

+ status=0
+ set -e
+ '[' 0 -eq 0 ']'
+ echo '  Success!'
  Success!
+ return 0
  Testing OpenLDAP
+ test_openldap test_container_root
+ echo '  Testing OpenLDAP'
+ openldap_cmd objectClass%3Dorganization
+ url_encoded_base=dc%3Dexample%2Cdc%3Dcom
+ curl 'ldap://172.17.0.5: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
+ echo '  Success!'
  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.ilco3fTgJPopenldap_test_cidfiles/test_container_nonroot
+ docker run -u 12345 --cidfile /tmp/tmp.ilco3fTgJPopenldap_test_cidfiles/test_container_nonroot -d openshift/openldap-2441-centos7-candidate
b45450e57344387be0da05cef1982ecc6135303aecee378265e8d9105035f7f3
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.ilco3fTgJPopenldap_test_cidfiles/test_container_nonroot
Created container b45450e57344387be0da05cef1982ecc6135303aecee378265e8d9105035f7f3
+ echo 'Created container b45450e57344387be0da05cef1982ecc6135303aecee378265e8d9105035f7f3'
++ 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.ilco3fTgJPopenldap_test_cidfiles/test_container_nonroot
+++ echo b45450e57344387be0da05cef1982ecc6135303aecee378265e8d9105035f7f3
++ docker inspect '--format={{.NetworkSettings.IPAddress}}' b45450e57344387be0da05cef1982ecc6135303aecee378265e8d9105035f7f3
+ CONTAINER_IP=172.17.0.6
+ 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.ilco3fTgJPopenldap_test_cidfiles/test_container_nonroot
+++ echo b45450e57344387be0da05cef1982ecc6135303aecee378265e8d9105035f7f3
++ docker inspect '--format={{.NetworkSettings.IPAddress}}' b45450e57344387be0da05cef1982ecc6135303aecee378265e8d9105035f7f3
  Testing OpenLDAP connection to 172.17.0.6...
+ ip=172.17.0.6
+ echo '  Testing OpenLDAP connection to 172.17.0.6...'
+ local max_attempts=20
+ local sleep_time=2
++ seq 20
+ for i in '$(seq $max_attempts)'
+ echo '    Trying to connect...'
    Trying to connect...
+ set +e
+ openldap_cmd 'objectClass%3D*'
+ url_encoded_base=dc%3Dexample%2Cdc%3Dcom
+ curl 'ldap://172.17.0.6: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.6: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.6: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 --:--:-- --:--:-- --:--:--   151
DN: dc=example,dc=com

+ status=0
+ set -e
+ '[' 0 -eq 0 ']'
+ echo '  Success!'
  Success!
+ return 0
+ test_openldap test_container_nonroot
  Testing OpenLDAP
+ echo '  Testing OpenLDAP'
+ openldap_cmd objectClass%3Dorganization
+ url_encoded_base=dc%3Dexample%2Cdc%3Dcom
+ curl 'ldap://172.17.0.6: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.ilco3fTgJPopenldap_test_cidfiles/test_container_nonroot
+ CONTAINER=b45450e57344387be0da05cef1982ecc6135303aecee378265e8d9105035f7f3
Stopping and removing container b45450e57344387be0da05cef1982ecc6135303aecee378265e8d9105035f7f3...
+ echo 'Stopping and removing container b45450e57344387be0da05cef1982ecc6135303aecee378265e8d9105035f7f3...'
+ docker stop b45450e57344387be0da05cef1982ecc6135303aecee378265e8d9105035f7f3
b45450e57344387be0da05cef1982ecc6135303aecee378265e8d9105035f7f3
++ docker inspect -f '{{.State.ExitCode}}' b45450e57344387be0da05cef1982ecc6135303aecee378265e8d9105035f7f3
+ exit_status=0
+ '[' 0 '!=' 0 ']'
+ docker rm b45450e57344387be0da05cef1982ecc6135303aecee378265e8d9105035f7f3
b45450e57344387be0da05cef1982ecc6135303aecee378265e8d9105035f7f3
+ rm /tmp/tmp.ilco3fTgJPopenldap_test_cidfiles/test_container_nonroot
Done.
+ echo Done.
+ for cidfile in '$CIDFILE_DIR/*'
++ cat /tmp/tmp.ilco3fTgJPopenldap_test_cidfiles/test_container_root
+ CONTAINER=00091d66c043bb4f0d42dd462cb9d807cb93597e29bc7292c4a6ac5206322551
Stopping and removing container 00091d66c043bb4f0d42dd462cb9d807cb93597e29bc7292c4a6ac5206322551...
+ echo 'Stopping and removing container 00091d66c043bb4f0d42dd462cb9d807cb93597e29bc7292c4a6ac5206322551...'
+ docker stop 00091d66c043bb4f0d42dd462cb9d807cb93597e29bc7292c4a6ac5206322551
00091d66c043bb4f0d42dd462cb9d807cb93597e29bc7292c4a6ac5206322551
++ docker inspect -f '{{.State.ExitCode}}' 00091d66c043bb4f0d42dd462cb9d807cb93597e29bc7292c4a6ac5206322551
+ exit_status=0
+ '[' 0 '!=' 0 ']'
+ docker rm 00091d66c043bb4f0d42dd462cb9d807cb93597e29bc7292c4a6ac5206322551
00091d66c043bb4f0d42dd462cb9d807cb93597e29bc7292c4a6ac5206322551
+ rm /tmp/tmp.ilco3fTgJPopenldap_test_cidfiles/test_container_root
Done.
+ echo Done.
+ rmdir /tmp/tmp.ilco3fTgJPopenldap_test_cidfiles
+ cd /
+ sudo rm -rf /tmp/image_test.oBEd3QM
+ exit
RC=0
+ popd
~/jobs/openldap/workspace
[PostBuildScript] - Execution post build scripts.
[workspace] $ /bin/sh -xe /tmp/hudson1284266975518299115.sh
+ pushd origin
~/jobs/openldap/workspace/origin ~/jobs/openldap/workspace
+ vagrant modify-instance -r devenv-openldap-10-terminate -s
==> openshiftdev: Renamed to devenv-openldap-10-terminate
==> openshiftdev: Stopping instance i-dc41437c
==> openshiftdev: Stopped!
+ popd
~/jobs/openldap/workspace
Setting status of 313eb2bac9d6e099fb4ebdfbf9485a8fbc5d390a to SUCCESS with url https://ci.openshift.redhat.com/jenkins/job/openldap/10/ and message: 'Build finished. No test results found.'
Finished: SUCCESS