# The pipeline seems broken

**URL:** <https://forums.suse.com/t/the-pipeline-seems-broken/18079>\
**Category:** SUSE Rancher Prime\
**Created:** [August 2, 2020, 1:02am UTC](https://forums.suse.com/t/the-pipeline-seems-broken/18079 "2020-08-02T01:02:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MichelDiz](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/micheldiz/32/2991_2.png) [@MichelDiz](https://forums.suse.com/u/MichelDiz)\
**Post date:** [August 2, 2020, 1:02am UTC](https://forums.suse.com/t/the-pipeline-seems-broken/18079/1 "2020-08-02T01:02:28Z")

</div>

For some reason the pipeline system is not working despite all the pods being healthy. Any help?

| Component | Version |
| --- | --- |
| Rancher | v2.4.5 |
| User Interface | v2.4.28 |
| Helm | v2.16.8-rancher1 |
| Machine | v0.15.0-rancher43 |

The pipeline says

> Setting up jenkins. If it is not deployed, this can take a few minutes.

It is running for about 35 minutes and doesn’t change the state.

Cheers.

## My yaml

```
stages:
- name: Build
  steps:
  - runScriptConfig:
      image: alpine/git:latest
      shellScript: |-
        git clone https://github.com/myname/tutorial.git
        ls
        pwd
- name: Publish
  steps:
  - publishImageConfig:
      dockerfilePath: ./Dockerfile
      buildContext: .
      tag: myname/localhugo:0.73.0
      pushRemote: true
notification: {}

```

* * *

```
INFO: Disconnected computer buildpod.pipeline-p-skwzq-4.1-7s06n-vmwkj

01/08/2020 21:56:45 ERROR: Failed to delete pod for agent p-fbq69-pipeline/buildpod.pipeline-p-skwzq-4.1-7s06n-vmwkj: not found

01/08/2020 21:56:45 Disconnected computer buildpod.pipeline-p-skwzq-4.1-7s06n-vmwkj

01/08/2020 21:56:47 Aug 02, 2020 12:56:47 AM org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud provision

01/08/2020 21:56:47 INFO: Excess workload after pending Kubernetes agents: 1

01/08/2020 21:56:47 Aug 02, 2020 12:56:47 AM org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud provision

01/08/2020 21:56:47 INFO: Template for label buildpod.pipeline_p_skwzq_4.1: Kubernetes Pod Template

01/08/2020 21:56:47 Aug 02, 2020 12:56:47 AM hudson.slaves.NodeProvisioner$StandardStrategyImpl apply

01/08/2020 21:56:47 INFO: Started provisioning Kubernetes Pod Template from kubernetes with 1 executors. Remaining excess workload: 0

01/08/2020 21:56:49 Aug 02, 2020 12:56:49 AM hudson.slaves.NodeProvisioner$2 run

01/08/2020 21:56:49 INFO: Kubernetes Pod Template provisioning successfully completed. We have now 2 computer(s)

01/08/2020 21:56:49 Aug 02, 2020 12:56:49 AM org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud provision

01/08/2020 21:56:49 INFO: Excess workload after pending Kubernetes agents: 0

01/08/2020 21:56:49 Aug 02, 2020 12:56:49 AM org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud provision

01/08/2020 21:56:49 INFO: Template for label buildpod.pipeline_p_skwzq_4.1: Kubernetes Pod Template

01/08/2020 21:56:49 Aug 02, 2020 12:56:49 AM org.csanchez.jenkins.plugins.kubernetes.KubernetesLauncher launch

01/08/2020 21:56:49 WARNING: Error in provisioning; agent=KubernetesSlave name: buildpod.pipeline-p-skwzq-4.1-7s06n-cw6nm, template=PodTemplate{, name='buildpod.pipeline_p_skwzq_4.1-7s06n', namespace='p-fbq69-pipeline', instanceCap=1, label='buildpod.pipeline_p_skwzq_4.1', nodeUsageMode=EXCLUSIVE, annotations=[org.csanchez.jenkins.plugins.kubernetes.PodAnnotation@aab9c821]}

01/08/2020 21:56:49 io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://kubernetes.default/api/v1/namespaces/p-fbq69-pipeline/pods. Message: Pod "buildpod.pipeline-p-skwzq-4.1-7s06n-cw6nm" is invalid: [spec.containers[3].env[5].valueFrom.secretKeyRef.name: Invalid value: "p-fbq69-": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*'), spec.containers[3].env[6].valueFrom.secretKeyRef.name: Invalid value: "p-fbq69-": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')]. Received status: Status(apiVersion=v1, code=422, details=StatusDetails(causes=[StatusCause(field=spec.containers[3].env[5].valueFrom.secretKeyRef.name, message=Invalid value: "p-fbq69-": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*'), reason=FieldValueInvalid, additionalProperties={}), StatusCause(field=spec.containers[3].env[6].valueFrom.secretKeyRef.name, message=Invalid value: "p-fbq69-": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*'), reason=FieldValueInvalid, additionalProperties={})], group=null, kind=Pod, name=buildpod.pipeline-p-skwzq-4.1-7s06n-cw6nm, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=Pod "buildpod.pipeline-p-skwzq-4.1-7s06n-cw6nm" is

invalid: [spec.containers[3].env[5].valueFrom.secretKeyRef.name: Invalid value: "p-fbq69-": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*'), spec.containers[3].env[6].valueFrom.secretKeyRef.name: Invalid value: "p-fbq69-": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')], metadata=ListMeta(_continue=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=Invalid, status=Failure, additionalProperties={}).

01/08/2020 21:56:49 at io.fabric8.kubernetes.client.dsl.base.OperationSupport.requestFailure(OperationSupport.java:503)

01/08/2020 21:56:49 at io.fabric8.kubernetes.client.dsl.base.OperationSupport.assertResponseCode(OperationSupport.java:442)

01/08/2020 21:56:49 at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:406)

01/08/2020 21:56:49 at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:365)

01/08/2020 21:56:49 at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleCreate(OperationSupport.java:234)

01/08/2020 21:56:49 at io.fabric8.kubernetes.client.dsl.base.BaseOperation.handleCreate(BaseOperation.java:796)

01/08/2020 21:56:49 at io.fabric8.kubernetes.client.dsl.base.BaseOperation.create(BaseOperation.java:326)

01/08/2020 21:56:49 at io.fabric8.kubernetes.client.dsl.base.BaseOperation.create(BaseOperation.java:322)

01/08/2020 21:56:49 at org.csanchez.jenkins.plugins.kubernetes.KubernetesLauncher.launch(KubernetesLauncher.java:124)

01/08/2020 21:56:49 at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:294)

01/08/2020 21:56:49 at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)

01/08/2020 21:56:49 at jenkins.security.ImpersonatingExecutorService$2.call(ImpersonatingExecutorService.java:71)

01/08/2020 21:56:49 at java.util.concurrent.FutureTask.run(FutureTask.java:266)

01/08/2020 21:56:49 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

01/08/2020 21:56:49 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

01/08/2020 21:56:49 at java.lang.Thread.run(Thread.java:748)

01/08/2020 21:56:49

01/08/2020 21:56:49 Aug 02, 2020 12:56:49 AM org.csanchez.jenkins.plugins.kubernetes.KubernetesSlave _terminate

01/08/2020 21:56:49 INFO: Terminating Kubernetes instance for agent buildpod.pipeline-p-skwzq-4.1-7s06n-cw6nm

01/08/2020 21:56:49 Aug 02, 2020 12:56:49 AM org.csanchez.jenkins.plugins.kubernetes.KubernetesSlave deleteSlavePod

01/08/2020 21:56:49 WARNING: Failed to delete pod for agent p-fbq69-pipeline/buildpod.pipeline-p-skwzq-4.1-7s06n-cw6nm: not found

01/08/2020 21:56:49 ERROR: Failed to delete pod for agent p-fbq69-pipeline/buildpod.pipeline-p-skwzq-4.1-7s06n-cw6nm: not found

01/08/2020 21:56:49 Disconnected computer buildpod.pipeline-p-skwzq-4.1-7s06n-cw6nm

```

* * *

```
Aug 02, 2020 2:09:13 AM org.csanchez.jenkins.plugins.kubernetes.KubernetesSlave _terminate

01/08/2020 23:09:13 INFO: Terminating Kubernetes instance for agent buildpod.pipeline-p-skwzq-6.1-97wr7-00qs9

01/08/2020 23:09:13 ERROR: Failed to delete pod for agent p-fbq69-pipeline/buildpod.pipeline-p-skwzq-6.1-97wr7-00qs9: not found

01/08/2020 23:09:13 Disconnected computer buildpod.pipeline-p-skwzq-6.1-97wr7-00qs9

01/08/2020 23:09:13 Aug 02, 2020 2:09:13 AM org.csanchez.jenkins.plugins.kubernetes.KubernetesSlave deleteSlavePod

01/08/2020 23:09:13 WARNING: Failed to delete pod for agent p-fbq69-pipeline/buildpod.pipeline-p-skwzq-6.1-97wr7-00qs9: not found

01/08/2020 23:09:13 Aug 02, 2020 2:09:13 AM org.csanchez.jenkins.plugins.kubernetes.KubernetesSlave _terminate

01/08/2020 23:09:13 INFO: Disconnected computer buildpod.pipeline-p-skwzq-6.1-97wr7-00qs9

```
