ruby-docs-samples icon indicating copy to clipboard operation
ruby-docs-samples copied to clipboard

GSP943 i face a bug on Task 4. Deploying the app to Cloud Run

Open waldolin opened this issue 8 months ago • 3 comments

We're sorry, but something went wrong. If you are the application owner check the logs for more information.

`Updated IAM policy for project [qwiklabs-gcp-04-a44c46b2d75b]. bindings:

  • members:
  • members:
    • serviceAccount:qwiklabs-gcp-04-a44c46b2d75b@qwiklabs-gcp-04-a44c46b2d75b.iam.gserviceaccount.com
    • user:[email protected] role: roles/bigquery.admin
  • members:
  • members:
  • members:
  • members:
  • members:
  • members:
    • serviceAccount:service-6607180826@container-engine-robot.iam.gserviceaccount.com role: roles/container.serviceAgent
  • members:
  • members:
  • members:
  • members:
    • serviceAccount:qwiklabs-gcp-04-a44c46b2d75b@qwiklabs-gcp-04-a44c46b2d75b.iam.gserviceaccount.com role: roles/storage.admin
  • members:
    • user:[email protected] role: roles/viewer etag: BwYaAarAtcg= version: 1 student_03_c242cbcf81bd@cloudshell:~/ruby-docs-samples/run/rails (qwiklabs-gcp-04-a44c46b2d75b)$ RUBY_VERSION=$(ruby -v | cut -d ' ' -f2 | cut -c1-3) sed -i "/FROM/c\FROM ruby:$RUBY_VERSION-buster" Dockerfile student_03_c242cbcf81bd@cloudshell:~/ruby-docs-samples/run/rails (qwiklabs-gcp-04-a44c46b2d75b)$ APP_NAME=myrubyapp gcloud builds submit --config cloudbuild.yaml
      --substitutions _SERVICE_NAME=$APP_NAME,_INSTANCE_NAME=$INSTANCE_NAME,_REGION=$REGION,_SECRET_NAME=rails_secret --timeout=20m Creating temporary archive of 104 file(s) totalling 111.2 KiB before compression. Some files were not included in the source upload.

Check the gcloud log [/tmp/tmp.rdKL4FMOno/logs/2024.06.03/19.52.52.807125.log] to see which files and the contents of the default gcloudignore file used (see $ gcloud topic gcloudignore to learn more).

Uploading tarball of [.] to [gs://qwiklabs-gcp-04-a44c46b2d75b_cloudbuild/source/1717444373.115089-c40e3878a84d48bb8c3b3d4674feca1f.tgz] Created [https://cloudbuild.googleapis.com/v1/projects/qwiklabs-gcp-04-a44c46b2d75b/locations/global/builds/112c57b0-a44c-4e4b-81c1-6eddb55636ca]. Logs are available at [ https://console.cloud.google.com/cloud-build/builds/112c57b0-a44c-4e4b-81c1-6eddb55636ca?project=6607180826 ]. Waiting for build to complete. Polling interval: 1 second(s). -------------------------------------------------------- REMOTE BUILD OUTPUT -------------------------------------------------------- starting build "112c57b0-a44c-4e4b-81c1-6eddb55636ca"

FETCHSOURCE Fetching storage object: gs://qwiklabs-gcp-04-a44c46b2d75b_cloudbuild/source/1717444373.115089-c40e3878a84d48bb8c3b3d4674feca1f.tgz#1717444375915682 Copying gs://qwiklabs-gcp-04-a44c46b2d75b_cloudbuild/source/1717444373.115089-c40e3878a84d48bb8c3b3d4674feca1f.tgz#1717444375915682... / [1 files][ 47.0 KiB/ 47.0 KiB]
Operation completed over 1 objects/47.0 KiB. BUILD Starting Step #0 - "build image" Step #0 - "build image": Already have image (with digest): gcr.io/cloud-builders/docker Step #0 - "build image": Sending build context to Docker daemon 215kB Step #0 - "build image": Step 1/15 : FROM ruby:3.2-buster Step #0 - "build image": 3.2-buster: Pulling from library/ruby Step #0 - "build image": ac8bb7e1a323: Pulling fs layer Step #0 - "build image": 3b1c264c0ad4: Pulling fs layer Step #0 - "build image": b1e7e053c9f6: Pulling fs layer Step #0 - "build image": a2e1e233599c: Pulling fs layer Step #0 - "build image": f8d407760a29: Pulling fs layer Step #0 - "build image": 1e8a62d3f4bd: Pulling fs layer Step #0 - "build image": 67e5b4053c52: Pulling fs layer Step #0 - "build image": f8d407760a29: Waiting Step #0 - "build image": 1e8a62d3f4bd: Waiting Step #0 - "build image": 67e5b4053c52: Waiting Step #0 - "build image": a2e1e233599c: Waiting Step #0 - "build image": 3b1c264c0ad4: Verifying Checksum Step #0 - "build image": 3b1c264c0ad4: Download complete Step #0 - "build image": b1e7e053c9f6: Verifying Checksum Step #0 - "build image": b1e7e053c9f6: Download complete Step #0 - "build image": ac8bb7e1a323: Verifying Checksum Step #0 - "build image": ac8bb7e1a323: Download complete Step #0 - "build image": f8d407760a29: Verifying Checksum Step #0 - "build image": f8d407760a29: Download complete Step #0 - "build image": 67e5b4053c52: Verifying Checksum Step #0 - "build image": 67e5b4053c52: Download complete Step #0 - "build image": 1e8a62d3f4bd: Verifying Checksum Step #0 - "build image": 1e8a62d3f4bd: Download complete Step #0 - "build image": a2e1e233599c: Verifying Checksum Step #0 - "build image": a2e1e233599c: Download complete Step #0 - "build image": ac8bb7e1a323: Pull complete Step #0 - "build image": 3b1c264c0ad4: Pull complete Step #0 - "build image": b1e7e053c9f6: Pull complete Step #0 - "build image": a2e1e233599c: Pull complete Step #0 - "build image": f8d407760a29: Pull complete Step #0 - "build image": 1e8a62d3f4bd: Pull complete Step #0 - "build image": 67e5b4053c52: Pull complete Step #0 - "build image": Digest: sha256:8401591f18ed4cb38e2ce73fe9f655e17c3386306851e2569f0102a05dc5aab2 Step #0 - "build image": Status: Downloaded newer image for ruby:3.2-buster Step #0 - "build image": a128bddd9d1c Step #0 - "build image": Step 2/15 : RUN (curl -sS https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | apt-key add -) && echo "deb https://deb.nodesource.com/node_14.x buster main" > /etc/apt/sources.list.d/nodesource.list && apt-get update && apt-get install -y nodejs lsb-release Step #0 - "build image": Running in 6051c692f93b Step #0 - "build image": Warning: apt-key output should not be parsed (stdout is not a terminal) Step #0 - "build image": OK Step #0 - "build image": Get:1 http://deb.debian.org/debian buster InRelease [122 kB] Step #0 - "build image": Get:2 http://deb.debian.org/debian-security buster/updates InRelease [34.8 kB] Step #0 - "build image": Get:3 http://deb.debian.org/debian buster-updates InRelease [56.6 kB] Step #0 - "build image": Get:4 https://deb.nodesource.com/node_14.x buster InRelease [4584 B] Step #0 - "build image": Get:5 http://deb.debian.org/debian buster/main amd64 Packages [7909 kB] Step #0 - "build image": Get:6 http://deb.debian.org/debian-security buster/updates/main amd64 Packages [598 kB] Step #0 - "build image": Get:7 http://deb.debian.org/debian buster-updates/main amd64 Packages [8788 B] Step #0 - "build image": Get:8 https://deb.nodesource.com/node_14.x buster/main amd64 Packages [776 B] Step #0 - "build image": Fetched 8735 kB in 2s (4510 kB/s) Step #0 - "build image": Reading package lists... Step #0 - "build image": Reading package lists... Step #0 - "build image": Building dependency tree... Step #0 - "build image": Reading state information... Step #0 - "build image": The following additional packages will be installed: Step #0 - "build image": distro-info-data Step #0 - "build image": Suggested packages: Step #0 - "build image": lsb Step #0 - "build image": The following NEW packages will be installed: Step #0 - "build image": distro-info-data lsb-release nodejs Step #0 - "build image": 0 upgraded, 3 newly installed, 0 to remove and 102 not upgraded. Step #0 - "build image": Need to get 25.5 MB of archives. Step #0 - "build image": After this operation, 121 MB of additional disk space will be used. Step #0 - "build image": Get:1 http://deb.debian.org/debian-security buster/updates/main amd64 distro-info-data all 0.41+deb10u9 [7832 B] Step #0 - "build image": Get:2 http://deb.debian.org/debian buster/main amd64 lsb-release all 10.2019051400 [27.5 kB] Step #0 - "build image": Get:3 https://deb.nodesource.com/node_14.x buster/main amd64 nodejs amd64 14.21.3-deb-1nodesource1 [25.4 MB] Step #0 - "build image": debconf: delaying package configuration, since apt-utils is not installed Step #0 - "build image": Fetched 25.5 MB in 0s (51.4 MB/s) Step #0 - "build image": Selecting previously unselected package distro-info-data. (Reading database ... 23989 files and directories currently installed.) Step #0 - "build image": Preparing to unpack .../distro-info-data_0.41+deb10u9_all.deb ... Step #0 - "build image": Unpacking distro-info-data (0.41+deb10u9) ... Step #0 - "build image": Selecting previously unselected package lsb-release. Step #0 - "build image": Preparing to unpack .../lsb-release_10.2019051400_all.deb ... Step #0 - "build image": Unpacking lsb-release (10.2019051400) ... Step #0 - "build image": Selecting previously unselected package nodejs. Step #0 - "build image": Preparing to unpack .../nodejs_14.21.3-deb-1nodesource1_amd64.deb ... Step #0 - "build image": Unpacking nodejs (14.21.3-deb-1nodesource1) ... Step #0 - "build image": Setting up distro-info-data (0.41+deb10u9) ... Step #0 - "build image": Setting up nodejs (14.21.3-deb-1nodesource1) ... Step #0 - "build image": Setting up lsb-release (10.2019051400) ... Step #0 - "build image": Removing intermediate container 6051c692f93b Step #0 - "build image": f3ce0901484f Step #0 - "build image": Step 3/15 : RUN (curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -) && echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && apt-get update && apt-get install -y yarn Step #0 - "build image": Running in 38c271235aec Step #0 - "build image": Warning: apt-key output should not be parsed (stdout is not a terminal) Step #0 - "build image": OK Step #0 - "build image": deb https://dl.yarnpkg.com/debian/ stable main Step #0 - "build image": Hit:1 http://deb.debian.org/debian buster InRelease Step #0 - "build image": Hit:2 http://deb.debian.org/debian-security buster/updates InRelease Step #0 - "build image": Hit:3 http://deb.debian.org/debian buster-updates InRelease Step #0 - "build image": Get:4 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB] Step #0 - "build image": Hit:5 https://deb.nodesource.com/node_14.x buster InRelease Step #0 - "build image": Get:6 https://dl.yarnpkg.com/debian stable/main amd64 Packages [10.9 kB] Step #0 - "build image": Get:7 https://dl.yarnpkg.com/debian stable/main all Packages [10.9 kB] Step #0 - "build image": Fetched 39.0 kB in 1s (56.4 kB/s) Step #0 - "build image": Reading package lists... Step #0 - "build image": Reading package lists... Step #0 - "build image": Building dependency tree... Step #0 - "build image": Reading state information... Step #0 - "build image": The following NEW packages will be installed: Step #0 - "build image": yarn Step #0 - "build image": 0 upgraded, 1 newly installed, 0 to remove and 102 not upgraded. Step #0 - "build image": Need to get 896 kB of archives. Step #0 - "build image": After this operation, 5431 kB of additional disk space will be used. Step #0 - "build image": Get:1 https://dl.yarnpkg.com/debian stable/main amd64 yarn all 1.22.22-1 [896 kB] Step #0 - "build image": debconf: delaying package configuration, since apt-utils is not installed Step #0 - "build image": Fetched 896 kB in 0s (8205 kB/s) Step #0 - "build image": Selecting previously unselected package yarn. (Reading database ... 28926 files and directories currently installed.) Step #0 - "build image": Preparing to unpack .../yarn_1.22.22-1_all.deb ... Step #0 - "build image": Unpacking yarn (1.22.22-1) ... Step #0 - "build image": Setting up yarn (1.22.22-1) ... Step #0 - "build image": Removing intermediate container 38c271235aec Step #0 - "build image": 1172d2532547 Step #0 - "build image": Step 4/15 : WORKDIR /app Step #0 - "build image": Running in 00b4a3796039 Step #0 - "build image": Removing intermediate container 00b4a3796039 Step #0 - "build image": e83b98061f4d Step #0 - "build image": Step 5/15 : COPY Gemfile Gemfile.lock ./ Step #0 - "build image": 651c06a72ddd Step #0 - "build image": Step 6/15 : RUN gem install bundler && bundle config set --local deployment 'true' && bundle config set --local without 'development test' && bundle install Step #0 - "build image": Running in 0460e64f708c Step #0 - "build image": Successfully installed bundler-2.5.11 Step #0 - "build image": 1 gem installed Step #0 - "build image": Bundler 2.5.11 is running, but your lockfile was generated with 2.4.19. Installing Bundler 2.4.19 and restarting using that version. Step #0 - "build image": Fetching gem metadata from https://rubygems.org/. Step #0 - "build image": Fetching bundler 2.4.19 Step #0 - "build image": Installing bundler 2.4.19 Step #0 - "build image": Fetching gem metadata from https://rubygems.org/......... Step #0 - "build image": Fetching rake 13.1.0 Step #0 - "build image": Installing rake 13.1.0 Step #0 - "build image": Fetching concurrent-ruby 1.2.3 Step #0 - "build image": Fetching minitest 5.22.2 Step #0 - "build image": Installing minitest 5.22.2 Step #0 - "build image": Fetching builder 3.2.4 Step #0 - "build image": Installing concurrent-ruby 1.2.3 Step #0 - "build image": Installing builder 3.2.4 Step #0 - "build image": Fetching erubi 1.12.0 Step #0 - "build image": Installing erubi 1.12.0 Step #0 - "build image": Fetching racc 1.7.3 Step #0 - "build image": Fetching crass 1.0.6 Step #0 - "build image": Installing racc 1.7.3 with native extensions Step #0 - "build image": Installing crass 1.0.6 Step #0 - "build image": Fetching rack 2.2.8.1 Step #0 - "build image": Installing rack 2.2.8.1 Step #0 - "build image": Fetching nio4r 2.7.0 Step #0 - "build image": Installing nio4r 2.7.0 with native extensions Step #0 - "build image": Fetching websocket-extensions 0.1.5 Step #0 - "build image": Installing websocket-extensions 0.1.5 Step #0 - "build image": Fetching marcel 1.0.2 Step #0 - "build image": Installing marcel 1.0.2 Step #0 - "build image": Fetching mini_mime 1.1.5 Step #0 - "build image": Installing mini_mime 1.1.5 Step #0 - "build image": Fetching date 3.3.4 Step #0 - "build image": Installing date 3.3.4 with native extensions Step #0 - "build image": Fetching timeout 0.4.1 Step #0 - "build image": Installing timeout 0.4.1 Step #0 - "build image": Fetching public_suffix 5.0.3 Step #0 - "build image": Installing public_suffix 5.0.3 Step #0 - "build image": Fetching msgpack 1.7.2 Step #0 - "build image": Installing msgpack 1.7.2 with native extensions Step #0 - "build image": Fetching declarative 0.0.20 Step #0 - "build image": Installing declarative 0.0.20 Step #0 - "build image": Fetching digest-crc 0.6.5 Step #0 - "build image": Installing digest-crc 0.6.5 with native extensions Step #0 - "build image": Fetching dotenv 2.8.1 Step #0 - "build image": Installing dotenv 2.8.1 Step #0 - "build image": Fetching method_source 1.0.0 Step #0 - "build image": Installing method_source 1.0.0 Step #0 - "build image": Fetching thor 1.3.1 Step #0 - "build image": Installing thor 1.3.1 Step #0 - "build image": Fetching zeitwerk 2.6.13 Step #0 - "build image": Installing zeitwerk 2.6.13 Step #0 - "build image": Fetching faraday-net_http 3.0.2 Step #0 - "build image": Installing faraday-net_http 3.0.2 Step #0 - "build image": Fetching ffi 1.16.3 Step #0 - "build image": Installing ffi 1.16.3 with native extensions Step #0 - "build image": Fetching jwt 2.7.1 Step #0 - "build image": Installing jwt 2.7.1 Step #0 - "build image": Fetching multi_json 1.15.0 Step #0 - "build image": Installing multi_json 1.15.0 Step #0 - "build image": Fetching os 1.1.4 Step #0 - "build image": Installing os 1.1.4 Step #0 - "build image": Fetching httpclient 2.8.3 Step #0 - "build image": Installing httpclient 2.8.3 Step #0 - "build image": Fetching trailblazer-option 0.1.2 Step #0 - "build image": Installing trailblazer-option 0.1.2 Step #0 - "build image": Fetching uber 0.1.0 Step #0 - "build image": Installing uber 0.1.0 Step #0 - "build image": Fetching retriable 3.1.2 Step #0 - "build image": Installing retriable 3.1.2 Step #0 - "build image": Fetching rexml 3.2.6 Step #0 - "build image": Installing rexml 3.2.6 Step #0 - "build image": Fetching webrick 1.8.1 Step #0 - "build image": Installing webrick 1.8.1 Step #0 - "build image": Fetching google-cloud-errors 1.3.1 Step #0 - "build image": Installing google-cloud-errors 1.3.1 Step #0 - "build image": Fetching pg 1.5.4 Step #0 - "build image": Installing pg 1.5.4 with native extensions Step #0 - "build image": Fetching tilt 2.3.0 Step #0 - "build image": Installing tilt 2.3.0 Step #0 - "build image": Fetching i18n 1.14.1 Step #0 - "build image": Installing i18n 1.14.1 Step #0 - "build image": Fetching tzinfo 2.0.6 Step #0 - "build image": Installing tzinfo 2.0.6 Step #0 - "build image": Fetching rack-test 2.1.0 Step #0 - "build image": Installing rack-test 2.1.0 Step #0 - "build image": Fetching sprockets 4.2.1 Step #0 - "build image": Installing sprockets 4.2.1 Step #0 - "build image": Fetching nokogiri 1.16.2 (x86_64-linux) Step #0 - "build image": Installing nokogiri 1.16.2 (x86_64-linux) Step #0 - "build image": Fetching websocket-driver 0.7.6 Step #0 - "build image": Installing websocket-driver 0.7.6 with native extensions Step #0 - "build image": Fetching puma 6.4.2 Step #0 - "build image": Installing puma 6.4.2 with native extensions Step #0 - "build image": Fetching net-protocol 0.2.2 Step #0 - "build image": Installing net-protocol 0.2.2 Step #0 - "build image": Fetching addressable 2.8.5 Step #0 - "build image": Installing addressable 2.8.5 Step #0 - "build image": Fetching bootsnap 1.16.0 Step #0 - "build image": Installing bootsnap 1.16.0 with native extensions Step #0 - "build image": Fetching faraday 2.7.11 Step #0 - "build image": Installing faraday 2.7.11 Step #0 - "build image": Fetching sassc 2.4.0 Step #0 - "build image": Installing sassc 2.4.0 with native extensions Step #0 - "build image": Fetching representable 3.2.0 Step #0 - "build image": Installing representable 3.2.0 Step #0 - "build image": Fetching activesupport 7.0.8.1 Step #0 - "build image": Installing activesupport 7.0.8.1 Step #0 - "build image": Fetching loofah 2.22.0 Step #0 - "build image": Installing loofah 2.22.0 Step #0 - "build image": Fetching net-imap 0.4.10 Step #0 - "build image": Installing net-imap 0.4.10 Step #0 - "build image": Fetching net-pop 0.1.2 Step #0 - "build image": Installing net-pop 0.1.2 Step #0 - "build image": Fetching net-smtp 0.4.0.1 Step #0 - "build image": Installing net-smtp 0.4.0.1 Step #0 - "build image": Fetching signet 0.18.0 Step #0 - "build image": Installing signet 0.18.0 Step #0 - "build image": Fetching google-cloud-env 1.6.0 Step #0 - "build image": Installing google-cloud-env 1.6.0 Step #0 - "build image": Fetching rails-dom-testing 2.2.0 Step #0 - "build image": Installing rails-dom-testing 2.2.0 Step #0 - "build image": Fetching globalid 1.2.1 Step #0 - "build image": Installing globalid 1.2.1 Step #0 - "build image": Fetching activemodel 7.0.8.1 Step #0 - "build image": Installing activemodel 7.0.8.1 Step #0 - "build image": Fetching rails-html-sanitizer 1.6.0 Step #0 - "build image": Installing rails-html-sanitizer 1.6.0 Step #0 - "build image": Fetching mail 2.8.1 Step #0 - "build image": Installing mail 2.8.1 Step #0 - "build image": Fetching googleauth 1.8.1 Step #0 - "build image": Installing googleauth 1.8.1 Step #0 - "build image": Fetching google-cloud-core 1.6.0 Step #0 - "build image": Installing google-cloud-core 1.6.0 Step #0 - "build image": Fetching activejob 7.0.8.1 Step #0 - "build image": Installing activejob 7.0.8.1 Step #0 - "build image": Fetching activerecord 7.0.8.1 Step #0 - "build image": Installing activerecord 7.0.8.1 Step #0 - "build image": Fetching actionview 7.0.8.1 Step #0 - "build image": Installing actionview 7.0.8.1 Step #0 - "build image": Fetching google-apis-core 0.11.1 Step #0 - "build image": Installing google-apis-core 0.11.1 Step #0 - "build image": Fetching actionpack 7.0.8.1 Step #0 - "build image": Installing actionpack 7.0.8.1 Step #0 - "build image": Fetching jbuilder 2.11.5 Step #0 - "build image": Installing jbuilder 2.11.5 Step #0 - "build image": Fetching google-apis-iamcredentials_v1 0.17.0 Step #0 - "build image": Installing google-apis-iamcredentials_v1 0.17.0 Step #0 - "build image": Fetching google-apis-storage_v1 0.19.0 Step #0 - "build image": Installing google-apis-storage_v1 0.19.0 Step #0 - "build image": Fetching actioncable 7.0.8.1 Step #0 - "build image": Installing actioncable 7.0.8.1 Step #0 - "build image": Fetching activestorage 7.0.8.1 Step #0 - "build image": Installing activestorage 7.0.8.1 Step #0 - "build image": Fetching actionmailer 7.0.8.1 Step #0 - "build image": Installing actionmailer 7.0.8.1 Step #0 - "build image": Fetching railties 7.0.8.1 Step #0 - "build image": Installing railties 7.0.8.1 Step #0 - "build image": Fetching sprockets-rails 3.4.2 Step #0 - "build image": Installing sprockets-rails 3.4.2 Step #0 - "build image": Fetching google-cloud-storage 1.44.0 Step #0 - "build image": Installing google-cloud-storage 1.44.0 Step #0 - "build image": Fetching actionmailbox 7.0.8.1 Step #0 - "build image": Installing actionmailbox 7.0.8.1 Step #0 - "build image": Fetching actiontext 7.0.8.1 Step #0 - "build image": Installing actiontext 7.0.8.1 Step #0 - "build image": Fetching dotenv-rails 2.8.1 Step #0 - "build image": Installing dotenv-rails 2.8.1 Step #0 - "build image": Fetching jsbundling-rails 1.2.1 Step #0 - "build image": Installing jsbundling-rails 1.2.1 Step #0 - "build image": Fetching rails 7.0.8.1 Step #0 - "build image": Installing rails 7.0.8.1 Step #0 - "build image": Fetching sassc-rails 2.1.2 Step #0 - "build image": Installing sassc-rails 2.1.2 Step #0 - "build image": Fetching sass-rails 6.0.0 Step #0 - "build image": Installing sass-rails 6.0.0 Step #0 - "build image": Bundle complete! 19 Gemfile dependencies, 87 gems now installed. Step #0 - "build image": Gems in the groups 'development' and 'test' were not installed. Step #0 - "build image": Bundled gems are installed into ./vendor/bundle Step #0 - "build image": Removing intermediate container 0460e64f708c Step #0 - "build image": 7afb6aac99fd Step #0 - "build image": Step 7/15 : COPY . /app Step #0 - "build image": ed1667557312 Step #0 - "build image": Step 8/15 : ENV RAILS_ENV=production Step #0 - "build image": Running in de570710b43b Step #0 - "build image": Removing intermediate container de570710b43b Step #0 - "build image": baf0f0ac7931 Step #0 - "build image": Step 9/15 : ENV RAILS_SERVE_STATIC_FILES=true Step #0 - "build image": Running in 61aca2e97c74 Step #0 - "build image": Removing intermediate container 61aca2e97c74 Step #0 - "build image": 3f5f8fce9b5d Step #0 - "build image": Step 10/15 : ENV RAILS_LOG_TO_STDOUT=true Step #0 - "build image": Running in b8c562c507b0 Step #0 - "build image": Removing intermediate container b8c562c507b0 Step #0 - "build image": c5c8fd2176f1 Step #0 - "build image": Step 11/15 : ARG MASTER_KEY Step #0 - "build image": Running in 3b85befb8174 Step #0 - "build image": Removing intermediate container 3b85befb8174 Step #0 - "build image": 1142654d6465 Step #0 - "build image": Step 12/15 : ENV RAILS_MASTER_KEY=${MASTER_KEY} Step #0 - "build image": Running in 6e610e5a1a7d Step #0 - "build image": Removing intermediate container 6e610e5a1a7d Step #0 - "build image": 55ec87fd7790 Step #0 - "build image": Step 13/15 : RUN bundle exec rake assets:precompile Step #0 - "build image": Running in eb716671052f Step #0 - "build image": yarn install v1.22.22 Step #0 - "build image": [1/4] Resolving packages... Step #0 - "build image": [2/4] Fetching packages... Step #0 - "build image": [3/4] Linking dependencies... Step #0 - "build image": [4/4] Building fresh packages... Step #0 - "build image": Done in 5.44s. Step #0 - "build image": yarn run v1.22.22 Step #0 - "build image": $ webpack --config ./config/webpack/webpack.config.js Step #0 - "build image": Browserslist: caniuse-lite is outdated. Please run: Step #0 - "build image": npx update-browserslist-db@latest Step #0 - "build image": Why you should do it regularly: https://github.com/browserslist/update-db#readme Step #0 - "build image": asset application.js 0 bytes [emitted] [minimized] (name: application) Step #0 - "build image": ./app/javascript/application.js 57 bytes [built] [code generated] Step #0 - "build image": webpack 5.77.0 compiled successfully in 251 ms Step #0 - "build image": Done in 1.06s. Step #0 - "build image": I, [2024-06-03T19:56:11.373612 #8] INFO -- : Writing /app/public/assets/manifest-dad05bf766af0fe3d79dd746db3c1361c0583026cdf35d6a2921bccaea835331.js Step #0 - "build image": I, [2024-06-03T19:56:11.373955 #8] INFO -- : Writing /app/public/assets/manifest-dad05bf766af0fe3d79dd746db3c1361c0583026cdf35d6a2921bccaea835331.js.gz Step #0 - "build image": I, [2024-06-03T19:56:11.374279 #8] INFO -- : Writing /app/public/assets/application-50079f27e3dda1bb7f194ed8e74a35f50f08ed842e4b1a683382576c4d74edc8.css Step #0 - "build image": I, [2024-06-03T19:56:11.375779 #8] INFO -- : Writing /app/public/assets/application-50079f27e3dda1bb7f194ed8e74a35f50f08ed842e4b1a683382576c4d74edc8.css.gz Step #0 - "build image": I, [2024-06-03T19:56:11.376455 #8] INFO -- : Writing /app/public/assets/photos-50079f27e3dda1bb7f194ed8e74a35f50f08ed842e4b1a683382576c4d74edc8.css Step #0 - "build image": I, [2024-06-03T19:56:11.377103 #8] INFO -- : Writing /app/public/assets/photos-50079f27e3dda1bb7f194ed8e74a35f50f08ed842e4b1a683382576c4d74edc8.css.gz Step #0 - "build image": I, [2024-06-03T19:56:11.377619 #8] INFO -- : Writing /app/public/assets/application-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.js Step #0 - "build image": I, [2024-06-03T19:56:11.378085 #8] INFO -- : Writing /app/public/assets/application-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.js.gz Step #0 - "build image": I, [2024-06-03T19:56:11.378580 #8] INFO -- : Writing /app/public/assets/activestorage-3ab61e47dd4ee2d79db525ade1dca2ede0ea2b7371fe587e408ee37b7ade265d.js Step #0 - "build image": I, [2024-06-03T19:56:11.379006 #8] INFO -- : Writing /app/public/assets/activestorage-3ab61e47dd4ee2d79db525ade1dca2ede0ea2b7371fe587e408ee37b7ade265d.js.gz Step #0 - "build image": I, [2024-06-03T19:56:11.379479 #8] INFO -- : Writing /app/public/assets/activestorage.esm-01f58a45d77495cdfbdfcc872902a430426c4391634ec9c3da5f69fbf8418492.js Step #0 - "build image": I, [2024-06-03T19:56:11.379997 #8] INFO -- : Writing /app/public/assets/activestorage.esm-01f58a45d77495cdfbdfcc872902a430426c4391634ec9c3da5f69fbf8418492.js.gz Step #0 - "build image": I, [2024-06-03T19:56:11.380483 #8] INFO -- : Writing /app/public/assets/actioncable-5433453f9b6619a9de91aaab2d7fc7ff183e5260c0107cbc9a1aa0c838d9a74e.js Step #0 - "build image": I, [2024-06-03T19:56:11.380906 #8] INFO -- : Writing /app/public/assets/actioncable-5433453f9b6619a9de91aaab2d7fc7ff183e5260c0107cbc9a1aa0c838d9a74e.js.gz Step #0 - "build image": I, [2024-06-03T19:56:11.382403 #8] INFO -- : Writing /app/public/assets/actioncable.esm-e01089c3ec4fe7817fa9abcad06cab6bdc387f95f0ca6aab4bf7ba7537f70690.js Step #0 - "build image": I, [2024-06-03T19:56:11.382810 #8] INFO -- : Writing /app/public/assets/actioncable.esm-e01089c3ec4fe7817fa9abcad06cab6bdc387f95f0ca6aab4bf7ba7537f70690.js.gz Step #0 - "build image": Removing intermediate container eb716671052f Step #0 - "build image": 971d75788189 Step #0 - "build image": Step 14/15 : EXPOSE 8080 Step #0 - "build image": Running in a3defeb48553 Step #0 - "build image": Removing intermediate container a3defeb48553 Step #0 - "build image": adc1835e6962 Step #0 - "build image": Step 15/15 : CMD ["bin/rails", "server", "-b", "0.0.0.0", "-p", "8080"] Step #0 - "build image": Running in 6bb3e1c7e006 Step #0 - "build image": Removing intermediate container 6bb3e1c7e006 Step #0 - "build image": 0e7fe3df6b50 Step #0 - "build image": Successfully built 0e7fe3df6b50 Step #0 - "build image": Successfully tagged gcr.io/qwiklabs-gcp-04-a44c46b2d75b/myrubyapp:latest Finished Step #0 - "build image" Starting Step #1 - "push image" Step #1 - "push image": Already have image (with digest): gcr.io/cloud-builders/docker Step #1 - "push image": Using default tag: latest Step #1 - "push image": The push refers to repository [gcr.io/qwiklabs-gcp-04-a44c46b2d75b/myrubyapp] Step #1 - "push image": 00380a53e849: Preparing Step #1 - "push image": 48fe1847d34c: Preparing Step #1 - "push image": e2214d177a56: Preparing Step #1 - "push image": 78acc2247d1f: Preparing Step #1 - "push image": 1d0352d53a79: Preparing Step #1 - "push image": 6194958ea801: Preparing Step #1 - "push image": 3727a4aa4317: Preparing Step #1 - "push image": e5506a9241c9: Preparing Step #1 - "push image": 4593bae2a247: Preparing Step #1 - "push image": 73aa926d1953: Preparing Step #1 - "push image": dcc1cfeee1ab: Preparing Step #1 - "push image": eccb9ed74974: Preparing Step #1 - "push image": 53d40515380c: Preparing Step #1 - "push image": 6af7a54a0a0d: Preparing Step #1 - "push image": 6194958ea801: Waiting Step #1 - "push image": dcc1cfeee1ab: Waiting Step #1 - "push image": eccb9ed74974: Waiting Step #1 - "push image": 3727a4aa4317: Waiting Step #1 - "push image": 53d40515380c: Waiting Step #1 - "push image": e5506a9241c9: Waiting Step #1 - "push image": 6af7a54a0a0d: Waiting Step #1 - "push image": 4593bae2a247: Waiting Step #1 - "push image": 73aa926d1953: Waiting Step #1 - "push image": 1d0352d53a79: Pushed Step #1 - "push image": 48fe1847d34c: Pushed Step #1 - "push image": 78acc2247d1f: Pushed Step #1 - "push image": e5506a9241c9: Layer already exists Step #1 - "push image": 6194958ea801: Pushed Step #1 - "push image": 4593bae2a247: Layer already exists Step #1 - "push image": dcc1cfeee1ab: Layer already exists Step #1 - "push image": 73aa926d1953: Layer already exists Step #1 - "push image": 00380a53e849: Pushed Step #1 - "push image": eccb9ed74974: Layer already exists Step #1 - "push image": 53d40515380c: Layer already exists Step #1 - "push image": 6af7a54a0a0d: Layer already exists Step #1 - "push image": e2214d177a56: Pushed Step #1 - "push image": 3727a4aa4317: Pushed Step #1 - "push image": latest: digest: sha256:3be5882dd5c85b9fb46bec2fa0fee3d326f7a88d3d1ff0c34f197dc3be606863 size: 3264 Finished Step #1 - "push image" Starting Step #2 - "apply migrations" Step #2 - "apply migrations": Pulling image: gcr.io/google-appengine/exec-wrapper Step #2 - "apply migrations": Using default tag: latest Step #2 - "apply migrations": latest: Pulling from google-appengine/exec-wrapper Step #2 - "apply migrations": 75f546e73d8b: Pulling fs layer Step #2 - "apply migrations": 0f3bb76fc390: Pulling fs layer Step #2 - "apply migrations": 3c2cba919283: Pulling fs layer Step #2 - "apply migrations": 734d89445d1a: Pulling fs layer Step #2 - "apply migrations": 284a58107ab9: Pulling fs layer Step #2 - "apply migrations": c69c0c47df52: Pulling fs layer Step #2 - "apply migrations": 734d89445d1a: Waiting Step #2 - "apply migrations": 284a58107ab9: Waiting Step #2 - "apply migrations": c69c0c47df52: Waiting Step #2 - "apply migrations": 3c2cba919283: Verifying Checksum Step #2 - "apply migrations": 3c2cba919283: Download complete Step #2 - "apply migrations": 0f3bb76fc390: Verifying Checksum Step #2 - "apply migrations": 0f3bb76fc390: Download complete Step #2 - "apply migrations": 75f546e73d8b: Verifying Checksum Step #2 - "apply migrations": 75f546e73d8b: Download complete Step #2 - "apply migrations": c69c0c47df52: Verifying Checksum Step #2 - "apply migrations": c69c0c47df52: Download complete Step #2 - "apply migrations": 284a58107ab9: Verifying Checksum Step #2 - "apply migrations": 284a58107ab9: Download complete Step #2 - "apply migrations": 75f546e73d8b: Pull complete Step #2 - "apply migrations": 734d89445d1a: Verifying Checksum Step #2 - "apply migrations": 734d89445d1a: Download complete Step #2 - "apply migrations": 0f3bb76fc390: Pull complete Step #2 - "apply migrations": 3c2cba919283: Pull complete Step #2 - "apply migrations": 734d89445d1a: Pull complete Step #2 - "apply migrations": 284a58107ab9: Pull complete Step #2 - "apply migrations": c69c0c47df52: Pull complete Step #2 - "apply migrations": Digest: sha256:1b5b5a8805b247e9d08f01bc5e34522d6c57606d050c3b9ad4c6cf0a3a10cf06 Step #2 - "apply migrations": Status: Downloaded newer image for gcr.io/google-appengine/exec-wrapper:latest Step #2 - "apply migrations": gcr.io/google-appengine/exec-wrapper:latest Step #2 - "apply migrations": Step #2 - "apply migrations": ---------- INSTALL IMAGE ---------- Step #2 - "apply migrations": Using default tag: latest Step #2 - "apply migrations": latest: Pulling from qwiklabs-gcp-04-a44c46b2d75b/myrubyapp Step #2 - "apply migrations": Digest: sha256:3be5882dd5c85b9fb46bec2fa0fee3d326f7a88d3d1ff0c34f197dc3be606863 Step #2 - "apply migrations": Status: Image is up to date for gcr.io/qwiklabs-gcp-04-a44c46b2d75b/myrubyapp:latest Step #2 - "apply migrations": gcr.io/qwiklabs-gcp-04-a44c46b2d75b/myrubyapp:latest Step #2 - "apply migrations": Step #2 - "apply migrations": ---------- CONNECT CLOUDSQL ---------- Step #2 - "apply migrations": cloud_sql_proxy is running. Step #2 - "apply migrations": Connections: qwiklabs-gcp-04-a44c46b2d75b:europe-west1:postgres-instance. Step #2 - "apply migrations": Step #2 - "apply migrations": ---------- EXECUTE COMMAND ---------- Step #2 - "apply migrations": bundle exec rails db:migrate Step #2 - "apply migrations": I, [2024-06-03T19:57:12.536353 #1] INFO -- : Migrating to CreatePhotos (20210504182127) Step #2 - "apply migrations": == 20210504182127 CreatePhotos: migrating ===================================== Step #2 - "apply migrations": -- create_table(:photos) Step #2 - "apply migrations": -> 0.1749s Step #2 - "apply migrations": == 20210504182127 CreatePhotos: migrated (0.1751s) ============================ Step #2 - "apply migrations": Step #2 - "apply migrations": I, [2024-06-03T19:57:12.971602 #1] INFO -- : Migrating to CreateActiveStorageTables (20210504183455) Step #2 - "apply migrations": == 20210504183455 CreateActiveStorageTables: migrating ======================== Step #2 - "apply migrations": -- create_table(:active_storage_blobs) Step #2 - "apply migrations": -> 0.3413s Step #2 - "apply migrations": -- create_table(:active_storage_attachments) Step #2 - "apply migrations": -> 0.2657s Step #2 - "apply migrations": -- create_table(:active_storage_variant_records) Step #2 - "apply migrations": -> 0.1781s Step #2 - "apply migrations": == 20210504183455 CreateActiveStorageTables: migrated (0.7854s) =============== Step #2 - "apply migrations": Step #2 - "apply migrations": Step #2 - "apply migrations": ---------- CLEANUP ---------- Finished Step #2 - "apply migrations" PUSH Pushing gcr.io/qwiklabs-gcp-04-a44c46b2d75b/myrubyapp The push refers to repository [gcr.io/qwiklabs-gcp-04-a44c46b2d75b/myrubyapp] 00380a53e849: Preparing 48fe1847d34c: Preparing e2214d177a56: Preparing 78acc2247d1f: Preparing 1d0352d53a79: Preparing 6194958ea801: Preparing 3727a4aa4317: Preparing e5506a9241c9: Preparing 4593bae2a247: Preparing 73aa926d1953: Preparing dcc1cfeee1ab: Preparing eccb9ed74974: Preparing 53d40515380c: Preparing 6af7a54a0a0d: Preparing 6194958ea801: Waiting 3727a4aa4317: Waiting e5506a9241c9: Waiting 4593bae2a247: Waiting 73aa926d1953: Waiting dcc1cfeee1ab: Waiting eccb9ed74974: Waiting 53d40515380c: Waiting 6af7a54a0a0d: Waiting 1d0352d53a79: Layer already exists 78acc2247d1f: Layer already exists e2214d177a56: Layer already exists 00380a53e849: Layer already exists 6194958ea801: Layer already exists e5506a9241c9: Layer already exists 3727a4aa4317: Layer already exists 48fe1847d34c: Layer already exists eccb9ed74974: Layer already exists dcc1cfeee1ab: Layer already exists 53d40515380c: Layer already exists 4593bae2a247: Layer already exists 73aa926d1953: Layer already exists 6af7a54a0a0d: Layer already exists latest: digest: sha256:3be5882dd5c85b9fb46bec2fa0fee3d326f7a88d3d1ff0c34f197dc3be606863 size: 3264 DONE

ID: 112c57b0-a44c-4e4b-81c1-6eddb55636ca CREATE_TIME: 2024-06-03T19:52:57+00:00 DURATION: 4M19S SOURCE: gs://qwiklabs-gcp-04-a44c46b2d75b_cloudbuild/source/1717444373.115089-c40e3878a84d48bb8c3b3d4674feca1f.tgz IMAGES: gcr.io/qwiklabs-gcp-04-a44c46b2d75b/myrubyapp (+1 more) STATUS: SUCCESS`

If the service URL shows Cat Photo Album, you're on the homepage of the app.

Try to upload a new photo.

it shows one time homepage but i upload it , it shows We're sorry, but something went wrong. If you are the application owner check the logs for more information.

waldolin avatar Jun 03 '24 20:06 waldolin