No error yet deployment fails

Starting today all build even after clearing cache are failing WITHOUT any errors - locally builds fine.

I have 3 other clients that are having build fails. Then after the build says it fails it passes.

This one client just fails and even in the notification hook into slack it sends out 5 failed messages instead of one like it has for the past year.

5:09:57 PM: Build ready to start

5:09:58 PM: build-image version: 09c2cdcdf242cf2f57c9ee0fcad9d298fad9ad41
5:09:58 PM: build-image tag: v3.5.0
5:09:58 PM: buildbot version: df708c2c221a3345a3fb36b8609ebca30cb2f6c5
5:09:58 PM: Fetching cached dependencies
5:09:59 PM: Starting to download cache of 969.9MB
5:10:05 PM: Finished downloading cache in 6.163840164s
5:10:05 PM: Starting to extract cache
5:10:24 PM: Finished extracting cache in 19.730932826s
5:10:25 PM: Finished fetching cache in 26.251407626s
5:10:25 PM: Starting to prepare the repo for build
5:10:25 PM: Preparing Git Reference refs/heads/development
5:10:27 PM: Different publish path detected, going to use the one specified in the Netlify configuration file: ‘public’ versus ‘public/’ in the Netlify UI
5:10:27 PM: Different build command detected, going to use the one specified in the Netlify configuration file: ‘gatsby build --verbose’ versus ‘gatsby build’ in the Netlify UI
5:10:27 PM: Starting build script
5:10:27 PM: Installing dependencies
5:10:27 PM: Python version set to 2.7
5:10:28 PM: Started restoring cached node version
5:10:31 PM: Finished restoring cached node version
5:10:32 PM: v10.23.0 is already installed.
5:10:32 PM: Now using node v10.23.0 (npm v6.14.8)
5:10:33 PM: Started restoring cached build plugins
5:10:33 PM: Finished restoring cached build plugins
5:10:33 PM: Attempting ruby version 2.6.2, read from environment
5:10:34 PM: Using ruby version 2.6.2
5:10:34 PM: Using PHP version 5.6
5:10:34 PM: Started restoring cached node modules
5:10:34 PM: Finished restoring cached node modules
5:10:34 PM: Started restoring cached yarn cache
5:10:34 PM: Finished restoring cached yarn cache
5:10:35 PM: Installing NPM modules using Yarn version 1.17.0
5:10:36 PM: yarn install v1.17.0
5:10:36 PM: [1/4] Resolving packages…
5:10:37 PM: success Already up-to-date.
5:10:37 PM: Done in 1.14s.
5:10:37 PM: NPM modules installed using Yarn
5:10:37 PM: Started restoring cached go cache
5:10:39 PM: Finished restoring cached go cache
5:10:39 PM: Installing Go version 1.12
5:10:39 PM: unset GOOS;
5:10:39 PM: unset GOARCH;
5:10:39 PM: export GOROOT=‘/opt/buildhome/.gimme_cache/versions/go1.12.linux.amd64’;
5:10:39 PM: export PATH=“/opt/buildhome/.gimme_cache/versions/go1.12.linux.amd64/bin:${PATH}”;
5:10:39 PM: go version >&2;
5:10:39 PM: export GIMME_ENV=‘/opt/buildhome/.gimme_cache/env/go1.12.linux.amd64.env’;
5:10:39 PM: go version go1.12 linux/amd64
5:10:39 PM: Installing missing commands
5:10:39 PM: Verify run directory
5:10:40 PM: ​
5:10:40 PM: ┌─────────────────────────────┐
5:10:40 PM: │ Netlify Build │
5:10:40 PM: └─────────────────────────────┘
5:10:40 PM: ​
5:10:40 PM: ❯ Version
5:10:40 PM: @netlify/build 5.2.1
5:10:40 PM: ​
5:10:40 PM: ❯ Flags
5:10:40 PM: deployId: 5faf1245c40d4700e3572894
5:10:40 PM: mode: buildbot
5:10:40 PM: ​
5:10:40 PM: ❯ Current directory
5:10:40 PM: /opt/build/repo
5:10:40 PM: ​
5:10:40 PM: ❯ Config file
5:10:40 PM: /opt/build/repo/netlify.toml
5:10:40 PM: ​
5:10:40 PM: ❯ Context
5:10:40 PM: production
5:10:40 PM: ​
5:10:40 PM: ❯ Loading plugins
5:10:40 PM: - netlify-plugin-gatsby-cache@0.3.0 from netlify.toml
5:10:40 PM: ​
5:10:40 PM: ┌────────────────────────────────────────────────────────┐
5:10:40 PM: │ 1. onPreBuild command from netlify-plugin-gatsby-cache │
5:10:40 PM: └────────────────────────────────────────────────────────┘
5:10:40 PM: ​
5:10:48 PM: Found a Gatsby cache. We’re about to go FAST. :zap:
5:10:48 PM: ​
5:10:48 PM: (netlify-plugin-gatsby-cache onPreBuild completed in 7.2s)
5:10:48 PM: ​
5:10:48 PM: ┌────────────────────────────────────┐
5:10:48 PM: │ 2. build.command from netlify.toml │
5:10:48 PM: └────────────────────────────────────┘
5:10:48 PM: ​
5:10:48 PM: $ gatsby build --verbose
5:10:49 PM: verbose 1.636 set gatsby_log_level: “verbose”
5:10:49 PM: verbose 1.639 set gatsby_executing_command: “build”
5:10:49 PM: verbose 1.64 loading local command from: /opt/build/repo/node_modules/gatsby/dist/commands/build.js
5:10:51 PM: verbose 3.364 running command: build
5:10:51 PM: process.env.DEPLOY_PRIME_URL ->>> NOT SHOWING YOU THIS
5:10:51 PM: process.env.CONTEXT ->>> production
5:10:51 PM: SITE_URL ->>> NOT SHOWING YOU THIS
5:10:51 PM: WPGRAPHQL_URL ->>> NOT SHOWING YOU THIS
5:10:51 PM: success open and validate gatsby-configs - 0.053s
5:10:53 PM: warning Warning: there are unknown plugin options for “gatsby-source-wordpress-experimental”: production.verbose
5:10:53 PM: Please open an issue at GitHub - gatsbyjs/gatsby-source-wordpress-experimental: The upcoming v4 of gatsby-source-wordpress, currently in beta if you believe this option is valid.
5:10:53 PM: success load plugins - 1.722s
5:10:54 PM: success onPreInit - 0.041s
5:10:54 PM: success delete html and css files from previous builds - 0.080s
5:10:54 PM: success initialize cache - 0.007s
5:10:54 PM: success copy gatsby files - 0.039s
5:10:54 PM: success onPreBootstrap - 0.031s
5:10:54 PM: success gatsby-source-wordpress diff schemas - 0.576s
5:10:55 PM: success gatsby-source-wordpress ingest WPGraphQL schema - 0.752s
5:10:55 PM: success createSchemaCustomization - 0.845s
5:10:55 PM: success gatsby-source-wordpress pull updates since last build - 0.351s
5:10:55 PM: success gatsby-source-wordpress fetch root fields - 0.404s
5:10:55 PM: verbose 7.54 Checking for deleted pages
5:10:55 PM: verbose 7.541 Deleted 0 pages
5:10:55 PM: verbose 7.541 Found 0 changed pages
5:10:55 PM: success Checking for changed pages - 0.001s
5:10:55 PM: success source and transform nodes - 0.533s
5:10:57 PM: success building schema - 1.463s
5:10:57 PM: info Total nodes: 2370, SitePage nodes: 293 (use --verbose for breakdown)
5:10:57 PM: verbose 9.349 Number of node types: 26. Nodes per type: SitePage: 293, SitePlugin: 39, Site: 1, SiteBuildMetadata: 1, Directory: 1, File: 520, ImageSharp: 517, Wp: 1, WpNewsroom: 1, WpMenu: 1, WpLandingPage: 2, WpContactPage: 6, WpOurTeam: 6, WpQuote: 2, WpMenuItem: 12, WpAward: 11, WpTaxonomy: 3, WpService: 14, WpCategory: 2, WpPage: 19, WpUser: 2, WpContentType: 12, WpReview: 128, WpPost: 90, WpMediaItem: 507, WpLocation: 179
5:10:57 PM: success createPages - 0.343s
5:10:57 PM: verbose 9.35 Checking for deleted pages
5:10:57 PM: verbose 9.351 Deleted 0 pages
5:10:57 PM: verbose 9.351 Found 292 changed pages
5:10:57 PM: success Checking for changed pages - 0.001s
5:10:57 PM: success createPagesStatefully - 0.131s
5:10:57 PM: success Cleaning up stale page-data - 0.017s
5:10:57 PM: success update schema - 0.077s
5:10:57 PM: success onPreExtractQueries - 0.000s
5:11:05 PM: success extract queries from components - 7.777s
5:11:05 PM: success write out redirect data - 0.001s
5:11:05 PM: success Build manifest and related icons - 0.235s
5:11:05 PM: success onPostBootstrap - 0.237s
5:11:05 PM: info bootstrap finished - 17.599s
5:11:05 PM: success write out requires - 0.012s
5:11:38 PM: success Building production JavaScript and CSS bundles - 32.843s
5:12:04 PM: success Building static HTML for pages - 25.353s - 310/310 12.23/s
5:12:04 PM: success onPostBuild - 0.086s
5:12:04 PM: info Done building in 76.503 sec
5:12:04 PM: ​
5:12:04 PM: (build.command completed in 1m 16.8s)
5:12:04 PM: ​
5:12:04 PM: ┌─────────────────────────────────────────────────────────┐
5:12:04 PM: │ 3. onPostBuild command from netlify-plugin-gatsby-cache │
5:12:04 PM: └─────────────────────────────────────────────────────────┘
5:12:04 PM: ​
5:12:12 PM: Stored the Gatsby cache to speed up future builds.
5:12:12 PM: ​
5:12:12 PM: (netlify-plugin-gatsby-cache onPostBuild completed in 7.5s)
5:12:12 PM: ​
5:12:12 PM: ┌─────────────────────────────┐
5:12:12 PM: │ Netlify Build Complete │
5:12:12 PM: └─────────────────────────────┘
5:12:12 PM: ​
5:12:12 PM: (Netlify Build completed in 1m 31.8s)
5:12:12 PM: Caching artifacts
5:12:12 PM: Started saving node modules
5:12:12 PM: Finished saving node modules
5:12:12 PM: Started saving build plugins
5:12:12 PM: Finished saving build plugins
5:12:12 PM: Started saving yarn cache
5:12:12 PM: Finished saving yarn cache
5:12:12 PM: Started saving pip cache
5:12:12 PM: Finished saving pip cache
5:12:12 PM: Started saving emacs cask dependencies
5:12:12 PM: Finished saving emacs cask dependencies
5:12:12 PM: Started saving maven dependencies
5:12:12 PM: Finished saving maven dependencies
5:12:12 PM: Started saving boot dependencies
5:12:12 PM: Finished saving boot dependencies
5:12:12 PM: Started saving go dependencies
5:12:14 PM: Finished saving go dependencies
5:12:14 PM: Build script success
5:12:14 PM: Starting to deploy site from ‘public’
5:12:15 PM: Creating deploy tree asynchronously
5:12:16 PM: Creating deploy upload records
5:12:18 PM: 206 new files to upload
5:12:18 PM: 0 new functions to upload
5:12:40 PM: Starting post processing
5:12:40 PM: Post processing - HTML
5:12:48 PM: Starting post processing
5:12:48 PM: Post processing - HTML
5:12:49 PM: Starting post processing
5:12:49 PM: Post processing - HTML
5:12:50 PM: Starting post processing
5:12:50 PM: Post processing - HTML
5:12:52 PM: Starting post processing
5:12:52 PM: Post processing - HTML
5:14:06 PM: Finished processing build request in 4m7.88392322s

Hey, do you have a public repo? If so can you linked your public deploy logs as I personally cant see anything in the snippet you’ve provided.

In the mean time, if nothing in your codebase has changed, try checking out any updates that may have had an effect on your build: Topics tagged updates

hey there, can you link us to one or more of these failed but successful builds? this is really quite odd. thanks!

Hey, we figured it out, It was a stupid mistake on my part. I was bringing some fields over from another site from this client, I was pasting form fields into and array and I left a single quote in Worker’s Compensation. Built fine locally, and appeared to have built fine on netlify, here is a link to the build that failed.

https://app.netlify.com/sites/modest-sammet-2515e6/deploys/5faebbf36482230007bb7720

I have also attached that build log. Thanks for looking into this.

Mike

(Attachment Netlify Successful Failed Build.txt is missing)

Quick note, the text with the ’ was set to the value of a checkbox form element. At first I assumed it was the name of the input, which might make more sense as to it breaking, but it was actually on the value and that doesn’t seem to make sense as to why that would cause a build to fail.

Mike