Skip to content

Instantly share code, notes, and snippets.

@jackorp
Created March 26, 2021 10:22
Show Gist options
  • Save jackorp/c9da93928e712120c02ac29470682e67 to your computer and use it in GitHub Desktop.
Save jackorp/c9da93928e712120c02ac29470682e67 to your computer and use it in GitHub Desktop.
make[1]: Entering directory '/home/jprokop/projects/s2i/s2i-ruby-container'
VERSION="3.0" SKIP_SQUASH=1 UPDATE_BASE= OS=fedora CLEAN_AFTER= DOCKER_BUILD_CONTEXT=. OPENSHIFT_NAMESPACES="2.0" CUSTOM_REPO="" REGISTRY="""" /usr/bin/env bash common/build.sh
-> Version 3.0: building image from 'Dockerfile.fedora' ...
-> Pulling image registry.fedoraproject.org/f34/s2i-base before building image from Dockerfile.fedora.
The image registry.fedoraproject.org/f34/s2i-base is already pulled.
-> building using docker build --label io.openshift.builder-version="1080739" -f "$dockerfile" "${DOCKER_BUILD_CONTEXT}"
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
STEP 1: FROM registry.fedoraproject.org/f34/s2i-base
STEP 2: EXPOSE 8080
--> Using cache b003befea6a3f7661d0505898657f6def39884446d16053c7b4e57f19b96cc79
--> b003befea6a
STEP 3: ENV NAME=ruby RUBY_VERSION=3.0 RUBY_SHORT_VER=30 VERSION=0
--> Using cache 45089a82e3ef19d659c28dcab2966b06628a94be1f37a2f203b1c4295a662d63
--> 45089a82e3e
STEP 4: ENV SUMMARY="Platform for building and running Ruby $RUBY_VERSION applications" DESCRIPTION="Ruby $RUBY_VERSION available as container is a base platform for building and running various Ruby $RUBY_VERSION applications and frameworks. Ruby is the interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in Perl). It is simple, straight-forward, and extensible."
--> Using cache 2d7253f80629d4a873aa77d4508fab31715eb9aa0b828fde58920405288db3c5
--> 2d7253f8062
STEP 5: LABEL summary="$SUMMARY" description="$DESCRIPTION" io.k8s.description="$DESCRIPTION" io.k8s.display-name="Ruby ${RUBY_VERSION}" io.openshift.expose-services="8080:http" io.openshift.tags="builder,ruby,ruby${RUBY_SHORT_VER}" com.redhat.component="$NAME" name="$FGC/$NAME" version="$VERSION" usage="s2i build https://github.com/sclorg/s2i-ruby-container.git --context-dir=${RUBY_VERSION}/test/puma-test-app/ registry.fedoraproject.org/$FGC/ruby ruby-sample-app" maintainer="SoftwareCollections.org <sclorg@redhat.com>"
--> Using cache 46a0e9d05fcdb5f67fed65a9db18dd9ad352083969ab18e58a3f8d61551f3038
--> 46a0e9d05fc
STEP 6: RUN INSTALL_PKGS="ruby ruby-devel rubygem-bundler rubygem-rake rubygems-devel redhat-rpm-config libffi-devel" && dnf install -y --setopt=tsflags=nodocs $INSTALL_PKGS && rpm -V $INSTALL_PKGS && dnf clean all
--> Using cache cda45f14f4587c3fd80dfb1660ce649959e5344e3670b31f93de918dae4f5ba1
--> cda45f14f45
STEP 7: COPY ./s2i/bin/ $STI_SCRIPTS_PATH
--> Using cache 15fc500b539cecb77f0846138aeb06eb867bca9d0d4b2055143a34d339fc0b34
--> 15fc500b539
STEP 8: COPY ./root/ /
--> Using cache a2bf4af8a7473871a05f929e81856edbc7c6ca4ba15d6de4635215bda00d846e
--> a2bf4af8a74
STEP 9: RUN chown -R 1001:0 ${APP_ROOT} && chmod -R ug+rwx ${APP_ROOT} && rpm-file-permissions
--> Using cache fa6978467648d80ddf180e3a8f66201a59c2a4556aa53ccc20c20df122c81e06
--> fa697846764
STEP 10: USER 1001
--> Using cache c2669804552ddfc5da836db9950273cdb37016a20f3d38d02b2a1992893a19fc
--> c2669804552
STEP 11: CMD $STI_SCRIPTS_PATH/usage
--> Using cache 457545ba1194c136ac1084e160cb3536b16e059cce3ed909d46e7edc80f37ab9
--> 457545ba119
457545ba1194c136ac1084e160cb3536b16e059cce3ed909d46e7edc80f37ab9
ruby 3.0 => 457545ba1194c136ac1084e160cb3536b16e059cce3ed909d46e7edc80f37ab9
make[1]: Leaving directory '/home/jprokop/projects/s2i/s2i-ruby-container'
VERSIONS="3.0" SKIP_SQUASH=1 UPDATE_BASE= OS=fedora CLEAN_AFTER= DOCKER_BUILD_CONTEXT=. OPENSHIFT_NAMESPACES="2.0" CUSTOM_REPO="" REGISTRY="""" TEST_MODE=true /usr/bin/env bash common/tag.sh
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
-> Tagging image '457545ba1194c136ac1084e160cb3536b16e059cce3ed909d46e7edc80f37ab9' as 'f34/ruby:0' and 'f34/ruby:latest' and 'f34/ruby:20210311-1080739'
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
VERSIONS="3.0" SKIP_SQUASH=1 UPDATE_BASE= OS=fedora CLEAN_AFTER= DOCKER_BUILD_CONTEXT=. OPENSHIFT_NAMESPACES="2.0" CUSTOM_REPO="" REGISTRY="""" TEST_MODE=true /usr/bin/env bash common/test.sh
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
+ IMAGE_NAME=f34/ruby:0
+ WEB_SERVERS=('db' 'puma' 'rack')
+ declare -a WEB_SERVERS
+++ dirname test/run
++ readlink -zf test
test/run: line 15: warning: command substitution: ignored null byte in input
+ test_dir=/home/jprokop/projects/s2i/s2i-ruby-container/3.0/test
++ readlink -zf /home/jprokop/projects/s2i/s2i-ruby-container/3.0/test/..
test/run: line 16: warning: command substitution: ignored null byte in input
+ image_dir=/home/jprokop/projects/s2i/s2i-ruby-container/3.0
+ test_short_summary=
+ TESTSUITE_RESULT=0
+ TEST_LIST='test_docker_run_usage
test_application
test_connection
test_scl_variables_in_dockerfile
test_scl_usage
test_npm_functionality
'
+ source /home/jprokop/projects/s2i/s2i-ruby-container/3.0/test/test-lib.sh
++ EXPECTED_EXIT_CODE=0
++ docker inspect '--format={{range $key, $value := .Config.ExposedPorts }}{{$key}}{{end}}' f34/ruby:0
++ sed 's/\/.*//'
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
+ test_port=8080
+ pushd /home/jprokop/projects/s2i/s2i-ruby-container/3.0/test
/home/jprokop/projects/s2i/s2i-ruby-container/3.0/test /home/jprokop/projects/s2i/s2i-ruby-container/3.0
+ '[' -d db-test-app ']'
+ git clone git://github.com/openshift/ruby-hello-world db-test-app
Cloning into 'db-test-app'...
+ popd
/home/jprokop/projects/s2i/s2i-ruby-container/3.0
+ test_from_dockerfile
++ readlink -zf /home/jprokop/projects/s2i/s2i-ruby-container/3.0/..
test/run: line 226: warning: command substitution: ignored null byte in input
+ rootdir=/home/jprokop/projects/s2i/s2i-ruby-container
+ dockerfile=Dockerfile
+ TESTCASE_RESULT=0
+ info 'Check building using a Dockerfile'
+ echo -e '\n\e[1m[INFO] Check building using a Dockerfile...\e[0m\n'
[INFO] Check building using a Dockerfile...
+ ct_test_app_dockerfile /home/jprokop/projects/s2i/s2i-ruby-container/examples/from-dockerfile/Dockerfile https://github.com/jackorp/rails-ex.git 'Welcome to your Rails application on OpenShift' app-src
+ local dockerfile=/home/jprokop/projects/s2i/s2i-ruby-container/examples/from-dockerfile/Dockerfile
+ local app_url=https://github.com/jackorp/rails-ex.git
+ local 'expected_text=Welcome to your Rails application on OpenShift'
+ local app_dir=app-src
+ local port=8080
+ local app_image_name=myapp
+ local ret
+ local cname=app_dockerfile
+ '[' -z app-src ']'
+ '[' -r /home/jprokop/projects/s2i/s2i-ruby-container/examples/from-dockerfile/Dockerfile ']'
+ '[' -s /home/jprokop/projects/s2i/s2i-ruby-container/examples/from-dockerfile/Dockerfile ']'
++ mktemp -d
+ CID_FILE_DIR=/tmp/tmp.Z9HDXt1Beh
+ local dockerfile_abs
++ readlink -f /home/jprokop/projects/s2i/s2i-ruby-container/examples/from-dockerfile/Dockerfile
+ dockerfile_abs=/home/jprokop/projects/s2i/s2i-ruby-container/examples/from-dockerfile/Dockerfile
++ mktemp -d
+ tmpdir=/tmp/tmp.ZnAWz1HZmM
+ pushd /tmp/tmp.ZnAWz1HZmM
+ cp /home/jprokop/projects/s2i/s2i-ruby-container/examples/from-dockerfile/Dockerfile Dockerfile
+ sed -i -e 's|^FROM.*$|FROM f34/ruby:0|' Dockerfile
+ echo 'Using this Dockerfile:'
Using this Dockerfile:
+ cat Dockerfile
FROM f34/ruby:0
ADD app-src ./
RUN bundle install --path ./bundle
CMD exec bundle exec "rackup -P /tmp/rack.pid --host 0.0.0.0 --port 8080"
+ readarray -d @ -t git_url_parts
+ '[' -n '' ']'
+ git_clone_cmd='git clone https://github.com/jackorp/rails-ex.git app-src'
+ git clone https://github.com/jackorp/rails-ex.git app-src
Cloning into 'app-src'...
+ echo 'Building '\''myapp'\'' image using docker build'
Building 'myapp' image using docker build
+ docker build --no-cache=true -t myapp .
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
STEP 1: FROM f34/ruby:0
STEP 2: ADD app-src ./
--> bf673ca78c8
STEP 3: RUN bundle install --path ./bundle
[DEPRECATED] The `--path` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local path './bundle'`, and stop using this flag
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
Fetching gem metadata from https://rubygems.org/.system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
.system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
.system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
.system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
.system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
.system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
.system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
.system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
.system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
.system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
.system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
.system temporary path is not writable: /tmp
/tmp is not writable: /tmp
Fetching rake 13.0.3
Installing rake 13.0.3
Fetching thread_safe 0.3.6
Fetching concurrent-ruby 1.1.8
Fetching crass 1.0.6
Fetching erubi 1.10.0
Fetching racc 1.5.2
Fetching rack 2.2.3
Fetching builder 3.2.4
Fetching minitest 5.14.4
Installing erubi 1.10.0
Installing builder 3.2.4
Installing crass 1.0.6
Installing thread_safe 0.3.6
Fetching nio4r 2.5.7
Installing minitest 5.14.4
Fetching websocket-extensions 0.1.5
Installing nio4r 2.5.7 with native extensions
Installing rack 2.2.3
Installing websocket-extensions 0.1.5
Installing concurrent-ruby 1.1.8
Installing racc 1.5.2 with native extensions
Fetching mini_mime 1.0.3
Fetching arel 8.0.0
Installing arel 8.0.0
Installing mini_mime 1.0.3
Fetching public_suffix 4.0.6
Fetching bindex 0.8.1
Installing bindex 0.8.1 with native extensions
Using bundler 2.2.3
Fetching byebug 11.1.3
Installing public_suffix 4.0.6
Installing byebug 11.1.3 with native extensions
Fetching childprocess 3.0.0
Installing childprocess 3.0.0
Fetching coffee-script-source 1.12.2
Fetching execjs 2.7.0
Installing execjs 2.7.0
Installing coffee-script-source 1.12.2
Fetching method_source 1.0.0
Fetching thor 1.1.0
Installing method_source 1.0.0
Installing thor 1.1.0
Fetching ffi 1.15.0
Fetching pg 1.2.3
Fetching rb-fsevent 0.10.4
Installing rb-fsevent 0.10.4
Fetching puma 3.12.6
Installing pg 1.2.3 with native extensions
Installing puma 3.12.6 with native extensions
Fetching redis 4.2.5
Installing ffi 1.15.0 with native extensions
Fetching rubyzip 2.3.0
Installing redis 4.2.5
Installing rubyzip 2.3.0
Fetching tilt 2.0.10
Installing tilt 2.0.10
Fetching spring 2.1.1
Installing spring 2.1.1
Fetching sqlite3 1.4.2
Installing sqlite3 1.4.2 with native extensions
Fetching turbolinks-source 5.2.0
Fetching websocket-driver 0.6.5
Installing turbolinks-source 5.2.0
Installing websocket-driver 0.6.5 with native extensions
Fetching tzinfo 1.2.9
Installing tzinfo 1.2.9
Fetching mail 2.7.1
Fetching rack-test 1.1.0
Installing rack-test 1.1.0
Installing mail 2.7.1
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching i18n 1.8.9
Fetching sprockets 3.7.2
Installing i18n 1.8.9
Installing sprockets 3.7.2
Fetching coffee-script 2.4.1
Fetching uglifier 4.2.0
Installing coffee-script 2.4.1
Installing uglifier 4.2.0
Fetching selenium-webdriver 3.142.7
Fetching nokogiri 1.11.2 (x86_64-linux)
Fetching turbolinks 5.2.1
Installing selenium-webdriver 3.142.7
Installing turbolinks 5.2.1
Fetching activesupport 5.1.7
Installing activesupport 5.1.7
Installing nokogiri 1.11.2 (x86_64-linux)
Fetching globalid 0.4.2
Fetching activemodel 5.1.7
Fetching jbuilder 2.11.2
Installing globalid 0.4.2
Installing activemodel 5.1.7
Installing jbuilder 2.11.2
Fetching activejob 5.1.7
Installing activejob 5.1.7
Fetching activerecord 5.1.7
Installing activerecord 5.1.7
Fetching rails-dom-testing 2.0.3
Fetching xpath 3.2.0
Fetching loofah 2.9.0
Installing xpath 3.2.0
Installing rails-dom-testing 2.0.3
Installing loofah 2.9.0
Fetching rails-html-sanitizer 1.3.0
Fetching capybara 2.18.0
Installing rails-html-sanitizer 1.3.0
Installing capybara 2.18.0
Fetching actionview 5.1.7
Installing actionview 5.1.7
Fetching actionpack 5.1.7
Installing actionpack 5.1.7
Fetching actioncable 5.1.7
Fetching actionmailer 5.1.7
Fetching railties 5.1.7
Fetching sprockets-rails 3.2.2
Installing sprockets-rails 3.2.2
Installing actionmailer 5.1.7
Installing actioncable 5.1.7
Installing railties 5.1.7
Fetching rails 5.1.7
Fetching coffee-rails 4.2.2
Fetching web-console 3.7.0
Installing rails 5.1.7
Installing coffee-rails 4.2.2
Installing web-console 3.7.0
Fetching rb-inotify 0.10.1
Installing rb-inotify 0.10.1
Fetching sass-listen 4.0.0
Fetching listen 3.0.8
Installing sass-listen 4.0.0
Installing listen 3.0.8
Fetching sass 3.7.4
Fetching spring-watcher-listen 2.0.1
Installing spring-watcher-listen 2.0.1
Installing sass 3.7.4
Fetching sass-rails 5.0.7
Installing sass-rails 5.0.7
Bundle complete! 18 Gemfile dependencies, 70 gems now installed.
Bundled gems are installed into `./bundle`
Post-install message from sass:
Ruby Sass has reached end-of-life and should no longer be used.
* If you use Sass as a command-line tool, we recommend using Dart Sass, the new
primary implementation: https://sass-lang.com/install
* If you use Sass as a plug-in for a Ruby web framework, we recommend using the
sassc gem: https://github.com/sass/sassc-ruby#readme
* For more details, please refer to the Sass blog:
https://sass-lang.com/blog/posts/7828841
--> 20ceab15359
STEP 4: CMD exec bundle exec "rackup -P /tmp/rack.pid --host 0.0.0.0 --port 8080"
STEP 5: COMMIT myapp
--> db722604f93
db722604f93a80d386651108025b11d8894b8c1ecaa9c42fbd59886eb6fbbe5b
+ docker run -d --cidfile=/tmp/tmp.Z9HDXt1Beh/app_dockerfile --rm myapp
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
c722717acd7288d8a0c9f3819301983fd38cb67d11e02693d59cce67ed63197c
+ echo 'Waiting for myapp to start'
Waiting for myapp to start
+ ct_wait_for_cid /tmp/tmp.Z9HDXt1Beh/app_dockerfile
+ local cid_file=/tmp/tmp.Z9HDXt1Beh/app_dockerfile
+ local max_attempts=10
+ local sleep_time=1
+ local attempt=1
+ local result=1
+ '[' 1 -le 10 ']'
+ '[' -f /tmp/tmp.Z9HDXt1Beh/app_dockerfile ']'
+ '[' -s /tmp/tmp.Z9HDXt1Beh/app_dockerfile ']'
+ return 0
++ ct_get_cip app_dockerfile
++ local id=app_dockerfile
++ shift
+++ ct_get_cid app_dockerfile
+++ local name=app_dockerfile
+++ shift
+++ cat /tmp/tmp.Z9HDXt1Beh/app_dockerfile
++ docker inspect '--format={{.NetworkSettings.IPAddress}}' c722717acd7288d8a0c9f3819301983fd38cb67d11e02693d59cce67ed63197c
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
+ ip=10.88.0.18
+ ct_test_response http://10.88.0.18:8080 200 'Welcome to your Rails application on OpenShift'
+ local url=http://10.88.0.18:8080
+ local expected_code=200
+ local 'body_regexp=Welcome to your Rails application on OpenShift'
+ local max_attempts=20
+ local ignore_error_attempts=10
+ : ' Testing the HTTP(S) response for <http://10.88.0.18:8080>'
+ local sleep_time=3
+ local attempt=1
+ local result=1
+ local status
+ local response_code
+ local response_file
++ mktemp /tmp/ct_test_response_XXXXXX
+ response_file=/tmp/ct_test_response_BCAfgd
+ '[' 1 -le 20 ']'
+ curl --connect-timeout 10 -s -w '%{http_code}' http://10.88.0.18:8080
+ status=1
+ '[' 1 -eq 0 ']'
+ attempt=2
+ sleep 3
+ '[' 2 -le 20 ']'
+ curl --connect-timeout 10 -s -w '%{http_code}' http://10.88.0.18:8080
+ status=1
+ '[' 1 -eq 0 ']'
+ attempt=3
+ sleep 3
+ '[' 3 -le 20 ']'
+ curl --connect-timeout 10 -s -w '%{http_code}' http://10.88.0.18:8080
+ status=1
+ '[' 1 -eq 0 ']'
+ attempt=4
+ sleep 3
+ '[' 4 -le 20 ']'
+ curl --connect-timeout 10 -s -w '%{http_code}' http://10.88.0.18:8080
+ status=1
+ '[' 1 -eq 0 ']'
+ attempt=5
+ sleep 3
+ '[' 5 -le 20 ']'
+ curl --connect-timeout 10 -s -w '%{http_code}' http://10.88.0.18:8080
+ status=1
+ '[' 1 -eq 0 ']'
+ attempt=6
+ sleep 3
+ '[' 6 -le 20 ']'
+ curl --connect-timeout 10 -s -w '%{http_code}' http://10.88.0.18:8080
+ status=1
+ '[' 1 -eq 0 ']'
+ attempt=7
+ sleep 3
+ '[' 7 -le 20 ']'
+ curl --connect-timeout 10 -s -w '%{http_code}' http://10.88.0.18:8080
+ status=1
+ '[' 1 -eq 0 ']'
+ attempt=8
+ sleep 3
+ '[' 8 -le 20 ']'
+ curl --connect-timeout 10 -s -w '%{http_code}' http://10.88.0.18:8080
+ status=1
+ '[' 1 -eq 0 ']'
+ attempt=9
+ sleep 3
+ '[' 9 -le 20 ']'
+ curl --connect-timeout 10 -s -w '%{http_code}' http://10.88.0.18:8080
+ status=1
+ '[' 1 -eq 0 ']'
+ attempt=10
+ sleep 3
+ '[' 10 -le 20 ']'
+ curl --connect-timeout 10 -s -w '%{http_code}' http://10.88.0.18:8080
+ status=1
+ '[' 1 -eq 0 ']'
+ attempt=11
+ sleep 3
+ '[' 11 -le 20 ']'
+ curl --connect-timeout 10 -s -w '%{http_code}' http://10.88.0.18:8080
+ status=1
+ '[' 1 -eq 0 ']'
+ attempt=12
+ sleep 3
+ '[' 12 -le 20 ']'
+ curl --connect-timeout 10 -s -w '%{http_code}' http://10.88.0.18:8080
+ status=1
+ '[' 1 -eq 0 ']'
+ attempt=13
+ sleep 3
+ '[' 13 -le 20 ']'
+ curl --connect-timeout 10 -s -w '%{http_code}' http://10.88.0.18:8080
+ status=1
+ '[' 1 -eq 0 ']'
+ attempt=14
+ sleep 3
+ '[' 14 -le 20 ']'
+ curl --connect-timeout 10 -s -w '%{http_code}' http://10.88.0.18:8080
+ status=1
+ '[' 1 -eq 0 ']'
+ attempt=15
+ sleep 3
+ '[' 15 -le 20 ']'
+ curl --connect-timeout 10 -s -w '%{http_code}' http://10.88.0.18:8080
+ status=1
+ '[' 1 -eq 0 ']'
+ attempt=16
+ sleep 3
+ '[' 16 -le 20 ']'
+ curl --connect-timeout 10 -s -w '%{http_code}' http://10.88.0.18:8080
+ status=1
+ '[' 1 -eq 0 ']'
+ attempt=17
+ sleep 3
+ '[' 17 -le 20 ']'
+ curl --connect-timeout 10 -s -w '%{http_code}' http://10.88.0.18:8080
+ status=1
+ '[' 1 -eq 0 ']'
+ attempt=18
+ sleep 3
+ '[' 18 -le 20 ']'
+ curl --connect-timeout 10 -s -w '%{http_code}' http://10.88.0.18:8080
+ status=1
+ '[' 1 -eq 0 ']'
+ attempt=19
+ sleep 3
+ '[' 19 -le 20 ']'
+ curl --connect-timeout 10 -s -w '%{http_code}' http://10.88.0.18:8080
+ status=1
+ '[' 1 -eq 0 ']'
+ attempt=20
+ sleep 3
+ '[' 20 -le 20 ']'
+ curl --connect-timeout 10 -s -w '%{http_code}' http://10.88.0.18:8080
+ status=1
+ '[' 1 -eq 0 ']'
+ attempt=21
+ sleep 3
+ '[' 21 -le 20 ']'
+ rm -f /tmp/ct_test_response_BCAfgd
+ return 1
+ ret=1
++ ct_get_cid app_dockerfile
++ local name=app_dockerfile
++ shift
++ cat /tmp/tmp.Z9HDXt1Beh/app_dockerfile
+ docker kill c722717acd7288d8a0c9f3819301983fd38cb67d11e02693d59cce67ed63197c
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Error: no container with name or ID c722717acd7288d8a0c9f3819301983fd38cb67d11e02693d59cce67ed63197c found: no such container
+ sleep 2
+ docker rmi myapp
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
20ceab153593db7883bc041a125bf2865a936b30ef0e9955f9e65b8d985ba81b
bf673ca78c8b6c172d3aa7d084e91a885fb828e9c7663ad131408e40f14fd55a
Untagged: localhost/myapp:latest
Deleted: db722604f93a80d386651108025b11d8894b8c1ecaa9c42fbd59886eb6fbbe5b
+ popd
+ rm -rf /tmp/tmp.ZnAWz1HZmM
+ rm -f /tmp/tmp.Z9HDXt1Beh/app_dockerfile
+ return 1
+ check_result 1
+ local result=1
+ [[ 1 != \0 ]]
+ TESTCASE_RESULT=1
+ return 1
+ handle_test_case_result 'test_from_dockerfile for %s' Dockerfile
+ local output_format
+ output_format='%s %s test_from_dockerfile for %s\n'
+ shift
+ local test_msg
+ '[' 1 -eq 0 ']'
+ test_msg='[FAILED]'
+ TESTSUITE_RESULT=1
+ printf -v test_short_summary '%s %s test_from_dockerfile for %s\n' '' '[FAILED]' Dockerfile
+ test_from_dockerfile .s2i
++ readlink -zf /home/jprokop/projects/s2i/s2i-ruby-container/3.0/..
test/run: line 226: warning: command substitution: ignored null byte in input
+ rootdir=/home/jprokop/projects/s2i/s2i-ruby-container
+ dockerfile=Dockerfile.s2i
+ TESTCASE_RESULT=0
+ info 'Check building using a Dockerfile.s2i'
+ echo -e '\n\e[1m[INFO] Check building using a Dockerfile.s2i...\e[0m\n'
[INFO] Check building using a Dockerfile.s2i...
+ ct_test_app_dockerfile /home/jprokop/projects/s2i/s2i-ruby-container/examples/from-dockerfile/Dockerfile.s2i https://github.com/jackorp/rails-ex.git 'Welcome to your Rails application on OpenShift' app-src
+ local dockerfile=/home/jprokop/projects/s2i/s2i-ruby-container/examples/from-dockerfile/Dockerfile.s2i
+ local app_url=https://github.com/jackorp/rails-ex.git
+ local 'expected_text=Welcome to your Rails application on OpenShift'
+ local app_dir=app-src
+ local port=8080
+ local app_image_name=myapp
+ local ret
+ local cname=app_dockerfile
+ '[' -z app-src ']'
+ '[' -r /home/jprokop/projects/s2i/s2i-ruby-container/examples/from-dockerfile/Dockerfile.s2i ']'
+ '[' -s /home/jprokop/projects/s2i/s2i-ruby-container/examples/from-dockerfile/Dockerfile.s2i ']'
+ CID_FILE_DIR=/tmp/tmp.Z9HDXt1Beh
+ local dockerfile_abs
++ readlink -f /home/jprokop/projects/s2i/s2i-ruby-container/examples/from-dockerfile/Dockerfile.s2i
+ dockerfile_abs=/home/jprokop/projects/s2i/s2i-ruby-container/examples/from-dockerfile/Dockerfile.s2i
++ mktemp -d
+ tmpdir=/tmp/tmp.QCdAXsgyiz
+ pushd /tmp/tmp.QCdAXsgyiz
+ cp /home/jprokop/projects/s2i/s2i-ruby-container/examples/from-dockerfile/Dockerfile.s2i Dockerfile
+ sed -i -e 's|^FROM.*$|FROM f34/ruby:0|' Dockerfile
+ echo 'Using this Dockerfile:'
Using this Dockerfile:
+ cat Dockerfile
FROM f34/ruby:0
# Add application sources to a directory that the assemble script expects them
# and set permissions so that the container runs without root access
USER 0
ADD app-src /tmp/src
RUN chown -R 1001:0 /tmp/src
USER 1001
ENV RAILS_ENV=development
# Install the dependencies
RUN /usr/libexec/s2i/assemble
# Set the default command for the resulting image
CMD /usr/libexec/s2i/run
+ readarray -d @ -t git_url_parts
+ '[' -n '' ']'
+ git_clone_cmd='git clone https://github.com/jackorp/rails-ex.git app-src'
+ git clone https://github.com/jackorp/rails-ex.git app-src
Cloning into 'app-src'...
+ echo 'Building '\''myapp'\'' image using docker build'
Building 'myapp' image using docker build
+ docker build --no-cache=true -t myapp .
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
STEP 1: FROM f34/ruby:0
STEP 2: USER 0
--> e4a5b8431f2
STEP 3: ADD app-src /tmp/src
--> dac3425facd
STEP 4: RUN chown -R 1001:0 /tmp/src
--> 19c0533d4c3
STEP 5: USER 1001
--> f11f6002bb9
STEP 6: ENV RAILS_ENV=development
--> 086851de645
STEP 7: RUN /usr/libexec/s2i/assemble
---> Installing application source ...
---> Building your Ruby application from source ...
---> Running 'bundle install --retry 2 --deployment --without test' ...
[DEPRECATED] The `--deployment` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local deployment 'true'`, and stop using this flag
[DEPRECATED] The `--path` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local path './bundle'`, and stop using this flag
[DEPRECATED] The `--without` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local without 'test'`, and stop using this flag
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
Fetching gem metadata from https://rubygems.org/.system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
.system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
.system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
.system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
.system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
.system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
.system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
.system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
.system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
.system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
.system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
.system temporary path is not writable: /tmp
/tmp is not writable: /tmp
Fetching rake 13.0.3
Installing rake 13.0.3
Fetching thread_safe 0.3.6
Fetching erubi 1.10.0
Fetching concurrent-ruby 1.1.8
Fetching minitest 5.14.4
Fetching crass 1.0.6
Fetching builder 3.2.4
Fetching racc 1.5.2
Fetching rack 2.2.3
Installing erubi 1.10.0
Installing builder 3.2.4
Installing crass 1.0.6
Fetching nio4r 2.5.7
Installing minitest 5.14.4
Installing thread_safe 0.3.6
Installing rack 2.2.3
Installing nio4r 2.5.7 with native extensions
Installing concurrent-ruby 1.1.8
Installing racc 1.5.2 with native extensions
Fetching websocket-extensions 0.1.5
Installing websocket-extensions 0.1.5
Fetching mini_mime 1.0.3
Fetching arel 8.0.0
Installing arel 8.0.0
Fetching public_suffix 4.0.6
Installing mini_mime 1.0.3
Installing public_suffix 4.0.6
Fetching bindex 0.8.1
Using bundler 2.2.3
Fetching byebug 11.1.3
Installing bindex 0.8.1 with native extensions
Installing byebug 11.1.3 with native extensions
Fetching childprocess 3.0.0
Installing childprocess 3.0.0
Fetching coffee-script-source 1.12.2
Installing coffee-script-source 1.12.2
Fetching execjs 2.7.0
Fetching method_source 1.0.0
Installing execjs 2.7.0
Installing method_source 1.0.0
Fetching ffi 1.15.0
Fetching pg 1.2.3
Fetching thor 1.1.0
Fetching rb-fsevent 0.10.4
Installing rb-fsevent 0.10.4
Installing thor 1.1.0
Fetching puma 3.12.6
Installing pg 1.2.3 with native extensions
Installing puma 3.12.6 with native extensions
Fetching redis 4.2.5
Installing ffi 1.15.0 with native extensions
Installing redis 4.2.5
Fetching rubyzip 2.3.0
Installing rubyzip 2.3.0
Fetching tilt 2.0.10
Fetching spring 2.1.1
Installing tilt 2.0.10
Installing spring 2.1.1
Fetching sqlite3 1.4.2
Fetching turbolinks-source 5.2.0
Installing turbolinks-source 5.2.0
Installing sqlite3 1.4.2 with native extensions
Fetching websocket-driver 0.6.5
Fetching tzinfo 1.2.9
Installing websocket-driver 0.6.5 with native extensions
Installing tzinfo 1.2.9
Fetching mail 2.7.1
Installing mail 2.7.1
Fetching rack-test 1.1.0
Installing rack-test 1.1.0
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching coffee-script 2.4.1
Fetching uglifier 4.2.0
Installing coffee-script 2.4.1
Installing uglifier 4.2.0
Fetching i18n 1.8.9
Fetching sprockets 3.7.2
Installing i18n 1.8.9
Installing sprockets 3.7.2
Fetching selenium-webdriver 3.142.7
Fetching turbolinks 5.2.1
Installing turbolinks 5.2.1
Fetching nokogiri 1.11.2 (x86_64-linux)
Installing selenium-webdriver 3.142.7
Fetching activesupport 5.1.7
Installing activesupport 5.1.7
Installing nokogiri 1.11.2 (x86_64-linux)
Fetching jbuilder 2.11.2
Fetching globalid 0.4.2
Fetching activemodel 5.1.7
Installing globalid 0.4.2
Installing jbuilder 2.11.2
Installing activemodel 5.1.7
Fetching activejob 5.1.7
Installing activejob 5.1.7
Fetching activerecord 5.1.7
Installing activerecord 5.1.7
Fetching xpath 3.2.0
Fetching loofah 2.9.0
Fetching rails-dom-testing 2.0.3
Installing xpath 3.2.0
Installing loofah 2.9.0
Installing rails-dom-testing 2.0.3
Fetching rails-html-sanitizer 1.3.0
Fetching capybara 2.18.0
Installing rails-html-sanitizer 1.3.0
Installing capybara 2.18.0
Fetching actionview 5.1.7
Installing actionview 5.1.7
Fetching actionpack 5.1.7
Installing actionpack 5.1.7
Fetching actioncable 5.1.7
Fetching railties 5.1.7
Fetching actionmailer 5.1.7
Fetching sprockets-rails 3.2.2
Installing actionmailer 5.1.7
Installing sprockets-rails 3.2.2
Installing actioncable 5.1.7
Installing railties 5.1.7
Fetching coffee-rails 4.2.2
Fetching web-console 3.7.0
Fetching rails 5.1.7
Installing coffee-rails 4.2.2
Installing rails 5.1.7
Installing web-console 3.7.0
Fetching rb-inotify 0.10.1
Installing rb-inotify 0.10.1
Fetching listen 3.0.8
Fetching sass-listen 4.0.0
Installing sass-listen 4.0.0
Installing listen 3.0.8
Fetching sass 3.7.4
Fetching spring-watcher-listen 2.0.1
Installing spring-watcher-listen 2.0.1
Installing sass 3.7.4
Fetching sass-rails 5.0.7
Installing sass-rails 5.0.7
Bundle complete! 18 Gemfile dependencies, 70 gems now installed.
Gems in the group test were not installed.
Bundled gems are installed into `./bundle`
Post-install message from sass:
Ruby Sass has reached end-of-life and should no longer be used.
* If you use Sass as a command-line tool, we recommend using Dart Sass, the new
primary implementation: https://sass-lang.com/install
* If you use Sass as a plug-in for a Ruby web framework, we recommend using the
sassc gem: https://github.com/sass/sassc-ruby#readme
* For more details, please refer to the Sass blog:
https://sass-lang.com/blog/posts/7828841
---> Cleaning up unused ruby gems ...
Running `bundle clean --verbose` with bundler 2.2.3
Frozen, using resolution from the lockfile
---> Starting asset compilation ...
rake aborted!
ArgumentError: wrong number of arguments (given 3, expected 2)
/opt/app-root/src/bundle/ruby/3.0.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/static.rb:109:in `initialize'
/opt/app-root/src/bundle/ruby/3.0.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/stack.rb:35:in `new'
/opt/app-root/src/bundle/ruby/3.0.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/stack.rb:35:in `build'
/opt/app-root/src/bundle/ruby/3.0.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/stack.rb:99:in `block in build'
/opt/app-root/src/bundle/ruby/3.0.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/stack.rb:99:in `each'
/opt/app-root/src/bundle/ruby/3.0.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/stack.rb:99:in `inject'
/opt/app-root/src/bundle/ruby/3.0.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/stack.rb:99:in `build'
/opt/app-root/src/bundle/ruby/3.0.0/gems/railties-5.1.7/lib/rails/engine.rb:508:in `block in app'
/opt/app-root/src/bundle/ruby/3.0.0/gems/railties-5.1.7/lib/rails/engine.rb:504:in `synchronize'
/opt/app-root/src/bundle/ruby/3.0.0/gems/railties-5.1.7/lib/rails/engine.rb:504:in `app'
/opt/app-root/src/bundle/ruby/3.0.0/gems/railties-5.1.7/lib/rails/application/finisher.rb:45:in `block in <module:Finisher>'
/opt/app-root/src/bundle/ruby/3.0.0/gems/railties-5.1.7/lib/rails/initializable.rb:30:in `instance_exec'
/opt/app-root/src/bundle/ruby/3.0.0/gems/railties-5.1.7/lib/rails/initializable.rb:30:in `run'
/opt/app-root/src/bundle/ruby/3.0.0/gems/railties-5.1.7/lib/rails/initializable.rb:59:in `block in run_initializers'
/opt/app-root/src/bundle/ruby/3.0.0/gems/railties-5.1.7/lib/rails/initializable.rb:58:in `run_initializers'
/opt/app-root/src/bundle/ruby/3.0.0/gems/railties-5.1.7/lib/rails/application.rb:353:in `initialize!'
/opt/app-root/src/config/environment.rb:5:in `<top (required)>'
/opt/app-root/src/bundle/ruby/3.0.0/gems/railties-5.1.7/lib/rails/application.rb:329:in `require'
/opt/app-root/src/bundle/ruby/3.0.0/gems/railties-5.1.7/lib/rails/application.rb:329:in `require_environment!'
/opt/app-root/src/bundle/ruby/3.0.0/gems/railties-5.1.7/lib/rails/application.rb:445:in `block in run_tasks_blocks'
/opt/app-root/src/bundle/ruby/3.0.0/gems/sprockets-rails-3.2.2/lib/sprockets/rails/task.rb:61:in `block (2 levels) in define'
/opt/app-root/src/bundle/ruby/3.0.0/gems/rake-13.0.3/exe/rake:27:in `<top (required)>'
Tasks: TOP => environment
(See full trace by running task with --trace)
Error: error building at STEP "RUN /usr/libexec/s2i/assemble": error while running runtime: exit status 1
+ echo 'ERROR: The image cannot be built from /home/jprokop/projects/s2i/s2i-ruby-container/examples/from-dockerfile/Dockerfile.s2i and application https://github.com/jackorp/rails-ex.git.'
ERROR: The image cannot be built from /home/jprokop/projects/s2i/s2i-ruby-container/examples/from-dockerfile/Dockerfile.s2i and application https://github.com/jackorp/rails-ex.git.
+ echo 'Terminating the Dockerfile build.'
Terminating the Dockerfile build.
+ return 1
+ check_result 1
+ local result=1
+ [[ 1 != \0 ]]
+ TESTCASE_RESULT=1
+ return 1
+ handle_test_case_result 'test_from_dockerfile for %s' Dockerfile.s2i
+ local output_format
+ output_format='%s %s test_from_dockerfile for %s\n'
+ shift
+ local test_msg
+ '[' 1 -eq 0 ']'
+ test_msg='[FAILED]'
+ TESTSUITE_RESULT=1
+ printf -v test_short_summary '%s %s test_from_dockerfile for %s\n' ' [FAILED] test_from_dockerfile for Dockerfile
' '[FAILED]' Dockerfile.s2i
+ for server in ${WEB_SERVERS[@]}
++ mktemp -u --suffix=.cid
+ cid_file=/tmp/tmp.JfOzJf6DiF.cid
+ s2i_args=--pull-policy=never
+ TESTCASE_RESULT=0
+ run_s2i_build db
++ ct_build_s2i_npm_variables
++ npm_variables=
++ '[' -n '' ']'
++ echo ''
+ ct_s2i_build_as_df file:///home/jprokop/projects/s2i/s2i-ruby-container/3.0/test/db-test-app f34/ruby:0 f34/ruby:0-testapp --pull-policy=never
+ local app_path=file:///home/jprokop/projects/s2i/s2i-ruby-container/3.0/test/db-test-app
+ shift
+ local src_image=f34/ruby:0
+ shift
+ local dst_image=f34/ruby:0-testapp
+ shift
+ local s2i_args=--pull-policy=never
+ local local_app=upload/src/
+ local local_scripts=upload/scripts/
+ local user_id=
+ local df_name=
+ local tmpdir=
+ local incremental=false
+ local mount_options=
+ set -e
++ mktemp -d
+ tmpdir=/tmp/tmp.E0YdPchyJv
++ mktemp -p /tmp/tmp.E0YdPchyJv Dockerfile.XXXX
+ df_name=/tmp/tmp.E0YdPchyJv/Dockerfile.dHbW
+ cd /tmp/tmp.E0YdPchyJv
+ docker images f34/ruby:0
++ docker inspect -f '{{.Config.User}}' f34/ruby:0
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
+ user=1001
+ user=1001
+ '[' 1001 -eq 1001 ']'
+ user_id=1001
+ echo --pull-policy=never
+ grep -q '\-\-incremental'
+ false
+ mkdir -p upload/src/
+ cp -r /home/jprokop/projects/s2i/s2i-ruby-container/3.0/test/db-test-app/. upload/src/
+ '[' -d upload/src//.s2i/bin/ ']'
+ mv upload/src//.s2i/bin upload/scripts/
+ cat
+ '[' -d upload/scripts/ ']'
+ echo 'COPY upload/scripts/ /tmp/scripts'
+ echo 'RUN chown -R 1001:0 /tmp/scripts'
+ echo 'RUN chown -R 1001:0 /tmp/src'
+ '[' -e upload/src//.s2i/environment ']'
+ read -r line
+ sed '/^\s*#.*$/d' upload/src//.s2i/environment
+ echo 'ENV RACK_ENV=production'
+ read -r line
+ echo --pull-policy=never
+ grep -o -e '\(-e\|--env\)[[:space:]=]\S*=\S*'
+ sed -e 's/-e /ENV /' -e 's/--env[ =]/ENV /'
++ full_ca_file_path
++ echo /etc/pki/ca-trust/source/anchors/RH-IT-Root-CA.crt
+ '[' -f /etc/pki/ca-trust/source/anchors/RH-IT-Root-CA.crt ']'
+ false
+ echo 'USER 1001'
+ '[' -x upload/scripts//assemble ']'
+ echo 'RUN /usr/libexec/s2i/assemble'
+ '[' -x upload/scripts//run ']'
+ echo 'CMD /usr/libexec/s2i/run'
++ echo --pull-policy=never
++ grep -o -e '\(-v\)[[:space:]]\.*\S*'
++ true
+ mount_options=
+ docker build -f /tmp/tmp.E0YdPchyJv/Dockerfile.dHbW --no-cache=true -t f34/ruby:0-testapp .
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
STEP 1: FROM f34/ruby:0
STEP 2: LABEL "io.openshift.s2i.build.image"="f34/ruby:0" "io.openshift.s2i.build.source-location"="file:///home/jprokop/projects/s2i/s2i-ruby-container/3.0/test/db-test-app"
--> 930404003cd
STEP 3: USER root
--> 3bfad64246d
STEP 4: COPY upload/src/ /tmp/src
--> 9f1141106a0
STEP 5: COPY upload/scripts/ /tmp/scripts
--> c597ed23064
STEP 6: RUN chown -R 1001:0 /tmp/scripts
--> 514462473b0
STEP 7: RUN chown -R 1001:0 /tmp/src
--> d6cf3bbaf8e
STEP 8: ENV RACK_ENV=production
--> 0829a920254
STEP 9: USER 1001
--> 4105bd6f77c
STEP 10: RUN /usr/libexec/s2i/assemble
---> Installing application source ...
---> Building your Ruby application from source ...
---> Running 'bundle install --retry 2 --deployment --without development:test' ...
[DEPRECATED] The `--deployment` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local deployment 'true'`, and stop using this flag
[DEPRECATED] The `--path` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local path './bundle'`, and stop using this flag
[DEPRECATED] The `--without` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local without 'development:test'`, and stop using this flag
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
Fetching gem metadata from https://rubygems.org/.system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
.system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
.system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
.system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
.system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
.system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
.system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
.system temporary path is not writable: /tmp
/tmp is not writable: /tmp
Fetching rake 13.0.3
Installing rake 13.0.3
Using bundler 2.2.3
Fetching concurrent-ruby 1.1.8
Fetching ruby2_keywords 0.0.4
Fetching tilt 2.0.10
Fetching rack 2.2.3
Fetching minitest 5.14.4
Fetching zeitwerk 2.4.2
Fetching mysql2 0.5.3
Installing ruby2_keywords 0.0.4
Installing tilt 2.0.10
Installing zeitwerk 2.4.2
Installing minitest 5.14.4
Installing mysql2 0.5.3 with native extensions
Installing rack 2.2.3
Fetching mustermann 1.1.1
Installing concurrent-ruby 1.1.8
Installing mustermann 1.1.1
Fetching rack-protection 2.1.0
Installing rack-protection 2.1.0
Fetching sinatra 2.1.0
Fetching i18n 1.8.9
Fetching tzinfo 2.0.4
Installing i18n 1.8.9
Installing tzinfo 2.0.4
Installing sinatra 2.1.0
Fetching activesupport 6.1.3
Installing activesupport 6.1.3
Fetching activemodel 6.1.3
Installing activemodel 6.1.3
Fetching activerecord 6.1.3
Installing activerecord 6.1.3
Fetching sinatra-activerecord 2.0.22
Installing sinatra-activerecord 2.0.22
Bundle complete! 6 Gemfile dependencies, 18 gems now installed.
Gems in the groups development and test were not installed.
Bundled gems are installed into `./bundle`
---> Cleaning up unused ruby gems ...
Running `bundle clean --verbose` with bundler 2.2.3
Frozen, using resolution from the lockfile
--> a9f25b246dc
STEP 11: CMD /usr/libexec/s2i/run
STEP 12: COMMIT f34/ruby:0-testapp
--> 9e70adc987c
9e70adc987c224716aeb98922178a719aa84155a2b9ff2cacbdb940265ae908b
+ check_result 0
+ local result=0
+ [[ 0 != \0 ]]
+ return 0
+ handle_test_case_result 'build of '\''%s'\'' app' db
+ local output_format
+ output_format='%s %s build of '\''%s'\'' app\n'
+ shift
+ local test_msg
+ '[' 0 -eq 0 ']'
+ test_msg='[PASSED]'
+ printf -v test_short_summary '%s %s build of '\''%s'\'' app\n' ' [FAILED] test_from_dockerfile for Dockerfile
[FAILED] test_from_dockerfile for Dockerfile.s2i
' '[PASSED]' db
+ TEST_SET='test_docker_run_usage
test_application
test_connection
test_scl_variables_in_dockerfile
test_scl_usage
test_npm_functionality
'
+ run_all_tests db
+ local APP_NAME=db
+ for test_case in $TEST_SET
+ info 'Running test test_docker_run_usage ... '
+ echo -e '\n\e[1m[INFO] Running test test_docker_run_usage ... ...\e[0m\n'
[INFO] Running test test_docker_run_usage ... ...
+ TESTCASE_RESULT=0
+ test_docker_run_usage
+ info 'Testing '\''docker run'\'' usage'
+ echo -e '\n\e[1m[INFO] Testing '\''docker run'\'' usage...\e[0m\n'
[INFO] Testing 'docker run' usage...
+ docker run f34/ruby:0
+ check_result 0
+ local result=0
+ [[ 0 != \0 ]]
+ return 0
+ check_result 0
+ local result=0
+ [[ 0 != \0 ]]
+ return 0
+ local test_msg
+ handle_test_case_result 'for '\''%s'\'' %s' db test_docker_run_usage
+ local output_format
+ output_format='%s %s for '\''%s'\'' %s\n'
+ shift
+ local test_msg
+ '[' 0 -eq 0 ']'
+ test_msg='[PASSED]'
+ printf -v test_short_summary '%s %s for '\''%s'\'' %s\n' ' [FAILED] test_from_dockerfile for Dockerfile
[FAILED] test_from_dockerfile for Dockerfile.s2i
[PASSED] build of '\''db'\'' app
' '[PASSED]' db test_docker_run_usage
+ '[' -n '' ']'
+ for test_case in $TEST_SET
+ info 'Running test test_application ... '
+ echo -e '\n\e[1m[INFO] Running test test_application ... ...\e[0m\n'
[INFO] Running test test_application ... ...
+ TESTCASE_RESULT=0
+ test_application
+ wait_for_cid
+ local max_attempts=10
+ run_test_application
+ local sleep_time=1
+ local attempt=1
+ local result=1
+ info 'Waiting for application container to start'
+ echo -e '\n\e[1m[INFO] Waiting for application container to start...\e[0m\n'
[INFO] Waiting for application container to start...
+ '[' 1 -le 10 ']'
+ '[' -f /tmp/tmp.JfOzJf6DiF.cid ']'
+ docker run --user=100001 --rm --cidfile=/tmp/tmp.JfOzJf6DiF.cid f34/ruby:0-testapp
+ attempt=2
+ sleep 1
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
You might consider adding 'puma' into your Gemfile.
+ '[' 2 -le 10 ']'
+ '[' -f /tmp/tmp.JfOzJf6DiF.cid ']'
+ '[' -s /tmp/tmp.JfOzJf6DiF.cid ']'
+ break
+ '[' 2 -gt 10 ']'
+ check_result 0
+ local result=0
+ [[ 0 != \0 ]]
+ return 0
+ check_result 0
+ local result=0
+ [[ 0 != \0 ]]
+ return 0
+ local test_msg
+ handle_test_case_result 'for '\''%s'\'' %s' db test_application
+ local output_format
+ output_format='%s %s for '\''%s'\'' %s\n'
+ shift
+ local test_msg
+ '[' 0 -eq 0 ']'
+ test_msg='[PASSED]'
+ printf -v test_short_summary '%s %s for '\''%s'\'' %s\n' ' [FAILED] test_from_dockerfile for Dockerfile
[FAILED] test_from_dockerfile for Dockerfile.s2i
[PASSED] build of '\''db'\'' app
[PASSED] for '\''db'\'' test_docker_run_usage
' '[PASSED]' db test_application
+ '[' -n '' ']'
+ for test_case in $TEST_SET
+ info 'Running test test_connection ... '
+ echo -e '\n\e[1m[INFO] Running test test_connection ... ...\e[0m\n'
[INFO] Running test test_connection ... ...
+ TESTCASE_RESULT=0
+ test_connection
++ container_ip
+++ cat /tmp/tmp.JfOzJf6DiF.cid
++ docker inspect '--format={{ .NetworkSettings.IPAddress }}' fd65a7c9a4fa0d6f38b5aee976beaebb1307de83dcc141c173eab94792daf268
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
+ info 'Testing the HTTP connection (http://10.88.0.20:8080)'
+ echo -e '\n\e[1m[INFO] Testing the HTTP connection (http://10.88.0.20:8080)...\e[0m\n'
[INFO] Testing the HTTP connection (http://10.88.0.20:8080)...
+ local max_attempts=10
+ local sleep_time=1
+ local attempt=1
+ local result=1
+ '[' 1 -le 10 ']'
+++ container_ip
++++ cat /tmp/tmp.JfOzJf6DiF.cid
+++ docker inspect '--format={{ .NetworkSettings.IPAddress }}' fd65a7c9a4fa0d6f38b5aee976beaebb1307de83dcc141c173eab94792daf268
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
++ curl -s -w '%{http_code}' -o /dev/null http://10.88.0.20:8080/
+ response_code=000
+ status=7
+ '[' 7 -eq 0 ']'
+ attempt=2
+ sleep 1
Parsing options from the first comment line is deprecated!
/opt/app-root/src/bundle/ruby/3.0.0/gems/rack-2.2.3/lib/rack/server.rb:433:in `initialize': Permission denied @ rb_sysopen - /tmp/rack.pid (Errno::EACCES)
from /opt/app-root/src/bundle/ruby/3.0.0/gems/rack-2.2.3/lib/rack/server.rb:433:in `open'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/rack-2.2.3/lib/rack/server.rb:433:in `write_pid'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/rack-2.2.3/lib/rack/server.rb:317:in `start'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/rack-2.2.3/lib/rack/server.rb:168:in `start'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/rack-2.2.3/bin/rackup:5:in `<top (required)>'
from /opt/app-root/src/bundle/ruby/3.0.0/bin/rackup:23:in `load'
from /opt/app-root/src/bundle/ruby/3.0.0/bin/rackup:23:in `<main>'
Run app...
+ '[' 2 -le 10 ']'
+++ container_ip
++++ cat /tmp/tmp.JfOzJf6DiF.cid
+++ docker inspect '--format={{ .NetworkSettings.IPAddress }}' fd65a7c9a4fa0d6f38b5aee976beaebb1307de83dcc141c173eab94792daf268
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Error: error inspecting object: no such object: "fd65a7c9a4fa0d6f38b5aee976beaebb1307de83dcc141c173eab94792daf268"
++ curl -s -w '%{http_code}' -o /dev/null http://:8080/
+ response_code=000
+ status=3
+ '[' 3 -eq 0 ']'
+ attempt=3
+ sleep 1
+ '[' 3 -le 10 ']'
+++ container_ip
++++ cat /tmp/tmp.JfOzJf6DiF.cid
+++ docker inspect '--format={{ .NetworkSettings.IPAddress }}' fd65a7c9a4fa0d6f38b5aee976beaebb1307de83dcc141c173eab94792daf268
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Error: error inspecting object: no such object: "fd65a7c9a4fa0d6f38b5aee976beaebb1307de83dcc141c173eab94792daf268"
++ curl -s -w '%{http_code}' -o /dev/null http://:8080/
+ response_code=000
+ status=3
+ '[' 3 -eq 0 ']'
+ attempt=4
+ sleep 1
+ '[' 4 -le 10 ']'
+++ container_ip
++++ cat /tmp/tmp.JfOzJf6DiF.cid
+++ docker inspect '--format={{ .NetworkSettings.IPAddress }}' fd65a7c9a4fa0d6f38b5aee976beaebb1307de83dcc141c173eab94792daf268
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Error: error inspecting object: no such object: "fd65a7c9a4fa0d6f38b5aee976beaebb1307de83dcc141c173eab94792daf268"
++ curl -s -w '%{http_code}' -o /dev/null http://:8080/
+ response_code=000
+ status=3
+ '[' 3 -eq 0 ']'
+ attempt=5
+ sleep 1
+ '[' 5 -le 10 ']'
+++ container_ip
++++ cat /tmp/tmp.JfOzJf6DiF.cid
+++ docker inspect '--format={{ .NetworkSettings.IPAddress }}' fd65a7c9a4fa0d6f38b5aee976beaebb1307de83dcc141c173eab94792daf268
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Error: error inspecting object: no such object: "fd65a7c9a4fa0d6f38b5aee976beaebb1307de83dcc141c173eab94792daf268"
++ curl -s -w '%{http_code}' -o /dev/null http://:8080/
+ response_code=000
+ status=3
+ '[' 3 -eq 0 ']'
+ attempt=6
+ sleep 1
+ '[' 6 -le 10 ']'
+++ container_ip
++++ cat /tmp/tmp.JfOzJf6DiF.cid
+++ docker inspect '--format={{ .NetworkSettings.IPAddress }}' fd65a7c9a4fa0d6f38b5aee976beaebb1307de83dcc141c173eab94792daf268
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Error: error inspecting object: no such object: "fd65a7c9a4fa0d6f38b5aee976beaebb1307de83dcc141c173eab94792daf268"
++ curl -s -w '%{http_code}' -o /dev/null http://:8080/
+ response_code=000
+ status=3
+ '[' 3 -eq 0 ']'
+ attempt=7
+ sleep 1
+ '[' 7 -le 10 ']'
+++ container_ip
++++ cat /tmp/tmp.JfOzJf6DiF.cid
+++ docker inspect '--format={{ .NetworkSettings.IPAddress }}' fd65a7c9a4fa0d6f38b5aee976beaebb1307de83dcc141c173eab94792daf268
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Error: error inspecting object: no such object: "fd65a7c9a4fa0d6f38b5aee976beaebb1307de83dcc141c173eab94792daf268"
++ curl -s -w '%{http_code}' -o /dev/null http://:8080/
+ response_code=000
+ status=3
+ '[' 3 -eq 0 ']'
+ attempt=8
+ sleep 1
+ '[' 8 -le 10 ']'
+++ container_ip
++++ cat /tmp/tmp.JfOzJf6DiF.cid
+++ docker inspect '--format={{ .NetworkSettings.IPAddress }}' fd65a7c9a4fa0d6f38b5aee976beaebb1307de83dcc141c173eab94792daf268
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Error: error inspecting object: no such object: "fd65a7c9a4fa0d6f38b5aee976beaebb1307de83dcc141c173eab94792daf268"
++ curl -s -w '%{http_code}' -o /dev/null http://:8080/
+ response_code=000
+ status=3
+ '[' 3 -eq 0 ']'
+ attempt=9
+ sleep 1
+ '[' 9 -le 10 ']'
+++ container_ip
++++ cat /tmp/tmp.JfOzJf6DiF.cid
+++ docker inspect '--format={{ .NetworkSettings.IPAddress }}' fd65a7c9a4fa0d6f38b5aee976beaebb1307de83dcc141c173eab94792daf268
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Error: error inspecting object: no such object: "fd65a7c9a4fa0d6f38b5aee976beaebb1307de83dcc141c173eab94792daf268"
++ curl -s -w '%{http_code}' -o /dev/null http://:8080/
+ response_code=000
+ status=3
+ '[' 3 -eq 0 ']'
+ attempt=10
+ sleep 1
+ '[' 10 -le 10 ']'
+++ container_ip
++++ cat /tmp/tmp.JfOzJf6DiF.cid
+++ docker inspect '--format={{ .NetworkSettings.IPAddress }}' fd65a7c9a4fa0d6f38b5aee976beaebb1307de83dcc141c173eab94792daf268
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Error: error inspecting object: no such object: "fd65a7c9a4fa0d6f38b5aee976beaebb1307de83dcc141c173eab94792daf268"
++ curl -s -w '%{http_code}' -o /dev/null http://:8080/
+ response_code=000
+ status=3
+ '[' 3 -eq 0 ']'
+ attempt=11
+ sleep 1
+ '[' 11 -le 10 ']'
+ return 1
+ check_result 1
+ local result=1
+ [[ 1 != \0 ]]
+ TESTCASE_RESULT=1
+ return 1
+ local test_msg
+ handle_test_case_result 'for '\''%s'\'' %s' db test_connection
+ local output_format
+ output_format='%s %s for '\''%s'\'' %s\n'
+ shift
+ local test_msg
+ '[' 1 -eq 0 ']'
+ test_msg='[FAILED]'
+ TESTSUITE_RESULT=1
+ printf -v test_short_summary '%s %s for '\''%s'\'' %s\n' ' [FAILED] test_from_dockerfile for Dockerfile
[FAILED] test_from_dockerfile for Dockerfile.s2i
[PASSED] build of '\''db'\'' app
[PASSED] for '\''db'\'' test_docker_run_usage
[PASSED] for '\''db'\'' test_application
' '[FAILED]' db test_connection
+ '[' -n '' ']'
+ for test_case in $TEST_SET
+ info 'Running test test_scl_variables_in_dockerfile ... '
+ echo -e '\n\e[1m[INFO] Running test test_scl_variables_in_dockerfile ... ...\e[0m\n'
[INFO] Running test test_scl_variables_in_dockerfile ... ...
+ TESTCASE_RESULT=0
+ test_scl_variables_in_dockerfile
+ '[' fedora == rhel7 ']'
+ '[' fedora == centos7 ']'
+ check_result 0
+ local result=0
+ [[ 0 != \0 ]]
+ return 0
+ local test_msg
+ handle_test_case_result 'for '\''%s'\'' %s' db test_scl_variables_in_dockerfile
+ local output_format
+ output_format='%s %s for '\''%s'\'' %s\n'
+ shift
+ local test_msg
+ '[' 0 -eq 0 ']'
+ test_msg='[PASSED]'
+ printf -v test_short_summary '%s %s for '\''%s'\'' %s\n' ' [FAILED] test_from_dockerfile for Dockerfile
[FAILED] test_from_dockerfile for Dockerfile.s2i
[PASSED] build of '\''db'\'' app
[PASSED] for '\''db'\'' test_docker_run_usage
[PASSED] for '\''db'\'' test_application
[FAILED] for '\''db'\'' test_connection
' '[PASSED]' db test_scl_variables_in_dockerfile
+ '[' -n '' ']'
+ for test_case in $TEST_SET
+ info 'Running test test_scl_usage ... '
+ echo -e '\n\e[1m[INFO] Running test test_scl_usage ... ...\e[0m\n'
[INFO] Running test test_scl_usage ... ...
+ TESTCASE_RESULT=0
+ test_scl_usage
+ scl_usage 'ruby --version' 'ruby .'
+ local 'run_cmd=ruby --version'
+ local 'expected=ruby .'
+ info 'Testing the image SCL enable'
+ echo -e '\n\e[1m[INFO] Testing the image SCL enable...\e[0m\n'
[INFO] Testing the image SCL enable...
++ docker run --rm f34/ruby:0 /bin/bash -c 'ruby --version'
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
+ out='ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux]'
+ echo 'ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux]'
+ grep -q 'ruby .'
+++ cat /tmp/tmp.JfOzJf6DiF.cid
++ docker exec fd65a7c9a4fa0d6f38b5aee976beaebb1307de83dcc141c173eab94792daf268 /bin/bash -c 'ruby --version'
+ out='Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Error: no container with name or ID fd65a7c9a4fa0d6f38b5aee976beaebb1307de83dcc141c173eab94792daf268 found: no such container'
+ echo 'Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Error: no container with name or ID fd65a7c9a4fa0d6f38b5aee976beaebb1307de83dcc141c173eab94792daf268 found: no such container'
+ grep -q 'ruby .'
+ echo 'ERROR[exec /bin/bash -c ruby' '--version] Expected '\''ruby .'\'', got '\''Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Error: no container with name or ID fd65a7c9a4fa0d6f38b5aee976beaebb1307de83dcc141c173eab94792daf268 found: no such container'\'''
ERROR[exec /bin/bash -c ruby --version] Expected 'ruby .', got 'Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Error: no container with name or ID fd65a7c9a4fa0d6f38b5aee976beaebb1307de83dcc141c173eab94792daf268 found: no such container'
+ return 1
+ check_result 1
+ local result=1
+ [[ 1 != \0 ]]
+ TESTCASE_RESULT=1
+ return 1
+ check_result 1
+ local result=1
+ [[ 1 != \0 ]]
+ TESTCASE_RESULT=1
+ return 1
+ local test_msg
+ handle_test_case_result 'for '\''%s'\'' %s' db test_scl_usage
+ local output_format
+ output_format='%s %s for '\''%s'\'' %s\n'
+ shift
+ local test_msg
+ '[' 1 -eq 0 ']'
+ test_msg='[FAILED]'
+ TESTSUITE_RESULT=1
+ printf -v test_short_summary '%s %s for '\''%s'\'' %s\n' ' [FAILED] test_from_dockerfile for Dockerfile
[FAILED] test_from_dockerfile for Dockerfile.s2i
[PASSED] build of '\''db'\'' app
[PASSED] for '\''db'\'' test_docker_run_usage
[PASSED] for '\''db'\'' test_application
[FAILED] for '\''db'\'' test_connection
[PASSED] for '\''db'\'' test_scl_variables_in_dockerfile
' '[FAILED]' db test_scl_usage
+ '[' -n '' ']'
+ for test_case in $TEST_SET
+ info 'Running test test_npm_functionality ... '
+ echo -e '\n\e[1m[INFO] Running test test_npm_functionality ... ...\e[0m\n'
[INFO] Running test test_npm_functionality ... ...
+ TESTCASE_RESULT=0
+ test_npm_functionality
+ info 'Testing npm availibility'
+ echo -e '\n\e[1m[INFO] Testing npm availibility...\e[0m\n'
[INFO] Testing npm availibility...
+ ct_npm_works
+ local tmpdir
++ mktemp -d
+ tmpdir=/tmp/tmp.dZaBSea1TO
+ : ' Testing npm in the container image'
+ local cid_file=/tmp/tmp.dZaBSea1TO/cid
+ docker run --rm f34/ruby:0 /bin/bash -c 'npm --version'
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
++ ct_mount_ca_file
++ local mount_parameter=
++ '[' -n '' ']'
++ echo ''
+ docker run -d --rm --cidfile=/tmp/tmp.dZaBSea1TO/cid f34/ruby:0-testapp
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
30e1a5e30f262a0cef974ede6e030b3440510a300f24fa6a2b80cfc3f86b5f09
+ ct_wait_for_cid /tmp/tmp.dZaBSea1TO/cid
+ local cid_file=/tmp/tmp.dZaBSea1TO/cid
+ local max_attempts=10
+ local sleep_time=1
+ local attempt=1
+ local result=1
+ '[' 1 -le 10 ']'
+ '[' -f /tmp/tmp.dZaBSea1TO/cid ']'
+ '[' -s /tmp/tmp.dZaBSea1TO/cid ']'
+ return 0
++ cat /tmp/tmp.dZaBSea1TO/cid
+ docker exec 30e1a5e30f262a0cef974ede6e030b3440510a300f24fa6a2b80cfc3f86b5f09 /bin/bash -c 'npm --verbose install jquery && test -f node_modules/jquery/src/jquery.js'
+ echo 'ERROR: npm could not install jquery inside the image f34/ruby:0.'
ERROR: npm could not install jquery inside the image f34/ruby:0.
+ return 1
+ check_result 1
+ local result=1
+ [[ 1 != \0 ]]
+ TESTCASE_RESULT=1
+ return 1
+ check_result 1
+ local result=1
+ [[ 1 != \0 ]]
+ TESTCASE_RESULT=1
+ return 1
+ local test_msg
+ handle_test_case_result 'for '\''%s'\'' %s' db test_npm_functionality
+ local output_format
+ output_format='%s %s for '\''%s'\'' %s\n'
+ shift
+ local test_msg
+ '[' 1 -eq 0 ']'
+ test_msg='[FAILED]'
+ TESTSUITE_RESULT=1
+ printf -v test_short_summary '%s %s for '\''%s'\'' %s\n' ' [FAILED] test_from_dockerfile for Dockerfile
[FAILED] test_from_dockerfile for Dockerfile.s2i
[PASSED] build of '\''db'\'' app
[PASSED] for '\''db'\'' test_docker_run_usage
[PASSED] for '\''db'\'' test_application
[FAILED] for '\''db'\'' test_connection
[PASSED] for '\''db'\'' test_scl_variables_in_dockerfile
[FAILED] for '\''db'\'' test_scl_usage
' '[FAILED]' db test_npm_functionality
+ '[' -n '' ']'
+ cleanup db
+ local server=db
+ info 'Cleaning up the test application image db'
+ echo -e '\n\e[1m[INFO] Cleaning up the test application image db...\e[0m\n'
[INFO] Cleaning up the test application image db...
+ '[' -f /tmp/tmp.JfOzJf6DiF.cid ']'
+ container_exists
++ cat /tmp/tmp.JfOzJf6DiF.cid
+ image_exists fd65a7c9a4fa0d6f38b5aee976beaebb1307de83dcc141c173eab94792daf268
+ docker inspect fd65a7c9a4fa0d6f38b5aee976beaebb1307de83dcc141c173eab94792daf268
+ image_exists f34/ruby:0-testapp
+ docker inspect f34/ruby:0-testapp
+ docker rmi -f f34/ruby:0-testapp
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
a9f25b246dcf0f539fe8f491a14b7709eed87ecc6d86be596ef33b725b1cb34c
4105bd6f77c8d7f6647d933119cb4a5f265a9c6e23cad5b00df9dc9c8a1e2b86
0829a9202541ccfbc89cdbd18ada8904b2911e66eaee41daf92b2d2618c58fef
d6cf3bbaf8eaacd6f563ba80158e74ed581ccd5390955ad56a942be8fc900864
514462473b0f49a03199192a97ccc167d795b1f49cbc7707afd1435f504ba895
c597ed230645dfe6942d6c13edf440fdc48f531878e37fd3cd34111395dd9613
9f1141106a0ec18fc72a4371de932514b64039df8f394433924d2f9e5cf9c186
3bfad64246dfcd4aab6478864e14c7e2f2d5de6152452d505a6a154bfd611e53
930404003cd8d6ba705594ed20c46717d4814f69049c42d5ceaf4e0fab02e60c
Untagged: localhost/f34/ruby:0-testapp
Deleted: 9e70adc987c224716aeb98922178a719aa84155a2b9ff2cacbdb940265ae908b
+ '[' '!' -z db ']'
+ rm -rf /home/jprokop/projects/s2i/s2i-ruby-container/3.0/test/db-test-app/.git
+ [[ db == \d\b ]]
+ rm -rf /home/jprokop/projects/s2i/s2i-ruby-container/3.0/test/db-test-app
+ cleanup db
+ local server=db
+ info 'Cleaning up the test application image db'
+ echo -e '\n\e[1m[INFO] Cleaning up the test application image db...\e[0m\n'
[INFO] Cleaning up the test application image db...
+ '[' -f /tmp/tmp.JfOzJf6DiF.cid ']'
+ container_exists
++ cat /tmp/tmp.JfOzJf6DiF.cid
+ image_exists fd65a7c9a4fa0d6f38b5aee976beaebb1307de83dcc141c173eab94792daf268
+ docker inspect fd65a7c9a4fa0d6f38b5aee976beaebb1307de83dcc141c173eab94792daf268
+ image_exists f34/ruby:0-testapp
+ docker inspect f34/ruby:0-testapp
+ '[' '!' -z db ']'
+ rm -rf /home/jprokop/projects/s2i/s2i-ruby-container/3.0/test/db-test-app/.git
+ [[ db == \d\b ]]
+ rm -rf /home/jprokop/projects/s2i/s2i-ruby-container/3.0/test/db-test-app
+ for server in ${WEB_SERVERS[@]}
++ mktemp -u --suffix=.cid
+ cid_file=/tmp/tmp.rMojaZIzAg.cid
+ s2i_args=--pull-policy=never
+ TESTCASE_RESULT=0
+ run_s2i_build puma
++ ct_build_s2i_npm_variables
++ npm_variables=
++ '[' -n '' ']'
++ echo ''
+ ct_s2i_build_as_df file:///home/jprokop/projects/s2i/s2i-ruby-container/3.0/test/puma-test-app f34/ruby:0 f34/ruby:0-testapp --pull-policy=never
+ local app_path=file:///home/jprokop/projects/s2i/s2i-ruby-container/3.0/test/puma-test-app
+ shift
+ local src_image=f34/ruby:0
+ shift
+ local dst_image=f34/ruby:0-testapp
+ shift
+ local s2i_args=--pull-policy=never
+ local local_app=upload/src/
+ local local_scripts=upload/scripts/
+ local user_id=
+ local df_name=
+ local tmpdir=
+ local incremental=false
+ local mount_options=
+ set -e
++ mktemp -d
+ tmpdir=/tmp/tmp.AZRbeWpIfb
++ mktemp -p /tmp/tmp.AZRbeWpIfb Dockerfile.XXXX
+ df_name=/tmp/tmp.AZRbeWpIfb/Dockerfile.haoE
+ cd /tmp/tmp.AZRbeWpIfb
+ docker images f34/ruby:0
++ docker inspect -f '{{.Config.User}}' f34/ruby:0
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
+ user=1001
+ user=1001
+ '[' 1001 -eq 1001 ']'
+ user_id=1001
+ echo --pull-policy=never
+ grep -q '\-\-incremental'
+ false
+ mkdir -p upload/src/
+ cp -r /home/jprokop/projects/s2i/s2i-ruby-container/3.0/test/puma-test-app/. upload/src/
+ '[' -d upload/src//.s2i/bin/ ']'
+ cat
+ '[' -d upload/scripts/ ']'
+ echo 'RUN chown -R 1001:0 /tmp/src'
+ '[' -e upload/src//.s2i/environment ']'
+ echo --pull-policy=never
+ grep -o -e '\(-e\|--env\)[[:space:]=]\S*=\S*'
+ sed -e 's/-e /ENV /' -e 's/--env[ =]/ENV /'
++ full_ca_file_path
++ echo /etc/pki/ca-trust/source/anchors/RH-IT-Root-CA.crt
+ '[' -f /etc/pki/ca-trust/source/anchors/RH-IT-Root-CA.crt ']'
+ false
+ echo 'USER 1001'
+ '[' -x upload/scripts//assemble ']'
+ echo 'RUN /usr/libexec/s2i/assemble'
+ '[' -x upload/scripts//run ']'
+ echo 'CMD /usr/libexec/s2i/run'
++ echo --pull-policy=never
++ grep -o -e '\(-v\)[[:space:]]\.*\S*'
++ true
+ mount_options=
+ docker build -f /tmp/tmp.AZRbeWpIfb/Dockerfile.haoE --no-cache=true -t f34/ruby:0-testapp .
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
STEP 1: FROM f34/ruby:0
STEP 2: LABEL "io.openshift.s2i.build.image"="f34/ruby:0" "io.openshift.s2i.build.source-location"="file:///home/jprokop/projects/s2i/s2i-ruby-container/3.0/test/puma-test-app"
--> e0a23d3793a
STEP 3: USER root
--> 1707e96a08d
STEP 4: COPY upload/src/ /tmp/src
--> dd95e9c70a2
STEP 5: RUN chown -R 1001:0 /tmp/src
--> bb4a70dfc48
STEP 6: USER 1001
--> d62532b2989
STEP 7: RUN /usr/libexec/s2i/assemble
---> Installing application source ...
---> Building your Ruby application from source ...
---> Running 'bundle install --retry 2 --deployment --without development:test' ...
[DEPRECATED] The `--deployment` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local deployment 'true'`, and stop using this flag
[DEPRECATED] The `--path` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local path './bundle'`, and stop using this flag
[DEPRECATED] The `--without` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local without 'development:test'`, and stop using this flag
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
Fetching gem metadata from https://rubygems.org/.system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
.system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
.system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
system temporary path is not writable: /tmp
/tmp is not writable: /tmp
/tmp is not writable: /tmp
.system temporary path is not writable: /tmp
/tmp is not writable: /tmp
Using bundler 2.2.3
Fetching puma 3.11.2
Fetching mustermann 1.0.1
Fetching tilt 2.0.8
Fetching rack 2.0.4
Installing mustermann 1.0.1
Installing tilt 2.0.8
Installing puma 3.11.2 with native extensions
Installing rack 2.0.4
Fetching rack-protection 2.0.0
Installing rack-protection 2.0.0
Fetching sinatra 2.0.0
Installing sinatra 2.0.0
Bundle complete! 2 Gemfile dependencies, 7 gems now installed.
Gems in the groups development and test were not installed.
Bundled gems are installed into `./bundle`
---> Cleaning up unused ruby gems ...
Running `bundle clean --verbose` with bundler 2.2.3
Frozen, using resolution from the lockfile
--> 48c1923830c
STEP 8: CMD /usr/libexec/s2i/run
STEP 9: COMMIT f34/ruby:0-testapp
--> 6b08c85816f
6b08c85816f8a1fc6daefdc2efe76109263231ddfe3934e6b4da5035dde7f12d
+ check_result 0
+ local result=0
+ [[ 0 != \0 ]]
+ return 0
+ handle_test_case_result 'build of '\''%s'\'' app' puma
+ local output_format
+ output_format='%s %s build of '\''%s'\'' app\n'
+ shift
+ local test_msg
+ '[' 0 -eq 0 ']'
+ test_msg='[PASSED]'
+ printf -v test_short_summary '%s %s build of '\''%s'\'' app\n' ' [FAILED] test_from_dockerfile for Dockerfile
[FAILED] test_from_dockerfile for Dockerfile.s2i
[PASSED] build of '\''db'\'' app
[PASSED] for '\''db'\'' test_docker_run_usage
[PASSED] for '\''db'\'' test_application
[FAILED] for '\''db'\'' test_connection
[PASSED] for '\''db'\'' test_scl_variables_in_dockerfile
[FAILED] for '\''db'\'' test_scl_usage
[FAILED] for '\''db'\'' test_npm_functionality
' '[PASSED]' puma
+ TEST_SET='test_docker_run_usage
test_application
test_connection
test_scl_variables_in_dockerfile
test_scl_usage
test_npm_functionality
'
+ run_all_tests puma
+ local APP_NAME=puma
+ for test_case in $TEST_SET
+ info 'Running test test_docker_run_usage ... '
+ echo -e '\n\e[1m[INFO] Running test test_docker_run_usage ... ...\e[0m\n'
[INFO] Running test test_docker_run_usage ... ...
+ TESTCASE_RESULT=0
+ test_docker_run_usage
+ info 'Testing '\''docker run'\'' usage'
+ echo -e '\n\e[1m[INFO] Testing '\''docker run'\'' usage...\e[0m\n'
[INFO] Testing 'docker run' usage...
+ docker run f34/ruby:0
+ check_result 0
+ local result=0
+ [[ 0 != \0 ]]
+ return 0
+ check_result 0
+ local result=0
+ [[ 0 != \0 ]]
+ return 0
+ local test_msg
+ handle_test_case_result 'for '\''%s'\'' %s' puma test_docker_run_usage
+ local output_format
+ output_format='%s %s for '\''%s'\'' %s\n'
+ shift
+ local test_msg
+ '[' 0 -eq 0 ']'
+ test_msg='[PASSED]'
+ printf -v test_short_summary '%s %s for '\''%s'\'' %s\n' ' [FAILED] test_from_dockerfile for Dockerfile
[FAILED] test_from_dockerfile for Dockerfile.s2i
[PASSED] build of '\''db'\'' app
[PASSED] for '\''db'\'' test_docker_run_usage
[PASSED] for '\''db'\'' test_application
[FAILED] for '\''db'\'' test_connection
[PASSED] for '\''db'\'' test_scl_variables_in_dockerfile
[FAILED] for '\''db'\'' test_scl_usage
[FAILED] for '\''db'\'' test_npm_functionality
[PASSED] build of '\''puma'\'' app
' '[PASSED]' puma test_docker_run_usage
+ '[' -n '' ']'
+ for test_case in $TEST_SET
+ info 'Running test test_application ... '
+ echo -e '\n\e[1m[INFO] Running test test_application ... ...\e[0m\n'
[INFO] Running test test_application ... ...
+ TESTCASE_RESULT=0
+ test_application
+ wait_for_cid
+ local max_attempts=10
+ run_test_application
+ local sleep_time=1
+ local attempt=1
+ local result=1
+ info 'Waiting for application container to start'
+ echo -e '\n\e[1m[INFO] Waiting for application container to start...\e[0m\n'
[INFO] Waiting for application container to start...
+ '[' 1 -le 10 ']'
+ '[' -f /tmp/tmp.rMojaZIzAg.cid ']'
+ attempt=2
+ sleep 1
+ docker run --user=100001 --rm --cidfile=/tmp/tmp.rMojaZIzAg.cid f34/ruby:0-testapp
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
[1] Puma starting in cluster mode...
[1] * Version 3.11.2 (ruby 3.0.0-p0), codename: Love Song
[1] * Min threads: 0, max threads: 16
[1] * Environment: production
[1] * Process workers: 8
[1] * Phased restart available
[1] * Listening on tcp://0.0.0.0:8080
[1] Use Ctrl-C to stop
+ '[' 2 -le 10 ']'
+ '[' -f /tmp/tmp.rMojaZIzAg.cid ']'
+ '[' -s /tmp/tmp.rMojaZIzAg.cid ']'
+ break
+ '[' 2 -gt 10 ']'
+ check_result 0
+ local result=0
+ [[ 0 != \0 ]]
+ return 0
+ check_result 0
+ local result=0
+ [[ 0 != \0 ]]
+ return 0
+ local test_msg
+ handle_test_case_result 'for '\''%s'\'' %s' puma test_application
+ local output_format
+ output_format='%s %s for '\''%s'\'' %s\n'
+ shift
+ local test_msg
+ '[' 0 -eq 0 ']'
+ test_msg='[PASSED]'
+ printf -v test_short_summary '%s %s for '\''%s'\'' %s\n' ' [FAILED] test_from_dockerfile for Dockerfile
[FAILED] test_from_dockerfile for Dockerfile.s2i
[PASSED] build of '\''db'\'' app
[PASSED] for '\''db'\'' test_docker_run_usage
[PASSED] for '\''db'\'' test_application
[FAILED] for '\''db'\'' test_connection
[PASSED] for '\''db'\'' test_scl_variables_in_dockerfile
[FAILED] for '\''db'\'' test_scl_usage
[FAILED] for '\''db'\'' test_npm_functionality
[PASSED] build of '\''puma'\'' app
[PASSED] for '\''puma'\'' test_docker_run_usage
' '[PASSED]' puma test_application
+ '[' -n '' ']'
+ for test_case in $TEST_SET
+ info 'Running test test_connection ... '
+ echo -e '\n\e[1m[INFO] Running test test_connection ... ...\e[0m\n'
[INFO] Running test test_connection ... ...
+ TESTCASE_RESULT=0
+ test_connection
++ container_ip
+++ cat /tmp/tmp.rMojaZIzAg.cid
++ docker inspect '--format={{ .NetworkSettings.IPAddress }}' 8f114e419f30b8c48215f3bf96290dedcfb37e05c0f6e4735db9c00ee2164c78
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
/opt/app-root/src/bundle/ruby/3.0.0/gems/mustermann-1.0.1/lib/mustermann/regular.rb:22:in `initialize': wrong number of arguments (given 2, expected 1) (ArgumentError)
from /opt/app-root/src/bundle/ruby/3.0.0/gems/mustermann-1.0.1/lib/mustermann/pattern.rb:59:in `new'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/mustermann-1.0.1/lib/mustermann/pattern.rb:59:in `block in new'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/mustermann-1.0.1/lib/mustermann/equality_map.rb:39:in `fetch'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/mustermann-1.0.1/lib/mustermann/pattern.rb:59:in `new'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/mustermann-1.0.1/lib/mustermann.rb:67:in `new'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/mustermann-1.0.1/lib/mustermann.rb:70:in `block in new'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/mustermann-1.0.1/lib/mustermann.rb:70:in `map'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/mustermann-1.0.1/lib/mustermann.rb:70:in `new'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:1638:in `compile'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:1626:in `compile!'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:1268:in `error'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:1836:in `<class:Base>'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:894:in `<module:Sinatra>'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/sinatra-2.0.0/lib/sinatra/base.rb:22:in `<top (required)>'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/sinatra-2.0.0/lib/sinatra/main.rb:1:in `require'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/sinatra-2.0.0/lib/sinatra/main.rb:1:in `<top (required)>'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/sinatra-2.0.0/lib/sinatra.rb:1:in `require'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/sinatra-2.0.0/lib/sinatra.rb:1:in `<top (required)>'
from /opt/app-root/src/app.rb:1:in `require'
from /opt/app-root/src/app.rb:1:in `<top (required)>'
from config.ru:1:in `require'
from config.ru:1:in `block in <main>'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/rack-2.0.4/lib/rack/builder.rb:55:in `instance_eval'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/rack-2.0.4/lib/rack/builder.rb:55:in `initialize'
from config.ru:in `new'
from config.ru:in `<main>'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/rack-2.0.4/lib/rack/builder.rb:49:in `eval'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/rack-2.0.4/lib/rack/builder.rb:49:in `new_from_string'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/rack-2.0.4/lib/rack/builder.rb:40:in `parse_file'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/puma-3.11.2/lib/puma/configuration.rb:318:in `load_rackup'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/puma-3.11.2/lib/puma/configuration.rb:243:in `app'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/puma-3.11.2/lib/puma/runner.rb:148:in `app'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/puma-3.11.2/lib/puma/runner.rb:155:in `start_server'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/puma-3.11.2/lib/puma/cluster.rb:262:in `worker'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/puma-3.11.2/lib/puma/cluster.rb:126:in `block (2 levels) in spawn_workers'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/puma-3.11.2/lib/puma/cluster.rb:126:in `fork'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/puma-3.11.2/lib/puma/cluster.rb:126:in `block in spawn_workers'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/puma-3.11.2/lib/puma/cluster.rb:122:in `times'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/puma-3.11.2/lib/puma/cluster.rb:122:in `spawn_workers'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/puma-3.11.2/lib/puma/cluster.rb:453:in `run'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/puma-3.11.2/lib/puma/launcher.rb:183:in `run'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/puma-3.11.2/lib/puma/cli.rb:77:in `run'
from /opt/app-root/src/bundle/ruby/3.0.0/gems/puma-3.11.2/bin/puma:10:in `<top (required)>'
from /opt/app-root/src/bundle/ruby/3.0.0/bin/puma:23:in `load'
from /opt/app-root/src/bundle/ruby/3.0.0/bin/puma:23:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment