-
-
Save pweil-/a7f8b4ab01e97d7f70e4fc5478de2f1d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ oc logs ruby-ex-3-4zkm7 | |
You might consider adding 'puma' into your Gemfile. | |
ERROR: Rubygem Rack is not installed in the present image. | |
Add rack to your Gemfile in order to start the web server. | |
$ docker run -it 172.30.175.35:5000/testuserns/ruby-ex@sha256:6b2b67c30acd71b59254c5be175c9bd0d59295ab3758c7b24efd6b9bd3a93d88 ls -l /opt/app-root/src | |
total 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I0331 19:58:58.553382 1 scm.go:21] DownloadForSource /tmp/s2i-build189870441/upload/src | |
I0331 19:58:58.553729 1 git.go:213] makePathAbsolute /tmp/s2i-build189870441/upload/src | |
I0331 19:58:58.553739 1 scm.go:28] return from ParseFile file exists true proto specified false use copy false | |
I0331 19:58:58.553743 1 scm.go:40] new source from parse file /tmp/s2i-build189870441/upload/src | |
I0331 19:58:58.553765 1 sti.go:274] Starting S2I build from testuserns/ruby-ex-11 BuildConfig ... | |
I0331 19:58:58.553770 1 sti.go:205] Preparing to build testuserns/ruby-ex-11:a7ccac96 | |
I0331 19:58:58.554041 1 download.go:30] Copying sources from "/tmp/s2i-build189870441/upload/src" to "/tmp/s2i-build189870441/upload/src" | |
I0331 19:58:58.554110 1 install.go:249] Using "assemble" installed from "image:///usr/libexec/s2i/assemble" | |
I0331 19:58:58.554136 1 install.go:249] Using "run" installed from "image:///usr/libexec/s2i/run" | |
I0331 19:58:58.554160 1 install.go:249] Using "save-artifacts" installed from "image:///usr/libexec/s2i/save-artifacts" | |
I0331 19:58:58.554186 1 ignore.go:63] .s2iignore file does not exist | |
I0331 19:58:58.554197 1 sti.go:215] Clean build will be performed | |
I0331 19:58:58.554205 1 sti.go:218] Performing source build from file:///tmp/s2i-build189870441/upload/src | |
I0331 19:58:58.554215 1 sti.go:229] Running "assemble" in "testuserns/ruby-ex-11:a7ccac96" | |
I0331 19:58:58.554222 1 sti.go:549] Using image name centos/ruby-22-centos7:latest | |
I0331 19:58:58.554240 1 sti.go:441] No user environment provided (no environment file found in application sources) | |
I0331 19:58:58.554257 1 sti.go:756] pweil determining the user ns mode using %s ...container:501eb6d523f1a94a220ecfadab7cc80cf5d4b1493f842145dedb9160c58b8243 | |
I0331 19:58:58.554264 1 sti.go:758] using host user ns mode ... | |
I0331 19:58:58.554389 1 docker.go:874] ------------------------- opts: docker.RunContainerOptions{Image:"centos/ruby-22-centos7:latest", PullImage:false, PullAuth:api.AuthConfig{Username:"", Password:"", Email:"", ServerAddress:""}, ExternalScripts:false, ScriptsURL:"", Destination:"", Env:[]string{"OPENSHIFT_BUILD_NAME=ruby-ex-11", "OPENSHIFT_BUILD_NAMESPACE=testuserns", "OPENSHIFT_BUILD_SOURCE=https://github.com/openshift/ruby-ex.git", "OPENSHIFT_BUILD_COMMIT=855ab2de53ff897a19e1055f7554c64d19e02c50", "BUILD_LOGLEVEL=5"}, Entrypoint:[]string(nil), Stdin:(*io.PipeReader)(0xc42015e3b8), Stdout:(*io.PipeWriter)(0xc42015e3a0), Stderr:(*io.PipeWriter)(0xc42015e3b0), OnStart:(func(string) error)(nil), PostExec:(*sti.STI)(0xc420286000), TargetImage:false, NetworkMode:"container:501eb6d523f1a94a220ecfadab7cc80cf5d4b1493f842145dedb9160c58b8243", UsernsMode:"host", User:"", CGroupLimits:(*api.CGroupLimits)(0xc420776210), CapDrop:[]string{"KILL", "MKNOD", "SETGID", "SETUID", "SYS_CHROOT"}, Binds:[]string{}, Command:"assemble", CommandOverrides:(func(string) string)(nil), CommandExplicit:[]string(nil)} | |
I0331 19:58:58.554555 1 sti.go:654] starting the source uploading ... | |
I0331 19:58:58.554574 1 tar.go:200] Adding "/tmp/s2i-build189870441/upload" to tar ... | |
I0331 19:58:58.554700 1 tar.go:286] Adding to tar: /tmp/s2i-build189870441/upload/src/.git/HEAD as src/.git/HEAD | |
I0331 19:58:58.558498 1 docker.go:708] Image sha256:4d60b99d7e168f2c4180bbb45e74318a14e96ec210c6b97d805d4f4ca08a21c7 contains io.openshift.s2i.scripts-url set to "image:///usr/libexec/s2i" | |
I0331 19:58:58.558520 1 docker.go:783] Base directory for S2I scripts is '/usr/libexec/s2i'. Untarring destination is '/tmp'. | |
I0331 19:58:58.558538 1 docker.go:919] Setting "/bin/sh -c tar -C /tmp -xf - && /usr/libexec/s2i/assemble" command for container ... | |
I0331 19:58:58.558696 1 docker.go:928] Creating container with options {Name:"s2i_centos_ruby_22_centos7_latest_6478d1ca" Config:&{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:true StdinOnce:true Env:[OPENSHIFT_BUILD_NAME=ruby-ex-11 OPENSHIFT_BUILD_NAMESPACE=testuserns OPENSHIFT_BUILD_SOURCE=https://github.com/openshift/ruby-ex.git OPENSHIFT_BUILD_COMMIT=855ab2de53ff897a19e1055f7554c64d19e02c50 BUILD_LOGLEVEL=5] Cmd:[/bin/sh -c tar -C /tmp -xf - && /usr/libexec/s2i/assemble] ArgsEscaped:false Image:centos/ruby-22-centos7:latest Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal:} HostConfig:&{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode:container:501eb6d523f1a94a220ecfadab7cc80cf5d4b1493f842145dedb9160c58b8243 PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] CapAdd:[] CapDrop:[KILL MKNOD SETGID SETUID SYS_CHROOT] DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode:host ShmSize:67108864 Sysctls:map[] ConsoleSize:[0 0] Isolation: Resources:{CPUShares:2 Memory:92233720368547 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:100000 CPUQuota:-1 CpusetCpus: CpusetMems: Devices:[] DiskQuota:0 KernelMemory:0 MemoryReservation:0 MemorySwap:92233720368547 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:0 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0 NetworkMaximumBandwidth:0}}} ... | |
I0331 19:58:58.885202 1 docker.go:954] Attaching to container "bedd03a522beb904e45b1dfbcb30bf255cc32979a453437499038a4b3bff4853" ... | |
I0331 19:58:58.885858 1 docker.go:965] Starting container "bedd03a522beb904e45b1dfbcb30bf255cc32979a453437499038a4b3bff4853" ... | |
I0331 19:58:59.026008 1 tar.go:286] Adding to tar: /tmp/s2i-build189870441/upload/src/.git/config as src/.git/config | |
I0331 19:58:59.026074 1 tar.go:286] Adding to tar: /tmp/s2i-build189870441/upload/src/.git/description as src/.git/description | |
I0331 19:58:59.026144 1 tar.go:286] Adding to tar: /tmp/s2i-build189870441/upload/src/.git/hooks/applypatch-msg.sample as src/.git/hooks/applypatch-msg.sample | |
I0331 19:58:59.026185 1 tar.go:286] Adding to tar: /tmp/s2i-build189870441/upload/src/.git/hooks/commit-msg.sample as src/.git/hooks/commit-msg.sample | |
I0331 19:58:59.026229 1 tar.go:286] Adding to tar: /tmp/s2i-build189870441/upload/src/.git/hooks/post-update.sample as src/.git/hooks/post-update.sample | |
I0331 19:58:59.026270 1 tar.go:286] Adding to tar: /tmp/s2i-build189870441/upload/src/.git/hooks/pre-applypatch.sample as src/.git/hooks/pre-applypatch.sample | |
I0331 19:58:59.026313 1 tar.go:286] Adding to tar: /tmp/s2i-build189870441/upload/src/.git/hooks/pre-commit.sample as src/.git/hooks/pre-commit.sample | |
I0331 19:58:59.026360 1 tar.go:286] Adding to tar: /tmp/s2i-build189870441/upload/src/.git/hooks/pre-push.sample as src/.git/hooks/pre-push.sample | |
I0331 19:58:59.026400 1 tar.go:286] Adding to tar: /tmp/s2i-build189870441/upload/src/.git/hooks/pre-rebase.sample as src/.git/hooks/pre-rebase.sample | |
I0331 19:58:59.026458 1 tar.go:286] Adding to tar: /tmp/s2i-build189870441/upload/src/.git/hooks/prepare-commit-msg.sample as src/.git/hooks/prepare-commit-msg.sample | |
I0331 19:58:59.026502 1 tar.go:286] Adding to tar: /tmp/s2i-build189870441/upload/src/.git/hooks/update.sample as src/.git/hooks/update.sample | |
I0331 19:58:59.026564 1 tar.go:286] Adding to tar: /tmp/s2i-build189870441/upload/src/.git/index as src/.git/index | |
I0331 19:58:59.026661 1 tar.go:286] Adding to tar: /tmp/s2i-build189870441/upload/src/.git/info/exclude as src/.git/info/exclude | |
I0331 19:58:59.026730 1 tar.go:286] Adding to tar: /tmp/s2i-build189870441/upload/src/.git/logs/HEAD as src/.git/logs/HEAD | |
I0331 19:58:59.026812 1 tar.go:286] Adding to tar: /tmp/s2i-build189870441/upload/src/.git/logs/refs/heads/master as src/.git/logs/refs/heads/master | |
I0331 19:58:59.026915 1 tar.go:286] Adding to tar: /tmp/s2i-build189870441/upload/src/.git/logs/refs/remotes/origin/HEAD as src/.git/logs/refs/remotes/origin/HEAD | |
I0331 19:58:59.027002 1 tar.go:286] Adding to tar: /tmp/s2i-build189870441/upload/src/.git/objects/7b/c119c5868ce3c8d033679eed1814ccebb621c4 as src/.git/objects/7b/c119c5868ce3c8d033679eed1814ccebb621c4 | |
I0331 19:58:59.027065 1 tar.go:286] Adding to tar: /tmp/s2i-build189870441/upload/src/.git/objects/85/5ab2de53ff897a19e1055f7554c64d19e02c50 as src/.git/objects/85/5ab2de53ff897a19e1055f7554c64d19e02c50 | |
I0331 19:58:59.027123 1 tar.go:286] Adding to tar: /tmp/s2i-build189870441/upload/src/.git/objects/8e/06a0c70d181ab7443bb4580841d26409721c96 as src/.git/objects/8e/06a0c70d181ab7443bb4580841d26409721c96 | |
I0331 19:58:59.027180 1 tar.go:286] Adding to tar: /tmp/s2i-build189870441/upload/src/.git/objects/a7/09f068080deadf6712de917ea37cd87d3f900d as src/.git/objects/a7/09f068080deadf6712de917ea37cd87d3f900d | |
I0331 19:58:59.027239 1 tar.go:286] Adding to tar: /tmp/s2i-build189870441/upload/src/.git/objects/dc/dd2f248a2df1b0e28c3e523f40b315953cbfe1 as src/.git/objects/dc/dd2f248a2df1b0e28c3e523f40b315953cbfe1 | |
I0331 19:58:59.027275 1 tar.go:286] Adding to tar: /tmp/s2i-build189870441/upload/src/.git/objects/e9/9db24a4b6d7853cb20b5d7ab748164f6bc3df8 as src/.git/objects/e9/9db24a4b6d7853cb20b5d7ab748164f6bc3df8 | |
I0331 19:58:59.027312 1 tar.go:286] Adding to tar: /tmp/s2i-build189870441/upload/src/.git/packed-refs as src/.git/packed-refs | |
I0331 19:58:59.027353 1 tar.go:286] Adding to tar: /tmp/s2i-build189870441/upload/src/.git/refs/heads/master as src/.git/refs/heads/master | |
I0331 19:58:59.027417 1 tar.go:286] Adding to tar: /tmp/s2i-build189870441/upload/src/.git/refs/remotes/origin/HEAD as src/.git/refs/remotes/origin/HEAD | |
I0331 19:58:59.027453 1 tar.go:286] Adding to tar: /tmp/s2i-build189870441/upload/src/.git/shallow as src/.git/shallow | |
I0331 19:58:59.027537 1 tar.go:286] Adding to tar: /tmp/s2i-build189870441/upload/src/Gemfile as src/Gemfile | |
I0331 19:58:59.027564 1 tar.go:286] Adding to tar: /tmp/s2i-build189870441/upload/src/Gemfile.lock as src/Gemfile.lock | |
I0331 19:58:59.027600 1 tar.go:286] Adding to tar: /tmp/s2i-build189870441/upload/src/README.md as src/README.md | |
I0331 19:58:59.027623 1 tar.go:286] Adding to tar: /tmp/s2i-build189870441/upload/src/config.ru as src/config.ru | |
I0331 19:58:59.044816 1 sti.go:662] ---> Installing application source ... | |
I0331 19:58:59.046269 1 sti.go:662] ---> Building your Ruby application from source ... | |
I0331 19:58:59.047780 1 sti.go:662] ---> Running 'bundle install --deployment --without development:test' ... | |
I0331 19:59:02.657513 1 sti.go:662] Fetching gem metadata from https://rubygems.org/............... | |
I0331 19:59:04.083740 1 sti.go:662] Installing puma 3.4.0 | |
I0331 19:59:04.707074 1 sti.go:662] Installing rack 1.6.4 | |
I0331 19:59:04.707151 1 sti.go:662] Using bundler 1.7.8 | |
I0331 19:59:04.707215 1 sti.go:662] Your bundle is complete! | |
I0331 19:59:04.708175 1 sti.go:662] Gems in the groups development and test were not installed. | |
I0331 19:59:04.708182 1 sti.go:662] It was installed into ./bundle | |
I0331 19:59:04.730356 1 sti.go:662] current dir is /opt/app-root/src | |
I0331 19:59:04.730378 1 sti.go:662] contents of bundle: | |
I0331 19:59:04.732147 1 sti.go:662] total 0 | |
I0331 19:59:04.732156 1 sti.go:662] drwxr-xr-x. 3 default root 18 Mar 31 19:58 . | |
I0331 19:59:04.732164 1 sti.go:662] drwxrwxr-x. 6 2329225 root 128 Mar 31 19:58 .. | |
I0331 19:59:04.732169 1 sti.go:662] drwxr-xr-x. 9 default root 111 Mar 31 19:59 ruby | |
I0331 19:59:04.732200 1 sti.go:662] ---> Cleaning up unused ruby gems ... | |
I0331 19:59:04.882715 1 sti.go:662] contents of bundle: | |
I0331 19:59:04.883887 1 sti.go:662] total 0 | |
I0331 19:59:04.883894 1 sti.go:662] drwxr-xr-x. 3 default root 18 Mar 31 19:58 . | |
I0331 19:59:04.883897 1 sti.go:662] drwxrwxr-x. 6 2329225 root 128 Mar 31 19:58 .. | |
I0331 19:59:04.883900 1 sti.go:662] drwxr-xr-x. 9 default root 111 Mar 31 19:59 ruby | |
I0331 19:59:05.186135 1 sti.go:662] fixing permissions | |
I0331 19:59:05.186150 1 sti.go:662] changing permissions on ./tmp | |
I0331 19:59:05.186167 1 sti.go:662] changing permissions on ./db | |
I0331 19:59:05.236553 1 docker.go:996] Waiting for container "bedd03a522beb904e45b1dfbcb30bf255cc32979a453437499038a4b3bff4853" to stop ... | |
I0331 19:59:05.395309 1 docker.go:1013] Invoking PostExecute function | |
I0331 19:59:05.395325 1 postexecutorstep.go:62] Skipping step: store previous image | |
I0331 19:59:05.395329 1 postexecutorstep.go:109] Executing step: commit image | |
I0331 19:59:05.398332 1 docker.go:1047] Committing container with dockerOpts: {Reference:testuserns/ruby-ex-11:a7ccac96 Comment: Author: Changes:[] Pause:false Config:0xc421258900}, config: {Hostname: Domainname: User:1001 AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[OPENSHIFT_BUILD_NAME=ruby-ex-11 OPENSHIFT_BUILD_NAMESPACE=testuserns OPENSHIFT_BUILD_SOURCE=https://github.com/openshift/ruby-ex.git OPENSHIFT_BUILD_COMMIT=855ab2de53ff897a19e1055f7554c64d19e02c50 BUILD_LOGLEVEL=5] Cmd:[/usr/libexec/s2i/run] ArgsEscaped:false Image: Volumes:map[] WorkingDir: Entrypoint:[container-entrypoint] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[io.openshift.tags:builder,ruby,ruby22 vendor:CentOS io.openshift.build.image:centos/ruby-22-centos7:latest io.openshift.build.commit.date:Mon Dec 12 14:37:32 2016 +0100 name:CentOS Base Image io.openshift.expose-services:8080:http io.s2i.scripts-url:image:///usr/libexec/s2i io.k8s.description:Platform for building and running Ruby 2.2 applications io.openshift.builder-version:06c0ec324aa6edf151f4ea1e7304199c72011bec io.openshift.s2i.scripts-url:image:///usr/libexec/s2i license:GPLv2 io.openshift.build.commit.ref:master io.openshift.build.commit.message:Merge pull request #6 from aj07/typo build-date:20161214 io.openshift.builder-base-version:915990b io.k8s.display-name:testuserns/ruby-ex-11:a7ccac96 io.openshift.build.source-location:https://github.com/openshift/ruby-ex.git io.openshift.build.commit.author:Ionut Palade <PI-Victor@users.noreply.github.com> io.openshift.build.commit.id:855ab2de53ff897a19e1055f7554c64d19e02c50] StopSignal:} | |
I0331 19:59:06.824114 1 postexecutorstep.go:388] Executing step: report success | |
I0331 19:59:06.824131 1 postexecutorstep.go:393] Successfully built testuserns/ruby-ex-11:a7ccac96 | |
I0331 19:59:06.824136 1 postexecutorstep.go:87] Skipping step: remove previous image | |
I0331 19:59:06.824167 1 docker.go:938] Removing container "bedd03a522beb904e45b1dfbcb30bf255cc32979a453437499038a4b3bff4853" ... | |
I0331 19:59:07.158149 1 docker.go:942] Removed container "bedd03a522beb904e45b1dfbcb30bf255cc32979a453437499038a4b3bff4853" | |
I0331 19:59:07.158270 1 cleanup.go:31] Temporary directory "/tmp/s2i-build189870441" will be saved, not deleted | |
I0331 19:59:07.166286 1 cfg.go:44] Locating docker auth for image 172.30.175.35:5000/testuserns/ruby-ex:latest and type PUSH_DOCKERCFG_PATH | |
I0331 19:59:07.166455 1 cfg.go:112] Using Docker authentication configuration in '/var/run/secrets/openshift.io/push/.dockercfg' | |
I0331 19:59:07.166645 1 cfg.go:79] Using serviceaccount user for Docker authentication for image 172.30.175.35:5000/testuserns/ruby-ex:latest | |
I0331 19:59:07.166661 1 sti.go:313] Using provided push secret for pushing 172.30.175.35:5000/testuserns/ruby-ex:latest image | |
Pushing image 172.30.175.35:5000/testuserns/ruby-ex:latest ... | |
The push refers to a repository [172.30.175.35:5000/testuserns/ruby-ex] | |
Preparing | |
Preparing | |
Preparing | |
Preparing | |
Preparing | |
Preparing | |
Preparing | |
Preparing | |
Preparing | |
Preparing | |
Preparing | |
Preparing | |
Preparing | |
Waiting | |
Waiting | |
Waiting | |
Waiting | |
Waiting | |
Waiting | |
Waiting | |
Layer already exists | |
Layer already exists | |
Layer already exists | |
Layer already exists | |
Layer already exists | |
Layer already exists | |
Layer already exists | |
Layer already exists | |
Layer already exists | |
Layer already exists | |
Layer already exists | |
Pushing [==========> ] 512 B/2.451 kB | |
Pushing [==================================================>] 5.632 kB | |
Pushed | |
Pushing 3.072 kB | |
Pushed | |
latest: digest: sha256:6b2b67c30acd71b59254c5be175c9bd0d59295ab3758c7b24efd6b9bd3a93d88 size: 22316 | |
Push successful |
Author
pweil-
commented
Mar 31, 2017
•
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment