title: google cloud function deploy start failing
body: <p>Startign today, I'm unable to deploy cloud functions using  gcloud cli.</p>
  
  <p>Here is my  gloud command to deploy cloud function:</p>
  
  <pre><code>gcloud functions deploy chatbot_api_gateway_002_test --runtime python37 --trigger-http --entry-point process --set-env-vars VERIFICATION_TOKEN=sometokenhere,PUBSUB_TOPIC=entrypointfunction001,GOOGLE_CLOUD_PROJECT=cs-be-dev,DEST_URL=__undefined_yet__,DEST_URLS_TIMEOUT=2 --memory=2GB --region=asia-northeast1
  </code></pre>
  
  <p>I'm getting an error:</p>
  
  <blockquote>
    <p>Deploying function (may take a while - up to 2 minutes)...failed.     </p>
    
    <p><strong>ERROR</strong>: (gcloud.functions.deploy) OperationError: code=3, message=Build failed: Build has timed out</p>
  </blockquote>
  
  <p>I used to work  same script  1 hour ago, but now- no one in the team is able to deploy cloud functions and getting the same error.</p>
  
  <p><img src="https://i.stack.imgur.com/LbpDK.png" alt="deployment failed"></p>
  
  <p>In the stackdrive logs i see only this:</p>
  
  <pre><code> {
   insertId: "rr5a8qctoo"  
   logName: "projects/be-dev/logs/cloudaudit.googleapis.com%2Factivity"  
  
  operation: {
    id: "operations/c2F0YWNzLWJlLWRldi9hc2lhLW5vcnRoZWFzdDEvY2hhdGJvdF9hcGlfZ2F0ZXdheV8wMDJfdGVzdC9SMGdpR0ZRWk13aw"   
    last: true   
    producer: "cloudfunctions.googleapis.com"   
   }
  
  protoPayload: {
    @type: "type.googleapis.com/google.cloud.audit.AuditLog"   
  
  authenticationInfo: {
     principalEmail: "myemail@domain.com"    
    }
    methodName: "google.cloud.functions.v1.CloudFunctionsService.CreateFunction"   
  
  requestMetadata: {
  
  destinationAttributes: {
     }
  
  requestAttributes: {
     }
    }
    resourceName: "projects/be-dev/locations/asia-northeast1/functions/chatbot_api_gateway_002_test"   
    serviceName: "cloudfunctions.googleapis.com"   
  
  status: {
     code: 3    
     message: "INVALID_ARGUMENT"    
    }
   }
   receiveTimestamp: "2020-02-05T09:53:42.771914617Z"  
  
  resource: {
  
  labels: {
     function_name: "chatbot_api_gateway_002_test"    
     project_id: "be-dev"    
     region: "asia-northeast1"    
    }
    type: "cloud_function"   
   }
   severity: "ERROR"  
   timestamp: "2020-02-05T09:53:42.153Z"  
  }
  </code></pre>
  
  <p>Any suggestions on how to fix it please?</p>