[ERROR] Angular compilation initialization failed. [plugin angular-compiler]
TypeError: Cannot read properties of undefined (reading 'moduleName')
at file:///home/jenkins/agent/workspace/D-20604-1B-UI-Pipeline-Dev-Story/node_modules/@angular/compiler-cli/bundles/chunk-YFIBJR5K.js:3187:43
at ModuleJob.run (node:internal/modules/esm/module_job:217:25)
at async ModuleLoader.import
(node:internal/modules/esm/loader:316:24)
at async importModuleDynamicallyWrapper (node:internal/vm/module:431:15)
at async AngularCompilation.loadCompilerCli (/home/jenkins/agent/workspace/D-20604-1B-UI-Pipeline-Dev-Story/node_modules/@angular-devkit/build-angular/src/tools/esbuild/angular/compilation/angular-compilation.js:44:13)
at async AotCompilation.initialize (/home/jenkins/agent/workspace/D-20604-1B-UI-Pipeline-Dev-Story/node_modules/@angular-devkit/build-angular/src/tools/esbuild/angular/compilation/aot-compilation.js:48:47)
at async initialize (/home/jenkins/agent/workspace/D-20604-1B-UI-Pipeline-Dev-Story/node_modules/@angular-devkit/build-angular/src/tools/esbuild/angular/compilation/parallel-worker.js:33:50)
at async /home/jenkins/agent/workspace/D-20604-1B-UI-Pipeline-Dev-Story/node_modules/piscina/dist/src/worker.js:141:26
Top comments (18)
client.go:195: [debug] error updating the resource "gcs-pet-print-fulfillment-service":
08:36:40 cannot patch "gcs-pet-print-fulfillment-service" with kind Deployment: Deployment.apps "gcs-pet-print-fulfillment-service" is invalid: spec.template.metadata.labels: Invalid value: map[string]string{"admission.datadoghq.com/config.mode":"service", "admission.datadoghq.com/enabled":"true", "tags.datadoghq.com/alliance":"USIS", "tags.datadoghq.com/business_application":"BAP0008751", "tags.datadoghq.com/business_service":"ASVE0041266", "tags.datadoghq.com/cluster":"gcs-non-prod-eks-cluster", "tags.datadoghq.com/env":"qa", "tags.datadoghq.com/region":"us-east-1", "tags.datadoghq.com/service":"gcs-pet-print-fulfillment-service", "tags.datadoghq.com/tribe":"D2C-Revenue", "tags.datadoghq.com/version":"0.37.0-feature-datadog-integration-SNAPSHOT", "uuid":"42f75432-3906-46e2-a3ea-4f6cdac4877d"}:
selector
does not match templatelabels
08:36:40 client.go:403: [debug] Looks like there are no changes for Ingress "gcs-pet-print-fulfillment-service-nginx"
08:36:40 upgrade.go:293: [debug] warning: Upgrade "gcs-pet-print-fulfillment-service" failed: cannot patch "gcs-pet-print-fulfillment-service" with kind Deployment: Deployment.apps "gcs-pet-print-fulfillment-service" is invalid: spec.template.metadata.labels: Invalid value: map[string]string{"admission.datadoghq.com/config.mode":"service", "admission.datadoghq.com/enabled":"true", "tags.datadoghq.com/alliance":"USIS", "tags.datadoghq.com/business_application":"BAP0008751", "tags.datadoghq.com/business_service":"ASVE0041266", "tags.datadoghq.com/cluster":"gcs-non-prod-eks-cluster", "tags.datadoghq.com/env":"qa", "tags.datadoghq.com/region":"us-east-1", "tags.datadoghq.com/service":"gcs-pet-print-fulfillment-service", "tags.datadoghq.com/tribe":"D2C-Revenue", "tags.datadoghq.com/version":"0.37.0-feature-datadog-integration-SNAPSHOT", "uuid":"42f75432-3906-46e2-a3ea-4f6cdac4877d"}:
selector
does not match templatelabels
08:36:40 Error: UPGRADE FAILED: cannot patch "gcs-pet-print-fulfillment-service" with kind Deployment: Deployment.apps "gcs-pet-print-fulfillment-service" is invalid: spec.template.metadata.labels: Invalid value: map[string]string{"admission.datadoghq.com/config.mode":"service", "admission.datadoghq.com/enabled":"true", "tags.datadoghq.com/alliance":"USIS", "tags.datadoghq.com/business_application":"BAP0008751", "tags.datadoghq.com/business_service":"ASVE0041266", "tags.datadoghq.com/cluster":"gcs-non-prod-eks-cluster", "tags.datadoghq.com/env":"qa", "tags.datadoghq.com/region":"us-east-1", "tags.datadoghq.com/service":"gcs-pet-print-fulfillment-service", "tags.datadoghq.com/tribe":"D2C-Revenue", "tags.datadoghq.com/version":"0.37.0-feature-datadog-integration-SNAPSHOT", "uuid":"42f75432-3906-46e2-a3ea-4f6cdac4877d"}:
selector
does not match templatelabels
08:36:40 helm.go:75: [debug] cannot patch "gcs-pet-print-fulfillment-service" with kind Deployment: Deployment.apps "gcs-pet-print-fulfillment-service" is invalid: spec.template.metadata.labels: Invalid value: map[string]string{"admission.datadoghq.com/config.mode":"service", "admission.datadoghq.com/enabled":"true", "tags.datadoghq.com/alliance":"USIS", "tags.datadoghq.com/business_application":"BAP0008751", "tags.datadoghq.com/business_service":"ASVE0041266", "tags.datadoghq.com/cluster":"gcs-non-prod-eks-cluster", "tags.datadoghq.com/env":"qa", "tags.datadoghq.com/region":"us-east-1", "tags.datadoghq.com/service":"gcs-pet-print-fulfillment-service", "tags.datadoghq.com/tribe":"D2C-Revenue", "tags.datadoghq.com/version":"0.37.0-feature-datadog-integration-SNAPSHOT", "uuid":"42f75432-3906-46e2-a3ea-4f6cdac4877d"}:
selector
does not match templatelabels
What are the changes that i should make
helm template gcs-pet-print-fulfillment-service -f values.yaml -f values-qa.yaml --set app.configmap.data.SPRING_PROFILES_ACTIVE=qa --set app.configmap.data.ENV=qa --set app.configmap.data.DATA_REGION=us --set app.deployment.spec.image=filler --set app.deployment.spec.version=1.0.0 -s templates/deployment.yaml .
12:59:49 Error: parse error at (gcs-pet-print-fulfillment-service/templates/deployment.yaml:99): unexpected EOF
upgrade.go:84: [debug] preparing upgrade for gcs-pet-print-fulfillment-service
12:52:20 Error: UPGRADE FAILED: error validating "": error validating data: ValidationError(Deployment.spec): missing required field "selector" in io.k8s.api.apps.v1.DeploymentSpec
12:52:20 helm.go:75: [debug] error validating "": error validating data: ValidationError(Deployment.spec): missing required field "selector" in io.k8s.api.apps.v1.DeploymentSpec
helm upgrade --install --namespace ren-beta-us --timeout 20m gcs-pet-saas -f pipeline-gen-helm-values.yaml -f values-beta.yaml --timeout 900s --debug ./ --wait --set app.configmap.data.SPRING_PROFILES_ACTIVE=beta --set app.configmap.data.ENV=beta --set app.configmap.data.DATA_REGION=us
09:19:31 history.go:52: [debug] getting history for release gcs-pet-saas
09:19:31 upgrade.go:84: [debug] preparing upgrade for gcs-pet-saas
09:19:32 upgrade.go:92: [debug] performing update for gcs-pet-saas
09:19:32 Error: UPGRADE FAILED: unable to build kubernetes objects from current release manifest: unable to recognize "": no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta2"
09:19:32 helm.go:75: [debug] unable to recognize "": no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta2"
09:19:32 unable to build kubernetes objects from current release manifest
Error: template: gcs-pet-print-fulfillment-service/templates/deployment.yaml:15:44: executing "gcs-pet-print-fulfillment-service/templates/deployment.yaml" at <.values.app.name>: nil pointer evaluating interface {}.app
export HOMEBREW_PREFIX="$HOME/homebrew"
curl -fsSL github.com/Homebrew/brew/tarball/m... | tar xz --strip 1 -C "$HOMEBREW_PREFIX"
SYSTEM_UNAVAILABLE ns:operationStatusMessageService unavailable, Service State:DATASOURCE_UNAVAILABLE/ns:operationStatusMessage
ns1:operationErrorSYSTEM_UNAVAILABLE/ns1:operationError
You can tag this #help to get help from fellow Angular users.
Sorry, I don't use Angular, so I can't help :(