-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: CI/CD
-
Epic Link:
-
Team:PLATFORM
-
Sprint:nxplatform #21
-
Story Points:1
If $BRANCH_NAME == 2021, then we get:
11:36:23 + jx step helm install local-jenkins-x/nuxeo --version=1.1.1 --name=test-release --namespace=nuxeo-unit-tests-2021-8-runtime --set-file=ci/helm/nuxeo-test-base-values.yaml~gen --set-file=ci/helm/nuxeo-test-kafka-values.yaml~gen 11:36:23 Cloning the Jenkins X versions repo https://github.com/jenkins-x/jenkins-x-versions.git with ref refs/heads/master to /root/.jx/jenkins-x-versions 11:36:26 Namespace nuxeo-unit-tests-2021-8-runtime created 11:36:27 error: failed to run 'kubectl apply --recursive -f /tmp/helm-template-workdir-330694493/test-release/output/namespaces/nuxeo-unit-tests-2021-8-runtime -l jenkins.io/chart-release=test-release --namespace nuxeo-unit-tests-2021-8-runtime --validate=false' command in directory '', output: 'configmap/test-release-zookeeper created 11:36:27 poddisruptionbudget.policy/test-release-zookeeper created 11:36:27 service/test-release-zookeeper-headless created 11:36:27 service/test-release-zookeeper created 11:36:27 statefulset.apps/test-release-zookeeper created 11:36:27 service/test-release-kafka created 11:36:27 service/test-release-kafka-headless created 11:36:27 configmap/test-release-redis-scripts created 11:36:27 configmap/test-release-redis created 11:36:27 service/test-release-redis-headless created 11:36:27 configmap/test-release-redis-health created 11:36:27 Error from server (BadRequest): error when creating "/tmp/helm-template-workdir-330694493/test-release/output/namespaces/nuxeo-unit-tests-2021-8-runtime/nuxeo/charts/kafka/templates/part0-statefulset.yaml": StatefulSet in version "v1" cannot be handled as a StatefulSet: v1.StatefulSet.Spec: v1.StatefulSetSpec.Template: v1.PodTemplateSpec.ObjectMeta: v1.ObjectMeta.Labels: ReadString: expects " or n, but found 2, error found in #10 byte of ...|"branch":2021,"helm.|..., bigger context ...|iller","app.kubernetes.io/name":"kafka","branch":2021,"helm.sh/chart":"kafka-0.20.9","resource":"pod|... 11:36:27 Error from server (BadRequest): error when creating "/tmp/helm-template-workdir-330694493/test-release/output/namespaces/nuxeo-unit-tests-2021-8-runtime/nuxeo/charts/redis/templates/part0-redis-master-statefulset.yaml": StatefulSet in version "v1" cannot be handled as a StatefulSet: v1.StatefulSet.Spec: v1.StatefulSetSpec.Template: v1.PodTemplateSpec.ObjectMeta: v1.ObjectMeta.Labels: ReadString: expects " or n, but found 2, error found in #10 byte of ...|"branch":2021,"chart|..., bigger context ...|5991b7852b855"},"labels":{"app":"redis","branch":2021,"chart":"redis-11.2.3","release":"test-release|... 11:36:27 unable to decode "/tmp/helm-template-workdir-330694493/test-release/output/namespaces/nuxeo-unit-tests-2021-8-runtime/nuxeo/charts/redis/templates/part0-redis-master-svc.yaml": resource.metadataOnlyObject.ObjectMeta: v1.ObjectMeta.Labels: ReadString: expects " or n, but found 2, error found in #10 byte of ...|"branch":2021,"chart|..., bigger context ...|chart":"nuxeo"},"labels":{"app":"redis","branch":2021,"chart":"redis-11.2.3","heritage":"Tiller","je|...'
- Is referenced in