Uploaded image for project: 'Camel-K'
  1. Camel-K
  2. CMLK-1930

E2e TestBuilderTimeout fails with camel trait execution failed: signal: killed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Very Likely
    • 0

      On OCP 4.15, with CK 2.2.0 CK1 and setup:

      KAMEL_INSTALL_MAVEN_REPOSITORIES=http://nexus.test-infra.svc.cluster.local/repository/maven-proxy-2-2@mirrorOf=*;KAMEL_INSTALL_OLM=true;KAMEL_INSTALL_OLM_CHANNEL=stable-v2;KAMEL_INSTALL_OLM_PACKAGE=red-hat-camel-k;KAMEL_INSTALL_OLM_SOURCE=camel-k-source-2-2;KAMEL_RUN_PROFILE=OpenShift; KAMEL_BIN=<binary of 2.2.0ck1>

      TestBuilderTimeout in commonwithcustominstall/builder_test.go fails to run the integration:

      Operator pod log:

      {"level":"info","ts":"2024-04-09T12:05:49Z","logger":"camel-k.controller.integration","msg":"State transition","request-namespace":"test-623f7054-6237-42e4-b96f-df558d5952e9","request-name":"yamlklorr","api-version":"camel.apache.org/v1","kind":"Integration","ns":"test-623f7054-6237-42e4-b96f-df558d5952e9","name":"yamlklorr","phase-from":"","phase-to":"Error"}
      {"level":"info","ts":"2024-04-09T12:05:49Z","logger":"camel-k.controller.integration","msg":"Integration error","request-namespace":"test-623f7054-6237-42e4-b96f-df558d5952e9","request-name":"yamlklorr","api-version":"camel.apache.org/v1","kind":"Integration","ns":"test-623f7054-6237-42e4-b96f-df558d5952e9","name":"yamlklorr","reason":"InitializationFailed","error-message":"error during trait customization: camel trait execution failed: : signal: killed"}
      {"level":"error","ts":"2024-04-09T12:05:49Z","msg":"Reconciler error","controller":"integration-controller","controllerGroup":"camel.apache.org","controllerKind":"Integration","Integration":{"name":"yamlklorr","namespace":"test-623f7054-6237-42e4-b96f-df558d5952e9"},"namespace":"test-623f7054-6237-42e4-b96f-df558d5952e9","name":"yamlklorr","reconcileID":"ec1022ed-1ece-48e4-8de2-41ac6ebfe978","error":"error during trait customization: camel trait execution failed: : signal: killed","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tsigs.k8s.io/controller-runtime@v0.15.2/pkg/internal/controller/controller.go:324\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tsigs.k8s.io/controller-runtime@v0.15.2/pkg/internal/controller/controller.go:265\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\tsigs.k8s.io/controller-runtime@v0.15.2/pkg/internal/controller/controller.go:226"}
      $ oc describe it yamldgcls
      Name:         yamldgcls
      Namespace:    test-c6b320a3-6526-4dfb-bf4a-17fe2ff820ac
      Labels:       <none>
      Annotations:  camel.apache.org/operator.id: camel-k-test-c6b320a3-6526-4dfb-bf4a-17fe2ff820ac
      API Version:  camel.apache.org/v1
      Kind:         Integration
      Metadata:
        Creation Timestamp:  2024-04-09T12:28:45Z
        Generation:          1
        Managed Fields:
          API Version:  camel.apache.org/v1
          Fields Type:  FieldsV1
          fieldsV1:
            f:metadata:
              f:annotations:
                .:
                f:camel.apache.org/operator.id:
            f:spec:
              .:
              f:flows:
              f:profile:
              f:traits:
                .:
                f:builder:
                  .:
                  f:strategy:
          Manager:      kamel
          Operation:    Update
          Time:         2024-04-09T12:28:45Z
          API Version:  camel.apache.org/v1
          Fields Type:  FieldsV1
          fieldsV1:
            f:status:
              .:
              f:conditions:
              f:digest:
              f:observedGeneration:
              f:phase:
              f:platform:
          Manager:         kamel
          Operation:       Update
          Subresource:     status
          Time:            2024-04-09T12:28:55Z
        Resource Version:  14641697
        UID:               5c2a28c2-c9e5-4a73-ad64-4273e0ecd531
      Spec:
        Flows:
          From:
            Parameters:
              Period:  5000
            Steps:
              Set Header:
                Constant:  string!
                Name:      m
              Set Body:
                Simple:  Magic${header.m}
              To:        log:info
            Uri:         timer:yaml
        Profile:         OpenShift
        Traits:
          Builder:
            Strategy:  pod
      Status:
        Conditions:
          First Truthy Time:     2024-04-09T12:28:45Z
          Last Transition Time:  2024-04-09T12:28:45Z
          Last Update Time:      2024-04-09T12:28:45Z
          Message:               test-c6b320a3-6526-4dfb-bf4a-17fe2ff820ac/camel-k-test-c6b320a3-6526-4dfb-bf4a-17fe2ff820ac
          Reason:                IntegrationPlatformAvailable
          Status:                True
          Type:                  IntegrationPlatformAvailable
          Last Transition Time:  2024-04-09T12:28:55Z
          Last Update Time:      2024-04-09T12:28:55Z
          Message:               error during trait customization: camel trait execution failed: : signal: killed
          Reason:                InitializationFailed
          Status:                False
          Type:                  Ready
        Digest:                  vVKi5mu2QKN7vfMNRWdNoWbBK4RZyXJiPAE6FIdPk2-Q
        Observed Generation:     1
        Phase:                   Error
        Platform:                camel-k-test-c6b320a3-6526-4dfb-bf4a-17fe2ff820ac
      Events:
        Type     Reason            Age   From                            Message
        ----     ------            ----  ----                            -------
        Warning  IntegrationError  14m   camel-k-integration-controller  Cannot reconcile Integration yamldgcls: error during trait customization: camel trait execution failed: : signal: killed
      
      

              Unassigned Unassigned
              lfabriko@redhat.com Lucie Krejcirova
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: