FailedConsole Output

Started by upstream project "test_pr_s2i" build number 814
originally caused by:
 Started by remote host 50.17.198.52
[EnvInject] - Loading node environment variables.
Building in workspace /var/lib/jenkins/jobs/test_pull_requests_s2i/workspace
[workspace] $ /bin/sh -xe /tmp/jenkins1825510644859485758.sh
+ 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/test_pull_requests_s2i/workspace/origin
~/jobs/test_pull_requests_s2i/workspace/origin ~/jobs/test_pull_requests_s2i/workspace
# On branch master
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#	artifacts/
nothing added to commit but untracked files present (use "git add" to track)
~/jobs/test_pull_requests_s2i/workspace
Replacing: /var/lib/jenkins/jobs/test_pull_requests_s2i/workspace/origin
~/jobs/test_pull_requests_s2i/workspace/origin ~/jobs/test_pull_requests_s2i/workspace
From https://github.com/openshift/origin
   5ed6301..357c1fe  master     -> origin/master
   2f6cda3..4b8c205  release-4.1 -> origin/release-4.1
   5ed6301..357c1fe  release-4.2 -> origin/release-4.2
   5ed6301..357c1fe  release-4.3 -> origin/release-4.3
Already on 'master'
Your branch is behind 'origin/master' by 45 commits, and can be fast-forwarded.
  (use "git pull" to update your local branch)
HEAD is now at 357c1fe Merge pull request #23054 from mfojtik/template-processor-client
Removing .vagrant-openshift.json
Removing .vagrant/
Removing artifacts/
fatal: branch name required
~/jobs/test_pull_requests_s2i/workspace
Origin repositories cloned into /var/lib/jenkins/jobs/test_pull_requests_s2i/workspace
+ vagrant origin-local-checkout --replace --repo source-to-image
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/test_pull_requests_s2i/workspace/source-to-image
~/jobs/test_pull_requests_s2i/workspace/source-to-image ~/jobs/test_pull_requests_s2i/workspace
# On branch master
# Your branch is ahead of 'origin/master' by 2 commits.
#   (use "git push" to publish your local commits)
#
nothing to commit, working directory clean
~/jobs/test_pull_requests_s2i/workspace
Replacing: /var/lib/jenkins/jobs/test_pull_requests_s2i/workspace/source-to-image
~/jobs/test_pull_requests_s2i/workspace/source-to-image ~/jobs/test_pull_requests_s2i/workspace
From https://github.com/openshift/source-to-image
   a5488fd..45ec6af  master     -> origin/master
Already on 'master'
Your branch and 'origin/master' have diverged,
and have 1 and 1 different commit each, respectively.
  (use "git pull" to merge the remote branch into yours)
HEAD is now at 45ec6af Merge pull request #967 from soulseen/master
Deleted branch tpr_master_soulseen (was dfdd530).
~/jobs/test_pull_requests_s2i/workspace
Origin repositories cloned into /var/lib/jenkins/jobs/test_pull_requests_s2i/workspace
+ '[' -n 975 ']'
+ set +x


*****Locally Merging Pull Request: https://github.com/openshift/source-to-image/pull/975
+ test_pull_requests --local_merge_pull_request 975 --repo source-to-image --config /var/lib/jenkins/.test_pull_requests_s2i.json
WARNING: Cache won't persist between runs.
  *** Starting with empty cache
Rate limit remaining: 4959
  Checking if current base repo commit ID matches what we expect
  Retrying...  attempt: 2
  Retrying...  attempt: 3
  Retrying...  attempt: 4
  Retrying...  attempt: 5
  No matching bot comment was found for pull request #975 on repo source-to-image
Local merging pull request #975 for repo 'source-to-image'
+ pushd source-to-image
+ git checkout master
Already on 'master'
+ git checkout -b tpr_isolate-testing_adambkaplan
Switched to a new branch 'tpr_isolate-testing_adambkaplan'
+ git pull git@github.com:adambkaplan/source-to-image.git isolate-testing
From github.com:adambkaplan/source-to-image
 * branch            isolate-testing -> FETCH_HEAD
+ git pull git@github.com:adambkaplan/source-to-image.git isolate-testing --tags
From github.com:adambkaplan/source-to-image
 * branch            isolate-testing -> FETCH_HEAD
+ git checkout master
Switched to branch 'master'
+ git merge tpr_isolate-testing_adambkaplan
+ git submodule update --recursive
+ popd

Rate limit resets in: 3581s, at 2019-06-06T12:39:45-04:00 (1559839185)
Rate limit remaining: 4957; delta: 2
Rate limit is not too low.
Would run.
Cache stats: Hits: 4, Misses: 2, Bypass: 0
      (raw): [:fresh, 4, :invalid, 0, :miss, 2, :unacceptable, 0, :valid, 0]

Done
~/jobs/test_pull_requests_s2i/workspace/source-to-image ~/jobs/test_pull_requests_s2i/workspace
Updating 45ec6af..2308927
Fast-forward
 Makefile                                           |  20 +-
 OWNERS                                             |   7 +
 hack/test-docker.sh                                |  27 +
 hack/test-dockerfile.sh                            |  20 +
 hack/test-integration.sh                           |  20 +-
 test/integration/docker/doc.go                     |   2 +
 test/integration/{ => docker}/dockerssl_test.go    |  38 +-
 test/integration/docker/integration_test.go        | 737 +++++++++++++++++++++
 test/integration/dockerfile/doc.go                 |   1 +
 .../dockerfile_test.go}                            | 728 +-------------------
 10 files changed, 836 insertions(+), 764 deletions(-)
 create mode 100644 OWNERS
 create mode 100755 hack/test-docker.sh
 create mode 100755 hack/test-dockerfile.sh
 create mode 100644 test/integration/docker/doc.go
 rename test/integration/{ => docker}/dockerssl_test.go (74%)
 create mode 100644 test/integration/docker/integration_test.go
 create mode 100644 test/integration/dockerfile/doc.go
 rename test/integration/{integration_test.go => dockerfile/dockerfile_test.go} (58%)
Already up-to-date.
Updating 45ec6af..2308927
Fast-forward
 Makefile                                           |  20 +-
 OWNERS                                             |   7 +
 hack/test-docker.sh                                |  27 +
 hack/test-dockerfile.sh                            |  20 +
 hack/test-integration.sh                           |  20 +-
 test/integration/docker/doc.go                     |   2 +
 test/integration/{ => docker}/dockerssl_test.go    |  38 +-
 test/integration/docker/integration_test.go        | 737 +++++++++++++++++++++
 test/integration/dockerfile/doc.go                 |   1 +
 .../dockerfile_test.go}                            | 728 +-------------------
 10 files changed, 836 insertions(+), 764 deletions(-)
 create mode 100644 OWNERS
 create mode 100755 hack/test-docker.sh
 create mode 100755 hack/test-dockerfile.sh
 create mode 100644 test/integration/docker/doc.go
 rename test/integration/{ => docker}/dockerssl_test.go (74%)
 create mode 100644 test/integration/docker/integration_test.go
 create mode 100644 test/integration/dockerfile/doc.go
 rename test/integration/{integration_test.go => dockerfile/dockerfile_test.go} (58%)
~/jobs/test_pull_requests_s2i/workspace
+ pushd origin
~/jobs/test_pull_requests_s2i/workspace/origin ~/jobs/test_pull_requests_s2i/workspace
+ vagrant origin-init --stage inst --os rhel7 --instance-type c4.large origin_test_pull_requests_s2i_1421
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: c4.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-shell20190606-8011-t3xtrg.sh
==> openshiftdev: Host: ec2-3-91-36-6.compute-1.amazonaws.com
+ break
+ vagrant ssh -c 'wget -q https://dl.google.com/go/go1.10.8.linux-amd64.tar.gz && sudo tar -C /usr/local -xzf go1.10.8.linux-amd64.tar.gz && sudo rm /bin/go* && sudo ln -s /usr/local/go/bin/go /usr/local/go/bin/godoc /usr/local/go/bin/gofmt /bin'
+ vagrant clone-upstream-repos --clean --repo source-to-image
Running ssh/sudo command 'mkdir -p /ec2-user/.ssh;
mv /tmp/file20190606-8217-1gra2cw /ec2-user/.ssh/config &&
chown ec2-user:ec2-user /ec2-user/.ssh/config &&
chmod 0600 /ec2-user/.ssh/config' with timeout 14400. Attempt #0
Running ssh/sudo command 'mkdir -p /data/src/github.com/openshift/' with timeout 14400. Attempt #0
Running ssh/sudo command 'mkdir -p /data/src/github.com/openshift/builder && chown -R ec2-user:ec2-user /data/src/github.com/openshift/' with timeout 14400. Attempt #0
Running ssh/sudo command 'set -e
rm -fr /data/src/github.com/openshift/source-to-image-bare;

if [ ! -d /data/src/github.com/openshift/source-to-image-bare ]; then
git clone --quiet --bare https://github.com/openshift/source-to-image.git /data/src/github.com/openshift/source-to-image-bare >/dev/null
fi
' with timeout 14400. Attempt #0
+ vagrant sync-sti -c -s
Running ssh/sudo command 'rm -rf /data/src/github.com/openshift/source-to-image-bare; 
' with timeout 14400. Attempt #0
Running ssh/sudo command 'mkdir -p /ec2-user/.ssh;
mv /tmp/file20190606-8833-syjdlv /ec2-user/.ssh/config &&
chown ec2-user:ec2-user /ec2-user/.ssh/config &&
chmod 0600 /ec2-user/.ssh/config' with timeout 14400. Attempt #0
Running ssh/sudo command 'mkdir -p /data/src/github.com/openshift/' with timeout 14400. Attempt #0
Running ssh/sudo command 'mkdir -p /data/src/github.com/openshift/builder && chown -R ec2-user:ec2-user /data/src/github.com/openshift/' with timeout 14400. Attempt #0
Running ssh/sudo command 'set -e
rm -fr /data/src/github.com/openshift/source-to-image-bare;

if [ ! -d /data/src/github.com/openshift/source-to-image-bare ]; then
git clone --quiet --bare https://github.com/openshift/source-to-image.git /data/src/github.com/openshift/source-to-image-bare >/dev/null
fi
' with timeout 14400. Attempt #0
Synchronizing local sources
Synchronizing [source-to-image@master] from source-to-image...
Warning: Permanently added '3.91.36.6' (ECDSA) to the list of known hosts.
Running ssh/sudo command 'set -e

if [ -d /data/src/github.com/openshift/source-to-image-bare ]; then
rm -rf /data/src/github.com/openshift/source-to-image
echo 'Cloning source-to-image ...'
git clone --quiet --recurse-submodules /data/src/github.com/openshift/source-to-image-bare /data/src/github.com/openshift/source-to-image

else
MISSING_REPO+='source-to-image-bare'
fi

if [ -n "$MISSING_REPO" ]; then
echo 'Missing required upstream repositories:'
echo $MISSING_REPO
echo 'To fix, execute command: vagrant clone-upstream-repos'
fi
' with timeout 14400. Attempt #0
Cloning source-to-image ...
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/verify-gofmt.sh
hack/build-go.sh
hack/build-test-images.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 ~
Performing source-to-image build...
go version go1.10.8 linux/amd64
!!! gofmt needs to be run on the following files: 
./test/integration/dockerfile/dockerfile_test.go
Try running 'gofmt -s -d [path]'
Or autocorrect with 'hack/verify-gofmt.sh | xargs -n 1 gofmt -s -w'
Error while 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/verify-gofmt.sh
hack/build-go.sh
hack/build-test-images.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
        
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!


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/verify-gofmt.sh
hack/build-go.sh
hack/build-test-images.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
        

Stdout from the command:

/data/src/github.com/openshift/source-to-image ~
Performing source-to-image build...
go version go1.10.8 linux/amd64
./test/integration/dockerfile/dockerfile_test.go


Stderr from the command:

!!! gofmt needs to be run on the following files: 
Try running 'gofmt -s -d [path]'
Or autocorrect with 'hack/verify-gofmt.sh | xargs -n 1 gofmt -s -w'
Build step 'Execute shell' marked build as failure
Publish artifacts to S3 Bucket No file(s) found: origin/artifacts/**
Publish artifacts to S3 Bucket ‘origin/artifacts/**’ doesn’t match anything, but ‘**’ does. Perhaps that’s what you mean?
[description-setter] Description set: <a href="https://github.com/openshift/source-to-image/pull/975">https://github.com/openshift/source-to-image/pull/975</a>
[PostBuildScript] - Executing post build scripts.
[PostBuildScript] - Build does not have any of the results []. Did not execute build step #0.
[BFA] Scanning build for known causes...
Finished: FAILURE