Console Output
Started by upstream project "test_pr_s2i" build number 785
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/jenkins8451520686702592573.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
32206f2..b61acc2 master -> origin/master
456651d..41aca8e release-3.10 -> origin/release-3.10
fc76ca3..84fe0ad release-3.11 -> origin/release-3.11
Already on 'master'
Your branch is behind 'origin/master' by 58 commits, and can be fast-forwarded.
(use "git pull" to update your local branch)
HEAD is now at b61acc2 Merge pull request #21324 from soltysh/filter_kube_plugins_only
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 1 commit.
# (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
2a78342..9eb3030 master -> origin/master
From https://github.com/openshift/source-to-image
- [tag update] v0.4 -> v0.4
- [tag update] v0.5 -> v0.5
- [tag update] v1.0.2 -> v1.0.2
- [tag update] v1.0.3 -> v1.0.3
Already on 'master'
Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded.
(use "git pull" to update your local branch)
HEAD is now at 9eb3030 Merge pull request #935 from bparees/container_wait
Deleted branch tpr_container_wait_bparees (was 04aeb9d).
~/jobs/test_pull_requests_s2i/workspace
Origin repositories cloned into /var/lib/jenkins/jobs/test_pull_requests_s2i/workspace
+ '[' -n 938 ']'
+ set +x
*****Locally Merging Pull Request: https://github.com/openshift/source-to-image/pull/938
+ test_pull_requests --local_merge_pull_request 938 --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: 4985
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 #938 on repo source-to-image
Local merging pull request #938 for repo 'source-to-image'
+ pushd source-to-image
+ git checkout master
Already on 'master'
+ git checkout -b tpr_937-fix-recursive-copy_vdemeester
Switched to a new branch 'tpr_937-fix-recursive-copy_vdemeester'
+ git pull git@github.com:vdemeester/source-to-image.git 937-fix-recursive-copy
From github.com:vdemeester/source-to-image
* branch 937-fix-recursive-copy -> FETCH_HEAD
+ git pull git@github.com:vdemeester/source-to-image.git 937-fix-recursive-copy --tags
From github.com:vdemeester/source-to-image
* branch 937-fix-recursive-copy -> FETCH_HEAD
+ git checkout master
Switched to branch 'master'
+ git merge tpr_937-fix-recursive-copy_vdemeester
+ git submodule update --recursive
+ popd
Rate limit resets in: 3470s, at 2018-10-23T10:46:01-04:00 (1540305961)
Rate limit remaining: 4983; 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 9eb3030..5ebf24b
Fast-forward
pkg/scm/downloaders/file/download.go | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
Already up-to-date.
Updating 9eb3030..5ebf24b
Fast-forward
pkg/scm/downloaders/file/download.go | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
~/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_1387
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-shell20181023-17034-1cyw5p2.sh
==> openshiftdev: Host: ec2-52-205-210-147.compute-1.amazonaws.com
+ break
+ vagrant clone-upstream-repos --clean --repo source-to-image
Running ssh/sudo command 'mkdir -p /ec2-user/.ssh;
mv /tmp/file20181023-17396-13on4ui /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/file20181023-17650-1k5gu4z /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 '52.205.210.147' (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.7.5 linux/amd64
++ Building go targets for linux/amd64: cmd/s2i
++ Placing binaries
Sending build context to Docker daemon 7.168 kB
Step 1 : FROM busybox
Trying to pull repository docker.io/library/busybox ...
latest: Pulling from docker.io/library/busybox
90e01955edcd: Pulling fs layer
90e01955edcd: Verifying Checksum
90e01955edcd: Download complete
90e01955edcd: Pull complete
Digest: sha256:2a03a6059f21e150ae84b0973863609494aad70f0a80eaeb64bddd8d92465812
---> 59788edf1f3e
Step 2 : RUN mkdir -p /sti-fake/src && mkdir -p /opt/app-root/src && mkdir /usr/bin && ln -s /bin/env /usr/bin/env
---> Running in d6e9dc0dc95f
---> 388d6905eba9
Removing intermediate container d6e9dc0dc95f
Step 3 : WORKDIR /opt/app-root/src
---> Running in 251592905dcc
---> cc908c7f277b
Removing intermediate container 251592905dcc
Step 4 : LABEL io.openshift.s2i.scripts-url http://127.0.0.1:23456/.s2i/bin
---> Running in e9aa051dcca7
---> a1f6bf1e1a11
Removing intermediate container e9aa051dcca7
Successfully built a1f6bf1e1a11
Sending build context to Docker daemon 7.168 kB
Step 1 : FROM sti_test/sti-fake
---> a1f6bf1e1a11
Step 2 : LABEL io.openshift.s2i.assemble-user "0"
---> Running in f452f2e32244
---> d632b61f0b65
Removing intermediate container f452f2e32244
Step 3 : RUN mkdir -p /sti-fake && adduser -u 431 -h /sti-fake -s /sbin/nologin -D fakeuser && chown -R fakeuser /sti-fake
---> Running in 39f9201a1ad1
---> ba542cf04fc5
Removing intermediate container 39f9201a1ad1
Step 4 : USER 431
---> Running in 22cf7453f842
---> 9bbba25ffb32
Removing intermediate container 22cf7453f842
Successfully built 9bbba25ffb32
Sending build context to Docker daemon 7.168 kB
Step 1 : FROM sti_test/sti-fake
---> a1f6bf1e1a11
Step 2 : LABEL io.openshift.s2i.assemble-user "431"
---> Running in ff666925d4c1
---> d15430e71e1b
Removing intermediate container ff666925d4c1
Step 3 : RUN mkdir -p /sti-fake && adduser -u 431 -h /sti-fake -s /sbin/nologin -D fakeuser && chown -R fakeuser /sti-fake
---> Running in f7efb2ec4e5b
---> 49403fec8bde
Removing intermediate container f7efb2ec4e5b
Step 4 : USER 431
---> Running in 9410529be012
---> 13e09c7f088b
Removing intermediate container 9410529be012
Successfully built 13e09c7f088b
Sending build context to Docker daemon 7.168 kB
Step 1 : FROM busybox
---> 59788edf1f3e
Step 2 : RUN mkdir -p /sti-fake/src && mkdir /usr/bin && ln -s /bin/env /usr/bin/env
---> Running in 685574e7b280
---> cddf2ce7a724
Removing intermediate container 685574e7b280
Step 3 : WORKDIR /
---> Running in cc192eaed292
---> 70ab8cbd3d6f
Removing intermediate container cc192eaed292
Step 4 : ENV STI_SCRIPTS_URL http://127.0.0.1:23456/.s2i/bin
---> Running in 49684e321652
---> cdf843518d22
Removing intermediate container 49684e321652
Successfully built cdf843518d22
Sending build context to Docker daemon 7.168 kB
Step 1 : FROM sti_test/sti-fake
---> a1f6bf1e1a11
Step 2 : RUN mkdir -p /sti-fake && adduser -u 431 -h /sti-fake -s /sbin/nologin -D fakeuser && chown -R fakeuser /sti-fake
---> Running in 8fd644aaced1
---> 2840e501d24c
Removing intermediate container 8fd644aaced1
Step 3 : USER fakeuser
---> Running in e55e4d28b181
---> f871a1d6f276
Removing intermediate container e55e4d28b181
Successfully built f871a1d6f276
Sending build context to Docker daemon 7.168 kB
Step 1 : FROM busybox
---> 59788edf1f3e
Step 2 : RUN mkdir -p /sti-fake/src && mkdir -p /tmp/scripts && mkdir /usr/bin && ln -s /bin/env /usr/bin/env
---> Running in 1449bde62b4f
---> 7e63e5ca210c
Removing intermediate container 1449bde62b4f
Step 3 : WORKDIR /
---> Running in 94729acd7415
---> 08b3e57c477f
Removing intermediate container 94729acd7415
Step 4 : ADD scripts/.s2i/bin/ /tmp/scripts/
---> 16159d303681
Removing intermediate container 9fb26fb71e00
Step 5 : LABEL io.openshift.s2i.scripts-url image:///tmp/scripts/
---> Running in 18e95c3986b7
---> 3954556774d2
Removing intermediate container 18e95c3986b7
Successfully built 3954556774d2
Sending build context to Docker daemon 7.168 kB
Step 1 : FROM busybox
---> 59788edf1f3e
Step 2 : RUN mkdir -p /sti-fake/src && mkdir -p /tmp/scripts && mkdir /usr/bin && ln -s /bin/env /usr/bin/env
---> Using cache
---> 7e63e5ca210c
Step 3 : WORKDIR /
---> Using cache
---> 08b3e57c477f
Step 4 : ADD scripts/.s2i/bin/run /tmp/scripts/
---> 94f0ca3fa4b1
Removing intermediate container 0e593f5b7127
Step 5 : ADD scripts/.s2i/bin/assemble /tmp/scripts/
---> b9661b41c0e1
Removing intermediate container c8db5e0c69a6
Step 6 : LABEL io.openshift.s2i.scripts-url image:///tmp/scripts/
---> Running in c17f3321cebc
---> 5e78ddd6bb42
Removing intermediate container c17f3321cebc
Successfully built 5e78ddd6bb42
Sending build context to Docker daemon 7.168 kB
Step 1 : FROM busybox
---> 59788edf1f3e
Step 2 : RUN mkdir -p /sti-fake/src && rm /bin/tar && mkdir /usr/bin && ln -s /bin/env /usr/bin/env
---> Running in ea376b248621
---> 6e5cdd8a0015
Removing intermediate container ea376b248621
Step 3 : WORKDIR /
---> Running in 461a501fbb46
---> 501a94f641d8
Removing intermediate container 461a501fbb46
Successfully built 501a94f641d8
Sending build context to Docker daemon 7.168 kB
Step 1 : FROM sti_test/sti-fake
---> a1f6bf1e1a11
Step 2 : ONBUILD run touch /sti-fake/src/onbuild
---> Running in c882e050c21a
---> a76350872d12
Removing intermediate container c882e050c21a
Step 3 : ONBUILD copy . /tmp/src/
---> Running in 2cb5b36d0294
---> c4609fffff08
Removing intermediate container 2cb5b36d0294
Step 4 : WORKDIR /tmp/src
---> Running in e4c47d5c02d7
---> 8a7c6a5f9e1d
Removing intermediate container e4c47d5c02d7
Successfully built 8a7c6a5f9e1d
Sending build context to Docker daemon 7.168 kB
Step 1 : FROM sti_test/sti-fake
---> a1f6bf1e1a11
Step 2 : RUN mkdir -p /sti-fake && adduser -u 431 -h /sti-fake -s /sbin/nologin -D fakeuser && chown -R fakeuser /sti-fake
---> Using cache
---> 2840e501d24c
Step 3 : USER 431
---> Running in 02bc014ec659
---> 1ec469463781
Removing intermediate container 02bc014ec659
Successfully built 1ec469463781
Sending build context to Docker daemon 7.168 kB
Step 1 : FROM sti_test/sti-fake
---> a1f6bf1e1a11
Step 2 : ONBUILD user 0
---> Running in 55e3a7aa237f
---> f1f5158a955b
Removing intermediate container 55e3a7aa237f
Step 3 : ONBUILD run touch /tmp/onbuild
---> Running in c880bc0b0734
---> 00933a7afe49
Removing intermediate container c880bc0b0734
Step 4 : ONBUILD copy . /tmp/src/
---> Running in 56e704b343c2
---> a888dd476d54
Removing intermediate container 56e704b343c2
Step 5 : WORKDIR /tmp/src
---> Running in 77bb161886a7
---> c201adffcf75
Removing intermediate container 77bb161886a7
Successfully built c201adffcf75
Sending build context to Docker daemon 7.168 kB
Step 1 : FROM sti_test/sti-fake
---> a1f6bf1e1a11
Step 2 : USER 1001
---> Running in 42ce2dd68a6d
---> 9a4d32a678a6
Removing intermediate container 42ce2dd68a6d
Step 3 : ONBUILD user 1001
---> Running in 0d1b1a81f963
---> f850c6b285d0
Removing intermediate container 0d1b1a81f963
Step 4 : ONBUILD run touch /tmp/onbuild
---> Running in 714f896ae4a5
---> 01ebd41b1677
Removing intermediate container 714f896ae4a5
Step 5 : ONBUILD copy . /tmp/src/
---> Running in 444d07e6dee0
---> 2c9ecb70d22f
Removing intermediate container 444d07e6dee0
Step 6 : WORKDIR /tmp/src
---> Running in 8683cb5d257d
---> 0de022dfd2b3
Removing intermediate container 8683cb5d257d
Successfully built 0de022dfd2b3
~
+ vagrant test-sti --all -d
***************************************************
Running OUTPUT_COVERAGE=/tmp/sti/artifacts/coverage hack/test-go.sh...
ok github.com/openshift/source-to-image/pkg/api 1.009s coverage: 42.6% of statements
ok github.com/openshift/source-to-image/pkg/api/validation 1.021s coverage: 48.6% of statements
ok github.com/openshift/source-to-image/pkg/build/strategies/dockerfile 1.027s coverage: 2.3% of statements
ok github.com/openshift/source-to-image/pkg/build/strategies/layered 1.030s coverage: 80.5% of statements
ok github.com/openshift/source-to-image/pkg/build/strategies/onbuild 1.029s coverage: 70.7% of statements
ok github.com/openshift/source-to-image/pkg/build/strategies/sti 1.054s coverage: 52.2% of statements
ok github.com/openshift/source-to-image/pkg/docker 1.043s coverage: 46.7% of statements
ok github.com/openshift/source-to-image/pkg/ignore 1.018s coverage: 76.8% of statements
ok github.com/openshift/source-to-image/pkg/scm 1.067s coverage: 78.9% of statements
ok github.com/openshift/source-to-image/pkg/scm/downloaders/file 1.009s coverage: 84.2% of statements
ok github.com/openshift/source-to-image/pkg/scm/downloaders/git 1.009s coverage: 63.6% of statements
ok github.com/openshift/source-to-image/pkg/scm/git 1.110s coverage: 56.3% of statements
ok github.com/openshift/source-to-image/pkg/scripts 1.030s coverage: 70.8% of statements
ok github.com/openshift/source-to-image/pkg/tar 1.033s coverage: 58.7% of statements
ok github.com/openshift/source-to-image/pkg/util 1.117s coverage: 47.3% of statements
ok github.com/openshift/source-to-image/pkg/util/fs 1.009s coverage: 24.2% of statements
ok github.com/openshift/source-to-image/pkg/util/status 1.009s coverage: 100.0% of statements
ok github.com/openshift/source-to-image/pkg/util/user 1.009s coverage: 66.0% of statements
? github.com/openshift/source-to-image/test/integration [no test files]
real 4m14.761s
user 6m20.488s
sys 0m32.599s
Finished OUTPUT_COVERAGE=/tmp/sti/artifacts/coverage hack/test-go.sh
***************************************************
***************************************************
Running hack/test-integration.sh...
Running integration tests ...
=== RUN TestTCP
--- PASS: TestTCP (1.48s)
=== RUN TestUNIX
--- PASS: TestUNIX (1.45s)
=== RUN TestSSL
--- PASS: TestSSL (1.87s)
=== RUN TestSSLClientCert
--- PASS: TestSSLClientCert (1.81s)
=== RUN TestInjectionBuild
I1023 09:56:44.747387 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:56:44.753627 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:56:44.753686 22626 docker.go:718] Image sha256:a1f6bf1e1a111c7f8257166efaa9a161f42805b7e01b228abc4be86abf4f4b90 contains io.openshift.s2i.scripts-url set to "http://127.0.0.1:23456/.s2i/bin"
I1023 09:56:44.753802 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
I1023 09:56:44.754105 22626 sti.go:204] Preparing to build test/sti-fake-app
I1023 09:56:44.754554 22626 clone.go:36] Downloading "https://github.com/openshift/ruby-hello-world" ...
I1023 09:56:44.754618 22626 clone.go:40] Cloning sources into "/tmp/s2i195520754/upload/src"
I1023 09:56:44.958186 22626 clone.go:56] Checked out "HEAD"
I1023 09:56:44.982277 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:56:45.017104 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/assemble'
I1023 09:56:45.017220 22626 install.go:261] Using "assemble" installed from "http://127.0.0.1:23456/.s2i/bin/assemble"
I1023 09:56:45.018673 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/run'
I1023 09:56:45.018774 22626 install.go:261] Using "run" installed from "http://127.0.0.1:23456/.s2i/bin/run"
I1023 09:56:45.020145 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/save-artifacts'
I1023 09:56:45.020260 22626 install.go:261] Using "save-artifacts" installed from "http://127.0.0.1:23456/.s2i/bin/save-artifacts"
I1023 09:56:45.020338 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:56:45.020379 22626 sti.go:213] Clean build will be performed
I1023 09:56:45.020438 22626 sti.go:216] Performing source build from https://github.com/openshift/ruby-hello-world
I1023 09:56:45.020494 22626 sti.go:227] Running "assemble" in "test/sti-fake-app"
I1023 09:56:45.020535 22626 sti.go:573] Using image name sti_test/sti-fake
I1023 09:56:45.023064 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:56:45.023165 22626 environment.go:41] Setting 1 environment variables provided by environment file in sources
I1023 09:56:45.025236 22626 injection.go:33] Using "/opt/app-root/src" as a destination for injecting "/tmp/s2i-test-dir829401631"
I1023 09:56:45.025304 22626 injection.go:33] Using "/opt/app-root/src/test" as a destination for injecting "/tmp/s2i-test-dir829401631"
I1023 09:56:45.025373 22626 injection.go:33] Using "/opt/app-root/src/test2" as a destination for injecting "/tmp/s2i-test-dir829401631"
I1023 09:56:45.029797 22626 docker.go:781] Both scripts and untarred source will be placed in '/tmp'
I1023 09:56:45.029940 22626 docker.go:949] Setting "/bin/sh -c while [ ! -f \"/tmp/injection-result\" ]; do sleep 0.5; done; if [ -s \"/tmp/injection-result\" ]; then exit 1; fi; tar -C /tmp -xf - && /tmp/scripts/assemble; result=$?; . /tmp/rm-injections; exit $result" command for container ...
I1023 09:56:45.030305 22626 docker.go:958] Creating container with options {Name:"s2i_sti_test_sti_fake_9acb0442" Config:{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:true StdinOnce:true Env:[RACK_ENV=production] Cmd:[/bin/sh -c while [ ! -f "/tmp/injection-result" ]; do sleep 0.5; done; if [ -s "/tmp/injection-result" ]; then exit 1; fi; tar -C /tmp -xf - && /tmp/scripts/assemble; result=$?; . /tmp/rm-injections; exit $result] Healthcheck:<nil> ArgsEscaped:false Image:sti_test/sti-fake:latest Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} HostConfig:&{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode: PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] CapAdd:[] CapDrop:[] DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:67108864 Sysctls:map[] Runtime: ConsoleSize:[0 0] Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DiskQuota:0 KernelMemory:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:0 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[] Init:<nil>}} ...
I1023 09:56:45.420351 22626 docker.go:990] Attaching to container "0cca7c82a3ce686a3c10d3ef8b010901d67cc9779f819c196eeceabeb8ce897f" ...
I1023 09:56:45.422122 22626 docker.go:1001] Starting container "0cca7c82a3ce686a3c10d3ef8b010901d67cc9779f819c196eeceabeb8ce897f" ...
I1023 09:56:45.762619 22626 sti.go:723] starting the injections uploading ...
I1023 09:56:45.762842 22626 docker.go:385] Uploading "/tmp/s2i-test-dir829401631" to "/" ...
I1023 09:56:45.762882 22626 tar.go:217] Adding "/tmp/s2i-test-dir829401631" to tar ...
I1023 09:56:45.763850 22626 tar.go:312] Adding to tar: /tmp/s2i-test-dir829401631/secret as s2i-test-dir829401631/secret
I1023 09:56:45.790784 22626 docker.go:385] Uploading "/tmp/s2i-test-dir829401631" to "/opt/app-root" ...
I1023 09:56:45.790813 22626 tar.go:217] Adding "/tmp/s2i-test-dir829401631" to tar ...
I1023 09:56:45.791129 22626 tar.go:312] Adding to tar: /tmp/s2i-test-dir829401631/secret as s2i-test-dir829401631/secret
I1023 09:56:45.814916 22626 docker.go:385] Uploading "/tmp/s2i-test-dir829401631" to "/opt/app-root/src" ...
I1023 09:56:45.814938 22626 tar.go:217] Adding "/tmp/s2i-test-dir829401631" to tar ...
I1023 09:56:45.815229 22626 tar.go:312] Adding to tar: /tmp/s2i-test-dir829401631/secret as s2i-test-dir829401631/secret
I1023 09:56:45.837740 22626 docker.go:385] Uploading "/tmp/s2i-test-dir829401631" to "/opt/app-root/src" ...
I1023 09:56:45.837918 22626 tar.go:217] Adding "/tmp/s2i-test-dir829401631" to tar ...
I1023 09:56:45.838154 22626 tar.go:312] Adding to tar: /tmp/s2i-test-dir829401631/secret as s2i-test-dir829401631/secret
I1023 09:56:45.863794 22626 docker.go:385] Uploading "/tmp/s2i-injection-remove884602281" to "/tmp" ...
I1023 09:56:45.863826 22626 tar.go:217] Adding "/tmp/s2i-injection-remove884602281" to tar ...
I1023 09:56:45.864012 22626 tar.go:312] Adding to tar: /tmp/s2i-injection-remove884602281 as s2i-injection-remove884602281
I1023 09:56:45.887616 22626 docker.go:385] Uploading "/tmp/s2i-injection-result282565364" to "/tmp" ...
I1023 09:56:45.887677 22626 tar.go:217] Adding "/tmp/s2i-injection-result282565364" to tar ...
I1023 09:56:45.887848 22626 tar.go:312] Adding to tar: /tmp/s2i-injection-result282565364 as s2i-injection-result282565364
I1023 09:56:45.916505 22626 sti.go:691] starting the source uploading ...
I1023 09:56:45.916591 22626 tar.go:217] Adding "/tmp/s2i195520754/upload" to tar ...
I1023 09:56:45.916841 22626 tar.go:312] Adding to tar: /tmp/s2i195520754/upload/scripts as scripts
I1023 09:56:45.917193 22626 tar.go:312] Adding to tar: /tmp/s2i195520754/upload/scripts/assemble as scripts/assemble
I1023 09:56:45.917491 22626 tar.go:312] Adding to tar: /tmp/s2i195520754/upload/scripts/run as scripts/run
I1023 09:56:45.917793 22626 tar.go:312] Adding to tar: /tmp/s2i195520754/upload/scripts/save-artifacts as scripts/save-artifacts
I1023 09:56:45.918130 22626 tar.go:312] Adding to tar: /tmp/s2i195520754/upload/src as src
I1023 09:56:45.921280 22626 tar.go:312] Adding to tar: /tmp/s2i195520754/upload/src/.gitignore as src/.gitignore
I1023 09:56:45.921579 22626 tar.go:312] Adding to tar: /tmp/s2i195520754/upload/src/.s2i as src/.s2i
I1023 09:56:45.921865 22626 tar.go:312] Adding to tar: /tmp/s2i195520754/upload/src/.s2i/bin as src/.s2i/bin
I1023 09:56:45.922162 22626 tar.go:312] Adding to tar: /tmp/s2i195520754/upload/src/.s2i/bin/README as src/.s2i/bin/README
I1023 09:56:45.922504 22626 tar.go:312] Adding to tar: /tmp/s2i195520754/upload/src/.s2i/environment as src/.s2i/environment
I1023 09:56:45.922834 22626 tar.go:312] Adding to tar: /tmp/s2i195520754/upload/src/.travis.yml as src/.travis.yml
I1023 09:56:45.923183 22626 tar.go:312] Adding to tar: /tmp/s2i195520754/upload/src/Dockerfile as src/Dockerfile
I1023 09:56:45.923512 22626 tar.go:312] Adding to tar: /tmp/s2i195520754/upload/src/Gemfile as src/Gemfile
I1023 09:56:45.923818 22626 tar.go:312] Adding to tar: /tmp/s2i195520754/upload/src/Gemfile.lock as src/Gemfile.lock
I1023 09:56:45.924165 22626 tar.go:312] Adding to tar: /tmp/s2i195520754/upload/src/README.md as src/README.md
I1023 09:56:45.924476 22626 tar.go:312] Adding to tar: /tmp/s2i195520754/upload/src/Rakefile as src/Rakefile
I1023 09:56:45.924811 22626 tar.go:312] Adding to tar: /tmp/s2i195520754/upload/src/app.rb as src/app.rb
I1023 09:56:45.925145 22626 tar.go:312] Adding to tar: /tmp/s2i195520754/upload/src/config as src/config
I1023 09:56:45.925448 22626 tar.go:312] Adding to tar: /tmp/s2i195520754/upload/src/config/database.rb as src/config/database.rb
I1023 09:56:45.925755 22626 tar.go:312] Adding to tar: /tmp/s2i195520754/upload/src/config/database.yml as src/config/database.yml
I1023 09:56:45.926068 22626 tar.go:312] Adding to tar: /tmp/s2i195520754/upload/src/config.ru as src/config.ru
I1023 09:56:45.926379 22626 tar.go:312] Adding to tar: /tmp/s2i195520754/upload/src/db as src/db
I1023 09:56:45.926652 22626 tar.go:312] Adding to tar: /tmp/s2i195520754/upload/src/db/migrate as src/db/migrate
I1023 09:56:45.926963 22626 tar.go:312] Adding to tar: /tmp/s2i195520754/upload/src/db/migrate/20141102191902_create_key_pair.rb as src/db/migrate/20141102191902_create_key_pair.rb
I1023 09:56:45.927261 22626 tar.go:312] Adding to tar: /tmp/s2i195520754/upload/src/models.rb as src/models.rb
I1023 09:56:45.927592 22626 tar.go:312] Adding to tar: /tmp/s2i195520754/upload/src/run.sh as src/run.sh
I1023 09:56:45.927920 22626 tar.go:312] Adding to tar: /tmp/s2i195520754/upload/src/test as src/test
I1023 09:56:45.928243 22626 tar.go:312] Adding to tar: /tmp/s2i195520754/upload/src/test/sample_test.rb as src/test/sample_test.rb
I1023 09:56:45.928520 22626 tar.go:312] Adding to tar: /tmp/s2i195520754/upload/src/views as src/views
I1023 09:56:45.928802 22626 tar.go:312] Adding to tar: /tmp/s2i195520754/upload/src/views/main.erb as src/views/main.erb
I1023 09:56:46.318102 22626 docker.go:1032] Waiting for container "0cca7c82a3ce686a3c10d3ef8b010901d67cc9779f819c196eeceabeb8ce897f" to stop ...
I1023 09:56:46.488215 22626 docker.go:1057] Invoking PostExecute function
I1023 09:56:46.488276 22626 postexecutorstep.go:68] Skipping step: store previous image
I1023 09:56:46.488305 22626 postexecutorstep.go:117] Executing step: commit image
I1023 09:56:46.490671 22626 postexecutorstep.go:522] Checking for new Labels to apply...
I1023 09:56:46.490729 22626 postexecutorstep.go:530] Creating the download path '/tmp/s2i195520754/metadata'
I1023 09:56:46.490944 22626 postexecutorstep.go:464] Downloading file "/tmp/.s2i/image_metadata.json"
I1023 09:56:46.644218 22626 tar.go:376] Creating directory /tmp/s2i195520754/metadata
I1023 09:56:46.644298 22626 tar.go:444] Creating /tmp/s2i195520754/metadata/image_metadata.json
I1023 09:56:46.644463 22626 tar.go:454] Extracting/writing /tmp/s2i195520754/metadata/image_metadata.json
I1023 09:56:46.644616 22626 tar.go:400] Done extracting tar stream
I1023 09:56:46.644761 22626 postexecutorstep.go:555] new Labels File contents :
{
"labels": [
{"testLabel": "testLabel_value"}
]
}
I1023 09:56:46.649321 22626 docker.go:1091] Committing container with dockerOpts: {Reference:test/sti-fake-app Comment: Author: Changes:[] Pause:false Config:0xc4202083c0}, config: {Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[RACK_ENV=production] Cmd:[/tmp/scripts/run] Healthcheck:<nil> ArgsEscaped:false Image: Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[testLabel:testLabel_value io.openshift.s2i.scripts-url:http://127.0.0.1:23456/.s2i/bin io.k8s.display-name:test/sti-fake-app io.openshift.s2i.build.image:sti_test/sti-fake io.openshift.s2i.build.commit.author:Ben Parees <bparees@users.noreply.github.com> io.openshift.s2i.build.commit.date:Fri Feb 9 18:24:07 2018 -0500 io.openshift.s2i.build.source-location:https://github.com/openshift/ruby-hello-world io.openshift.s2i.build.commit.id:7ccd3242c49c3868195ca9400a539fa611111096 io.openshift.s2i.build.commit.ref:master io.openshift.s2i.build.commit.message:Merge pull request #71 from bparees/gemfile2] StopSignal: StopTimeout:<nil> Shell:[]}
I1023 09:56:47.891957 22626 postexecutorstep.go:392] Executing step: report success
I1023 09:56:47.892032 22626 postexecutorstep.go:397] Successfully built test/sti-fake-app
I1023 09:56:47.892062 22626 postexecutorstep.go:93] Skipping step: remove previous image
I1023 09:56:47.892820 22626 docker.go:968] Removing container "0cca7c82a3ce686a3c10d3ef8b010901d67cc9779f819c196eeceabeb8ce897f" ...
I1023 09:56:47.907982 22626 docker.go:978] Removed container "0cca7c82a3ce686a3c10d3ef8b010901d67cc9779f819c196eeceabeb8ce897f"
I1023 09:56:47.908228 22626 cleanup.go:33] Removing temporary directory /tmp/s2i195520754
I1023 09:56:47.908272 22626 fs.go:302] Removing directory '/tmp/s2i195520754'
--- PASS: TestInjectionBuild (7.67s)
=== RUN TestInjectionBuildBadDestination
I1023 09:56:52.424620 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:56:52.430543 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:56:52.430603 22626 docker.go:718] Image sha256:a1f6bf1e1a111c7f8257166efaa9a161f42805b7e01b228abc4be86abf4f4b90 contains io.openshift.s2i.scripts-url set to "http://127.0.0.1:23456/.s2i/bin"
I1023 09:56:52.430671 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
I1023 09:56:52.430776 22626 sti.go:204] Preparing to build test/sti-fake-app
I1023 09:56:52.431154 22626 clone.go:36] Downloading "https://github.com/openshift/ruby-hello-world" ...
I1023 09:56:52.431204 22626 clone.go:40] Cloning sources into "/tmp/s2i658451693/upload/src"
I1023 09:56:52.636013 22626 clone.go:56] Checked out "HEAD"
I1023 09:56:52.661466 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:56:52.681106 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/assemble'
I1023 09:56:52.681236 22626 install.go:261] Using "assemble" installed from "http://127.0.0.1:23456/.s2i/bin/assemble"
I1023 09:56:52.682611 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/run'
I1023 09:56:52.682713 22626 install.go:261] Using "run" installed from "http://127.0.0.1:23456/.s2i/bin/run"
I1023 09:56:52.684093 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/save-artifacts'
I1023 09:56:52.684211 22626 install.go:261] Using "save-artifacts" installed from "http://127.0.0.1:23456/.s2i/bin/save-artifacts"
I1023 09:56:52.684269 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:56:52.684293 22626 sti.go:213] Clean build will be performed
I1023 09:56:52.684319 22626 sti.go:216] Performing source build from https://github.com/openshift/ruby-hello-world
I1023 09:56:52.684349 22626 sti.go:227] Running "assemble" in "test/sti-fake-app"
I1023 09:56:52.684370 22626 sti.go:573] Using image name sti_test/sti-fake
I1023 09:56:52.686890 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:56:52.686989 22626 environment.go:41] Setting 1 environment variables provided by environment file in sources
I1023 09:56:52.693508 22626 docker.go:781] Both scripts and untarred source will be placed in '/tmp'
I1023 09:56:52.693652 22626 docker.go:949] Setting "/bin/sh -c while [ ! -f \"/tmp/injection-result\" ]; do sleep 0.5; done; if [ -s \"/tmp/injection-result\" ]; then exit 1; fi; tar -C /tmp -xf - && /tmp/scripts/assemble; result=$?; . /tmp/rm-injections; exit $result" command for container ...
I1023 09:56:52.693956 22626 docker.go:958] Creating container with options {Name:"s2i_sti_test_sti_fake_f0c5341e" Config:{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:true StdinOnce:true Env:[RACK_ENV=production] Cmd:[/bin/sh -c while [ ! -f "/tmp/injection-result" ]; do sleep 0.5; done; if [ -s "/tmp/injection-result" ]; then exit 1; fi; tar -C /tmp -xf - && /tmp/scripts/assemble; result=$?; . /tmp/rm-injections; exit $result] Healthcheck:<nil> ArgsEscaped:false Image:sti_test/sti-fake:latest Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} HostConfig:&{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode: PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] CapAdd:[] CapDrop:[] DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:67108864 Sysctls:map[] Runtime: ConsoleSize:[0 0] Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DiskQuota:0 KernelMemory:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:0 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[] Init:<nil>}} ...
I1023 09:56:53.043589 22626 docker.go:990] Attaching to container "91998983130f560b46956c231125de2d60a6365511af4c2c5b99f2a8a43f3302" ...
I1023 09:56:53.045067 22626 docker.go:1001] Starting container "91998983130f560b46956c231125de2d60a6365511af4c2c5b99f2a8a43f3302" ...
I1023 09:56:53.329649 22626 sti.go:723] starting the injections uploading ...
I1023 09:56:53.329800 22626 docker.go:385] Uploading "/tmp/s2i-test-dir506970694" to "/bad" ...
I1023 09:56:53.330008 22626 tar.go:217] Adding "/tmp/s2i-test-dir506970694" to tar ...
I1023 09:56:53.330261 22626 tar.go:312] Adding to tar: /tmp/s2i-test-dir506970694/secret as s2i-test-dir506970694/secret
I1023 09:56:53.335279 22626 docker.go:390] error: Uploading to container failed: Error response from daemon: lstat /var/lib/docker/devicemapper/mnt/d3d9b7ec23131e056eef928b1ab35bc5e41d2a3e875806c332f9d4a3cfe79796/rootfs/bad: no such file or directory
E1023 09:56:53.335367 22626 injection.go:151] The destination directory for "/tmp/s2i-test-dir506970694" injection must exist in container ("/bad/dir")
I1023 09:56:53.335653 22626 docker.go:385] Uploading "/tmp/s2i-injection-result751392679" to "/tmp" ...
I1023 09:56:53.335837 22626 tar.go:217] Adding "/tmp/s2i-injection-result751392679" to tar ...
I1023 09:56:53.335990 22626 tar.go:312] Adding to tar: /tmp/s2i-injection-result751392679 as s2i-injection-result751392679
I1023 09:56:53.872239 22626 docker.go:1032] Waiting for container "91998983130f560b46956c231125de2d60a6365511af4c2c5b99f2a8a43f3302" to stop ...
I1023 09:56:54.003830 22626 docker.go:968] Removing container "91998983130f560b46956c231125de2d60a6365511af4c2c5b99f2a8a43f3302" ...
I1023 09:56:54.019314 22626 docker.go:978] Removed container "91998983130f560b46956c231125de2d60a6365511af4c2c5b99f2a8a43f3302"
I1023 09:56:54.020117 22626 cleanup.go:33] Removing temporary directory /tmp/s2i658451693
I1023 09:56:54.020156 22626 fs.go:302] Removing directory '/tmp/s2i658451693'
--- PASS: TestInjectionBuildBadDestination (1.62s)
=== RUN TestCleanBuild
I1023 09:56:54.035192 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:56:54.041548 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:56:54.041608 22626 docker.go:718] Image sha256:a1f6bf1e1a111c7f8257166efaa9a161f42805b7e01b228abc4be86abf4f4b90 contains io.openshift.s2i.scripts-url set to "http://127.0.0.1:23456/.s2i/bin"
I1023 09:56:54.041672 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
I1023 09:56:54.041784 22626 sti.go:204] Preparing to build test/sti-fake-app
I1023 09:56:54.042237 22626 clone.go:36] Downloading "https://github.com/openshift/ruby-hello-world" ...
I1023 09:56:54.042299 22626 clone.go:40] Cloning sources into "/tmp/s2i256452314/upload/src"
I1023 09:56:54.365774 22626 clone.go:56] Checked out "HEAD"
I1023 09:56:54.389420 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:56:54.409302 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/assemble'
I1023 09:56:54.409421 22626 install.go:261] Using "assemble" installed from "http://127.0.0.1:23456/.s2i/bin/assemble"
I1023 09:56:54.410838 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/run'
I1023 09:56:54.410953 22626 install.go:261] Using "run" installed from "http://127.0.0.1:23456/.s2i/bin/run"
I1023 09:56:54.412350 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/save-artifacts'
I1023 09:56:54.412451 22626 install.go:261] Using "save-artifacts" installed from "http://127.0.0.1:23456/.s2i/bin/save-artifacts"
I1023 09:56:54.412507 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:56:54.412534 22626 sti.go:213] Clean build will be performed
I1023 09:56:54.412576 22626 sti.go:216] Performing source build from https://github.com/openshift/ruby-hello-world
I1023 09:56:54.412609 22626 sti.go:227] Running "assemble" in "test/sti-fake-app"
I1023 09:56:54.412629 22626 sti.go:573] Using image name sti_test/sti-fake
I1023 09:56:54.415266 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:56:54.415378 22626 environment.go:41] Setting 1 environment variables provided by environment file in sources
I1023 09:56:54.415551 22626 sti.go:691] starting the source uploading ...
I1023 09:56:54.415620 22626 tar.go:217] Adding "/tmp/s2i256452314/upload" to tar ...
I1023 09:56:54.415935 22626 tar.go:312] Adding to tar: /tmp/s2i256452314/upload/scripts as scripts
I1023 09:56:54.419901 22626 docker.go:781] Both scripts and untarred source will be placed in '/tmp'
I1023 09:56:54.419992 22626 docker.go:949] Setting "/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble" command for container ...
I1023 09:56:54.420294 22626 docker.go:958] Creating container with options {Name:"s2i_sti_test_sti_fake_aa209b8e" Config:{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:true StdinOnce:true Env:[RACK_ENV=production] Cmd:[/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble] Healthcheck:<nil> ArgsEscaped:false Image:sti_test/sti-fake:latest Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} HostConfig:&{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode: PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] CapAdd:[] CapDrop:[] DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:67108864 Sysctls:map[] Runtime: ConsoleSize:[0 0] Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DiskQuota:0 KernelMemory:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:0 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[] Init:<nil>}} ...
I1023 09:56:54.783560 22626 docker.go:990] Attaching to container "af6855b6bc008729b537f8fd45538f750bd3e0b3cea7975754b700609eef3b03" ...
I1023 09:56:54.785098 22626 docker.go:1001] Starting container "af6855b6bc008729b537f8fd45538f750bd3e0b3cea7975754b700609eef3b03" ...
I1023 09:56:55.064345 22626 tar.go:312] Adding to tar: /tmp/s2i256452314/upload/scripts/assemble as scripts/assemble
I1023 09:56:55.064671 22626 tar.go:312] Adding to tar: /tmp/s2i256452314/upload/scripts/run as scripts/run
I1023 09:56:55.065068 22626 tar.go:312] Adding to tar: /tmp/s2i256452314/upload/scripts/save-artifacts as scripts/save-artifacts
I1023 09:56:55.065417 22626 tar.go:312] Adding to tar: /tmp/s2i256452314/upload/src as src
I1023 09:56:55.068556 22626 tar.go:312] Adding to tar: /tmp/s2i256452314/upload/src/.gitignore as src/.gitignore
I1023 09:56:55.068881 22626 tar.go:312] Adding to tar: /tmp/s2i256452314/upload/src/.s2i as src/.s2i
I1023 09:56:55.069268 22626 tar.go:312] Adding to tar: /tmp/s2i256452314/upload/src/.s2i/bin as src/.s2i/bin
I1023 09:56:55.069534 22626 tar.go:312] Adding to tar: /tmp/s2i256452314/upload/src/.s2i/bin/README as src/.s2i/bin/README
I1023 09:56:55.069839 22626 tar.go:312] Adding to tar: /tmp/s2i256452314/upload/src/.s2i/environment as src/.s2i/environment
I1023 09:56:55.070189 22626 tar.go:312] Adding to tar: /tmp/s2i256452314/upload/src/.travis.yml as src/.travis.yml
I1023 09:56:55.070521 22626 tar.go:312] Adding to tar: /tmp/s2i256452314/upload/src/Dockerfile as src/Dockerfile
I1023 09:56:55.070851 22626 tar.go:312] Adding to tar: /tmp/s2i256452314/upload/src/Gemfile as src/Gemfile
I1023 09:56:55.071219 22626 tar.go:312] Adding to tar: /tmp/s2i256452314/upload/src/Gemfile.lock as src/Gemfile.lock
I1023 09:56:55.071569 22626 tar.go:312] Adding to tar: /tmp/s2i256452314/upload/src/README.md as src/README.md
I1023 09:56:55.071888 22626 tar.go:312] Adding to tar: /tmp/s2i256452314/upload/src/Rakefile as src/Rakefile
I1023 09:56:55.072259 22626 tar.go:312] Adding to tar: /tmp/s2i256452314/upload/src/app.rb as src/app.rb
I1023 09:56:55.072597 22626 tar.go:312] Adding to tar: /tmp/s2i256452314/upload/src/config as src/config
I1023 09:56:55.072931 22626 tar.go:312] Adding to tar: /tmp/s2i256452314/upload/src/config/database.rb as src/config/database.rb
I1023 09:56:55.073295 22626 tar.go:312] Adding to tar: /tmp/s2i256452314/upload/src/config/database.yml as src/config/database.yml
I1023 09:56:55.073655 22626 tar.go:312] Adding to tar: /tmp/s2i256452314/upload/src/config.ru as src/config.ru
I1023 09:56:55.073995 22626 tar.go:312] Adding to tar: /tmp/s2i256452314/upload/src/db as src/db
I1023 09:56:55.074336 22626 tar.go:312] Adding to tar: /tmp/s2i256452314/upload/src/db/migrate as src/db/migrate
I1023 09:56:55.074656 22626 tar.go:312] Adding to tar: /tmp/s2i256452314/upload/src/db/migrate/20141102191902_create_key_pair.rb as src/db/migrate/20141102191902_create_key_pair.rb
I1023 09:56:55.074997 22626 tar.go:312] Adding to tar: /tmp/s2i256452314/upload/src/models.rb as src/models.rb
I1023 09:56:55.075367 22626 tar.go:312] Adding to tar: /tmp/s2i256452314/upload/src/run.sh as src/run.sh
I1023 09:56:55.075706 22626 tar.go:312] Adding to tar: /tmp/s2i256452314/upload/src/test as src/test
I1023 09:56:55.076072 22626 tar.go:312] Adding to tar: /tmp/s2i256452314/upload/src/test/sample_test.rb as src/test/sample_test.rb
I1023 09:56:55.076396 22626 tar.go:312] Adding to tar: /tmp/s2i256452314/upload/src/views as src/views
I1023 09:56:55.076738 22626 tar.go:312] Adding to tar: /tmp/s2i256452314/upload/src/views/main.erb as src/views/main.erb
I1023 09:56:55.124346 22626 docker.go:1032] Waiting for container "af6855b6bc008729b537f8fd45538f750bd3e0b3cea7975754b700609eef3b03" to stop ...
I1023 09:56:55.270839 22626 docker.go:1057] Invoking PostExecute function
I1023 09:56:55.270908 22626 postexecutorstep.go:68] Skipping step: store previous image
I1023 09:56:55.270937 22626 postexecutorstep.go:117] Executing step: commit image
I1023 09:56:55.273353 22626 postexecutorstep.go:522] Checking for new Labels to apply...
I1023 09:56:55.273411 22626 postexecutorstep.go:530] Creating the download path '/tmp/s2i256452314/metadata'
I1023 09:56:55.273556 22626 postexecutorstep.go:464] Downloading file "/tmp/.s2i/image_metadata.json"
I1023 09:56:55.424150 22626 tar.go:376] Creating directory /tmp/s2i256452314/metadata
I1023 09:56:55.424226 22626 tar.go:444] Creating /tmp/s2i256452314/metadata/image_metadata.json
I1023 09:56:55.424367 22626 tar.go:454] Extracting/writing /tmp/s2i256452314/metadata/image_metadata.json
I1023 09:56:55.424521 22626 tar.go:400] Done extracting tar stream
I1023 09:56:55.424633 22626 postexecutorstep.go:555] new Labels File contents :
{
"labels": [
{"testLabel": "testLabel_value"}
]
}
I1023 09:56:55.429173 22626 docker.go:1091] Committing container with dockerOpts: {Reference:test/sti-fake-app Comment: Author: Changes:[] Pause:false Config:0xc420342f00}, config: {Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[RACK_ENV=production] Cmd:[/tmp/scripts/run] Healthcheck:<nil> ArgsEscaped:false Image: Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[io.openshift.s2i.build.image:sti_test/sti-fake io.openshift.s2i.build.commit.author:Ben Parees <bparees@users.noreply.github.com> io.openshift.s2i.build.commit.id:7ccd3242c49c3868195ca9400a539fa611111096 io.openshift.s2i.build.commit.message:Merge pull request #71 from bparees/gemfile2 io.k8s.display-name:test/sti-fake-app io.openshift.s2i.scripts-url:http://127.0.0.1:23456/.s2i/bin io.openshift.s2i.build.commit.date:Fri Feb 9 18:24:07 2018 -0500 io.openshift.s2i.build.commit.ref:master io.openshift.s2i.build.source-location:https://github.com/openshift/ruby-hello-world testLabel:testLabel_value] StopSignal: StopTimeout:<nil> Shell:[]}
I1023 09:56:56.174911 22626 postexecutorstep.go:392] Executing step: report success
I1023 09:56:56.174962 22626 postexecutorstep.go:397] Successfully built test/sti-fake-app
I1023 09:56:56.174994 22626 postexecutorstep.go:93] Skipping step: remove previous image
I1023 09:56:56.175122 22626 docker.go:968] Removing container "af6855b6bc008729b537f8fd45538f750bd3e0b3cea7975754b700609eef3b03" ...
I1023 09:56:56.190253 22626 docker.go:978] Removed container "af6855b6bc008729b537f8fd45538f750bd3e0b3cea7975754b700609eef3b03"
I1023 09:56:56.190445 22626 cleanup.go:33] Removing temporary directory /tmp/s2i256452314
I1023 09:56:56.190486 22626 fs.go:302] Removing directory '/tmp/s2i256452314'
--- PASS: TestCleanBuild (3.50s)
=== RUN TestCleanBuildLabel
I1023 09:56:57.541266 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:56:57.547373 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:56:57.547434 22626 docker.go:718] Image sha256:a1f6bf1e1a111c7f8257166efaa9a161f42805b7e01b228abc4be86abf4f4b90 contains io.openshift.s2i.scripts-url set to "http://127.0.0.1:23456/.s2i/bin"
I1023 09:56:57.547505 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
I1023 09:56:57.547616 22626 sti.go:204] Preparing to build test/sti-fake-app
I1023 09:56:57.548047 22626 clone.go:36] Downloading "https://github.com/openshift/ruby-hello-world" ...
I1023 09:56:57.548109 22626 clone.go:40] Cloning sources into "/tmp/s2i892871452/upload/src"
I1023 09:56:57.760314 22626 clone.go:56] Checked out "HEAD"
I1023 09:56:57.784869 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:56:57.804064 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/assemble'
I1023 09:56:57.804192 22626 install.go:261] Using "assemble" installed from "http://127.0.0.1:23456/.s2i/bin/assemble"
I1023 09:56:57.805613 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/run'
I1023 09:56:57.805710 22626 install.go:261] Using "run" installed from "http://127.0.0.1:23456/.s2i/bin/run"
I1023 09:56:57.807084 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/save-artifacts'
I1023 09:56:57.807206 22626 install.go:261] Using "save-artifacts" installed from "http://127.0.0.1:23456/.s2i/bin/save-artifacts"
I1023 09:56:57.807288 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:56:57.807328 22626 sti.go:213] Clean build will be performed
I1023 09:56:57.807386 22626 sti.go:216] Performing source build from https://github.com/openshift/ruby-hello-world
I1023 09:56:57.807447 22626 sti.go:227] Running "assemble" in "test/sti-fake-app"
I1023 09:56:57.807487 22626 sti.go:573] Using image name sti_test/sti-fake
I1023 09:56:57.810065 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:56:57.810166 22626 environment.go:41] Setting 1 environment variables provided by environment file in sources
I1023 09:56:57.810327 22626 sti.go:691] starting the source uploading ...
I1023 09:56:57.810395 22626 tar.go:217] Adding "/tmp/s2i892871452/upload" to tar ...
I1023 09:56:57.810766 22626 tar.go:312] Adding to tar: /tmp/s2i892871452/upload/scripts as scripts
I1023 09:56:57.814691 22626 docker.go:781] Both scripts and untarred source will be placed in '/tmp'
I1023 09:56:57.814782 22626 docker.go:949] Setting "/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble" command for container ...
I1023 09:56:57.815117 22626 docker.go:958] Creating container with options {Name:"s2i_sti_test_sti_fake_700e0976" Config:{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:true StdinOnce:true Env:[RACK_ENV=production] Cmd:[/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble] Healthcheck:<nil> ArgsEscaped:false Image:sti_test/sti-fake:latest Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} HostConfig:&{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode: PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] CapAdd:[] CapDrop:[] DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:67108864 Sysctls:map[] Runtime: ConsoleSize:[0 0] Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DiskQuota:0 KernelMemory:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:0 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[] Init:<nil>}} ...
I1023 09:56:58.172698 22626 docker.go:990] Attaching to container "822ca919e857d15865fc152dbebfec345a66cd82efe0881452a3adbf67761068" ...
I1023 09:56:58.175712 22626 docker.go:1001] Starting container "822ca919e857d15865fc152dbebfec345a66cd82efe0881452a3adbf67761068" ...
I1023 09:56:58.465658 22626 tar.go:312] Adding to tar: /tmp/s2i892871452/upload/scripts/assemble as scripts/assemble
I1023 09:56:58.465970 22626 tar.go:312] Adding to tar: /tmp/s2i892871452/upload/scripts/run as scripts/run
I1023 09:56:58.466298 22626 tar.go:312] Adding to tar: /tmp/s2i892871452/upload/scripts/save-artifacts as scripts/save-artifacts
I1023 09:56:58.466603 22626 tar.go:312] Adding to tar: /tmp/s2i892871452/upload/src as src
I1023 09:56:58.469804 22626 tar.go:312] Adding to tar: /tmp/s2i892871452/upload/src/.gitignore as src/.gitignore
I1023 09:56:58.470106 22626 tar.go:312] Adding to tar: /tmp/s2i892871452/upload/src/.s2i as src/.s2i
I1023 09:56:58.470414 22626 tar.go:312] Adding to tar: /tmp/s2i892871452/upload/src/.s2i/bin as src/.s2i/bin
I1023 09:56:58.470680 22626 tar.go:312] Adding to tar: /tmp/s2i892871452/upload/src/.s2i/bin/README as src/.s2i/bin/README
I1023 09:56:58.470988 22626 tar.go:312] Adding to tar: /tmp/s2i892871452/upload/src/.s2i/environment as src/.s2i/environment
I1023 09:56:58.471957 22626 tar.go:312] Adding to tar: /tmp/s2i892871452/upload/src/.travis.yml as src/.travis.yml
I1023 09:56:58.472645 22626 tar.go:312] Adding to tar: /tmp/s2i892871452/upload/src/Dockerfile as src/Dockerfile
I1023 09:56:58.473042 22626 tar.go:312] Adding to tar: /tmp/s2i892871452/upload/src/Gemfile as src/Gemfile
I1023 09:56:58.473438 22626 tar.go:312] Adding to tar: /tmp/s2i892871452/upload/src/Gemfile.lock as src/Gemfile.lock
I1023 09:56:58.473832 22626 tar.go:312] Adding to tar: /tmp/s2i892871452/upload/src/README.md as src/README.md
I1023 09:56:58.474224 22626 tar.go:312] Adding to tar: /tmp/s2i892871452/upload/src/Rakefile as src/Rakefile
I1023 09:56:58.474598 22626 tar.go:312] Adding to tar: /tmp/s2i892871452/upload/src/app.rb as src/app.rb
I1023 09:56:58.474967 22626 tar.go:312] Adding to tar: /tmp/s2i892871452/upload/src/config as src/config
I1023 09:56:58.475366 22626 tar.go:312] Adding to tar: /tmp/s2i892871452/upload/src/config/database.rb as src/config/database.rb
I1023 09:56:58.475769 22626 tar.go:312] Adding to tar: /tmp/s2i892871452/upload/src/config/database.yml as src/config/database.yml
I1023 09:56:58.476191 22626 tar.go:312] Adding to tar: /tmp/s2i892871452/upload/src/config.ru as src/config.ru
I1023 09:56:58.476566 22626 tar.go:312] Adding to tar: /tmp/s2i892871452/upload/src/db as src/db
I1023 09:56:58.476914 22626 tar.go:312] Adding to tar: /tmp/s2i892871452/upload/src/db/migrate as src/db/migrate
I1023 09:56:58.477365 22626 tar.go:312] Adding to tar: /tmp/s2i892871452/upload/src/db/migrate/20141102191902_create_key_pair.rb as src/db/migrate/20141102191902_create_key_pair.rb
I1023 09:56:58.478104 22626 tar.go:312] Adding to tar: /tmp/s2i892871452/upload/src/models.rb as src/models.rb
I1023 09:56:58.478441 22626 tar.go:312] Adding to tar: /tmp/s2i892871452/upload/src/run.sh as src/run.sh
I1023 09:56:58.478761 22626 tar.go:312] Adding to tar: /tmp/s2i892871452/upload/src/test as src/test
I1023 09:56:58.479111 22626 tar.go:312] Adding to tar: /tmp/s2i892871452/upload/src/test/sample_test.rb as src/test/sample_test.rb
I1023 09:56:58.479426 22626 tar.go:312] Adding to tar: /tmp/s2i892871452/upload/src/views as src/views
I1023 09:56:58.479731 22626 tar.go:312] Adding to tar: /tmp/s2i892871452/upload/src/views/main.erb as src/views/main.erb
I1023 09:56:58.531301 22626 docker.go:1032] Waiting for container "822ca919e857d15865fc152dbebfec345a66cd82efe0881452a3adbf67761068" to stop ...
I1023 09:56:58.690800 22626 docker.go:1057] Invoking PostExecute function
I1023 09:56:58.690850 22626 postexecutorstep.go:68] Skipping step: store previous image
I1023 09:56:58.690877 22626 postexecutorstep.go:117] Executing step: commit image
I1023 09:56:58.693232 22626 postexecutorstep.go:522] Checking for new Labels to apply...
I1023 09:56:58.693289 22626 postexecutorstep.go:530] Creating the download path '/tmp/s2i892871452/metadata'
I1023 09:56:58.693435 22626 postexecutorstep.go:464] Downloading file "/tmp/.s2i/image_metadata.json"
I1023 09:56:58.848271 22626 tar.go:376] Creating directory /tmp/s2i892871452/metadata
I1023 09:56:58.848346 22626 tar.go:444] Creating /tmp/s2i892871452/metadata/image_metadata.json
I1023 09:56:58.848498 22626 tar.go:454] Extracting/writing /tmp/s2i892871452/metadata/image_metadata.json
I1023 09:56:58.848668 22626 tar.go:400] Done extracting tar stream
I1023 09:56:58.848798 22626 postexecutorstep.go:555] new Labels File contents :
{
"labels": [
{"testLabel": "testLabel_value"}
]
}
I1023 09:56:58.853348 22626 docker.go:1091] Committing container with dockerOpts: {Reference:test/sti-fake-app Comment: Author: Changes:[] Pause:false Config:0xc420343180}, config: {Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[RACK_ENV=production] Cmd:[/tmp/scripts/run] Healthcheck:<nil> ArgsEscaped:false Image: Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[io.openshift.s2i.build.commit.message:Merge pull request #71 from bparees/gemfile2 testLabel:testLabel_value io.openshift.s2i.scripts-url:http://127.0.0.1:23456/.s2i/bin io.openshift.s2i.build.commit.date:Fri Feb 9 18:24:07 2018 -0500 io.openshift.s2i.build.commit.id:7ccd3242c49c3868195ca9400a539fa611111096 io.openshift.s2i.build.source-location:https://github.com/openshift/ruby-hello-world io.k8s.display-name:test/sti-fake-app io.openshift.s2i.build.image:sti_test/sti-fake io.openshift.s2i.build.commit.author:Ben Parees <bparees@users.noreply.github.com> io.openshift.s2i.build.commit.ref:master] StopSignal: StopTimeout:<nil> Shell:[]}
I1023 09:56:59.487958 22626 postexecutorstep.go:392] Executing step: report success
I1023 09:56:59.488010 22626 postexecutorstep.go:397] Successfully built test/sti-fake-app
I1023 09:56:59.488056 22626 postexecutorstep.go:93] Skipping step: remove previous image
I1023 09:56:59.488146 22626 docker.go:968] Removing container "822ca919e857d15865fc152dbebfec345a66cd82efe0881452a3adbf67761068" ...
I1023 09:56:59.503273 22626 docker.go:978] Removed container "822ca919e857d15865fc152dbebfec345a66cd82efe0881452a3adbf67761068"
I1023 09:56:59.503449 22626 cleanup.go:33] Removing temporary directory /tmp/s2i892871452
I1023 09:56:59.503487 22626 fs.go:302] Removing directory '/tmp/s2i892871452'
--- PASS: TestCleanBuildLabel (3.35s)
=== RUN TestCleanBuildUser
I1023 09:57:00.890553 22626 docker.go:487] Using locally available image "sti_test/sti-fake-user:latest"
I1023 09:57:00.896706 22626 docker.go:487] Using locally available image "sti_test/sti-fake-user:latest"
I1023 09:57:00.896769 22626 docker.go:718] Image sha256:f871a1d6f2760df2ba5e16a50167560b6a2186e4f5aa884fa2590ea69faa3677 contains io.openshift.s2i.scripts-url set to "http://127.0.0.1:23456/.s2i/bin"
I1023 09:57:00.896838 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
I1023 09:57:00.896947 22626 sti.go:204] Preparing to build test/sti-fake-app-user
I1023 09:57:00.897395 22626 clone.go:36] Downloading "https://github.com/openshift/ruby-hello-world" ...
I1023 09:57:00.897446 22626 clone.go:40] Cloning sources into "/tmp/s2i165194414/upload/src"
I1023 09:57:01.621791 22626 clone.go:56] Checked out "HEAD"
I1023 09:57:01.646025 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:57:01.666226 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/assemble'
I1023 09:57:01.666353 22626 install.go:261] Using "assemble" installed from "http://127.0.0.1:23456/.s2i/bin/assemble"
I1023 09:57:01.667759 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/run'
I1023 09:57:01.667872 22626 install.go:261] Using "run" installed from "http://127.0.0.1:23456/.s2i/bin/run"
I1023 09:57:01.669296 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/save-artifacts'
I1023 09:57:01.669396 22626 install.go:261] Using "save-artifacts" installed from "http://127.0.0.1:23456/.s2i/bin/save-artifacts"
I1023 09:57:01.669448 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:57:01.669483 22626 sti.go:213] Clean build will be performed
I1023 09:57:01.669517 22626 sti.go:216] Performing source build from https://github.com/openshift/ruby-hello-world
I1023 09:57:01.669546 22626 sti.go:227] Running "assemble" in "test/sti-fake-app-user"
I1023 09:57:01.669567 22626 sti.go:573] Using image name sti_test/sti-fake-user
I1023 09:57:01.672092 22626 docker.go:487] Using locally available image "sti_test/sti-fake-user:latest"
I1023 09:57:01.672193 22626 environment.go:41] Setting 1 environment variables provided by environment file in sources
I1023 09:57:01.672555 22626 sti.go:691] starting the source uploading ...
I1023 09:57:01.672629 22626 tar.go:217] Adding "/tmp/s2i165194414/upload" to tar ...
I1023 09:57:01.672914 22626 tar.go:312] Adding to tar: /tmp/s2i165194414/upload/scripts as scripts
I1023 09:57:01.676985 22626 docker.go:781] Both scripts and untarred source will be placed in '/tmp'
I1023 09:57:01.677092 22626 docker.go:949] Setting "/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble" command for container ...
I1023 09:57:01.677396 22626 docker.go:958] Creating container with options {Name:"s2i_sti_test_sti_fake_user_6cb50b02" Config:{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:true StdinOnce:true Env:[RACK_ENV=production] Cmd:[/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble] Healthcheck:<nil> ArgsEscaped:false Image:sti_test/sti-fake-user:latest Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} HostConfig:&{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode: PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] CapAdd:[] CapDrop:[] DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:67108864 Sysctls:map[] Runtime: ConsoleSize:[0 0] Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DiskQuota:0 KernelMemory:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:0 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[] Init:<nil>}} ...
I1023 09:57:02.055516 22626 docker.go:990] Attaching to container "97ed2478452d093f427d8a821925c75798a7011c72087408a2bbc9c15d3c694f" ...
I1023 09:57:02.057316 22626 docker.go:1001] Starting container "97ed2478452d093f427d8a821925c75798a7011c72087408a2bbc9c15d3c694f" ...
I1023 09:57:02.348211 22626 tar.go:312] Adding to tar: /tmp/s2i165194414/upload/scripts/assemble as scripts/assemble
I1023 09:57:02.348592 22626 tar.go:312] Adding to tar: /tmp/s2i165194414/upload/scripts/run as scripts/run
I1023 09:57:02.348997 22626 tar.go:312] Adding to tar: /tmp/s2i165194414/upload/scripts/save-artifacts as scripts/save-artifacts
I1023 09:57:02.349366 22626 tar.go:312] Adding to tar: /tmp/s2i165194414/upload/src as src
I1023 09:57:02.352971 22626 tar.go:312] Adding to tar: /tmp/s2i165194414/upload/src/.gitignore as src/.gitignore
I1023 09:57:02.353282 22626 tar.go:312] Adding to tar: /tmp/s2i165194414/upload/src/.s2i as src/.s2i
I1023 09:57:02.353617 22626 tar.go:312] Adding to tar: /tmp/s2i165194414/upload/src/.s2i/bin as src/.s2i/bin
I1023 09:57:02.353935 22626 tar.go:312] Adding to tar: /tmp/s2i165194414/upload/src/.s2i/bin/README as src/.s2i/bin/README
I1023 09:57:02.354244 22626 tar.go:312] Adding to tar: /tmp/s2i165194414/upload/src/.s2i/environment as src/.s2i/environment
I1023 09:57:02.354600 22626 tar.go:312] Adding to tar: /tmp/s2i165194414/upload/src/.travis.yml as src/.travis.yml
I1023 09:57:02.358744 22626 tar.go:312] Adding to tar: /tmp/s2i165194414/upload/src/Dockerfile as src/Dockerfile
I1023 09:57:02.359150 22626 tar.go:312] Adding to tar: /tmp/s2i165194414/upload/src/Gemfile as src/Gemfile
I1023 09:57:02.359499 22626 tar.go:312] Adding to tar: /tmp/s2i165194414/upload/src/Gemfile.lock as src/Gemfile.lock
I1023 09:57:02.359840 22626 tar.go:312] Adding to tar: /tmp/s2i165194414/upload/src/README.md as src/README.md
I1023 09:57:02.360298 22626 tar.go:312] Adding to tar: /tmp/s2i165194414/upload/src/Rakefile as src/Rakefile
I1023 09:57:02.360965 22626 tar.go:312] Adding to tar: /tmp/s2i165194414/upload/src/app.rb as src/app.rb
I1023 09:57:02.361289 22626 tar.go:312] Adding to tar: /tmp/s2i165194414/upload/src/config as src/config
I1023 09:57:02.361568 22626 tar.go:312] Adding to tar: /tmp/s2i165194414/upload/src/config/database.rb as src/config/database.rb
I1023 09:57:02.361853 22626 tar.go:312] Adding to tar: /tmp/s2i165194414/upload/src/config/database.yml as src/config/database.yml
I1023 09:57:02.362138 22626 tar.go:312] Adding to tar: /tmp/s2i165194414/upload/src/config.ru as src/config.ru
I1023 09:57:02.362384 22626 tar.go:312] Adding to tar: /tmp/s2i165194414/upload/src/db as src/db
I1023 09:57:02.362635 22626 tar.go:312] Adding to tar: /tmp/s2i165194414/upload/src/db/migrate as src/db/migrate
I1023 09:57:02.362930 22626 tar.go:312] Adding to tar: /tmp/s2i165194414/upload/src/db/migrate/20141102191902_create_key_pair.rb as src/db/migrate/20141102191902_create_key_pair.rb
I1023 09:57:02.363252 22626 tar.go:312] Adding to tar: /tmp/s2i165194414/upload/src/models.rb as src/models.rb
I1023 09:57:02.363578 22626 tar.go:312] Adding to tar: /tmp/s2i165194414/upload/src/run.sh as src/run.sh
I1023 09:57:02.363932 22626 tar.go:312] Adding to tar: /tmp/s2i165194414/upload/src/test as src/test
I1023 09:57:02.364269 22626 tar.go:312] Adding to tar: /tmp/s2i165194414/upload/src/test/sample_test.rb as src/test/sample_test.rb
I1023 09:57:02.364576 22626 tar.go:312] Adding to tar: /tmp/s2i165194414/upload/src/views as src/views
I1023 09:57:02.364847 22626 tar.go:312] Adding to tar: /tmp/s2i165194414/upload/src/views/main.erb as src/views/main.erb
I1023 09:57:02.423044 22626 docker.go:1032] Waiting for container "97ed2478452d093f427d8a821925c75798a7011c72087408a2bbc9c15d3c694f" to stop ...
I1023 09:57:02.576525 22626 docker.go:1057] Invoking PostExecute function
I1023 09:57:02.576584 22626 postexecutorstep.go:68] Skipping step: store previous image
I1023 09:57:02.576612 22626 postexecutorstep.go:117] Executing step: commit image
I1023 09:57:02.578945 22626 postexecutorstep.go:522] Checking for new Labels to apply...
I1023 09:57:02.579003 22626 postexecutorstep.go:530] Creating the download path '/tmp/s2i165194414/metadata'
I1023 09:57:02.579154 22626 postexecutorstep.go:464] Downloading file "/tmp/.s2i/image_metadata.json"
I1023 09:57:02.731150 22626 tar.go:376] Creating directory /tmp/s2i165194414/metadata
I1023 09:57:02.731229 22626 tar.go:444] Creating /tmp/s2i165194414/metadata/image_metadata.json
I1023 09:57:02.731389 22626 tar.go:454] Extracting/writing /tmp/s2i165194414/metadata/image_metadata.json
I1023 09:57:02.731548 22626 tar.go:400] Done extracting tar stream
I1023 09:57:02.731669 22626 postexecutorstep.go:555] new Labels File contents :
{
"labels": [
{"testLabel": "testLabel_value"}
]
}
I1023 09:57:02.736302 22626 docker.go:1091] Committing container with dockerOpts: {Reference:test/sti-fake-app-user Comment: Author: Changes:[] Pause:false Config:0xc420342f00}, config: {Hostname: Domainname: User:fakeuser AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[RACK_ENV=production] Cmd:[/tmp/scripts/run] Healthcheck:<nil> ArgsEscaped:false Image: Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[io.openshift.s2i.build.commit.author:Ben Parees <bparees@users.noreply.github.com> io.openshift.s2i.build.commit.date:Fri Feb 9 18:24:07 2018 -0500 io.openshift.s2i.build.commit.id:7ccd3242c49c3868195ca9400a539fa611111096 testLabel:testLabel_value io.openshift.s2i.build.source-location:https://github.com/openshift/ruby-hello-world io.k8s.display-name:test/sti-fake-app-user io.openshift.s2i.build.image:sti_test/sti-fake-user io.openshift.s2i.build.commit.ref:master io.openshift.s2i.build.commit.message:Merge pull request #71 from bparees/gemfile2 io.openshift.s2i.scripts-url:http://127.0.0.1:23456/.s2i/bin] StopSignal: StopTimeout:<nil> Shell:[]}
I1023 09:57:03.494942 22626 postexecutorstep.go:392] Executing step: report success
I1023 09:57:03.495613 22626 postexecutorstep.go:397] Successfully built test/sti-fake-app-user
I1023 09:57:03.495645 22626 postexecutorstep.go:93] Skipping step: remove previous image
I1023 09:57:03.496323 22626 docker.go:968] Removing container "97ed2478452d093f427d8a821925c75798a7011c72087408a2bbc9c15d3c694f" ...
I1023 09:57:03.511576 22626 docker.go:978] Removed container "97ed2478452d093f427d8a821925c75798a7011c72087408a2bbc9c15d3c694f"
I1023 09:57:03.511779 22626 cleanup.go:33] Removing temporary directory /tmp/s2i165194414
I1023 09:57:03.511816 22626 fs.go:302] Removing directory '/tmp/s2i165194414'
--- PASS: TestCleanBuildUser (4.18s)
=== RUN TestCleanBuildFileScriptsURL
I1023 09:57:05.073623 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:57:05.079693 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:57:05.079753 22626 docker.go:718] Image sha256:a1f6bf1e1a111c7f8257166efaa9a161f42805b7e01b228abc4be86abf4f4b90 contains io.openshift.s2i.scripts-url set to "http://127.0.0.1:23456/.s2i/bin"
I1023 09:57:05.079828 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
I1023 09:57:05.079943 22626 sti.go:204] Preparing to build test/sti-fake-app
I1023 09:57:05.080427 22626 clone.go:36] Downloading "https://github.com/openshift/ruby-hello-world" ...
I1023 09:57:05.080478 22626 clone.go:40] Cloning sources into "/tmp/s2i330717712/upload/src"
I1023 09:57:06.953000 22626 clone.go:56] Checked out "HEAD"
I1023 09:57:06.977012 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:57:06.995146 22626 download.go:77] Downloaded 'file:///data/src/github.com/openshift/source-to-image/_output/local/go/src/github.com/openshift/source-to-image/test/integration/scripts/.s2i/bin/assemble'
I1023 09:57:06.995312 22626 install.go:261] Using "assemble" installed from "file:///data/src/github.com/openshift/source-to-image/_output/local/go/src/github.com/openshift/source-to-image/test/integration/scripts/.s2i/bin/assemble"
I1023 09:57:06.995525 22626 download.go:77] Downloaded 'file:///data/src/github.com/openshift/source-to-image/_output/local/go/src/github.com/openshift/source-to-image/test/integration/scripts/.s2i/bin/run'
I1023 09:57:06.995651 22626 install.go:261] Using "run" installed from "file:///data/src/github.com/openshift/source-to-image/_output/local/go/src/github.com/openshift/source-to-image/test/integration/scripts/.s2i/bin/run"
I1023 09:57:06.995867 22626 download.go:77] Downloaded 'file:///data/src/github.com/openshift/source-to-image/_output/local/go/src/github.com/openshift/source-to-image/test/integration/scripts/.s2i/bin/save-artifacts'
I1023 09:57:06.996006 22626 install.go:261] Using "save-artifacts" installed from "file:///data/src/github.com/openshift/source-to-image/_output/local/go/src/github.com/openshift/source-to-image/test/integration/scripts/.s2i/bin/save-artifacts"
I1023 09:57:06.996097 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:57:06.996138 22626 sti.go:213] Clean build will be performed
I1023 09:57:06.996187 22626 sti.go:216] Performing source build from https://github.com/openshift/ruby-hello-world
I1023 09:57:06.996245 22626 sti.go:227] Running "assemble" in "test/sti-fake-app"
I1023 09:57:06.996285 22626 sti.go:573] Using image name sti_test/sti-fake
I1023 09:57:06.999092 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:57:06.999196 22626 environment.go:41] Setting 1 environment variables provided by environment file in sources
I1023 09:57:06.999410 22626 sti.go:691] starting the source uploading ...
I1023 09:57:06.999477 22626 tar.go:217] Adding "/tmp/s2i330717712/upload" to tar ...
I1023 09:57:06.999809 22626 tar.go:312] Adding to tar: /tmp/s2i330717712/upload/scripts as scripts
I1023 09:57:07.003985 22626 docker.go:781] Both scripts and untarred source will be placed in '/tmp'
I1023 09:57:07.004091 22626 docker.go:949] Setting "/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble" command for container ...
I1023 09:57:07.004409 22626 docker.go:958] Creating container with options {Name:"s2i_sti_test_sti_fake_afd3a30c" Config:{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:true StdinOnce:true Env:[RACK_ENV=production] Cmd:[/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble] Healthcheck:<nil> ArgsEscaped:false Image:sti_test/sti-fake:latest Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} HostConfig:&{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode: PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] CapAdd:[] CapDrop:[] DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:67108864 Sysctls:map[] Runtime: ConsoleSize:[0 0] Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DiskQuota:0 KernelMemory:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:0 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[] Init:<nil>}} ...
I1023 09:57:07.379718 22626 docker.go:990] Attaching to container "e97267d5a63f201299c00e585106c827dfc70a84a4a93f035fe8171b75a3af57" ...
I1023 09:57:07.381197 22626 docker.go:1001] Starting container "e97267d5a63f201299c00e585106c827dfc70a84a4a93f035fe8171b75a3af57" ...
I1023 09:57:07.863307 22626 tar.go:312] Adding to tar: /tmp/s2i330717712/upload/scripts/assemble as scripts/assemble
I1023 09:57:07.864069 22626 tar.go:312] Adding to tar: /tmp/s2i330717712/upload/scripts/run as scripts/run
I1023 09:57:07.864505 22626 tar.go:312] Adding to tar: /tmp/s2i330717712/upload/scripts/save-artifacts as scripts/save-artifacts
I1023 09:57:07.864873 22626 tar.go:312] Adding to tar: /tmp/s2i330717712/upload/src as src
I1023 09:57:07.870537 22626 tar.go:312] Adding to tar: /tmp/s2i330717712/upload/src/.gitignore as src/.gitignore
I1023 09:57:07.870953 22626 tar.go:312] Adding to tar: /tmp/s2i330717712/upload/src/.s2i as src/.s2i
I1023 09:57:07.871270 22626 tar.go:312] Adding to tar: /tmp/s2i330717712/upload/src/.s2i/bin as src/.s2i/bin
I1023 09:57:07.871550 22626 tar.go:312] Adding to tar: /tmp/s2i330717712/upload/src/.s2i/bin/README as src/.s2i/bin/README
I1023 09:57:07.871889 22626 tar.go:312] Adding to tar: /tmp/s2i330717712/upload/src/.s2i/environment as src/.s2i/environment
I1023 09:57:07.872290 22626 tar.go:312] Adding to tar: /tmp/s2i330717712/upload/src/.travis.yml as src/.travis.yml
I1023 09:57:07.872629 22626 tar.go:312] Adding to tar: /tmp/s2i330717712/upload/src/Dockerfile as src/Dockerfile
I1023 09:57:07.872955 22626 tar.go:312] Adding to tar: /tmp/s2i330717712/upload/src/Gemfile as src/Gemfile
I1023 09:57:07.873279 22626 tar.go:312] Adding to tar: /tmp/s2i330717712/upload/src/Gemfile.lock as src/Gemfile.lock
I1023 09:57:07.873591 22626 tar.go:312] Adding to tar: /tmp/s2i330717712/upload/src/README.md as src/README.md
I1023 09:57:07.873928 22626 tar.go:312] Adding to tar: /tmp/s2i330717712/upload/src/Rakefile as src/Rakefile
I1023 09:57:07.874258 22626 tar.go:312] Adding to tar: /tmp/s2i330717712/upload/src/app.rb as src/app.rb
I1023 09:57:07.874596 22626 tar.go:312] Adding to tar: /tmp/s2i330717712/upload/src/config as src/config
I1023 09:57:07.874882 22626 tar.go:312] Adding to tar: /tmp/s2i330717712/upload/src/config/database.rb as src/config/database.rb
I1023 09:57:07.875226 22626 tar.go:312] Adding to tar: /tmp/s2i330717712/upload/src/config/database.yml as src/config/database.yml
I1023 09:57:07.875555 22626 tar.go:312] Adding to tar: /tmp/s2i330717712/upload/src/config.ru as src/config.ru
I1023 09:57:07.875892 22626 tar.go:312] Adding to tar: /tmp/s2i330717712/upload/src/db as src/db
I1023 09:57:07.876167 22626 tar.go:312] Adding to tar: /tmp/s2i330717712/upload/src/db/migrate as src/db/migrate
I1023 09:57:07.876498 22626 tar.go:312] Adding to tar: /tmp/s2i330717712/upload/src/db/migrate/20141102191902_create_key_pair.rb as src/db/migrate/20141102191902_create_key_pair.rb
I1023 09:57:07.876794 22626 tar.go:312] Adding to tar: /tmp/s2i330717712/upload/src/models.rb as src/models.rb
I1023 09:57:07.877131 22626 tar.go:312] Adding to tar: /tmp/s2i330717712/upload/src/run.sh as src/run.sh
I1023 09:57:07.877411 22626 tar.go:312] Adding to tar: /tmp/s2i330717712/upload/src/test as src/test
I1023 09:57:07.877714 22626 tar.go:312] Adding to tar: /tmp/s2i330717712/upload/src/test/sample_test.rb as src/test/sample_test.rb
I1023 09:57:07.878002 22626 tar.go:312] Adding to tar: /tmp/s2i330717712/upload/src/views as src/views
I1023 09:57:07.878301 22626 tar.go:312] Adding to tar: /tmp/s2i330717712/upload/src/views/main.erb as src/views/main.erb
I1023 09:57:07.934203 22626 docker.go:1032] Waiting for container "e97267d5a63f201299c00e585106c827dfc70a84a4a93f035fe8171b75a3af57" to stop ...
I1023 09:57:08.086403 22626 docker.go:1057] Invoking PostExecute function
I1023 09:57:08.086470 22626 postexecutorstep.go:68] Skipping step: store previous image
I1023 09:57:08.086498 22626 postexecutorstep.go:117] Executing step: commit image
I1023 09:57:08.088897 22626 postexecutorstep.go:522] Checking for new Labels to apply...
I1023 09:57:08.088955 22626 postexecutorstep.go:530] Creating the download path '/tmp/s2i330717712/metadata'
I1023 09:57:08.089117 22626 postexecutorstep.go:464] Downloading file "/tmp/.s2i/image_metadata.json"
I1023 09:57:08.247176 22626 tar.go:376] Creating directory /tmp/s2i330717712/metadata
I1023 09:57:08.247257 22626 tar.go:444] Creating /tmp/s2i330717712/metadata/image_metadata.json
I1023 09:57:08.247428 22626 tar.go:454] Extracting/writing /tmp/s2i330717712/metadata/image_metadata.json
I1023 09:57:08.247592 22626 tar.go:400] Done extracting tar stream
I1023 09:57:08.247735 22626 postexecutorstep.go:555] new Labels File contents :
{
"labels": [
{"testLabel": "testLabel_value"}
]
}
I1023 09:57:08.252317 22626 docker.go:1091] Committing container with dockerOpts: {Reference:test/sti-fake-app Comment: Author: Changes:[] Pause:false Config:0xc42022e280}, config: {Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[RACK_ENV=production] Cmd:[/tmp/scripts/run] Healthcheck:<nil> ArgsEscaped:false Image: Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[io.openshift.s2i.build.commit.message:Merge pull request #71 from bparees/gemfile2 io.openshift.s2i.build.source-location:https://github.com/openshift/ruby-hello-world testLabel:testLabel_value io.openshift.s2i.scripts-url:http://127.0.0.1:23456/.s2i/bin io.openshift.s2i.build.commit.author:Ben Parees <bparees@users.noreply.github.com> io.openshift.s2i.build.commit.id:7ccd3242c49c3868195ca9400a539fa611111096 io.openshift.s2i.build.commit.ref:master io.openshift.s2i.build.image:sti_test/sti-fake io.openshift.s2i.build.commit.date:Fri Feb 9 18:24:07 2018 -0500 io.k8s.display-name:test/sti-fake-app] StopSignal: StopTimeout:<nil> Shell:[]}
I1023 09:57:08.904964 22626 postexecutorstep.go:392] Executing step: report success
I1023 09:57:08.905024 22626 postexecutorstep.go:397] Successfully built test/sti-fake-app
I1023 09:57:08.905056 22626 postexecutorstep.go:93] Skipping step: remove previous image
I1023 09:57:08.905163 22626 docker.go:968] Removing container "e97267d5a63f201299c00e585106c827dfc70a84a4a93f035fe8171b75a3af57" ...
I1023 09:57:08.920361 22626 docker.go:978] Removed container "e97267d5a63f201299c00e585106c827dfc70a84a4a93f035fe8171b75a3af57"
I1023 09:57:08.920553 22626 cleanup.go:33] Removing temporary directory /tmp/s2i330717712
I1023 09:57:08.920592 22626 fs.go:302] Removing directory '/tmp/s2i330717712'
--- PASS: TestCleanBuildFileScriptsURL (5.18s)
=== RUN TestCleanBuildHttpScriptsURL
I1023 09:57:10.258165 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:57:10.264346 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:57:10.264401 22626 docker.go:718] Image sha256:a1f6bf1e1a111c7f8257166efaa9a161f42805b7e01b228abc4be86abf4f4b90 contains io.openshift.s2i.scripts-url set to "http://127.0.0.1:23456/.s2i/bin"
I1023 09:57:10.264440 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
I1023 09:57:10.264515 22626 sti.go:204] Preparing to build test/sti-fake-app
I1023 09:57:10.264951 22626 clone.go:36] Downloading "https://github.com/openshift/ruby-hello-world" ...
I1023 09:57:10.264987 22626 clone.go:40] Cloning sources into "/tmp/s2i944415170/upload/src"
I1023 09:57:11.058513 22626 clone.go:56] Checked out "HEAD"
I1023 09:57:11.083927 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:57:11.104660 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/assemble'
I1023 09:57:11.104776 22626 install.go:261] Using "assemble" installed from "http://127.0.0.1:23456/.s2i/bin/assemble"
I1023 09:57:11.106301 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/run'
I1023 09:57:11.106412 22626 install.go:261] Using "run" installed from "http://127.0.0.1:23456/.s2i/bin/run"
I1023 09:57:11.107735 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/save-artifacts'
I1023 09:57:11.107839 22626 install.go:261] Using "save-artifacts" installed from "http://127.0.0.1:23456/.s2i/bin/save-artifacts"
I1023 09:57:11.107893 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:57:11.107918 22626 sti.go:213] Clean build will be performed
I1023 09:57:11.107961 22626 sti.go:216] Performing source build from https://github.com/openshift/ruby-hello-world
I1023 09:57:11.107995 22626 sti.go:227] Running "assemble" in "test/sti-fake-app"
I1023 09:57:11.108036 22626 sti.go:573] Using image name sti_test/sti-fake
I1023 09:57:11.110620 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:57:11.110728 22626 environment.go:41] Setting 1 environment variables provided by environment file in sources
I1023 09:57:11.111097 22626 sti.go:691] starting the source uploading ...
I1023 09:57:11.111171 22626 tar.go:217] Adding "/tmp/s2i944415170/upload" to tar ...
I1023 09:57:11.111431 22626 tar.go:312] Adding to tar: /tmp/s2i944415170/upload/scripts as scripts
I1023 09:57:11.119668 22626 docker.go:781] Both scripts and untarred source will be placed in '/tmp'
I1023 09:57:11.119760 22626 docker.go:949] Setting "/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble" command for container ...
I1023 09:57:11.120097 22626 docker.go:958] Creating container with options {Name:"s2i_sti_test_sti_fake_10cd9672" Config:{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:true StdinOnce:true Env:[RACK_ENV=production] Cmd:[/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble] Healthcheck:<nil> ArgsEscaped:false Image:sti_test/sti-fake:latest Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} HostConfig:&{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode: PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] CapAdd:[] CapDrop:[] DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:67108864 Sysctls:map[] Runtime: ConsoleSize:[0 0] Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DiskQuota:0 KernelMemory:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:0 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[] Init:<nil>}} ...
I1023 09:57:11.513618 22626 docker.go:990] Attaching to container "1325671900ee504638fd8fab8fff3768ce568760def538077c045b85ec6f7736" ...
I1023 09:57:11.514931 22626 docker.go:1001] Starting container "1325671900ee504638fd8fab8fff3768ce568760def538077c045b85ec6f7736" ...
I1023 09:57:11.817860 22626 tar.go:312] Adding to tar: /tmp/s2i944415170/upload/scripts/assemble as scripts/assemble
I1023 09:57:11.818220 22626 tar.go:312] Adding to tar: /tmp/s2i944415170/upload/scripts/run as scripts/run
I1023 09:57:11.818605 22626 tar.go:312] Adding to tar: /tmp/s2i944415170/upload/scripts/save-artifacts as scripts/save-artifacts
I1023 09:57:11.818966 22626 tar.go:312] Adding to tar: /tmp/s2i944415170/upload/src as src
I1023 09:57:11.822415 22626 tar.go:312] Adding to tar: /tmp/s2i944415170/upload/src/.gitignore as src/.gitignore
I1023 09:57:11.822673 22626 tar.go:312] Adding to tar: /tmp/s2i944415170/upload/src/.s2i as src/.s2i
I1023 09:57:11.822978 22626 tar.go:312] Adding to tar: /tmp/s2i944415170/upload/src/.s2i/bin as src/.s2i/bin
I1023 09:57:11.823292 22626 tar.go:312] Adding to tar: /tmp/s2i944415170/upload/src/.s2i/bin/README as src/.s2i/bin/README
I1023 09:57:11.823574 22626 tar.go:312] Adding to tar: /tmp/s2i944415170/upload/src/.s2i/environment as src/.s2i/environment
I1023 09:57:11.823926 22626 tar.go:312] Adding to tar: /tmp/s2i944415170/upload/src/.travis.yml as src/.travis.yml
I1023 09:57:11.824306 22626 tar.go:312] Adding to tar: /tmp/s2i944415170/upload/src/Dockerfile as src/Dockerfile
I1023 09:57:11.824651 22626 tar.go:312] Adding to tar: /tmp/s2i944415170/upload/src/Gemfile as src/Gemfile
I1023 09:57:11.824951 22626 tar.go:312] Adding to tar: /tmp/s2i944415170/upload/src/Gemfile.lock as src/Gemfile.lock
I1023 09:57:11.825285 22626 tar.go:312] Adding to tar: /tmp/s2i944415170/upload/src/README.md as src/README.md
I1023 09:57:11.825616 22626 tar.go:312] Adding to tar: /tmp/s2i944415170/upload/src/Rakefile as src/Rakefile
I1023 09:57:11.825988 22626 tar.go:312] Adding to tar: /tmp/s2i944415170/upload/src/app.rb as src/app.rb
I1023 09:57:11.826286 22626 tar.go:312] Adding to tar: /tmp/s2i944415170/upload/src/config as src/config
I1023 09:57:11.826540 22626 tar.go:312] Adding to tar: /tmp/s2i944415170/upload/src/config/database.rb as src/config/database.rb
I1023 09:57:11.826836 22626 tar.go:312] Adding to tar: /tmp/s2i944415170/upload/src/config/database.yml as src/config/database.yml
I1023 09:57:11.827226 22626 tar.go:312] Adding to tar: /tmp/s2i944415170/upload/src/config.ru as src/config.ru
I1023 09:57:11.827478 22626 tar.go:312] Adding to tar: /tmp/s2i944415170/upload/src/db as src/db
I1023 09:57:11.827777 22626 tar.go:312] Adding to tar: /tmp/s2i944415170/upload/src/db/migrate as src/db/migrate
I1023 09:57:11.828142 22626 tar.go:312] Adding to tar: /tmp/s2i944415170/upload/src/db/migrate/20141102191902_create_key_pair.rb as src/db/migrate/20141102191902_create_key_pair.rb
I1023 09:57:11.828436 22626 tar.go:312] Adding to tar: /tmp/s2i944415170/upload/src/models.rb as src/models.rb
I1023 09:57:11.828779 22626 tar.go:312] Adding to tar: /tmp/s2i944415170/upload/src/run.sh as src/run.sh
I1023 09:57:11.829133 22626 tar.go:312] Adding to tar: /tmp/s2i944415170/upload/src/test as src/test
I1023 09:57:11.829443 22626 tar.go:312] Adding to tar: /tmp/s2i944415170/upload/src/test/sample_test.rb as src/test/sample_test.rb
I1023 09:57:11.829751 22626 tar.go:312] Adding to tar: /tmp/s2i944415170/upload/src/views as src/views
I1023 09:57:11.830042 22626 tar.go:312] Adding to tar: /tmp/s2i944415170/upload/src/views/main.erb as src/views/main.erb
I1023 09:57:11.877289 22626 docker.go:1032] Waiting for container "1325671900ee504638fd8fab8fff3768ce568760def538077c045b85ec6f7736" to stop ...
I1023 09:57:12.035827 22626 docker.go:1057] Invoking PostExecute function
I1023 09:57:12.035876 22626 postexecutorstep.go:68] Skipping step: store previous image
I1023 09:57:12.035903 22626 postexecutorstep.go:117] Executing step: commit image
I1023 09:57:12.038298 22626 postexecutorstep.go:522] Checking for new Labels to apply...
I1023 09:57:12.038356 22626 postexecutorstep.go:530] Creating the download path '/tmp/s2i944415170/metadata'
I1023 09:57:12.038513 22626 postexecutorstep.go:464] Downloading file "/tmp/.s2i/image_metadata.json"
I1023 09:57:12.199164 22626 tar.go:376] Creating directory /tmp/s2i944415170/metadata
I1023 09:57:12.199242 22626 tar.go:444] Creating /tmp/s2i944415170/metadata/image_metadata.json
I1023 09:57:12.199412 22626 tar.go:454] Extracting/writing /tmp/s2i944415170/metadata/image_metadata.json
I1023 09:57:12.199573 22626 tar.go:400] Done extracting tar stream
I1023 09:57:12.199730 22626 postexecutorstep.go:555] new Labels File contents :
{
"labels": [
{"testLabel": "testLabel_value"}
]
}
I1023 09:57:12.204434 22626 docker.go:1091] Committing container with dockerOpts: {Reference:test/sti-fake-app Comment: Author: Changes:[] Pause:false Config:0xc420343540}, config: {Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[RACK_ENV=production] Cmd:[/tmp/scripts/run] Healthcheck:<nil> ArgsEscaped:false Image: Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[io.openshift.s2i.build.commit.ref:master io.k8s.display-name:test/sti-fake-app io.openshift.s2i.build.image:sti_test/sti-fake testLabel:testLabel_value io.openshift.s2i.build.source-location:https://github.com/openshift/ruby-hello-world io.openshift.s2i.scripts-url:http://127.0.0.1:23456/.s2i/bin io.openshift.s2i.build.commit.author:Ben Parees <bparees@users.noreply.github.com> io.openshift.s2i.build.commit.date:Fri Feb 9 18:24:07 2018 -0500 io.openshift.s2i.build.commit.id:7ccd3242c49c3868195ca9400a539fa611111096 io.openshift.s2i.build.commit.message:Merge pull request #71 from bparees/gemfile2] StopSignal: StopTimeout:<nil> Shell:[]}
I1023 09:57:12.983911 22626 postexecutorstep.go:392] Executing step: report success
I1023 09:57:12.983971 22626 postexecutorstep.go:397] Successfully built test/sti-fake-app
I1023 09:57:12.984001 22626 postexecutorstep.go:93] Skipping step: remove previous image
I1023 09:57:12.984092 22626 docker.go:968] Removing container "1325671900ee504638fd8fab8fff3768ce568760def538077c045b85ec6f7736" ...
I1023 09:57:13.000061 22626 docker.go:978] Removed container "1325671900ee504638fd8fab8fff3768ce568760def538077c045b85ec6f7736"
I1023 09:57:13.000324 22626 cleanup.go:33] Removing temporary directory /tmp/s2i944415170
I1023 09:57:13.000362 22626 fs.go:302] Removing directory '/tmp/s2i944415170'
--- PASS: TestCleanBuildHttpScriptsURL (4.07s)
=== RUN TestCleanBuildScripts
I1023 09:57:14.323534 22626 docker.go:487] Using locally available image "sti_test/sti-fake-scripts:latest"
I1023 09:57:14.333993 22626 docker.go:487] Using locally available image "sti_test/sti-fake-scripts:latest"
I1023 09:57:14.334059 22626 docker.go:718] Image sha256:3954556774d2845c827ead615d0ef027a59c7181e6c72d0e82f38a2a9aa38eb1 contains io.openshift.s2i.scripts-url set to "image:///tmp/scripts/"
I1023 09:57:14.334097 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
I1023 09:57:14.334166 22626 sti.go:204] Preparing to build test/sti-fake-app-scripts
I1023 09:57:14.334579 22626 clone.go:36] Downloading "https://github.com/openshift/ruby-hello-world" ...
I1023 09:57:14.334616 22626 clone.go:40] Cloning sources into "/tmp/s2i022231620/upload/src"
I1023 09:57:14.680160 22626 clone.go:56] Checked out "HEAD"
I1023 09:57:14.704164 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:57:14.722126 22626 install.go:261] Using "assemble" installed from "image:///tmp/scripts//assemble"
I1023 09:57:14.722251 22626 install.go:261] Using "run" installed from "image:///tmp/scripts//run"
I1023 09:57:14.722351 22626 install.go:261] Using "save-artifacts" installed from "image:///tmp/scripts//save-artifacts"
I1023 09:57:14.722405 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:57:14.722432 22626 sti.go:213] Clean build will be performed
I1023 09:57:14.722474 22626 sti.go:216] Performing source build from https://github.com/openshift/ruby-hello-world
I1023 09:57:14.722504 22626 sti.go:227] Running "assemble" in "test/sti-fake-app-scripts"
I1023 09:57:14.722523 22626 sti.go:573] Using image name sti_test/sti-fake-scripts
I1023 09:57:14.725213 22626 docker.go:487] Using locally available image "sti_test/sti-fake-scripts:latest"
I1023 09:57:14.725319 22626 environment.go:41] Setting 1 environment variables provided by environment file in sources
I1023 09:57:14.725518 22626 sti.go:691] starting the source uploading ...
I1023 09:57:14.725590 22626 tar.go:217] Adding "/tmp/s2i022231620/upload" to tar ...
I1023 09:57:14.725928 22626 tar.go:312] Adding to tar: /tmp/s2i022231620/upload/scripts as scripts
I1023 09:57:14.730026 22626 docker.go:718] Image sha256:3954556774d2845c827ead615d0ef027a59c7181e6c72d0e82f38a2a9aa38eb1 contains io.openshift.s2i.scripts-url set to "image:///tmp/scripts/"
I1023 09:57:14.730076 22626 docker.go:793] Base directory for S2I scripts is '/tmp/scripts/'. Untarring destination is '/tmp'.
I1023 09:57:14.730153 22626 docker.go:949] Setting "/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble" command for container ...
I1023 09:57:14.730445 22626 docker.go:958] Creating container with options {Name:"s2i_sti_test_sti_fake_scripts_2811a558" Config:{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:true StdinOnce:true Env:[RACK_ENV=production] Cmd:[/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble] Healthcheck:<nil> ArgsEscaped:false Image:sti_test/sti-fake-scripts:latest Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} HostConfig:&{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode: PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] CapAdd:[] CapDrop:[] DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:67108864 Sysctls:map[] Runtime: ConsoleSize:[0 0] Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DiskQuota:0 KernelMemory:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:0 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[] Init:<nil>}} ...
I1023 09:57:15.153215 22626 docker.go:990] Attaching to container "47f9c0cd3308992f942dedb19d95be4424b62c37fe64f7179b7c4f952ce5501f" ...
I1023 09:57:15.154866 22626 docker.go:1001] Starting container "47f9c0cd3308992f942dedb19d95be4424b62c37fe64f7179b7c4f952ce5501f" ...
I1023 09:57:15.465466 22626 tar.go:312] Adding to tar: /tmp/s2i022231620/upload/src as src
I1023 09:57:15.468712 22626 tar.go:312] Adding to tar: /tmp/s2i022231620/upload/src/.gitignore as src/.gitignore
I1023 09:57:15.469013 22626 tar.go:312] Adding to tar: /tmp/s2i022231620/upload/src/.s2i as src/.s2i
I1023 09:57:15.469315 22626 tar.go:312] Adding to tar: /tmp/s2i022231620/upload/src/.s2i/bin as src/.s2i/bin
I1023 09:57:15.469602 22626 tar.go:312] Adding to tar: /tmp/s2i022231620/upload/src/.s2i/bin/README as src/.s2i/bin/README
I1023 09:57:15.469936 22626 tar.go:312] Adding to tar: /tmp/s2i022231620/upload/src/.s2i/environment as src/.s2i/environment
I1023 09:57:15.470315 22626 tar.go:312] Adding to tar: /tmp/s2i022231620/upload/src/.travis.yml as src/.travis.yml
I1023 09:57:15.470653 22626 tar.go:312] Adding to tar: /tmp/s2i022231620/upload/src/Dockerfile as src/Dockerfile
I1023 09:57:15.470973 22626 tar.go:312] Adding to tar: /tmp/s2i022231620/upload/src/Gemfile as src/Gemfile
I1023 09:57:15.471291 22626 tar.go:312] Adding to tar: /tmp/s2i022231620/upload/src/Gemfile.lock as src/Gemfile.lock
I1023 09:57:15.471616 22626 tar.go:312] Adding to tar: /tmp/s2i022231620/upload/src/README.md as src/README.md
I1023 09:57:15.471935 22626 tar.go:312] Adding to tar: /tmp/s2i022231620/upload/src/Rakefile as src/Rakefile
I1023 09:57:15.472286 22626 tar.go:312] Adding to tar: /tmp/s2i022231620/upload/src/app.rb as src/app.rb
I1023 09:57:15.472613 22626 tar.go:312] Adding to tar: /tmp/s2i022231620/upload/src/config as src/config
I1023 09:57:15.472897 22626 tar.go:312] Adding to tar: /tmp/s2i022231620/upload/src/config/database.rb as src/config/database.rb
I1023 09:57:15.473232 22626 tar.go:312] Adding to tar: /tmp/s2i022231620/upload/src/config/database.yml as src/config/database.yml
I1023 09:57:15.473581 22626 tar.go:312] Adding to tar: /tmp/s2i022231620/upload/src/config.ru as src/config.ru
I1023 09:57:15.473908 22626 tar.go:312] Adding to tar: /tmp/s2i022231620/upload/src/db as src/db
I1023 09:57:15.474210 22626 tar.go:312] Adding to tar: /tmp/s2i022231620/upload/src/db/migrate as src/db/migrate
I1023 09:57:15.474518 22626 tar.go:312] Adding to tar: /tmp/s2i022231620/upload/src/db/migrate/20141102191902_create_key_pair.rb as src/db/migrate/20141102191902_create_key_pair.rb
I1023 09:57:15.474823 22626 tar.go:312] Adding to tar: /tmp/s2i022231620/upload/src/models.rb as src/models.rb
I1023 09:57:15.475162 22626 tar.go:312] Adding to tar: /tmp/s2i022231620/upload/src/run.sh as src/run.sh
I1023 09:57:15.475456 22626 tar.go:312] Adding to tar: /tmp/s2i022231620/upload/src/test as src/test
I1023 09:57:15.475763 22626 tar.go:312] Adding to tar: /tmp/s2i022231620/upload/src/test/sample_test.rb as src/test/sample_test.rb
I1023 09:57:15.476066 22626 tar.go:312] Adding to tar: /tmp/s2i022231620/upload/src/views as src/views
I1023 09:57:15.476334 22626 tar.go:312] Adding to tar: /tmp/s2i022231620/upload/src/views/main.erb as src/views/main.erb
I1023 09:57:15.533028 22626 docker.go:1032] Waiting for container "47f9c0cd3308992f942dedb19d95be4424b62c37fe64f7179b7c4f952ce5501f" to stop ...
I1023 09:57:15.697697 22626 docker.go:1057] Invoking PostExecute function
I1023 09:57:15.697748 22626 postexecutorstep.go:68] Skipping step: store previous image
I1023 09:57:15.697776 22626 postexecutorstep.go:117] Executing step: commit image
I1023 09:57:15.700143 22626 postexecutorstep.go:522] Checking for new Labels to apply...
I1023 09:57:15.700203 22626 postexecutorstep.go:530] Creating the download path '/tmp/s2i022231620/metadata'
I1023 09:57:15.700359 22626 postexecutorstep.go:464] Downloading file "/tmp/.s2i/image_metadata.json"
I1023 09:57:15.854174 22626 tar.go:376] Creating directory /tmp/s2i022231620/metadata
I1023 09:57:15.854249 22626 tar.go:444] Creating /tmp/s2i022231620/metadata/image_metadata.json
I1023 09:57:15.854413 22626 tar.go:454] Extracting/writing /tmp/s2i022231620/metadata/image_metadata.json
I1023 09:57:15.854580 22626 tar.go:400] Done extracting tar stream
I1023 09:57:15.854714 22626 postexecutorstep.go:555] new Labels File contents :
{
"labels": [
{"testLabel": "testLabel_value"}
]
}
I1023 09:57:15.859296 22626 docker.go:1091] Committing container with dockerOpts: {Reference:test/sti-fake-app-scripts Comment: Author: Changes:[] Pause:false Config:0xc420343e00}, config: {Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[RACK_ENV=production] Cmd:[/tmp/scripts//run] Healthcheck:<nil> ArgsEscaped:false Image: Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[io.openshift.s2i.build.source-location:https://github.com/openshift/ruby-hello-world io.openshift.s2i.build.image:sti_test/sti-fake-scripts io.openshift.s2i.build.commit.date:Fri Feb 9 18:24:07 2018 -0500 io.openshift.s2i.build.commit.id:7ccd3242c49c3868195ca9400a539fa611111096 io.openshift.s2i.build.commit.ref:master io.openshift.s2i.build.commit.message:Merge pull request #71 from bparees/gemfile2 io.k8s.display-name:test/sti-fake-app-scripts io.openshift.s2i.build.commit.author:Ben Parees <bparees@users.noreply.github.com> testLabel:testLabel_value io.openshift.s2i.scripts-url:image:///tmp/scripts/] StopSignal: StopTimeout:<nil> Shell:[]}
I1023 09:57:16.502843 22626 postexecutorstep.go:392] Executing step: report success
I1023 09:57:16.502893 22626 postexecutorstep.go:397] Successfully built test/sti-fake-app-scripts
I1023 09:57:16.502928 22626 postexecutorstep.go:93] Skipping step: remove previous image
I1023 09:57:16.503070 22626 docker.go:968] Removing container "47f9c0cd3308992f942dedb19d95be4424b62c37fe64f7179b7c4f952ce5501f" ...
I1023 09:57:16.518467 22626 docker.go:978] Removed container "47f9c0cd3308992f942dedb19d95be4424b62c37fe64f7179b7c4f952ce5501f"
I1023 09:57:16.518714 22626 cleanup.go:33] Removing temporary directory /tmp/s2i022231620
I1023 09:57:16.518758 22626 fs.go:302] Removing directory '/tmp/s2i022231620'
--- PASS: TestCleanBuildScripts (3.56s)
=== RUN TestLayeredBuildNoTar
I1023 09:57:17.879652 22626 docker.go:487] Using locally available image "sti_test/sti-fake-no-tar:latest"
I1023 09:57:17.885574 22626 docker.go:487] Using locally available image "sti_test/sti-fake-no-tar:latest"
I1023 09:57:17.885626 22626 docker.go:716] warning: Image sha256:501a94f641d8bd16f9274d68c10cc1efea426537c1d3cc0161abd82ed47818fc does not contain a value for the io.openshift.s2i.scripts-url label
I1023 09:57:17.885695 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
I1023 09:57:17.885784 22626 sti.go:204] Preparing to build test/sti-fake-no-tar
I1023 09:57:17.886226 22626 clone.go:36] Downloading "https://github.com/openshift/ruby-hello-world" ...
I1023 09:57:17.886275 22626 clone.go:40] Cloning sources into "/tmp/s2i349792790/upload/src"
I1023 09:57:18.156789 22626 clone.go:56] Checked out "HEAD"
I1023 09:57:18.181934 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:57:18.200417 22626 download.go:77] Downloaded 'file:///data/src/github.com/openshift/source-to-image/_output/local/go/src/github.com/openshift/source-to-image/test/integration/scripts/.s2i/bin/assemble'
I1023 09:57:18.200573 22626 install.go:261] Using "assemble" installed from "file:///data/src/github.com/openshift/source-to-image/_output/local/go/src/github.com/openshift/source-to-image/test/integration/scripts/.s2i/bin/assemble"
I1023 09:57:18.200795 22626 download.go:77] Downloaded 'file:///data/src/github.com/openshift/source-to-image/_output/local/go/src/github.com/openshift/source-to-image/test/integration/scripts/.s2i/bin/run'
I1023 09:57:18.200929 22626 install.go:261] Using "run" installed from "file:///data/src/github.com/openshift/source-to-image/_output/local/go/src/github.com/openshift/source-to-image/test/integration/scripts/.s2i/bin/run"
I1023 09:57:18.201154 22626 download.go:77] Downloaded 'file:///data/src/github.com/openshift/source-to-image/_output/local/go/src/github.com/openshift/source-to-image/test/integration/scripts/.s2i/bin/save-artifacts'
I1023 09:57:18.201289 22626 install.go:261] Using "save-artifacts" installed from "file:///data/src/github.com/openshift/source-to-image/_output/local/go/src/github.com/openshift/source-to-image/test/integration/scripts/.s2i/bin/save-artifacts"
I1023 09:57:18.201369 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:57:18.201410 22626 sti.go:213] Clean build will be performed
I1023 09:57:18.201465 22626 sti.go:216] Performing source build from https://github.com/openshift/ruby-hello-world
I1023 09:57:18.201502 22626 sti.go:227] Running "assemble" in "test/sti-fake-no-tar"
I1023 09:57:18.201531 22626 sti.go:573] Using image name sti_test/sti-fake-no-tar
I1023 09:57:18.204006 22626 docker.go:487] Using locally available image "sti_test/sti-fake-no-tar:latest"
I1023 09:57:18.204118 22626 environment.go:41] Setting 1 environment variables provided by environment file in sources
I1023 09:57:18.204514 22626 sti.go:691] starting the source uploading ...
I1023 09:57:18.204582 22626 tar.go:217] Adding "/tmp/s2i349792790/upload" to tar ...
I1023 09:57:18.204852 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/scripts as scripts
I1023 09:57:18.208840 22626 docker.go:781] Both scripts and untarred source will be placed in '/tmp'
I1023 09:57:18.208934 22626 docker.go:949] Setting "/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble" command for container ...
I1023 09:57:18.209260 22626 docker.go:958] Creating container with options {Name:"s2i_sti_test_sti_fake_no_tar_18d2fe90" Config:{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:true StdinOnce:true Env:[RACK_ENV=production] Cmd:[/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble] Healthcheck:<nil> ArgsEscaped:false Image:sti_test/sti-fake-no-tar:latest Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} HostConfig:&{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode: PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] CapAdd:[] CapDrop:[] DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:67108864 Sysctls:map[] Runtime: ConsoleSize:[0 0] Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DiskQuota:0 KernelMemory:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:0 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[] Init:<nil>}} ...
I1023 09:57:18.600764 22626 docker.go:990] Attaching to container "c4d345a0f764b74510b75646f32b9e68d63bcd9034115757bf489886ff85c835" ...
I1023 09:57:18.602327 22626 docker.go:1001] Starting container "c4d345a0f764b74510b75646f32b9e68d63bcd9034115757bf489886ff85c835" ...
I1023 09:57:18.893489 22626 sti.go:703] /bin/sh: tar: not found
I1023 09:57:18.893820 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/scripts/assemble as scripts/assemble
I1023 09:57:18.894203 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/scripts/run as scripts/run
I1023 09:57:18.894605 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/scripts/save-artifacts as scripts/save-artifacts
I1023 09:57:18.894947 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src as src
I1023 09:57:18.898478 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/.gitignore as src/.gitignore
I1023 09:57:18.898791 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/.s2i as src/.s2i
I1023 09:57:18.899075 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/.s2i/bin as src/.s2i/bin
I1023 09:57:18.899388 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/.s2i/bin/README as src/.s2i/bin/README
I1023 09:57:18.899743 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/.s2i/environment as src/.s2i/environment
I1023 09:57:18.900114 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/.travis.yml as src/.travis.yml
I1023 09:57:18.900478 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/Dockerfile as src/Dockerfile
I1023 09:57:18.900809 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/Gemfile as src/Gemfile
I1023 09:57:18.901133 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/Gemfile.lock as src/Gemfile.lock
I1023 09:57:18.901479 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/README.md as src/README.md
I1023 09:57:18.901781 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/Rakefile as src/Rakefile
I1023 09:57:18.902111 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/app.rb as src/app.rb
I1023 09:57:18.902442 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/config as src/config
I1023 09:57:18.902737 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/config/database.rb as src/config/database.rb
I1023 09:57:18.903110 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/config/database.yml as src/config/database.yml
I1023 09:57:18.903450 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/config.ru as src/config.ru
I1023 09:57:18.903770 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/db as src/db
I1023 09:57:18.904090 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/db/migrate as src/db/migrate
I1023 09:57:18.904457 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/db/migrate/20141102191902_create_key_pair.rb as src/db/migrate/20141102191902_create_key_pair.rb
I1023 09:57:18.904769 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/models.rb as src/models.rb
I1023 09:57:18.905114 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/run.sh as src/run.sh
I1023 09:57:18.905422 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/test as src/test
I1023 09:57:18.905740 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/test/sample_test.rb as src/test/sample_test.rb
I1023 09:57:18.906044 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/views as src/views
I1023 09:57:18.906367 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/views/main.erb as src/views/main.erb
I1023 09:57:18.929173 22626 docker.go:1032] Waiting for container "c4d345a0f764b74510b75646f32b9e68d63bcd9034115757bf489886ff85c835" to stop ...
I1023 09:57:19.044059 22626 docker.go:968] Removing container "c4d345a0f764b74510b75646f32b9e68d63bcd9034115757bf489886ff85c835" ...
I1023 09:57:19.058584 22626 docker.go:978] Removed container "c4d345a0f764b74510b75646f32b9e68d63bcd9034115757bf489886ff85c835"
I1023 09:57:19.059153 22626 sti.go:232] Image is missing basic requirements (sh or tar), layered build will be performed
I1023 09:57:19.061535 22626 layered.go:103] The scripts are included in "/tmp/s2i349792790/upload/scripts" directory
I1023 09:57:19.061746 22626 layered.go:127] Writing custom Dockerfile to /tmp/s2i349792790/upload
I1023 09:57:19.061785 22626 layered.go:160] Creating application source code image
I1023 09:57:19.061977 22626 tar.go:217] Adding "/tmp/s2i349792790/upload" to tar ...
I1023 09:57:19.062008 22626 layered.go:175] Building new image s2i-layered-temp-image-1540303039061897125 with scripts and sources already inside
I1023 09:57:19.062186 22626 docker.go:1123] Building container using config: {Tags:[s2i-layered-temp-image-1540303039061897125] SuppressOutput:false RemoteContext: NoCache:true Remove:true ForceRemove:true PullParent:false Isolation: CPUSetCPUs: CPUSetMems: CPUShares:0 CPUQuota:0 CPUPeriod:0 Memory:0 MemorySwap:0 CgroupParent: NetworkMode: ShmSize:0 Dockerfile: Ulimits:[] BuildArgs:map[] AuthConfigs:map[] Context:<nil> Labels:map[] Squash:false CacheFrom:[] SecurityOpt:[] ExtraHosts:[] Target: SessionID:}
I1023 09:57:19.062356 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/Dockerfile as Dockerfile
I1023 09:57:19.063022 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/scripts as scripts
I1023 09:57:19.063368 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/scripts/assemble as scripts/assemble
I1023 09:57:19.063670 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/scripts/run as scripts/run
I1023 09:57:19.064096 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/scripts/save-artifacts as scripts/save-artifacts
I1023 09:57:19.064462 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src as src
I1023 09:57:19.067580 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/.gitignore as src/.gitignore
I1023 09:57:19.067849 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/.s2i as src/.s2i
I1023 09:57:19.068151 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/.s2i/bin as src/.s2i/bin
I1023 09:57:19.068463 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/.s2i/bin/README as src/.s2i/bin/README
I1023 09:57:19.068822 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/.s2i/environment as src/.s2i/environment
I1023 09:57:19.069157 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/.travis.yml as src/.travis.yml
I1023 09:57:19.069484 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/Dockerfile as src/Dockerfile
I1023 09:57:19.069823 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/Gemfile as src/Gemfile
I1023 09:57:19.070188 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/Gemfile.lock as src/Gemfile.lock
I1023 09:57:19.070553 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/README.md as src/README.md
I1023 09:57:19.070924 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/Rakefile as src/Rakefile
I1023 09:57:19.071304 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/app.rb as src/app.rb
I1023 09:57:19.071668 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/config as src/config
I1023 09:57:19.072031 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/config/database.rb as src/config/database.rb
I1023 09:57:19.072409 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/config/database.yml as src/config/database.yml
I1023 09:57:19.072777 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/config.ru as src/config.ru
I1023 09:57:19.073115 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/db as src/db
I1023 09:57:19.073439 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/db/migrate as src/db/migrate
I1023 09:57:19.073817 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/db/migrate/20141102191902_create_key_pair.rb as src/db/migrate/20141102191902_create_key_pair.rb
I1023 09:57:19.074162 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/models.rb as src/models.rb
I1023 09:57:19.074509 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/run.sh as src/run.sh
I1023 09:57:19.074854 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/test as src/test
I1023 09:57:19.075219 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/test/sample_test.rb as src/test/sample_test.rb
I1023 09:57:19.075558 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/views as src/views
I1023 09:57:19.075907 22626 tar.go:312] Adding to tar: /tmp/s2i349792790/upload/src/views/main.erb as src/views/main.erb
I1023 09:57:19.092006 22626 layered.go:173] {"stream":"Step 1 : FROM sti_test/sti-fake-no-tar\n"}
I1023 09:57:19.092127 22626 layered.go:173] {"stream":" ---\u003e 501a94f641d8\n"}
I1023 09:57:19.092167 22626 layered.go:173] {"stream":"Step 2 : COPY scripts /tmp/scripts\n"}
I1023 09:57:20.479306 22626 layered.go:173] {"stream":" ---\u003e ba4c14648b2a\n"}
I1023 09:57:20.491076 22626 layered.go:173] {"stream":"Removing intermediate container ca1588574436\n"}
I1023 09:57:20.491165 22626 layered.go:173] {"stream":"Step 3 : COPY src /tmp/src\n"}
I1023 09:57:22.663290 22626 layered.go:173] {"stream":" ---\u003e 105462508dd5\n"}
I1023 09:57:22.674862 22626 layered.go:173] {"stream":"Removing intermediate container c3fc0c390468\n"}
I1023 09:57:22.677282 22626 layered.go:173] {"stream":"Successfully built 105462508dd5\n"}
I1023 09:57:22.678540 22626 layered.go:193] Scripts dir has contents true
I1023 09:57:22.678594 22626 layered.go:208] Building test/sti-fake-no-tar using sti-enabled image
I1023 09:57:22.678638 22626 sti.go:573] Using image name s2i-layered-temp-image-1540303039061897125
I1023 09:57:22.681624 22626 docker.go:487] Using locally available image "s2i-layered-temp-image-1540303039061897125:latest"
I1023 09:57:22.681733 22626 environment.go:41] Setting 1 environment variables provided by environment file in sources
I1023 09:57:22.686161 22626 docker.go:793] Base directory for S2I scripts is '/tmp/scripts'. Untarring destination is '/tmp'.
I1023 09:57:22.686221 22626 docker.go:949] Setting "/tmp/scripts/assemble" command for container ...
I1023 09:57:22.686516 22626 docker.go:958] Creating container with options {Name:"s2i_s2i_layered_temp_image_1540303039061897125_4d088f48" Config:{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[RACK_ENV=production] Cmd:[/tmp/scripts/assemble] Healthcheck:<nil> ArgsEscaped:false Image:s2i-layered-temp-image-1540303039061897125:latest Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} HostConfig:&{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode: PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] CapAdd:[] CapDrop:[] DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:67108864 Sysctls:map[] Runtime: ConsoleSize:[0 0] Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DiskQuota:0 KernelMemory:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:0 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[] Init:<nil>}} ...
I1023 09:57:23.064594 22626 docker.go:990] Attaching to container "835a7a5632bcc75ce86d57b439d5a270d2449adf413b263bd492a689fc28116b" ...
I1023 09:57:23.066263 22626 docker.go:1001] Starting container "835a7a5632bcc75ce86d57b439d5a270d2449adf413b263bd492a689fc28116b" ...
I1023 09:57:23.426158 22626 docker.go:1032] Waiting for container "835a7a5632bcc75ce86d57b439d5a270d2449adf413b263bd492a689fc28116b" to stop ...
I1023 09:57:23.705563 22626 docker.go:1057] Invoking PostExecute function
I1023 09:57:23.705631 22626 postexecutorstep.go:68] Skipping step: store previous image
I1023 09:57:23.705659 22626 postexecutorstep.go:117] Executing step: commit image
I1023 09:57:23.707891 22626 postexecutorstep.go:522] Checking for new Labels to apply...
I1023 09:57:23.707944 22626 postexecutorstep.go:530] Creating the download path '/tmp/s2i349792790/metadata'
I1023 09:57:23.708116 22626 postexecutorstep.go:464] Downloading file "/tmp/.s2i/image_metadata.json"
I1023 09:57:23.856176 22626 tar.go:376] Creating directory /tmp/s2i349792790/metadata
I1023 09:57:23.856255 22626 tar.go:444] Creating /tmp/s2i349792790/metadata/image_metadata.json
I1023 09:57:23.856441 22626 tar.go:454] Extracting/writing /tmp/s2i349792790/metadata/image_metadata.json
I1023 09:57:23.856594 22626 tar.go:400] Done extracting tar stream
I1023 09:57:23.856734 22626 postexecutorstep.go:555] new Labels File contents :
{
"labels": [
{"testLabel": "testLabel_value"}
]
}
I1023 09:57:23.865597 22626 docker.go:1091] Committing container with dockerOpts: {Reference:test/sti-fake-no-tar Comment: Author: Changes:[] Pause:false Config:0xc420342c80}, config: {Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[RACK_ENV=production] Cmd:[/tmp/scripts/run] Healthcheck:<nil> ArgsEscaped:false Image: Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[io.openshift.s2i.build.commit.author:Ben Parees <bparees@users.noreply.github.com> io.openshift.s2i.build.commit.id:7ccd3242c49c3868195ca9400a539fa611111096 io.k8s.display-name:test/sti-fake-no-tar io.openshift.s2i.build.image:s2i-layered-temp-image-1540303039061897125 io.openshift.s2i.build.source-location:https://github.com/openshift/ruby-hello-world testLabel:testLabel_value io.openshift.s2i.build.commit.date:Fri Feb 9 18:24:07 2018 -0500 io.openshift.s2i.build.commit.ref:master io.openshift.s2i.build.commit.message:Merge pull request #71 from bparees/gemfile2] StopSignal: StopTimeout:<nil> Shell:[]}
I1023 09:57:25.121943 22626 postexecutorstep.go:392] Executing step: report success
I1023 09:57:25.122011 22626 postexecutorstep.go:397] Successfully built test/sti-fake-no-tar
I1023 09:57:25.122041 22626 postexecutorstep.go:93] Skipping step: remove previous image
I1023 09:57:25.122140 22626 docker.go:968] Removing container "835a7a5632bcc75ce86d57b439d5a270d2449adf413b263bd492a689fc28116b" ...
I1023 09:57:25.137542 22626 docker.go:978] Removed container "835a7a5632bcc75ce86d57b439d5a270d2449adf413b263bd492a689fc28116b"
I1023 09:57:25.137733 22626 cleanup.go:33] Removing temporary directory /tmp/s2i349792790
I1023 09:57:25.137781 22626 fs.go:302] Removing directory '/tmp/s2i349792790'
I1023 09:57:25.140150 22626 cleanup.go:42] Removing temporary image s2i-layered-temp-image-1540303039061897125
--- PASS: TestLayeredBuildNoTar (9.06s)
=== RUN TestCleanBuildCallbackInvoked
I1023 09:57:26.938976 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:57:26.945100 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:57:26.945161 22626 docker.go:718] Image sha256:a1f6bf1e1a111c7f8257166efaa9a161f42805b7e01b228abc4be86abf4f4b90 contains io.openshift.s2i.scripts-url set to "http://127.0.0.1:23456/.s2i/bin"
I1023 09:57:26.945227 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
I1023 09:57:26.945342 22626 sti.go:204] Preparing to build test/sti-fake-app
I1023 09:57:26.946191 22626 clone.go:36] Downloading "https://github.com/openshift/ruby-hello-world" ...
I1023 09:57:26.946241 22626 clone.go:40] Cloning sources into "/tmp/s2i539774904/upload/src"
I1023 09:57:27.190689 22626 clone.go:56] Checked out "HEAD"
I1023 09:57:27.215034 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:57:27.235246 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/assemble'
I1023 09:57:27.235359 22626 install.go:261] Using "assemble" installed from "http://127.0.0.1:23456/.s2i/bin/assemble"
I1023 09:57:27.236833 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/run'
I1023 09:57:27.236933 22626 install.go:261] Using "run" installed from "http://127.0.0.1:23456/.s2i/bin/run"
I1023 09:57:27.238417 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/save-artifacts'
I1023 09:57:27.238516 22626 install.go:261] Using "save-artifacts" installed from "http://127.0.0.1:23456/.s2i/bin/save-artifacts"
I1023 09:57:27.238574 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:57:27.238612 22626 sti.go:213] Clean build will be performed
I1023 09:57:27.238645 22626 sti.go:216] Performing source build from https://github.com/openshift/ruby-hello-world
I1023 09:57:27.238675 22626 sti.go:227] Running "assemble" in "test/sti-fake-app"
I1023 09:57:27.238694 22626 sti.go:573] Using image name sti_test/sti-fake
I1023 09:57:27.241337 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:57:27.241442 22626 environment.go:41] Setting 1 environment variables provided by environment file in sources
I1023 09:57:27.241627 22626 sti.go:691] starting the source uploading ...
I1023 09:57:27.241695 22626 tar.go:217] Adding "/tmp/s2i539774904/upload" to tar ...
I1023 09:57:27.242039 22626 tar.go:312] Adding to tar: /tmp/s2i539774904/upload/scripts as scripts
I1023 09:57:27.246050 22626 docker.go:781] Both scripts and untarred source will be placed in '/tmp'
I1023 09:57:27.246148 22626 docker.go:949] Setting "/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble" command for container ...
I1023 09:57:27.246430 22626 docker.go:958] Creating container with options {Name:"s2i_sti_test_sti_fake_83e4f98d" Config:{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:true StdinOnce:true Env:[RACK_ENV=production] Cmd:[/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble] Healthcheck:<nil> ArgsEscaped:false Image:sti_test/sti-fake:latest Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} HostConfig:&{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode: PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] CapAdd:[] CapDrop:[] DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:67108864 Sysctls:map[] Runtime: ConsoleSize:[0 0] Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DiskQuota:0 KernelMemory:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:0 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[] Init:<nil>}} ...
I1023 09:57:27.624684 22626 docker.go:990] Attaching to container "76bde54d5260eb4d877cbce7b250fa359e35a062b28ab07102f2c45604096a25" ...
I1023 09:57:27.626230 22626 docker.go:1001] Starting container "76bde54d5260eb4d877cbce7b250fa359e35a062b28ab07102f2c45604096a25" ...
I1023 09:57:27.928486 22626 tar.go:312] Adding to tar: /tmp/s2i539774904/upload/scripts/assemble as scripts/assemble
I1023 09:57:27.928806 22626 tar.go:312] Adding to tar: /tmp/s2i539774904/upload/scripts/run as scripts/run
I1023 09:57:27.929154 22626 tar.go:312] Adding to tar: /tmp/s2i539774904/upload/scripts/save-artifacts as scripts/save-artifacts
I1023 09:57:27.929439 22626 tar.go:312] Adding to tar: /tmp/s2i539774904/upload/src as src
I1023 09:57:27.932873 22626 tar.go:312] Adding to tar: /tmp/s2i539774904/upload/src/.gitignore as src/.gitignore
I1023 09:57:27.933155 22626 tar.go:312] Adding to tar: /tmp/s2i539774904/upload/src/.s2i as src/.s2i
I1023 09:57:27.933418 22626 tar.go:312] Adding to tar: /tmp/s2i539774904/upload/src/.s2i/bin as src/.s2i/bin
I1023 09:57:27.933738 22626 tar.go:312] Adding to tar: /tmp/s2i539774904/upload/src/.s2i/bin/README as src/.s2i/bin/README
I1023 09:57:27.934103 22626 tar.go:312] Adding to tar: /tmp/s2i539774904/upload/src/.s2i/environment as src/.s2i/environment
I1023 09:57:27.934454 22626 tar.go:312] Adding to tar: /tmp/s2i539774904/upload/src/.travis.yml as src/.travis.yml
I1023 09:57:27.934771 22626 tar.go:312] Adding to tar: /tmp/s2i539774904/upload/src/Dockerfile as src/Dockerfile
I1023 09:57:27.935176 22626 tar.go:312] Adding to tar: /tmp/s2i539774904/upload/src/Gemfile as src/Gemfile
I1023 09:57:27.935499 22626 tar.go:312] Adding to tar: /tmp/s2i539774904/upload/src/Gemfile.lock as src/Gemfile.lock
I1023 09:57:27.935784 22626 tar.go:312] Adding to tar: /tmp/s2i539774904/upload/src/README.md as src/README.md
I1023 09:57:27.936078 22626 tar.go:312] Adding to tar: /tmp/s2i539774904/upload/src/Rakefile as src/Rakefile
I1023 09:57:27.939651 22626 tar.go:312] Adding to tar: /tmp/s2i539774904/upload/src/app.rb as src/app.rb
I1023 09:57:27.940501 22626 tar.go:312] Adding to tar: /tmp/s2i539774904/upload/src/config as src/config
I1023 09:57:27.940888 22626 tar.go:312] Adding to tar: /tmp/s2i539774904/upload/src/config/database.rb as src/config/database.rb
I1023 09:57:27.941288 22626 tar.go:312] Adding to tar: /tmp/s2i539774904/upload/src/config/database.yml as src/config/database.yml
I1023 09:57:27.941713 22626 tar.go:312] Adding to tar: /tmp/s2i539774904/upload/src/config.ru as src/config.ru
I1023 09:57:27.942106 22626 tar.go:312] Adding to tar: /tmp/s2i539774904/upload/src/db as src/db
I1023 09:57:27.942418 22626 tar.go:312] Adding to tar: /tmp/s2i539774904/upload/src/db/migrate as src/db/migrate
I1023 09:57:27.942769 22626 tar.go:312] Adding to tar: /tmp/s2i539774904/upload/src/db/migrate/20141102191902_create_key_pair.rb as src/db/migrate/20141102191902_create_key_pair.rb
I1023 09:57:27.943147 22626 tar.go:312] Adding to tar: /tmp/s2i539774904/upload/src/models.rb as src/models.rb
I1023 09:57:27.943529 22626 tar.go:312] Adding to tar: /tmp/s2i539774904/upload/src/run.sh as src/run.sh
I1023 09:57:27.943896 22626 tar.go:312] Adding to tar: /tmp/s2i539774904/upload/src/test as src/test
I1023 09:57:27.944275 22626 tar.go:312] Adding to tar: /tmp/s2i539774904/upload/src/test/sample_test.rb as src/test/sample_test.rb
I1023 09:57:27.944634 22626 tar.go:312] Adding to tar: /tmp/s2i539774904/upload/src/views as src/views
I1023 09:57:27.944979 22626 tar.go:312] Adding to tar: /tmp/s2i539774904/upload/src/views/main.erb as src/views/main.erb
I1023 09:57:27.992348 22626 docker.go:1032] Waiting for container "76bde54d5260eb4d877cbce7b250fa359e35a062b28ab07102f2c45604096a25" to stop ...
I1023 09:57:28.140867 22626 docker.go:1057] Invoking PostExecute function
I1023 09:57:28.141537 22626 postexecutorstep.go:68] Skipping step: store previous image
I1023 09:57:28.141566 22626 postexecutorstep.go:117] Executing step: commit image
I1023 09:57:28.143938 22626 postexecutorstep.go:522] Checking for new Labels to apply...
I1023 09:57:28.144001 22626 postexecutorstep.go:530] Creating the download path '/tmp/s2i539774904/metadata'
I1023 09:57:28.144320 22626 postexecutorstep.go:464] Downloading file "/tmp/.s2i/image_metadata.json"
I1023 09:57:28.302194 22626 tar.go:376] Creating directory /tmp/s2i539774904/metadata
I1023 09:57:28.302272 22626 tar.go:444] Creating /tmp/s2i539774904/metadata/image_metadata.json
I1023 09:57:28.302463 22626 tar.go:454] Extracting/writing /tmp/s2i539774904/metadata/image_metadata.json
I1023 09:57:28.302632 22626 tar.go:400] Done extracting tar stream
I1023 09:57:28.302761 22626 postexecutorstep.go:555] new Labels File contents :
{
"labels": [
{"testLabel": "testLabel_value"}
]
}
I1023 09:57:28.307372 22626 docker.go:1091] Committing container with dockerOpts: {Reference:test/sti-fake-app Comment: Author: Changes:[] Pause:false Config:0xc420343180}, config: {Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[RACK_ENV=production] Cmd:[/tmp/scripts/run] Healthcheck:<nil> ArgsEscaped:false Image: Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[io.openshift.s2i.scripts-url:http://127.0.0.1:23456/.s2i/bin io.openshift.s2i.build.source-location:https://github.com/openshift/ruby-hello-world io.k8s.display-name:test/sti-fake-app io.openshift.s2i.build.commit.author:Ben Parees <bparees@users.noreply.github.com> io.openshift.s2i.build.image:sti_test/sti-fake testLabel:testLabel_value io.openshift.s2i.build.commit.date:Fri Feb 9 18:24:07 2018 -0500 io.openshift.s2i.build.commit.id:7ccd3242c49c3868195ca9400a539fa611111096 io.openshift.s2i.build.commit.ref:master io.openshift.s2i.build.commit.message:Merge pull request #71 from bparees/gemfile2] StopSignal: StopTimeout:<nil> Shell:[]}
I1023 09:57:29.470491 22626 postexecutorstep.go:392] Executing step: report success
I1023 09:57:29.470543 22626 postexecutorstep.go:397] Successfully built test/sti-fake-app
I1023 09:57:29.470575 22626 postexecutorstep.go:93] Skipping step: remove previous image
I1023 09:57:29.471295 22626 docker.go:968] Removing container "76bde54d5260eb4d877cbce7b250fa359e35a062b28ab07102f2c45604096a25" ...
I1023 09:57:29.485969 22626 docker.go:978] Removed container "76bde54d5260eb4d877cbce7b250fa359e35a062b28ab07102f2c45604096a25"
I1023 09:57:29.486183 22626 cleanup.go:33] Removing temporary directory /tmp/s2i539774904
I1023 09:57:29.486234 22626 fs.go:302] Removing directory '/tmp/s2i539774904'
--- PASS: TestCleanBuildCallbackInvoked (3.92s)
=== RUN TestCleanBuildOnBuild
I1023 09:57:30.866114 22626 docker.go:487] Using locally available image "sti_test/sti-fake-onbuild:latest"
I1023 09:57:30.872561 22626 docker.go:487] Using locally available image "sti_test/sti-fake-onbuild:latest"
I1023 09:57:30.872622 22626 docker.go:718] Image sha256:8a7c6a5f9e1dc5b245a9f8efe461fc697f6b5506a6fe142fabdff579f55a5ddf contains io.openshift.s2i.scripts-url set to "http://127.0.0.1:23456/.s2i/bin"
I1023 09:57:30.872689 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
I1023 09:57:30.872805 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
I1023 09:57:30.872845 22626 onbuild.go:87] Preparing the source code for build
I1023 09:57:30.873376 22626 clone.go:36] Downloading "https://github.com/openshift/ruby-hello-world" ...
I1023 09:57:30.873455 22626 clone.go:40] Cloning sources into "/tmp/s2i470331306/upload/src"
I1023 09:57:31.074156 22626 clone.go:56] Checked out "HEAD"
I1023 09:57:31.098551 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:57:31.118295 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/assemble'
I1023 09:57:31.118404 22626 install.go:261] Using "assemble" installed from "http://127.0.0.1:23456/.s2i/bin/assemble"
I1023 09:57:31.119795 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/run'
I1023 09:57:31.119908 22626 install.go:261] Using "run" installed from "http://127.0.0.1:23456/.s2i/bin/run"
I1023 09:57:31.119988 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:57:31.120070 22626 onbuild.go:181] Found S2I 'run' script, copying to application source dir
I1023 09:57:31.120213 22626 fs.go:260] F "/tmp/s2i470331306/upload/scripts/run" -> "/tmp/s2i470331306/upload/src/run"
I1023 09:57:31.120320 22626 onbuild.go:185] Found S2I 'assemble' script, copying to application source dir
I1023 09:57:31.120457 22626 fs.go:260] F "/tmp/s2i470331306/upload/scripts/assemble" -> "/tmp/s2i470331306/upload/src/assemble"
I1023 09:57:31.120566 22626 onbuild.go:97] Creating application Dockerfile
I1023 09:57:31.120954 22626 entrypoint.go:33] Found valid ENTRYPOINT: run
I1023 09:57:31.121059 22626 environment.go:41] Setting 1 environment variables provided by environment file in sources
I1023 09:57:31.121239 22626 onbuild.go:106] Creating application source code image
I1023 09:57:31.121424 22626 onbuild.go:120] Building the application source
I1023 09:57:31.121580 22626 docker.go:1123] Building container using config: {Tags:[test/sti-fake-app-onbuild] SuppressOutput:false RemoteContext: NoCache:true Remove:true ForceRemove:true PullParent:false Isolation: CPUSetCPUs: CPUSetMems: CPUShares:0 CPUQuota:0 CPUPeriod:0 Memory:0 MemorySwap:0 CgroupParent: NetworkMode: ShmSize:0 Dockerfile: Ulimits:[] BuildArgs:map[] AuthConfigs:map[] Context:<nil> Labels:map[] Squash:false CacheFrom:[] SecurityOpt:[] ExtraHosts:[] Target: SessionID:}
I1023 09:57:31.121601 22626 tar.go:217] Adding "/tmp/s2i470331306/upload/src" to tar ...
I1023 09:57:31.124902 22626 tar.go:312] Adding to tar: /tmp/s2i470331306/upload/src/.gitignore as .gitignore
I1023 09:57:31.125311 22626 tar.go:312] Adding to tar: /tmp/s2i470331306/upload/src/.s2i as .s2i
I1023 09:57:31.125629 22626 tar.go:312] Adding to tar: /tmp/s2i470331306/upload/src/.s2i/bin as .s2i/bin
I1023 09:57:31.125942 22626 tar.go:312] Adding to tar: /tmp/s2i470331306/upload/src/.s2i/bin/README as .s2i/bin/README
I1023 09:57:31.126311 22626 tar.go:312] Adding to tar: /tmp/s2i470331306/upload/src/.s2i/environment as .s2i/environment
I1023 09:57:31.126678 22626 tar.go:312] Adding to tar: /tmp/s2i470331306/upload/src/.travis.yml as .travis.yml
I1023 09:57:31.135675 22626 tar.go:312] Adding to tar: /tmp/s2i470331306/upload/src/Dockerfile as Dockerfile
I1023 09:57:31.136164 22626 tar.go:312] Adding to tar: /tmp/s2i470331306/upload/src/Gemfile as Gemfile
I1023 09:57:31.136629 22626 tar.go:312] Adding to tar: /tmp/s2i470331306/upload/src/Gemfile.lock as Gemfile.lock
I1023 09:57:31.137098 22626 tar.go:312] Adding to tar: /tmp/s2i470331306/upload/src/README.md as README.md
I1023 09:57:31.137551 22626 tar.go:312] Adding to tar: /tmp/s2i470331306/upload/src/Rakefile as Rakefile
I1023 09:57:31.137997 22626 tar.go:312] Adding to tar: /tmp/s2i470331306/upload/src/app.rb as app.rb
I1023 09:57:31.138484 22626 tar.go:312] Adding to tar: /tmp/s2i470331306/upload/src/assemble as assemble
I1023 09:57:31.138930 22626 tar.go:312] Adding to tar: /tmp/s2i470331306/upload/src/config as config
I1023 09:57:31.139388 22626 tar.go:312] Adding to tar: /tmp/s2i470331306/upload/src/config/database.rb as config/database.rb
I1023 09:57:31.139856 22626 tar.go:312] Adding to tar: /tmp/s2i470331306/upload/src/config/database.yml as config/database.yml
I1023 09:57:31.140356 22626 tar.go:312] Adding to tar: /tmp/s2i470331306/upload/src/config.ru as config.ru
I1023 09:57:31.140777 22626 tar.go:312] Adding to tar: /tmp/s2i470331306/upload/src/db as db
I1023 09:57:31.141197 22626 tar.go:312] Adding to tar: /tmp/s2i470331306/upload/src/db/migrate as db/migrate
I1023 09:57:31.141670 22626 tar.go:312] Adding to tar: /tmp/s2i470331306/upload/src/db/migrate/20141102191902_create_key_pair.rb as db/migrate/20141102191902_create_key_pair.rb
I1023 09:57:31.142103 22626 tar.go:312] Adding to tar: /tmp/s2i470331306/upload/src/models.rb as models.rb
I1023 09:57:31.142526 22626 tar.go:312] Adding to tar: /tmp/s2i470331306/upload/src/run as run
I1023 09:57:31.142954 22626 tar.go:312] Adding to tar: /tmp/s2i470331306/upload/src/run.sh as run.sh
I1023 09:57:31.143402 22626 tar.go:312] Adding to tar: /tmp/s2i470331306/upload/src/test as test
I1023 09:57:31.143828 22626 tar.go:312] Adding to tar: /tmp/s2i470331306/upload/src/test/sample_test.rb as test/sample_test.rb
I1023 09:57:31.144157 22626 tar.go:312] Adding to tar: /tmp/s2i470331306/upload/src/views as views
I1023 09:57:31.144477 22626 tar.go:312] Adding to tar: /tmp/s2i470331306/upload/src/views/main.erb as views/main.erb
{"stream":"Step 1 : FROM sti_test/sti-fake-onbuild\n"}
{"stream":"\u001b[91m# Executing 2 build triggers...\n\u001b[0m"}
{"stream":"Step 1 : RUN touch /sti-fake/src/onbuild\n"}
{"stream":" ---\u003e Running in 9f82cc397acb\n"}
{"stream":"Step 1 : COPY . /tmp/src/\n"}
{"stream":" ---\u003e a295d1a9155c\n"}
{"stream":"Removing intermediate container 9f82cc397acb\n"}
{"stream":"Removing intermediate container 45485f25d90f\n"}
{"stream":"Step 2 : ENV RACK_ENV \"production\"\n"}
{"stream":" ---\u003e Running in 9809ef69f0bf\n"}
{"stream":" ---\u003e 1c0f97fe2110\n"}
{"stream":"Removing intermediate container 9809ef69f0bf\n"}
{"stream":"Step 3 : RUN sh assemble\n"}
{"stream":" ---\u003e Running in e14cfcd60083\n"}
{"stream":" ---\u003e 4310b11811a8\n"}
{"stream":"Removing intermediate container e14cfcd60083\n"}
{"stream":"Step 4 : ENTRYPOINT ./run\n"}
{"stream":" ---\u003e Running in 3ed1bbe8fb7e\n"}
{"stream":" ---\u003e 26edfe6f4d67\n"}
{"stream":"Removing intermediate container 3ed1bbe8fb7e\n"}
{"stream":"Successfully built 26edfe6f4d67\n"}
I1023 09:57:38.901006 22626 onbuild.go:129] Cleaning up temporary containers
I1023 09:57:38.901070 22626 cleanup.go:33] Removing temporary directory /tmp/s2i470331306
I1023 09:57:38.901126 22626 fs.go:302] Removing directory '/tmp/s2i470331306'
--- PASS: TestCleanBuildOnBuild (9.45s)
=== RUN TestCleanBuildOnBuildNoName
I1023 09:57:40.314004 22626 docker.go:487] Using locally available image "sti_test/sti-fake-onbuild:latest"
I1023 09:57:40.320449 22626 docker.go:487] Using locally available image "sti_test/sti-fake-onbuild:latest"
I1023 09:57:40.320512 22626 docker.go:718] Image sha256:8a7c6a5f9e1dc5b245a9f8efe461fc697f6b5506a6fe142fabdff579f55a5ddf contains io.openshift.s2i.scripts-url set to "http://127.0.0.1:23456/.s2i/bin"
I1023 09:57:40.320569 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
I1023 09:57:40.320681 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
I1023 09:57:40.320719 22626 onbuild.go:87] Preparing the source code for build
I1023 09:57:40.321179 22626 clone.go:36] Downloading "https://github.com/openshift/ruby-hello-world" ...
I1023 09:57:40.321231 22626 clone.go:40] Cloning sources into "/tmp/s2i556277505/upload/src"
I1023 09:57:40.528423 22626 clone.go:56] Checked out "HEAD"
I1023 09:57:40.552632 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:57:40.573269 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/assemble'
I1023 09:57:40.573396 22626 install.go:261] Using "assemble" installed from "http://127.0.0.1:23456/.s2i/bin/assemble"
I1023 09:57:40.574941 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/run'
I1023 09:57:40.575048 22626 install.go:261] Using "run" installed from "http://127.0.0.1:23456/.s2i/bin/run"
I1023 09:57:40.575128 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:57:40.575202 22626 onbuild.go:181] Found S2I 'run' script, copying to application source dir
I1023 09:57:40.575375 22626 fs.go:260] F "/tmp/s2i556277505/upload/scripts/run" -> "/tmp/s2i556277505/upload/src/run"
I1023 09:57:40.575506 22626 onbuild.go:185] Found S2I 'assemble' script, copying to application source dir
I1023 09:57:40.575657 22626 fs.go:260] F "/tmp/s2i556277505/upload/scripts/assemble" -> "/tmp/s2i556277505/upload/src/assemble"
I1023 09:57:40.575760 22626 onbuild.go:97] Creating application Dockerfile
I1023 09:57:40.576182 22626 entrypoint.go:33] Found valid ENTRYPOINT: run
I1023 09:57:40.576278 22626 environment.go:41] Setting 1 environment variables provided by environment file in sources
I1023 09:57:40.576452 22626 onbuild.go:106] Creating application source code image
I1023 09:57:40.576642 22626 onbuild.go:120] Building the application source
I1023 09:57:40.576774 22626 tar.go:217] Adding "/tmp/s2i556277505/upload/src" to tar ...
I1023 09:57:40.576817 22626 docker.go:1123] Building container using config: {Tags:[] SuppressOutput:false RemoteContext: NoCache:true Remove:true ForceRemove:true PullParent:false Isolation: CPUSetCPUs: CPUSetMems: CPUShares:0 CPUQuota:0 CPUPeriod:0 Memory:0 MemorySwap:0 CgroupParent: NetworkMode: ShmSize:0 Dockerfile: Ulimits:[] BuildArgs:map[] AuthConfigs:map[] Context:<nil> Labels:map[] Squash:false CacheFrom:[] SecurityOpt:[] ExtraHosts:[] Target: SessionID:}
I1023 09:57:40.579902 22626 tar.go:312] Adding to tar: /tmp/s2i556277505/upload/src/.gitignore as .gitignore
I1023 09:57:40.580298 22626 tar.go:312] Adding to tar: /tmp/s2i556277505/upload/src/.s2i as .s2i
I1023 09:57:40.580631 22626 tar.go:312] Adding to tar: /tmp/s2i556277505/upload/src/.s2i/bin as .s2i/bin
I1023 09:57:40.580923 22626 tar.go:312] Adding to tar: /tmp/s2i556277505/upload/src/.s2i/bin/README as .s2i/bin/README
I1023 09:57:40.581296 22626 tar.go:312] Adding to tar: /tmp/s2i556277505/upload/src/.s2i/environment as .s2i/environment
I1023 09:57:40.581677 22626 tar.go:312] Adding to tar: /tmp/s2i556277505/upload/src/.travis.yml as .travis.yml
I1023 09:57:40.582046 22626 tar.go:312] Adding to tar: /tmp/s2i556277505/upload/src/Dockerfile as Dockerfile
I1023 09:57:40.582371 22626 tar.go:312] Adding to tar: /tmp/s2i556277505/upload/src/Gemfile as Gemfile
I1023 09:57:40.582699 22626 tar.go:312] Adding to tar: /tmp/s2i556277505/upload/src/Gemfile.lock as Gemfile.lock
I1023 09:57:40.583095 22626 tar.go:312] Adding to tar: /tmp/s2i556277505/upload/src/README.md as README.md
I1023 09:57:40.583470 22626 tar.go:312] Adding to tar: /tmp/s2i556277505/upload/src/Rakefile as Rakefile
I1023 09:57:40.583843 22626 tar.go:312] Adding to tar: /tmp/s2i556277505/upload/src/app.rb as app.rb
I1023 09:57:40.584211 22626 tar.go:312] Adding to tar: /tmp/s2i556277505/upload/src/assemble as assemble
I1023 09:57:40.584573 22626 tar.go:312] Adding to tar: /tmp/s2i556277505/upload/src/config as config
I1023 09:57:40.584945 22626 tar.go:312] Adding to tar: /tmp/s2i556277505/upload/src/config/database.rb as config/database.rb
I1023 09:57:40.585362 22626 tar.go:312] Adding to tar: /tmp/s2i556277505/upload/src/config/database.yml as config/database.yml
I1023 09:57:40.585784 22626 tar.go:312] Adding to tar: /tmp/s2i556277505/upload/src/config.ru as config.ru
I1023 09:57:40.586155 22626 tar.go:312] Adding to tar: /tmp/s2i556277505/upload/src/db as db
I1023 09:57:40.586509 22626 tar.go:312] Adding to tar: /tmp/s2i556277505/upload/src/db/migrate as db/migrate
I1023 09:57:40.586902 22626 tar.go:312] Adding to tar: /tmp/s2i556277505/upload/src/db/migrate/20141102191902_create_key_pair.rb as db/migrate/20141102191902_create_key_pair.rb
I1023 09:57:40.587786 22626 tar.go:312] Adding to tar: /tmp/s2i556277505/upload/src/models.rb as models.rb
I1023 09:57:40.588156 22626 tar.go:312] Adding to tar: /tmp/s2i556277505/upload/src/run as run
I1023 09:57:40.588539 22626 tar.go:312] Adding to tar: /tmp/s2i556277505/upload/src/run.sh as run.sh
I1023 09:57:40.588883 22626 tar.go:312] Adding to tar: /tmp/s2i556277505/upload/src/test as test
I1023 09:57:40.589245 22626 tar.go:312] Adding to tar: /tmp/s2i556277505/upload/src/test/sample_test.rb as test/sample_test.rb
I1023 09:57:40.589560 22626 tar.go:312] Adding to tar: /tmp/s2i556277505/upload/src/views as views
I1023 09:57:40.589896 22626 tar.go:312] Adding to tar: /tmp/s2i556277505/upload/src/views/main.erb as views/main.erb
{"stream":"Step 1 : FROM sti_test/sti-fake-onbuild\n"}
{"stream":"\u001b[91m# Executing 2 build triggers...\n\u001b[0m"}
{"stream":"Step 1 : RUN touch /sti-fake/src/onbuild\n"}
{"stream":" ---\u003e Running in 63b57867711d\n"}
{"stream":"Step 1 : COPY . /tmp/src/\n"}
{"stream":" ---\u003e c63649c5026f\n"}
{"stream":"Removing intermediate container c073e8960d3f\n"}
{"stream":"Removing intermediate container 63b57867711d\n"}
{"stream":"Step 2 : ENV RACK_ENV \"production\"\n"}
{"stream":" ---\u003e Running in bf9153483116\n"}
{"stream":" ---\u003e a19ea374a791\n"}
{"stream":"Removing intermediate container bf9153483116\n"}
{"stream":"Step 3 : RUN sh assemble\n"}
{"stream":" ---\u003e Running in 5fb51eacf5d4\n"}
{"stream":" ---\u003e 0628a5c6bf6c\n"}
{"stream":"Removing intermediate container 5fb51eacf5d4\n"}
{"stream":"Step 4 : ENTRYPOINT ./run\n"}
{"stream":" ---\u003e Running in e33fc995e7c3\n"}
{"stream":" ---\u003e 8953dcc4e9c7\n"}
{"stream":"Removing intermediate container e33fc995e7c3\n"}
{"stream":"Successfully built 8953dcc4e9c7\n"}
I1023 09:57:48.645950 22626 onbuild.go:129] Cleaning up temporary containers
I1023 09:57:48.646002 22626 cleanup.go:33] Removing temporary directory /tmp/s2i556277505
I1023 09:57:48.646056 22626 fs.go:302] Removing directory '/tmp/s2i556277505'
--- PASS: TestCleanBuildOnBuildNoName (8.35s)
=== RUN TestCleanBuildNoName
I1023 09:57:48.661060 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:57:48.667320 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:57:48.667383 22626 docker.go:718] Image sha256:a1f6bf1e1a111c7f8257166efaa9a161f42805b7e01b228abc4be86abf4f4b90 contains io.openshift.s2i.scripts-url set to "http://127.0.0.1:23456/.s2i/bin"
I1023 09:57:48.667453 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
I1023 09:57:48.667568 22626 sti.go:204] Preparing to build
I1023 09:57:48.668001 22626 clone.go:36] Downloading "https://github.com/openshift/ruby-hello-world" ...
I1023 09:57:48.668063 22626 clone.go:40] Cloning sources into "/tmp/s2i008438892/upload/src"
I1023 09:57:48.889971 22626 clone.go:56] Checked out "HEAD"
I1023 09:57:48.915078 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:57:48.934805 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/assemble'
I1023 09:57:48.934936 22626 install.go:261] Using "assemble" installed from "http://127.0.0.1:23456/.s2i/bin/assemble"
I1023 09:57:48.936379 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/run'
I1023 09:57:48.936482 22626 install.go:261] Using "run" installed from "http://127.0.0.1:23456/.s2i/bin/run"
I1023 09:57:48.937868 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/save-artifacts'
I1023 09:57:48.937970 22626 install.go:261] Using "save-artifacts" installed from "http://127.0.0.1:23456/.s2i/bin/save-artifacts"
I1023 09:57:48.938067 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:57:48.938105 22626 sti.go:213] Clean build will be performed
I1023 09:57:48.938164 22626 sti.go:216] Performing source build from https://github.com/openshift/ruby-hello-world
I1023 09:57:48.938218 22626 sti.go:227] Running "assemble" in ""
I1023 09:57:48.938271 22626 sti.go:573] Using image name sti_test/sti-fake
I1023 09:57:48.940832 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:57:48.940928 22626 environment.go:41] Setting 1 environment variables provided by environment file in sources
I1023 09:57:48.941206 22626 sti.go:691] starting the source uploading ...
I1023 09:57:48.941295 22626 tar.go:217] Adding "/tmp/s2i008438892/upload" to tar ...
I1023 09:57:48.941636 22626 tar.go:312] Adding to tar: /tmp/s2i008438892/upload/scripts as scripts
I1023 09:57:48.945436 22626 docker.go:781] Both scripts and untarred source will be placed in '/tmp'
I1023 09:57:48.945531 22626 docker.go:949] Setting "/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble" command for container ...
I1023 09:57:48.945825 22626 docker.go:958] Creating container with options {Name:"s2i_sti_test_sti_fake_d04ab55f" Config:{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:true StdinOnce:true Env:[RACK_ENV=production] Cmd:[/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble] Healthcheck:<nil> ArgsEscaped:false Image:sti_test/sti-fake:latest Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} HostConfig:&{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode: PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] CapAdd:[] CapDrop:[] DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:67108864 Sysctls:map[] Runtime: ConsoleSize:[0 0] Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DiskQuota:0 KernelMemory:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:0 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[] Init:<nil>}} ...
I1023 09:57:49.452797 22626 docker.go:990] Attaching to container "52d9105b177ca34ea98b0c80c656a7612a9ab678369b4c769d8c1f6661dabe4e" ...
I1023 09:57:49.454310 22626 docker.go:1001] Starting container "52d9105b177ca34ea98b0c80c656a7612a9ab678369b4c769d8c1f6661dabe4e" ...
I1023 09:57:49.772613 22626 tar.go:312] Adding to tar: /tmp/s2i008438892/upload/scripts/assemble as scripts/assemble
I1023 09:57:49.772907 22626 tar.go:312] Adding to tar: /tmp/s2i008438892/upload/scripts/run as scripts/run
I1023 09:57:49.773301 22626 tar.go:312] Adding to tar: /tmp/s2i008438892/upload/scripts/save-artifacts as scripts/save-artifacts
I1023 09:57:49.773611 22626 tar.go:312] Adding to tar: /tmp/s2i008438892/upload/src as src
I1023 09:57:49.776913 22626 tar.go:312] Adding to tar: /tmp/s2i008438892/upload/src/.gitignore as src/.gitignore
I1023 09:57:49.777212 22626 tar.go:312] Adding to tar: /tmp/s2i008438892/upload/src/.s2i as src/.s2i
I1023 09:57:49.777498 22626 tar.go:312] Adding to tar: /tmp/s2i008438892/upload/src/.s2i/bin as src/.s2i/bin
I1023 09:57:49.777765 22626 tar.go:312] Adding to tar: /tmp/s2i008438892/upload/src/.s2i/bin/README as src/.s2i/bin/README
I1023 09:57:49.778105 22626 tar.go:312] Adding to tar: /tmp/s2i008438892/upload/src/.s2i/environment as src/.s2i/environment
I1023 09:57:49.778441 22626 tar.go:312] Adding to tar: /tmp/s2i008438892/upload/src/.travis.yml as src/.travis.yml
I1023 09:57:49.778789 22626 tar.go:312] Adding to tar: /tmp/s2i008438892/upload/src/Dockerfile as src/Dockerfile
I1023 09:57:49.779115 22626 tar.go:312] Adding to tar: /tmp/s2i008438892/upload/src/Gemfile as src/Gemfile
I1023 09:57:49.779438 22626 tar.go:312] Adding to tar: /tmp/s2i008438892/upload/src/Gemfile.lock as src/Gemfile.lock
I1023 09:57:49.779779 22626 tar.go:312] Adding to tar: /tmp/s2i008438892/upload/src/README.md as src/README.md
I1023 09:57:49.780147 22626 tar.go:312] Adding to tar: /tmp/s2i008438892/upload/src/Rakefile as src/Rakefile
I1023 09:57:49.780480 22626 tar.go:312] Adding to tar: /tmp/s2i008438892/upload/src/app.rb as src/app.rb
I1023 09:57:49.780811 22626 tar.go:312] Adding to tar: /tmp/s2i008438892/upload/src/config as src/config
I1023 09:57:49.781152 22626 tar.go:312] Adding to tar: /tmp/s2i008438892/upload/src/config/database.rb as src/config/database.rb
I1023 09:57:49.781491 22626 tar.go:312] Adding to tar: /tmp/s2i008438892/upload/src/config/database.yml as src/config/database.yml
I1023 09:57:49.781783 22626 tar.go:312] Adding to tar: /tmp/s2i008438892/upload/src/config.ru as src/config.ru
I1023 09:57:49.782053 22626 tar.go:312] Adding to tar: /tmp/s2i008438892/upload/src/db as src/db
I1023 09:57:49.782301 22626 tar.go:312] Adding to tar: /tmp/s2i008438892/upload/src/db/migrate as src/db/migrate
I1023 09:57:49.782653 22626 tar.go:312] Adding to tar: /tmp/s2i008438892/upload/src/db/migrate/20141102191902_create_key_pair.rb as src/db/migrate/20141102191902_create_key_pair.rb
I1023 09:57:49.782991 22626 tar.go:312] Adding to tar: /tmp/s2i008438892/upload/src/models.rb as src/models.rb
I1023 09:57:49.783306 22626 tar.go:312] Adding to tar: /tmp/s2i008438892/upload/src/run.sh as src/run.sh
I1023 09:57:49.783598 22626 tar.go:312] Adding to tar: /tmp/s2i008438892/upload/src/test as src/test
I1023 09:57:49.783852 22626 tar.go:312] Adding to tar: /tmp/s2i008438892/upload/src/test/sample_test.rb as src/test/sample_test.rb
I1023 09:57:49.784120 22626 tar.go:312] Adding to tar: /tmp/s2i008438892/upload/src/views as src/views
I1023 09:57:49.784431 22626 tar.go:312] Adding to tar: /tmp/s2i008438892/upload/src/views/main.erb as src/views/main.erb
I1023 09:57:49.837746 22626 docker.go:1032] Waiting for container "52d9105b177ca34ea98b0c80c656a7612a9ab678369b4c769d8c1f6661dabe4e" to stop ...
I1023 09:57:49.982677 22626 docker.go:1057] Invoking PostExecute function
I1023 09:57:49.982742 22626 postexecutorstep.go:68] Skipping step: store previous image
I1023 09:57:49.982771 22626 postexecutorstep.go:117] Executing step: commit image
I1023 09:57:49.985151 22626 postexecutorstep.go:522] Checking for new Labels to apply...
I1023 09:57:49.985209 22626 postexecutorstep.go:530] Creating the download path '/tmp/s2i008438892/metadata'
I1023 09:57:49.985358 22626 postexecutorstep.go:464] Downloading file "/tmp/.s2i/image_metadata.json"
I1023 09:57:50.142195 22626 tar.go:376] Creating directory /tmp/s2i008438892/metadata
I1023 09:57:50.142275 22626 tar.go:444] Creating /tmp/s2i008438892/metadata/image_metadata.json
I1023 09:57:50.142451 22626 tar.go:454] Extracting/writing /tmp/s2i008438892/metadata/image_metadata.json
I1023 09:57:50.142617 22626 tar.go:400] Done extracting tar stream
I1023 09:57:50.142730 22626 postexecutorstep.go:555] new Labels File contents :
{
"labels": [
{"testLabel": "testLabel_value"}
]
}
I1023 09:57:50.147368 22626 docker.go:1091] Committing container with dockerOpts: {Reference: Comment: Author: Changes:[] Pause:false Config:0xc42022e280}, config: {Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[RACK_ENV=production] Cmd:[/tmp/scripts/run] Healthcheck:<nil> ArgsEscaped:false Image: Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[io.openshift.s2i.build.commit.date:Fri Feb 9 18:24:07 2018 -0500 io.openshift.s2i.build.commit.ref:master io.openshift.s2i.build.commit.message:Merge pull request #71 from bparees/gemfile2 io.openshift.s2i.scripts-url:http://127.0.0.1:23456/.s2i/bin io.openshift.s2i.build.commit.id:7ccd3242c49c3868195ca9400a539fa611111096 io.openshift.s2i.build.source-location:https://github.com/openshift/ruby-hello-world io.openshift.s2i.build.image:sti_test/sti-fake io.openshift.s2i.build.commit.author:Ben Parees <bparees@users.noreply.github.com> testLabel:testLabel_value] StopSignal: StopTimeout:<nil> Shell:[]}
I1023 09:57:50.886921 22626 postexecutorstep.go:392] Executing step: report success
I1023 09:57:50.886991 22626 postexecutorstep.go:397] Successfully built sha256:bfc34b87c4d2bf6fc926dcb5967b5004512b43d7cfef455262d79fad70e2d731
I1023 09:57:50.887023 22626 postexecutorstep.go:93] Skipping step: remove previous image
I1023 09:57:50.887120 22626 docker.go:968] Removing container "52d9105b177ca34ea98b0c80c656a7612a9ab678369b4c769d8c1f6661dabe4e" ...
I1023 09:57:50.902647 22626 docker.go:978] Removed container "52d9105b177ca34ea98b0c80c656a7612a9ab678369b4c769d8c1f6661dabe4e"
I1023 09:57:50.902919 22626 cleanup.go:33] Removing temporary directory /tmp/s2i008438892
I1023 09:57:50.902961 22626 fs.go:302] Removing directory '/tmp/s2i008438892'
--- PASS: TestCleanBuildNoName (2.25s)
=== RUN TestLayeredBuildNoTarNoName
I1023 09:57:50.913635 22626 docker.go:487] Using locally available image "sti_test/sti-fake-no-tar:latest"
I1023 09:57:50.919749 22626 docker.go:487] Using locally available image "sti_test/sti-fake-no-tar:latest"
I1023 09:57:50.919799 22626 docker.go:716] warning: Image sha256:501a94f641d8bd16f9274d68c10cc1efea426537c1d3cc0161abd82ed47818fc does not contain a value for the io.openshift.s2i.scripts-url label
I1023 09:57:50.919860 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
I1023 09:57:50.919968 22626 sti.go:204] Preparing to build
I1023 09:57:50.920399 22626 clone.go:36] Downloading "https://github.com/openshift/ruby-hello-world" ...
I1023 09:57:50.920458 22626 clone.go:40] Cloning sources into "/tmp/s2i900074622/upload/src"
I1023 09:57:51.135889 22626 clone.go:56] Checked out "HEAD"
I1023 09:57:51.160611 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:57:51.179183 22626 download.go:77] Downloaded 'file:///data/src/github.com/openshift/source-to-image/_output/local/go/src/github.com/openshift/source-to-image/test/integration/scripts/.s2i/bin/assemble'
I1023 09:57:51.179346 22626 install.go:261] Using "assemble" installed from "file:///data/src/github.com/openshift/source-to-image/_output/local/go/src/github.com/openshift/source-to-image/test/integration/scripts/.s2i/bin/assemble"
I1023 09:57:51.179560 22626 download.go:77] Downloaded 'file:///data/src/github.com/openshift/source-to-image/_output/local/go/src/github.com/openshift/source-to-image/test/integration/scripts/.s2i/bin/run'
I1023 09:57:51.179698 22626 install.go:261] Using "run" installed from "file:///data/src/github.com/openshift/source-to-image/_output/local/go/src/github.com/openshift/source-to-image/test/integration/scripts/.s2i/bin/run"
I1023 09:57:51.179926 22626 download.go:77] Downloaded 'file:///data/src/github.com/openshift/source-to-image/_output/local/go/src/github.com/openshift/source-to-image/test/integration/scripts/.s2i/bin/save-artifacts'
I1023 09:57:51.180099 22626 install.go:261] Using "save-artifacts" installed from "file:///data/src/github.com/openshift/source-to-image/_output/local/go/src/github.com/openshift/source-to-image/test/integration/scripts/.s2i/bin/save-artifacts"
I1023 09:57:51.180196 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:57:51.180246 22626 sti.go:213] Clean build will be performed
I1023 09:57:51.180306 22626 sti.go:216] Performing source build from https://github.com/openshift/ruby-hello-world
I1023 09:57:51.180368 22626 sti.go:227] Running "assemble" in ""
I1023 09:57:51.180411 22626 sti.go:573] Using image name sti_test/sti-fake-no-tar
I1023 09:57:51.182997 22626 docker.go:487] Using locally available image "sti_test/sti-fake-no-tar:latest"
I1023 09:57:51.183125 22626 environment.go:41] Setting 1 environment variables provided by environment file in sources
I1023 09:57:51.183305 22626 sti.go:691] starting the source uploading ...
I1023 09:57:51.183374 22626 tar.go:217] Adding "/tmp/s2i900074622/upload" to tar ...
I1023 09:57:51.183731 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/scripts as scripts
I1023 09:57:51.187700 22626 docker.go:781] Both scripts and untarred source will be placed in '/tmp'
I1023 09:57:51.187792 22626 docker.go:949] Setting "/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble" command for container ...
I1023 09:57:51.188128 22626 docker.go:958] Creating container with options {Name:"s2i_sti_test_sti_fake_no_tar_36d9ff45" Config:{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:true StdinOnce:true Env:[RACK_ENV=production] Cmd:[/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble] Healthcheck:<nil> ArgsEscaped:false Image:sti_test/sti-fake-no-tar:latest Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} HostConfig:&{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode: PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] CapAdd:[] CapDrop:[] DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:67108864 Sysctls:map[] Runtime: ConsoleSize:[0 0] Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DiskQuota:0 KernelMemory:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:0 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[] Init:<nil>}} ...
I1023 09:57:51.706699 22626 docker.go:990] Attaching to container "c232bf5788a9197dbd9011ce4030625a2399fe6f81bf9b46409f374ef489b776" ...
I1023 09:57:51.709068 22626 docker.go:1001] Starting container "c232bf5788a9197dbd9011ce4030625a2399fe6f81bf9b46409f374ef489b776" ...
I1023 09:57:52.009750 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/scripts/assemble as scripts/assemble
I1023 09:57:52.010000 22626 sti.go:703] /bin/sh: tar: not found
I1023 09:57:52.010342 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/scripts/run as scripts/run
I1023 09:57:52.010741 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/scripts/save-artifacts as scripts/save-artifacts
I1023 09:57:52.011098 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src as src
I1023 09:57:52.014590 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/.gitignore as src/.gitignore
I1023 09:57:52.014847 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/.s2i as src/.s2i
I1023 09:57:52.015102 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/.s2i/bin as src/.s2i/bin
I1023 09:57:52.015349 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/.s2i/bin/README as src/.s2i/bin/README
I1023 09:57:52.015631 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/.s2i/environment as src/.s2i/environment
I1023 09:57:52.015907 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/.travis.yml as src/.travis.yml
I1023 09:57:52.016204 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/Dockerfile as src/Dockerfile
I1023 09:57:52.016468 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/Gemfile as src/Gemfile
I1023 09:57:52.016745 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/Gemfile.lock as src/Gemfile.lock
I1023 09:57:52.017009 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/README.md as src/README.md
I1023 09:57:52.017286 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/Rakefile as src/Rakefile
I1023 09:57:52.017559 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/app.rb as src/app.rb
I1023 09:57:52.017821 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/config as src/config
I1023 09:57:52.018122 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/config/database.rb as src/config/database.rb
I1023 09:57:52.018412 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/config/database.yml as src/config/database.yml
I1023 09:57:52.018697 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/config.ru as src/config.ru
I1023 09:57:52.019254 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/db as src/db
I1023 09:57:52.019612 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/db/migrate as src/db/migrate
I1023 09:57:52.020094 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/db/migrate/20141102191902_create_key_pair.rb as src/db/migrate/20141102191902_create_key_pair.rb
I1023 09:57:52.020460 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/models.rb as src/models.rb
I1023 09:57:52.020826 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/run.sh as src/run.sh
I1023 09:57:52.021207 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/test as src/test
I1023 09:57:52.021590 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/test/sample_test.rb as src/test/sample_test.rb
I1023 09:57:52.021928 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/views as src/views
I1023 09:57:52.022313 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/views/main.erb as src/views/main.erb
I1023 09:57:52.050205 22626 docker.go:1032] Waiting for container "c232bf5788a9197dbd9011ce4030625a2399fe6f81bf9b46409f374ef489b776" to stop ...
I1023 09:57:52.165895 22626 docker.go:968] Removing container "c232bf5788a9197dbd9011ce4030625a2399fe6f81bf9b46409f374ef489b776" ...
I1023 09:57:52.180297 22626 docker.go:978] Removed container "c232bf5788a9197dbd9011ce4030625a2399fe6f81bf9b46409f374ef489b776"
I1023 09:57:52.180854 22626 sti.go:232] Image is missing basic requirements (sh or tar), layered build will be performed
I1023 09:57:52.183083 22626 layered.go:103] The scripts are included in "/tmp/s2i900074622/upload/scripts" directory
I1023 09:57:52.183276 22626 layered.go:127] Writing custom Dockerfile to /tmp/s2i900074622/upload
I1023 09:57:52.183313 22626 layered.go:160] Creating application source code image
I1023 09:57:52.183524 22626 layered.go:175] Building new image s2i-layered-temp-image-1540303072183435232 with scripts and sources already inside
I1023 09:57:52.183665 22626 docker.go:1123] Building container using config: {Tags:[s2i-layered-temp-image-1540303072183435232] SuppressOutput:false RemoteContext: NoCache:true Remove:true ForceRemove:true PullParent:false Isolation: CPUSetCPUs: CPUSetMems: CPUShares:0 CPUQuota:0 CPUPeriod:0 Memory:0 MemorySwap:0 CgroupParent: NetworkMode: ShmSize:0 Dockerfile: Ulimits:[] BuildArgs:map[] AuthConfigs:map[] Context:<nil> Labels:map[] Squash:false CacheFrom:[] SecurityOpt:[] ExtraHosts:[] Target: SessionID:}
I1023 09:57:52.183684 22626 tar.go:217] Adding "/tmp/s2i900074622/upload" to tar ...
I1023 09:57:52.184053 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/Dockerfile as Dockerfile
I1023 09:57:52.184505 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/scripts as scripts
I1023 09:57:52.184883 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/scripts/assemble as scripts/assemble
I1023 09:57:52.185270 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/scripts/run as scripts/run
I1023 09:57:52.185686 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/scripts/save-artifacts as scripts/save-artifacts
I1023 09:57:52.185998 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src as src
I1023 09:57:52.190328 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/.gitignore as src/.gitignore
I1023 09:57:52.190646 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/.s2i as src/.s2i
I1023 09:57:52.190965 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/.s2i/bin as src/.s2i/bin
I1023 09:57:52.191287 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/.s2i/bin/README as src/.s2i/bin/README
I1023 09:57:52.191625 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/.s2i/environment as src/.s2i/environment
I1023 09:57:52.192000 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/.travis.yml as src/.travis.yml
I1023 09:57:52.192386 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/Dockerfile as src/Dockerfile
I1023 09:57:52.192746 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/Gemfile as src/Gemfile
I1023 09:57:52.193153 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/Gemfile.lock as src/Gemfile.lock
I1023 09:57:52.193534 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/README.md as src/README.md
I1023 09:57:52.193893 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/Rakefile as src/Rakefile
I1023 09:57:52.195005 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/app.rb as src/app.rb
I1023 09:57:52.195418 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/config as src/config
I1023 09:57:52.195770 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/config/database.rb as src/config/database.rb
I1023 09:57:52.196163 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/config/database.yml as src/config/database.yml
I1023 09:57:52.196555 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/config.ru as src/config.ru
I1023 09:57:52.196924 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/db as src/db
I1023 09:57:52.197297 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/db/migrate as src/db/migrate
I1023 09:57:52.197692 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/db/migrate/20141102191902_create_key_pair.rb as src/db/migrate/20141102191902_create_key_pair.rb
I1023 09:57:52.198059 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/models.rb as src/models.rb
I1023 09:57:52.198437 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/run.sh as src/run.sh
I1023 09:57:52.198787 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/test as src/test
I1023 09:57:52.199150 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/test/sample_test.rb as src/test/sample_test.rb
I1023 09:57:52.199465 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/views as src/views
I1023 09:57:52.199805 22626 tar.go:312] Adding to tar: /tmp/s2i900074622/upload/src/views/main.erb as src/views/main.erb
I1023 09:57:52.209765 22626 layered.go:173] {"stream":"Step 1 : FROM sti_test/sti-fake-no-tar\n"}
I1023 09:57:52.209863 22626 layered.go:173] {"stream":" ---\u003e 501a94f641d8\n"}
I1023 09:57:52.209906 22626 layered.go:173] {"stream":"Step 2 : COPY scripts /tmp/scripts\n"}
I1023 09:57:53.706327 22626 layered.go:173] {"stream":" ---\u003e 74dc7a675c6d\n"}
I1023 09:57:53.718355 22626 layered.go:173] {"stream":"Removing intermediate container 41187d466c91\n"}
I1023 09:57:53.718446 22626 layered.go:173] {"stream":"Step 3 : COPY src /tmp/src\n"}
I1023 09:57:55.362292 22626 layered.go:173] {"stream":" ---\u003e be104ed3a790\n"}
I1023 09:57:55.374071 22626 layered.go:173] {"stream":"Removing intermediate container 1d99ddcda333\n"}
I1023 09:57:55.376503 22626 layered.go:173] {"stream":"Successfully built be104ed3a790\n"}
I1023 09:57:55.378216 22626 layered.go:193] Scripts dir has contents true
I1023 09:57:55.378267 22626 layered.go:208] Building using sti-enabled image
I1023 09:57:55.378318 22626 sti.go:573] Using image name s2i-layered-temp-image-1540303072183435232
I1023 09:57:55.380728 22626 docker.go:487] Using locally available image "s2i-layered-temp-image-1540303072183435232:latest"
I1023 09:57:55.380840 22626 environment.go:41] Setting 1 environment variables provided by environment file in sources
I1023 09:57:55.385314 22626 docker.go:793] Base directory for S2I scripts is '/tmp/scripts'. Untarring destination is '/tmp'.
I1023 09:57:55.385368 22626 docker.go:949] Setting "/tmp/scripts/assemble" command for container ...
I1023 09:57:55.385628 22626 docker.go:958] Creating container with options {Name:"s2i_s2i_layered_temp_image_1540303072183435232_6172bfe3" Config:{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[RACK_ENV=production] Cmd:[/tmp/scripts/assemble] Healthcheck:<nil> ArgsEscaped:false Image:s2i-layered-temp-image-1540303072183435232:latest Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} HostConfig:&{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode: PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] CapAdd:[] CapDrop:[] DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:67108864 Sysctls:map[] Runtime: ConsoleSize:[0 0] Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DiskQuota:0 KernelMemory:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:0 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[] Init:<nil>}} ...
I1023 09:57:55.766988 22626 docker.go:990] Attaching to container "eb712573f4da251380623b15f139794dcdc48188d0e927665856826a0a8f9629" ...
I1023 09:57:55.768463 22626 docker.go:1001] Starting container "eb712573f4da251380623b15f139794dcdc48188d0e927665856826a0a8f9629" ...
I1023 09:57:56.130737 22626 docker.go:1032] Waiting for container "eb712573f4da251380623b15f139794dcdc48188d0e927665856826a0a8f9629" to stop ...
I1023 09:57:56.274555 22626 docker.go:1057] Invoking PostExecute function
I1023 09:57:56.274605 22626 postexecutorstep.go:68] Skipping step: store previous image
I1023 09:57:56.274637 22626 postexecutorstep.go:117] Executing step: commit image
I1023 09:57:56.276905 22626 postexecutorstep.go:522] Checking for new Labels to apply...
I1023 09:57:56.276968 22626 postexecutorstep.go:530] Creating the download path '/tmp/s2i900074622/metadata'
I1023 09:57:56.277145 22626 postexecutorstep.go:464] Downloading file "/tmp/.s2i/image_metadata.json"
I1023 09:57:56.432148 22626 tar.go:376] Creating directory /tmp/s2i900074622/metadata
I1023 09:57:56.432226 22626 tar.go:444] Creating /tmp/s2i900074622/metadata/image_metadata.json
I1023 09:57:56.432413 22626 tar.go:454] Extracting/writing /tmp/s2i900074622/metadata/image_metadata.json
I1023 09:57:56.432578 22626 tar.go:400] Done extracting tar stream
I1023 09:57:56.432730 22626 postexecutorstep.go:555] new Labels File contents :
{
"labels": [
{"testLabel": "testLabel_value"}
]
}
I1023 09:57:56.437126 22626 docker.go:1091] Committing container with dockerOpts: {Reference: Comment: Author: Changes:[] Pause:false Config:0xc42046f540}, config: {Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[RACK_ENV=production] Cmd:[/tmp/scripts/run] Healthcheck:<nil> ArgsEscaped:false Image: Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[io.openshift.s2i.build.source-location:https://github.com/openshift/ruby-hello-world testLabel:testLabel_value io.openshift.s2i.build.image:s2i-layered-temp-image-1540303072183435232 io.openshift.s2i.build.commit.author:Ben Parees <bparees@users.noreply.github.com> io.openshift.s2i.build.commit.date:Fri Feb 9 18:24:07 2018 -0500 io.openshift.s2i.build.commit.id:7ccd3242c49c3868195ca9400a539fa611111096 io.openshift.s2i.build.commit.ref:master io.openshift.s2i.build.commit.message:Merge pull request #71 from bparees/gemfile2] StopSignal: StopTimeout:<nil> Shell:[]}
I1023 09:57:57.523912 22626 postexecutorstep.go:392] Executing step: report success
I1023 09:57:57.523975 22626 postexecutorstep.go:397] Successfully built sha256:1031e6bae228a2e6c651e17db0200ffa3982f9eb8a444999a5121da15238e0f3
I1023 09:57:57.524010 22626 postexecutorstep.go:93] Skipping step: remove previous image
I1023 09:57:57.524761 22626 docker.go:968] Removing container "eb712573f4da251380623b15f139794dcdc48188d0e927665856826a0a8f9629" ...
I1023 09:57:57.539706 22626 docker.go:978] Removed container "eb712573f4da251380623b15f139794dcdc48188d0e927665856826a0a8f9629"
I1023 09:57:57.539883 22626 cleanup.go:33] Removing temporary directory /tmp/s2i900074622
I1023 09:57:57.539923 22626 fs.go:302] Removing directory '/tmp/s2i900074622'
I1023 09:57:57.542327 22626 cleanup.go:42] Removing temporary image s2i-layered-temp-image-1540303072183435232
--- PASS: TestLayeredBuildNoTarNoName (6.64s)
=== RUN TestAllowedUIDsNamedUser
I1023 09:57:57.559202 22626 docker.go:487] Using locally available image "sti_test/sti-fake-user:latest"
--- PASS: TestAllowedUIDsNamedUser (0.02s)
=== RUN TestAllowedUIDsNumericUser
I1023 09:57:57.573002 22626 docker.go:487] Using locally available image "sti_test/sti-fake-numericuser:latest"
I1023 09:57:57.583340 22626 docker.go:487] Using locally available image "sti_test/sti-fake-numericuser:latest"
I1023 09:57:57.583400 22626 docker.go:718] Image sha256:1ec469463781d45a56c9bf1ab8fc7c9e9577f920742d4db326e19170f06b88ca contains io.openshift.s2i.scripts-url set to "http://127.0.0.1:23456/.s2i/bin"
I1023 09:57:57.583458 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
--- PASS: TestAllowedUIDsNumericUser (0.02s)
=== RUN TestAllowedUIDsOnBuildRootUser
I1023 09:57:57.591686 22626 docker.go:487] Using locally available image "sti_test/sti-fake-onbuild-rootuser:latest"
--- PASS: TestAllowedUIDsOnBuildRootUser (0.01s)
=== RUN TestAllowedUIDsOnBuildNumericUser
I1023 09:57:57.602919 22626 docker.go:487] Using locally available image "sti_test/sti-fake-onbuild-numericuser:latest"
I1023 09:57:57.615816 22626 docker.go:487] Using locally available image "sti_test/sti-fake-onbuild-numericuser:latest"
I1023 09:57:57.615876 22626 docker.go:718] Image sha256:0de022dfd2b3de99465d73c919d4bfb4c0a1ea588805986c28d102b43a15c268 contains io.openshift.s2i.scripts-url set to "http://127.0.0.1:23456/.s2i/bin"
I1023 09:57:57.615942 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
I1023 09:57:57.616071 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
--- PASS: TestAllowedUIDsOnBuildNumericUser (0.02s)
=== RUN TestAllowedUIDsAssembleRoot
I1023 09:57:57.623709 22626 docker.go:487] Using locally available image "sti_test/sti-fake-assemble-root:latest"
--- PASS: TestAllowedUIDsAssembleRoot (0.01s)
=== RUN TestAllowedUIDsAssembleUser
I1023 09:57:57.636000 22626 docker.go:487] Using locally available image "sti_test/sti-fake-assemble-user:latest"
I1023 09:57:57.644539 22626 docker.go:487] Using locally available image "sti_test/sti-fake-assemble-user:latest"
I1023 09:57:57.644599 22626 docker.go:718] Image sha256:13e09c7f088bec4a4b71f7bfd6f8d529e0542efd1b76201b416eb7a959497b93 contains io.openshift.s2i.scripts-url set to "http://127.0.0.1:23456/.s2i/bin"
--- PASS: TestAllowedUIDsAssembleUser (0.02s)
=== RUN TestIncrementalBuildAndRemovePreviousImage
I1023 09:57:57.644677 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
I1023 09:57:57.652583 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:57:57.658742 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:57:57.658801 22626 docker.go:718] Image sha256:a1f6bf1e1a111c7f8257166efaa9a161f42805b7e01b228abc4be86abf4f4b90 contains io.openshift.s2i.scripts-url set to "http://127.0.0.1:23456/.s2i/bin"
I1023 09:57:57.658855 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
I1023 09:57:57.658964 22626 sti.go:204] Preparing to build test/sti-incremental-app
I1023 09:57:57.659433 22626 clone.go:36] Downloading "https://github.com/openshift/ruby-hello-world" ...
I1023 09:57:57.659482 22626 clone.go:40] Cloning sources into "/tmp/s2i811656800/upload/src"
I1023 09:57:57.878837 22626 clone.go:56] Checked out "HEAD"
I1023 09:57:57.902955 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:57:57.922316 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/assemble'
I1023 09:57:57.922430 22626 install.go:261] Using "assemble" installed from "http://127.0.0.1:23456/.s2i/bin/assemble"
I1023 09:57:57.923901 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/run'
I1023 09:57:57.924004 22626 install.go:261] Using "run" installed from "http://127.0.0.1:23456/.s2i/bin/run"
I1023 09:57:57.925462 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/save-artifacts'
I1023 09:57:57.925572 22626 install.go:261] Using "save-artifacts" installed from "http://127.0.0.1:23456/.s2i/bin/save-artifacts"
I1023 09:57:57.925650 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:57:57.925692 22626 sti.go:213] Clean build will be performed
I1023 09:57:57.925744 22626 sti.go:216] Performing source build from https://github.com/openshift/ruby-hello-world
I1023 09:57:57.925799 22626 sti.go:227] Running "assemble" in "test/sti-incremental-app"
I1023 09:57:57.925842 22626 sti.go:573] Using image name sti_test/sti-fake
I1023 09:57:57.928441 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:57:57.928541 22626 environment.go:41] Setting 1 environment variables provided by environment file in sources
I1023 09:57:57.928724 22626 sti.go:691] starting the source uploading ...
I1023 09:57:57.928794 22626 tar.go:217] Adding "/tmp/s2i811656800/upload" to tar ...
I1023 09:57:57.929119 22626 tar.go:312] Adding to tar: /tmp/s2i811656800/upload/scripts as scripts
I1023 09:57:57.933233 22626 docker.go:781] Both scripts and untarred source will be placed in '/tmp'
I1023 09:57:57.933326 22626 docker.go:949] Setting "/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble" command for container ...
I1023 09:57:57.933627 22626 docker.go:958] Creating container with options {Name:"s2i_sti_test_sti_fake_516c42b0" Config:{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:true StdinOnce:true Env:[RACK_ENV=production] Cmd:[/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble] Healthcheck:<nil> ArgsEscaped:false Image:sti_test/sti-fake:latest Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} HostConfig:&{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode: PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] CapAdd:[] CapDrop:[] DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:67108864 Sysctls:map[] Runtime: ConsoleSize:[0 0] Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DiskQuota:0 KernelMemory:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:0 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[] Init:<nil>}} ...
I1023 09:57:58.301943 22626 docker.go:990] Attaching to container "20d054d9ef6dd2610d3614edba5fc42864505bf3aed3fd6ee14a5c7b465caf0e" ...
I1023 09:57:58.304373 22626 docker.go:1001] Starting container "20d054d9ef6dd2610d3614edba5fc42864505bf3aed3fd6ee14a5c7b465caf0e" ...
I1023 09:57:58.608138 22626 tar.go:312] Adding to tar: /tmp/s2i811656800/upload/scripts/assemble as scripts/assemble
I1023 09:57:58.608474 22626 tar.go:312] Adding to tar: /tmp/s2i811656800/upload/scripts/run as scripts/run
I1023 09:57:58.608780 22626 tar.go:312] Adding to tar: /tmp/s2i811656800/upload/scripts/save-artifacts as scripts/save-artifacts
I1023 09:57:58.609082 22626 tar.go:312] Adding to tar: /tmp/s2i811656800/upload/src as src
I1023 09:57:58.612172 22626 tar.go:312] Adding to tar: /tmp/s2i811656800/upload/src/.gitignore as src/.gitignore
I1023 09:57:58.612471 22626 tar.go:312] Adding to tar: /tmp/s2i811656800/upload/src/.s2i as src/.s2i
I1023 09:57:58.612779 22626 tar.go:312] Adding to tar: /tmp/s2i811656800/upload/src/.s2i/bin as src/.s2i/bin
I1023 09:57:58.613107 22626 tar.go:312] Adding to tar: /tmp/s2i811656800/upload/src/.s2i/bin/README as src/.s2i/bin/README
I1023 09:57:58.613448 22626 tar.go:312] Adding to tar: /tmp/s2i811656800/upload/src/.s2i/environment as src/.s2i/environment
I1023 09:57:58.613758 22626 tar.go:312] Adding to tar: /tmp/s2i811656800/upload/src/.travis.yml as src/.travis.yml
I1023 09:57:58.614105 22626 tar.go:312] Adding to tar: /tmp/s2i811656800/upload/src/Dockerfile as src/Dockerfile
I1023 09:57:58.614457 22626 tar.go:312] Adding to tar: /tmp/s2i811656800/upload/src/Gemfile as src/Gemfile
I1023 09:57:58.614777 22626 tar.go:312] Adding to tar: /tmp/s2i811656800/upload/src/Gemfile.lock as src/Gemfile.lock
I1023 09:57:58.615095 22626 tar.go:312] Adding to tar: /tmp/s2i811656800/upload/src/README.md as src/README.md
I1023 09:57:58.615431 22626 tar.go:312] Adding to tar: /tmp/s2i811656800/upload/src/Rakefile as src/Rakefile
I1023 09:57:58.615752 22626 tar.go:312] Adding to tar: /tmp/s2i811656800/upload/src/app.rb as src/app.rb
I1023 09:57:58.616148 22626 tar.go:312] Adding to tar: /tmp/s2i811656800/upload/src/config as src/config
I1023 09:57:58.616484 22626 tar.go:312] Adding to tar: /tmp/s2i811656800/upload/src/config/database.rb as src/config/database.rb
I1023 09:57:58.616790 22626 tar.go:312] Adding to tar: /tmp/s2i811656800/upload/src/config/database.yml as src/config/database.yml
I1023 09:57:58.617141 22626 tar.go:312] Adding to tar: /tmp/s2i811656800/upload/src/config.ru as src/config.ru
I1023 09:57:58.617445 22626 tar.go:312] Adding to tar: /tmp/s2i811656800/upload/src/db as src/db
I1023 09:57:58.617723 22626 tar.go:312] Adding to tar: /tmp/s2i811656800/upload/src/db/migrate as src/db/migrate
I1023 09:57:58.618079 22626 tar.go:312] Adding to tar: /tmp/s2i811656800/upload/src/db/migrate/20141102191902_create_key_pair.rb as src/db/migrate/20141102191902_create_key_pair.rb
I1023 09:57:58.618439 22626 tar.go:312] Adding to tar: /tmp/s2i811656800/upload/src/models.rb as src/models.rb
I1023 09:57:58.618741 22626 tar.go:312] Adding to tar: /tmp/s2i811656800/upload/src/run.sh as src/run.sh
I1023 09:57:58.619100 22626 tar.go:312] Adding to tar: /tmp/s2i811656800/upload/src/test as src/test
I1023 09:57:58.619424 22626 tar.go:312] Adding to tar: /tmp/s2i811656800/upload/src/test/sample_test.rb as src/test/sample_test.rb
I1023 09:57:58.619734 22626 tar.go:312] Adding to tar: /tmp/s2i811656800/upload/src/views as src/views
I1023 09:57:58.620055 22626 tar.go:312] Adding to tar: /tmp/s2i811656800/upload/src/views/main.erb as src/views/main.erb
I1023 09:57:58.675399 22626 docker.go:1032] Waiting for container "20d054d9ef6dd2610d3614edba5fc42864505bf3aed3fd6ee14a5c7b465caf0e" to stop ...
I1023 09:57:58.826813 22626 docker.go:1057] Invoking PostExecute function
I1023 09:57:58.826868 22626 postexecutorstep.go:68] Skipping step: store previous image
I1023 09:57:58.826896 22626 postexecutorstep.go:117] Executing step: commit image
I1023 09:57:58.829121 22626 postexecutorstep.go:522] Checking for new Labels to apply...
I1023 09:57:58.829179 22626 postexecutorstep.go:530] Creating the download path '/tmp/s2i811656800/metadata'
I1023 09:57:58.829319 22626 postexecutorstep.go:464] Downloading file "/tmp/.s2i/image_metadata.json"
I1023 09:57:58.998179 22626 tar.go:376] Creating directory /tmp/s2i811656800/metadata
I1023 09:57:58.998258 22626 tar.go:444] Creating /tmp/s2i811656800/metadata/image_metadata.json
I1023 09:57:58.998425 22626 tar.go:454] Extracting/writing /tmp/s2i811656800/metadata/image_metadata.json
I1023 09:57:58.998592 22626 tar.go:400] Done extracting tar stream
I1023 09:57:58.998727 22626 postexecutorstep.go:555] new Labels File contents :
{
"labels": [
{"testLabel": "testLabel_value"}
]
}
I1023 09:57:59.003266 22626 docker.go:1091] Committing container with dockerOpts: {Reference:test/sti-incremental-app Comment: Author: Changes:[] Pause:false Config:0xc420343400}, config: {Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[RACK_ENV=production] Cmd:[/tmp/scripts/run] Healthcheck:<nil> ArgsEscaped:false Image: Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[io.openshift.s2i.scripts-url:http://127.0.0.1:23456/.s2i/bin io.openshift.s2i.build.commit.id:7ccd3242c49c3868195ca9400a539fa611111096 io.openshift.s2i.build.commit.message:Merge pull request #71 from bparees/gemfile2 testLabel:testLabel_value io.openshift.s2i.build.source-location:https://github.com/openshift/ruby-hello-world io.k8s.display-name:test/sti-incremental-app io.openshift.s2i.build.image:sti_test/sti-fake io.openshift.s2i.build.commit.author:Ben Parees <bparees@users.noreply.github.com> io.openshift.s2i.build.commit.date:Fri Feb 9 18:24:07 2018 -0500 io.openshift.s2i.build.commit.ref:master] StopSignal: StopTimeout:<nil> Shell:[]}
I1023 09:58:00.211934 22626 postexecutorstep.go:392] Executing step: report success
I1023 09:58:00.212003 22626 postexecutorstep.go:397] Successfully built test/sti-incremental-app
I1023 09:58:00.212034 22626 postexecutorstep.go:93] Skipping step: remove previous image
I1023 09:58:00.212133 22626 docker.go:968] Removing container "20d054d9ef6dd2610d3614edba5fc42864505bf3aed3fd6ee14a5c7b465caf0e" ...
I1023 09:58:00.228085 22626 docker.go:978] Removed container "20d054d9ef6dd2610d3614edba5fc42864505bf3aed3fd6ee14a5c7b465caf0e"
I1023 09:58:00.228256 22626 cleanup.go:33] Removing temporary directory /tmp/s2i811656800
I1023 09:58:00.228295 22626 fs.go:302] Removing directory '/tmp/s2i811656800'
I1023 09:58:00.233152 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:58:00.239461 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:58:00.239519 22626 docker.go:718] Image sha256:a1f6bf1e1a111c7f8257166efaa9a161f42805b7e01b228abc4be86abf4f4b90 contains io.openshift.s2i.scripts-url set to "http://127.0.0.1:23456/.s2i/bin"
I1023 09:58:00.239599 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
I1023 09:58:00.239700 22626 sti.go:204] Preparing to build test/sti-incremental-app
I1023 09:58:00.240274 22626 clone.go:36] Downloading "https://github.com/openshift/ruby-hello-world" ...
I1023 09:58:00.240325 22626 clone.go:40] Cloning sources into "/tmp/s2i953817234/upload/src"
I1023 09:58:00.563503 22626 clone.go:56] Checked out "HEAD"
I1023 09:58:00.588056 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:58:00.608788 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/assemble'
I1023 09:58:00.608943 22626 install.go:261] Using "assemble" installed from "http://127.0.0.1:23456/.s2i/bin/assemble"
I1023 09:58:00.610363 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/run'
I1023 09:58:00.610467 22626 install.go:261] Using "run" installed from "http://127.0.0.1:23456/.s2i/bin/run"
I1023 09:58:00.614932 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/save-artifacts'
I1023 09:58:00.615093 22626 install.go:261] Using "save-artifacts" installed from "http://127.0.0.1:23456/.s2i/bin/save-artifacts"
I1023 09:58:00.615185 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:58:00.619196 22626 docker.go:487] Using locally available image "test/sti-incremental-app:latest"
I1023 09:58:00.621886 22626 sti.go:211] Existing image for tag test/sti-incremental-app detected for incremental build
I1023 09:58:00.621939 22626 sti.go:216] Performing source build from https://github.com/openshift/ruby-hello-world
I1023 09:58:00.622081 22626 sti.go:510] Saving build artifacts from image test/sti-incremental-app to path /tmp/s2i953817234/upload/artifacts
I1023 09:58:00.624632 22626 sti.go:534] The assemble user is not set, defaulting to "" user
I1023 09:58:00.629843 22626 docker.go:781] Both scripts and untarred source will be placed in '/tmp'
I1023 09:58:00.629909 22626 docker.go:949] Setting "/tmp/scripts/save-artifacts" command for container ...
I1023 09:58:00.630182 22626 docker.go:958] Creating container with options {Name:"s2i_test_sti_incremental_app_78092a35" Config:{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[] Cmd:[/tmp/scripts/save-artifacts] Healthcheck:<nil> ArgsEscaped:false Image:test/sti-incremental-app:latest Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} HostConfig:&{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode: PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] CapAdd:[] CapDrop:[] DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:67108864 Sysctls:map[] Runtime: ConsoleSize:[0 0] Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DiskQuota:0 KernelMemory:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:0 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[] Init:<nil>}} ...
I1023 09:58:01.054744 22626 docker.go:990] Attaching to container "2f2853da5580d16e64a950d5d6ef8f04e9624e5caf24030dd5cd787b5c1fc834" ...
I1023 09:58:01.056073 22626 docker.go:1001] Starting container "2f2853da5580d16e64a950d5d6ef8f04e9624e5caf24030dd5cd787b5c1fc834" ...
I1023 09:58:01.364480 22626 tar.go:367] Creating directory /tmp/s2i953817234/upload/artifacts
I1023 09:58:01.364644 22626 tar.go:376] Creating directory /tmp/s2i953817234/upload/artifacts
I1023 09:58:01.364701 22626 tar.go:444] Creating /tmp/s2i953817234/upload/artifacts/.gitignore
I1023 09:58:01.364824 22626 tar.go:454] Extracting/writing /tmp/s2i953817234/upload/artifacts/.gitignore
I1023 09:58:01.365164 22626 tar.go:367] Creating directory /tmp/s2i953817234/upload/artifacts/.s2i
I1023 09:58:01.365379 22626 tar.go:367] Creating directory /tmp/s2i953817234/upload/artifacts/.s2i/bin
I1023 09:58:01.365628 22626 tar.go:376] Creating directory /tmp/s2i953817234/upload/artifacts/.s2i/bin
I1023 09:58:01.365698 22626 tar.go:444] Creating /tmp/s2i953817234/upload/artifacts/.s2i/bin/README
I1023 09:58:01.365791 22626 tar.go:454] Extracting/writing /tmp/s2i953817234/upload/artifacts/.s2i/bin/README
I1023 09:58:01.366392 22626 tar.go:376] Creating directory /tmp/s2i953817234/upload/artifacts/.s2i
I1023 09:58:01.366460 22626 tar.go:444] Creating /tmp/s2i953817234/upload/artifacts/.s2i/environment
I1023 09:58:01.366550 22626 tar.go:454] Extracting/writing /tmp/s2i953817234/upload/artifacts/.s2i/environment
I1023 09:58:01.368227 22626 tar.go:376] Creating directory /tmp/s2i953817234/upload/artifacts
I1023 09:58:01.368297 22626 tar.go:444] Creating /tmp/s2i953817234/upload/artifacts/.travis.yml
I1023 09:58:01.368400 22626 tar.go:454] Extracting/writing /tmp/s2i953817234/upload/artifacts/.travis.yml
I1023 09:58:01.369758 22626 tar.go:376] Creating directory /tmp/s2i953817234/upload/artifacts
I1023 09:58:01.369831 22626 tar.go:444] Creating /tmp/s2i953817234/upload/artifacts/Dockerfile
I1023 09:58:01.369935 22626 tar.go:454] Extracting/writing /tmp/s2i953817234/upload/artifacts/Dockerfile
I1023 09:58:01.372194 22626 tar.go:376] Creating directory /tmp/s2i953817234/upload/artifacts
I1023 09:58:01.372261 22626 tar.go:444] Creating /tmp/s2i953817234/upload/artifacts/Gemfile
I1023 09:58:01.372358 22626 tar.go:454] Extracting/writing /tmp/s2i953817234/upload/artifacts/Gemfile
I1023 09:58:01.380582 22626 tar.go:376] Creating directory /tmp/s2i953817234/upload/artifacts
I1023 09:58:01.380652 22626 tar.go:444] Creating /tmp/s2i953817234/upload/artifacts/Gemfile.lock
I1023 09:58:01.380764 22626 tar.go:454] Extracting/writing /tmp/s2i953817234/upload/artifacts/Gemfile.lock
I1023 09:58:01.380979 22626 tar.go:376] Creating directory /tmp/s2i953817234/upload/artifacts
I1023 09:58:01.381057 22626 tar.go:444] Creating /tmp/s2i953817234/upload/artifacts/README.md
I1023 09:58:01.381177 22626 tar.go:454] Extracting/writing /tmp/s2i953817234/upload/artifacts/README.md
I1023 09:58:01.381398 22626 tar.go:376] Creating directory /tmp/s2i953817234/upload/artifacts
I1023 09:58:01.381461 22626 tar.go:444] Creating /tmp/s2i953817234/upload/artifacts/Rakefile
I1023 09:58:01.381553 22626 tar.go:454] Extracting/writing /tmp/s2i953817234/upload/artifacts/Rakefile
I1023 09:58:01.381991 22626 tar.go:376] Creating directory /tmp/s2i953817234/upload/artifacts
I1023 09:58:01.382058 22626 tar.go:444] Creating /tmp/s2i953817234/upload/artifacts/app.rb
I1023 09:58:01.382176 22626 tar.go:454] Extracting/writing /tmp/s2i953817234/upload/artifacts/app.rb
I1023 09:58:01.382391 22626 tar.go:367] Creating directory /tmp/s2i953817234/upload/artifacts/config
I1023 09:58:01.382619 22626 tar.go:376] Creating directory /tmp/s2i953817234/upload/artifacts/config
I1023 09:58:01.382686 22626 tar.go:444] Creating /tmp/s2i953817234/upload/artifacts/config/database.rb
I1023 09:58:01.382778 22626 tar.go:454] Extracting/writing /tmp/s2i953817234/upload/artifacts/config/database.rb
I1023 09:58:01.390534 22626 tar.go:376] Creating directory /tmp/s2i953817234/upload/artifacts/config
I1023 09:58:01.390605 22626 tar.go:444] Creating /tmp/s2i953817234/upload/artifacts/config/database.yml
I1023 09:58:01.390695 22626 tar.go:454] Extracting/writing /tmp/s2i953817234/upload/artifacts/config/database.yml
I1023 09:58:01.397221 22626 tar.go:376] Creating directory /tmp/s2i953817234/upload/artifacts
I1023 09:58:01.397292 22626 tar.go:444] Creating /tmp/s2i953817234/upload/artifacts/config.ru
I1023 09:58:01.397392 22626 tar.go:454] Extracting/writing /tmp/s2i953817234/upload/artifacts/config.ru
I1023 09:58:01.399921 22626 tar.go:367] Creating directory /tmp/s2i953817234/upload/artifacts/db
I1023 09:58:01.400173 22626 tar.go:367] Creating directory /tmp/s2i953817234/upload/artifacts/db/migrate
I1023 09:58:01.400394 22626 tar.go:376] Creating directory /tmp/s2i953817234/upload/artifacts/db/migrate
I1023 09:58:01.400461 22626 tar.go:444] Creating /tmp/s2i953817234/upload/artifacts/db/migrate/20141102191902_create_key_pair.rb
I1023 09:58:01.400552 22626 tar.go:454] Extracting/writing /tmp/s2i953817234/upload/artifacts/db/migrate/20141102191902_create_key_pair.rb
I1023 09:58:01.406228 22626 tar.go:376] Creating directory /tmp/s2i953817234/upload/artifacts
I1023 09:58:01.406299 22626 tar.go:444] Creating /tmp/s2i953817234/upload/artifacts/models.rb
I1023 09:58:01.406409 22626 tar.go:454] Extracting/writing /tmp/s2i953817234/upload/artifacts/models.rb
I1023 09:58:01.408223 22626 tar.go:376] Creating directory /tmp/s2i953817234/upload/artifacts
I1023 09:58:01.408293 22626 tar.go:444] Creating /tmp/s2i953817234/upload/artifacts/run.sh
I1023 09:58:01.408395 22626 tar.go:454] Extracting/writing /tmp/s2i953817234/upload/artifacts/run.sh
I1023 09:58:01.415169 22626 tar.go:367] Creating directory /tmp/s2i953817234/upload/artifacts/test
I1023 09:58:01.415430 22626 tar.go:376] Creating directory /tmp/s2i953817234/upload/artifacts/test
I1023 09:58:01.415502 22626 tar.go:444] Creating /tmp/s2i953817234/upload/artifacts/test/sample_test.rb
I1023 09:58:01.415594 22626 tar.go:454] Extracting/writing /tmp/s2i953817234/upload/artifacts/test/sample_test.rb
I1023 09:58:01.418408 22626 tar.go:367] Creating directory /tmp/s2i953817234/upload/artifacts/views
I1023 09:58:01.418636 22626 tar.go:376] Creating directory /tmp/s2i953817234/upload/artifacts/views
I1023 09:58:01.418696 22626 tar.go:444] Creating /tmp/s2i953817234/upload/artifacts/views/main.erb
I1023 09:58:01.418791 22626 tar.go:454] Extracting/writing /tmp/s2i953817234/upload/artifacts/views/main.erb
I1023 09:58:01.422080 22626 tar.go:376] Creating directory /tmp/s2i953817234/upload/artifacts
I1023 09:58:01.422153 22626 tar.go:444] Creating /tmp/s2i953817234/upload/artifacts/save-artifacts-invoked
I1023 09:58:01.422254 22626 tar.go:454] Extracting/writing /tmp/s2i953817234/upload/artifacts/save-artifacts-invoked
I1023 09:58:01.422508 22626 tar.go:400] Done extracting tar stream
I1023 09:58:01.500204 22626 docker.go:1032] Waiting for container "2f2853da5580d16e64a950d5d6ef8f04e9624e5caf24030dd5cd787b5c1fc834" to stop ...
I1023 09:58:01.651845 22626 docker.go:968] Removing container "2f2853da5580d16e64a950d5d6ef8f04e9624e5caf24030dd5cd787b5c1fc834" ...
I1023 09:58:01.666971 22626 docker.go:978] Removed container "2f2853da5580d16e64a950d5d6ef8f04e9624e5caf24030dd5cd787b5c1fc834"
I1023 09:58:01.667144 22626 sti.go:227] Running "assemble" in "test/sti-incremental-app"
I1023 09:58:01.667187 22626 sti.go:573] Using image name sti_test/sti-fake
I1023 09:58:01.669557 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:58:01.669670 22626 environment.go:41] Setting 1 environment variables provided by environment file in sources
I1023 09:58:01.670110 22626 sti.go:691] starting the source uploading ...
I1023 09:58:01.670177 22626 tar.go:217] Adding "/tmp/s2i953817234/upload" to tar ...
I1023 09:58:01.670444 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/artifacts as artifacts
I1023 09:58:01.674519 22626 docker.go:781] Both scripts and untarred source will be placed in '/tmp'
I1023 09:58:01.674600 22626 docker.go:949] Setting "/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble" command for container ...
I1023 09:58:01.674884 22626 docker.go:958] Creating container with options {Name:"s2i_sti_test_sti_fake_4874ed16" Config:{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:true StdinOnce:true Env:[RACK_ENV=production] Cmd:[/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble] Healthcheck:<nil> ArgsEscaped:false Image:sti_test/sti-fake:latest Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} HostConfig:&{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode: PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] CapAdd:[] CapDrop:[] DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:67108864 Sysctls:map[] Runtime: ConsoleSize:[0 0] Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DiskQuota:0 KernelMemory:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:0 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[] Init:<nil>}} ...
I1023 09:58:02.042646 22626 docker.go:990] Attaching to container "5db4c457ad972943b17456d1650173640f9cfe1cd6ac1536b933eb2a3599c226" ...
I1023 09:58:02.044199 22626 docker.go:1001] Starting container "5db4c457ad972943b17456d1650173640f9cfe1cd6ac1536b933eb2a3599c226" ...
I1023 09:58:02.343214 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/artifacts/.gitignore as artifacts/.gitignore
I1023 09:58:02.343507 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/artifacts/.s2i as artifacts/.s2i
I1023 09:58:02.343850 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/artifacts/.s2i/bin as artifacts/.s2i/bin
I1023 09:58:02.344195 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/artifacts/.s2i/bin/README as artifacts/.s2i/bin/README
I1023 09:58:02.344564 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/artifacts/.s2i/environment as artifacts/.s2i/environment
I1023 09:58:02.344957 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/artifacts/.travis.yml as artifacts/.travis.yml
I1023 09:58:02.345353 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/artifacts/Dockerfile as artifacts/Dockerfile
I1023 09:58:02.345661 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/artifacts/Gemfile as artifacts/Gemfile
I1023 09:58:02.345967 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/artifacts/Gemfile.lock as artifacts/Gemfile.lock
I1023 09:58:02.346294 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/artifacts/README.md as artifacts/README.md
I1023 09:58:02.346578 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/artifacts/Rakefile as artifacts/Rakefile
I1023 09:58:02.351442 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/artifacts/app.rb as artifacts/app.rb
I1023 09:58:02.351785 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/artifacts/config as artifacts/config
I1023 09:58:02.352152 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/artifacts/config/database.rb as artifacts/config/database.rb
I1023 09:58:02.352643 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/artifacts/config/database.yml as artifacts/config/database.yml
I1023 09:58:02.353029 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/artifacts/config.ru as artifacts/config.ru
I1023 09:58:02.353368 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/artifacts/db as artifacts/db
I1023 09:58:02.353664 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/artifacts/db/migrate as artifacts/db/migrate
I1023 09:58:02.353990 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/artifacts/db/migrate/20141102191902_create_key_pair.rb as artifacts/db/migrate/20141102191902_create_key_pair.rb
I1023 09:58:02.354288 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/artifacts/models.rb as artifacts/models.rb
I1023 09:58:02.354604 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/artifacts/run.sh as artifacts/run.sh
I1023 09:58:02.354940 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/artifacts/save-artifacts-invoked as artifacts/save-artifacts-invoked
I1023 09:58:02.355240 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/artifacts/test as artifacts/test
I1023 09:58:02.355505 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/artifacts/test/sample_test.rb as artifacts/test/sample_test.rb
I1023 09:58:02.355799 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/artifacts/views as artifacts/views
I1023 09:58:02.356137 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/artifacts/views/main.erb as artifacts/views/main.erb
I1023 09:58:02.356444 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/scripts as scripts
I1023 09:58:02.356774 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/scripts/assemble as scripts/assemble
I1023 09:58:02.357124 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/scripts/run as scripts/run
I1023 09:58:02.357456 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/scripts/save-artifacts as scripts/save-artifacts
I1023 09:58:02.357774 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/src as src
I1023 09:58:02.361434 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/src/.gitignore as src/.gitignore
I1023 09:58:02.361754 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/src/.s2i as src/.s2i
I1023 09:58:02.362072 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/src/.s2i/bin as src/.s2i/bin
I1023 09:58:02.362336 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/src/.s2i/bin/README as src/.s2i/bin/README
I1023 09:58:02.362660 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/src/.s2i/environment as src/.s2i/environment
I1023 09:58:02.362974 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/src/.travis.yml as src/.travis.yml
I1023 09:58:02.363317 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/src/Dockerfile as src/Dockerfile
I1023 09:58:02.363617 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/src/Gemfile as src/Gemfile
I1023 09:58:02.363933 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/src/Gemfile.lock as src/Gemfile.lock
I1023 09:58:02.364280 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/src/README.md as src/README.md
I1023 09:58:02.364607 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/src/Rakefile as src/Rakefile
I1023 09:58:02.364915 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/src/app.rb as src/app.rb
I1023 09:58:02.365250 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/src/config as src/config
I1023 09:58:02.365599 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/src/config/database.rb as src/config/database.rb
I1023 09:58:02.365957 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/src/config/database.yml as src/config/database.yml
I1023 09:58:02.366225 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/src/config.ru as src/config.ru
I1023 09:58:02.366498 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/src/db as src/db
I1023 09:58:02.366737 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/src/db/migrate as src/db/migrate
I1023 09:58:02.367042 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/src/db/migrate/20141102191902_create_key_pair.rb as src/db/migrate/20141102191902_create_key_pair.rb
I1023 09:58:02.367293 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/src/models.rb as src/models.rb
I1023 09:58:02.367610 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/src/run.sh as src/run.sh
I1023 09:58:02.367896 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/src/test as src/test
I1023 09:58:02.368223 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/src/test/sample_test.rb as src/test/sample_test.rb
I1023 09:58:02.368456 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/src/views as src/views
I1023 09:58:02.368687 22626 tar.go:312] Adding to tar: /tmp/s2i953817234/upload/src/views/main.erb as src/views/main.erb
I1023 09:58:02.418180 22626 docker.go:1032] Waiting for container "5db4c457ad972943b17456d1650173640f9cfe1cd6ac1536b933eb2a3599c226" to stop ...
I1023 09:58:02.572659 22626 docker.go:1057] Invoking PostExecute function
I1023 09:58:02.572709 22626 postexecutorstep.go:63] Executing step: store previous image
I1023 09:58:02.575565 22626 postexecutorstep.go:117] Executing step: commit image
I1023 09:58:02.577751 22626 postexecutorstep.go:522] Checking for new Labels to apply...
I1023 09:58:02.577807 22626 postexecutorstep.go:530] Creating the download path '/tmp/s2i953817234/metadata'
I1023 09:58:02.577978 22626 postexecutorstep.go:464] Downloading file "/tmp/.s2i/image_metadata.json"
I1023 09:58:02.751178 22626 tar.go:376] Creating directory /tmp/s2i953817234/metadata
I1023 09:58:02.751258 22626 tar.go:444] Creating /tmp/s2i953817234/metadata/image_metadata.json
I1023 09:58:02.751445 22626 tar.go:454] Extracting/writing /tmp/s2i953817234/metadata/image_metadata.json
I1023 09:58:02.751612 22626 tar.go:400] Done extracting tar stream
I1023 09:58:02.751743 22626 postexecutorstep.go:555] new Labels File contents :
{
"labels": [
{"testLabel": "testLabel_value"}
]
}
I1023 09:58:02.756680 22626 docker.go:1091] Committing container with dockerOpts: {Reference:test/sti-incremental-app Comment: Author: Changes:[] Pause:false Config:0xc420342c80}, config: {Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[RACK_ENV=production] Cmd:[/tmp/scripts/run] Healthcheck:<nil> ArgsEscaped:false Image: Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[io.openshift.s2i.build.commit.message:Merge pull request #71 from bparees/gemfile2 io.openshift.s2i.build.source-location:https://github.com/openshift/ruby-hello-world io.openshift.s2i.build.commit.date:Fri Feb 9 18:24:07 2018 -0500 io.openshift.s2i.build.commit.id:7ccd3242c49c3868195ca9400a539fa611111096 testLabel:testLabel_value io.openshift.s2i.scripts-url:http://127.0.0.1:23456/.s2i/bin io.k8s.display-name:test/sti-incremental-app io.openshift.s2i.build.image:sti_test/sti-fake io.openshift.s2i.build.commit.author:Ben Parees <bparees@users.noreply.github.com> io.openshift.s2i.build.commit.ref:master] StopSignal: StopTimeout:<nil> Shell:[]}
I1023 09:58:03.910913 22626 postexecutorstep.go:392] Executing step: report success
I1023 09:58:03.910973 22626 postexecutorstep.go:397] Successfully built test/sti-incremental-app
I1023 09:58:03.911007 22626 postexecutorstep.go:88] Executing step: remove previous image
I1023 09:58:03.911036 22626 postexecutorstep.go:102] Removing previously-tagged image sha256:c9f15f8e1b7e5c490e2a69f8ffc07fb9d034109c596e6e55d4a3e96c107ae901
I1023 09:58:03.917836 22626 docker.go:968] Removing container "5db4c457ad972943b17456d1650173640f9cfe1cd6ac1536b933eb2a3599c226" ...
I1023 09:58:03.932786 22626 docker.go:978] Removed container "5db4c457ad972943b17456d1650173640f9cfe1cd6ac1536b933eb2a3599c226"
I1023 09:58:03.932955 22626 cleanup.go:33] Removing temporary directory /tmp/s2i953817234
I1023 09:58:03.933000 22626 fs.go:302] Removing directory '/tmp/s2i953817234'
--- PASS: TestIncrementalBuildAndRemovePreviousImage (7.78s)
=== RUN TestIncrementalBuildAndKeepPreviousImage
I1023 09:58:05.443298 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:58:05.449332 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:58:05.449391 22626 docker.go:718] Image sha256:a1f6bf1e1a111c7f8257166efaa9a161f42805b7e01b228abc4be86abf4f4b90 contains io.openshift.s2i.scripts-url set to "http://127.0.0.1:23456/.s2i/bin"
I1023 09:58:05.449457 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
I1023 09:58:05.449604 22626 sti.go:204] Preparing to build test/sti-incremental-app
I1023 09:58:05.450124 22626 clone.go:36] Downloading "https://github.com/openshift/ruby-hello-world" ...
I1023 09:58:05.450174 22626 clone.go:40] Cloning sources into "/tmp/s2i920208788/upload/src"
I1023 09:58:06.339896 22626 clone.go:56] Checked out "HEAD"
I1023 09:58:06.364639 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:58:06.384661 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/assemble'
I1023 09:58:06.384776 22626 install.go:261] Using "assemble" installed from "http://127.0.0.1:23456/.s2i/bin/assemble"
I1023 09:58:06.386272 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/run'
I1023 09:58:06.386374 22626 install.go:261] Using "run" installed from "http://127.0.0.1:23456/.s2i/bin/run"
I1023 09:58:06.387760 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/save-artifacts'
I1023 09:58:06.387882 22626 install.go:261] Using "save-artifacts" installed from "http://127.0.0.1:23456/.s2i/bin/save-artifacts"
I1023 09:58:06.387968 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:58:06.388009 22626 sti.go:213] Clean build will be performed
I1023 09:58:06.388077 22626 sti.go:216] Performing source build from https://github.com/openshift/ruby-hello-world
I1023 09:58:06.388139 22626 sti.go:227] Running "assemble" in "test/sti-incremental-app"
I1023 09:58:06.388180 22626 sti.go:573] Using image name sti_test/sti-fake
I1023 09:58:06.390712 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:58:06.390815 22626 environment.go:41] Setting 1 environment variables provided by environment file in sources
I1023 09:58:06.390996 22626 sti.go:691] starting the source uploading ...
I1023 09:58:06.391083 22626 tar.go:217] Adding "/tmp/s2i920208788/upload" to tar ...
I1023 09:58:06.391414 22626 tar.go:312] Adding to tar: /tmp/s2i920208788/upload/scripts as scripts
I1023 09:58:06.395549 22626 docker.go:781] Both scripts and untarred source will be placed in '/tmp'
I1023 09:58:06.395645 22626 docker.go:949] Setting "/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble" command for container ...
I1023 09:58:06.395963 22626 docker.go:958] Creating container with options {Name:"s2i_sti_test_sti_fake_4b08b92b" Config:{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:true StdinOnce:true Env:[RACK_ENV=production] Cmd:[/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble] Healthcheck:<nil> ArgsEscaped:false Image:sti_test/sti-fake:latest Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} HostConfig:&{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode: PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] CapAdd:[] CapDrop:[] DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:67108864 Sysctls:map[] Runtime: ConsoleSize:[0 0] Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DiskQuota:0 KernelMemory:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:0 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[] Init:<nil>}} ...
I1023 09:58:06.760536 22626 docker.go:990] Attaching to container "c502cdd5c074a35f1d739d3c2579306b708322328a1d0838d54c6faf2bac4a7c" ...
I1023 09:58:06.761986 22626 docker.go:1001] Starting container "c502cdd5c074a35f1d739d3c2579306b708322328a1d0838d54c6faf2bac4a7c" ...
I1023 09:58:07.038472 22626 tar.go:312] Adding to tar: /tmp/s2i920208788/upload/scripts/assemble as scripts/assemble
I1023 09:58:07.038836 22626 tar.go:312] Adding to tar: /tmp/s2i920208788/upload/scripts/run as scripts/run
I1023 09:58:07.039208 22626 tar.go:312] Adding to tar: /tmp/s2i920208788/upload/scripts/save-artifacts as scripts/save-artifacts
I1023 09:58:07.039536 22626 tar.go:312] Adding to tar: /tmp/s2i920208788/upload/src as src
I1023 09:58:07.042761 22626 tar.go:312] Adding to tar: /tmp/s2i920208788/upload/src/.gitignore as src/.gitignore
I1023 09:58:07.043073 22626 tar.go:312] Adding to tar: /tmp/s2i920208788/upload/src/.s2i as src/.s2i
I1023 09:58:07.043344 22626 tar.go:312] Adding to tar: /tmp/s2i920208788/upload/src/.s2i/bin as src/.s2i/bin
I1023 09:58:07.043607 22626 tar.go:312] Adding to tar: /tmp/s2i920208788/upload/src/.s2i/bin/README as src/.s2i/bin/README
I1023 09:58:07.043947 22626 tar.go:312] Adding to tar: /tmp/s2i920208788/upload/src/.s2i/environment as src/.s2i/environment
I1023 09:58:07.044353 22626 tar.go:312] Adding to tar: /tmp/s2i920208788/upload/src/.travis.yml as src/.travis.yml
I1023 09:58:07.044679 22626 tar.go:312] Adding to tar: /tmp/s2i920208788/upload/src/Dockerfile as src/Dockerfile
I1023 09:58:07.044981 22626 tar.go:312] Adding to tar: /tmp/s2i920208788/upload/src/Gemfile as src/Gemfile
I1023 09:58:07.045272 22626 tar.go:312] Adding to tar: /tmp/s2i920208788/upload/src/Gemfile.lock as src/Gemfile.lock
I1023 09:58:07.045572 22626 tar.go:312] Adding to tar: /tmp/s2i920208788/upload/src/README.md as src/README.md
I1023 09:58:07.045931 22626 tar.go:312] Adding to tar: /tmp/s2i920208788/upload/src/Rakefile as src/Rakefile
I1023 09:58:07.046272 22626 tar.go:312] Adding to tar: /tmp/s2i920208788/upload/src/app.rb as src/app.rb
I1023 09:58:07.046572 22626 tar.go:312] Adding to tar: /tmp/s2i920208788/upload/src/config as src/config
I1023 09:58:07.046980 22626 tar.go:312] Adding to tar: /tmp/s2i920208788/upload/src/config/database.rb as src/config/database.rb
I1023 09:58:07.047331 22626 tar.go:312] Adding to tar: /tmp/s2i920208788/upload/src/config/database.yml as src/config/database.yml
I1023 09:58:07.047661 22626 tar.go:312] Adding to tar: /tmp/s2i920208788/upload/src/config.ru as src/config.ru
I1023 09:58:07.047964 22626 tar.go:312] Adding to tar: /tmp/s2i920208788/upload/src/db as src/db
I1023 09:58:07.048239 22626 tar.go:312] Adding to tar: /tmp/s2i920208788/upload/src/db/migrate as src/db/migrate
I1023 09:58:07.048560 22626 tar.go:312] Adding to tar: /tmp/s2i920208788/upload/src/db/migrate/20141102191902_create_key_pair.rb as src/db/migrate/20141102191902_create_key_pair.rb
I1023 09:58:07.048852 22626 tar.go:312] Adding to tar: /tmp/s2i920208788/upload/src/models.rb as src/models.rb
I1023 09:58:07.049196 22626 tar.go:312] Adding to tar: /tmp/s2i920208788/upload/src/run.sh as src/run.sh
I1023 09:58:07.049512 22626 tar.go:312] Adding to tar: /tmp/s2i920208788/upload/src/test as src/test
I1023 09:58:07.049788 22626 tar.go:312] Adding to tar: /tmp/s2i920208788/upload/src/test/sample_test.rb as src/test/sample_test.rb
I1023 09:58:07.050047 22626 tar.go:312] Adding to tar: /tmp/s2i920208788/upload/src/views as src/views
I1023 09:58:07.050359 22626 tar.go:312] Adding to tar: /tmp/s2i920208788/upload/src/views/main.erb as src/views/main.erb
I1023 09:58:07.095142 22626 docker.go:1032] Waiting for container "c502cdd5c074a35f1d739d3c2579306b708322328a1d0838d54c6faf2bac4a7c" to stop ...
I1023 09:58:07.249501 22626 docker.go:1057] Invoking PostExecute function
I1023 09:58:07.249550 22626 postexecutorstep.go:68] Skipping step: store previous image
I1023 09:58:07.249581 22626 postexecutorstep.go:117] Executing step: commit image
I1023 09:58:07.251843 22626 postexecutorstep.go:522] Checking for new Labels to apply...
I1023 09:58:07.251901 22626 postexecutorstep.go:530] Creating the download path '/tmp/s2i920208788/metadata'
I1023 09:58:07.252065 22626 postexecutorstep.go:464] Downloading file "/tmp/.s2i/image_metadata.json"
I1023 09:58:07.420206 22626 tar.go:376] Creating directory /tmp/s2i920208788/metadata
I1023 09:58:07.420296 22626 tar.go:444] Creating /tmp/s2i920208788/metadata/image_metadata.json
I1023 09:58:07.420499 22626 tar.go:454] Extracting/writing /tmp/s2i920208788/metadata/image_metadata.json
I1023 09:58:07.420686 22626 tar.go:400] Done extracting tar stream
I1023 09:58:07.420810 22626 postexecutorstep.go:555] new Labels File contents :
{
"labels": [
{"testLabel": "testLabel_value"}
]
}
I1023 09:58:07.427982 22626 docker.go:1091] Committing container with dockerOpts: {Reference:test/sti-incremental-app Comment: Author: Changes:[] Pause:false Config:0xc42022e280}, config: {Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[RACK_ENV=production] Cmd:[/tmp/scripts/run] Healthcheck:<nil> ArgsEscaped:false Image: Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[io.openshift.s2i.scripts-url:http://127.0.0.1:23456/.s2i/bin io.openshift.s2i.build.source-location:https://github.com/openshift/ruby-hello-world io.k8s.display-name:test/sti-incremental-app io.openshift.s2i.build.commit.date:Fri Feb 9 18:24:07 2018 -0500 io.openshift.s2i.build.commit.message:Merge pull request #71 from bparees/gemfile2 io.openshift.s2i.build.image:sti_test/sti-fake io.openshift.s2i.build.commit.author:Ben Parees <bparees@users.noreply.github.com> io.openshift.s2i.build.commit.id:7ccd3242c49c3868195ca9400a539fa611111096 io.openshift.s2i.build.commit.ref:master testLabel:testLabel_value] StopSignal: StopTimeout:<nil> Shell:[]}
I1023 09:58:08.045921 22626 postexecutorstep.go:392] Executing step: report success
I1023 09:58:08.045991 22626 postexecutorstep.go:397] Successfully built test/sti-incremental-app
I1023 09:58:08.046021 22626 postexecutorstep.go:93] Skipping step: remove previous image
I1023 09:58:08.046128 22626 docker.go:968] Removing container "c502cdd5c074a35f1d739d3c2579306b708322328a1d0838d54c6faf2bac4a7c" ...
I1023 09:58:08.060740 22626 docker.go:978] Removed container "c502cdd5c074a35f1d739d3c2579306b708322328a1d0838d54c6faf2bac4a7c"
I1023 09:58:08.060914 22626 cleanup.go:33] Removing temporary directory /tmp/s2i920208788
I1023 09:58:08.060952 22626 fs.go:302] Removing directory '/tmp/s2i920208788'
I1023 09:58:08.065588 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:58:08.071790 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:58:08.071849 22626 docker.go:718] Image sha256:a1f6bf1e1a111c7f8257166efaa9a161f42805b7e01b228abc4be86abf4f4b90 contains io.openshift.s2i.scripts-url set to "http://127.0.0.1:23456/.s2i/bin"
I1023 09:58:08.071922 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
I1023 09:58:08.072038 22626 sti.go:204] Preparing to build test/sti-incremental-app
I1023 09:58:08.072500 22626 clone.go:36] Downloading "https://github.com/openshift/ruby-hello-world" ...
I1023 09:58:08.072550 22626 clone.go:40] Cloning sources into "/tmp/s2i773075430/upload/src"
I1023 09:58:08.512560 22626 clone.go:56] Checked out "HEAD"
I1023 09:58:08.536592 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:58:08.556493 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/assemble'
I1023 09:58:08.556608 22626 install.go:261] Using "assemble" installed from "http://127.0.0.1:23456/.s2i/bin/assemble"
I1023 09:58:08.558020 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/run'
I1023 09:58:08.558135 22626 install.go:261] Using "run" installed from "http://127.0.0.1:23456/.s2i/bin/run"
I1023 09:58:08.559526 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/save-artifacts'
I1023 09:58:08.559655 22626 install.go:261] Using "save-artifacts" installed from "http://127.0.0.1:23456/.s2i/bin/save-artifacts"
I1023 09:58:08.559735 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:58:08.562890 22626 docker.go:487] Using locally available image "test/sti-incremental-app:latest"
I1023 09:58:08.565446 22626 sti.go:211] Existing image for tag test/sti-incremental-app detected for incremental build
I1023 09:58:08.565497 22626 sti.go:216] Performing source build from https://github.com/openshift/ruby-hello-world
I1023 09:58:08.565625 22626 sti.go:510] Saving build artifacts from image test/sti-incremental-app to path /tmp/s2i773075430/upload/artifacts
I1023 09:58:08.568155 22626 sti.go:534] The assemble user is not set, defaulting to "" user
I1023 09:58:08.573315 22626 docker.go:781] Both scripts and untarred source will be placed in '/tmp'
I1023 09:58:08.573381 22626 docker.go:949] Setting "/tmp/scripts/save-artifacts" command for container ...
I1023 09:58:08.573640 22626 docker.go:958] Creating container with options {Name:"s2i_test_sti_incremental_app_add87e4a" Config:{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[] Cmd:[/tmp/scripts/save-artifacts] Healthcheck:<nil> ArgsEscaped:false Image:test/sti-incremental-app:latest Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} HostConfig:&{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode: PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] CapAdd:[] CapDrop:[] DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:67108864 Sysctls:map[] Runtime: ConsoleSize:[0 0] Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DiskQuota:0 KernelMemory:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:0 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[] Init:<nil>}} ...
I1023 09:58:08.950555 22626 docker.go:990] Attaching to container "c56a4ea691cfe0312c6313aeab59471428124ec27fcd104525ed6772c9a13833" ...
I1023 09:58:08.952100 22626 docker.go:1001] Starting container "c56a4ea691cfe0312c6313aeab59471428124ec27fcd104525ed6772c9a13833" ...
I1023 09:58:09.269214 22626 tar.go:367] Creating directory /tmp/s2i773075430/upload/artifacts
I1023 09:58:09.269439 22626 tar.go:376] Creating directory /tmp/s2i773075430/upload/artifacts
I1023 09:58:09.269507 22626 tar.go:444] Creating /tmp/s2i773075430/upload/artifacts/.gitignore
I1023 09:58:09.269660 22626 tar.go:454] Extracting/writing /tmp/s2i773075430/upload/artifacts/.gitignore
I1023 09:58:09.270579 22626 tar.go:367] Creating directory /tmp/s2i773075430/upload/artifacts/.s2i
I1023 09:58:09.270821 22626 tar.go:367] Creating directory /tmp/s2i773075430/upload/artifacts/.s2i/bin
I1023 09:58:09.271052 22626 tar.go:376] Creating directory /tmp/s2i773075430/upload/artifacts/.s2i/bin
I1023 09:58:09.271114 22626 tar.go:444] Creating /tmp/s2i773075430/upload/artifacts/.s2i/bin/README
I1023 09:58:09.271205 22626 tar.go:454] Extracting/writing /tmp/s2i773075430/upload/artifacts/.s2i/bin/README
I1023 09:58:09.271425 22626 tar.go:376] Creating directory /tmp/s2i773075430/upload/artifacts/.s2i
I1023 09:58:09.271483 22626 tar.go:444] Creating /tmp/s2i773075430/upload/artifacts/.s2i/environment
I1023 09:58:09.271568 22626 tar.go:454] Extracting/writing /tmp/s2i773075430/upload/artifacts/.s2i/environment
I1023 09:58:09.271763 22626 tar.go:376] Creating directory /tmp/s2i773075430/upload/artifacts
I1023 09:58:09.271819 22626 tar.go:444] Creating /tmp/s2i773075430/upload/artifacts/.travis.yml
I1023 09:58:09.271910 22626 tar.go:454] Extracting/writing /tmp/s2i773075430/upload/artifacts/.travis.yml
I1023 09:58:09.272139 22626 tar.go:376] Creating directory /tmp/s2i773075430/upload/artifacts
I1023 09:58:09.272202 22626 tar.go:444] Creating /tmp/s2i773075430/upload/artifacts/Dockerfile
I1023 09:58:09.272296 22626 tar.go:454] Extracting/writing /tmp/s2i773075430/upload/artifacts/Dockerfile
I1023 09:58:09.272584 22626 tar.go:376] Creating directory /tmp/s2i773075430/upload/artifacts
I1023 09:58:09.272650 22626 tar.go:444] Creating /tmp/s2i773075430/upload/artifacts/Gemfile
I1023 09:58:09.272751 22626 tar.go:454] Extracting/writing /tmp/s2i773075430/upload/artifacts/Gemfile
I1023 09:58:09.277500 22626 tar.go:376] Creating directory /tmp/s2i773075430/upload/artifacts
I1023 09:58:09.277570 22626 tar.go:444] Creating /tmp/s2i773075430/upload/artifacts/Gemfile.lock
I1023 09:58:09.277670 22626 tar.go:454] Extracting/writing /tmp/s2i773075430/upload/artifacts/Gemfile.lock
I1023 09:58:09.282092 22626 tar.go:376] Creating directory /tmp/s2i773075430/upload/artifacts
I1023 09:58:09.282180 22626 tar.go:444] Creating /tmp/s2i773075430/upload/artifacts/README.md
I1023 09:58:09.282317 22626 tar.go:454] Extracting/writing /tmp/s2i773075430/upload/artifacts/README.md
I1023 09:58:09.291277 22626 tar.go:376] Creating directory /tmp/s2i773075430/upload/artifacts
I1023 09:58:09.291345 22626 tar.go:444] Creating /tmp/s2i773075430/upload/artifacts/Rakefile
I1023 09:58:09.291459 22626 tar.go:454] Extracting/writing /tmp/s2i773075430/upload/artifacts/Rakefile
I1023 09:58:09.291661 22626 tar.go:376] Creating directory /tmp/s2i773075430/upload/artifacts
I1023 09:58:09.291724 22626 tar.go:444] Creating /tmp/s2i773075430/upload/artifacts/app.rb
I1023 09:58:09.291827 22626 tar.go:454] Extracting/writing /tmp/s2i773075430/upload/artifacts/app.rb
I1023 09:58:09.292043 22626 tar.go:367] Creating directory /tmp/s2i773075430/upload/artifacts/config
I1023 09:58:09.292324 22626 tar.go:376] Creating directory /tmp/s2i773075430/upload/artifacts/config
I1023 09:58:09.292409 22626 tar.go:444] Creating /tmp/s2i773075430/upload/artifacts/config/database.rb
I1023 09:58:09.292500 22626 tar.go:454] Extracting/writing /tmp/s2i773075430/upload/artifacts/config/database.rb
I1023 09:58:09.292720 22626 tar.go:376] Creating directory /tmp/s2i773075430/upload/artifacts/config
I1023 09:58:09.292782 22626 tar.go:444] Creating /tmp/s2i773075430/upload/artifacts/config/database.yml
I1023 09:58:09.292869 22626 tar.go:454] Extracting/writing /tmp/s2i773075430/upload/artifacts/config/database.yml
I1023 09:58:09.293098 22626 tar.go:376] Creating directory /tmp/s2i773075430/upload/artifacts
I1023 09:58:09.293164 22626 tar.go:444] Creating /tmp/s2i773075430/upload/artifacts/config.ru
I1023 09:58:09.293266 22626 tar.go:454] Extracting/writing /tmp/s2i773075430/upload/artifacts/config.ru
I1023 09:58:09.293495 22626 tar.go:367] Creating directory /tmp/s2i773075430/upload/artifacts/db
I1023 09:58:09.293713 22626 tar.go:367] Creating directory /tmp/s2i773075430/upload/artifacts/db/migrate
I1023 09:58:09.293927 22626 tar.go:376] Creating directory /tmp/s2i773075430/upload/artifacts/db/migrate
I1023 09:58:09.293992 22626 tar.go:444] Creating /tmp/s2i773075430/upload/artifacts/db/migrate/20141102191902_create_key_pair.rb
I1023 09:58:09.294110 22626 tar.go:454] Extracting/writing /tmp/s2i773075430/upload/artifacts/db/migrate/20141102191902_create_key_pair.rb
I1023 09:58:09.294324 22626 tar.go:376] Creating directory /tmp/s2i773075430/upload/artifacts
I1023 09:58:09.294409 22626 tar.go:444] Creating /tmp/s2i773075430/upload/artifacts/models.rb
I1023 09:58:09.294503 22626 tar.go:454] Extracting/writing /tmp/s2i773075430/upload/artifacts/models.rb
I1023 09:58:09.294709 22626 tar.go:376] Creating directory /tmp/s2i773075430/upload/artifacts
I1023 09:58:09.294768 22626 tar.go:444] Creating /tmp/s2i773075430/upload/artifacts/run.sh
I1023 09:58:09.294860 22626 tar.go:454] Extracting/writing /tmp/s2i773075430/upload/artifacts/run.sh
I1023 09:58:09.295076 22626 tar.go:367] Creating directory /tmp/s2i773075430/upload/artifacts/test
I1023 09:58:09.295292 22626 tar.go:376] Creating directory /tmp/s2i773075430/upload/artifacts/test
I1023 09:58:09.295351 22626 tar.go:444] Creating /tmp/s2i773075430/upload/artifacts/test/sample_test.rb
I1023 09:58:09.295436 22626 tar.go:454] Extracting/writing /tmp/s2i773075430/upload/artifacts/test/sample_test.rb
I1023 09:58:09.295633 22626 tar.go:367] Creating directory /tmp/s2i773075430/upload/artifacts/views
I1023 09:58:09.295850 22626 tar.go:376] Creating directory /tmp/s2i773075430/upload/artifacts/views
I1023 09:58:09.295903 22626 tar.go:444] Creating /tmp/s2i773075430/upload/artifacts/views/main.erb
I1023 09:58:09.295983 22626 tar.go:454] Extracting/writing /tmp/s2i773075430/upload/artifacts/views/main.erb
I1023 09:58:09.296434 22626 tar.go:376] Creating directory /tmp/s2i773075430/upload/artifacts
I1023 09:58:09.296513 22626 tar.go:444] Creating /tmp/s2i773075430/upload/artifacts/save-artifacts-invoked
I1023 09:58:09.296613 22626 tar.go:454] Extracting/writing /tmp/s2i773075430/upload/artifacts/save-artifacts-invoked
I1023 09:58:09.299986 22626 tar.go:400] Done extracting tar stream
I1023 09:58:09.362259 22626 docker.go:1032] Waiting for container "c56a4ea691cfe0312c6313aeab59471428124ec27fcd104525ed6772c9a13833" to stop ...
I1023 09:58:09.518820 22626 docker.go:968] Removing container "c56a4ea691cfe0312c6313aeab59471428124ec27fcd104525ed6772c9a13833" ...
I1023 09:58:09.533636 22626 docker.go:978] Removed container "c56a4ea691cfe0312c6313aeab59471428124ec27fcd104525ed6772c9a13833"
I1023 09:58:09.533936 22626 sti.go:227] Running "assemble" in "test/sti-incremental-app"
I1023 09:58:09.533980 22626 sti.go:573] Using image name sti_test/sti-fake
I1023 09:58:09.536272 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:58:09.536383 22626 environment.go:41] Setting 1 environment variables provided by environment file in sources
I1023 09:58:09.536610 22626 sti.go:691] starting the source uploading ...
I1023 09:58:09.536696 22626 tar.go:217] Adding "/tmp/s2i773075430/upload" to tar ...
I1023 09:58:09.537052 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/artifacts as artifacts
I1023 09:58:09.540935 22626 docker.go:781] Both scripts and untarred source will be placed in '/tmp'
I1023 09:58:09.541039 22626 docker.go:949] Setting "/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble" command for container ...
I1023 09:58:09.541337 22626 docker.go:958] Creating container with options {Name:"s2i_sti_test_sti_fake_37f317c5" Config:{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:true StdinOnce:true Env:[RACK_ENV=production] Cmd:[/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble] Healthcheck:<nil> ArgsEscaped:false Image:sti_test/sti-fake:latest Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} HostConfig:&{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode: PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] CapAdd:[] CapDrop:[] DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:67108864 Sysctls:map[] Runtime: ConsoleSize:[0 0] Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DiskQuota:0 KernelMemory:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:0 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[] Init:<nil>}} ...
I1023 09:58:09.914608 22626 docker.go:990] Attaching to container "c5cd57493336dd0c06ddaad2bcc76976302fad39434a32a66c221d1df39708c7" ...
I1023 09:58:09.915959 22626 docker.go:1001] Starting container "c5cd57493336dd0c06ddaad2bcc76976302fad39434a32a66c221d1df39708c7" ...
I1023 09:58:10.216997 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/artifacts/.gitignore as artifacts/.gitignore
I1023 09:58:10.217308 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/artifacts/.s2i as artifacts/.s2i
I1023 09:58:10.217653 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/artifacts/.s2i/bin as artifacts/.s2i/bin
I1023 09:58:10.217991 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/artifacts/.s2i/bin/README as artifacts/.s2i/bin/README
I1023 09:58:10.218426 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/artifacts/.s2i/environment as artifacts/.s2i/environment
I1023 09:58:10.218814 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/artifacts/.travis.yml as artifacts/.travis.yml
I1023 09:58:10.219190 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/artifacts/Dockerfile as artifacts/Dockerfile
I1023 09:58:10.219580 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/artifacts/Gemfile as artifacts/Gemfile
I1023 09:58:10.219957 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/artifacts/Gemfile.lock as artifacts/Gemfile.lock
I1023 09:58:10.220341 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/artifacts/README.md as artifacts/README.md
I1023 09:58:10.220648 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/artifacts/Rakefile as artifacts/Rakefile
I1023 09:58:10.220996 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/artifacts/app.rb as artifacts/app.rb
I1023 09:58:10.221324 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/artifacts/config as artifacts/config
I1023 09:58:10.221637 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/artifacts/config/database.rb as artifacts/config/database.rb
I1023 09:58:10.221938 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/artifacts/config/database.yml as artifacts/config/database.yml
I1023 09:58:10.222300 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/artifacts/config.ru as artifacts/config.ru
I1023 09:58:10.222629 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/artifacts/db as artifacts/db
I1023 09:58:10.222928 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/artifacts/db/migrate as artifacts/db/migrate
I1023 09:58:10.223329 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/artifacts/db/migrate/20141102191902_create_key_pair.rb as artifacts/db/migrate/20141102191902_create_key_pair.rb
I1023 09:58:10.223629 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/artifacts/models.rb as artifacts/models.rb
I1023 09:58:10.224040 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/artifacts/run.sh as artifacts/run.sh
I1023 09:58:10.224430 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/artifacts/save-artifacts-invoked as artifacts/save-artifacts-invoked
I1023 09:58:10.224729 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/artifacts/test as artifacts/test
I1023 09:58:10.224980 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/artifacts/test/sample_test.rb as artifacts/test/sample_test.rb
I1023 09:58:10.225254 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/artifacts/views as artifacts/views
I1023 09:58:10.225495 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/artifacts/views/main.erb as artifacts/views/main.erb
I1023 09:58:10.225774 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/scripts as scripts
I1023 09:58:10.226129 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/scripts/assemble as scripts/assemble
I1023 09:58:10.226398 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/scripts/run as scripts/run
I1023 09:58:10.226724 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/scripts/save-artifacts as scripts/save-artifacts
I1023 09:58:10.227042 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/src as src
I1023 09:58:10.230369 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/src/.gitignore as src/.gitignore
I1023 09:58:10.230657 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/src/.s2i as src/.s2i
I1023 09:58:10.230983 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/src/.s2i/bin as src/.s2i/bin
I1023 09:58:10.231288 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/src/.s2i/bin/README as src/.s2i/bin/README
I1023 09:58:10.231610 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/src/.s2i/environment as src/.s2i/environment
I1023 09:58:10.231933 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/src/.travis.yml as src/.travis.yml
I1023 09:58:10.232278 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/src/Dockerfile as src/Dockerfile
I1023 09:58:10.232593 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/src/Gemfile as src/Gemfile
I1023 09:58:10.232898 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/src/Gemfile.lock as src/Gemfile.lock
I1023 09:58:10.233259 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/src/README.md as src/README.md
I1023 09:58:10.233589 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/src/Rakefile as src/Rakefile
I1023 09:58:10.233914 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/src/app.rb as src/app.rb
I1023 09:58:10.234235 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/src/config as src/config
I1023 09:58:10.234516 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/src/config/database.rb as src/config/database.rb
I1023 09:58:10.234882 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/src/config/database.yml as src/config/database.yml
I1023 09:58:10.235246 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/src/config.ru as src/config.ru
I1023 09:58:10.235539 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/src/db as src/db
I1023 09:58:10.235812 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/src/db/migrate as src/db/migrate
I1023 09:58:10.236131 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/src/db/migrate/20141102191902_create_key_pair.rb as src/db/migrate/20141102191902_create_key_pair.rb
I1023 09:58:10.236423 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/src/models.rb as src/models.rb
I1023 09:58:10.236742 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/src/run.sh as src/run.sh
I1023 09:58:10.237041 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/src/test as src/test
I1023 09:58:10.237399 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/src/test/sample_test.rb as src/test/sample_test.rb
I1023 09:58:10.237681 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/src/views as src/views
I1023 09:58:10.237967 22626 tar.go:312] Adding to tar: /tmp/s2i773075430/upload/src/views/main.erb as src/views/main.erb
I1023 09:58:10.284309 22626 docker.go:1032] Waiting for container "c5cd57493336dd0c06ddaad2bcc76976302fad39434a32a66c221d1df39708c7" to stop ...
I1023 09:58:10.446514 22626 docker.go:1057] Invoking PostExecute function
I1023 09:58:10.446580 22626 postexecutorstep.go:68] Skipping step: store previous image
I1023 09:58:10.446608 22626 postexecutorstep.go:117] Executing step: commit image
I1023 09:58:10.448971 22626 postexecutorstep.go:522] Checking for new Labels to apply...
I1023 09:58:10.449042 22626 postexecutorstep.go:530] Creating the download path '/tmp/s2i773075430/metadata'
I1023 09:58:10.449443 22626 postexecutorstep.go:464] Downloading file "/tmp/.s2i/image_metadata.json"
I1023 09:58:10.599181 22626 tar.go:376] Creating directory /tmp/s2i773075430/metadata
I1023 09:58:10.599259 22626 tar.go:444] Creating /tmp/s2i773075430/metadata/image_metadata.json
I1023 09:58:10.599436 22626 tar.go:454] Extracting/writing /tmp/s2i773075430/metadata/image_metadata.json
I1023 09:58:10.599593 22626 tar.go:400] Done extracting tar stream
I1023 09:58:10.599730 22626 postexecutorstep.go:555] new Labels File contents :
{
"labels": [
{"testLabel": "testLabel_value"}
]
}
I1023 09:58:10.604307 22626 docker.go:1091] Committing container with dockerOpts: {Reference:test/sti-incremental-app Comment: Author: Changes:[] Pause:false Config:0xc42036c3c0}, config: {Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[RACK_ENV=production] Cmd:[/tmp/scripts/run] Healthcheck:<nil> ArgsEscaped:false Image: Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[io.openshift.s2i.build.commit.date:Fri Feb 9 18:24:07 2018 -0500 io.openshift.s2i.build.commit.ref:master io.openshift.s2i.build.commit.message:Merge pull request #71 from bparees/gemfile2 io.openshift.s2i.build.source-location:https://github.com/openshift/ruby-hello-world io.k8s.display-name:test/sti-incremental-app testLabel:testLabel_value io.openshift.s2i.scripts-url:http://127.0.0.1:23456/.s2i/bin io.openshift.s2i.build.image:sti_test/sti-fake io.openshift.s2i.build.commit.author:Ben Parees <bparees@users.noreply.github.com> io.openshift.s2i.build.commit.id:7ccd3242c49c3868195ca9400a539fa611111096] StopSignal: StopTimeout:<nil> Shell:[]}
I1023 09:58:11.242940 22626 postexecutorstep.go:392] Executing step: report success
I1023 09:58:11.242991 22626 postexecutorstep.go:397] Successfully built test/sti-incremental-app
I1023 09:58:11.243035 22626 postexecutorstep.go:93] Skipping step: remove previous image
I1023 09:58:11.243131 22626 docker.go:968] Removing container "c5cd57493336dd0c06ddaad2bcc76976302fad39434a32a66c221d1df39708c7" ...
I1023 09:58:11.258187 22626 docker.go:978] Removed container "c5cd57493336dd0c06ddaad2bcc76976302fad39434a32a66c221d1df39708c7"
I1023 09:58:11.258446 22626 cleanup.go:33] Removing temporary directory /tmp/s2i773075430
I1023 09:58:11.258485 22626 fs.go:302] Removing directory '/tmp/s2i773075430'
--- PASS: TestIncrementalBuildAndKeepPreviousImage (7.30s)
=== RUN TestIncrementalBuildUser
I1023 09:58:12.743161 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:58:12.749280 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:58:12.749332 22626 docker.go:718] Image sha256:a1f6bf1e1a111c7f8257166efaa9a161f42805b7e01b228abc4be86abf4f4b90 contains io.openshift.s2i.scripts-url set to "http://127.0.0.1:23456/.s2i/bin"
I1023 09:58:12.749369 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
I1023 09:58:12.749442 22626 sti.go:204] Preparing to build test/sti-incremental-app-user
I1023 09:58:12.749822 22626 clone.go:36] Downloading "https://github.com/openshift/ruby-hello-world" ...
I1023 09:58:12.749870 22626 clone.go:40] Cloning sources into "/tmp/s2i997558280/upload/src"
I1023 09:58:13.100949 22626 clone.go:56] Checked out "HEAD"
I1023 09:58:13.126133 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:58:13.148013 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/assemble'
I1023 09:58:13.148149 22626 install.go:261] Using "assemble" installed from "http://127.0.0.1:23456/.s2i/bin/assemble"
I1023 09:58:13.149613 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/run'
I1023 09:58:13.149711 22626 install.go:261] Using "run" installed from "http://127.0.0.1:23456/.s2i/bin/run"
I1023 09:58:13.151163 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/save-artifacts'
I1023 09:58:13.151279 22626 install.go:261] Using "save-artifacts" installed from "http://127.0.0.1:23456/.s2i/bin/save-artifacts"
I1023 09:58:13.151364 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:58:13.151409 22626 sti.go:213] Clean build will be performed
I1023 09:58:13.151458 22626 sti.go:216] Performing source build from https://github.com/openshift/ruby-hello-world
I1023 09:58:13.151522 22626 sti.go:227] Running "assemble" in "test/sti-incremental-app-user"
I1023 09:58:13.151562 22626 sti.go:573] Using image name sti_test/sti-fake
I1023 09:58:13.154272 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:58:13.154375 22626 environment.go:41] Setting 1 environment variables provided by environment file in sources
I1023 09:58:13.154547 22626 sti.go:691] starting the source uploading ...
I1023 09:58:13.154617 22626 tar.go:217] Adding "/tmp/s2i997558280/upload" to tar ...
I1023 09:58:13.154926 22626 tar.go:312] Adding to tar: /tmp/s2i997558280/upload/scripts as scripts
I1023 09:58:13.158986 22626 docker.go:781] Both scripts and untarred source will be placed in '/tmp'
I1023 09:58:13.159091 22626 docker.go:949] Setting "/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble" command for container ...
I1023 09:58:13.159394 22626 docker.go:958] Creating container with options {Name:"s2i_sti_test_sti_fake_34040e1e" Config:{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:true StdinOnce:true Env:[RACK_ENV=production] Cmd:[/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble] Healthcheck:<nil> ArgsEscaped:false Image:sti_test/sti-fake:latest Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} HostConfig:&{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode: PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] CapAdd:[] CapDrop:[] DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:67108864 Sysctls:map[] Runtime: ConsoleSize:[0 0] Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DiskQuota:0 KernelMemory:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:0 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[] Init:<nil>}} ...
I1023 09:58:13.525562 22626 docker.go:990] Attaching to container "420f0ae58e0b6907f43ce2cb8e66ce2bdfc743ad9d482e37cfadcfcc19597702" ...
I1023 09:58:13.527125 22626 docker.go:1001] Starting container "420f0ae58e0b6907f43ce2cb8e66ce2bdfc743ad9d482e37cfadcfcc19597702" ...
I1023 09:58:13.818620 22626 tar.go:312] Adding to tar: /tmp/s2i997558280/upload/scripts/assemble as scripts/assemble
I1023 09:58:13.818998 22626 tar.go:312] Adding to tar: /tmp/s2i997558280/upload/scripts/run as scripts/run
I1023 09:58:13.819443 22626 tar.go:312] Adding to tar: /tmp/s2i997558280/upload/scripts/save-artifacts as scripts/save-artifacts
I1023 09:58:13.819784 22626 tar.go:312] Adding to tar: /tmp/s2i997558280/upload/src as src
I1023 09:58:13.823075 22626 tar.go:312] Adding to tar: /tmp/s2i997558280/upload/src/.gitignore as src/.gitignore
I1023 09:58:13.826551 22626 tar.go:312] Adding to tar: /tmp/s2i997558280/upload/src/.s2i as src/.s2i
I1023 09:58:13.827143 22626 tar.go:312] Adding to tar: /tmp/s2i997558280/upload/src/.s2i/bin as src/.s2i/bin
I1023 09:58:13.827446 22626 tar.go:312] Adding to tar: /tmp/s2i997558280/upload/src/.s2i/bin/README as src/.s2i/bin/README
I1023 09:58:13.827876 22626 tar.go:312] Adding to tar: /tmp/s2i997558280/upload/src/.s2i/environment as src/.s2i/environment
I1023 09:58:13.828361 22626 tar.go:312] Adding to tar: /tmp/s2i997558280/upload/src/.travis.yml as src/.travis.yml
I1023 09:58:13.828778 22626 tar.go:312] Adding to tar: /tmp/s2i997558280/upload/src/Dockerfile as src/Dockerfile
I1023 09:58:13.829144 22626 tar.go:312] Adding to tar: /tmp/s2i997558280/upload/src/Gemfile as src/Gemfile
I1023 09:58:13.829531 22626 tar.go:312] Adding to tar: /tmp/s2i997558280/upload/src/Gemfile.lock as src/Gemfile.lock
I1023 09:58:13.829902 22626 tar.go:312] Adding to tar: /tmp/s2i997558280/upload/src/README.md as src/README.md
I1023 09:58:13.830252 22626 tar.go:312] Adding to tar: /tmp/s2i997558280/upload/src/Rakefile as src/Rakefile
I1023 09:58:13.830579 22626 tar.go:312] Adding to tar: /tmp/s2i997558280/upload/src/app.rb as src/app.rb
I1023 09:58:13.830948 22626 tar.go:312] Adding to tar: /tmp/s2i997558280/upload/src/config as src/config
I1023 09:58:13.831331 22626 tar.go:312] Adding to tar: /tmp/s2i997558280/upload/src/config/database.rb as src/config/database.rb
I1023 09:58:13.831651 22626 tar.go:312] Adding to tar: /tmp/s2i997558280/upload/src/config/database.yml as src/config/database.yml
I1023 09:58:13.831991 22626 tar.go:312] Adding to tar: /tmp/s2i997558280/upload/src/config.ru as src/config.ru
I1023 09:58:13.832356 22626 tar.go:312] Adding to tar: /tmp/s2i997558280/upload/src/db as src/db
I1023 09:58:13.832650 22626 tar.go:312] Adding to tar: /tmp/s2i997558280/upload/src/db/migrate as src/db/migrate
I1023 09:58:13.832971 22626 tar.go:312] Adding to tar: /tmp/s2i997558280/upload/src/db/migrate/20141102191902_create_key_pair.rb as src/db/migrate/20141102191902_create_key_pair.rb
I1023 09:58:13.833285 22626 tar.go:312] Adding to tar: /tmp/s2i997558280/upload/src/models.rb as src/models.rb
I1023 09:58:13.833576 22626 tar.go:312] Adding to tar: /tmp/s2i997558280/upload/src/run.sh as src/run.sh
I1023 09:58:13.833830 22626 tar.go:312] Adding to tar: /tmp/s2i997558280/upload/src/test as src/test
I1023 09:58:13.834176 22626 tar.go:312] Adding to tar: /tmp/s2i997558280/upload/src/test/sample_test.rb as src/test/sample_test.rb
I1023 09:58:13.834489 22626 tar.go:312] Adding to tar: /tmp/s2i997558280/upload/src/views as src/views
I1023 09:58:13.834788 22626 tar.go:312] Adding to tar: /tmp/s2i997558280/upload/src/views/main.erb as src/views/main.erb
I1023 09:58:13.887342 22626 docker.go:1032] Waiting for container "420f0ae58e0b6907f43ce2cb8e66ce2bdfc743ad9d482e37cfadcfcc19597702" to stop ...
I1023 09:58:14.045689 22626 docker.go:1057] Invoking PostExecute function
I1023 09:58:14.045737 22626 postexecutorstep.go:68] Skipping step: store previous image
I1023 09:58:14.045764 22626 postexecutorstep.go:117] Executing step: commit image
I1023 09:58:14.048118 22626 postexecutorstep.go:522] Checking for new Labels to apply...
I1023 09:58:14.048175 22626 postexecutorstep.go:530] Creating the download path '/tmp/s2i997558280/metadata'
I1023 09:58:14.048308 22626 postexecutorstep.go:464] Downloading file "/tmp/.s2i/image_metadata.json"
I1023 09:58:14.207139 22626 tar.go:376] Creating directory /tmp/s2i997558280/metadata
I1023 09:58:14.207217 22626 tar.go:444] Creating /tmp/s2i997558280/metadata/image_metadata.json
I1023 09:58:14.207386 22626 tar.go:454] Extracting/writing /tmp/s2i997558280/metadata/image_metadata.json
I1023 09:58:14.207547 22626 tar.go:400] Done extracting tar stream
I1023 09:58:14.207683 22626 postexecutorstep.go:555] new Labels File contents :
{
"labels": [
{"testLabel": "testLabel_value"}
]
}
I1023 09:58:14.212242 22626 docker.go:1091] Committing container with dockerOpts: {Reference:test/sti-incremental-app-user Comment: Author: Changes:[] Pause:false Config:0xc420343180}, config: {Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[RACK_ENV=production] Cmd:[/tmp/scripts/run] Healthcheck:<nil> ArgsEscaped:false Image: Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[io.openshift.s2i.build.commit.date:Fri Feb 9 18:24:07 2018 -0500 io.openshift.s2i.build.commit.ref:master io.openshift.s2i.scripts-url:http://127.0.0.1:23456/.s2i/bin io.openshift.s2i.build.source-location:https://github.com/openshift/ruby-hello-world io.k8s.display-name:test/sti-incremental-app-user io.openshift.s2i.build.image:sti_test/sti-fake io.openshift.s2i.build.commit.author:Ben Parees <bparees@users.noreply.github.com> io.openshift.s2i.build.commit.message:Merge pull request #71 from bparees/gemfile2 io.openshift.s2i.build.commit.id:7ccd3242c49c3868195ca9400a539fa611111096 testLabel:testLabel_value] StopSignal: StopTimeout:<nil> Shell:[]}
I1023 09:58:14.860875 22626 postexecutorstep.go:392] Executing step: report success
I1023 09:58:14.860925 22626 postexecutorstep.go:397] Successfully built test/sti-incremental-app-user
I1023 09:58:14.860955 22626 postexecutorstep.go:93] Skipping step: remove previous image
I1023 09:58:14.861680 22626 docker.go:968] Removing container "420f0ae58e0b6907f43ce2cb8e66ce2bdfc743ad9d482e37cfadcfcc19597702" ...
I1023 09:58:14.877092 22626 docker.go:978] Removed container "420f0ae58e0b6907f43ce2cb8e66ce2bdfc743ad9d482e37cfadcfcc19597702"
I1023 09:58:14.877305 22626 cleanup.go:33] Removing temporary directory /tmp/s2i997558280
I1023 09:58:14.877355 22626 fs.go:302] Removing directory '/tmp/s2i997558280'
I1023 09:58:14.881954 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:58:14.888111 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:58:14.888172 22626 docker.go:718] Image sha256:a1f6bf1e1a111c7f8257166efaa9a161f42805b7e01b228abc4be86abf4f4b90 contains io.openshift.s2i.scripts-url set to "http://127.0.0.1:23456/.s2i/bin"
I1023 09:58:14.888237 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
I1023 09:58:14.888345 22626 sti.go:204] Preparing to build test/sti-incremental-app-user
I1023 09:58:14.888763 22626 clone.go:36] Downloading "https://github.com/openshift/ruby-hello-world" ...
I1023 09:58:14.888811 22626 clone.go:40] Cloning sources into "/tmp/s2i451081850/upload/src"
I1023 09:58:15.443575 22626 clone.go:56] Checked out "HEAD"
I1023 09:58:15.467673 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:58:15.488363 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/assemble'
I1023 09:58:15.488476 22626 install.go:261] Using "assemble" installed from "http://127.0.0.1:23456/.s2i/bin/assemble"
I1023 09:58:15.489881 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/run'
I1023 09:58:15.489985 22626 install.go:261] Using "run" installed from "http://127.0.0.1:23456/.s2i/bin/run"
I1023 09:58:15.491366 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/save-artifacts'
I1023 09:58:15.491466 22626 install.go:261] Using "save-artifacts" installed from "http://127.0.0.1:23456/.s2i/bin/save-artifacts"
I1023 09:58:15.491519 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:58:15.494570 22626 docker.go:487] Using locally available image "test/sti-incremental-app-user:latest"
I1023 09:58:15.497187 22626 sti.go:211] Existing image for tag test/sti-incremental-app-user detected for incremental build
I1023 09:58:15.497239 22626 sti.go:216] Performing source build from https://github.com/openshift/ruby-hello-world
I1023 09:58:15.497367 22626 sti.go:510] Saving build artifacts from image test/sti-incremental-app-user to path /tmp/s2i451081850/upload/artifacts
I1023 09:58:15.499950 22626 sti.go:534] The assemble user is not set, defaulting to "" user
I1023 09:58:15.505128 22626 docker.go:781] Both scripts and untarred source will be placed in '/tmp'
I1023 09:58:15.505193 22626 docker.go:949] Setting "/tmp/scripts/save-artifacts" command for container ...
I1023 09:58:15.505470 22626 docker.go:958] Creating container with options {Name:"s2i_test_sti_incremental_app_user_5c6211b5" Config:{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[] Cmd:[/tmp/scripts/save-artifacts] Healthcheck:<nil> ArgsEscaped:false Image:test/sti-incremental-app-user:latest Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} HostConfig:&{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode: PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] CapAdd:[] CapDrop:[] DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:67108864 Sysctls:map[] Runtime: ConsoleSize:[0 0] Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DiskQuota:0 KernelMemory:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:0 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[] Init:<nil>}} ...
I1023 09:58:15.879622 22626 docker.go:990] Attaching to container "bac13ce302e1bf5b283d1426f80d861a45ede6f282057579e1e253a564065a20" ...
I1023 09:58:15.881815 22626 docker.go:1001] Starting container "bac13ce302e1bf5b283d1426f80d861a45ede6f282057579e1e253a564065a20" ...
I1023 09:58:16.197823 22626 tar.go:367] Creating directory /tmp/s2i451081850/upload/artifacts
I1023 09:58:16.198025 22626 tar.go:376] Creating directory /tmp/s2i451081850/upload/artifacts
I1023 09:58:16.198072 22626 tar.go:444] Creating /tmp/s2i451081850/upload/artifacts/.gitignore
I1023 09:58:16.198183 22626 tar.go:454] Extracting/writing /tmp/s2i451081850/upload/artifacts/.gitignore
I1023 09:58:16.199534 22626 tar.go:367] Creating directory /tmp/s2i451081850/upload/artifacts/.s2i
I1023 09:58:16.199767 22626 tar.go:367] Creating directory /tmp/s2i451081850/upload/artifacts/.s2i/bin
I1023 09:58:16.200186 22626 tar.go:376] Creating directory /tmp/s2i451081850/upload/artifacts/.s2i/bin
I1023 09:58:16.200316 22626 tar.go:444] Creating /tmp/s2i451081850/upload/artifacts/.s2i/bin/README
I1023 09:58:16.200413 22626 tar.go:454] Extracting/writing /tmp/s2i451081850/upload/artifacts/.s2i/bin/README
I1023 09:58:16.201110 22626 tar.go:376] Creating directory /tmp/s2i451081850/upload/artifacts/.s2i
I1023 09:58:16.201173 22626 tar.go:444] Creating /tmp/s2i451081850/upload/artifacts/.s2i/environment
I1023 09:58:16.201261 22626 tar.go:454] Extracting/writing /tmp/s2i451081850/upload/artifacts/.s2i/environment
I1023 09:58:16.201478 22626 tar.go:376] Creating directory /tmp/s2i451081850/upload/artifacts
I1023 09:58:16.201543 22626 tar.go:444] Creating /tmp/s2i451081850/upload/artifacts/.travis.yml
I1023 09:58:16.201634 22626 tar.go:454] Extracting/writing /tmp/s2i451081850/upload/artifacts/.travis.yml
I1023 09:58:16.207673 22626 tar.go:376] Creating directory /tmp/s2i451081850/upload/artifacts
I1023 09:58:16.207744 22626 tar.go:444] Creating /tmp/s2i451081850/upload/artifacts/Dockerfile
I1023 09:58:16.207886 22626 tar.go:454] Extracting/writing /tmp/s2i451081850/upload/artifacts/Dockerfile
I1023 09:58:16.208140 22626 tar.go:376] Creating directory /tmp/s2i451081850/upload/artifacts
I1023 09:58:16.208200 22626 tar.go:444] Creating /tmp/s2i451081850/upload/artifacts/Gemfile
I1023 09:58:16.208296 22626 tar.go:454] Extracting/writing /tmp/s2i451081850/upload/artifacts/Gemfile
I1023 09:58:16.208732 22626 tar.go:376] Creating directory /tmp/s2i451081850/upload/artifacts
I1023 09:58:16.208794 22626 tar.go:444] Creating /tmp/s2i451081850/upload/artifacts/Gemfile.lock
I1023 09:58:16.208896 22626 tar.go:454] Extracting/writing /tmp/s2i451081850/upload/artifacts/Gemfile.lock
I1023 09:58:16.209145 22626 tar.go:376] Creating directory /tmp/s2i451081850/upload/artifacts
I1023 09:58:16.209202 22626 tar.go:444] Creating /tmp/s2i451081850/upload/artifacts/README.md
I1023 09:58:16.209320 22626 tar.go:454] Extracting/writing /tmp/s2i451081850/upload/artifacts/README.md
I1023 09:58:16.215854 22626 tar.go:376] Creating directory /tmp/s2i451081850/upload/artifacts
I1023 09:58:16.215921 22626 tar.go:444] Creating /tmp/s2i451081850/upload/artifacts/Rakefile
I1023 09:58:16.216036 22626 tar.go:454] Extracting/writing /tmp/s2i451081850/upload/artifacts/Rakefile
I1023 09:58:16.216257 22626 tar.go:376] Creating directory /tmp/s2i451081850/upload/artifacts
I1023 09:58:16.216319 22626 tar.go:444] Creating /tmp/s2i451081850/upload/artifacts/app.rb
I1023 09:58:16.216419 22626 tar.go:454] Extracting/writing /tmp/s2i451081850/upload/artifacts/app.rb
I1023 09:58:16.216636 22626 tar.go:367] Creating directory /tmp/s2i451081850/upload/artifacts/config
I1023 09:58:16.216881 22626 tar.go:376] Creating directory /tmp/s2i451081850/upload/artifacts/config
I1023 09:58:16.216947 22626 tar.go:444] Creating /tmp/s2i451081850/upload/artifacts/config/database.rb
I1023 09:58:16.217063 22626 tar.go:454] Extracting/writing /tmp/s2i451081850/upload/artifacts/config/database.rb
I1023 09:58:16.217284 22626 tar.go:376] Creating directory /tmp/s2i451081850/upload/artifacts/config
I1023 09:58:16.217346 22626 tar.go:444] Creating /tmp/s2i451081850/upload/artifacts/config/database.yml
I1023 09:58:16.217439 22626 tar.go:454] Extracting/writing /tmp/s2i451081850/upload/artifacts/config/database.yml
I1023 09:58:16.217649 22626 tar.go:376] Creating directory /tmp/s2i451081850/upload/artifacts
I1023 09:58:16.217711 22626 tar.go:444] Creating /tmp/s2i451081850/upload/artifacts/config.ru
I1023 09:58:16.217807 22626 tar.go:454] Extracting/writing /tmp/s2i451081850/upload/artifacts/config.ru
I1023 09:58:16.218030 22626 tar.go:367] Creating directory /tmp/s2i451081850/upload/artifacts/db
I1023 09:58:16.218247 22626 tar.go:367] Creating directory /tmp/s2i451081850/upload/artifacts/db/migrate
I1023 09:58:16.218473 22626 tar.go:376] Creating directory /tmp/s2i451081850/upload/artifacts/db/migrate
I1023 09:58:16.218538 22626 tar.go:444] Creating /tmp/s2i451081850/upload/artifacts/db/migrate/20141102191902_create_key_pair.rb
I1023 09:58:16.218639 22626 tar.go:454] Extracting/writing /tmp/s2i451081850/upload/artifacts/db/migrate/20141102191902_create_key_pair.rb
I1023 09:58:16.218847 22626 tar.go:376] Creating directory /tmp/s2i451081850/upload/artifacts
I1023 09:58:16.218908 22626 tar.go:444] Creating /tmp/s2i451081850/upload/artifacts/models.rb
I1023 09:58:16.219009 22626 tar.go:454] Extracting/writing /tmp/s2i451081850/upload/artifacts/models.rb
I1023 09:58:16.225531 22626 tar.go:376] Creating directory /tmp/s2i451081850/upload/artifacts
I1023 09:58:16.225601 22626 tar.go:444] Creating /tmp/s2i451081850/upload/artifacts/run.sh
I1023 09:58:16.225716 22626 tar.go:454] Extracting/writing /tmp/s2i451081850/upload/artifacts/run.sh
I1023 09:58:16.225913 22626 tar.go:367] Creating directory /tmp/s2i451081850/upload/artifacts/test
I1023 09:58:16.226142 22626 tar.go:376] Creating directory /tmp/s2i451081850/upload/artifacts/test
I1023 09:58:16.226204 22626 tar.go:444] Creating /tmp/s2i451081850/upload/artifacts/test/sample_test.rb
I1023 09:58:16.226300 22626 tar.go:454] Extracting/writing /tmp/s2i451081850/upload/artifacts/test/sample_test.rb
I1023 09:58:16.226504 22626 tar.go:367] Creating directory /tmp/s2i451081850/upload/artifacts/views
I1023 09:58:16.226725 22626 tar.go:376] Creating directory /tmp/s2i451081850/upload/artifacts/views
I1023 09:58:16.226788 22626 tar.go:444] Creating /tmp/s2i451081850/upload/artifacts/views/main.erb
I1023 09:58:16.226882 22626 tar.go:454] Extracting/writing /tmp/s2i451081850/upload/artifacts/views/main.erb
I1023 09:58:16.227122 22626 tar.go:376] Creating directory /tmp/s2i451081850/upload/artifacts
I1023 09:58:16.227187 22626 tar.go:444] Creating /tmp/s2i451081850/upload/artifacts/save-artifacts-invoked
I1023 09:58:16.227283 22626 tar.go:454] Extracting/writing /tmp/s2i451081850/upload/artifacts/save-artifacts-invoked
I1023 09:58:16.227423 22626 tar.go:400] Done extracting tar stream
I1023 09:58:16.311183 22626 docker.go:1032] Waiting for container "bac13ce302e1bf5b283d1426f80d861a45ede6f282057579e1e253a564065a20" to stop ...
I1023 09:58:16.446115 22626 docker.go:968] Removing container "bac13ce302e1bf5b283d1426f80d861a45ede6f282057579e1e253a564065a20" ...
I1023 09:58:16.460653 22626 docker.go:978] Removed container "bac13ce302e1bf5b283d1426f80d861a45ede6f282057579e1e253a564065a20"
I1023 09:58:16.460843 22626 sti.go:227] Running "assemble" in "test/sti-incremental-app-user"
I1023 09:58:16.460892 22626 sti.go:573] Using image name sti_test/sti-fake
I1023 09:58:16.463116 22626 docker.go:487] Using locally available image "sti_test/sti-fake:latest"
I1023 09:58:16.463223 22626 environment.go:41] Setting 1 environment variables provided by environment file in sources
I1023 09:58:16.463459 22626 sti.go:691] starting the source uploading ...
I1023 09:58:16.463528 22626 tar.go:217] Adding "/tmp/s2i451081850/upload" to tar ...
I1023 09:58:16.463845 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/artifacts as artifacts
I1023 09:58:16.467968 22626 docker.go:781] Both scripts and untarred source will be placed in '/tmp'
I1023 09:58:16.468072 22626 docker.go:949] Setting "/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble" command for container ...
I1023 09:58:16.468394 22626 docker.go:958] Creating container with options {Name:"s2i_sti_test_sti_fake_9217a4d1" Config:{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:true StdinOnce:true Env:[RACK_ENV=production] Cmd:[/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble] Healthcheck:<nil> ArgsEscaped:false Image:sti_test/sti-fake:latest Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} HostConfig:&{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode: PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] CapAdd:[] CapDrop:[] DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:67108864 Sysctls:map[] Runtime: ConsoleSize:[0 0] Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DiskQuota:0 KernelMemory:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:0 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[] Init:<nil>}} ...
I1023 09:58:16.833683 22626 docker.go:990] Attaching to container "9dce4adb057e5e4d47e1affa4641936f21fc791383267207249bfdaaba425c21" ...
I1023 09:58:16.835329 22626 docker.go:1001] Starting container "9dce4adb057e5e4d47e1affa4641936f21fc791383267207249bfdaaba425c21" ...
I1023 09:58:17.129597 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/artifacts/.gitignore as artifacts/.gitignore
I1023 09:58:17.129894 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/artifacts/.s2i as artifacts/.s2i
I1023 09:58:17.130217 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/artifacts/.s2i/bin as artifacts/.s2i/bin
I1023 09:58:17.130501 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/artifacts/.s2i/bin/README as artifacts/.s2i/bin/README
I1023 09:58:17.130795 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/artifacts/.s2i/environment as artifacts/.s2i/environment
I1023 09:58:17.131133 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/artifacts/.travis.yml as artifacts/.travis.yml
I1023 09:58:17.131465 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/artifacts/Dockerfile as artifacts/Dockerfile
I1023 09:58:17.131750 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/artifacts/Gemfile as artifacts/Gemfile
I1023 09:58:17.132091 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/artifacts/Gemfile.lock as artifacts/Gemfile.lock
I1023 09:58:17.132467 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/artifacts/README.md as artifacts/README.md
I1023 09:58:17.132836 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/artifacts/Rakefile as artifacts/Rakefile
I1023 09:58:17.133197 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/artifacts/app.rb as artifacts/app.rb
I1023 09:58:17.133554 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/artifacts/config as artifacts/config
I1023 09:58:17.133949 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/artifacts/config/database.rb as artifacts/config/database.rb
I1023 09:58:17.134347 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/artifacts/config/database.yml as artifacts/config/database.yml
I1023 09:58:17.134769 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/artifacts/config.ru as artifacts/config.ru
I1023 09:58:17.135144 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/artifacts/db as artifacts/db
I1023 09:58:17.135474 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/artifacts/db/migrate as artifacts/db/migrate
I1023 09:58:17.135820 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/artifacts/db/migrate/20141102191902_create_key_pair.rb as artifacts/db/migrate/20141102191902_create_key_pair.rb
I1023 09:58:17.136178 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/artifacts/models.rb as artifacts/models.rb
I1023 09:58:17.136526 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/artifacts/run.sh as artifacts/run.sh
I1023 09:58:17.136923 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/artifacts/save-artifacts-invoked as artifacts/save-artifacts-invoked
I1023 09:58:17.137264 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/artifacts/test as artifacts/test
I1023 09:58:17.137556 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/artifacts/test/sample_test.rb as artifacts/test/sample_test.rb
I1023 09:58:17.137857 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/artifacts/views as artifacts/views
I1023 09:58:17.138221 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/artifacts/views/main.erb as artifacts/views/main.erb
I1023 09:58:17.138522 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/scripts as scripts
I1023 09:58:17.138853 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/scripts/assemble as scripts/assemble
I1023 09:58:17.139160 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/scripts/run as scripts/run
I1023 09:58:17.139501 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/scripts/save-artifacts as scripts/save-artifacts
I1023 09:58:17.139819 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/src as src
I1023 09:58:17.145094 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/src/.gitignore as src/.gitignore
I1023 09:58:17.145474 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/src/.s2i as src/.s2i
I1023 09:58:17.145822 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/src/.s2i/bin as src/.s2i/bin
I1023 09:58:17.146206 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/src/.s2i/bin/README as src/.s2i/bin/README
I1023 09:58:17.146589 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/src/.s2i/environment as src/.s2i/environment
I1023 09:58:17.147361 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/src/.travis.yml as src/.travis.yml
I1023 09:58:17.147716 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/src/Dockerfile as src/Dockerfile
I1023 09:58:17.148188 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/src/Gemfile as src/Gemfile
I1023 09:58:17.148635 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/src/Gemfile.lock as src/Gemfile.lock
I1023 09:58:17.148958 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/src/README.md as src/README.md
I1023 09:58:17.149320 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/src/Rakefile as src/Rakefile
I1023 09:58:17.149610 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/src/app.rb as src/app.rb
I1023 09:58:17.149926 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/src/config as src/config
I1023 09:58:17.150233 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/src/config/database.rb as src/config/database.rb
I1023 09:58:17.150563 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/src/config/database.yml as src/config/database.yml
I1023 09:58:17.150889 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/src/config.ru as src/config.ru
I1023 09:58:17.151238 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/src/db as src/db
I1023 09:58:17.151523 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/src/db/migrate as src/db/migrate
I1023 09:58:17.151802 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/src/db/migrate/20141102191902_create_key_pair.rb as src/db/migrate/20141102191902_create_key_pair.rb
I1023 09:58:17.152105 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/src/models.rb as src/models.rb
I1023 09:58:17.152376 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/src/run.sh as src/run.sh
I1023 09:58:17.152651 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/src/test as src/test
I1023 09:58:17.152943 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/src/test/sample_test.rb as src/test/sample_test.rb
I1023 09:58:17.153269 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/src/views as src/views
I1023 09:58:17.153594 22626 tar.go:312] Adding to tar: /tmp/s2i451081850/upload/src/views/main.erb as src/views/main.erb
I1023 09:58:17.197555 22626 docker.go:1032] Waiting for container "9dce4adb057e5e4d47e1affa4641936f21fc791383267207249bfdaaba425c21" to stop ...
I1023 09:58:17.354796 22626 docker.go:1057] Invoking PostExecute function
I1023 09:58:17.354851 22626 postexecutorstep.go:63] Executing step: store previous image
I1023 09:58:17.357644 22626 postexecutorstep.go:117] Executing step: commit image
I1023 09:58:17.359679 22626 postexecutorstep.go:522] Checking for new Labels to apply...
I1023 09:58:17.359738 22626 postexecutorstep.go:530] Creating the download path '/tmp/s2i451081850/metadata'
I1023 09:58:17.359982 22626 postexecutorstep.go:464] Downloading file "/tmp/.s2i/image_metadata.json"
I1023 09:58:17.516160 22626 tar.go:376] Creating directory /tmp/s2i451081850/metadata
I1023 09:58:17.516240 22626 tar.go:444] Creating /tmp/s2i451081850/metadata/image_metadata.json
I1023 09:58:17.516410 22626 tar.go:454] Extracting/writing /tmp/s2i451081850/metadata/image_metadata.json
I1023 09:58:17.516579 22626 tar.go:400] Done extracting tar stream
I1023 09:58:17.516717 22626 postexecutorstep.go:555] new Labels File contents :
{
"labels": [
{"testLabel": "testLabel_value"}
]
}
I1023 09:58:17.521399 22626 docker.go:1091] Committing container with dockerOpts: {Reference:test/sti-incremental-app-user Comment: Author: Changes:[] Pause:false Config:0xc4203432c0}, config: {Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[RACK_ENV=production] Cmd:[/tmp/scripts/run] Healthcheck:<nil> ArgsEscaped:false Image: Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[io.openshift.s2i.scripts-url:http://127.0.0.1:23456/.s2i/bin io.k8s.display-name:test/sti-incremental-app-user io.openshift.s2i.build.image:sti_test/sti-fake testLabel:testLabel_value io.openshift.s2i.build.commit.date:Fri Feb 9 18:24:07 2018 -0500 io.openshift.s2i.build.commit.id:7ccd3242c49c3868195ca9400a539fa611111096 io.openshift.s2i.build.commit.ref:master io.openshift.s2i.build.commit.message:Merge pull request #71 from bparees/gemfile2 io.openshift.s2i.build.source-location:https://github.com/openshift/ruby-hello-world io.openshift.s2i.build.commit.author:Ben Parees <bparees@users.noreply.github.com>] StopSignal: StopTimeout:<nil> Shell:[]}
I1023 09:58:18.678873 22626 postexecutorstep.go:392] Executing step: report success
I1023 09:58:18.678924 22626 postexecutorstep.go:397] Successfully built test/sti-incremental-app-user
I1023 09:58:18.678955 22626 postexecutorstep.go:88] Executing step: remove previous image
I1023 09:58:18.678983 22626 postexecutorstep.go:102] Removing previously-tagged image sha256:5e5667a5a59db6617cd864cf3d095274a50e3b1dc46e48f6012bf88edac3947d
I1023 09:58:18.685568 22626 docker.go:968] Removing container "9dce4adb057e5e4d47e1affa4641936f21fc791383267207249bfdaaba425c21" ...
I1023 09:58:18.700327 22626 docker.go:978] Removed container "9dce4adb057e5e4d47e1affa4641936f21fc791383267207249bfdaaba425c21"
I1023 09:58:18.700494 22626 cleanup.go:33] Removing temporary directory /tmp/s2i451081850
I1023 09:58:18.700533 22626 fs.go:302] Removing directory '/tmp/s2i451081850'
--- PASS: TestIncrementalBuildUser (7.46s)
=== RUN TestIncrementalBuildScripts
I1023 09:58:20.208448 22626 docker.go:487] Using locally available image "sti_test/sti-fake-scripts:latest"
I1023 09:58:20.214693 22626 docker.go:487] Using locally available image "sti_test/sti-fake-scripts:latest"
I1023 09:58:20.214757 22626 docker.go:718] Image sha256:3954556774d2845c827ead615d0ef027a59c7181e6c72d0e82f38a2a9aa38eb1 contains io.openshift.s2i.scripts-url set to "image:///tmp/scripts/"
I1023 09:58:20.214823 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
I1023 09:58:20.214938 22626 sti.go:204] Preparing to build test/sti-incremental-app-scripts
I1023 09:58:20.215411 22626 clone.go:36] Downloading "https://github.com/openshift/ruby-hello-world" ...
I1023 09:58:20.215463 22626 clone.go:40] Cloning sources into "/tmp/s2i421989820/upload/src"
I1023 09:58:20.558126 22626 clone.go:56] Checked out "HEAD"
I1023 09:58:20.583407 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:58:20.601394 22626 install.go:261] Using "assemble" installed from "image:///tmp/scripts//assemble"
I1023 09:58:20.601529 22626 install.go:261] Using "run" installed from "image:///tmp/scripts//run"
I1023 09:58:20.601658 22626 install.go:261] Using "save-artifacts" installed from "image:///tmp/scripts//save-artifacts"
I1023 09:58:20.601739 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:58:20.601788 22626 sti.go:213] Clean build will be performed
I1023 09:58:20.601847 22626 sti.go:216] Performing source build from https://github.com/openshift/ruby-hello-world
I1023 09:58:20.601938 22626 sti.go:227] Running "assemble" in "test/sti-incremental-app-scripts"
I1023 09:58:20.601973 22626 sti.go:573] Using image name sti_test/sti-fake-scripts
I1023 09:58:20.604654 22626 docker.go:487] Using locally available image "sti_test/sti-fake-scripts:latest"
I1023 09:58:20.604764 22626 environment.go:41] Setting 1 environment variables provided by environment file in sources
I1023 09:58:20.604962 22626 sti.go:691] starting the source uploading ...
I1023 09:58:20.605033 22626 tar.go:217] Adding "/tmp/s2i421989820/upload" to tar ...
I1023 09:58:20.605394 22626 tar.go:312] Adding to tar: /tmp/s2i421989820/upload/scripts as scripts
I1023 09:58:20.609502 22626 docker.go:718] Image sha256:3954556774d2845c827ead615d0ef027a59c7181e6c72d0e82f38a2a9aa38eb1 contains io.openshift.s2i.scripts-url set to "image:///tmp/scripts/"
I1023 09:58:20.609553 22626 docker.go:793] Base directory for S2I scripts is '/tmp/scripts/'. Untarring destination is '/tmp'.
I1023 09:58:20.609637 22626 docker.go:949] Setting "/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble" command for container ...
I1023 09:58:20.609959 22626 docker.go:958] Creating container with options {Name:"s2i_sti_test_sti_fake_scripts_dccc3d24" Config:{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:true StdinOnce:true Env:[RACK_ENV=production] Cmd:[/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble] Healthcheck:<nil> ArgsEscaped:false Image:sti_test/sti-fake-scripts:latest Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} HostConfig:&{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode: PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] CapAdd:[] CapDrop:[] DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:67108864 Sysctls:map[] Runtime: ConsoleSize:[0 0] Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DiskQuota:0 KernelMemory:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:0 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[] Init:<nil>}} ...
I1023 09:58:21.026606 22626 docker.go:990] Attaching to container "a1333bfe7dbc9041e895d2a1bd97c970be185b9d4aaaad0949f1412d9092f154" ...
I1023 09:58:21.028321 22626 docker.go:1001] Starting container "a1333bfe7dbc9041e895d2a1bd97c970be185b9d4aaaad0949f1412d9092f154" ...
I1023 09:58:21.317399 22626 tar.go:312] Adding to tar: /tmp/s2i421989820/upload/src as src
I1023 09:58:21.322137 22626 tar.go:312] Adding to tar: /tmp/s2i421989820/upload/src/.gitignore as src/.gitignore
I1023 09:58:21.322498 22626 tar.go:312] Adding to tar: /tmp/s2i421989820/upload/src/.s2i as src/.s2i
I1023 09:58:21.322837 22626 tar.go:312] Adding to tar: /tmp/s2i421989820/upload/src/.s2i/bin as src/.s2i/bin
I1023 09:58:21.323202 22626 tar.go:312] Adding to tar: /tmp/s2i421989820/upload/src/.s2i/bin/README as src/.s2i/bin/README
I1023 09:58:21.323584 22626 tar.go:312] Adding to tar: /tmp/s2i421989820/upload/src/.s2i/environment as src/.s2i/environment
I1023 09:58:21.323976 22626 tar.go:312] Adding to tar: /tmp/s2i421989820/upload/src/.travis.yml as src/.travis.yml
I1023 09:58:21.324398 22626 tar.go:312] Adding to tar: /tmp/s2i421989820/upload/src/Dockerfile as src/Dockerfile
I1023 09:58:21.324772 22626 tar.go:312] Adding to tar: /tmp/s2i421989820/upload/src/Gemfile as src/Gemfile
I1023 09:58:21.325366 22626 tar.go:312] Adding to tar: /tmp/s2i421989820/upload/src/Gemfile.lock as src/Gemfile.lock
I1023 09:58:21.325865 22626 tar.go:312] Adding to tar: /tmp/s2i421989820/upload/src/README.md as src/README.md
I1023 09:58:21.326220 22626 tar.go:312] Adding to tar: /tmp/s2i421989820/upload/src/Rakefile as src/Rakefile
I1023 09:58:21.326581 22626 tar.go:312] Adding to tar: /tmp/s2i421989820/upload/src/app.rb as src/app.rb
I1023 09:58:21.326928 22626 tar.go:312] Adding to tar: /tmp/s2i421989820/upload/src/config as src/config
I1023 09:58:21.327278 22626 tar.go:312] Adding to tar: /tmp/s2i421989820/upload/src/config/database.rb as src/config/database.rb
I1023 09:58:21.327658 22626 tar.go:312] Adding to tar: /tmp/s2i421989820/upload/src/config/database.yml as src/config/database.yml
I1023 09:58:21.328070 22626 tar.go:312] Adding to tar: /tmp/s2i421989820/upload/src/config.ru as src/config.ru
I1023 09:58:21.328448 22626 tar.go:312] Adding to tar: /tmp/s2i421989820/upload/src/db as src/db
I1023 09:58:21.328741 22626 tar.go:312] Adding to tar: /tmp/s2i421989820/upload/src/db/migrate as src/db/migrate
I1023 09:58:21.329094 22626 tar.go:312] Adding to tar: /tmp/s2i421989820/upload/src/db/migrate/20141102191902_create_key_pair.rb as src/db/migrate/20141102191902_create_key_pair.rb
I1023 09:58:21.329451 22626 tar.go:312] Adding to tar: /tmp/s2i421989820/upload/src/models.rb as src/models.rb
I1023 09:58:21.329822 22626 tar.go:312] Adding to tar: /tmp/s2i421989820/upload/src/run.sh as src/run.sh
I1023 09:58:21.330201 22626 tar.go:312] Adding to tar: /tmp/s2i421989820/upload/src/test as src/test
I1023 09:58:21.330533 22626 tar.go:312] Adding to tar: /tmp/s2i421989820/upload/src/test/sample_test.rb as src/test/sample_test.rb
I1023 09:58:21.330829 22626 tar.go:312] Adding to tar: /tmp/s2i421989820/upload/src/views as src/views
I1023 09:58:21.331167 22626 tar.go:312] Adding to tar: /tmp/s2i421989820/upload/src/views/main.erb as src/views/main.erb
I1023 09:58:21.384835 22626 docker.go:1032] Waiting for container "a1333bfe7dbc9041e895d2a1bd97c970be185b9d4aaaad0949f1412d9092f154" to stop ...
I1023 09:58:21.552643 22626 docker.go:1057] Invoking PostExecute function
I1023 09:58:21.552698 22626 postexecutorstep.go:68] Skipping step: store previous image
I1023 09:58:21.552725 22626 postexecutorstep.go:117] Executing step: commit image
I1023 09:58:21.555064 22626 postexecutorstep.go:522] Checking for new Labels to apply...
I1023 09:58:21.555122 22626 postexecutorstep.go:530] Creating the download path '/tmp/s2i421989820/metadata'
I1023 09:58:21.555278 22626 postexecutorstep.go:464] Downloading file "/tmp/.s2i/image_metadata.json"
I1023 09:58:21.718157 22626 tar.go:376] Creating directory /tmp/s2i421989820/metadata
I1023 09:58:21.718234 22626 tar.go:444] Creating /tmp/s2i421989820/metadata/image_metadata.json
I1023 09:58:21.718421 22626 tar.go:454] Extracting/writing /tmp/s2i421989820/metadata/image_metadata.json
I1023 09:58:21.718581 22626 tar.go:400] Done extracting tar stream
I1023 09:58:21.718695 22626 postexecutorstep.go:555] new Labels File contents :
{
"labels": [
{"testLabel": "testLabel_value"}
]
}
I1023 09:58:21.723400 22626 docker.go:1091] Committing container with dockerOpts: {Reference:test/sti-incremental-app-scripts Comment: Author: Changes:[] Pause:false Config:0xc42022e280}, config: {Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[RACK_ENV=production] Cmd:[/tmp/scripts//run] Healthcheck:<nil> ArgsEscaped:false Image: Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[io.openshift.s2i.build.commit.author:Ben Parees <bparees@users.noreply.github.com> io.openshift.s2i.build.commit.date:Fri Feb 9 18:24:07 2018 -0500 testLabel:testLabel_value io.openshift.s2i.build.commit.message:Merge pull request #71 from bparees/gemfile2 io.openshift.s2i.build.source-location:https://github.com/openshift/ruby-hello-world io.openshift.s2i.build.image:sti_test/sti-fake-scripts io.openshift.s2i.build.commit.id:7ccd3242c49c3868195ca9400a539fa611111096 io.openshift.s2i.build.commit.ref:master io.openshift.s2i.scripts-url:image:///tmp/scripts/ io.k8s.display-name:test/sti-incremental-app-scripts] StopSignal: StopTimeout:<nil> Shell:[]}
I1023 09:58:22.362867 22626 postexecutorstep.go:392] Executing step: report success
I1023 09:58:22.362918 22626 postexecutorstep.go:397] Successfully built test/sti-incremental-app-scripts
I1023 09:58:22.362949 22626 postexecutorstep.go:93] Skipping step: remove previous image
I1023 09:58:22.363066 22626 docker.go:968] Removing container "a1333bfe7dbc9041e895d2a1bd97c970be185b9d4aaaad0949f1412d9092f154" ...
I1023 09:58:22.377681 22626 docker.go:978] Removed container "a1333bfe7dbc9041e895d2a1bd97c970be185b9d4aaaad0949f1412d9092f154"
I1023 09:58:22.377843 22626 cleanup.go:33] Removing temporary directory /tmp/s2i421989820
I1023 09:58:22.377882 22626 fs.go:302] Removing directory '/tmp/s2i421989820'
I1023 09:58:22.382515 22626 docker.go:487] Using locally available image "sti_test/sti-fake-scripts:latest"
I1023 09:58:22.388741 22626 docker.go:487] Using locally available image "sti_test/sti-fake-scripts:latest"
I1023 09:58:22.388800 22626 docker.go:718] Image sha256:3954556774d2845c827ead615d0ef027a59c7181e6c72d0e82f38a2a9aa38eb1 contains io.openshift.s2i.scripts-url set to "image:///tmp/scripts/"
I1023 09:58:22.388868 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
I1023 09:58:22.388979 22626 sti.go:204] Preparing to build test/sti-incremental-app-scripts
I1023 09:58:22.389446 22626 clone.go:36] Downloading "https://github.com/openshift/ruby-hello-world" ...
I1023 09:58:22.389507 22626 clone.go:40] Cloning sources into "/tmp/s2i300093006/upload/src"
I1023 09:58:22.701597 22626 clone.go:56] Checked out "HEAD"
I1023 09:58:22.725520 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:58:22.743909 22626 install.go:261] Using "assemble" installed from "image:///tmp/scripts//assemble"
I1023 09:58:22.744053 22626 install.go:261] Using "run" installed from "image:///tmp/scripts//run"
I1023 09:58:22.744172 22626 install.go:261] Using "save-artifacts" installed from "image:///tmp/scripts//save-artifacts"
I1023 09:58:22.744251 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:58:22.747511 22626 docker.go:487] Using locally available image "test/sti-incremental-app-scripts:latest"
I1023 09:58:22.758565 22626 sti.go:211] Existing image for tag test/sti-incremental-app-scripts detected for incremental build
I1023 09:58:22.758618 22626 sti.go:216] Performing source build from https://github.com/openshift/ruby-hello-world
I1023 09:58:22.758769 22626 sti.go:510] Saving build artifacts from image test/sti-incremental-app-scripts to path /tmp/s2i300093006/upload/artifacts
I1023 09:58:22.761548 22626 sti.go:534] The assemble user is not set, defaulting to "" user
I1023 09:58:22.766861 22626 docker.go:718] Image sha256:b2e12434ef688d26edc22bfd16f4ebbb9d029aca22dc09c444dd62076e98e030 contains io.openshift.s2i.scripts-url set to "image:///tmp/scripts/"
I1023 09:58:22.766913 22626 docker.go:793] Base directory for S2I scripts is '/tmp/scripts/'. Untarring destination is '/tmp'.
I1023 09:58:22.766981 22626 docker.go:949] Setting "/tmp/scripts/save-artifacts" command for container ...
I1023 09:58:22.767276 22626 docker.go:958] Creating container with options {Name:"s2i_test_sti_incremental_app_scripts_4b0988fe" Config:{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[] Cmd:[/tmp/scripts/save-artifacts] Healthcheck:<nil> ArgsEscaped:false Image:test/sti-incremental-app-scripts:latest Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} HostConfig:&{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode: PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] CapAdd:[] CapDrop:[] DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:67108864 Sysctls:map[] Runtime: ConsoleSize:[0 0] Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DiskQuota:0 KernelMemory:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:0 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[] Init:<nil>}} ...
I1023 09:58:23.136887 22626 docker.go:990] Attaching to container "cb17abac43d193545dec4e5073e1577d721af8d26f4d431990fac8bf0922e022" ...
I1023 09:58:23.138411 22626 docker.go:1001] Starting container "cb17abac43d193545dec4e5073e1577d721af8d26f4d431990fac8bf0922e022" ...
I1023 09:58:23.443334 22626 tar.go:367] Creating directory /tmp/s2i300093006/upload/artifacts
I1023 09:58:23.443513 22626 tar.go:376] Creating directory /tmp/s2i300093006/upload/artifacts
I1023 09:58:23.443578 22626 tar.go:444] Creating /tmp/s2i300093006/upload/artifacts/.gitignore
I1023 09:58:23.443712 22626 tar.go:454] Extracting/writing /tmp/s2i300093006/upload/artifacts/.gitignore
I1023 09:58:23.444054 22626 tar.go:367] Creating directory /tmp/s2i300093006/upload/artifacts/.s2i
I1023 09:58:23.444288 22626 tar.go:367] Creating directory /tmp/s2i300093006/upload/artifacts/.s2i/bin
I1023 09:58:23.444514 22626 tar.go:376] Creating directory /tmp/s2i300093006/upload/artifacts/.s2i/bin
I1023 09:58:23.444576 22626 tar.go:444] Creating /tmp/s2i300093006/upload/artifacts/.s2i/bin/README
I1023 09:58:23.444668 22626 tar.go:454] Extracting/writing /tmp/s2i300093006/upload/artifacts/.s2i/bin/README
I1023 09:58:23.444962 22626 tar.go:376] Creating directory /tmp/s2i300093006/upload/artifacts/.s2i
I1023 09:58:23.445044 22626 tar.go:444] Creating /tmp/s2i300093006/upload/artifacts/.s2i/environment
I1023 09:58:23.445135 22626 tar.go:454] Extracting/writing /tmp/s2i300093006/upload/artifacts/.s2i/environment
I1023 09:58:23.446091 22626 tar.go:376] Creating directory /tmp/s2i300093006/upload/artifacts
I1023 09:58:23.446173 22626 tar.go:444] Creating /tmp/s2i300093006/upload/artifacts/.travis.yml
I1023 09:58:23.446274 22626 tar.go:454] Extracting/writing /tmp/s2i300093006/upload/artifacts/.travis.yml
I1023 09:58:23.447525 22626 tar.go:376] Creating directory /tmp/s2i300093006/upload/artifacts
I1023 09:58:23.447608 22626 tar.go:444] Creating /tmp/s2i300093006/upload/artifacts/Dockerfile
I1023 09:58:23.447706 22626 tar.go:454] Extracting/writing /tmp/s2i300093006/upload/artifacts/Dockerfile
I1023 09:58:23.452595 22626 tar.go:376] Creating directory /tmp/s2i300093006/upload/artifacts
I1023 09:58:23.452665 22626 tar.go:444] Creating /tmp/s2i300093006/upload/artifacts/Gemfile
I1023 09:58:23.452763 22626 tar.go:454] Extracting/writing /tmp/s2i300093006/upload/artifacts/Gemfile
I1023 09:58:23.452974 22626 tar.go:376] Creating directory /tmp/s2i300093006/upload/artifacts
I1023 09:58:23.453053 22626 tar.go:444] Creating /tmp/s2i300093006/upload/artifacts/Gemfile.lock
I1023 09:58:23.453152 22626 tar.go:454] Extracting/writing /tmp/s2i300093006/upload/artifacts/Gemfile.lock
I1023 09:58:23.453364 22626 tar.go:376] Creating directory /tmp/s2i300093006/upload/artifacts
I1023 09:58:23.453427 22626 tar.go:444] Creating /tmp/s2i300093006/upload/artifacts/README.md
I1023 09:58:23.453548 22626 tar.go:454] Extracting/writing /tmp/s2i300093006/upload/artifacts/README.md
I1023 09:58:23.453768 22626 tar.go:376] Creating directory /tmp/s2i300093006/upload/artifacts
I1023 09:58:23.453829 22626 tar.go:444] Creating /tmp/s2i300093006/upload/artifacts/Rakefile
I1023 09:58:23.453924 22626 tar.go:454] Extracting/writing /tmp/s2i300093006/upload/artifacts/Rakefile
I1023 09:58:23.454149 22626 tar.go:376] Creating directory /tmp/s2i300093006/upload/artifacts
I1023 09:58:23.454215 22626 tar.go:444] Creating /tmp/s2i300093006/upload/artifacts/app.rb
I1023 09:58:23.454311 22626 tar.go:454] Extracting/writing /tmp/s2i300093006/upload/artifacts/app.rb
I1023 09:58:23.454535 22626 tar.go:367] Creating directory /tmp/s2i300093006/upload/artifacts/config
I1023 09:58:23.454752 22626 tar.go:376] Creating directory /tmp/s2i300093006/upload/artifacts/config
I1023 09:58:23.454811 22626 tar.go:444] Creating /tmp/s2i300093006/upload/artifacts/config/database.rb
I1023 09:58:23.454898 22626 tar.go:454] Extracting/writing /tmp/s2i300093006/upload/artifacts/config/database.rb
I1023 09:58:23.456256 22626 tar.go:376] Creating directory /tmp/s2i300093006/upload/artifacts/config
I1023 09:58:23.456334 22626 tar.go:444] Creating /tmp/s2i300093006/upload/artifacts/config/database.yml
I1023 09:58:23.456427 22626 tar.go:454] Extracting/writing /tmp/s2i300093006/upload/artifacts/config/database.yml
I1023 09:58:23.462409 22626 tar.go:376] Creating directory /tmp/s2i300093006/upload/artifacts
I1023 09:58:23.462490 22626 tar.go:444] Creating /tmp/s2i300093006/upload/artifacts/config.ru
I1023 09:58:23.462588 22626 tar.go:454] Extracting/writing /tmp/s2i300093006/upload/artifacts/config.ru
I1023 09:58:23.462786 22626 tar.go:367] Creating directory /tmp/s2i300093006/upload/artifacts/db
I1023 09:58:23.463026 22626 tar.go:367] Creating directory /tmp/s2i300093006/upload/artifacts/db/migrate
I1023 09:58:23.469609 22626 tar.go:376] Creating directory /tmp/s2i300093006/upload/artifacts/db/migrate
I1023 09:58:23.469688 22626 tar.go:444] Creating /tmp/s2i300093006/upload/artifacts/db/migrate/20141102191902_create_key_pair.rb
I1023 09:58:23.469791 22626 tar.go:454] Extracting/writing /tmp/s2i300093006/upload/artifacts/db/migrate/20141102191902_create_key_pair.rb
I1023 09:58:23.470048 22626 tar.go:376] Creating directory /tmp/s2i300093006/upload/artifacts
I1023 09:58:23.470119 22626 tar.go:444] Creating /tmp/s2i300093006/upload/artifacts/models.rb
I1023 09:58:23.470230 22626 tar.go:454] Extracting/writing /tmp/s2i300093006/upload/artifacts/models.rb
I1023 09:58:23.470462 22626 tar.go:376] Creating directory /tmp/s2i300093006/upload/artifacts
I1023 09:58:23.470529 22626 tar.go:444] Creating /tmp/s2i300093006/upload/artifacts/run.sh
I1023 09:58:23.470629 22626 tar.go:454] Extracting/writing /tmp/s2i300093006/upload/artifacts/run.sh
I1023 09:58:23.470860 22626 tar.go:367] Creating directory /tmp/s2i300093006/upload/artifacts/test
I1023 09:58:23.471119 22626 tar.go:376] Creating directory /tmp/s2i300093006/upload/artifacts/test
I1023 09:58:23.471192 22626 tar.go:444] Creating /tmp/s2i300093006/upload/artifacts/test/sample_test.rb
I1023 09:58:23.471287 22626 tar.go:454] Extracting/writing /tmp/s2i300093006/upload/artifacts/test/sample_test.rb
I1023 09:58:23.471610 22626 tar.go:367] Creating directory /tmp/s2i300093006/upload/artifacts/views
I1023 09:58:23.471848 22626 tar.go:376] Creating directory /tmp/s2i300093006/upload/artifacts/views
I1023 09:58:23.471918 22626 tar.go:444] Creating /tmp/s2i300093006/upload/artifacts/views/main.erb
I1023 09:58:23.472035 22626 tar.go:454] Extracting/writing /tmp/s2i300093006/upload/artifacts/views/main.erb
I1023 09:58:23.483788 22626 tar.go:376] Creating directory /tmp/s2i300093006/upload/artifacts
I1023 09:58:23.483862 22626 tar.go:444] Creating /tmp/s2i300093006/upload/artifacts/save-artifacts-invoked
I1023 09:58:23.483966 22626 tar.go:454] Extracting/writing /tmp/s2i300093006/upload/artifacts/save-artifacts-invoked
I1023 09:58:23.484179 22626 tar.go:400] Done extracting tar stream
I1023 09:58:23.572750 22626 docker.go:1032] Waiting for container "cb17abac43d193545dec4e5073e1577d721af8d26f4d431990fac8bf0922e022" to stop ...
I1023 09:58:23.698078 22626 docker.go:968] Removing container "cb17abac43d193545dec4e5073e1577d721af8d26f4d431990fac8bf0922e022" ...
I1023 09:58:23.713398 22626 docker.go:978] Removed container "cb17abac43d193545dec4e5073e1577d721af8d26f4d431990fac8bf0922e022"
I1023 09:58:23.713676 22626 sti.go:227] Running "assemble" in "test/sti-incremental-app-scripts"
I1023 09:58:23.713715 22626 sti.go:573] Using image name sti_test/sti-fake-scripts
I1023 09:58:23.715937 22626 docker.go:487] Using locally available image "sti_test/sti-fake-scripts:latest"
I1023 09:58:23.716058 22626 environment.go:41] Setting 1 environment variables provided by environment file in sources
I1023 09:58:23.716242 22626 sti.go:691] starting the source uploading ...
I1023 09:58:23.716310 22626 tar.go:217] Adding "/tmp/s2i300093006/upload" to tar ...
I1023 09:58:23.716703 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/artifacts as artifacts
I1023 09:58:23.720665 22626 docker.go:718] Image sha256:3954556774d2845c827ead615d0ef027a59c7181e6c72d0e82f38a2a9aa38eb1 contains io.openshift.s2i.scripts-url set to "image:///tmp/scripts/"
I1023 09:58:23.720714 22626 docker.go:793] Base directory for S2I scripts is '/tmp/scripts/'. Untarring destination is '/tmp'.
I1023 09:58:23.720799 22626 docker.go:949] Setting "/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble" command for container ...
I1023 09:58:23.721125 22626 docker.go:958] Creating container with options {Name:"s2i_sti_test_sti_fake_scripts_4c0d9a56" Config:{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:true StdinOnce:true Env:[RACK_ENV=production] Cmd:[/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble] Healthcheck:<nil> ArgsEscaped:false Image:sti_test/sti-fake-scripts:latest Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} HostConfig:&{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode: PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] CapAdd:[] CapDrop:[] DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:67108864 Sysctls:map[] Runtime: ConsoleSize:[0 0] Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DiskQuota:0 KernelMemory:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:0 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[] Init:<nil>}} ...
I1023 09:58:24.087713 22626 docker.go:990] Attaching to container "7ac19ae5450fec22c9a9f195b40d757a3aee94950f0c575af7ab61cb03bea777" ...
I1023 09:58:24.088992 22626 docker.go:1001] Starting container "7ac19ae5450fec22c9a9f195b40d757a3aee94950f0c575af7ab61cb03bea777" ...
I1023 09:58:24.378345 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/artifacts/.gitignore as artifacts/.gitignore
I1023 09:58:24.378624 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/artifacts/.s2i as artifacts/.s2i
I1023 09:58:24.378909 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/artifacts/.s2i/bin as artifacts/.s2i/bin
I1023 09:58:24.379221 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/artifacts/.s2i/bin/README as artifacts/.s2i/bin/README
I1023 09:58:24.379575 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/artifacts/.s2i/environment as artifacts/.s2i/environment
I1023 09:58:24.379965 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/artifacts/.travis.yml as artifacts/.travis.yml
I1023 09:58:24.380363 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/artifacts/Dockerfile as artifacts/Dockerfile
I1023 09:58:24.380755 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/artifacts/Gemfile as artifacts/Gemfile
I1023 09:58:24.381090 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/artifacts/Gemfile.lock as artifacts/Gemfile.lock
I1023 09:58:24.381422 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/artifacts/README.md as artifacts/README.md
I1023 09:58:24.381708 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/artifacts/Rakefile as artifacts/Rakefile
I1023 09:58:24.382008 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/artifacts/app.rb as artifacts/app.rb
I1023 09:58:24.382372 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/artifacts/config as artifacts/config
I1023 09:58:24.382716 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/artifacts/config/database.rb as artifacts/config/database.rb
I1023 09:58:24.383074 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/artifacts/config/database.yml as artifacts/config/database.yml
I1023 09:58:24.383445 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/artifacts/config.ru as artifacts/config.ru
I1023 09:58:24.383779 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/artifacts/db as artifacts/db
I1023 09:58:24.384104 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/artifacts/db/migrate as artifacts/db/migrate
I1023 09:58:24.384463 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/artifacts/db/migrate/20141102191902_create_key_pair.rb as artifacts/db/migrate/20141102191902_create_key_pair.rb
I1023 09:58:24.384776 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/artifacts/models.rb as artifacts/models.rb
I1023 09:58:24.385103 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/artifacts/run.sh as artifacts/run.sh
I1023 09:58:24.385423 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/artifacts/save-artifacts-invoked as artifacts/save-artifacts-invoked
I1023 09:58:24.385734 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/artifacts/test as artifacts/test
I1023 09:58:24.386081 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/artifacts/test/sample_test.rb as artifacts/test/sample_test.rb
I1023 09:58:24.386393 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/artifacts/views as artifacts/views
I1023 09:58:24.386685 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/artifacts/views/main.erb as artifacts/views/main.erb
I1023 09:58:24.386998 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/scripts as scripts
I1023 09:58:24.387265 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/src as src
I1023 09:58:24.390463 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/src/.gitignore as src/.gitignore
I1023 09:58:24.390776 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/src/.s2i as src/.s2i
I1023 09:58:24.391046 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/src/.s2i/bin as src/.s2i/bin
I1023 09:58:24.391314 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/src/.s2i/bin/README as src/.s2i/bin/README
I1023 09:58:24.391658 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/src/.s2i/environment as src/.s2i/environment
I1023 09:58:24.391954 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/src/.travis.yml as src/.travis.yml
I1023 09:58:24.392277 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/src/Dockerfile as src/Dockerfile
I1023 09:58:24.392602 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/src/Gemfile as src/Gemfile
I1023 09:58:24.392901 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/src/Gemfile.lock as src/Gemfile.lock
I1023 09:58:24.393256 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/src/README.md as src/README.md
I1023 09:58:24.393571 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/src/Rakefile as src/Rakefile
I1023 09:58:24.393878 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/src/app.rb as src/app.rb
I1023 09:58:24.394246 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/src/config as src/config
I1023 09:58:24.394550 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/src/config/database.rb as src/config/database.rb
I1023 09:58:24.394872 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/src/config/database.yml as src/config/database.yml
I1023 09:58:24.395210 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/src/config.ru as src/config.ru
I1023 09:58:24.395518 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/src/db as src/db
I1023 09:58:24.395838 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/src/db/migrate as src/db/migrate
I1023 09:58:24.396164 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/src/db/migrate/20141102191902_create_key_pair.rb as src/db/migrate/20141102191902_create_key_pair.rb
I1023 09:58:24.396456 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/src/models.rb as src/models.rb
I1023 09:58:24.396782 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/src/run.sh as src/run.sh
I1023 09:58:24.397098 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/src/test as src/test
I1023 09:58:24.397362 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/src/test/sample_test.rb as src/test/sample_test.rb
I1023 09:58:24.397650 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/src/views as src/views
I1023 09:58:24.397906 22626 tar.go:312] Adding to tar: /tmp/s2i300093006/upload/src/views/main.erb as src/views/main.erb
I1023 09:58:24.448217 22626 docker.go:1032] Waiting for container "7ac19ae5450fec22c9a9f195b40d757a3aee94950f0c575af7ab61cb03bea777" to stop ...
I1023 09:58:24.597899 22626 docker.go:1057] Invoking PostExecute function
I1023 09:58:24.597950 22626 postexecutorstep.go:63] Executing step: store previous image
I1023 09:58:24.600902 22626 postexecutorstep.go:117] Executing step: commit image
I1023 09:58:24.603010 22626 postexecutorstep.go:522] Checking for new Labels to apply...
I1023 09:58:24.603084 22626 postexecutorstep.go:530] Creating the download path '/tmp/s2i300093006/metadata'
I1023 09:58:24.603260 22626 postexecutorstep.go:464] Downloading file "/tmp/.s2i/image_metadata.json"
I1023 09:58:24.752158 22626 tar.go:376] Creating directory /tmp/s2i300093006/metadata
I1023 09:58:24.752236 22626 tar.go:444] Creating /tmp/s2i300093006/metadata/image_metadata.json
I1023 09:58:24.752425 22626 tar.go:454] Extracting/writing /tmp/s2i300093006/metadata/image_metadata.json
I1023 09:58:24.755947 22626 tar.go:400] Done extracting tar stream
I1023 09:58:24.756157 22626 postexecutorstep.go:555] new Labels File contents :
{
"labels": [
{"testLabel": "testLabel_value"}
]
}
I1023 09:58:24.761262 22626 docker.go:1091] Committing container with dockerOpts: {Reference:test/sti-incremental-app-scripts Comment: Author: Changes:[] Pause:false Config:0xc42022e280}, config: {Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[RACK_ENV=production] Cmd:[/tmp/scripts//run] Healthcheck:<nil> ArgsEscaped:false Image: Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[io.openshift.s2i.build.commit.ref:master testLabel:testLabel_value io.openshift.s2i.build.source-location:https://github.com/openshift/ruby-hello-world io.k8s.display-name:test/sti-incremental-app-scripts io.openshift.s2i.build.image:sti_test/sti-fake-scripts io.openshift.s2i.build.commit.author:Ben Parees <bparees@users.noreply.github.com> io.openshift.s2i.build.commit.date:Fri Feb 9 18:24:07 2018 -0500 io.openshift.s2i.build.commit.id:7ccd3242c49c3868195ca9400a539fa611111096 io.openshift.s2i.scripts-url:image:///tmp/scripts/ io.openshift.s2i.build.commit.message:Merge pull request #71 from bparees/gemfile2] StopSignal: StopTimeout:<nil> Shell:[]}
I1023 09:58:25.529898 22626 postexecutorstep.go:392] Executing step: report success
I1023 09:58:25.529950 22626 postexecutorstep.go:397] Successfully built test/sti-incremental-app-scripts
I1023 09:58:25.529981 22626 postexecutorstep.go:88] Executing step: remove previous image
I1023 09:58:25.530010 22626 postexecutorstep.go:102] Removing previously-tagged image sha256:b2e12434ef688d26edc22bfd16f4ebbb9d029aca22dc09c444dd62076e98e030
I1023 09:58:25.536581 22626 docker.go:968] Removing container "7ac19ae5450fec22c9a9f195b40d757a3aee94950f0c575af7ab61cb03bea777" ...
I1023 09:58:25.550632 22626 docker.go:978] Removed container "7ac19ae5450fec22c9a9f195b40d757a3aee94950f0c575af7ab61cb03bea777"
I1023 09:58:25.550802 22626 cleanup.go:33] Removing temporary directory /tmp/s2i300093006
I1023 09:58:25.550849 22626 fs.go:302] Removing directory '/tmp/s2i300093006'
--- PASS: TestIncrementalBuildScripts (6.84s)
=== RUN TestIncrementalBuildScriptsNoSaveArtifacts
I1023 09:58:27.041178 22626 docker.go:487] Using locally available image "sti_test/sti-fake-scripts-no-save-artifacts:latest"
I1023 09:58:27.047583 22626 docker.go:487] Using locally available image "sti_test/sti-fake-scripts-no-save-artifacts:latest"
I1023 09:58:27.047639 22626 docker.go:718] Image sha256:5e78ddd6bb4280165f1d52328fd5cc62a711d239f8a2ee97ab344c941a000e19 contains io.openshift.s2i.scripts-url set to "image:///tmp/scripts/"
I1023 09:58:27.047703 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
I1023 09:58:27.047817 22626 sti.go:204] Preparing to build test/sti-incremental-app-scripts-no-save-artifacts
I1023 09:58:27.048243 22626 clone.go:36] Downloading "https://github.com/openshift/ruby-hello-world" ...
I1023 09:58:27.048292 22626 clone.go:40] Cloning sources into "/tmp/s2i231003312/upload/src"
I1023 09:58:27.352208 22626 clone.go:56] Checked out "HEAD"
I1023 09:58:27.376517 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:58:27.396503 22626 install.go:261] Using "assemble" installed from "image:///tmp/scripts//assemble"
I1023 09:58:27.396640 22626 install.go:261] Using "run" installed from "image:///tmp/scripts//run"
I1023 09:58:27.396767 22626 install.go:261] Using "save-artifacts" installed from "image:///tmp/scripts//save-artifacts"
I1023 09:58:27.396848 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:58:27.396894 22626 sti.go:213] Clean build will be performed
I1023 09:58:27.396953 22626 sti.go:216] Performing source build from https://github.com/openshift/ruby-hello-world
I1023 09:58:27.397032 22626 sti.go:227] Running "assemble" in "test/sti-incremental-app-scripts-no-save-artifacts"
I1023 09:58:27.397066 22626 sti.go:573] Using image name sti_test/sti-fake-scripts-no-save-artifacts
I1023 09:58:27.399876 22626 docker.go:487] Using locally available image "sti_test/sti-fake-scripts-no-save-artifacts:latest"
I1023 09:58:27.399963 22626 environment.go:41] Setting 1 environment variables provided by environment file in sources
I1023 09:58:27.400433 22626 sti.go:691] starting the source uploading ...
I1023 09:58:27.400506 22626 tar.go:217] Adding "/tmp/s2i231003312/upload" to tar ...
I1023 09:58:27.400840 22626 tar.go:312] Adding to tar: /tmp/s2i231003312/upload/scripts as scripts
I1023 09:58:27.404673 22626 docker.go:718] Image sha256:5e78ddd6bb4280165f1d52328fd5cc62a711d239f8a2ee97ab344c941a000e19 contains io.openshift.s2i.scripts-url set to "image:///tmp/scripts/"
I1023 09:58:27.404722 22626 docker.go:793] Base directory for S2I scripts is '/tmp/scripts/'. Untarring destination is '/tmp'.
I1023 09:58:27.404804 22626 docker.go:949] Setting "/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble" command for container ...
I1023 09:58:27.405122 22626 docker.go:958] Creating container with options {Name:"s2i_sti_test_sti_fake_scripts_no_save_artifacts_c0a8a05f" Config:{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:true StdinOnce:true Env:[RACK_ENV=production] Cmd:[/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble] Healthcheck:<nil> ArgsEscaped:false Image:sti_test/sti-fake-scripts-no-save-artifacts:latest Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} HostConfig:&{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode: PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] CapAdd:[] CapDrop:[] DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:67108864 Sysctls:map[] Runtime: ConsoleSize:[0 0] Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DiskQuota:0 KernelMemory:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:0 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[] Init:<nil>}} ...
I1023 09:58:27.797689 22626 docker.go:990] Attaching to container "48193e836c337f0d8046808fbb307548a26c4a51d41a9a08960ecf257eb41006" ...
I1023 09:58:27.799311 22626 docker.go:1001] Starting container "48193e836c337f0d8046808fbb307548a26c4a51d41a9a08960ecf257eb41006" ...
I1023 09:58:28.093570 22626 tar.go:312] Adding to tar: /tmp/s2i231003312/upload/src as src
I1023 09:58:28.096767 22626 tar.go:312] Adding to tar: /tmp/s2i231003312/upload/src/.gitignore as src/.gitignore
I1023 09:58:28.097090 22626 tar.go:312] Adding to tar: /tmp/s2i231003312/upload/src/.s2i as src/.s2i
I1023 09:58:28.097374 22626 tar.go:312] Adding to tar: /tmp/s2i231003312/upload/src/.s2i/bin as src/.s2i/bin
I1023 09:58:28.097650 22626 tar.go:312] Adding to tar: /tmp/s2i231003312/upload/src/.s2i/bin/README as src/.s2i/bin/README
I1023 09:58:28.098035 22626 tar.go:312] Adding to tar: /tmp/s2i231003312/upload/src/.s2i/environment as src/.s2i/environment
I1023 09:58:28.098416 22626 tar.go:312] Adding to tar: /tmp/s2i231003312/upload/src/.travis.yml as src/.travis.yml
I1023 09:58:28.098746 22626 tar.go:312] Adding to tar: /tmp/s2i231003312/upload/src/Dockerfile as src/Dockerfile
I1023 09:58:28.099125 22626 tar.go:312] Adding to tar: /tmp/s2i231003312/upload/src/Gemfile as src/Gemfile
I1023 09:58:28.099454 22626 tar.go:312] Adding to tar: /tmp/s2i231003312/upload/src/Gemfile.lock as src/Gemfile.lock
I1023 09:58:28.099749 22626 tar.go:312] Adding to tar: /tmp/s2i231003312/upload/src/README.md as src/README.md
I1023 09:58:28.100079 22626 tar.go:312] Adding to tar: /tmp/s2i231003312/upload/src/Rakefile as src/Rakefile
I1023 09:58:28.100424 22626 tar.go:312] Adding to tar: /tmp/s2i231003312/upload/src/app.rb as src/app.rb
I1023 09:58:28.100769 22626 tar.go:312] Adding to tar: /tmp/s2i231003312/upload/src/config as src/config
I1023 09:58:28.101093 22626 tar.go:312] Adding to tar: /tmp/s2i231003312/upload/src/config/database.rb as src/config/database.rb
I1023 09:58:28.101442 22626 tar.go:312] Adding to tar: /tmp/s2i231003312/upload/src/config/database.yml as src/config/database.yml
I1023 09:58:28.101782 22626 tar.go:312] Adding to tar: /tmp/s2i231003312/upload/src/config.ru as src/config.ru
I1023 09:58:28.102133 22626 tar.go:312] Adding to tar: /tmp/s2i231003312/upload/src/db as src/db
I1023 09:58:28.102450 22626 tar.go:312] Adding to tar: /tmp/s2i231003312/upload/src/db/migrate as src/db/migrate
I1023 09:58:28.102784 22626 tar.go:312] Adding to tar: /tmp/s2i231003312/upload/src/db/migrate/20141102191902_create_key_pair.rb as src/db/migrate/20141102191902_create_key_pair.rb
I1023 09:58:28.104120 22626 tar.go:312] Adding to tar: /tmp/s2i231003312/upload/src/models.rb as src/models.rb
I1023 09:58:28.104527 22626 tar.go:312] Adding to tar: /tmp/s2i231003312/upload/src/run.sh as src/run.sh
I1023 09:58:28.104891 22626 tar.go:312] Adding to tar: /tmp/s2i231003312/upload/src/test as src/test
I1023 09:58:28.107241 22626 tar.go:312] Adding to tar: /tmp/s2i231003312/upload/src/test/sample_test.rb as src/test/sample_test.rb
I1023 09:58:28.107569 22626 tar.go:312] Adding to tar: /tmp/s2i231003312/upload/src/views as src/views
I1023 09:58:28.107876 22626 tar.go:312] Adding to tar: /tmp/s2i231003312/upload/src/views/main.erb as src/views/main.erb
I1023 09:58:28.158620 22626 docker.go:1032] Waiting for container "48193e836c337f0d8046808fbb307548a26c4a51d41a9a08960ecf257eb41006" to stop ...
I1023 09:58:28.320644 22626 docker.go:1057] Invoking PostExecute function
I1023 09:58:28.320696 22626 postexecutorstep.go:68] Skipping step: store previous image
I1023 09:58:28.320725 22626 postexecutorstep.go:117] Executing step: commit image
I1023 09:58:28.323172 22626 postexecutorstep.go:522] Checking for new Labels to apply...
I1023 09:58:28.323232 22626 postexecutorstep.go:530] Creating the download path '/tmp/s2i231003312/metadata'
I1023 09:58:28.323389 22626 postexecutorstep.go:464] Downloading file "/tmp/.s2i/image_metadata.json"
I1023 09:58:28.484185 22626 tar.go:376] Creating directory /tmp/s2i231003312/metadata
I1023 09:58:28.484264 22626 tar.go:444] Creating /tmp/s2i231003312/metadata/image_metadata.json
I1023 09:58:28.484443 22626 tar.go:454] Extracting/writing /tmp/s2i231003312/metadata/image_metadata.json
I1023 09:58:28.484607 22626 tar.go:400] Done extracting tar stream
I1023 09:58:28.484743 22626 postexecutorstep.go:555] new Labels File contents :
{
"labels": [
{"testLabel": "testLabel_value"}
]
}
I1023 09:58:28.489607 22626 docker.go:1091] Committing container with dockerOpts: {Reference:test/sti-incremental-app-scripts-no-save-artifacts Comment: Author: Changes:[] Pause:false Config:0xc420343180}, config: {Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[RACK_ENV=production] Cmd:[/tmp/scripts//run] Healthcheck:<nil> ArgsEscaped:false Image: Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[testLabel:testLabel_value io.openshift.s2i.build.image:sti_test/sti-fake-scripts-no-save-artifacts io.openshift.s2i.build.commit.author:Ben Parees <bparees@users.noreply.github.com> io.openshift.s2i.build.commit.date:Fri Feb 9 18:24:07 2018 -0500 io.openshift.s2i.build.source-location:https://github.com/openshift/ruby-hello-world io.k8s.display-name:test/sti-incremental-app-scripts-no-save-artifacts io.openshift.s2i.scripts-url:image:///tmp/scripts/ io.openshift.s2i.build.commit.id:7ccd3242c49c3868195ca9400a539fa611111096 io.openshift.s2i.build.commit.ref:master io.openshift.s2i.build.commit.message:Merge pull request #71 from bparees/gemfile2] StopSignal: StopTimeout:<nil> Shell:[]}
I1023 09:58:29.143900 22626 postexecutorstep.go:392] Executing step: report success
I1023 09:58:29.143953 22626 postexecutorstep.go:397] Successfully built test/sti-incremental-app-scripts-no-save-artifacts
I1023 09:58:29.143988 22626 postexecutorstep.go:93] Skipping step: remove previous image
I1023 09:58:29.144107 22626 docker.go:968] Removing container "48193e836c337f0d8046808fbb307548a26c4a51d41a9a08960ecf257eb41006" ...
I1023 09:58:29.159605 22626 docker.go:978] Removed container "48193e836c337f0d8046808fbb307548a26c4a51d41a9a08960ecf257eb41006"
I1023 09:58:29.159846 22626 cleanup.go:33] Removing temporary directory /tmp/s2i231003312
I1023 09:58:29.159888 22626 fs.go:302] Removing directory '/tmp/s2i231003312'
I1023 09:58:29.164580 22626 docker.go:487] Using locally available image "sti_test/sti-fake-scripts-no-save-artifacts:latest"
I1023 09:58:29.171057 22626 docker.go:487] Using locally available image "sti_test/sti-fake-scripts-no-save-artifacts:latest"
I1023 09:58:29.171114 22626 docker.go:718] Image sha256:5e78ddd6bb4280165f1d52328fd5cc62a711d239f8a2ee97ab344c941a000e19 contains io.openshift.s2i.scripts-url set to "image:///tmp/scripts/"
I1023 09:58:29.171179 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
I1023 09:58:29.171286 22626 sti.go:204] Preparing to build test/sti-incremental-app-scripts-no-save-artifacts
I1023 09:58:29.171724 22626 clone.go:36] Downloading "https://github.com/openshift/ruby-hello-world" ...
I1023 09:58:29.171773 22626 clone.go:40] Cloning sources into "/tmp/s2i407714146/upload/src"
I1023 09:58:29.558242 22626 clone.go:56] Checked out "HEAD"
I1023 09:58:29.583098 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:58:29.602005 22626 install.go:261] Using "assemble" installed from "image:///tmp/scripts//assemble"
I1023 09:58:29.602157 22626 install.go:261] Using "run" installed from "image:///tmp/scripts//run"
I1023 09:58:29.602283 22626 install.go:261] Using "save-artifacts" installed from "image:///tmp/scripts//save-artifacts"
I1023 09:58:29.602371 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:58:29.605654 22626 docker.go:487] Using locally available image "test/sti-incremental-app-scripts-no-save-artifacts:latest"
I1023 09:58:29.608472 22626 sti.go:211] Existing image for tag test/sti-incremental-app-scripts-no-save-artifacts detected for incremental build
I1023 09:58:29.608528 22626 sti.go:216] Performing source build from https://github.com/openshift/ruby-hello-world
I1023 09:58:29.608678 22626 sti.go:510] Saving build artifacts from image test/sti-incremental-app-scripts-no-save-artifacts to path /tmp/s2i407714146/upload/artifacts
I1023 09:58:29.611396 22626 sti.go:534] The assemble user is not set, defaulting to "" user
I1023 09:58:29.616941 22626 docker.go:718] Image sha256:b0f9d337cd43b591b2b36ff938f37e070959fc0451f5c4e88316037289e87d71 contains io.openshift.s2i.scripts-url set to "image:///tmp/scripts/"
I1023 09:58:29.616986 22626 docker.go:793] Base directory for S2I scripts is '/tmp/scripts/'. Untarring destination is '/tmp'.
I1023 09:58:29.617070 22626 docker.go:949] Setting "/tmp/scripts/save-artifacts" command for container ...
I1023 09:58:29.617340 22626 docker.go:958] Creating container with options {Name:"s2i_test_sti_incremental_app_scripts_no_save_artifacts_34e299f0" Config:{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[] Cmd:[/tmp/scripts/save-artifacts] Healthcheck:<nil> ArgsEscaped:false Image:test/sti-incremental-app-scripts-no-save-artifacts:latest Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} HostConfig:&{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode: PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] CapAdd:[] CapDrop:[] DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:67108864 Sysctls:map[] Runtime: ConsoleSize:[0 0] Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DiskQuota:0 KernelMemory:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:0 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[] Init:<nil>}} ...
I1023 09:58:29.992695 22626 docker.go:990] Attaching to container "2b2fc4674413d521cc5606deefced632d79bee1341deb606545b2a4f656c382f" ...
I1023 09:58:29.994142 22626 docker.go:1001] Starting container "2b2fc4674413d521cc5606deefced632d79bee1341deb606545b2a4f656c382f" ...
I1023 09:58:30.433943 22626 docker.go:968] Removing container "2b2fc4674413d521cc5606deefced632d79bee1341deb606545b2a4f656c382f" ...
I1023 09:58:30.449029 22626 docker.go:978] Removed container "2b2fc4674413d521cc5606deefced632d79bee1341deb606545b2a4f656c382f"
W1023 09:58:30.449259 22626 sti.go:219] Clean build will be performed because of error saving previous build artifacts
I1023 09:58:30.449311 22626 sti.go:220] error: Error response from daemon: invalid header field value "oci runtime error: container_linux.go:247: starting container process caused \"exec: \\\"/tmp/scripts/save-artifacts\\\": stat /tmp/scripts/save-artifacts: no such file or directory\"\n"
I1023 09:58:30.449401 22626 sti.go:227] Running "assemble" in "test/sti-incremental-app-scripts-no-save-artifacts"
I1023 09:58:30.449447 22626 sti.go:573] Using image name sti_test/sti-fake-scripts-no-save-artifacts
I1023 09:58:30.451805 22626 docker.go:487] Using locally available image "sti_test/sti-fake-scripts-no-save-artifacts:latest"
I1023 09:58:30.451910 22626 environment.go:41] Setting 1 environment variables provided by environment file in sources
I1023 09:58:30.452215 22626 sti.go:691] starting the source uploading ...
I1023 09:58:30.452298 22626 tar.go:217] Adding "/tmp/s2i407714146/upload" to tar ...
I1023 09:58:30.452643 22626 tar.go:312] Adding to tar: /tmp/s2i407714146/upload/artifacts as artifacts
I1023 09:58:30.456712 22626 docker.go:718] Image sha256:5e78ddd6bb4280165f1d52328fd5cc62a711d239f8a2ee97ab344c941a000e19 contains io.openshift.s2i.scripts-url set to "image:///tmp/scripts/"
I1023 09:58:30.456759 22626 docker.go:793] Base directory for S2I scripts is '/tmp/scripts/'. Untarring destination is '/tmp'.
I1023 09:58:30.456854 22626 docker.go:949] Setting "/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble" command for container ...
I1023 09:58:30.457181 22626 docker.go:958] Creating container with options {Name:"s2i_sti_test_sti_fake_scripts_no_save_artifacts_dd86986c" Config:{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:true StdinOnce:true Env:[RACK_ENV=production] Cmd:[/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble] Healthcheck:<nil> ArgsEscaped:false Image:sti_test/sti-fake-scripts-no-save-artifacts:latest Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} HostConfig:&{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode: PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] CapAdd:[] CapDrop:[] DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:67108864 Sysctls:map[] Runtime: ConsoleSize:[0 0] Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DiskQuota:0 KernelMemory:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:0 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[] Init:<nil>}} ...
I1023 09:58:30.843914 22626 docker.go:990] Attaching to container "39a86ccf29bac50494dbb0041701a81468e8e8122b994232203156c7c18e006e" ...
I1023 09:58:30.845445 22626 docker.go:1001] Starting container "39a86ccf29bac50494dbb0041701a81468e8e8122b994232203156c7c18e006e" ...
I1023 09:58:31.144324 22626 tar.go:312] Adding to tar: /tmp/s2i407714146/upload/scripts as scripts
I1023 09:58:31.144600 22626 tar.go:312] Adding to tar: /tmp/s2i407714146/upload/src as src
I1023 09:58:31.147491 22626 tar.go:312] Adding to tar: /tmp/s2i407714146/upload/src/.gitignore as src/.gitignore
I1023 09:58:31.147765 22626 tar.go:312] Adding to tar: /tmp/s2i407714146/upload/src/.s2i as src/.s2i
I1023 09:58:31.148060 22626 tar.go:312] Adding to tar: /tmp/s2i407714146/upload/src/.s2i/bin as src/.s2i/bin
I1023 09:58:31.148344 22626 tar.go:312] Adding to tar: /tmp/s2i407714146/upload/src/.s2i/bin/README as src/.s2i/bin/README
I1023 09:58:31.148667 22626 tar.go:312] Adding to tar: /tmp/s2i407714146/upload/src/.s2i/environment as src/.s2i/environment
I1023 09:58:31.148971 22626 tar.go:312] Adding to tar: /tmp/s2i407714146/upload/src/.travis.yml as src/.travis.yml
I1023 09:58:31.149286 22626 tar.go:312] Adding to tar: /tmp/s2i407714146/upload/src/Dockerfile as src/Dockerfile
I1023 09:58:31.149625 22626 tar.go:312] Adding to tar: /tmp/s2i407714146/upload/src/Gemfile as src/Gemfile
I1023 09:58:31.150011 22626 tar.go:312] Adding to tar: /tmp/s2i407714146/upload/src/Gemfile.lock as src/Gemfile.lock
I1023 09:58:31.150379 22626 tar.go:312] Adding to tar: /tmp/s2i407714146/upload/src/README.md as src/README.md
I1023 09:58:31.150749 22626 tar.go:312] Adding to tar: /tmp/s2i407714146/upload/src/Rakefile as src/Rakefile
I1023 09:58:31.151145 22626 tar.go:312] Adding to tar: /tmp/s2i407714146/upload/src/app.rb as src/app.rb
I1023 09:58:31.151516 22626 tar.go:312] Adding to tar: /tmp/s2i407714146/upload/src/config as src/config
I1023 09:58:31.151840 22626 tar.go:312] Adding to tar: /tmp/s2i407714146/upload/src/config/database.rb as src/config/database.rb
I1023 09:58:31.152201 22626 tar.go:312] Adding to tar: /tmp/s2i407714146/upload/src/config/database.yml as src/config/database.yml
I1023 09:58:31.152542 22626 tar.go:312] Adding to tar: /tmp/s2i407714146/upload/src/config.ru as src/config.ru
I1023 09:58:31.156744 22626 tar.go:312] Adding to tar: /tmp/s2i407714146/upload/src/db as src/db
I1023 09:58:31.157093 22626 tar.go:312] Adding to tar: /tmp/s2i407714146/upload/src/db/migrate as src/db/migrate
I1023 09:58:31.157486 22626 tar.go:312] Adding to tar: /tmp/s2i407714146/upload/src/db/migrate/20141102191902_create_key_pair.rb as src/db/migrate/20141102191902_create_key_pair.rb
I1023 09:58:31.157832 22626 tar.go:312] Adding to tar: /tmp/s2i407714146/upload/src/models.rb as src/models.rb
I1023 09:58:31.158247 22626 tar.go:312] Adding to tar: /tmp/s2i407714146/upload/src/run.sh as src/run.sh
I1023 09:58:31.158647 22626 tar.go:312] Adding to tar: /tmp/s2i407714146/upload/src/test as src/test
I1023 09:58:31.158961 22626 tar.go:312] Adding to tar: /tmp/s2i407714146/upload/src/test/sample_test.rb as src/test/sample_test.rb
I1023 09:58:31.159333 22626 tar.go:312] Adding to tar: /tmp/s2i407714146/upload/src/views as src/views
I1023 09:58:31.159692 22626 tar.go:312] Adding to tar: /tmp/s2i407714146/upload/src/views/main.erb as src/views/main.erb
I1023 09:58:31.211245 22626 docker.go:1032] Waiting for container "39a86ccf29bac50494dbb0041701a81468e8e8122b994232203156c7c18e006e" to stop ...
I1023 09:58:31.366742 22626 docker.go:1057] Invoking PostExecute function
I1023 09:58:31.366809 22626 postexecutorstep.go:63] Executing step: store previous image
I1023 09:58:31.369799 22626 postexecutorstep.go:117] Executing step: commit image
I1023 09:58:31.371949 22626 postexecutorstep.go:522] Checking for new Labels to apply...
I1023 09:58:31.372032 22626 postexecutorstep.go:530] Creating the download path '/tmp/s2i407714146/metadata'
I1023 09:58:31.372205 22626 postexecutorstep.go:464] Downloading file "/tmp/.s2i/image_metadata.json"
I1023 09:58:31.531175 22626 tar.go:376] Creating directory /tmp/s2i407714146/metadata
I1023 09:58:31.531253 22626 tar.go:444] Creating /tmp/s2i407714146/metadata/image_metadata.json
I1023 09:58:31.531415 22626 tar.go:454] Extracting/writing /tmp/s2i407714146/metadata/image_metadata.json
I1023 09:58:31.531567 22626 tar.go:400] Done extracting tar stream
I1023 09:58:31.531680 22626 postexecutorstep.go:555] new Labels File contents :
{
"labels": [
{"testLabel": "testLabel_value"}
]
}
I1023 09:58:31.536458 22626 docker.go:1091] Committing container with dockerOpts: {Reference:test/sti-incremental-app-scripts-no-save-artifacts Comment: Author: Changes:[] Pause:false Config:0xc42022e280}, config: {Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[RACK_ENV=production] Cmd:[/tmp/scripts//run] Healthcheck:<nil> ArgsEscaped:false Image: Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[io.openshift.s2i.build.commit.message:Merge pull request #71 from bparees/gemfile2 testLabel:testLabel_value io.openshift.s2i.scripts-url:image:///tmp/scripts/ io.k8s.display-name:test/sti-incremental-app-scripts-no-save-artifacts io.openshift.s2i.build.image:sti_test/sti-fake-scripts-no-save-artifacts io.openshift.s2i.build.commit.author:Ben Parees <bparees@users.noreply.github.com> io.openshift.s2i.build.commit.ref:master io.openshift.s2i.build.source-location:https://github.com/openshift/ruby-hello-world io.openshift.s2i.build.commit.date:Fri Feb 9 18:24:07 2018 -0500 io.openshift.s2i.build.commit.id:7ccd3242c49c3868195ca9400a539fa611111096] StopSignal: StopTimeout:<nil> Shell:[]}
I1023 09:58:32.986896 22626 postexecutorstep.go:392] Executing step: report success
I1023 09:58:32.986948 22626 postexecutorstep.go:397] Successfully built test/sti-incremental-app-scripts-no-save-artifacts
I1023 09:58:32.986981 22626 postexecutorstep.go:88] Executing step: remove previous image
I1023 09:58:32.987011 22626 postexecutorstep.go:102] Removing previously-tagged image sha256:b0f9d337cd43b591b2b36ff938f37e070959fc0451f5c4e88316037289e87d71
I1023 09:58:32.993690 22626 docker.go:968] Removing container "39a86ccf29bac50494dbb0041701a81468e8e8122b994232203156c7c18e006e" ...
I1023 09:58:33.009632 22626 docker.go:978] Removed container "39a86ccf29bac50494dbb0041701a81468e8e8122b994232203156c7c18e006e"
I1023 09:58:33.009787 22626 cleanup.go:33] Removing temporary directory /tmp/s2i407714146
I1023 09:58:33.009834 22626 fs.go:302] Removing directory '/tmp/s2i407714146'
--- PASS: TestIncrementalBuildScriptsNoSaveArtifacts (7.45s)
=== RUN TestIncrementalBuildOnBuild
I1023 09:58:34.494724 22626 docker.go:487] Using locally available image "sti_test/sti-fake-onbuild:latest"
I1023 09:58:34.500965 22626 docker.go:487] Using locally available image "sti_test/sti-fake-onbuild:latest"
I1023 09:58:34.501039 22626 docker.go:718] Image sha256:8a7c6a5f9e1dc5b245a9f8efe461fc697f6b5506a6fe142fabdff579f55a5ddf contains io.openshift.s2i.scripts-url set to "http://127.0.0.1:23456/.s2i/bin"
I1023 09:58:34.501102 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
I1023 09:58:34.501215 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
I1023 09:58:34.501254 22626 onbuild.go:87] Preparing the source code for build
I1023 09:58:34.502167 22626 clone.go:36] Downloading "https://github.com/openshift/ruby-hello-world" ...
I1023 09:58:34.502220 22626 clone.go:40] Cloning sources into "/tmp/s2i851409124/upload/src"
I1023 09:58:34.833200 22626 clone.go:56] Checked out "HEAD"
I1023 09:58:34.858325 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:58:34.878292 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/assemble'
I1023 09:58:34.878406 22626 install.go:261] Using "assemble" installed from "http://127.0.0.1:23456/.s2i/bin/assemble"
I1023 09:58:34.879826 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/run'
I1023 09:58:34.879922 22626 install.go:261] Using "run" installed from "http://127.0.0.1:23456/.s2i/bin/run"
I1023 09:58:34.879974 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:58:34.880037 22626 onbuild.go:181] Found S2I 'run' script, copying to application source dir
I1023 09:58:34.880161 22626 fs.go:260] F "/tmp/s2i851409124/upload/scripts/run" -> "/tmp/s2i851409124/upload/src/run"
I1023 09:58:34.880256 22626 onbuild.go:185] Found S2I 'assemble' script, copying to application source dir
I1023 09:58:34.880360 22626 fs.go:260] F "/tmp/s2i851409124/upload/scripts/assemble" -> "/tmp/s2i851409124/upload/src/assemble"
I1023 09:58:34.880446 22626 onbuild.go:97] Creating application Dockerfile
I1023 09:58:34.880808 22626 entrypoint.go:33] Found valid ENTRYPOINT: run
I1023 09:58:34.880864 22626 environment.go:41] Setting 1 environment variables provided by environment file in sources
I1023 09:58:34.880996 22626 onbuild.go:106] Creating application source code image
I1023 09:58:34.881187 22626 tar.go:217] Adding "/tmp/s2i851409124/upload/src" to tar ...
I1023 09:58:34.881217 22626 onbuild.go:120] Building the application source
I1023 09:58:34.881372 22626 docker.go:1123] Building container using config: {Tags:[test/sti-incremental-app-onbuild] SuppressOutput:false RemoteContext: NoCache:true Remove:true ForceRemove:true PullParent:false Isolation: CPUSetCPUs: CPUSetMems: CPUShares:0 CPUQuota:0 CPUPeriod:0 Memory:0 MemorySwap:0 CgroupParent: NetworkMode: ShmSize:0 Dockerfile: Ulimits:[] BuildArgs:map[] AuthConfigs:map[] Context:<nil> Labels:map[] Squash:false CacheFrom:[] SecurityOpt:[] ExtraHosts:[] Target: SessionID:}
I1023 09:58:34.884481 22626 tar.go:312] Adding to tar: /tmp/s2i851409124/upload/src/.gitignore as .gitignore
I1023 09:58:34.884914 22626 tar.go:312] Adding to tar: /tmp/s2i851409124/upload/src/.s2i as .s2i
I1023 09:58:34.885263 22626 tar.go:312] Adding to tar: /tmp/s2i851409124/upload/src/.s2i/bin as .s2i/bin
I1023 09:58:34.885559 22626 tar.go:312] Adding to tar: /tmp/s2i851409124/upload/src/.s2i/bin/README as .s2i/bin/README
I1023 09:58:34.885917 22626 tar.go:312] Adding to tar: /tmp/s2i851409124/upload/src/.s2i/environment as .s2i/environment
I1023 09:58:34.886319 22626 tar.go:312] Adding to tar: /tmp/s2i851409124/upload/src/.travis.yml as .travis.yml
I1023 09:58:34.886712 22626 tar.go:312] Adding to tar: /tmp/s2i851409124/upload/src/Dockerfile as Dockerfile
I1023 09:58:34.887073 22626 tar.go:312] Adding to tar: /tmp/s2i851409124/upload/src/Gemfile as Gemfile
I1023 09:58:34.887395 22626 tar.go:312] Adding to tar: /tmp/s2i851409124/upload/src/Gemfile.lock as Gemfile.lock
I1023 09:58:34.887732 22626 tar.go:312] Adding to tar: /tmp/s2i851409124/upload/src/README.md as README.md
I1023 09:58:34.888109 22626 tar.go:312] Adding to tar: /tmp/s2i851409124/upload/src/Rakefile as Rakefile
I1023 09:58:34.888450 22626 tar.go:312] Adding to tar: /tmp/s2i851409124/upload/src/app.rb as app.rb
I1023 09:58:34.900588 22626 tar.go:312] Adding to tar: /tmp/s2i851409124/upload/src/assemble as assemble
I1023 09:58:34.901047 22626 tar.go:312] Adding to tar: /tmp/s2i851409124/upload/src/config as config
I1023 09:58:34.901448 22626 tar.go:312] Adding to tar: /tmp/s2i851409124/upload/src/config/database.rb as config/database.rb
I1023 09:58:34.902096 22626 tar.go:312] Adding to tar: /tmp/s2i851409124/upload/src/config/database.yml as config/database.yml
I1023 09:58:34.902558 22626 tar.go:312] Adding to tar: /tmp/s2i851409124/upload/src/config.ru as config.ru
I1023 09:58:34.902935 22626 tar.go:312] Adding to tar: /tmp/s2i851409124/upload/src/db as db
I1023 09:58:34.903302 22626 tar.go:312] Adding to tar: /tmp/s2i851409124/upload/src/db/migrate as db/migrate
I1023 09:58:34.903700 22626 tar.go:312] Adding to tar: /tmp/s2i851409124/upload/src/db/migrate/20141102191902_create_key_pair.rb as db/migrate/20141102191902_create_key_pair.rb
I1023 09:58:34.904299 22626 tar.go:312] Adding to tar: /tmp/s2i851409124/upload/src/models.rb as models.rb
I1023 09:58:34.904666 22626 tar.go:312] Adding to tar: /tmp/s2i851409124/upload/src/run as run
I1023 09:58:34.905067 22626 tar.go:312] Adding to tar: /tmp/s2i851409124/upload/src/run.sh as run.sh
I1023 09:58:34.905428 22626 tar.go:312] Adding to tar: /tmp/s2i851409124/upload/src/test as test
I1023 09:58:34.905801 22626 tar.go:312] Adding to tar: /tmp/s2i851409124/upload/src/test/sample_test.rb as test/sample_test.rb
I1023 09:58:34.906145 22626 tar.go:312] Adding to tar: /tmp/s2i851409124/upload/src/views as views
I1023 09:58:34.906505 22626 tar.go:312] Adding to tar: /tmp/s2i851409124/upload/src/views/main.erb as views/main.erb
{"stream":"Step 1 : FROM sti_test/sti-fake-onbuild\n"}
{"stream":"\u001b[91m# Executing 2 build triggers...\n\u001b[0m"}
{"stream":"Step 1 : RUN touch /sti-fake/src/onbuild\n"}
{"stream":" ---\u003e Running in 2189bdc1892f\n"}
{"stream":"Step 1 : COPY . /tmp/src/\n"}
{"stream":" ---\u003e 7ebd2b22c353\n"}
{"stream":"Removing intermediate container 2189bdc1892f\n"}
{"stream":"Removing intermediate container 27378f6fa3c7\n"}
{"stream":"Step 2 : ENV RACK_ENV \"production\"\n"}
{"stream":" ---\u003e Running in 5da96f7c334d\n"}
{"stream":" ---\u003e 1c62d79ad07e\n"}
{"stream":"Removing intermediate container 5da96f7c334d\n"}
{"stream":"Step 3 : RUN sh assemble\n"}
{"stream":" ---\u003e Running in c9c62596baeb\n"}
{"stream":" ---\u003e 2cbc74f7cf4f\n"}
{"stream":"Removing intermediate container c9c62596baeb\n"}
{"stream":"Step 4 : ENTRYPOINT ./run\n"}
{"stream":" ---\u003e Running in 0ac6aad8c588\n"}
{"stream":" ---\u003e 8229134e3c06\n"}
{"stream":"Removing intermediate container 0ac6aad8c588\n"}
{"stream":"Successfully built 8229134e3c06\n"}
I1023 09:58:42.677513 22626 onbuild.go:129] Cleaning up temporary containers
I1023 09:58:42.677567 22626 cleanup.go:33] Removing temporary directory /tmp/s2i851409124
I1023 09:58:42.677606 22626 fs.go:302] Removing directory '/tmp/s2i851409124'
I1023 09:58:42.684758 22626 docker.go:487] Using locally available image "sti_test/sti-fake-onbuild:latest"
I1023 09:58:42.691122 22626 docker.go:487] Using locally available image "sti_test/sti-fake-onbuild:latest"
I1023 09:58:42.691183 22626 docker.go:718] Image sha256:8a7c6a5f9e1dc5b245a9f8efe461fc697f6b5506a6fe142fabdff579f55a5ddf contains io.openshift.s2i.scripts-url set to "http://127.0.0.1:23456/.s2i/bin"
I1023 09:58:42.691257 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
I1023 09:58:42.691378 22626 scm.go:20] DownloadForSource https://github.com/openshift/ruby-hello-world
I1023 09:58:42.691415 22626 onbuild.go:87] Preparing the source code for build
I1023 09:58:42.691865 22626 clone.go:36] Downloading "https://github.com/openshift/ruby-hello-world" ...
I1023 09:58:42.691913 22626 clone.go:40] Cloning sources into "/tmp/s2i441738995/upload/src"
I1023 09:58:42.980491 22626 clone.go:56] Checked out "HEAD"
I1023 09:58:43.004481 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:58:43.025005 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/assemble'
I1023 09:58:43.025120 22626 install.go:261] Using "assemble" installed from "http://127.0.0.1:23456/.s2i/bin/assemble"
I1023 09:58:43.026555 22626 download.go:77] Downloaded 'http://127.0.0.1:23456/.s2i/bin/run'
I1023 09:58:43.026682 22626 install.go:261] Using "run" installed from "http://127.0.0.1:23456/.s2i/bin/run"
I1023 09:58:43.026762 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:58:43.026828 22626 onbuild.go:181] Found S2I 'run' script, copying to application source dir
I1023 09:58:43.026967 22626 fs.go:260] F "/tmp/s2i441738995/upload/scripts/run" -> "/tmp/s2i441738995/upload/src/run"
I1023 09:58:43.027098 22626 onbuild.go:185] Found S2I 'assemble' script, copying to application source dir
I1023 09:58:43.027237 22626 fs.go:260] F "/tmp/s2i441738995/upload/scripts/assemble" -> "/tmp/s2i441738995/upload/src/assemble"
I1023 09:58:43.027337 22626 onbuild.go:97] Creating application Dockerfile
I1023 09:58:43.027691 22626 entrypoint.go:33] Found valid ENTRYPOINT: run
I1023 09:58:43.027794 22626 environment.go:41] Setting 1 environment variables provided by environment file in sources
I1023 09:58:43.027951 22626 onbuild.go:106] Creating application source code image
I1023 09:58:43.028162 22626 onbuild.go:120] Building the application source
I1023 09:58:43.028291 22626 docker.go:1123] Building container using config: {Tags:[test/sti-incremental-app-onbuild] SuppressOutput:false RemoteContext: NoCache:true Remove:true ForceRemove:true PullParent:false Isolation: CPUSetCPUs: CPUSetMems: CPUShares:0 CPUQuota:0 CPUPeriod:0 Memory:0 MemorySwap:0 CgroupParent: NetworkMode: ShmSize:0 Dockerfile: Ulimits:[] BuildArgs:map[] AuthConfigs:map[] Context:<nil> Labels:map[] Squash:false CacheFrom:[] SecurityOpt:[] ExtraHosts:[] Target: SessionID:}
I1023 09:58:43.028330 22626 tar.go:217] Adding "/tmp/s2i441738995/upload/src" to tar ...
I1023 09:58:43.031636 22626 tar.go:312] Adding to tar: /tmp/s2i441738995/upload/src/.gitignore as .gitignore
I1023 09:58:43.032049 22626 tar.go:312] Adding to tar: /tmp/s2i441738995/upload/src/.s2i as .s2i
I1023 09:58:43.032378 22626 tar.go:312] Adding to tar: /tmp/s2i441738995/upload/src/.s2i/bin as .s2i/bin
I1023 09:58:43.032678 22626 tar.go:312] Adding to tar: /tmp/s2i441738995/upload/src/.s2i/bin/README as .s2i/bin/README
I1023 09:58:43.033051 22626 tar.go:312] Adding to tar: /tmp/s2i441738995/upload/src/.s2i/environment as .s2i/environment
I1023 09:58:43.033437 22626 tar.go:312] Adding to tar: /tmp/s2i441738995/upload/src/.travis.yml as .travis.yml
I1023 09:58:43.033843 22626 tar.go:312] Adding to tar: /tmp/s2i441738995/upload/src/Dockerfile as Dockerfile
I1023 09:58:43.034213 22626 tar.go:312] Adding to tar: /tmp/s2i441738995/upload/src/Gemfile as Gemfile
I1023 09:58:43.034533 22626 tar.go:312] Adding to tar: /tmp/s2i441738995/upload/src/Gemfile.lock as Gemfile.lock
I1023 09:58:43.034870 22626 tar.go:312] Adding to tar: /tmp/s2i441738995/upload/src/README.md as README.md
I1023 09:58:43.035237 22626 tar.go:312] Adding to tar: /tmp/s2i441738995/upload/src/Rakefile as Rakefile
I1023 09:58:43.035586 22626 tar.go:312] Adding to tar: /tmp/s2i441738995/upload/src/app.rb as app.rb
I1023 09:58:43.035958 22626 tar.go:312] Adding to tar: /tmp/s2i441738995/upload/src/assemble as assemble
I1023 09:58:43.036348 22626 tar.go:312] Adding to tar: /tmp/s2i441738995/upload/src/config as config
I1023 09:58:43.036710 22626 tar.go:312] Adding to tar: /tmp/s2i441738995/upload/src/config/database.rb as config/database.rb
I1023 09:58:43.037108 22626 tar.go:312] Adding to tar: /tmp/s2i441738995/upload/src/config/database.yml as config/database.yml
I1023 09:58:43.037508 22626 tar.go:312] Adding to tar: /tmp/s2i441738995/upload/src/config.ru as config.ru
I1023 09:58:43.037875 22626 tar.go:312] Adding to tar: /tmp/s2i441738995/upload/src/db as db
I1023 09:58:43.038234 22626 tar.go:312] Adding to tar: /tmp/s2i441738995/upload/src/db/migrate as db/migrate
I1023 09:58:43.038603 22626 tar.go:312] Adding to tar: /tmp/s2i441738995/upload/src/db/migrate/20141102191902_create_key_pair.rb as db/migrate/20141102191902_create_key_pair.rb
I1023 09:58:43.038933 22626 tar.go:312] Adding to tar: /tmp/s2i441738995/upload/src/models.rb as models.rb
I1023 09:58:43.046258 22626 tar.go:312] Adding to tar: /tmp/s2i441738995/upload/src/run as run
I1023 09:58:43.046723 22626 tar.go:312] Adding to tar: /tmp/s2i441738995/upload/src/run.sh as run.sh
I1023 09:58:43.049708 22626 tar.go:312] Adding to tar: /tmp/s2i441738995/upload/src/test as test
I1023 09:58:43.050102 22626 tar.go:312] Adding to tar: /tmp/s2i441738995/upload/src/test/sample_test.rb as test/sample_test.rb
I1023 09:58:43.050442 22626 tar.go:312] Adding to tar: /tmp/s2i441738995/upload/src/views as views
I1023 09:58:43.050822 22626 tar.go:312] Adding to tar: /tmp/s2i441738995/upload/src/views/main.erb as views/main.erb
{"stream":"Step 1 : FROM sti_test/sti-fake-onbuild\n"}
{"stream":"\u001b[91m# Executing 2 build triggers...\n\u001b[0m"}
{"stream":"Step 1 : RUN touch /sti-fake/src/onbuild\n"}
{"stream":" ---\u003e Running in b029a2df68ac\n"}
{"stream":"Step 1 : COPY . /tmp/src/\n"}
{"stream":" ---\u003e ce48e34bb21a\n"}
{"stream":"Removing intermediate container b029a2df68ac\n"}
{"stream":"Removing intermediate container b05054692b3d\n"}
{"stream":"Step 2 : ENV RACK_ENV \"production\"\n"}
{"stream":" ---\u003e Running in 2fbbbe071a5d\n"}
{"stream":" ---\u003e 50130928ceb3\n"}
{"stream":"Removing intermediate container 2fbbbe071a5d\n"}
{"stream":"Step 3 : RUN sh assemble\n"}
{"stream":" ---\u003e Running in f671cde52658\n"}
{"stream":" ---\u003e dc2b7dd6cb2a\n"}
{"stream":"Removing intermediate container f671cde52658\n"}
{"stream":"Step 4 : ENTRYPOINT ./run\n"}
{"stream":" ---\u003e Running in 644d9b378017\n"}
{"stream":" ---\u003e d488915e5be1\n"}
{"stream":"Removing intermediate container 644d9b378017\n"}
{"stream":"Successfully built d488915e5be1\n"}
I1023 09:58:50.558912 22626 onbuild.go:129] Cleaning up temporary containers
I1023 09:58:50.558968 22626 cleanup.go:33] Removing temporary directory /tmp/s2i441738995
I1023 09:58:50.559040 22626 fs.go:302] Removing directory '/tmp/s2i441738995'
--- PASS: TestIncrementalBuildOnBuild (18.22s)
=== RUN TestDockerfileBuild
I1023 09:58:52.713061 22626 scm.go:20] DownloadForSource https://github.com/sclorg/nodejs-ex
I1023 09:58:52.713119 22626 clone.go:36] Downloading "https://github.com/sclorg/nodejs-ex" ...
I1023 09:58:52.713180 22626 clone.go:40] Cloning sources into "/tmp/s2i-dockerfiletest-dir932883894/upload/src"
I1023 09:58:53.126380 22626 clone.go:56] Checked out "HEAD"
I1023 09:58:53.151430 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:58:53.169098 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:58:53.169150 22626 dockerfile.go:115] Constructing image build context directory at /tmp/s2i-dockerfiletest-dir932883894/
I1023 09:58:53.169493 22626 dockerfile.go:458] No user environment provided (no environment file found in application sources)
I1023 09:58:53.169561 22626 dockerfile.go:214] Processing injected inputs: api.VolumeList{}
I1023 09:58:53.169633 22626 dockerfile.go:216] Processed injected inputs: api.VolumeList{}
I1023 09:58:53.169846 22626 dockerfile.go:287] Wrote custom Dockerfile to /tmp/s2i-dockerfiletest-dir932883894/MyDockerfile
--- PASS: TestDockerfileBuild (0.47s)
=== RUN TestDockerfileBuildDefaultDockerfile
I1023 09:58:53.178324 22626 scm.go:20] DownloadForSource https://github.com/sclorg/nodejs-ex
I1023 09:58:53.178378 22626 clone.go:36] Downloading "https://github.com/sclorg/nodejs-ex" ...
I1023 09:58:53.178440 22626 clone.go:40] Cloning sources into "/tmp/s2i-dockerfiletest-dir180435357/upload/src"
I1023 09:58:53.657402 22626 clone.go:56] Checked out "HEAD"
I1023 09:58:53.681465 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:58:53.699642 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:58:53.699696 22626 dockerfile.go:115] Constructing image build context directory at /tmp/s2i-dockerfiletest-dir180435357/
I1023 09:58:53.700048 22626 dockerfile.go:458] No user environment provided (no environment file found in application sources)
I1023 09:58:53.700108 22626 dockerfile.go:214] Processing injected inputs: api.VolumeList{}
I1023 09:58:53.700146 22626 dockerfile.go:216] Processed injected inputs: api.VolumeList{}
I1023 09:58:53.700347 22626 dockerfile.go:287] Wrote custom Dockerfile to /tmp/s2i-dockerfiletest-dir180435357/Dockerfile
--- PASS: TestDockerfileBuildDefaultDockerfile (0.53s)
=== RUN TestDockerfileBuildEnv
I1023 09:58:53.713084 22626 scm.go:20] DownloadForSource https://github.com/sclorg/nodejs-ex
I1023 09:58:53.713138 22626 clone.go:36] Downloading "https://github.com/sclorg/nodejs-ex" ...
I1023 09:58:53.713202 22626 clone.go:40] Cloning sources into "/tmp/s2i-dockerfiletest-dir077473880/upload/src"
I1023 09:58:54.130715 22626 clone.go:56] Checked out "HEAD"
I1023 09:58:54.154811 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:58:54.173293 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:58:54.173349 22626 dockerfile.go:115] Constructing image build context directory at /tmp/s2i-dockerfiletest-dir077473880/
I1023 09:58:54.173681 22626 dockerfile.go:458] No user environment provided (no environment file found in application sources)
I1023 09:58:54.173764 22626 dockerfile.go:214] Processing injected inputs: api.VolumeList{}
I1023 09:58:54.173811 22626 dockerfile.go:216] Processed injected inputs: api.VolumeList{}
I1023 09:58:54.174025 22626 dockerfile.go:287] Wrote custom Dockerfile to /tmp/s2i-dockerfiletest-dir077473880/Dockerfile
--- PASS: TestDockerfileBuildEnv (0.47s)
=== RUN TestDockerfileBuildLabels
I1023 09:58:54.178588 22626 scm.go:20] DownloadForSource https://github.com/sclorg/nodejs-ex
I1023 09:58:54.178640 22626 clone.go:36] Downloading "https://github.com/sclorg/nodejs-ex" ...
I1023 09:58:54.178701 22626 clone.go:40] Cloning sources into "/tmp/s2i-dockerfiletest-dir665449431/upload/src"
I1023 09:58:54.521203 22626 clone.go:56] Checked out "HEAD"
I1023 09:58:54.545079 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:58:54.562957 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:58:54.563010 22626 dockerfile.go:115] Constructing image build context directory at /tmp/s2i-dockerfiletest-dir665449431/
I1023 09:58:54.563390 22626 dockerfile.go:458] No user environment provided (no environment file found in application sources)
I1023 09:58:54.563450 22626 dockerfile.go:214] Processing injected inputs: api.VolumeList{}
I1023 09:58:54.563526 22626 dockerfile.go:216] Processed injected inputs: api.VolumeList{}
I1023 09:58:54.563741 22626 dockerfile.go:287] Wrote custom Dockerfile to /tmp/s2i-dockerfiletest-dir665449431/Dockerfile
--- PASS: TestDockerfileBuildLabels (0.40s)
=== RUN TestDockerfileBuildInjections
I1023 09:58:54.574575 22626 scm.go:20] DownloadForSource https://github.com/sclorg/nodejs-ex
I1023 09:58:54.574631 22626 clone.go:36] Downloading "https://github.com/sclorg/nodejs-ex" ...
I1023 09:58:54.574694 22626 clone.go:40] Cloning sources into "/tmp/s2i-dockerfiletest-dir255837514/upload/src"
I1023 09:58:54.990204 22626 clone.go:56] Checked out "HEAD"
I1023 09:58:55.014256 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:58:55.032521 22626 dockerfile.go:349] Copying injection content from /tmp/s2i-dockerfiletest-dir255837514/injection1 to /tmp/s2i-dockerfiletest-dir255837514/upload/injections/tmp/s2i-dockerfiletest-dir255837514/injection1
I1023 09:58:55.032973 22626 fs.go:260] F "/tmp/s2i-dockerfiletest-dir255837514/injection1/injectfile-944496673" -> "/tmp/s2i-dockerfiletest-dir255837514/upload/injections/tmp/s2i-dockerfiletest-dir255837514/injection1/injectfile-944496673"
I1023 09:58:55.033236 22626 fs.go:260] F "/tmp/s2i-dockerfiletest-dir255837514/injection1/injectfile-293601036" -> "/tmp/s2i-dockerfiletest-dir255837514/upload/injections/tmp/s2i-dockerfiletest-dir255837514/injection1/injectfile-293601036"
I1023 09:58:55.033480 22626 fs.go:260] F "/tmp/s2i-dockerfiletest-dir255837514/injection1/injectfile-129609467" -> "/tmp/s2i-dockerfiletest-dir255837514/upload/injections/tmp/s2i-dockerfiletest-dir255837514/injection1/injectfile-129609467"
I1023 09:58:55.033608 22626 dockerfile.go:349] Copying injection content from /tmp/s2i-dockerfiletest-dir255837514/injection2 to /tmp/s2i-dockerfiletest-dir255837514/upload/injections/tmp/s2i-dockerfiletest-dir255837514/injection2
I1023 09:58:55.033876 22626 fs.go:260] F "/tmp/s2i-dockerfiletest-dir255837514/injection2/injectfile-2004684318" -> "/tmp/s2i-dockerfiletest-dir255837514/upload/injections/tmp/s2i-dockerfiletest-dir255837514/injection2/injectfile-2004684318"
I1023 09:58:55.034003 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:58:55.034049 22626 dockerfile.go:115] Constructing image build context directory at /tmp/s2i-dockerfiletest-dir255837514/
I1023 09:58:55.034426 22626 dockerfile.go:458] No user environment provided (no environment file found in application sources)
I1023 09:58:55.034556 22626 dockerfile.go:214] Processing injected inputs: api.VolumeList{api.VolumeSpec{Source:"/tmp/s2i-dockerfiletest-dir255837514/injection1", Destination:"injection1", Keep:false}, api.VolumeSpec{Source:"/tmp/s2i-dockerfiletest-dir255837514/injection2", Destination:"/destination/injection2", Keep:true}}
I1023 09:58:55.034630 22626 injection.go:33] Using "/workdir/injection1" as a destination for injecting "/tmp/s2i-dockerfiletest-dir255837514/injection1"
I1023 09:58:55.034742 22626 dockerfile.go:216] Processed injected inputs: api.VolumeList{api.VolumeSpec{Source:"/tmp/s2i-dockerfiletest-dir255837514/injection1", Destination:"/workdir/injection1", Keep:false}, api.VolumeSpec{Source:"/tmp/s2i-dockerfiletest-dir255837514/injection2", Destination:"/destination/injection2", Keep:true}}
I1023 09:58:55.035107 22626 dockerfile.go:287] Wrote custom Dockerfile to /tmp/s2i-dockerfiletest-dir255837514/Dockerfile
--- PASS: TestDockerfileBuildInjections (0.47s)
=== RUN TestDockerfileBuildScriptsURLAssemble
I1023 09:58:55.044273 22626 scm.go:20] DownloadForSource https://github.com/sclorg/nodejs-ex
I1023 09:58:55.044326 22626 clone.go:36] Downloading "https://github.com/sclorg/nodejs-ex" ...
I1023 09:58:55.044390 22626 clone.go:40] Cloning sources into "/tmp/s2i-dockerfiletest-dir021215461/upload/src"
I1023 09:58:55.430746 22626 clone.go:56] Checked out "HEAD"
I1023 09:58:55.454597 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:58:55.472991 22626 download.go:77] Downloaded 'file:///tmp/s2i-dockerfiletest-dir021215461/assemble'
I1023 09:58:55.473111 22626 install.go:261] Using "assemble" installed from "file:///tmp/s2i-dockerfiletest-dir021215461/assemble"
I1023 09:58:55.473235 22626 install.go:255] script "run" found by the script URL handler, but failed to install: open /tmp/s2i-dockerfiletest-dir021215461/run: no such file or directory
I1023 09:58:55.473368 22626 install.go:255] script "save-artifacts" found by the script URL handler, but failed to install: open /tmp/s2i-dockerfiletest-dir021215461/save-artifacts: no such file or directory
I1023 09:58:55.473508 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:58:55.473543 22626 dockerfile.go:115] Constructing image build context directory at /tmp/s2i-dockerfiletest-dir021215461/
I1023 09:58:55.473675 22626 dockerfile.go:424] found override script file assemble
I1023 09:58:55.473965 22626 dockerfile.go:458] No user environment provided (no environment file found in application sources)
I1023 09:58:55.474051 22626 dockerfile.go:200] Override scripts are included in directory "upload/scripts"
I1023 09:58:55.474116 22626 dockerfile.go:214] Processing injected inputs: api.VolumeList{}
I1023 09:58:55.474157 22626 dockerfile.go:216] Processed injected inputs: api.VolumeList{}
I1023 09:58:55.474359 22626 dockerfile.go:287] Wrote custom Dockerfile to /tmp/s2i-dockerfiletest-dir021215461/Dockerfile
--- PASS: TestDockerfileBuildScriptsURLAssemble (0.44s)
=== RUN TestDockerfileBuildScriptsURLRun
I1023 09:58:55.484987 22626 scm.go:20] DownloadForSource https://github.com/sclorg/nodejs-ex
I1023 09:58:55.485059 22626 clone.go:36] Downloading "https://github.com/sclorg/nodejs-ex" ...
I1023 09:58:55.485113 22626 clone.go:40] Cloning sources into "/tmp/s2i-dockerfiletest-dir206085376/upload/src"
I1023 09:58:55.720045 22626 clone.go:56] Checked out "HEAD"
I1023 09:58:55.744703 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:58:55.762956 22626 install.go:255] script "assemble" found by the script URL handler, but failed to install: open /tmp/s2i-dockerfiletest-dir206085376/assemble: no such file or directory
I1023 09:58:55.763231 22626 download.go:77] Downloaded 'file:///tmp/s2i-dockerfiletest-dir206085376/run'
I1023 09:58:55.763329 22626 install.go:261] Using "run" installed from "file:///tmp/s2i-dockerfiletest-dir206085376/run"
I1023 09:58:55.763431 22626 install.go:255] script "save-artifacts" found by the script URL handler, but failed to install: open /tmp/s2i-dockerfiletest-dir206085376/save-artifacts: no such file or directory
I1023 09:58:55.763550 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:58:55.763589 22626 dockerfile.go:115] Constructing image build context directory at /tmp/s2i-dockerfiletest-dir206085376/
I1023 09:58:55.763705 22626 dockerfile.go:424] found override script file run
I1023 09:58:55.764027 22626 dockerfile.go:458] No user environment provided (no environment file found in application sources)
I1023 09:58:55.764091 22626 dockerfile.go:200] Override scripts are included in directory "upload/scripts"
I1023 09:58:55.764164 22626 dockerfile.go:214] Processing injected inputs: api.VolumeList{}
I1023 09:58:55.764205 22626 dockerfile.go:216] Processed injected inputs: api.VolumeList{}
I1023 09:58:55.764379 22626 dockerfile.go:287] Wrote custom Dockerfile to /tmp/s2i-dockerfiletest-dir206085376/Dockerfile
--- PASS: TestDockerfileBuildScriptsURLRun (0.29s)
=== RUN TestDockerfileBuildSourceScriptsAssemble
I1023 09:58:55.772178 22626 scm.go:20] DownloadForSource file:////tmp/s2i-dockerfiletest-dir531426399/sourcecode
I1023 09:58:55.772275 22626 download.go:37] Copying sources from "//tmp/s2i-dockerfiletest-dir531426399/sourcecode" to "/tmp/s2i-dockerfiletest-dir531426399/upload/src"
I1023 09:58:55.772430 22626 fs.go:247] D "/tmp/s2i-dockerfiletest-dir531426399/sourcecode/.s2i" -> "/tmp/s2i-dockerfiletest-dir531426399/upload/src/.s2i"
I1023 09:58:55.772606 22626 fs.go:247] D "/tmp/s2i-dockerfiletest-dir531426399/sourcecode/.s2i/bin" -> "/tmp/s2i-dockerfiletest-dir531426399/upload/src/.s2i/bin"
I1023 09:58:55.772804 22626 fs.go:260] F "/tmp/s2i-dockerfiletest-dir531426399/sourcecode/.s2i/bin/assemble" -> "/tmp/s2i-dockerfiletest-dir531426399/upload/src/.s2i/bin/assemble"
I1023 09:58:55.772962 22626 install.go:261] Using "assemble" installed from "<source-dir>/.s2i/bin/assemble"
I1023 09:58:55.773102 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:58:55.773143 22626 dockerfile.go:115] Constructing image build context directory at /tmp/s2i-dockerfiletest-dir531426399/
I1023 09:58:55.773239 22626 dockerfile.go:424] found override script file assemble
I1023 09:58:55.773366 22626 dockerfile.go:458] No user environment provided (no environment file found in application sources)
I1023 09:58:55.773418 22626 dockerfile.go:200] Override scripts are included in directory "upload/scripts"
I1023 09:58:55.773470 22626 dockerfile.go:214] Processing injected inputs: api.VolumeList{}
I1023 09:58:55.773506 22626 dockerfile.go:216] Processed injected inputs: api.VolumeList{}
I1023 09:58:55.773647 22626 dockerfile.go:287] Wrote custom Dockerfile to /tmp/s2i-dockerfiletest-dir531426399/Dockerfile
--- PASS: TestDockerfileBuildSourceScriptsAssemble (0.01s)
=== RUN TestDockerfileBuildSourceScriptsRun
I1023 09:58:55.777522 22626 scm.go:20] DownloadForSource file:////tmp/s2i-dockerfiletest-dir551252018/sourcecode
I1023 09:58:55.777609 22626 download.go:37] Copying sources from "//tmp/s2i-dockerfiletest-dir551252018/sourcecode" to "/tmp/s2i-dockerfiletest-dir551252018/upload/src"
I1023 09:58:55.777732 22626 fs.go:247] D "/tmp/s2i-dockerfiletest-dir551252018/sourcecode/.s2i" -> "/tmp/s2i-dockerfiletest-dir551252018/upload/src/.s2i"
I1023 09:58:55.777885 22626 fs.go:247] D "/tmp/s2i-dockerfiletest-dir551252018/sourcecode/.s2i/bin" -> "/tmp/s2i-dockerfiletest-dir551252018/upload/src/.s2i/bin"
I1023 09:58:55.778087 22626 fs.go:260] F "/tmp/s2i-dockerfiletest-dir551252018/sourcecode/.s2i/bin/run" -> "/tmp/s2i-dockerfiletest-dir551252018/upload/src/.s2i/bin/run"
I1023 09:58:55.778263 22626 install.go:261] Using "run" installed from "<source-dir>/.s2i/bin/run"
I1023 09:58:55.778356 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:58:55.778399 22626 dockerfile.go:115] Constructing image build context directory at /tmp/s2i-dockerfiletest-dir551252018/
I1023 09:58:55.778496 22626 dockerfile.go:424] found override script file run
I1023 09:58:55.778624 22626 dockerfile.go:458] No user environment provided (no environment file found in application sources)
I1023 09:58:55.778674 22626 dockerfile.go:200] Override scripts are included in directory "upload/scripts"
I1023 09:58:55.778736 22626 dockerfile.go:214] Processing injected inputs: api.VolumeList{}
I1023 09:58:55.778774 22626 dockerfile.go:216] Processed injected inputs: api.VolumeList{}
I1023 09:58:55.778920 22626 dockerfile.go:287] Wrote custom Dockerfile to /tmp/s2i-dockerfiletest-dir551252018/Dockerfile
--- PASS: TestDockerfileBuildSourceScriptsRun (0.01s)
=== RUN TestDockerfileBuildScriptsURLImage
I1023 09:58:55.782872 22626 scm.go:20] DownloadForSource file:////tmp/s2i-dockerfiletest-dir469550057/sourcecode
I1023 09:58:55.782958 22626 download.go:37] Copying sources from "//tmp/s2i-dockerfiletest-dir469550057/sourcecode" to "/tmp/s2i-dockerfiletest-dir469550057/upload/src"
I1023 09:58:55.783107 22626 fs.go:247] D "/tmp/s2i-dockerfiletest-dir469550057/sourcecode/.s2i" -> "/tmp/s2i-dockerfiletest-dir469550057/upload/src/.s2i"
I1023 09:58:55.783263 22626 fs.go:247] D "/tmp/s2i-dockerfiletest-dir469550057/sourcecode/.s2i/bin" -> "/tmp/s2i-dockerfiletest-dir469550057/upload/src/.s2i/bin"
I1023 09:58:55.783462 22626 fs.go:260] F "/tmp/s2i-dockerfiletest-dir469550057/sourcecode/.s2i/bin/assemble" -> "/tmp/s2i-dockerfiletest-dir469550057/upload/src/.s2i/bin/assemble"
I1023 09:58:55.783619 22626 install.go:261] Using "assemble" installed from "image:///usr/custom/s2i/assemble"
I1023 09:58:55.783703 22626 install.go:261] Using "run" installed from "image:///usr/custom/s2i/run"
I1023 09:58:55.783787 22626 install.go:261] Using "save-artifacts" installed from "image:///usr/custom/s2i/save-artifacts"
I1023 09:58:55.783844 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:58:55.783879 22626 dockerfile.go:115] Constructing image build context directory at /tmp/s2i-dockerfiletest-dir469550057/
I1023 09:58:55.784037 22626 dockerfile.go:458] No user environment provided (no environment file found in application sources)
I1023 09:58:55.784089 22626 dockerfile.go:214] Processing injected inputs: api.VolumeList{}
I1023 09:58:55.784123 22626 dockerfile.go:216] Processed injected inputs: api.VolumeList{}
I1023 09:58:55.784266 22626 dockerfile.go:287] Wrote custom Dockerfile to /tmp/s2i-dockerfiletest-dir469550057/Dockerfile
--- PASS: TestDockerfileBuildScriptsURLImage (0.01s)
=== RUN TestDockerfileBuildImageScriptsURLAssemble
I1023 09:58:55.791246 22626 download.go:77] Downloaded 'file:///tmp/s2i-dockerfiletest-dir522876468/assemble'
I1023 09:58:55.791348 22626 install.go:261] Using "assemble" installed from "file:///tmp/s2i-dockerfiletest-dir522876468/assemble"
I1023 09:58:55.791457 22626 install.go:255] script "run" found by the script URL handler, but failed to install: open /tmp/s2i-dockerfiletest-dir522876468/run: no such file or directory
I1023 09:58:55.791613 22626 install.go:255] script "save-artifacts" found by the script URL handler, but failed to install: open /tmp/s2i-dockerfiletest-dir522876468/save-artifacts: no such file or directory
I1023 09:58:55.791707 22626 scm.go:20] DownloadForSource https://github.com/sclorg/nodejs-ex
I1023 09:58:55.791751 22626 clone.go:36] Downloading "https://github.com/sclorg/nodejs-ex" ...
I1023 09:58:55.791804 22626 clone.go:40] Cloning sources into "/tmp/s2i-dockerfiletest-dir522876468/upload/src"
I1023 09:58:56.255284 22626 clone.go:56] Checked out "HEAD"
I1023 09:58:56.279245 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:58:56.296808 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:58:56.296862 22626 dockerfile.go:115] Constructing image build context directory at /tmp/s2i-dockerfiletest-dir522876468/
I1023 09:58:56.296996 22626 dockerfile.go:424] found override script file assemble
I1023 09:58:56.297305 22626 dockerfile.go:458] No user environment provided (no environment file found in application sources)
I1023 09:58:56.297375 22626 dockerfile.go:200] Override scripts are included in directory "upload/scripts"
I1023 09:58:56.297451 22626 dockerfile.go:214] Processing injected inputs: api.VolumeList{}
I1023 09:58:56.297491 22626 dockerfile.go:216] Processed injected inputs: api.VolumeList{}
I1023 09:58:56.297697 22626 dockerfile.go:287] Wrote custom Dockerfile to /tmp/s2i-dockerfiletest-dir522876468/Dockerfile
--- PASS: TestDockerfileBuildImageScriptsURLAssemble (0.51s)
=== RUN TestDockerfileBuildImageScriptsURLRun
I1023 09:58:56.305102 22626 install.go:255] script "assemble" found by the script URL handler, but failed to install: open /tmp/s2i-dockerfiletest-dir038506499/assemble: no such file or directory
I1023 09:58:56.305310 22626 download.go:77] Downloaded 'file:///tmp/s2i-dockerfiletest-dir038506499/run'
I1023 09:58:56.305410 22626 install.go:261] Using "run" installed from "file:///tmp/s2i-dockerfiletest-dir038506499/run"
I1023 09:58:56.305531 22626 install.go:255] script "save-artifacts" found by the script URL handler, but failed to install: open /tmp/s2i-dockerfiletest-dir038506499/save-artifacts: no such file or directory
I1023 09:58:56.305627 22626 scm.go:20] DownloadForSource https://github.com/sclorg/nodejs-ex
I1023 09:58:56.305670 22626 clone.go:36] Downloading "https://github.com/sclorg/nodejs-ex" ...
I1023 09:58:56.305737 22626 clone.go:40] Cloning sources into "/tmp/s2i-dockerfiletest-dir038506499/upload/src"
I1023 09:58:56.744227 22626 clone.go:56] Checked out "HEAD"
I1023 09:58:56.768699 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:58:56.787177 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:58:56.787234 22626 dockerfile.go:115] Constructing image build context directory at /tmp/s2i-dockerfiletest-dir038506499/
I1023 09:58:56.787350 22626 dockerfile.go:424] found override script file run
I1023 09:58:56.787627 22626 dockerfile.go:458] No user environment provided (no environment file found in application sources)
I1023 09:58:56.787684 22626 dockerfile.go:200] Override scripts are included in directory "upload/scripts"
I1023 09:58:56.787754 22626 dockerfile.go:214] Processing injected inputs: api.VolumeList{}
I1023 09:58:56.787798 22626 dockerfile.go:216] Processed injected inputs: api.VolumeList{}
I1023 09:58:56.788023 22626 dockerfile.go:287] Wrote custom Dockerfile to /tmp/s2i-dockerfiletest-dir038506499/Dockerfile
--- PASS: TestDockerfileBuildImageScriptsURLRun (0.49s)
=== RUN TestDockerfileBuildImageScriptsURLImage
I1023 09:58:56.795620 22626 install.go:261] Using "assemble" installed from "image:///usr/custom/s2i/assemble"
I1023 09:58:56.795704 22626 install.go:261] Using "run" installed from "image:///usr/custom/s2i/run"
I1023 09:58:56.795775 22626 install.go:261] Using "save-artifacts" installed from "image:///usr/custom/s2i/save-artifacts"
I1023 09:58:56.795801 22626 scm.go:20] DownloadForSource file:////tmp/s2i-dockerfiletest-dir455728518/sourcecode
I1023 09:58:56.795865 22626 download.go:37] Copying sources from "//tmp/s2i-dockerfiletest-dir455728518/sourcecode" to "/tmp/s2i-dockerfiletest-dir455728518/upload/src"
I1023 09:58:56.795969 22626 fs.go:247] D "/tmp/s2i-dockerfiletest-dir455728518/sourcecode/.s2i" -> "/tmp/s2i-dockerfiletest-dir455728518/upload/src/.s2i"
I1023 09:58:56.796139 22626 fs.go:247] D "/tmp/s2i-dockerfiletest-dir455728518/sourcecode/.s2i/bin" -> "/tmp/s2i-dockerfiletest-dir455728518/upload/src/.s2i/bin"
I1023 09:58:56.796320 22626 fs.go:260] F "/tmp/s2i-dockerfiletest-dir455728518/sourcecode/.s2i/bin/assemble" -> "/tmp/s2i-dockerfiletest-dir455728518/upload/src/.s2i/bin/assemble"
I1023 09:58:56.796462 22626 install.go:261] Using "assemble" installed from "<source-dir>/.s2i/bin/assemble"
I1023 09:58:56.796549 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:58:56.796571 22626 dockerfile.go:115] Constructing image build context directory at /tmp/s2i-dockerfiletest-dir455728518/
I1023 09:58:56.796654 22626 dockerfile.go:424] found override script file assemble
I1023 09:58:56.796754 22626 dockerfile.go:458] No user environment provided (no environment file found in application sources)
I1023 09:58:56.796788 22626 dockerfile.go:200] Override scripts are included in directory "upload/scripts"
I1023 09:58:56.796819 22626 dockerfile.go:214] Processing injected inputs: api.VolumeList{}
I1023 09:58:56.796839 22626 dockerfile.go:216] Processed injected inputs: api.VolumeList{}
I1023 09:58:56.796957 22626 dockerfile.go:287] Wrote custom Dockerfile to /tmp/s2i-dockerfiletest-dir455728518/Dockerfile
--- PASS: TestDockerfileBuildImageScriptsURLImage (0.01s)
=== RUN TestDockerfileBuildScriptsAndImageURL
I1023 09:58:56.800617 22626 install.go:261] Using "assemble" installed from "image:///usr/some/dir/assemble"
I1023 09:58:56.800722 22626 install.go:261] Using "run" installed from "image:///usr/some/dir/run"
I1023 09:58:56.800820 22626 install.go:261] Using "save-artifacts" installed from "image:///usr/some/dir/save-artifacts"
I1023 09:58:56.800869 22626 scm.go:20] DownloadForSource https://github.com/sclorg/nodejs-ex
I1023 09:58:56.800920 22626 clone.go:36] Downloading "https://github.com/sclorg/nodejs-ex" ...
I1023 09:58:56.800975 22626 clone.go:40] Cloning sources into "/tmp/s2i-dockerfiletest-dir905010477/upload/src"
I1023 09:58:57.285204 22626 clone.go:56] Checked out "HEAD"
I1023 09:58:57.309413 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:58:57.326858 22626 download.go:77] Downloaded 'file:///tmp/s2i-dockerfiletest-dir905010477/assemble'
I1023 09:58:57.326969 22626 install.go:261] Using "assemble" installed from "file:///tmp/s2i-dockerfiletest-dir905010477/assemble"
I1023 09:58:57.327093 22626 install.go:255] script "run" found by the script URL handler, but failed to install: open /tmp/s2i-dockerfiletest-dir905010477/run: no such file or directory
I1023 09:58:57.327236 22626 install.go:255] script "save-artifacts" found by the script URL handler, but failed to install: open /tmp/s2i-dockerfiletest-dir905010477/save-artifacts: no such file or directory
I1023 09:58:57.327379 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:58:57.327419 22626 dockerfile.go:115] Constructing image build context directory at /tmp/s2i-dockerfiletest-dir905010477/
I1023 09:58:57.327552 22626 dockerfile.go:424] found override script file assemble
I1023 09:58:57.327863 22626 dockerfile.go:458] No user environment provided (no environment file found in application sources)
I1023 09:58:57.327931 22626 dockerfile.go:200] Override scripts are included in directory "upload/scripts"
I1023 09:58:57.328002 22626 dockerfile.go:214] Processing injected inputs: api.VolumeList{}
I1023 09:58:57.328067 22626 dockerfile.go:216] Processed injected inputs: api.VolumeList{}
I1023 09:58:57.328287 22626 dockerfile.go:287] Wrote custom Dockerfile to /tmp/s2i-dockerfiletest-dir905010477/Dockerfile
--- PASS: TestDockerfileBuildScriptsAndImageURL (0.54s)
=== RUN TestDockerfileBuildScriptsAndImageURLConflicts
I1023 09:58:57.340314 22626 download.go:77] Downloaded 'file:///tmp/s2i-dockerfiletest-dir234543079/assemble'
I1023 09:58:57.340415 22626 install.go:261] Using "assemble" installed from "file:///tmp/s2i-dockerfiletest-dir234543079/assemble"
I1023 09:58:57.340513 22626 install.go:255] script "run" found by the script URL handler, but failed to install: open /tmp/s2i-dockerfiletest-dir234543079/run: no such file or directory
I1023 09:58:57.340647 22626 install.go:255] script "save-artifacts" found by the script URL handler, but failed to install: open /tmp/s2i-dockerfiletest-dir234543079/save-artifacts: no such file or directory
I1023 09:58:57.340722 22626 scm.go:20] DownloadForSource https://github.com/sclorg/nodejs-ex
I1023 09:58:57.340751 22626 clone.go:36] Downloading "https://github.com/sclorg/nodejs-ex" ...
I1023 09:58:57.340781 22626 clone.go:40] Cloning sources into "/tmp/s2i-dockerfiletest-dir190172186/upload/src"
I1023 09:58:57.809609 22626 clone.go:56] Checked out "HEAD"
I1023 09:58:57.833929 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:58:57.851921 22626 download.go:77] Downloaded 'file:///tmp/s2i-dockerfiletest-dir043700904/assemble'
I1023 09:58:57.852048 22626 install.go:261] Using "assemble" installed from "file:///tmp/s2i-dockerfiletest-dir043700904/assemble"
I1023 09:58:57.852159 22626 install.go:255] script "run" found by the script URL handler, but failed to install: open /tmp/s2i-dockerfiletest-dir043700904/run: no such file or directory
I1023 09:58:57.852293 22626 install.go:255] script "save-artifacts" found by the script URL handler, but failed to install: open /tmp/s2i-dockerfiletest-dir043700904/save-artifacts: no such file or directory
I1023 09:58:57.852404 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:58:57.852446 22626 dockerfile.go:115] Constructing image build context directory at /tmp/s2i-dockerfiletest-dir190172186/
I1023 09:58:57.852572 22626 dockerfile.go:424] found override script file assemble
I1023 09:58:57.852880 22626 dockerfile.go:458] No user environment provided (no environment file found in application sources)
I1023 09:58:57.852942 22626 dockerfile.go:200] Override scripts are included in directory "upload/scripts"
I1023 09:58:57.853005 22626 dockerfile.go:214] Processing injected inputs: api.VolumeList{}
I1023 09:58:57.853070 22626 dockerfile.go:216] Processed injected inputs: api.VolumeList{}
I1023 09:58:57.853286 22626 dockerfile.go:287] Wrote custom Dockerfile to /tmp/s2i-dockerfiletest-dir190172186/Dockerfile
--- PASS: TestDockerfileBuildScriptsAndImageURLConflicts (0.52s)
=== RUN TestDockerfileIncrementalBuild
I1023 09:58:57.860730 22626 scm.go:20] DownloadForSource https://github.com/sclorg/nodejs-ex
I1023 09:58:57.860782 22626 clone.go:36] Downloading "https://github.com/sclorg/nodejs-ex" ...
I1023 09:58:57.860844 22626 clone.go:40] Cloning sources into "/tmp/s2i-dockerfiletest-dir735191217/upload/src"
I1023 09:58:58.414737 22626 clone.go:56] Checked out "HEAD"
I1023 09:58:58.438749 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:58:58.456770 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:58:58.456823 22626 dockerfile.go:115] Constructing image build context directory at /tmp/s2i-dockerfiletest-dir735191217/
I1023 09:58:58.457197 22626 dockerfile.go:458] No user environment provided (no environment file found in application sources)
I1023 09:58:58.457264 22626 dockerfile.go:214] Processing injected inputs: api.VolumeList{}
I1023 09:58:58.457304 22626 dockerfile.go:216] Processed injected inputs: api.VolumeList{}
I1023 09:58:58.457534 22626 dockerfile.go:287] Wrote custom Dockerfile to /tmp/s2i-dockerfiletest-dir735191217/Dockerfile
--- PASS: TestDockerfileIncrementalBuild (0.61s)
=== RUN TestDockerfileIncrementalSourceSave
I1023 09:58:58.473362 22626 scm.go:20] DownloadForSource file:////tmp/s2i-dockerfiletest-dir991602268/sourcecode
I1023 09:58:58.473469 22626 download.go:37] Copying sources from "//tmp/s2i-dockerfiletest-dir991602268/sourcecode" to "/tmp/s2i-dockerfiletest-dir991602268/upload/src"
I1023 09:58:58.473615 22626 fs.go:247] D "/tmp/s2i-dockerfiletest-dir991602268/sourcecode/.s2i" -> "/tmp/s2i-dockerfiletest-dir991602268/upload/src/.s2i"
I1023 09:58:58.473793 22626 fs.go:247] D "/tmp/s2i-dockerfiletest-dir991602268/sourcecode/.s2i/bin" -> "/tmp/s2i-dockerfiletest-dir991602268/upload/src/.s2i/bin"
I1023 09:58:58.474060 22626 fs.go:260] F "/tmp/s2i-dockerfiletest-dir991602268/sourcecode/.s2i/bin/save-artifacts" -> "/tmp/s2i-dockerfiletest-dir991602268/upload/src/.s2i/bin/save-artifacts"
I1023 09:58:58.474303 22626 install.go:261] Using "save-artifacts" installed from "<source-dir>/.s2i/bin/save-artifacts"
I1023 09:58:58.474369 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:58:58.474418 22626 dockerfile.go:115] Constructing image build context directory at /tmp/s2i-dockerfiletest-dir991602268/
I1023 09:58:58.474493 22626 dockerfile.go:424] found override script file save-artifacts
I1023 09:58:58.474529 22626 dockerfile.go:146] Override save-artifacts script is included in directory "upload/scripts"
I1023 09:58:58.474708 22626 dockerfile.go:458] No user environment provided (no environment file found in application sources)
I1023 09:58:58.474747 22626 dockerfile.go:200] Override scripts are included in directory "upload/scripts"
I1023 09:58:58.474794 22626 dockerfile.go:214] Processing injected inputs: api.VolumeList{}
I1023 09:58:58.474817 22626 dockerfile.go:216] Processed injected inputs: api.VolumeList{}
I1023 09:58:58.474976 22626 dockerfile.go:287] Wrote custom Dockerfile to /tmp/s2i-dockerfiletest-dir991602268/Dockerfile
--- PASS: TestDockerfileIncrementalSourceSave (0.01s)
=== RUN TestDockerfileIncrementalSaveURL
I1023 09:58:58.481420 22626 scm.go:20] DownloadForSource https://github.com/sclorg/nodejs-ex
I1023 09:58:58.481472 22626 clone.go:36] Downloading "https://github.com/sclorg/nodejs-ex" ...
I1023 09:58:58.481535 22626 clone.go:40] Cloning sources into "/tmp/s2i-dockerfiletest-dir437128715/upload/src"
I1023 09:58:58.921170 22626 clone.go:56] Checked out "HEAD"
I1023 09:58:58.945262 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:58:58.964352 22626 install.go:255] script "assemble" found by the script URL handler, but failed to install: open /tmp/s2i-dockerfiletest-dir437128715/assemble: no such file or directory
I1023 09:58:58.964510 22626 install.go:255] script "run" found by the script URL handler, but failed to install: open /tmp/s2i-dockerfiletest-dir437128715/run: no such file or directory
I1023 09:58:58.964767 22626 download.go:77] Downloaded 'file:///tmp/s2i-dockerfiletest-dir437128715/save-artifacts'
I1023 09:58:58.964868 22626 install.go:261] Using "save-artifacts" installed from "file:///tmp/s2i-dockerfiletest-dir437128715/save-artifacts"
I1023 09:58:58.964932 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:58:58.964974 22626 dockerfile.go:115] Constructing image build context directory at /tmp/s2i-dockerfiletest-dir437128715/
I1023 09:58:58.965110 22626 dockerfile.go:424] found override script file save-artifacts
I1023 09:58:58.965177 22626 dockerfile.go:146] Override save-artifacts script is included in directory "upload/scripts"
I1023 09:58:58.965545 22626 dockerfile.go:458] No user environment provided (no environment file found in application sources)
I1023 09:58:58.965608 22626 dockerfile.go:200] Override scripts are included in directory "upload/scripts"
I1023 09:58:58.965679 22626 dockerfile.go:214] Processing injected inputs: api.VolumeList{}
I1023 09:58:58.965719 22626 dockerfile.go:216] Processed injected inputs: api.VolumeList{}
I1023 09:58:58.965929 22626 dockerfile.go:287] Wrote custom Dockerfile to /tmp/s2i-dockerfiletest-dir437128715/Dockerfile
--- PASS: TestDockerfileIncrementalSaveURL (0.49s)
=== RUN TestDockerfileIncrementalTag
I1023 09:58:58.975145 22626 scm.go:20] DownloadForSource https://github.com/sclorg/nodejs-ex
I1023 09:58:58.975198 22626 clone.go:36] Downloading "https://github.com/sclorg/nodejs-ex" ...
I1023 09:58:58.975260 22626 clone.go:40] Cloning sources into "/tmp/s2i-dockerfiletest-dir278624238/upload/src"
I1023 09:58:59.432443 22626 clone.go:56] Checked out "HEAD"
I1023 09:58:59.456463 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:58:59.474961 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:58:59.475027 22626 dockerfile.go:115] Constructing image build context directory at /tmp/s2i-dockerfiletest-dir278624238/
I1023 09:58:59.478893 22626 dockerfile.go:458] No user environment provided (no environment file found in application sources)
I1023 09:58:59.478964 22626 dockerfile.go:214] Processing injected inputs: api.VolumeList(nil)
I1023 09:58:59.479000 22626 dockerfile.go:216] Processed injected inputs: api.VolumeList(nil)
I1023 09:58:59.479271 22626 dockerfile.go:287] Wrote custom Dockerfile to /tmp/s2i-dockerfiletest-dir278624238/Dockerfile
--- PASS: TestDockerfileIncrementalTag (0.51s)
=== RUN TestDockerfileIncrementalAssembleUser
I1023 09:58:59.487734 22626 scm.go:20] DownloadForSource https://github.com/sclorg/nodejs-ex
I1023 09:58:59.487786 22626 clone.go:36] Downloading "https://github.com/sclorg/nodejs-ex" ...
I1023 09:58:59.487849 22626 clone.go:40] Cloning sources into "/tmp/s2i-dockerfiletest-dir534105717/upload/src"
I1023 09:58:59.822273 22626 clone.go:56] Checked out "HEAD"
I1023 09:58:59.846942 22626 clone.go:62] Updated submodules for "HEAD"
I1023 09:58:59.865620 22626 ignore.go:64] .s2iignore file does not exist
I1023 09:58:59.865673 22626 dockerfile.go:115] Constructing image build context directory at /tmp/s2i-dockerfiletest-dir534105717/
I1023 09:58:59.866061 22626 dockerfile.go:458] No user environment provided (no environment file found in application sources)
I1023 09:58:59.866128 22626 dockerfile.go:214] Processing injected inputs: api.VolumeList(nil)
I1023 09:58:59.866169 22626 dockerfile.go:216] Processed injected inputs: api.VolumeList(nil)
I1023 09:58:59.866391 22626 dockerfile.go:287] Wrote custom Dockerfile to /tmp/s2i-dockerfiletest-dir534105717/Dockerfile
--- PASS: TestDockerfileIncrementalAssembleUser (0.39s)
PASS
coverage: 0.0% of statements
ok github.com/openshift/source-to-image/test/integration 142.781s
Complete
real 2m44.019s
user 0m47.967s
sys 0m7.113s
Finished hack/test-integration.sh
***************************************************
***************************************************
Running hack/test-stirunimage.sh...
working dir: /tmp/sti/test-work.LCzN
s2i working dir: /tmp/sti/test-work.LCzN
/tmp/sti/test-work.LCzN /data/src/github.com/openshift/source-to-image
cloning source into working dir
TEST PASSED
s2i build with relative path without file://
TEST PASSED
s2i build with volume options
TEST PASSED
/data/src/github.com/openshift/source-to-image
s2i build with absolute path with file://
TEST PASSED
s2i build with absolute path without file://
TEST PASSED
s2i build with non-git repo file location
TEST PASSED
I1023 10:04:09.463551 2259 download.go:37] Copying sources from "/tmp/sti/test-work.LCzN/cakephp-ex" to "/tmp/s2i288996732/upload/src"
TEST PASSED
s2i rebuild
TEST PASSED
TEST PASSED
s2i usage
TEST PASSED
I1023 10:05:43.314657 3828 sti.go:699] Sample invocation:
TEST PASSED
s2i build with overriding assemble/run scripts
Running custom assemble
TEST PASSED
Running custom run
TEST PASSED
s2i build with add-host option
Gem::RemoteFetcher::FetchError: Errno::ECONNREFUSED: Failed to open TCP connection to rubygems.org:443 (Connection refused - connect(2) for "rubygems.org" port 443) (https://rubygems.org/gems/rake-12.3.0.gem)
TEST PASSED
s2i build with remote git repo
TEST PASSED
s2i build with runtime image
TEST PASSED
s2i build with Dockerfile output
TEST PASSED
s2i build with --run==true option
Waiting up to 15*TIME_MIN for the build to finish ...
The image test-jee-app:latest has been started in container 1875927df5c3604a0f93aa308131d9116c9c04ddd8283f02054952d2adb7ba0d as a result of the --run=true option. The container's stdout/stderr will be redirected to this command's glog output to help you validate its behavior. You can also inspect the container with docker commands if you like. If the container is set up to stay running, you will have to Ctrl-C to exit this command, which should also stop the container 1875927df5c3604a0f93aa308131d9116c9c04ddd8283f02054952d2adb7ba0d. This particular invocation attempts to run with the port mappings
[INFO] Success running command s2i --run=true
[INFO] Success terminating associated docker container
Cleaning up working dir /tmp/sti/test-work.LCzN
Complete
real 9m27.753s
user 0m7.931s
sys 0m4.057s
Finished hack/test-stirunimage.sh
***************************************************
==> openshiftdev: Downloading logs
==> openshiftdev: Downloading artifacts from '/tmp/sti/' to '/var/lib/jenkins/jobs/test_pull_requests_s2i/workspace/origin/artifacts/sti/'
==> openshiftdev: Downloading artifacts from '/var/log/yum.log' to '/var/lib/jenkins/jobs/test_pull_requests_s2i/workspace/origin/artifacts/yum.log'
==> openshiftdev: Downloading artifacts from '/var/log/secure' to '/var/lib/jenkins/jobs/test_pull_requests_s2i/workspace/origin/artifacts/secure'
==> openshiftdev: Downloading artifacts from '/var/log/audit/audit.log' to '/var/lib/jenkins/jobs/test_pull_requests_s2i/workspace/origin/artifacts/audit.log'
+ popd
~/jobs/test_pull_requests_s2i/workspace
[description-setter] Description set: <a href="https://github.com/openshift/source-to-image/pull/938">https://github.com/openshift/source-to-image/pull/938</a>
[PostBuildScript] - Executing post build scripts.
[PostBuildScript] - Build does not have any of the results []. Did not execute build step #0.
Finished: SUCCESS