FailedConsole Output

GitHub pull request #19 of commit 5b3819b6c989bee908101dbe616d3f50d7f28af6, no merge conflicts.
Setting status of 5b3819b6c989bee908101dbe616d3f50d7f28af6 to PENDING with url https://ci.openshift.redhat.com/jenkins/job/openldap/23/ and message: 'PR testing has started.'
[EnvInject] - Loading node environment variables.
Building in workspace /var/lib/jenkins/jobs/openldap/workspace
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/openshift/openldap # timeout=10
Fetching upstream changes from https://github.com/openshift/openldap
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/openshift/openldap +refs/pull/*:refs/remotes/origin/pr/*
 > git rev-parse refs/remotes/origin/pr/19/merge^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/pr/19/merge^{commit} # timeout=10
Checking out Revision c354fe5fe21b57a26e9ecb9f66b0711799ec67e6 (refs/remotes/origin/pr/19/merge)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f c354fe5fe21b57a26e9ecb9f66b0711799ec67e6
Commit message: "Merge 5b3819b6c989bee908101dbe616d3f50d7f28af6 into 4b45b863d2a10af56858ac4acfdc2dff445cf97a"
First time build. Skipping changelog.
[workspace] $ /bin/sh -xe /tmp/jenkins6806509961513674485.sh
+ image=openshift/openldap:latest
+ vagrant origin-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
Checking repo integrity for /var/lib/jenkins/jobs/openldap/workspace/origin
~/jobs/openldap/workspace/origin ~/jobs/openldap/workspace
# On branch master
nothing to commit, working directory clean
~/jobs/openldap/workspace
Replacing: /var/lib/jenkins/jobs/openldap/workspace/origin
~/jobs/openldap/workspace/origin ~/jobs/openldap/workspace
Already on 'master'
HEAD is now at c903db6 Merge pull request #23475 from deads2k/be-free
Removing .vagrant-openshift.json
Removing .vagrant/
fatal: branch name required
~/jobs/openldap/workspace
Origin 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-23
Reading AWS credentials from /var/lib/jenkins/.awscred
Searching devenv-rhel7_* for latest base AMI (required_name_tag=)
Found: ami-0b4c1d64a26a928c2 (devenv-rhel7_6324)
++ seq 0 2
+ for i in '$(seq 0 2)'
+ 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.large
==> openshiftdev:  -- AMI: ami-0b4c1d64a26a928c2
==> 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"}, {"DeviceName"=>"/dev/sdb", "Ebs.VolumeSize"=>35, "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-shell20190729-6353-1bxclzk.sh
==> openshiftdev: Host: ec2-52-90-143-73.compute-1.amazonaws.com
+ break
+ vagrant build-sti --binary-only
Running ssh/sudo 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
        ' with timeout 14400. Attempt #0
/data/src/github.com/openshift/source-to-image ~
Commit ID: 0949e425ca66f12d73c967020c0089f732b1d966
Previous Commit ID: 0949e425ca66f12d73c967020c0089f732b1d966
Git Status: 
No update for source-to-image, master
~
+ vagrant test-origin-image --image openldap --source openshift/openldap --ref 5b3819b6c989bee908101dbe616d3f50d7f28af6
Running ssh/sudo command '
set -o errexit
set -o nounset
set -o pipefail
set -o xtrace

# 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/local/go/bin:/data/src/github.com/openshift/source-to-image/_output/local/bin/linux/amd64:$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 5b3819b6c989bee908101dbe616d3f50d7f28af6

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" SKIP_SQUASH=1 SKIP_RHEL_SCL=1 make test TARGET=rhel7; then
    echo "ERROR: openldap-rhel7 failed testing."
    exit 1
fi

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

# clean up
cd /
sudo rm -rf $temp_dir
' with timeout 14400. Attempt #0
+ '[' -n '' -a -f /etc/sysconfig/docker ']'
+ export PATH=/data/src/github.com/openshift/source-to-image/_output/local/go/bin:/data/src/github.com/openshift/source-to-image/_output/local/bin/linux/amd64:/data/src/github.com/openshift/origin/_output/etcd/bin:/data/src/github.com/openshift/origin/_output/local/bin/linux/amd64:/data/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/local/go/bin:/data/src/github.com/openshift/source-to-image/_output/local/bin/linux/amd64:/data/src/github.com/openshift/origin/_output/etcd/bin:/data/src/github.com/openshift/origin/_output/local/bin/linux/amd64:/data/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.Bd1ffRD
+ chcon -t docker_share_t /tmp/image_test.Bd1ffRD
+ cd /tmp/image_test.Bd1ffRD
+ 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: Enumerating objects: 243, done.
remote: Counting objects:   0% (1/157)   
remote: Counting objects:   1% (2/157)   
remote: Counting objects:   2% (4/157)   
remote: Counting objects:   3% (5/157)   
remote: Counting objects:   4% (7/157)   
remote: Counting objects:   5% (8/157)   
remote: Counting objects:   6% (10/157)   
remote: Counting objects:   7% (11/157)   
remote: Counting objects:   8% (13/157)   
remote: Counting objects:   9% (15/157)   
remote: Counting objects:  10% (16/157)   
remote: Counting objects:  11% (18/157)   
remote: Counting objects:  12% (19/157)   
remote: Counting objects:  13% (21/157)   
remote: Counting objects:  14% (22/157)   
remote: Counting objects:  15% (24/157)   
remote: Counting objects:  16% (26/157)   
remote: Counting objects:  17% (27/157)   
remote: Counting objects:  18% (29/157)   
remote: Counting objects:  19% (30/157)   
remote: Counting objects:  20% (32/157)   
remote: Counting objects:  21% (33/157)   
remote: Counting objects:  22% (35/157)   
remote: Counting objects:  23% (37/157)   
remote: Counting objects:  24% (38/157)   
remote: Counting objects:  25% (40/157)   
remote: Counting objects:  26% (41/157)   
remote: Counting objects:  27% (43/157)   
remote: Counting objects:  28% (44/157)   
remote: Counting objects:  29% (46/157)   
remote: Counting objects:  30% (48/157)   
remote: Counting objects:  31% (49/157)   
remote: Counting objects:  32% (51/157)   
remote: Counting objects:  33% (52/157)   
remote: Counting objects:  34% (54/157)   
remote: Counting objects:  35% (55/157)   
remote: Counting objects:  36% (57/157)   
remote: Counting objects:  37% (59/157)   
remote: Counting objects:  38% (60/157)   
remote: Counting objects:  39% (62/157)   
remote: Counting objects:  40% (63/157)   
remote: Counting objects:  41% (65/157)   
remote: Counting objects:  42% (66/157)   
remote: Counting objects:  43% (68/157)   
remote: Counting objects:  44% (70/157)   
remote: Counting objects:  45% (71/157)   
remote: Counting objects:  46% (73/157)   
remote: Counting objects:  47% (74/157)   
remote: Counting objects:  48% (76/157)   
remote: Counting objects:  49% (77/157)   
remote: Counting objects:  50% (79/157)   
remote: Counting objects:  51% (81/157)   
remote: Counting objects:  52% (82/157)   
remote: Counting objects:  53% (84/157)   
remote: Counting objects:  54% (85/157)   
remote: Counting objects:  55% (87/157)   
remote: Counting objects:  56% (88/157)   
remote: Counting objects:  57% (90/157)   
remote: Counting objects:  58% (92/157)   
remote: Counting objects:  59% (93/157)   
remote: Counting objects:  60% (95/157)   
remote: Counting objects:  61% (96/157)   
remote: Counting objects:  62% (98/157)   
remote: Counting objects:  63% (99/157)   
remote: Counting objects:  64% (101/157)   
remote: Counting objects:  65% (103/157)   
remote: Counting objects:  66% (104/157)   
remote: Counting objects:  67% (106/157)   
remote: Counting objects:  68% (107/157)   
remote: Counting objects:  69% (109/157)   
remote: Counting objects:  70% (110/157)   
remote: Counting objects:  71% (112/157)   
remote: Counting objects:  72% (114/157)   
remote: Counting objects:  73% (115/157)   
remote: Counting objects:  74% (117/157)   
remote: Counting objects:  75% (118/157)   
remote: Counting objects:  76% (120/157)   
remote: Counting objects:  77% (121/157)   
remote: Counting objects:  78% (123/157)   
remote: Counting objects:  79% (125/157)   
remote: Counting objects:  80% (126/157)   
remote: Counting objects:  81% (128/157)   
remote: Counting objects:  82% (129/157)   
remote: Counting objects:  83% (131/157)   
remote: Counting objects:  84% (132/157)   
remote: Counting objects:  85% (134/157)   
remote: Counting objects:  86% (136/157)   
remote: Counting objects:  87% (137/157)   
remote: Counting objects:  88% (139/157)   
remote: Counting objects:  89% (140/157)   
remote: Counting objects:  90% (142/157)   
remote: Counting objects:  91% (143/157)   
remote: Counting objects:  92% (145/157)   
remote: Counting objects:  93% (147/157)   
remote: Counting objects:  94% (148/157)   
remote: Counting objects:  95% (150/157)   
remote: Counting objects:  96% (151/157)   
remote: Counting objects:  97% (153/157)   
remote: Counting objects:  98% (154/157)   
remote: Counting objects:  99% (156/157)   
remote: Counting objects: 100% (157/157)   
remote: Counting objects: 100% (157/157), done.
remote: Compressing objects:   1% (1/68)   
remote: Compressing objects:   2% (2/68)   
remote: Compressing objects:   4% (3/68)   
remote: Compressing objects:   5% (4/68)   
remote: Compressing objects:   7% (5/68)   
remote: Compressing objects:   8% (6/68)   
remote: Compressing objects:  10% (7/68)   
remote: Compressing objects:  11% (8/68)   
remote: Compressing objects:  13% (9/68)   
remote: Compressing objects:  14% (10/68)   
remote: Compressing objects:  16% (11/68)   
remote: Compressing objects:  17% (12/68)   
remote: Compressing objects:  19% (13/68)   
remote: Compressing objects:  20% (14/68)   
remote: Compressing objects:  22% (15/68)   
remote: Compressing objects:  23% (16/68)   
remote: Compressing objects:  25% (17/68)   
remote: Compressing objects:  26% (18/68)   
remote: Compressing objects:  27% (19/68)   
remote: Compressing objects:  29% (20/68)   
remote: Compressing objects:  30% (21/68)   
remote: Compressing objects:  32% (22/68)   
remote: Compressing objects:  33% (23/68)   
remote: Compressing objects:  35% (24/68)   
remote: Compressing objects:  36% (25/68)   
remote: Compressing objects:  38% (26/68)   
remote: Compressing objects:  39% (27/68)   
remote: Compressing objects:  41% (28/68)   
remote: Compressing objects:  42% (29/68)   
remote: Compressing objects:  44% (30/68)   
remote: Compressing objects:  45% (31/68)   
remote: Compressing objects:  47% (32/68)   
remote: Compressing objects:  48% (33/68)   
remote: Compressing objects:  50% (34/68)   
remote: Compressing objects:  51% (35/68)   
remote: Compressing objects:  52% (36/68)   
remote: Compressing objects:  54% (37/68)   
remote: Compressing objects:  55% (38/68)   
remote: Compressing objects:  57% (39/68)   
remote: Compressing objects:  58% (40/68)   
remote: Compressing objects:  60% (41/68)   
remote: Compressing objects:  61% (42/68)   
remote: Compressing objects:  63% (43/68)   
remote: Compressing objects:  64% (44/68)   
remote: Compressing objects:  66% (45/68)   
remote: Compressing objects:  67% (46/68)   
remote: Compressing objects:  69% (47/68)   
remote: Compressing objects:  70% (48/68)   
remote: Compressing objects:  72% (49/68)   
remote: Compressing objects:  73% (50/68)   
remote: Compressing objects:  75% (51/68)   
remote: Compressing objects:  76% (52/68)   
remote: Compressing objects:  77% (53/68)   
remote: Compressing objects:  79% (54/68)   
remote: Compressing objects:  80% (55/68)   
remote: Compressing objects:  82% (56/68)   
remote: Compressing objects:  83% (57/68)   
remote: Compressing objects:  85% (58/68)   
remote: Compressing objects:  86% (59/68)   
remote: Compressing objects:  88% (60/68)   
remote: Compressing objects:  89% (61/68)   
remote: Compressing objects:  91% (62/68)   
remote: Compressing objects:  92% (63/68)   
remote: Compressing objects:  94% (64/68)   
remote: Compressing objects:  95% (65/68)   
remote: Compressing objects:  97% (66/68)   
remote: Compressing objects:  98% (67/68)   
remote: Compressing objects: 100% (68/68)   
remote: Compressing objects: 100% (68/68), done.
remote: Total 113 (delta 57), reused 88 (delta 39), pack-reused 0
Receiving objects:   0% (1/113)   
Receiving objects:   1% (2/113)   
Receiving objects:   2% (3/113)   
Receiving objects:   3% (4/113)   
Receiving objects:   4% (5/113)   
Receiving objects:   5% (6/113)   
Receiving objects:   6% (7/113)   
Receiving objects:   7% (8/113)   
Receiving objects:   8% (10/113)   
Receiving objects:   9% (11/113)   
Receiving objects:  10% (12/113)   
Receiving objects:  11% (13/113)   
Receiving objects:  12% (14/113)   
Receiving objects:  13% (15/113)   
Receiving objects:  14% (16/113)   
Receiving objects:  15% (17/113)   
Receiving objects:  16% (19/113)   
Receiving objects:  17% (20/113)   
Receiving objects:  18% (21/113)   
Receiving objects:  19% (22/113)   
Receiving objects:  20% (23/113)   
Receiving objects:  21% (24/113)   
Receiving objects:  22% (25/113)   
Receiving objects:  23% (26/113)   
Receiving objects:  24% (28/113)   
Receiving objects:  25% (29/113)   
Receiving objects:  26% (30/113)   
Receiving objects:  27% (31/113)   
Receiving objects:  28% (32/113)   
Receiving objects:  29% (33/113)   
Receiving objects:  30% (34/113)   
Receiving objects:  31% (36/113)   
Receiving objects:  32% (37/113)   
Receiving objects:  33% (38/113)   
Receiving objects:  34% (39/113)   
Receiving objects:  35% (40/113)   
Receiving objects:  36% (41/113)   
Receiving objects:  37% (42/113)   
Receiving objects:  38% (43/113)   
Receiving objects:  39% (45/113)   
Receiving objects:  40% (46/113)   
Receiving objects:  41% (47/113)   
Receiving objects:  42% (48/113)   
Receiving objects:  43% (49/113)   
Receiving objects:  44% (50/113)   
Receiving objects:  45% (51/113)   
Receiving objects:  46% (52/113)   
Receiving objects:  47% (54/113)   
Receiving objects:  48% (55/113)   
Receiving objects:  49% (56/113)   
Receiving objects:  50% (57/113)   
Receiving objects:  51% (58/113)   
Receiving objects:  52% (59/113)   
Receiving objects:  53% (60/113)   
Receiving objects:  54% (62/113)   
Receiving objects:  55% (63/113)   
Receiving objects:  56% (64/113)   
Receiving objects:  57% (65/113)   
Receiving objects:  58% (66/113)   
Receiving objects:  59% (67/113)   
Receiving objects:  60% (68/113)   
Receiving objects:  61% (69/113)   
Receiving objects:  62% (71/113)   
Receiving objects:  63% (72/113)   
Receiving objects:  64% (73/113)   
Receiving objects:  65% (74/113)   
Receiving objects:  66% (75/113)   
Receiving objects:  67% (76/113)   
Receiving objects:  68% (77/113)   
Receiving objects:  69% (78/113)   
Receiving objects:  70% (80/113)   
Receiving objects:  71% (81/113)   
Receiving objects:  72% (82/113)   
Receiving objects:  73% (83/113)   
Receiving objects:  74% (84/113)   
Receiving objects:  75% (85/113)   
Receiving objects:  76% (86/113)   
Receiving objects:  77% (88/113)   
Receiving objects:  78% (89/113)   
Receiving objects:  79% (90/113)   
Receiving objects:  80% (91/113)   
Receiving objects:  81% (92/113)   
Receiving objects:  82% (93/113)   
Receiving objects:  83% (94/113)   
Receiving objects:  84% (95/113)   
Receiving objects:  85% (97/113)   
Receiving objects:  86% (98/113)   
Receiving objects:  87% (99/113)   
Receiving objects:  88% (100/113)   
Receiving objects:  89% (101/113)   
Receiving objects:  90% (102/113)   
Receiving objects:  91% (103/113)   
Receiving objects:  92% (104/113)   
Receiving objects:  93% (106/113)   
Receiving objects:  94% (107/113)   
Receiving objects:  95% (108/113)   
Receiving objects:  96% (109/113)   
Receiving objects:  97% (110/113)   
Receiving objects:  98% (111/113)   
Receiving objects:  99% (112/113)   
Receiving objects: 100% (113/113)   
Receiving objects: 100% (113/113), 38.20 KiB | 0 bytes/s, done.
Resolving deltas:   0% (0/57)   
Resolving deltas:   1% (1/57)   
Resolving deltas:   5% (3/57)   
Resolving deltas:   7% (4/57)   
Resolving deltas:   8% (5/57)   
Resolving deltas:  14% (8/57)   
Resolving deltas:  15% (9/57)   
Resolving deltas:  19% (11/57)   
Resolving deltas:  21% (12/57)   
Resolving deltas:  22% (13/57)   
Resolving deltas:  24% (14/57)   
Resolving deltas:  28% (16/57)   
Resolving deltas:  31% (18/57)   
Resolving deltas:  36% (21/57)   
Resolving deltas:  49% (28/57)   
Resolving deltas:  50% (29/57)   
Resolving deltas:  52% (30/57)   
Resolving deltas:  54% (31/57)   
Resolving deltas:  56% (32/57)   
Resolving deltas:  59% (34/57)   
Resolving deltas:  63% (36/57)   
Resolving deltas:  64% (37/57)   
Resolving deltas:  66% (38/57)   
Resolving deltas:  68% (39/57)   
Resolving deltas:  70% (40/57)   
Resolving deltas:  71% (41/57)   
Resolving deltas:  73% (42/57)   
Resolving deltas:  78% (45/57)   
Resolving deltas:  80% (46/57)   
Resolving deltas:  82% (47/57)   
Resolving deltas:  87% (50/57)   
Resolving deltas:  96% (55/57)   
Resolving deltas: 100% (57/57)   
Resolving deltas: 100% (57/57), completed with 21 local objects.
+ git checkout 5b3819b6c989bee908101dbe616d3f50d7f28af6
Note: checking out '5b3819b6c989bee908101dbe616d3f50d7f28af6'.

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 5b3819b... add fedora 29 2.4.46 version
+ '[' false == true -a -n '' ']'
+ sudo env PATH=/data/src/github.com/openshift/source-to-image/_output/local/go/bin:/data/src/github.com/openshift/source-to-image/_output/local/bin/linux/amd64:/data/src/github.com/openshift/origin/_output/etcd/bin:/data/src/github.com/openshift/origin/_output/local/bin/linux/amd64:/data/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/home/ec2-user/.local/bin:/home/ec2-user/bin SKIP_SQUASH=1 SKIP_RHEL_SCL=1 make test TARGET=rhel7
Makefile:6: Extraneous text after `else' directive
Makefile:14: Extraneous text after `else' directive
SKIP_SQUASH=1 VERSIONS="2.4.41 2.4.46" TAG_ON_SUCCESS= TEST_MODE=true hack/build.sh rhel7 2.4.46
-> Building openshift/openldap-2446-rhel7-candidate ...
cp: cannot stat ‘/tmp/image_test.Bd1ffRD/openldap/2.4.46/Dockerfile.rhel7’: No such file or directory
make: *** [test] Error 1
+ echo 'ERROR: openldap-rhel7 failed testing.'
ERROR: openldap-rhel7 failed testing.
+ exit 1
Error while running ssh/sudo command: 
set -o errexit
set -o nounset
set -o pipefail
set -o xtrace

# 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/local/go/bin:/data/src/github.com/openshift/source-to-image/_output/local/bin/linux/amd64:$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 5b3819b6c989bee908101dbe616d3f50d7f28af6

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" SKIP_SQUASH=1 SKIP_RHEL_SCL=1 make test TARGET=rhel7; then
    echo "ERROR: openldap-rhel7 failed testing."
    exit 1
fi

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

# clean up
cd /
sudo rm -rf $temp_dir
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!


set -o errexit
set -o nounset
set -o pipefail
set -o xtrace

# 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/local/go/bin:/data/src/github.com/openshift/source-to-image/_output/local/bin/linux/amd64:$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 5b3819b6c989bee908101dbe616d3f50d7f28af6

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" SKIP_SQUASH=1 SKIP_RHEL_SCL=1 make test TARGET=rhel7; then
    echo "ERROR: openldap-rhel7 failed testing."
    exit 1
fi

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

# clean up
cd /
sudo rm -rf $temp_dir


Stdout from the command:

Cloning into 'openldap'...
SKIP_SQUASH=1 VERSIONS="2.4.41 2.4.46" TAG_ON_SUCCESS= TEST_MODE=true hack/build.sh rhel7 2.4.46
-> Building openshift/openldap-2446-rhel7-candidate ...
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/local/go/bin:/data/src/github.com/openshift/source-to-image/_output/local/bin/linux/amd64:/data/src/github.com/openshift/origin/_output/etcd/bin:/data/src/github.com/openshift/origin/_output/local/bin/linux/amd64:/data/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/local/go/bin:/data/src/github.com/openshift/source-to-image/_output/local/bin/linux/amd64:/data/src/github.com/openshift/origin/_output/etcd/bin:/data/src/github.com/openshift/origin/_output/local/bin/linux/amd64:/data/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.Bd1ffRD
+ chcon -t docker_share_t /tmp/image_test.Bd1ffRD
+ cd /tmp/image_test.Bd1ffRD
+ 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: Enumerating objects: 243, done.
remote: Counting objects:   0% (1/157)   
remote: Counting objects:   1% (2/157)   
remote: Counting objects:   2% (4/157)   
remote: Counting objects:   3% (5/157)   
remote: Counting objects:   4% (7/157)   
remote: Counting objects:   5% (8/157)   
remote: Counting objects:   6% (10/157)   
remote: Counting objects:   7% (11/157)   
remote: Counting objects:   8% (13/157)   
remote: Counting objects:   9% (15/157)   
remote: Counting objects:  10% (16/157)   
remote: Counting objects:  11% (18/157)   
remote: Counting objects:  12% (19/157)   
remote: Counting objects:  13% (21/157)   
remote: Counting objects:  14% (22/157)   
remote: Counting objects:  15% (24/157)   
remote: Counting objects:  16% (26/157)   
remote: Counting objects:  17% (27/157)   
remote: Counting objects:  18% (29/157)   
remote: Counting objects:  19% (30/157)   
remote: Counting objects:  20% (32/157)   
remote: Counting objects:  21% (33/157)   
remote: Counting objects:  22% (35/157)   
remote: Counting objects:  23% (37/157)   
remote: Counting objects:  24% (38/157)   
remote: Counting objects:  25% (40/157)   
remote: Counting objects:  26% (41/157)   
remote: Counting objects:  27% (43/157)   
remote: Counting objects:  28% (44/157)   
remote: Counting objects:  29% (46/157)   
remote: Counting objects:  30% (48/157)   
remote: Counting objects:  31% (49/157)   
remote: Counting objects:  32% (51/157)   
remote: Counting objects:  33% (52/157)   
remote: Counting objects:  34% (54/157)   
remote: Counting objects:  35% (55/157)   
remote: Counting objects:  36% (57/157)   
remote: Counting objects:  37% (59/157)   
remote: Counting objects:  38% (60/157)   
remote: Counting objects:  39% (62/157)   
remote: Counting objects:  40% (63/157)   
remote: Counting objects:  41% (65/157)   
remote: Counting objects:  42% (66/157)   
remote: Counting objects:  43% (68/157)   
remote: Counting objects:  44% (70/157)   
remote: Counting objects:  45% (71/157)   
remote: Counting objects:  46% (73/157)   
remote: Counting objects:  47% (74/157)   
remote: Counting objects:  48% (76/157)   
remote: Counting objects:  49% (77/157)   
remote: Counting objects:  50% (79/157)   
remote: Counting objects:  51% (81/157)   
remote: Counting objects:  52% (82/157)   
remote: Counting objects:  53% (84/157)   
remote: Counting objects:  54% (85/157)   
remote: Counting objects:  55% (87/157)   
remote: Counting objects:  56% (88/157)   
remote: Counting objects:  57% (90/157)   
remote: Counting objects:  58% (92/157)   
remote: Counting objects:  59% (93/157)   
remote: Counting objects:  60% (95/157)   
remote: Counting objects:  61% (96/157)   
remote: Counting objects:  62% (98/157)   
remote: Counting objects:  63% (99/157)   
remote: Counting objects:  64% (101/157)   
remote: Counting objects:  65% (103/157)   
remote: Counting objects:  66% (104/157)   
remote: Counting objects:  67% (106/157)   
remote: Counting objects:  68% (107/157)   
remote: Counting objects:  69% (109/157)   
remote: Counting objects:  70% (110/157)   
remote: Counting objects:  71% (112/157)   
remote: Counting objects:  72% (114/157)   
remote: Counting objects:  73% (115/157)   
remote: Counting objects:  74% (117/157)   
remote: Counting objects:  75% (118/157)   
remote: Counting objects:  76% (120/157)   
remote: Counting objects:  77% (121/157)   
remote: Counting objects:  78% (123/157)   
remote: Counting objects:  79% (125/157)   
remote: Counting objects:  80% (126/157)   
remote: Counting objects:  81% (128/157)   
remote: Counting objects:  82% (129/157)   
remote: Counting objects:  83% (131/157)   
remote: Counting objects:  84% (132/157)   
remote: Counting objects:  85% (134/157)   
remote: Counting objects:  86% (136/157)   
remote: Counting objects:  87% (137/157)   
remote: Counting objects:  88% (139/157)   
remote: Counting objects:  89% (140/157)   
remote: Counting objects:  90% (142/157)   
remote: Counting objects:  91% (143/157)   
remote: Counting objects:  92% (145/157)   
remote: Counting objects:  93% (147/157)   
remote: Counting objects:  94% (148/157)   
remote: Counting objects:  95% (150/157)   
remote: Counting objects:  96% (151/157)   
remote: Counting objects:  97% (153/157)   
remote: Counting objects:  98% (154/157)   
remote: Counting objects:  99% (156/157)   
remote: Counting objects: 100% (157/157)   
remote: Counting objects: 100% (157/157), done.
remote: Compressing objects:   1% (1/68)   
remote: Compressing objects:   2% (2/68)   
remote: Compressing objects:   4% (3/68)   
remote: Compressing objects:   5% (4/68)   
remote: Compressing objects:   7% (5/68)   
remote: Compressing objects:   8% (6/68)   
remote: Compressing objects:  10% (7/68)   
remote: Compressing objects:  11% (8/68)   
remote: Compressing objects:  13% (9/68)   
remote: Compressing objects:  14% (10/68)   
remote: Compressing objects:  16% (11/68)   
remote: Compressing objects:  17% (12/68)   
remote: Compressing objects:  19% (13/68)   
remote: Compressing objects:  20% (14/68)   
remote: Compressing objects:  22% (15/68)   
remote: Compressing objects:  23% (16/68)   
remote: Compressing objects:  25% (17/68)   
remote: Compressing objects:  26% (18/68)   
remote: Compressing objects:  27% (19/68)   
remote: Compressing objects:  29% (20/68)   
remote: Compressing objects:  30% (21/68)   
remote: Compressing objects:  32% (22/68)   
remote: Compressing objects:  33% (23/68)   
remote: Compressing objects:  35% (24/68)   
remote: Compressing objects:  36% (25/68)   
remote: Compressing objects:  38% (26/68)   
remote: Compressing objects:  39% (27/68)   
remote: Compressing objects:  41% (28/68)   
remote: Compressing objects:  42% (29/68)   
remote: Compressing objects:  44% (30/68)   
remote: Compressing objects:  45% (31/68)   
remote: Compressing objects:  47% (32/68)   
remote: Compressing objects:  48% (33/68)   
remote: Compressing objects:  50% (34/68)   
remote: Compressing objects:  51% (35/68)   
remote: Compressing objects:  52% (36/68)   
remote: Compressing objects:  54% (37/68)   
remote: Compressing objects:  55% (38/68)   
remote: Compressing objects:  57% (39/68)   
remote: Compressing objects:  58% (40/68)   
remote: Compressing objects:  60% (41/68)   
remote: Compressing objects:  61% (42/68)   
remote: Compressing objects:  63% (43/68)   
remote: Compressing objects:  64% (44/68)   
remote: Compressing objects:  66% (45/68)   
remote: Compressing objects:  67% (46/68)   
remote: Compressing objects:  69% (47/68)   
remote: Compressing objects:  70% (48/68)   
remote: Compressing objects:  72% (49/68)   
remote: Compressing objects:  73% (50/68)   
remote: Compressing objects:  75% (51/68)   
remote: Compressing objects:  76% (52/68)   
remote: Compressing objects:  77% (53/68)   
remote: Compressing objects:  79% (54/68)   
remote: Compressing objects:  80% (55/68)   
remote: Compressing objects:  82% (56/68)   
remote: Compressing objects:  83% (57/68)   
remote: Compressing objects:  85% (58/68)   
remote: Compressing objects:  86% (59/68)   
remote: Compressing objects:  88% (60/68)   
remote: Compressing objects:  89% (61/68)   
remote: Compressing objects:  91% (62/68)   
remote: Compressing objects:  92% (63/68)   
remote: Compressing objects:  94% (64/68)   
remote: Compressing objects:  95% (65/68)   
remote: Compressing objects:  97% (66/68)   
remote: Compressing objects:  98% (67/68)   
remote: Compressing objects: 100% (68/68)   
remote: Compressing objects: 100% (68/68), done.
remote: Total 113 (delta 57), reused 88 (delta 39), pack-reused 0
Receiving objects:   0% (1/113)   
Receiving objects:   1% (2/113)   
Receiving objects:   2% (3/113)   
Receiving objects:   3% (4/113)   
Receiving objects:   4% (5/113)   
Receiving objects:   5% (6/113)   
Receiving objects:   6% (7/113)   
Receiving objects:   7% (8/113)   
Receiving objects:   8% (10/113)   
Receiving objects:   9% (11/113)   
Receiving objects:  10% (12/113)   
Receiving objects:  11% (13/113)   
Receiving objects:  12% (14/113)   
Receiving objects:  13% (15/113)   
Receiving objects:  14% (16/113)   
Receiving objects:  15% (17/113)   
Receiving objects:  16% (19/113)   
Receiving objects:  17% (20/113)   
Receiving objects:  18% (21/113)   
Receiving objects:  19% (22/113)   
Receiving objects:  20% (23/113)   
Receiving objects:  21% (24/113)   
Receiving objects:  22% (25/113)   
Receiving objects:  23% (26/113)   
Receiving objects:  24% (28/113)   
Receiving objects:  25% (29/113)   
Receiving objects:  26% (30/113)   
Receiving objects:  27% (31/113)   
Receiving objects:  28% (32/113)   
Receiving objects:  29% (33/113)   
Receiving objects:  30% (34/113)   
Receiving objects:  31% (36/113)   
Receiving objects:  32% (37/113)   
Receiving objects:  33% (38/113)   
Receiving objects:  34% (39/113)   
Receiving objects:  35% (40/113)   
Receiving objects:  36% (41/113)   
Receiving objects:  37% (42/113)   
Receiving objects:  38% (43/113)   
Receiving objects:  39% (45/113)   
Receiving objects:  40% (46/113)   
Receiving objects:  41% (47/113)   
Receiving objects:  42% (48/113)   
Receiving objects:  43% (49/113)   
Receiving objects:  44% (50/113)   
Receiving objects:  45% (51/113)   
Receiving objects:  46% (52/113)   
Receiving objects:  47% (54/113)   
Receiving objects:  48% (55/113)   
Receiving objects:  49% (56/113)   
Receiving objects:  50% (57/113)   
Receiving objects:  51% (58/113)   
Receiving objects:  52% (59/113)   
Receiving objects:  53% (60/113)   
Receiving objects:  54% (62/113)   
Receiving objects:  55% (63/113)   
Receiving objects:  56% (64/113)   
Receiving objects:  57% (65/113)   
Receiving objects:  58% (66/113)   
Receiving objects:  59% (67/113)   
Receiving objects:  60% (68/113)   
Receiving objects:  61% (69/113)   
Receiving objects:  62% (71/113)   
Receiving objects:  63% (72/113)   
Receiving objects:  64% (73/113)   
Receiving objects:  65% (74/113)   
Receiving objects:  66% (75/113)   
Receiving objects:  67% (76/113)   
Receiving objects:  68% (77/113)   
Receiving objects:  69% (78/113)   
Receiving objects:  70% (80/113)   
Receiving objects:  71% (81/113)   
Receiving objects:  72% (82/113)   
Receiving objects:  73% (83/113)   
Receiving objects:  74% (84/113)   
Receiving objects:  75% (85/113)   
Receiving objects:  76% (86/113)   
Receiving objects:  77% (88/113)   
Receiving objects:  78% (89/113)   
Receiving objects:  79% (90/113)   
Receiving objects:  80% (91/113)   
Receiving objects:  81% (92/113)   
Receiving objects:  82% (93/113)   
Receiving objects:  83% (94/113)   
Receiving objects:  84% (95/113)   
Receiving objects:  85% (97/113)   
Receiving objects:  86% (98/113)   
Receiving objects:  87% (99/113)   
Receiving objects:  88% (100/113)   
Receiving objects:  89% (101/113)   
Receiving objects:  90% (102/113)   
Receiving objects:  91% (103/113)   
Receiving objects:  92% (104/113)   
Receiving objects:  93% (106/113)   
Receiving objects:  94% (107/113)   
Receiving objects:  95% (108/113)   
Receiving objects:  96% (109/113)   
Receiving objects:  97% (110/113)   
Receiving objects:  98% (111/113)   
Receiving objects:  99% (112/113)   
Receiving objects: 100% (113/113)   
Receiving objects: 100% (113/113), 38.20 KiB | 0 bytes/s, done.
Resolving deltas:   0% (0/57)   
Resolving deltas:   1% (1/57)   
Resolving deltas:   5% (3/57)   
Resolving deltas:   7% (4/57)   
Resolving deltas:   8% (5/57)   
Resolving deltas:  14% (8/57)   
Resolving deltas:  15% (9/57)   
Resolving deltas:  19% (11/57)   
Resolving deltas:  21% (12/57)   
Resolving deltas:  22% (13/57)   
Resolving deltas:  24% (14/57)   
Resolving deltas:  28% (16/57)   
Resolving deltas:  31% (18/57)   
Resolving deltas:  36% (21/57)   
Resolving deltas:  49% (28/57)   
Resolving deltas:  50% (29/57)   
Resolving deltas:  52% (30/57)   
Resolving deltas:  54% (31/57)   
Resolving deltas:  56% (32/57)   
Resolving deltas:  59% (34/57)   
Resolving deltas:  63% (36/57)   
Resolving deltas:  64% (37/57)   
Resolving deltas:  66% (38/57)   
Resolving deltas:  68% (39/57)   
Resolving deltas:  70% (40/57)   
Resolving deltas:  71% (41/57)   
Resolving deltas:  73% (42/57)   
Resolving deltas:  78% (45/57)   
Resolving deltas:  80% (46/57)   
Resolving deltas:  82% (47/57)   
Resolving deltas:  87% (50/57)   
Resolving deltas:  96% (55/57)   
Resolving deltas: 100% (57/57)   
Resolving deltas: 100% (57/57), completed with 21 local objects.
+ git checkout 5b3819b6c989bee908101dbe616d3f50d7f28af6
Note: checking out '5b3819b6c989bee908101dbe616d3f50d7f28af6'.

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 5b3819b... add fedora 29 2.4.46 version
+ '[' false == true -a -n '' ']'
+ sudo env PATH=/data/src/github.com/openshift/source-to-image/_output/local/go/bin:/data/src/github.com/openshift/source-to-image/_output/local/bin/linux/amd64:/data/src/github.com/openshift/origin/_output/etcd/bin:/data/src/github.com/openshift/origin/_output/local/bin/linux/amd64:/data/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/home/ec2-user/.local/bin:/home/ec2-user/bin SKIP_SQUASH=1 SKIP_RHEL_SCL=1 make test TARGET=rhel7
Makefile:6: Extraneous text after `else' directive
Makefile:14: Extraneous text after `else' directive
cp: cannot stat ‘/tmp/image_test.Bd1ffRD/openldap/2.4.46/Dockerfile.rhel7’: No such file or directory
make: *** [test] Error 1
+ echo 'ERROR: openldap-rhel7 failed testing.'
+ exit 1
Build step 'Execute shell' marked build as failure
[PostBuildScript] - Executing post build scripts.
[workspace] $ /bin/sh -xe /tmp/jenkins4913255296483548149.sh
+ pushd origin
~/jobs/openldap/workspace/origin ~/jobs/openldap/workspace
+ vagrant destroy -f
==> openshiftdev: Terminating the instance...
==> openshiftdev: Running cleanup tasks for 'shell' provisioner...
+ popd
~/jobs/openldap/workspace
[BFA] Scanning build for known causes...
Setting status of 5b3819b6c989bee908101dbe616d3f50d7f28af6 to FAILURE with url https://ci.openshift.redhat.com/jenkins/job/openldap/23/ and message: ' '
Finished: FAILURE