netlify site name: alexandrechampagne.netlify.app
My builds have started getting stuck recently. Restarting them and they run fine. Any idea why this is happening?
log when getting stuck:
5:58:48 PM: Build ready to start
5:58:51 PM: build-image version: fd3b56fcdbaad56e70919e8a4b2da9b411ec3532 (xenial)
5:58:51 PM: build-image tag: v3.10.1
5:58:51 PM: buildbot version: 1166b873df3086892bcef41356ad6efa7b9e401d
5:58:51 PM: Fetching cached dependencies
5:58:51 PM: Starting to download cache of 157.4MB
5:58:52 PM: Finished downloading cache in 1.505353625s
5:58:52 PM: Starting to extract cache
5:58:56 PM: Finished extracting cache in 3.898845961s
5:58:56 PM: Finished fetching cache in 5.450335161s
5:58:56 PM: Starting to prepare the repo for build
5:58:57 PM: Preparing Git Reference refs/heads/master
5:58:58 PM: Parsing package.json dependencies
5:58:58 PM: Starting build script
5:58:58 PM: Installing dependencies
5:58:58 PM: Python version set to 2.7
5:58:59 PM: Started restoring cached node version
5:59:02 PM: Finished restoring cached node version
5:59:03 PM: v12.18.0 is already installed.
5:59:03 PM: Now using node v12.18.0 (npm v6.14.4)
5:59:04 PM: Started restoring cached build plugins
5:59:04 PM: Finished restoring cached build plugins
5:59:04 PM: Attempting ruby version 2.7.1, read from environment
5:59:05 PM: Started restoring cached ruby version
5:59:05 PM: Finished restoring cached ruby version
5:59:07 PM: Using ruby version 2.7.1
5:59:08 PM: Using PHP version 5.6
5:59:08 PM: Installing Hugo 0.86.1
5:59:08 PM: hugo v0.86.1-F6821B88+extended linux/amd64 BuildDate=2021-07-30T10:13:35Z VendorInfo=gohugoio
5:59:08 PM: Started restoring cached go cache
5:59:08 PM: Finished restoring cached go cache
5:59:08 PM: go version go1.14.4 linux/amd64
5:59:08 PM: go version go1.14.4 linux/amd64
5:59:08 PM: Installing missing commands
5:59:08 PM: Verify run directory
5:59:10 PM: β
5:59:10 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
5:59:10 PM: Netlify Build
5:59:10 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
5:59:10 PM: β
5:59:10 PM: β― Version
5:59:10 PM: @netlify/build 18.24.0
5:59:10 PM: β
5:59:10 PM: β― Flags
5:59:10 PM: baseRelDir: true
5:59:10 PM: buildId: 6196daa8933b8a00082dc399
5:59:10 PM: deployId: 6196daa8933b8a00082dc39b
5:59:10 PM: β
5:59:10 PM: β― Current directory
5:59:10 PM: /opt/build/repo
5:59:10 PM: β
5:59:10 PM: β― Config file
5:59:10 PM: /opt/build/repo/netlify.toml
5:59:10 PM: β
5:59:10 PM: β― Context
5:59:10 PM: production
5:59:10 PM: β
5:59:10 PM: β― Loading plugins
5:59:10 PM: - netlify-plugin-hugo-cache-resources@0.2.1 from netlify.toml
5:59:10 PM: β
5:59:10 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
5:59:10 PM: 1. netlify-plugin-hugo-cache-resources (onPreBuild event)
5:59:10 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
5:59:10 PM: β
5:59:11 PM: Checking if resources exist at "resources"
5:59:11 PM: Restored cached resources folder. Total files: 2
5:59:11 PM: ---
5:59:11 PM: 1. /opt/build/repo/resources
5:59:11 PM: 2. /opt/build/repo/resources/_gen
5:59:11 PM: β
5:59:11 PM: (netlify-plugin-hugo-cache-resources onPreBuild completed in 275ms)
5:59:11 PM: β
5:59:11 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
5:59:11 PM: 2. build.command from netlify.toml
5:59:11 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
5:59:11 PM: β
5:59:11 PM: $ hugo --gc --minify -b $URL
5:59:11 PM: Start building sites β¦
5:59:11 PM: hugo v0.86.1-F6821B88+extended linux/amd64 BuildDate=2021-07-30T10:13:35Z VendorInfo=gohugoio
log when i click βclear cache & retry buildβ and it builds successfully:
6:05:41 PM: Waiting for other deploys from your team to complete. Check the queue: https://app.netlify.com/teams/champagnealexandre/builds
6:05:56 PM: Build ready to start
6:05:58 PM: build-image version: fd3b56fcdbaad56e70919e8a4b2da9b411ec3532 (xenial)
6:05:58 PM: build-image tag: v3.10.1
6:05:58 PM: buildbot version: 1166b873df3086892bcef41356ad6efa7b9e401d
6:05:58 PM: Building without cache
6:05:58 PM: Starting to prepare the repo for build
6:05:59 PM: No cached dependencies found. Cloning fresh repo
6:05:59 PM: git clone https://github.com/champagnealexandre/alexandrechampagne.io
6:06:01 PM: Preparing Git Reference refs/heads/master
6:06:03 PM: Parsing package.json dependencies
6:06:03 PM: Starting build script
6:06:03 PM: Installing dependencies
6:06:03 PM: Python version set to 2.7
6:06:05 PM: v12.18.0 is already installed.
6:06:06 PM: Now using node v12.18.0 (npm v6.14.4)
6:06:06 PM: Started restoring cached build plugins
6:06:06 PM: Finished restoring cached build plugins
6:06:06 PM: Attempting ruby version 2.7.1, read from environment
6:06:07 PM: Required ruby-2.7.1 is not installed - installing.
6:06:08 PM: Searching for binary rubies, this might take some time.
6:06:08 PM: Found remote file https://rvm_io.global.ssl.fastly.net/binaries/ubuntu/16.04/x86_64/ruby-2.7.1.tar.bz2
6:06:08 PM: Checking requirements for ubuntu.
6:06:09 PM: Requirements installation successful.
6:06:09 PM: ruby-2.7.1 - #configure
6:06:09 PM: ruby-2.7.1 - #download
6:06:09 PM: ruby-2.7.1 - #validate archive
6:06:16 PM: ruby-2.7.1 - #extract
6:06:19 PM: ruby-2.7.1 - #validate binary
6:06:20 PM: ruby-2.7.1 - #setup
6:06:20 PM: ruby-2.7.1 - #gemset created /opt/buildhome/.rvm/gems/ruby-2.7.1@global
6:06:21 PM: ruby-2.7.1 - #importing gemset /opt/buildhome/.rvm/gemsets/global.gems........................................
6:06:21 PM: ruby-2.7.1 - #generating global wrappers........
6:06:21 PM: ruby-2.7.1 - #gemset created /opt/buildhome/.rvm/gems/ruby-2.7.1
6:06:21 PM: ruby-2.7.1 - #importing gemsetfile /opt/buildhome/.rvm/gemsets/default.gems evaluated to empty gem list
6:06:22 PM: ruby-2.7.1 - #generating default wrappers........
6:06:22 PM: Using /opt/buildhome/.rvm/gems/ruby-2.7.1
6:06:23 PM: Using ruby version 2.7.1
6:06:23 PM: Using PHP version 5.6
6:06:23 PM: Installing Hugo 0.86.1
6:06:24 PM: hugo v0.86.1-F6821B88+extended linux/amd64 BuildDate=2021-07-30T10:13:35Z VendorInfo=gohugoio
6:06:24 PM: Started restoring cached go cache
6:06:24 PM: Finished restoring cached go cache
6:06:24 PM: go version go1.14.4 linux/amd64
6:06:24 PM: go version go1.14.4 linux/amd64
6:06:24 PM: Installing missing commands
6:06:24 PM: Verify run directory
6:06:26 PM: β
6:06:26 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
6:06:26 PM: Netlify Build
6:06:26 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
6:06:26 PM: β
6:06:26 PM: β― Version
6:06:26 PM: @netlify/build 18.24.0
6:06:26 PM: β
6:06:26 PM: β― Flags
6:06:26 PM: baseRelDir: true
6:06:26 PM: buildId: 6196dc45af9d9024d3d34331
6:06:26 PM: deployId: 6196dc45af9d9024d3d34333
6:06:26 PM: β
6:06:26 PM: β― Current directory
6:06:26 PM: /opt/build/repo
6:06:26 PM: β
6:06:26 PM: β― Config file
6:06:26 PM: /opt/build/repo/netlify.toml
6:06:26 PM: β
6:06:26 PM: β― Context
6:06:26 PM: production
6:06:26 PM: β
6:06:26 PM: β― Installing plugins
6:06:26 PM: - netlify-plugin-hugo-cache-resources@0.2.1
6:06:28 PM: β
6:06:28 PM: β― Loading plugins
6:06:28 PM: - netlify-plugin-hugo-cache-resources@0.2.1 from netlify.toml
6:06:29 PM: β
6:06:29 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
6:06:29 PM: 1. netlify-plugin-hugo-cache-resources (onPreBuild event)
6:06:29 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
6:06:29 PM: β
6:06:29 PM: Checking if resources exist at "resources"
6:06:29 PM: No cache found for resources folder
6:06:29 PM: β
6:06:29 PM: (netlify-plugin-hugo-cache-resources onPreBuild completed in 216ms)
6:06:29 PM: β
6:06:29 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
6:06:29 PM: 2. build.command from netlify.toml
6:06:29 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
6:06:29 PM: β
6:06:29 PM: $ hugo --gc --minify -b $URL
6:06:31 PM: hugo: downloading modules β¦
6:06:33 PM: hugo: collected modules in 3721 ms
6:06:33 PM: Start building sites β¦
6:06:33 PM: hugo v0.86.1-F6821B88+extended linux/amd64 BuildDate=2021-07-30T10:13:35Z VendorInfo=gohugoio
6:06:34 PM: | EN
6:06:34 PM: -------------------+-----
6:06:34 PM: Pages | 50
6:06:34 PM: Paginator pages | 3
6:06:34 PM: Non-page files | 2
6:06:34 PM: Static files | 8
6:06:34 PM: Processed images | 32
6:06:34 PM: Aliases | 4
6:06:34 PM: Sitemaps | 1
6:06:34 PM: Cleaned | 0
6:06:34 PM: Total in 5174 ms
6:06:34 PM: β
6:06:34 PM: (build.command completed in 5.2s)
6:06:34 PM: β
6:06:34 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
6:06:34 PM: 3. netlify-plugin-hugo-cache-resources (onPostBuild event)
6:06:34 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
6:06:34 PM: β
6:06:34 PM: Saved resources folder to cache. Total files: 6
6:06:34 PM: ---
6:06:34 PM: 1. /opt/build/repo/resources/_gen/assets/scss/scss/main.scss_ad7c01202310d8f56313e4e954344ccc.content
6:06:34 PM: 2. /opt/build/repo/resources/_gen/assets/scss/scss/main.scss_ad7c01202310d8f56313e4e954344ccc.json
6:06:34 PM: 3. /opt/build/repo/resources/_gen/images/authors/admin/avatar_hua6c58f55857c3c82d0b0a535b9cd5f59_1206013_270x270_fill_q75_lanczos_center.jpeg
6:06:34 PM: 4. /opt/build/repo/resources/_gen/images/media/icon_hu596e7d8e77747822293aa37f5834b15a_11313_180x180_fill_lanczos_center_3.png
6:06:34 PM: Creating deploy upload records
6:06:34 PM: 5. /opt/build/repo/resources/_gen/images/media/icon_hu596e7d8e77747822293aa37f5834b15a_11313_32x32_fill_lanczos_center_3.png
6:06:34 PM: 6. /opt/build/repo/resources/_gen/images/media/icon_hu596e7d8e77747822293aa37f5834b15a_11313_512x512_fill_lanczos_center_3.png
6:06:34 PM: β
6:06:34 PM: (netlify-plugin-hugo-cache-resources onPostBuild completed in 62ms)
6:06:34 PM: β
6:06:34 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
6:06:34 PM: 4. Deploy site
6:06:34 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
6:06:34 PM: β
6:06:34 PM: Starting to deploy site from 'public'
6:06:34 PM: Creating deploy tree
6:06:35 PM: 0 new files to upload
6:06:35 PM: 0 new functions to upload
6:06:35 PM: Site deploy was successfully initiated
6:06:35 PM: β
6:06:35 PM: (Deploy site completed in 188ms)
6:06:35 PM: β
6:06:35 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
6:06:35 PM: Netlify Build Complete
6:06:35 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
6:06:35 PM: β
6:06:35 PM: (Netlify Build completed in 8.5s)
6:06:35 PM: Starting post processing
6:06:35 PM: Post processing - HTML
6:06:35 PM: Caching artifacts
6:06:35 PM: Started saving build plugins
6:06:35 PM: Finished saving build plugins
6:06:35 PM: Started saving pip cache
6:06:35 PM: Finished saving pip cache
6:06:35 PM: Started saving emacs cask dependencies
6:06:35 PM: Post processing - header rules
6:06:35 PM: Finished saving emacs cask dependencies
6:06:35 PM: Started saving maven dependencies
6:06:35 PM: Finished saving maven dependencies
6:06:35 PM: Post processing - redirect rules
6:06:35 PM: Started saving boot dependencies
6:06:35 PM: Finished saving boot dependencies
6:06:35 PM: Started saving rust rustup cache
6:06:35 PM: Finished saving rust rustup cache
6:06:35 PM: Started saving go dependencies
6:06:35 PM: Post processing done
6:06:35 PM: Finished saving go dependencies
6:06:35 PM: Site is live β¨
6:06:38 PM: Cached ruby version 2.7.1
6:06:38 PM: Build script success
6:06:59 PM: Finished processing build request in 1m0.63678378s