FailedConsole Output

GitHub pull request #10 of commit 13db2f89a2544731958a8548ef181e3c991b8c70, no merge conflicts.
Setting status of 13db2f89a2544731958a8548ef181e3c991b8c70 to PENDING with url https://ci.openshift.redhat.com/jenkins/job/openldap/12/ 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/10/merge^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/pr/10/merge^{commit} # timeout=10
Checking out Revision 72adbb104fcee1c8a8952ff44c80a34a6cf20421 (refs/remotes/origin/pr/10/merge)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 72adbb104fcee1c8a8952ff44c80a34a6cf20421
First time build. Skipping changelog.
[workspace] $ /bin/sh -xe /tmp/hudson5241478191725827149.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-12
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-4482-1fh9djs.sh
==> openshiftdev: Host: ec2-54-164-167-80.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 13db2f89a2544731958a8548ef181e3c991b8c70
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 13db2f89a2544731958a8548ef181e3c991b8c70

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.xQKUG7U
+ chcon -t docker_share_t /tmp/image_test.xQKUG7U
+ cd /tmp/image_test.xQKUG7U
+ 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: 161, done.
remote: Compressing objects:   1% (1/100)   
remote: Compressing objects:   2% (2/100)   
remote: Compressing objects:   3% (3/100)   
remote: Compressing objects:   4% (4/100)   
remote: Compressing objects:   5% (5/100)   
remote: Compressing objects:   6% (6/100)   
remote: Compressing objects:   7% (7/100)   
remote: Compressing objects:   8% (8/100)   
remote: Compressing objects:   9% (9/100)   
remote: Compressing objects:  10% (10/100)   
remote: Compressing objects:  11% (11/100)   
remote: Compressing objects:  12% (12/100)   
remote: Compressing objects:  13% (13/100)   
remote: Compressing objects:  14% (14/100)   
remote: Compressing objects:  15% (15/100)   
remote: Compressing objects:  16% (16/100)   
remote: Compressing objects:  17% (17/100)   
remote: Compressing objects:  18% (18/100)   
remote: Compressing objects:  19% (19/100)   
remote: Compressing objects:  20% (20/100)   
remote: Compressing objects:  21% (21/100)   
remote: Compressing objects:  22% (22/100)   
remote: Compressing objects:  23% (23/100)   
remote: Compressing objects:  24% (24/100)   
remote: Compressing objects:  25% (25/100)   
remote: Compressing objects:  26% (26/100)   
remote: Compressing objects:  27% (27/100)   
remote: Compressing objects:  28% (28/100)   
remote: Compressing objects:  29% (29/100)   
remote: Compressing objects:  30% (30/100)   
remote: Compressing objects:  31% (31/100)   
remote: Compressing objects:  32% (32/100)   
remote: Compressing objects:  33% (33/100)   
remote: Compressing objects:  34% (34/100)   
remote: Compressing objects:  35% (35/100)   
remote: Compressing objects:  36% (36/100)   
remote: Compressing objects:  37% (37/100)   
remote: Compressing objects:  38% (38/100)   
remote: Compressing objects:  39% (39/100)   
remote: Compressing objects:  40% (40/100)   
remote: Compressing objects:  41% (41/100)   
remote: Compressing objects:  42% (42/100)   
remote: Compressing objects:  43% (43/100)   
remote: Compressing objects:  44% (44/100)   
remote: Compressing objects:  45% (45/100)   
remote: Compressing objects:  46% (46/100)   
remote: Compressing objects:  47% (47/100)   
remote: Compressing objects:  48% (48/100)   
remote: Compressing objects:  49% (49/100)   
remote: Compressing objects:  50% (50/100)   
remote: Compressing objects:  51% (51/100)   
remote: Compressing objects:  52% (52/100)   
remote: Compressing objects:  53% (53/100)   
remote: Compressing objects:  54% (54/100)   
remote: Compressing objects:  55% (55/100)   
remote: Compressing objects:  56% (56/100)   
remote: Compressing objects:  57% (57/100)   
remote: Compressing objects:  58% (58/100)   
remote: Compressing objects:  59% (59/100)   
remote: Compressing objects:  60% (60/100)   
remote: Compressing objects:  61% (61/100)   
remote: Compressing objects:  62% (62/100)   
remote: Compressing objects:  63% (63/100)   
remote: Compressing objects:  64% (64/100)   
remote: Compressing objects:  65% (65/100)   
remote: Compressing objects:  66% (66/100)   
remote: Compressing objects:  67% (67/100)   
remote: Compressing objects:  68% (68/100)   
remote: Compressing objects:  69% (69/100)   
remote: Compressing objects:  70% (70/100)   
remote: Compressing objects:  71% (71/100)   
remote: Compressing objects:  72% (72/100)   
remote: Compressing objects:  73% (73/100)   
remote: Compressing objects:  74% (74/100)   
remote: Compressing objects:  75% (75/100)   
remote: Compressing objects:  76% (76/100)   
remote: Compressing objects:  77% (77/100)   
remote: Compressing objects:  78% (78/100)   
remote: Compressing objects:  79% (79/100)   
remote: Compressing objects:  80% (80/100)   
remote: Compressing objects:  81% (81/100)   
remote: Compressing objects:  82% (82/100)   
remote: Compressing objects:  83% (83/100)   
remote: Compressing objects:  84% (84/100)   
remote: Compressing objects:  85% (85/100)   
remote: Compressing objects:  86% (86/100)   
remote: Compressing objects:  87% (87/100)   
remote: Compressing objects:  88% (88/100)   
remote: Compressing objects:  89% (89/100)   
remote: Compressing objects:  90% (90/100)   
remote: Compressing objects:  91% (91/100)   
remote: Compressing objects:  92% (92/100)   
remote: Compressing objects:  93% (93/100)   
remote: Compressing objects:  94% (94/100)   
remote: Compressing objects:  95% (95/100)   
remote: Compressing objects:  96% (96/100)   
remote: Compressing objects:  97% (97/100)   
remote: Compressing objects:  98% (98/100)   
remote: Compressing objects:  99% (99/100)   
remote: Compressing objects: 100% (100/100)   
remote: Compressing objects: 100% (100/100), done.
Receiving objects:   0% (1/161)   
Receiving objects:   1% (2/161)   
Receiving objects:   2% (4/161)   
Receiving objects:   3% (5/161)   
Receiving objects:   4% (7/161)   
Receiving objects:   5% (9/161)   
Receiving objects:   6% (10/161)   
Receiving objects:   7% (12/161)   
Receiving objects:   8% (13/161)   
Receiving objects:   9% (15/161)   
Receiving objects:  10% (17/161)   
Receiving objects:  11% (18/161)   
Receiving objects:  12% (20/161)   
Receiving objects:  13% (21/161)   
Receiving objects:  14% (23/161)   
Receiving objects:  15% (25/161)   
Receiving objects:  16% (26/161)   
Receiving objects:  17% (28/161)   
Receiving objects:  18% (29/161)   
Receiving objects:  19% (31/161)   
Receiving objects:  20% (33/161)   
Receiving objects:  21% (34/161)   
Receiving objects:  22% (36/161)   
Receiving objects:  23% (38/161)   
Receiving objects:  24% (39/161)   
Receiving objects:  25% (41/161)   
Receiving objects:  26% (42/161)   
Receiving objects:  27% (44/161)   
Receiving objects:  28% (46/161)   
Receiving objects:  29% (47/161)   
Receiving objects:  30% (49/161)   
Receiving objects:  31% (50/161)   
Receiving objects:  32% (52/161)   
Receiving objects:  33% (54/161)   
Receiving objects:  34% (55/161)   
Receiving objects:  35% (57/161)   
Receiving objects:  36% (58/161)   
Receiving objects:  37% (60/161)   
Receiving objects:  38% (62/161)   
Receiving objects:  39% (63/161)   
Receiving objects:  40% (65/161)   
Receiving objects:  41% (67/161)   
Receiving objects:  42% (68/161)   
Receiving objects:  43% (70/161)   
Receiving objects:  44% (71/161)   
Receiving objects:  45% (73/161)   
Receiving objects:  46% (75/161)   
Receiving objects:  47% (76/161)   
Receiving objects:  48% (78/161)   
Receiving objects:  49% (79/161)   
Receiving objects:  50% (81/161)   
Receiving objects:  51% (83/161)   
Receiving objects:  52% (84/161)   
Receiving objects:  53% (86/161)   
Receiving objects:  54% (87/161)   
Receiving objects:  55% (89/161)   
Receiving objects:  56% (91/161)   
Receiving objects:  57% (92/161)   
Receiving objects:  58% (94/161)   
Receiving objects:  59% (95/161)   
Receiving objects:  60% (97/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  61% (99/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  62% (100/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  63% (102/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  64% (104/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  65% (105/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  66% (107/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  67% (108/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  68% (110/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  69% (112/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  70% (113/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  71% (115/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  72% (116/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  73% (118/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  74% (120/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  75% (121/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  76% (123/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  77% (124/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  78% (126/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  79% (128/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  80% (129/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  81% (131/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  82% (133/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  83% (134/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  84% (136/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  85% (137/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  86% (139/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  87% (141/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  88% (142/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  89% (144/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  90% (145/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  91% (147/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  92% (149/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  93% (150/161), 372.00 KiB | 553.00 KiB/s   
remote: Total 161 (delta 72), reused 22 (delta 22), pack-reused 38
Receiving objects:  94% (152/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  95% (153/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  96% (155/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  97% (157/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  98% (158/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  99% (160/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects: 100% (161/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects: 100% (161/161), 388.83 KiB | 553.00 KiB/s, done.
Resolving deltas:   0% (0/80)   
Resolving deltas:   5% (4/80)   
Resolving deltas:   6% (5/80)   
Resolving deltas:   7% (6/80)   
Resolving deltas:   8% (7/80)   
Resolving deltas:  10% (8/80)   
Resolving deltas:  11% (9/80)   
Resolving deltas:  12% (10/80)   
Resolving deltas:  13% (11/80)   
Resolving deltas:  15% (12/80)   
Resolving deltas:  21% (17/80)   
Resolving deltas:  23% (19/80)   
Resolving deltas:  25% (20/80)   
Resolving deltas:  28% (23/80)   
Resolving deltas:  32% (26/80)   
Resolving deltas:  33% (27/80)   
Resolving deltas:  36% (29/80)   
Resolving deltas:  40% (32/80)   
Resolving deltas:  41% (33/80)   
Resolving deltas:  42% (34/80)   
Resolving deltas:  43% (35/80)   
Resolving deltas:  45% (36/80)   
Resolving deltas:  46% (37/80)   
Resolving deltas:  52% (42/80)   
Resolving deltas:  53% (43/80)   
Resolving deltas:  56% (45/80)   
Resolving deltas:  57% (46/80)   
Resolving deltas:  60% (48/80)   
Resolving deltas:  62% (50/80)   
Resolving deltas:  66% (53/80)   
Resolving deltas:  72% (58/80)   
Resolving deltas:  76% (61/80)   
Resolving deltas:  78% (63/80)   
Resolving deltas:  81% (65/80)   
Resolving deltas:  82% (66/80)   
Resolving deltas:  88% (71/80)   
Resolving deltas:  91% (73/80)   
Resolving deltas:  93% (75/80)   
Resolving deltas: 100% (80/80)   
Resolving deltas: 100% (80/80), completed with 8 local objects.
+ git checkout 13db2f89a2544731958a8548ef181e3c991b8c70
Note: checking out '13db2f89a2544731958a8548ef181e3c991b8c70'.

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 13db2f8... added test for memberof overlay
+ '[' 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 33aa16dcba2e
 ---> cd7c5a80b907
Removing intermediate container 33aa16dcba2e
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 e50a1232253e
 ---> cfcf7122b761
Removing intermediate container e50a1232253e
Step 3 : COPY ./contrib/config /opt/openshift/config
 ---> bb8882097f47
Removing intermediate container 0c16a9884f74
Step 4 : COPY ./contrib/lib /opt/openshift/lib
 ---> fabc16d98357
Removing intermediate container 45a32abb7d6d
Step 5 : COPY run-*.sh /usr/local/bin/
 ---> 82bb1ad18f1a
Removing intermediate container 3b5a20da54a5
Step 6 : COPY contrib/*.ldif /usr/local/etc/openldap/
 ---> 16ee9e274d08
Removing intermediate container 882a849ced4e
Step 7 : COPY contrib/DB_CONFIG /usr/local/etc/openldap/
 ---> 036c64f4f57c
Removing intermediate container 556831b11344
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 e32e75969efd
Loaded plugins: fastestmirror
Determining fastest mirrors
 * base: mirror.ash.fastserv.com
 * extras: mirror.cogentco.com
 * updates: mirror.symnds.com
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                                               15 MB/s |  14 MB  00:00     
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
 ---> b0504bcbd17e
Removing intermediate container e32e75969efd
Step 9 : VOLUME /var/lib/ldap /etc/openldap
 ---> Running in c42fd372d2ab
 ---> fad80f3bdebc
Removing intermediate container c42fd372d2ab
Step 10 : EXPOSE 389 636
 ---> Running in b2aeb58394b4
 ---> 4d677f79e04a
Removing intermediate container b2aeb58394b4
Step 11 : CMD /usr/local/bin/run-openldap.sh
 ---> Running in 792395b220aa
 ---> e8ac0e63c976
Removing intermediate container 792395b220aa
Step 12 : LABEL io.openshift.builder-version "13db2f8"
 ---> Running in 13abf5099b17
 ---> fcdc148f749e
Removing intermediate container 13abf5099b17
Successfully built fcdc148f749e
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 11:55:23,510 root         INFO     Squashing image 'openshift/openldap-2441-rhel7-candidate'...
2015-10-08 11:55:23,564 root         INFO     Old image has 17 layers
2015-10-08 11:55:23,564 root         INFO     Attempting to squash from layer 0f73ae75014f435e279d85ad31edc67e46c4a5d692b61840ff51e9d05f3b01ec...
2015-10-08 11:55:23,564 root         INFO     Checking if squashing is necessary...
2015-10-08 11:55:23,564 root         INFO     We have 12 layers to squash
2015-10-08 11:55:23,564 root         INFO     Saving image fcdc148f749e674b46c619ac6b3d979bf0cb08851e5582b40daebc6d22104499 to /tmp/docker-squash-xJU4rQ/image.tar file...
2015-10-08 11:56:02,747 root         INFO     Image saved!
2015-10-08 11:56:02,748 root         INFO     Unpacking /tmp/docker-squash-xJU4rQ/image.tar tar file to /tmp/docker-squash-xJU4rQ/old directory
2015-10-08 11:56:03,518 root         INFO     Archive unpacked!
2015-10-08 11:56:03,519 root         INFO     New layer ID for squashed content will be: 3177a9be1d0aa93fc7205ae20097cd82027a537a68339a92aaf4bbb0a4d5e294
2015-10-08 11:56:03,519 root         INFO     Starting squashing...
2015-10-08 11:56:03,519 root         INFO     Squashing layer 'fcdc148f749e674b46c619ac6b3d979bf0cb08851e5582b40daebc6d22104499'...
2015-10-08 11:56:03,519 root         INFO     Squashing layer 'e8ac0e63c9767ac54dd3c03198535fd48f40077897854c11292ba5a47128e599'...
2015-10-08 11:56:03,520 root         INFO     Squashing layer '4d677f79e04ac21fc01cea592af15d75c0ad8c42eb47ec16f8e66d17f61fe561'...
2015-10-08 11:56:03,520 root         INFO     Squashing layer 'fad80f3bdebcb177105b0810353082ea3c0c7b88d942fdb1e9b727c4b2b8613f'...
2015-10-08 11:56:03,520 root         INFO     Squashing layer 'b0504bcbd17ea82c5c9a6ed3d36a5971b11c0fffc704c5c5d8b601d9bbcd6b65'...
2015-10-08 11:56:04,832 root         INFO     Squashing layer '036c64f4f57c8cbdbfa43e528b4b3c848d8080e4a5176c98d782ada90a5adced'...
2015-10-08 11:56:04,836 root         INFO     Squashing layer '16ee9e274d082ca30496817aaa654e818c189a9a3c665340017424d9194c18e2'...
2015-10-08 11:56:04,840 root         INFO     Squashing layer '82bb1ad18f1a7295cb72d87461255f1dd6b70d6e4ad27f72660e10b810bba9f4'...
2015-10-08 11:56:04,842 root         INFO     Squashing layer 'fabc16d98357f42bd822a6f5acf663317572b8fd1aa58121503a1136023f5098'...
2015-10-08 11:56:04,846 root         INFO     Squashing layer 'bb8882097f47ecfd537d2c9381682ae5ea5f54706a0c8577c165a04b9a15f71f'...
2015-10-08 11:56:04,863 root         INFO     Squashing layer 'cfcf7122b761c07d2b6cb1ef04e4528f47db62a4b7f4650f151f7d4babaceb2c'...
2015-10-08 11:56:04,864 root         INFO     Squashing layer 'cd7c5a80b90727e85e83e7bb091813a1aa49d0d3afde0a1aed00ac0e73d2075f'...
2015-10-08 11:56:05,490 root         INFO     Squashing finished!
2015-10-08 11:56:05,494 root         INFO     Squashed image name: openshift/openldap-2441-rhel7-candidate:latest
2015-10-08 11:56:21,807 root         INFO     Image registered in Docker daemon
2015-10-08 11:56:21,861 root         INFO     Done
+ shopt -s nullglob
+ IMAGE_NAME=openshift/openldap-2441-rhel7-candidate
++ mktemp --suffix=openldap_test_cidfiles -d
+ CIDFILE_DIR=/tmp/tmp.d0hc2qDYUVopenldap_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.d0hc2qDYUVopenldap_test_cidfiles/test_container_root
+ docker run --cidfile /tmp/tmp.d0hc2qDYUVopenldap_test_cidfiles/test_container_root -d openshift/openldap-2441-rhel7-candidate
3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a
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.d0hc2qDYUVopenldap_test_cidfiles/test_container_root
Created container 3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a
+ echo 'Created container 3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a'
++ 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.d0hc2qDYUVopenldap_test_cidfiles/test_container_root
+++ echo 3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a
++ docker inspect '--format={{.NetworkSettings.IPAddress}}' 3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a
+ 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.d0hc2qDYUVopenldap_test_cidfiles/test_container_root
+++ echo 3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a
++ docker inspect '--format={{.NetworkSettings.IPAddress}}' 3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a
  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
    Trying to connect...
+ for i in '$(seq $max_attempts)'
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
    Trying to connect...
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
    Trying to connect...
+ for i in '$(seq $max_attempts)'
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
    Trying to connect...
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
    Trying to connect...
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
+ echo '    Trying to connect...'
    Trying to connect...
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
    Trying to connect...
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
    Trying to connect...
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
    Trying to connect...
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
    Trying to connect...
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
    Trying to connect...
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
    Trying to connect...
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
    Trying to connect...
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
    Trying to connect...
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
    Trying to connect...
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
    Trying to connect...
+ for i in '$(seq $max_attempts)'
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
    Trying to connect...
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
    Trying to connect...
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
    Trying to connect...
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
    Trying to connect...
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
  Giving up: Failed to connect. Logs:
+ echo '  Giving up: Failed to connect. Logs:'
++ get_cid test_container_root
++ local id=test_container_root
++ shift
+++ cat /tmp/tmp.d0hc2qDYUVopenldap_test_cidfiles/test_container_root
++ echo 3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a
+ docker logs 3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a
modifying entry "olcDatabase={0}config,cn=config"

modifying entry "olcDatabase={2}hdb,cn=config"

+ ulimit -n 1024
+ OPENLDAP_ROOT_PASSWORD=admin
+ OPENLDAP_ROOT_DN_RREFIX=cn=Manager
+ OPENLDAP_ROOT_DN_SUFFIX=dc=example,dc=com
+ OPENLDAP_DEBUG_LEVEL=256
+ '[' '!' -f /etc/openldap/CONFIGURED ']'
++ id
++ grep -Po '(?<=uid=)\d+'
+ user=0
+ ((  user == 0  ))
+ cp /usr/local/etc/openldap/DB_CONFIG /var/lib/ldap/DB_CONFIG
+ (( i=30 ))
+ (( i>0 ))
++ ldapsearch
+ slapd -h 'ldap:/// ldaps:/// ldapi:///' -d 256
++ grep 'Can.t contact LDAP server'
56169226 @(#) $OpenLDAP: slapd 2.4.39 (Sep 29 2015 13:31:12) $
	mockbuild@worker1.bsys.centos.org:/builddir/build/BUILD/openldap-2.4.39/openldap-2.4.39/servers/slapd
+ ping_result='ldap_sasl_interactive_bind_s: Can'\''t contact LDAP server (-1)'
+ '[' -z 'ldap_sasl_interactive_bind_s: Can'\''t contact LDAP server (-1)' ']'
+ sleep 1
56169226 slapd starting
+ (( i-- ))
+ (( i>0 ))
++ ldapsearch
++ grep 'Can.t contact LDAP server'
56169227 conn=1000 fd=18 ACCEPT from IP=[::1]:52211 (IP=[::]:389)
56169227 conn=1000 op=0 SRCH base="" scope=0 deref=0 filter="(objectClass=*)"
56169227 conn=1000 op=0 SRCH attr=supportedSASLMechanisms
56169227 conn=1000 op=0 SEARCH RESULT tag=101 err=0 nentries=1 text=
56169227 conn=1000 op=1 UNBIND
56169227 conn=1000 fd=18 closed
+ ping_result=
+ '[' -z '' ']'
+ break
+ '[' 29 -eq 0 ']'
++ slappasswd -s admin
+ OPENLDAP_ROOT_PASSWORD_HASH='{SSHA}QxcF538/h4FwU4BIihir2QH3MsQbQwgE'
+ sed -e 's OPENLDAP_ROOT_PASSWORD {SSHA}QxcF538/h4FwU4BIihir2QH3MsQbQwgE g' -e 's OPENLDAP_ROOT_DN cn=Manager g' -e 's OPENLDAP_SUFFIX dc=example,dc=com g' /usr/local/etc/openldap/first_config.ldif
+ ldapmodify -Y EXTERNAL -H ldapi:/// -d 256
56169227 conn=1001 fd=18 ACCEPT from PATH=/var/run/ldapi (PATH=/var/run/ldapi)
SASL/EXTERNAL authentication started
56169227 conn=1001 op=0 BIND dn="" method=163
56169227 conn=1001 op=0 BIND authcid="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" authzid="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth"
56169227 conn=1001 op=0 BIND dn="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" mech=EXTERNAL sasl_ssf=0 ssf=71
56169227 conn=1001 op=0 RESULT tag=97 err=0 text=
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
56169227 conn=1001 op=1 MOD dn="olcDatabase={0}config,cn=config"
56169227 conn=1001 op=1 MOD attr=olcRootPW
56169227 conn=1001 op=1 RESULT tag=103 err=0 text=
56169227 conn=1001 op=2 MOD dn="olcDatabase={2}hdb,cn=config"
56169227 conn=1001 op=2 MOD attr=olcRootPW olcRootDN olcSuffix
56169227 conn=1001 op=2 RESULT tag=103 err=0 text=
56169227 conn=1001 op=3 UNBIND
56169227 conn=1001 fd=18 closed
+ ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/openldap/schema/cosine.ldif -d 256
56169227 conn=1002 fd=18 ACCEPT from PATH=/var/run/ldapi (PATH=/var/run/ldapi)
SASL/EXTERNAL authentication started
56169227 conn=1002 op=0 BIND dn="" method=163
56169227 conn=1002 op=0 BIND authcid="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" authzid="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth"
56169227 conn=1002 op=0 BIND dn="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" mech=EXTERNAL sasl_ssf=0 ssf=71
56169227 conn=1002 op=0 RESULT tag=97 err=0 text=
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
adding new entry "cn=cosine,cn=schema,cn=config"

56169227 conn=1002 op=1 ADD dn="cn=cosine,cn=schema,cn=config"
56169227 conn=1002 op=1 RESULT tag=105 err=0 text=
56169227 conn=1002 op=2 UNBIND
56169227 conn=1002 fd=18 closed
+ ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/openldap/schema/inetorgperson.ldif -d 256
56169227 conn=1003 fd=18 ACCEPT from PATH=/var/run/ldapi (PATH=/var/run/ldapi)
SASL/EXTERNAL authentication started
56169227 conn=1003 op=0 BIND dn="" method=163
adding new entry "cn=inetorgperson,cn=schema,cn=config"

56169227 conn=1003 op=0 BIND authcid="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" authzid="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth"
56169227 conn=1003 op=0 BIND dn="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" mech=EXTERNAL sasl_ssf=0 ssf=71
56169227 conn=1003 op=0 RESULT tag=97 err=0 text=
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
56169227 conn=1003 op=1 ADD dn="cn=inetorgperson,cn=schema,cn=config"
56169227 conn=1003 op=1 RESULT tag=105 err=0 text=
56169227 conn=1003 op=2 UNBIND
56169227 conn=1003 fd=18 closed
+ ldapadd -Y EXTERNAL -H ldapi:/// -f /usr/local/etc/openldap/load_modules.ldif -d 256
56169227 conn=1004 fd=18 ACCEPT from PATH=/var/run/ldapi (PATH=/var/run/ldapi)
SASL/EXTERNAL authentication started
56169227 conn=1004 op=0 BIND dn="" method=163
56169227 conn=1004 op=0 BIND authcid="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" authzid="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth"
56169227 conn=1004 op=0 BIND dn="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" mech=EXTERNAL sasl_ssf=0 ssf=71
56169227 conn=1004 op=0 RESULT tag=97 err=0 text=
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
56169227 conn=1004 op=1 ADD dn="cn=module{0},cn=config"
56169227 conn=1004 op=1 RESULT tag=105 err=0 text=
56169227 conn=1004 op=2 UNBIND
adding new entry "cn=module{0},cn=config"

56169227 conn=1004 fd=18 closed
+ ldapadd -Y EXTERNAL -H ldapi:/// -f /usr/local/etc/openldap/memberof_configure.ldif -d 256
/usr/local/etc/openldap/memberof_configure.ldif: No such file or directory
+ ldapadd -Y EXTERNAL -H ldapi:/// -f /usr/local/etc/openldap/refint_configure.ldif -d 256
/usr/local/etc/openldap/refint_configure.ldif: No such file or directory
++ echo dc=example,dc=com
++ grep -Po '(?<=^dc\=)[\w\d]+'
+ dc_name=example
+ sed -e 's OPENLDAP_SUFFIX dc=example,dc=com g' -e 's FIRST_PART example g' usr/local/etc/openldap/base.ldif
+ ldapadd -x -D cn=Manager,dc=example,dc=com -w admin
56169227 conn=1005 fd=18 ACCEPT from IP=[::1]:52212 (IP=[::]:389)
56169227 conn=1005 op=0 BIND dn="cn=Manager,dc=example,dc=com" method=128
56169227 conn=1005 op=0 BIND dn="cn=Manager,dc=example,dc=com" mech=SIMPLE ssf=0
56169227 conn=1005 op=0 RESULT tag=97 err=0 text=
56169227 conn=1005 op=1 ADD dn="dc=example,dc=com"
56169227 conn=1005 op=1 RESULT tag=105 err=0 text=
56169227 conn=1005 op=2 UNBIND
adding new entry "dc=example,dc=com"

56169227 conn=1005 fd=18 closed
++ ps -A
++ grep slapd
++ awk '{print $1}'
+ pid=10
+ kill -2 10
+ (( i=30 ))
+ (( i>0 ))
56169227 daemon: shutdown requested and initiated.
56169227 slapd shutdown: waiting for 0 operations/tasks to finish
++ ps -A
++ grep 10
+ exists='   10 ?        00:00:00 slapd'
+ '[' -z '   10 ?        00:00:00 slapd' ']'
+ sleep 1
56169227 slapd stopped.
+ (( i-- ))
+ (( i>0 ))
++ ps -A
++ grep 10
+ exists=
+ '[' -z '' ']'
+ break
+ '[' 29 -eq 0 ']'
++ slaptest
+ LOG='config file testing succeeded'
++ echo 'config file testing succeeded'
++ grep -Po '(?<=ldif_read_file: checksum error on ").+(?=")'
+ CHECKSUM_ERR=
+ rm -rf /opt/openshift/config /opt/openshift/lib
+ touch /etc/openldap/CONFIGURED
+ exec slapd -h 'ldap:/// ldaps:///' -d 256
56169228 @(#) $OpenLDAP: slapd 2.4.39 (Sep 29 2015 13:31:12) $
	mockbuild@worker1.bsys.centos.org:/builddir/build/BUILD/openldap-2.4.39/openldap-2.4.39/servers/slapd
56169228 slapd starting
+ return 1
+ cleanup
+ for cidfile in '$CIDFILE_DIR/*'
++ cat /tmp/tmp.d0hc2qDYUVopenldap_test_cidfiles/test_container_root
+ CONTAINER=3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a
Stopping and removing container 3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a...
+ echo 'Stopping and removing container 3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a...'
+ docker stop 3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a
3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a
++ docker inspect -f '{{.State.ExitCode}}' 3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a
+ exit_status=0
+ '[' 0 '!=' 0 ']'
+ docker rm 3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a
3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a
+ rm /tmp/tmp.d0hc2qDYUVopenldap_test_cidfiles/test_container_root
Done.
+ echo Done.
+ rmdir /tmp/tmp.d0hc2qDYUVopenldap_test_cidfiles
make: *** [test] Error 1
+ echo 'ERROR: openldap-rhel7 failed testing.'
ERROR: openldap-rhel7 failed testing.
+ exit 1
Exception: The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!


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 13db2f89a2544731958a8548ef181e3c991b8c70

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


Stdout from the command:

Cloning into 'openldap'...
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 33aa16dcba2e
 ---> cd7c5a80b907
Removing intermediate container 33aa16dcba2e
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 e50a1232253e
 ---> cfcf7122b761
Removing intermediate container e50a1232253e
Step 3 : COPY ./contrib/config /opt/openshift/config
 ---> bb8882097f47
Removing intermediate container 0c16a9884f74
Step 4 : COPY ./contrib/lib /opt/openshift/lib
 ---> fabc16d98357
Removing intermediate container 45a32abb7d6d
Step 5 : COPY run-*.sh /usr/local/bin/
 ---> 82bb1ad18f1a
Removing intermediate container 3b5a20da54a5
Step 6 : COPY contrib/*.ldif /usr/local/etc/openldap/
 ---> 16ee9e274d08
Removing intermediate container 882a849ced4e
Step 7 : COPY contrib/DB_CONFIG /usr/local/etc/openldap/
 ---> 036c64f4f57c
Removing intermediate container 556831b11344
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 e32e75969efd
Loaded plugins: fastestmirror
Determining fastest mirrors
 * base: mirror.ash.fastserv.com
 * extras: mirror.cogentco.com
 * updates: mirror.symnds.com
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                                               15 MB/s |  14 MB  00:00     
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
 ---> b0504bcbd17e
Removing intermediate container e32e75969efd
Step 9 : VOLUME /var/lib/ldap /etc/openldap
 ---> Running in c42fd372d2ab
 ---> fad80f3bdebc
Removing intermediate container c42fd372d2ab
Step 10 : EXPOSE 389 636
 ---> Running in b2aeb58394b4
 ---> 4d677f79e04a
Removing intermediate container b2aeb58394b4
Step 11 : CMD /usr/local/bin/run-openldap.sh
 ---> Running in 792395b220aa
 ---> e8ac0e63c976
Removing intermediate container 792395b220aa
Step 12 : LABEL io.openshift.builder-version "13db2f8"
 ---> Running in 13abf5099b17
 ---> fcdc148f749e
Removing intermediate container 13abf5099b17
Successfully built fcdc148f749e
3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a
Created container 3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a
  Testing OpenLDAP connection to 172.17.0.2...
    Trying to connect...
    Trying to connect...
    Trying to connect...
    Trying to connect...
    Trying to connect...
    Trying to connect...
    Trying to connect...
    Trying to connect...
    Trying to connect...
    Trying to connect...
    Trying to connect...
    Trying to connect...
    Trying to connect...
    Trying to connect...
    Trying to connect...
    Trying to connect...
    Trying to connect...
    Trying to connect...
    Trying to connect...
    Trying to connect...
  Giving up: Failed to connect. Logs:
modifying entry "olcDatabase={0}config,cn=config"

modifying entry "olcDatabase={2}hdb,cn=config"

adding new entry "cn=cosine,cn=schema,cn=config"

adding new entry "cn=inetorgperson,cn=schema,cn=config"

adding new entry "cn=module{0},cn=config"

adding new entry "dc=example,dc=com"

Stopping and removing container 3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a...
3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a
3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a
Done.
ERROR: openldap-rhel7 failed testing.


Stderr from the command:

+ '[' -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.xQKUG7U
+ chcon -t docker_share_t /tmp/image_test.xQKUG7U
+ cd /tmp/image_test.xQKUG7U
+ git clone https://github.com/openshift/openldap
+ cd openldap
+ git fetch --quiet --tags --progress https://github.com/openshift/openldap '+refs/pull/*:refs/remotes/origin/pr/*'
remote: Counting objects: 161, done.
remote: Compressing objects:   1% (1/100)   
remote: Compressing objects:   2% (2/100)   
remote: Compressing objects:   3% (3/100)   
remote: Compressing objects:   4% (4/100)   
remote: Compressing objects:   5% (5/100)   
remote: Compressing objects:   6% (6/100)   
remote: Compressing objects:   7% (7/100)   
remote: Compressing objects:   8% (8/100)   
remote: Compressing objects:   9% (9/100)   
remote: Compressing objects:  10% (10/100)   
remote: Compressing objects:  11% (11/100)   
remote: Compressing objects:  12% (12/100)   
remote: Compressing objects:  13% (13/100)   
remote: Compressing objects:  14% (14/100)   
remote: Compressing objects:  15% (15/100)   
remote: Compressing objects:  16% (16/100)   
remote: Compressing objects:  17% (17/100)   
remote: Compressing objects:  18% (18/100)   
remote: Compressing objects:  19% (19/100)   
remote: Compressing objects:  20% (20/100)   
remote: Compressing objects:  21% (21/100)   
remote: Compressing objects:  22% (22/100)   
remote: Compressing objects:  23% (23/100)   
remote: Compressing objects:  24% (24/100)   
remote: Compressing objects:  25% (25/100)   
remote: Compressing objects:  26% (26/100)   
remote: Compressing objects:  27% (27/100)   
remote: Compressing objects:  28% (28/100)   
remote: Compressing objects:  29% (29/100)   
remote: Compressing objects:  30% (30/100)   
remote: Compressing objects:  31% (31/100)   
remote: Compressing objects:  32% (32/100)   
remote: Compressing objects:  33% (33/100)   
remote: Compressing objects:  34% (34/100)   
remote: Compressing objects:  35% (35/100)   
remote: Compressing objects:  36% (36/100)   
remote: Compressing objects:  37% (37/100)   
remote: Compressing objects:  38% (38/100)   
remote: Compressing objects:  39% (39/100)   
remote: Compressing objects:  40% (40/100)   
remote: Compressing objects:  41% (41/100)   
remote: Compressing objects:  42% (42/100)   
remote: Compressing objects:  43% (43/100)   
remote: Compressing objects:  44% (44/100)   
remote: Compressing objects:  45% (45/100)   
remote: Compressing objects:  46% (46/100)   
remote: Compressing objects:  47% (47/100)   
remote: Compressing objects:  48% (48/100)   
remote: Compressing objects:  49% (49/100)   
remote: Compressing objects:  50% (50/100)   
remote: Compressing objects:  51% (51/100)   
remote: Compressing objects:  52% (52/100)   
remote: Compressing objects:  53% (53/100)   
remote: Compressing objects:  54% (54/100)   
remote: Compressing objects:  55% (55/100)   
remote: Compressing objects:  56% (56/100)   
remote: Compressing objects:  57% (57/100)   
remote: Compressing objects:  58% (58/100)   
remote: Compressing objects:  59% (59/100)   
remote: Compressing objects:  60% (60/100)   
remote: Compressing objects:  61% (61/100)   
remote: Compressing objects:  62% (62/100)   
remote: Compressing objects:  63% (63/100)   
remote: Compressing objects:  64% (64/100)   
remote: Compressing objects:  65% (65/100)   
remote: Compressing objects:  66% (66/100)   
remote: Compressing objects:  67% (67/100)   
remote: Compressing objects:  68% (68/100)   
remote: Compressing objects:  69% (69/100)   
remote: Compressing objects:  70% (70/100)   
remote: Compressing objects:  71% (71/100)   
remote: Compressing objects:  72% (72/100)   
remote: Compressing objects:  73% (73/100)   
remote: Compressing objects:  74% (74/100)   
remote: Compressing objects:  75% (75/100)   
remote: Compressing objects:  76% (76/100)   
remote: Compressing objects:  77% (77/100)   
remote: Compressing objects:  78% (78/100)   
remote: Compressing objects:  79% (79/100)   
remote: Compressing objects:  80% (80/100)   
remote: Compressing objects:  81% (81/100)   
remote: Compressing objects:  82% (82/100)   
remote: Compressing objects:  83% (83/100)   
remote: Compressing objects:  84% (84/100)   
remote: Compressing objects:  85% (85/100)   
remote: Compressing objects:  86% (86/100)   
remote: Compressing objects:  87% (87/100)   
remote: Compressing objects:  88% (88/100)   
remote: Compressing objects:  89% (89/100)   
remote: Compressing objects:  90% (90/100)   
remote: Compressing objects:  91% (91/100)   
remote: Compressing objects:  92% (92/100)   
remote: Compressing objects:  93% (93/100)   
remote: Compressing objects:  94% (94/100)   
remote: Compressing objects:  95% (95/100)   
remote: Compressing objects:  96% (96/100)   
remote: Compressing objects:  97% (97/100)   
remote: Compressing objects:  98% (98/100)   
remote: Compressing objects:  99% (99/100)   
remote: Compressing objects: 100% (100/100)   
remote: Compressing objects: 100% (100/100), done.
Receiving objects:   0% (1/161)   
Receiving objects:   1% (2/161)   
Receiving objects:   2% (4/161)   
Receiving objects:   3% (5/161)   
Receiving objects:   4% (7/161)   
Receiving objects:   5% (9/161)   
Receiving objects:   6% (10/161)   
Receiving objects:   7% (12/161)   
Receiving objects:   8% (13/161)   
Receiving objects:   9% (15/161)   
Receiving objects:  10% (17/161)   
Receiving objects:  11% (18/161)   
Receiving objects:  12% (20/161)   
Receiving objects:  13% (21/161)   
Receiving objects:  14% (23/161)   
Receiving objects:  15% (25/161)   
Receiving objects:  16% (26/161)   
Receiving objects:  17% (28/161)   
Receiving objects:  18% (29/161)   
Receiving objects:  19% (31/161)   
Receiving objects:  20% (33/161)   
Receiving objects:  21% (34/161)   
Receiving objects:  22% (36/161)   
Receiving objects:  23% (38/161)   
Receiving objects:  24% (39/161)   
Receiving objects:  25% (41/161)   
Receiving objects:  26% (42/161)   
Receiving objects:  27% (44/161)   
Receiving objects:  28% (46/161)   
Receiving objects:  29% (47/161)   
Receiving objects:  30% (49/161)   
Receiving objects:  31% (50/161)   
Receiving objects:  32% (52/161)   
Receiving objects:  33% (54/161)   
Receiving objects:  34% (55/161)   
Receiving objects:  35% (57/161)   
Receiving objects:  36% (58/161)   
Receiving objects:  37% (60/161)   
Receiving objects:  38% (62/161)   
Receiving objects:  39% (63/161)   
Receiving objects:  40% (65/161)   
Receiving objects:  41% (67/161)   
Receiving objects:  42% (68/161)   
Receiving objects:  43% (70/161)   
Receiving objects:  44% (71/161)   
Receiving objects:  45% (73/161)   
Receiving objects:  46% (75/161)   
Receiving objects:  47% (76/161)   
Receiving objects:  48% (78/161)   
Receiving objects:  49% (79/161)   
Receiving objects:  50% (81/161)   
Receiving objects:  51% (83/161)   
Receiving objects:  52% (84/161)   
Receiving objects:  53% (86/161)   
Receiving objects:  54% (87/161)   
Receiving objects:  55% (89/161)   
Receiving objects:  56% (91/161)   
Receiving objects:  57% (92/161)   
Receiving objects:  58% (94/161)   
Receiving objects:  59% (95/161)   
Receiving objects:  60% (97/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  61% (99/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  62% (100/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  63% (102/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  64% (104/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  65% (105/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  66% (107/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  67% (108/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  68% (110/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  69% (112/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  70% (113/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  71% (115/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  72% (116/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  73% (118/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  74% (120/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  75% (121/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  76% (123/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  77% (124/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  78% (126/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  79% (128/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  80% (129/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  81% (131/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  82% (133/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  83% (134/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  84% (136/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  85% (137/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  86% (139/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  87% (141/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  88% (142/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  89% (144/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  90% (145/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  91% (147/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  92% (149/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  93% (150/161), 372.00 KiB | 553.00 KiB/s   
remote: Total 161 (delta 72), reused 22 (delta 22), pack-reused 38
Receiving objects:  94% (152/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  95% (153/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  96% (155/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  97% (157/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  98% (158/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects:  99% (160/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects: 100% (161/161), 372.00 KiB | 553.00 KiB/s   
Receiving objects: 100% (161/161), 388.83 KiB | 553.00 KiB/s, done.
Resolving deltas:   0% (0/80)   
Resolving deltas:   5% (4/80)   
Resolving deltas:   6% (5/80)   
Resolving deltas:   7% (6/80)   
Resolving deltas:   8% (7/80)   
Resolving deltas:  10% (8/80)   
Resolving deltas:  11% (9/80)   
Resolving deltas:  12% (10/80)   
Resolving deltas:  13% (11/80)   
Resolving deltas:  15% (12/80)   
Resolving deltas:  21% (17/80)   
Resolving deltas:  23% (19/80)   
Resolving deltas:  25% (20/80)   
Resolving deltas:  28% (23/80)   
Resolving deltas:  32% (26/80)   
Resolving deltas:  33% (27/80)   
Resolving deltas:  36% (29/80)   
Resolving deltas:  40% (32/80)   
Resolving deltas:  41% (33/80)   
Resolving deltas:  42% (34/80)   
Resolving deltas:  43% (35/80)   
Resolving deltas:  45% (36/80)   
Resolving deltas:  46% (37/80)   
Resolving deltas:  52% (42/80)   
Resolving deltas:  53% (43/80)   
Resolving deltas:  56% (45/80)   
Resolving deltas:  57% (46/80)   
Resolving deltas:  60% (48/80)   
Resolving deltas:  62% (50/80)   
Resolving deltas:  66% (53/80)   
Resolving deltas:  72% (58/80)   
Resolving deltas:  76% (61/80)   
Resolving deltas:  78% (63/80)   
Resolving deltas:  81% (65/80)   
Resolving deltas:  82% (66/80)   
Resolving deltas:  88% (71/80)   
Resolving deltas:  91% (73/80)   
Resolving deltas:  93% (75/80)   
Resolving deltas: 100% (80/80)   
Resolving deltas: 100% (80/80), completed with 8 local objects.
+ git checkout 13db2f89a2544731958a8548ef181e3c991b8c70
Note: checking out '13db2f89a2544731958a8548ef181e3c991b8c70'.

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 13db2f8... added test for memberof overlay
+ '[' 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
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 11:55:23,510 root         INFO     Squashing image 'openshift/openldap-2441-rhel7-candidate'...
2015-10-08 11:55:23,564 root         INFO     Old image has 17 layers
2015-10-08 11:55:23,564 root         INFO     Attempting to squash from layer 0f73ae75014f435e279d85ad31edc67e46c4a5d692b61840ff51e9d05f3b01ec...
2015-10-08 11:55:23,564 root         INFO     Checking if squashing is necessary...
2015-10-08 11:55:23,564 root         INFO     We have 12 layers to squash
2015-10-08 11:55:23,564 root         INFO     Saving image fcdc148f749e674b46c619ac6b3d979bf0cb08851e5582b40daebc6d22104499 to /tmp/docker-squash-xJU4rQ/image.tar file...
2015-10-08 11:56:02,747 root         INFO     Image saved!
2015-10-08 11:56:02,748 root         INFO     Unpacking /tmp/docker-squash-xJU4rQ/image.tar tar file to /tmp/docker-squash-xJU4rQ/old directory
2015-10-08 11:56:03,518 root         INFO     Archive unpacked!
2015-10-08 11:56:03,519 root         INFO     New layer ID for squashed content will be: 3177a9be1d0aa93fc7205ae20097cd82027a537a68339a92aaf4bbb0a4d5e294
2015-10-08 11:56:03,519 root         INFO     Starting squashing...
2015-10-08 11:56:03,519 root         INFO     Squashing layer 'fcdc148f749e674b46c619ac6b3d979bf0cb08851e5582b40daebc6d22104499'...
2015-10-08 11:56:03,519 root         INFO     Squashing layer 'e8ac0e63c9767ac54dd3c03198535fd48f40077897854c11292ba5a47128e599'...
2015-10-08 11:56:03,520 root         INFO     Squashing layer '4d677f79e04ac21fc01cea592af15d75c0ad8c42eb47ec16f8e66d17f61fe561'...
2015-10-08 11:56:03,520 root         INFO     Squashing layer 'fad80f3bdebcb177105b0810353082ea3c0c7b88d942fdb1e9b727c4b2b8613f'...
2015-10-08 11:56:03,520 root         INFO     Squashing layer 'b0504bcbd17ea82c5c9a6ed3d36a5971b11c0fffc704c5c5d8b601d9bbcd6b65'...
2015-10-08 11:56:04,832 root         INFO     Squashing layer '036c64f4f57c8cbdbfa43e528b4b3c848d8080e4a5176c98d782ada90a5adced'...
2015-10-08 11:56:04,836 root         INFO     Squashing layer '16ee9e274d082ca30496817aaa654e818c189a9a3c665340017424d9194c18e2'...
2015-10-08 11:56:04,840 root         INFO     Squashing layer '82bb1ad18f1a7295cb72d87461255f1dd6b70d6e4ad27f72660e10b810bba9f4'...
2015-10-08 11:56:04,842 root         INFO     Squashing layer 'fabc16d98357f42bd822a6f5acf663317572b8fd1aa58121503a1136023f5098'...
2015-10-08 11:56:04,846 root         INFO     Squashing layer 'bb8882097f47ecfd537d2c9381682ae5ea5f54706a0c8577c165a04b9a15f71f'...
2015-10-08 11:56:04,863 root         INFO     Squashing layer 'cfcf7122b761c07d2b6cb1ef04e4528f47db62a4b7f4650f151f7d4babaceb2c'...
2015-10-08 11:56:04,864 root         INFO     Squashing layer 'cd7c5a80b90727e85e83e7bb091813a1aa49d0d3afde0a1aed00ac0e73d2075f'...
2015-10-08 11:56:05,490 root         INFO     Squashing finished!
2015-10-08 11:56:05,494 root         INFO     Squashed image name: openshift/openldap-2441-rhel7-candidate:latest
2015-10-08 11:56:21,807 root         INFO     Image registered in Docker daemon
2015-10-08 11:56:21,861 root         INFO     Done
+ shopt -s nullglob
+ IMAGE_NAME=openshift/openldap-2441-rhel7-candidate
++ mktemp --suffix=openldap_test_cidfiles -d
+ CIDFILE_DIR=/tmp/tmp.d0hc2qDYUVopenldap_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.d0hc2qDYUVopenldap_test_cidfiles/test_container_root
+ docker run --cidfile /tmp/tmp.d0hc2qDYUVopenldap_test_cidfiles/test_container_root -d openshift/openldap-2441-rhel7-candidate
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.d0hc2qDYUVopenldap_test_cidfiles/test_container_root
+ echo 'Created container 3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a'
++ 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.d0hc2qDYUVopenldap_test_cidfiles/test_container_root
+++ echo 3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a
++ docker inspect '--format={{.NetworkSettings.IPAddress}}' 3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a
+ 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.d0hc2qDYUVopenldap_test_cidfiles/test_container_root
+++ echo 3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a
++ docker inspect '--format={{.NetworkSettings.IPAddress}}' 3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a
+ 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...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ for i in '$(seq $max_attempts)'
+ echo '    Trying to connect...'
+ set +e
+ ldapsearch -x -h 172.17.0.2 -p 389 -b dc=example,dc=com
test/run: line 54: ldapsearch: command not found
+ status=127
+ set -e
+ '[' 127 -eq 0 ']'
+ sleep 2
+ echo '  Giving up: Failed to connect. Logs:'
++ get_cid test_container_root
++ local id=test_container_root
++ shift
+++ cat /tmp/tmp.d0hc2qDYUVopenldap_test_cidfiles/test_container_root
++ echo 3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a
+ docker logs 3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a
+ ulimit -n 1024
+ OPENLDAP_ROOT_PASSWORD=admin
+ OPENLDAP_ROOT_DN_RREFIX=cn=Manager
+ OPENLDAP_ROOT_DN_SUFFIX=dc=example,dc=com
+ OPENLDAP_DEBUG_LEVEL=256
+ '[' '!' -f /etc/openldap/CONFIGURED ']'
++ id
++ grep -Po '(?<=uid=)\d+'
+ user=0
+ ((  user == 0  ))
+ cp /usr/local/etc/openldap/DB_CONFIG /var/lib/ldap/DB_CONFIG
+ (( i=30 ))
+ (( i>0 ))
++ ldapsearch
+ slapd -h 'ldap:/// ldaps:/// ldapi:///' -d 256
++ grep 'Can.t contact LDAP server'
56169226 @(#) $OpenLDAP: slapd 2.4.39 (Sep 29 2015 13:31:12) $
	mockbuild@worker1.bsys.centos.org:/builddir/build/BUILD/openldap-2.4.39/openldap-2.4.39/servers/slapd
+ ping_result='ldap_sasl_interactive_bind_s: Can'\''t contact LDAP server (-1)'
+ '[' -z 'ldap_sasl_interactive_bind_s: Can'\''t contact LDAP server (-1)' ']'
+ sleep 1
56169226 slapd starting
+ (( i-- ))
+ (( i>0 ))
++ ldapsearch
++ grep 'Can.t contact LDAP server'
56169227 conn=1000 fd=18 ACCEPT from IP=[::1]:52211 (IP=[::]:389)
56169227 conn=1000 op=0 SRCH base="" scope=0 deref=0 filter="(objectClass=*)"
56169227 conn=1000 op=0 SRCH attr=supportedSASLMechanisms
56169227 conn=1000 op=0 SEARCH RESULT tag=101 err=0 nentries=1 text=
56169227 conn=1000 op=1 UNBIND
56169227 conn=1000 fd=18 closed
+ ping_result=
+ '[' -z '' ']'
+ break
+ '[' 29 -eq 0 ']'
++ slappasswd -s admin
+ OPENLDAP_ROOT_PASSWORD_HASH='{SSHA}QxcF538/h4FwU4BIihir2QH3MsQbQwgE'
+ sed -e 's OPENLDAP_ROOT_PASSWORD {SSHA}QxcF538/h4FwU4BIihir2QH3MsQbQwgE g' -e 's OPENLDAP_ROOT_DN cn=Manager g' -e 's OPENLDAP_SUFFIX dc=example,dc=com g' /usr/local/etc/openldap/first_config.ldif
+ ldapmodify -Y EXTERNAL -H ldapi:/// -d 256
56169227 conn=1001 fd=18 ACCEPT from PATH=/var/run/ldapi (PATH=/var/run/ldapi)
SASL/EXTERNAL authentication started
56169227 conn=1001 op=0 BIND dn="" method=163
56169227 conn=1001 op=0 BIND authcid="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" authzid="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth"
56169227 conn=1001 op=0 BIND dn="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" mech=EXTERNAL sasl_ssf=0 ssf=71
56169227 conn=1001 op=0 RESULT tag=97 err=0 text=
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
56169227 conn=1001 op=1 MOD dn="olcDatabase={0}config,cn=config"
56169227 conn=1001 op=1 MOD attr=olcRootPW
56169227 conn=1001 op=1 RESULT tag=103 err=0 text=
56169227 conn=1001 op=2 MOD dn="olcDatabase={2}hdb,cn=config"
56169227 conn=1001 op=2 MOD attr=olcRootPW olcRootDN olcSuffix
56169227 conn=1001 op=2 RESULT tag=103 err=0 text=
56169227 conn=1001 op=3 UNBIND
56169227 conn=1001 fd=18 closed
+ ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/openldap/schema/cosine.ldif -d 256
56169227 conn=1002 fd=18 ACCEPT from PATH=/var/run/ldapi (PATH=/var/run/ldapi)
SASL/EXTERNAL authentication started
56169227 conn=1002 op=0 BIND dn="" method=163
56169227 conn=1002 op=0 BIND authcid="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" authzid="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth"
56169227 conn=1002 op=0 BIND dn="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" mech=EXTERNAL sasl_ssf=0 ssf=71
56169227 conn=1002 op=0 RESULT tag=97 err=0 text=
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
56169227 conn=1002 op=1 ADD dn="cn=cosine,cn=schema,cn=config"
56169227 conn=1002 op=1 RESULT tag=105 err=0 text=
56169227 conn=1002 op=2 UNBIND
56169227 conn=1002 fd=18 closed
+ ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/openldap/schema/inetorgperson.ldif -d 256
56169227 conn=1003 fd=18 ACCEPT from PATH=/var/run/ldapi (PATH=/var/run/ldapi)
SASL/EXTERNAL authentication started
56169227 conn=1003 op=0 BIND dn="" method=163
56169227 conn=1003 op=0 BIND authcid="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" authzid="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth"
56169227 conn=1003 op=0 BIND dn="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" mech=EXTERNAL sasl_ssf=0 ssf=71
56169227 conn=1003 op=0 RESULT tag=97 err=0 text=
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
56169227 conn=1003 op=1 ADD dn="cn=inetorgperson,cn=schema,cn=config"
56169227 conn=1003 op=1 RESULT tag=105 err=0 text=
56169227 conn=1003 op=2 UNBIND
56169227 conn=1003 fd=18 closed
+ ldapadd -Y EXTERNAL -H ldapi:/// -f /usr/local/etc/openldap/load_modules.ldif -d 256
56169227 conn=1004 fd=18 ACCEPT from PATH=/var/run/ldapi (PATH=/var/run/ldapi)
SASL/EXTERNAL authentication started
56169227 conn=1004 op=0 BIND dn="" method=163
56169227 conn=1004 op=0 BIND authcid="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" authzid="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth"
56169227 conn=1004 op=0 BIND dn="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" mech=EXTERNAL sasl_ssf=0 ssf=71
56169227 conn=1004 op=0 RESULT tag=97 err=0 text=
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
56169227 conn=1004 op=1 ADD dn="cn=module{0},cn=config"
56169227 conn=1004 op=1 RESULT tag=105 err=0 text=
56169227 conn=1004 op=2 UNBIND
56169227 conn=1004 fd=18 closed
+ ldapadd -Y EXTERNAL -H ldapi:/// -f /usr/local/etc/openldap/memberof_configure.ldif -d 256
/usr/local/etc/openldap/memberof_configure.ldif: No such file or directory
+ ldapadd -Y EXTERNAL -H ldapi:/// -f /usr/local/etc/openldap/refint_configure.ldif -d 256
/usr/local/etc/openldap/refint_configure.ldif: No such file or directory
++ echo dc=example,dc=com
++ grep -Po '(?<=^dc\=)[\w\d]+'
+ dc_name=example
+ sed -e 's OPENLDAP_SUFFIX dc=example,dc=com g' -e 's FIRST_PART example g' usr/local/etc/openldap/base.ldif
+ ldapadd -x -D cn=Manager,dc=example,dc=com -w admin
56169227 conn=1005 fd=18 ACCEPT from IP=[::1]:52212 (IP=[::]:389)
56169227 conn=1005 op=0 BIND dn="cn=Manager,dc=example,dc=com" method=128
56169227 conn=1005 op=0 BIND dn="cn=Manager,dc=example,dc=com" mech=SIMPLE ssf=0
56169227 conn=1005 op=0 RESULT tag=97 err=0 text=
56169227 conn=1005 op=1 ADD dn="dc=example,dc=com"
56169227 conn=1005 op=1 RESULT tag=105 err=0 text=
56169227 conn=1005 op=2 UNBIND
56169227 conn=1005 fd=18 closed
++ ps -A
++ grep slapd
++ awk '{print $1}'
+ pid=10
+ kill -2 10
+ (( i=30 ))
+ (( i>0 ))
56169227 daemon: shutdown requested and initiated.
56169227 slapd shutdown: waiting for 0 operations/tasks to finish
++ ps -A
++ grep 10
+ exists='   10 ?        00:00:00 slapd'
+ '[' -z '   10 ?        00:00:00 slapd' ']'
+ sleep 1
56169227 slapd stopped.
+ (( i-- ))
+ (( i>0 ))
++ ps -A
++ grep 10
+ exists=
+ '[' -z '' ']'
+ break
+ '[' 29 -eq 0 ']'
++ slaptest
+ LOG='config file testing succeeded'
++ echo 'config file testing succeeded'
++ grep -Po '(?<=ldif_read_file: checksum error on ").+(?=")'
+ CHECKSUM_ERR=
+ rm -rf /opt/openshift/config /opt/openshift/lib
+ touch /etc/openldap/CONFIGURED
+ exec slapd -h 'ldap:/// ldaps:///' -d 256
56169228 @(#) $OpenLDAP: slapd 2.4.39 (Sep 29 2015 13:31:12) $
	mockbuild@worker1.bsys.centos.org:/builddir/build/BUILD/openldap-2.4.39/openldap-2.4.39/servers/slapd
56169228 slapd starting
+ return 1
+ cleanup
+ for cidfile in '$CIDFILE_DIR/*'
++ cat /tmp/tmp.d0hc2qDYUVopenldap_test_cidfiles/test_container_root
+ CONTAINER=3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a
+ echo 'Stopping and removing container 3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a...'
+ docker stop 3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a
++ docker inspect -f '{{.State.ExitCode}}' 3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a
+ exit_status=0
+ '[' 0 '!=' 0 ']'
+ docker rm 3bae58762ec8b4d713e5f1109a2a4ebe80211f89be9d92cff8a7b7eb2976da9a
+ rm /tmp/tmp.d0hc2qDYUVopenldap_test_cidfiles/test_container_root
+ echo Done.
+ rmdir /tmp/tmp.d0hc2qDYUVopenldap_test_cidfiles
make: *** [test] Error 1
+ echo 'ERROR: openldap-rhel7 failed testing.'
+ exit 1
RC=1
Build step 'Execute shell' marked build as failure
[PostBuildScript] - Execution post build scripts.
[workspace] $ /bin/sh -xe /tmp/hudson9138222237721474731.sh
+ pushd origin
~/jobs/openldap/workspace/origin ~/jobs/openldap/workspace
+ vagrant modify-instance -r devenv-openldap-12-terminate -s
==> openshiftdev: Renamed to devenv-openldap-12-terminate
==> openshiftdev: Stopping instance i-02f4f6a2
==> openshiftdev: Stopped!
+ popd
~/jobs/openldap/workspace
Setting status of 13db2f89a2544731958a8548ef181e3c991b8c70 to FAILURE with url https://ci.openshift.redhat.com/jenkins/job/openldap/12/ and message: 'Build finished. No test results found.'
Finished: FAILURE