Error creating executors with Bitnami Jenkins in GCP

Keywords: Jenkins - Google Cloud Platform - Technical issue - Other
bnsupport ID: b08891bf-f418-beb1-c589-47402dba6a60
Description:
I followed the instructions here: https://cloud.google.com/solutions/using-jenkins-for-distributed-builds-on-compute-engine to setup jenkins in GCP.

Jenkins is unable to create an executor. I get the following errors when I try to do a build

INFO [jenkins.util.Timer [#3]] com.google.jenkins.plugins.computeengine.ComputeEngineCloud.provision Provisioning node from config com.google.jenkins.plugins.computeengine.InstanceConfiguration@5dfe1682 for excess workload of 1 units of label ‘ubuntu-1604’
03-May-2019 17:29:38.990 WARNING [jenkins.util.Timer [#3]] com.google.jenkins.plugins.computeengine.ComputeEngineCloud.availableNodeCapacity An error occurred counting the number of existing instances in cloud GCE: 400 Bad Request
{
“code” : 400,
“errors” : [ {
“domain” : “global”,
“message” : “Invalid value for field ‘filter’: ‘(labels.jenkins_cloud_id eq )’. Invalid list filter expression.”,
“reason” : “invalid”
} ],
“message” : “Invalid value for field ‘filter’: ‘(labels.jenkins_cloud_id eq )’. Invalid list filter expression.”
}
03-May-2019 17:29:38.990 WARNING [jenkins.util.Timer [#3]] com.google.jenkins.plugins.computeengine.ComputeEngineCloud.provision Error provisioning node
com.google.api.client.googleapis.json.GoogleJsonResponseException: 400 Bad Request
{
“code” : 400,
“errors” : [ {
“domain” : “global”,
“message” : “Invalid value for field ‘filter’: ‘(labels.jenkins_cloud_id eq )’. Invalid list filter expression.”,
“reason” : “invalid”
} ],
“message” : “Invalid value for field ‘filter’: ‘(labels.jenkins_cloud_id eq )’. Invalid list filter expression.”
}
at com.google.api.client.googleapis.json.GoogleJsonResponseException.from(GoogleJsonResponseException.java:146)
at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:113)
at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:40)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest$1.interceptResponse(AbstractGoogleClientRequest.java:321)

Hi @Omoregieig,

According to this issue in the plugin’s project page, it seems the latest version may contain a bug. Could you please if using a different one solves the issue?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.