Open nate-double-u opened 2 years ago
As all the deploy preview builds appeared to be failing, I've updated the image:
However, now that builds are able to be run again, there is a build error with the new image:
3:09:53 PM: build-image version: 9495be345de05eb8e91837e5d92c5afd0dbd65f6 (focal)
3:09:53 PM: buildbot version: 9495be345de05eb8e91837e5d92c5afd0dbd65f6
3:09:53 PM: Fetching cached dependencies
3:09:53 PM: Failed to fetch cache, continuing with build
3:09:53 PM: Starting to prepare the repo for build
3:09:53 PM: No cached dependencies found. Cloning fresh repo
3:09:53 PM: git clone --filter=blob:none https://github.com/cncf/kubernetes-community-days
3:09:53 PM: Preparing Git Reference refs/heads/main
3:09:54 PM: Parsing package.json dependencies
3:09:55 PM: Starting build script
3:09:55 PM: Installing dependencies
3:09:55 PM: Python version set to 2.7
3:09:55 PM: Downloading and installing node v10.24.1...
3:09:55 PM: Downloading https://nodejs.org/dist/v10.24.1/node-v10.24.1-linux-x64.tar.xz...
3:09:56 PM: Computing checksum with sha256sum
3:09:56 PM: Checksums matched!
3:09:57 PM: Now using node v10.24.1 (npm v6.14.12)
3:09:57 PM: Started restoring cached build plugins
3:09:57 PM: Finished restoring cached build plugins
3:09:57 PM: Attempting Ruby version 2.6.2, read from environment
3:09:57 PM: Required ruby-2.6.2 is not installed - installing.
3:09:57 PM: Searching for binary rubies, this might take some time.
3:09:57 PM: Found remote file https://rvm_io.global.ssl.fastly.net/binaries/ubuntu/20.04/x86_64/ruby-2.6.2.tar.bz2
3:09:57 PM: Checking requirements for ubuntu.
3:09:58 PM: Requirements installation successful.
3:09:58 PM: ruby-2.6.2 - #configure
3:09:58 PM: ruby-2.6.2 - #download
3:09:58 PM: ruby-2.6.2 - #validate archive
3:10:01 PM: ruby-2.6.2 - #extract
3:10:03 PM: ruby-2.6.2 - #validate binary
3:10:03 PM: ruby-2.6.2 - #setup
3:10:03 PM: ruby-2.6.2 - #gemset created /opt/buildhome/.rvm/gems/ruby-2.6.2@global
3:10:03 PM: ruby-2.6.2 - #importing gemset /opt/buildhome/.rvm/gemsets/global.gems........................................
3:10:04 PM: ruby-2.6.2 - #generating global wrappers........
3:10:04 PM: ruby-2.6.2 - #gemset created /opt/buildhome/.rvm/gems/ruby-2.6.2
3:10:04 PM: ruby-2.6.2 - #importing gemsetfile /opt/buildhome/.rvm/gemsets/default.gems evaluated to empty gem list
3:10:04 PM: ruby-2.6.2 - #generating default wrappers........
3:10:04 PM: Using /opt/buildhome/.rvm/gems/ruby-2.6.2
3:10:04 PM: Using Ruby version 2.6.2
3:10:05 PM: Using PHP version 8.0
3:10:05 PM: Started restoring cached go cache
3:10:05 PM: Finished restoring cached go cache
3:10:05 PM: Installing Go version 1.12 (requested 1.12)
3:10:09 PM: go version go1.12 linux/amd64
3:10:09 PM: Detected 0 framework(s)
3:10:09 PM: Installing missing commands
3:10:09 PM: Verify run directory
3:10:09 PM: Section completed: initializing
3:10:10 PM:
3:10:10 PM: Netlify Build
3:10:10 PM: ────────────────────────────────────────────────────────────────
3:10:10 PM:
3:10:10 PM: ❯ Version
3:10:10 PM: @netlify/build 29.5.4
3:10:10 PM:
3:10:10 PM: ❯ Flags
3:10:10 PM: baseRelDir: false
3:10:10 PM: buildId: 63e6cebca25c0f34e72a7341
3:10:10 PM: deployId: 63e6cebca25c0f34e72a7343
3:10:10 PM:
3:10:10 PM: ❯ Current directory
3:10:10 PM: /opt/build/repo
3:10:10 PM:
3:10:10 PM: ❯ Config file
3:10:10 PM: No config file was defined: using default values.
3:10:10 PM:
3:10:10 PM: ❯ Context
3:10:10 PM: branch-deploy
3:10:10 PM:
3:10:10 PM: 1. Build command from Netlify app
3:10:10 PM: ────────────────────────────────────────────────────────────────
3:10:10 PM:
3:10:10 PM: $ make production-build
3:10:10 PM: make: *** No rule to make target 'production-build'. Stop.
3:10:10 PM:
3:10:10 PM: "build.command" failed
3:10:10 PM: ────────────────────────────────────────────────────────────────
3:10:10 PM:
3:10:10 PM: Error message
3:10:10 PM: Command failed with exit code 2: make production-build
3:10:10 PM:
3:10:10 PM: Error location
3:10:10 PM: In Build command from Netlify app:
3:10:10 PM: make production-build
3:10:10 PM:
3:10:10 PM: Resolved config
3:10:10 PM: build:
3:10:10 PM: command: make production-build
3:10:12 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2
3:10:10 PM: commandOrigin: ui
3:10:10 PM: publish: /opt/build/repo/public
3:10:10 PM: publishOrigin: ui
3:10:11 PM: Caching artifacts
3:10:11 PM: Started saving build plugins
3:10:11 PM: Finished saving build plugins
3:10:11 PM: Started saving pip cache
3:10:11 PM: Finished saving pip cache
3:10:11 PM: Started saving emacs cask dependencies
3:10:11 PM: Finished saving emacs cask dependencies
3:10:11 PM: Started saving maven dependencies
3:10:11 PM: Finished saving maven dependencies
3:10:11 PM: Started saving boot dependencies
3:10:11 PM: Finished saving boot dependencies
3:10:11 PM: Started saving rust rustup cache
3:10:11 PM: Finished saving rust rustup cache
3:10:11 PM: Started saving go dependencies
3:10:11 PM: Finished saving go dependencies
3:10:12 PM: Cached Ruby version 2.6.2
3:10:12 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
3:10:12 PM: Failing build: Failed to build site
3:10:12 PM: Finished processing build request in 19.314s
https://app.netlify.com/sites/kubernetes-community-days/deploys/63e6cebca25c0f34e72a7343
I suspect there are some dependency updates that need to be made to fix the builds now.
@xmulligan I'm not convinced this site is using Netlify for it's build. Do you know its stack?
Notice from Netlify
As reported via deploy logs: