ResultFAILURE
Tests 2 failed / 273 succeeded
Started2024-10-28 12:09
Elapsed28m31s
Revision5a87c4a7bc2fcdb559f4fb8935701f5be140a91e
Refs 8264

Test Failures


test TestCancelActivePipelineRunWithCompletedTaskRuns 0.03s

go run hack/e2e.go -v --test --test_args='--ginkgo.focus=test\sTestCancelActivePipelineRunWithCompletedTaskRuns$'
from junit_nqbnJUpI.xml

test TestCancelActivePipelineRunWithCompletedTaskRuns/status=Cancelled 7.22s

go run hack/e2e.go -v --test --test_args='--ginkgo.focus=test\sTestCancelActivePipelineRunWithCompletedTaskRuns\/status\=Cancelled$'
    cancel_test.go:196: Create namespace arendelle-khdgz to deploy to
    cancel_test.go:196: Verify SA "default" is created in namespace "arendelle-khdgz"
    cancel_test.go:221: Creating PipelineRun in namespace arendelle-khdgz
    cancel_test.go:226: Waiting for Pipelinerun cancel-active-pipeline-run-with-completed-mqkqwolu in namespace arendelle-khdgz to be started
    cancel_test.go:236: Waiting for PipelineRun cancel-active-pipeline-run-with-completed-mqkqwolu from namespace arendelle-khdgz with one TaskRun succeeded and another one running.
    cancel_test.go:273: Waiting for PipelineRun cancel-active-pipeline-run-with-completed-mqkqwolu in namespace arendelle-khdgz to be cancelled
    cancel_test.go:278: Waiting for TaskRuns in PipelineRun cancel-active-pipeline-run-with-completed-mqkqwolu in namespace arendelle-khdgz to be cancelled
    cancel_test.go:301: The status is TaskRunCancelled, but it should be empty.
    panic.go:626: ############################################
    panic.go:626: ### Dumping objects from arendelle-khdgz ###
    panic.go:626: ############################################
    panic.go:626: 
        ---
        apiVersion: tekton.dev/v1
        kind: TaskRun
        metadata:
          annotations:
            pipeline.tekton.dev/release: 153460d-dirty
          creationTimestamp: "2024-10-28T12:19:58Z"
          generation: 2
          labels:
            app.kubernetes.io/managed-by: tekton-pipelines
            tekton.dev/memberOf: tasks
            tekton.dev/pipeline: cancel-active-pipeline-run-with-completed-mqkqwolu
            tekton.dev/pipelineRun: cancel-active-pipeline-run-with-completed-mqkqwolu
            tekton.dev/pipelineRunUID: a549cd1d-dbf9-418c-b2e2-74d965cb5c33
            tekton.dev/pipelineTask: task-succeeded
          name: cancel-active-pi647a0c9ac9d872b4e3bb94f02ebf5014-task-succeeded
          namespace: arendelle-khdgz
          ownerReferences:
          - apiVersion: tekton.dev/v1
            blockOwnerDeletion: true
            controller: true
            kind: PipelineRun
            name: cancel-active-pipeline-run-with-completed-mqkqwolu
            uid: a549cd1d-dbf9-418c-b2e2-74d965cb5c33
          resourceVersion: "3025"
          uid: 63023718-b727-468b-b3d0-23efa2deca40
        spec:
          serviceAccountName: default
          status: TaskRunCancelled
          statusMessage: TaskRun cancelled as the PipelineRun it belongs to has been cancelled.
          taskSpec:
            steps:
            - computeResources: {}
              image: mirror.gcr.io/busybox
              name: ""
              script: sleep 1
          timeout: 1h0m0s
        status:
          artifacts: {}
          completionTime: "2024-10-28T12:20:03Z"
          conditions:
          - lastTransitionTime: "2024-10-28T12:20:03Z"
            message: All Steps have completed executing
            reason: Succeeded
            status: "True"
            type: Succeeded
          podName: cancel-active-pi647a0c9ac9d2fefe1475598b1e46c21b43a9bdbe512-pod
          provenance:
            featureFlags:
              AwaitSidecarReadiness: true
              Coschedule: workspaces
              DisableAffinityAssistant: false
              DisableCredsInit: false
              DisableInlineSpec: ""
              EnableAPIFields: beta
              EnableArtifacts: false
              EnableCELInWhenExpression: false
              EnableConciseResolverSyntax: false
              EnableKeepPodOnCancel: false
              EnableKubernetesSidecar: false
              EnableParamEnum: false
              EnableProvenanceInStatus: true
              EnableStepActions: true
              EnforceNonfalsifiability: none
              MaxResultSize: 4096
              RequireGitSSHSecretKnownHosts: false
              ResultExtractionMethod: sidecar-logs
              RunningInEnvWithInjectedSidecars: true
              SendCloudEventsForRuns: false
              SetSecurityContext: false
              VerificationNoMatchPolicy: ignore
          startTime: "2024-10-28T12:19:58Z"
          steps:
          - container: step-unnamed-0
            imageID: mirror.gcr.io/busybox@sha256:768e5c6f5cb6db0794eec98dc7a967f40631746c32232b78a3105fb946f3ab83
            name: unnamed-0
            terminated:
              containerID: containerd://e01d9d90ecc55eeef1f88972adc493e6453fe15e5f3bd076b40ab01ef6981174
              exitCode: 0
              finishedAt: "2024-10-28T12:20:03Z"
              reason: Completed
              startedAt: "2024-10-28T12:20:02Z"
            terminationReason: Completed
          taskSpec:
            steps:
            - computeResources: {}
              image: mirror.gcr.io/busybox
              name: ""
              script: sleep 1
        
        ---
        apiVersion: tekton.dev/v1
        kind: TaskRun
        metadata:
          annotations:
            pipeline.tekton.dev/release: 153460d-dirty
          creationTimestamp: "2024-10-28T12:19:58Z"
          generation: 2
          labels:
            app.kubernetes.io/managed-by: tekton-pipelines
            tekton.dev/memberOf: tasks
            tekton.dev/pipeline: cancel-active-pipeline-run-with-completed-mqkqwolu
            tekton.dev/pipelineRun: cancel-active-pipeline-run-with-completed-mqkqwolu
            tekton.dev/pipelineRunUID: a549cd1d-dbf9-418c-b2e2-74d965cb5c33
            tekton.dev/pipelineTask: task-running
          name: cancel-active-pipeline-run-with-completed-mqkqwolu-task-running
          namespace: arendelle-khdgz
          ownerReferences:
          - apiVersion: tekton.dev/v1
            blockOwnerDeletion: true
            controller: true
            kind: PipelineRun
            name: cancel-active-pipeline-run-with-completed-mqkqwolu
            uid: a549cd1d-dbf9-418c-b2e2-74d965cb5c33
          resourceVersion: "3032"
          uid: 67991936-d6a8-4c47-a5ab-6805fe322cad
        spec:
          serviceAccountName: default
          status: TaskRunCancelled
          statusMessage: TaskRun cancelled as the PipelineRun it belongs to has been cancelled.
          taskSpec:
            steps:
            - computeResources: {}
              image: mirror.gcr.io/busybox
              name: ""
              script: sleep 5000
          timeout: 1h0m0s
        status:
          completionTime: "2024-10-28T12:20:04Z"
          conditions:
          - lastTransitionTime: "2024-10-28T12:20:04Z"
            message: TaskRun "cancel-active-pipeline-run-with-completed-mqkqwolu-task-running"
              was cancelled. TaskRun cancelled as the PipelineRun it belongs to has been cancelled.
            reason: TaskRunCancelled
            status: "False"
            type: Succeeded
          podName: cancel-active-pipeline-run-64474f4ccf2afe41382e3913e6f3eeee-pod
          provenance:
            featureFlags:
              AwaitSidecarReadiness: true
              Coschedule: workspaces
              DisableAffinityAssistant: false
              DisableCredsInit: false
              DisableInlineSpec: ""
              EnableAPIFields: beta
              EnableArtifacts: false
              EnableCELInWhenExpression: false
              EnableConciseResolverSyntax: false
              EnableKeepPodOnCancel: false
              EnableKubernetesSidecar: false
              EnableParamEnum: false
              EnableProvenanceInStatus: true
              EnableStepActions: true
              EnforceNonfalsifiability: none
              MaxResultSize: 4096
              RequireGitSSHSecretKnownHosts: false
              ResultExtractionMethod: sidecar-logs
              RunningInEnvWithInjectedSidecars: true
              SendCloudEventsForRuns: false
              SetSecurityContext: false
              VerificationNoMatchPolicy: ignore
          startTime: "2024-10-28T12:19:58Z"
          steps:
          - container: step-unnamed-0
            imageID: mirror.gcr.io/busybox@sha256:768e5c6f5cb6db0794eec98dc7a967f40631746c32232b78a3105fb946f3ab83
            name: unnamed-0
            terminated:
              exitCode: 1
              finishedAt: "2024-10-28T12:20:04Z"
              message: Step unnamed-0 terminated as pod cancel-active-pipeline-run-64474f4ccf2afe41382e3913e6f3eeee-pod
                is terminated
              reason: TaskRunCancelled
              startedAt: "2024-10-28T12:20:00Z"
            terminationReason: TaskRunCancelled
          taskSpec:
            steps:
            - computeResources: {}
              image: mirror.gcr.io/busybox
              name: ""
              script: sleep 5000
        
        ---
        apiVersion: tekton.dev/v1
        kind: PipelineRun
        metadata:
          creationTimestamp: "2024-10-28T12:19:58Z"
          generation: 2
          labels:
            tekton.dev/pipeline: cancel-active-pipeline-run-with-completed-mqkqwolu
          name: cancel-active-pipeline-run-with-completed-mqkqwolu
          namespace: arendelle-khdgz
          resourceVersion: "3031"
          uid: a549cd1d-dbf9-418c-b2e2-74d965cb5c33
        spec:
          pipelineSpec:
            tasks:
            - name: task-succeeded
              taskSpec:
                metadata: {}
                spec: null
                steps:
                - computeResources: {}
                  image: mirror.gcr.io/busybox
                  name: ""
                  script: sleep 1
            - name: task-running
              taskSpec:
                metadata: {}
                spec: null
                steps:
                - computeResources: {}
                  image: mirror.gcr.io/busybox
                  name: ""
                  script: sleep 5000
          status: Cancelled
          taskRunTemplate:
            serviceAccountName: default
          timeouts:
            pipeline: 1h0m0s
        status:
          childReferences:
          - apiVersion: tekton.dev/v1
            kind: TaskRun
            name: cancel-active-pi647a0c9ac9d872b4e3bb94f02ebf5014-task-succeeded
            pipelineTaskName: task-succeeded
          - apiVersion: tekton.dev/v1
            kind: TaskRun
            name: cancel-active-pipeline-run-with-completed-mqkqwolu-task-running
            pipelineTaskName: task-running
          completionTime: "2024-10-28T12:20:04Z"
          conditions:
          - lastTransitionTime: "2024-10-28T12:20:04Z"
            message: PipelineRun "cancel-active-pipeline-run-with-completed-mqkqwolu" was
              cancelled
            reason: Cancelled
            status: "False"
            type: Succeeded
          pipelineSpec:
            tasks:
            - name: task-succeeded
              taskSpec:
                metadata: {}
                spec: null
                steps:
                - computeResources: {}
                  image: mirror.gcr.io/busybox
                  name: ""
                  script: sleep 1
            - name: task-running
              taskSpec:
                metadata: {}
                spec: null
                steps:
                - computeResources: {}
                  image: mirror.gcr.io/busybox
                  name: ""
                  script: sleep 5000
          provenance:
            featureFlags:
              AwaitSidecarReadiness: true
              Coschedule: workspaces
              DisableAffinityAssistant: false
              DisableCredsInit: false
              DisableInlineSpec: ""
              EnableAPIFields: beta
              EnableArtifacts: false
              EnableCELInWhenExpression: false
              EnableConciseResolverSyntax: false
              EnableKeepPodOnCancel: false
              EnableKubernetesSidecar: false
              EnableParamEnum: false
              EnableProvenanceInStatus: true
              EnableStepActions: true
              EnforceNonfalsifiability: none
              MaxResultSize: 4096
              RequireGitSSHSecretKnownHosts: false
              ResultExtractionMethod: sidecar-logs
              RunningInEnvWithInjectedSidecars: true
              SendCloudEventsForRuns: false
              SetSecurityContext: false
              VerificationNoMatchPolicy: ignore
          startTime: "2024-10-28T12:19:58Z"
        
        ---
        metadata:
          annotations:
            pipeline.tekton.dev/release: 153460d-dirty
            tekton.dev/ready: READY
          creationTimestamp: "2024-10-28T12:19:58Z"
          labels:
            app.kubernetes.io/managed-by: tekton-pipelines
            tekton.dev/memberOf: tasks
            tekton.dev/pipeline: cancel-active-pipeline-run-with-completed-mqkqwolu
            tekton.dev/pipelineRun: cancel-active-pipeline-run-with-completed-mqkqwolu
            tekton.dev/pipelineRunUID: a549cd1d-dbf9-418c-b2e2-74d965cb5c33
            tekton.dev/pipelineTask: task-succeeded
            tekton.dev/taskRun: cancel-active-pi647a0c9ac9d872b4e3bb94f02ebf5014-task-succeeded
            tekton.dev/taskRunUID: 63023718-b727-468b-b3d0-23efa2deca40
          name: cancel-active-pi647a0c9ac9d2fefe1475598b1e46c21b43a9bdbe512-pod
          namespace: arendelle-khdgz
          ownerReferences:
          - apiVersion: tekton.dev/v1
            blockOwnerDeletion: true
            controller: true
            kind: TaskRun
            name: cancel-active-pi647a0c9ac9d872b4e3bb94f02ebf5014-task-succeeded
            uid: 63023718-b727-468b-b3d0-23efa2deca40
          resourceVersion: "3036"
          uid: f746c4a0-dc37-4bde-8576-f2661ea15ea3
        spec:
          activeDeadlineSeconds: 5400
          containers:
          - args:
            - -wait_file
            - /tekton/downward/ready
            - -wait_file_content
            - -post_file
            - /tekton/run/0/out
            - -termination_path
            - /tekton/termination
            - -step_metadata_dir
            - /tekton/run/0/status
            - -entrypoint
            - /tekton/scripts/script-0-rsm2j
            - --
            command:
            - /tekton/bin/entrypoint
            image: mirror.gcr.io/busybox
            imagePullPolicy: Always
            name: step-unnamed-0
            resources: {}
            terminationMessagePath: /tekton/termination
            terminationMessagePolicy: File
            volumeMounts:
            - mountPath: /tekton/scripts
              name: tekton-internal-scripts
              readOnly: true
            - mountPath: /tekton/downward
              name: tekton-internal-downward
              readOnly: true
            - mountPath: /tekton/creds
              name: tekton-creds-init-home-0
            - mountPath: /tekton/run/0
              name: tekton-internal-run-0
            - mountPath: /tekton/bin
              name: tekton-internal-bin
              readOnly: true
            - mountPath: /workspace
              name: tekton-internal-workspace
            - mountPath: /tekton/home
              name: tekton-internal-home
            - mountPath: /tekton/results
              name: tekton-internal-results
            - mountPath: /tekton/steps
              name: tekton-internal-steps
              readOnly: true
            - mountPath: /tekton/artifacts
              name: tekton-internal-artifacts
            - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
              name: kube-api-access-5z5n7
              readOnly: true
          dnsPolicy: ClusterFirst
          enableServiceLinks: true
          initContainers:
          - command:
            - /ko-app/entrypoint
            - init
            - /ko-app/entrypoint
            - /tekton/bin/entrypoint
            - step-unnamed-0
            image: registry.local:5000/entrypoint-bff0a22da108bc2f16c818c97641a296@sha256:1d03a3346abca884c5a038c635ffa5559e0fa14848ac9a24eeb462bd29aad73e
            imagePullPolicy: IfNotPresent
            name: prepare
            resources: {}
            terminationMessagePath: /dev/termination-log
            terminationMessagePolicy: File
            volumeMounts:
            - mountPath: /tekton/bin
              name: tekton-internal-bin
            - mountPath: /tekton/steps
              name: tekton-internal-steps
            - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
              name: kube-api-access-5z5n7
              readOnly: true
            workingDir: /
          - args:
            - -c
            - |
              scriptfile="/tekton/scripts/script-0-rsm2j"
              touch ${scriptfile} && chmod +x ${scriptfile}
              cat > ${scriptfile} << '_EOF_'
              IyEvYmluL3NoCnNldCAtZQpzbGVlcCAx
              _EOF_
              /tekton/bin/entrypoint decode-script "${scriptfile}"
            command:
            - sh
            image: cgr.dev/chainguard/busybox@sha256:19f02276bf8dbdd62f069b922f10c65262cc34b710eea26ff928129a736be791
            imagePullPolicy: IfNotPresent
            name: place-scripts
            resources: {}
            terminationMessagePath: /dev/termination-log
            terminationMessagePolicy: File
            volumeMounts:
            - mountPath: /tekton/scripts
              name: tekton-internal-scripts
            - mountPath: /tekton/bin
              name: tekton-internal-bin
            - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
              name: kube-api-access-5z5n7
              readOnly: true
          nodeName: kind-worker2
          preemptionPolicy: PreemptLowerPriority
          priority: 0
          restartPolicy: Never
          schedulerName: default-scheduler
          securityContext: {}
          serviceAccount: default
          serviceAccountName: default
          terminationGracePeriodSeconds: 30
          tolerations:
          - effect: NoExecute
            key: node.kubernetes.io/not-ready
            operator: Exists
            tolerationSeconds: 300
          - effect: NoExecute
            key: node.kubernetes.io/unreachable
            operator: Exists
            tolerationSeconds: 300
          volumes:
          - emptyDir: {}
            name: tekton-internal-workspace
          - emptyDir: {}
            name: tekton-internal-home
          - emptyDir: {}
            name: tekton-internal-results
          - emptyDir: {}
            name: tekton-internal-steps
          - emptyDir: {}
            name: tekton-internal-artifacts
          - emptyDir: {}
            name: tekton-internal-scripts
          - emptyDir: {}
            name: tekton-internal-bin
          - downwardAPI:
              defaultMode: 420
              items:
              - fieldRef:
                  apiVersion: v1
                  fieldPath: metadata.annotations['tekton.dev/ready']
                path: ready
            name: tekton-internal-downward
          - emptyDir:
              medium: Memory
            name: tekton-creds-init-home-0
          - emptyDir: {}
            name: tekton-internal-run-0
          - name: kube-api-access-5z5n7
            projected:
              defaultMode: 420
              sources:
              - serviceAccountToken:
                  expirationSeconds: 3607
                  path: token
              - configMap:
                  items:
                  - key: ca.crt
                    path: ca.crt
                  name: kube-root-ca.crt
              - downwardAPI:
                  items:
                  - fieldRef:
                      apiVersion: v1
                      fieldPath: metadata.namespace
                    path: namespace
        status:
          conditions:
          - lastProbeTime: null
            lastTransitionTime: "2024-10-28T12:20:00Z"
            reason: PodCompleted
            status: "True"
            type: Initialized
          - lastProbeTime: null
            lastTransitionTime: "2024-10-28T12:20:03Z"
            reason: PodCompleted
            status: "False"
            type: Ready
          - lastProbeTime: null
            lastTransitionTime: "2024-10-28T12:20:03Z"
            reason: PodCompleted
            status: "False"
            type: ContainersReady
          - lastProbeTime: null
            lastTransitionTime: "2024-10-28T12:19:58Z"
            status: "True"
            type: PodScheduled
          containerStatuses:
          - containerID: containerd://e01d9d90ecc55eeef1f88972adc493e6453fe15e5f3bd076b40ab01ef6981174
            image: mirror.gcr.io/busybox:latest
            imageID: mirror.gcr.io/busybox@sha256:768e5c6f5cb6db0794eec98dc7a967f40631746c32232b78a3105fb946f3ab83
            lastState: {}
            name: step-unnamed-0
            ready: false
            restartCount: 0
            started: false
            state:
              terminated:
                containerID: containerd://e01d9d90ecc55eeef1f88972adc493e6453fe15e5f3bd076b40ab01ef6981174
                exitCode: 0
                finishedAt: "2024-10-28T12:20:03Z"
                message: '[{"key":"StartedAt","value":"2024-10-28T12:20:02.024Z","type":3}]'
                reason: Completed
                startedAt: "2024-10-28T12:20:01Z"
          hostIP: 172.18.0.4
          initContainerStatuses:
          - containerID: containerd://2d4b843867ca7481284f69305f0e351df39d95297e8c5c53323dcaa4e03bd439
            image: sha256:774e3c67fe4193826bb0dcd0e71f6340bc0d8058bfa6b4b778e616f90018129a
            imageID: registry.local:5000/entrypoint-bff0a22da108bc2f16c818c97641a296@sha256:1d03a3346abca884c5a038c635ffa5559e0fa14848ac9a24eeb462bd29aad73e
            lastState: {}
            name: prepare
            ready: true
            restartCount: 0
            started: false
            state:
              terminated:
                containerID: containerd://2d4b843867ca7481284f69305f0e351df39d95297e8c5c53323dcaa4e03bd439
                exitCode: 0
                finishedAt: "2024-10-28T12:19:59Z"
                reason: Completed
                startedAt: "2024-10-28T12:19:58Z"
          - containerID: containerd://a93169bf1833399fd0f48d65bc3dbc3f8ec2697f9fd66cbe77fbdcb7393d3dd4
            image: sha256:de4aee9d163a31b5b3cd9b7b59648baa507d1ac4cfd4904011c4dedaab49214b
            imageID: cgr.dev/chainguard/busybox@sha256:19f02276bf8dbdd62f069b922f10c65262cc34b710eea26ff928129a736be791
            lastState: {}
            name: place-scripts
            ready: true
            restartCount: 0
            started: false
            state:
              terminated:
                containerID: containerd://a93169bf1833399fd0f48d65bc3dbc3f8ec2697f9fd66cbe77fbdcb7393d3dd4
                exitCode: 0
                finishedAt: "2024-10-28T12:19:59Z"
                reason: Completed
                startedAt: "2024-10-28T12:19:59Z"
          phase: Succeeded
          qosClass: BestEffort
          startTime: "2024-10-28T12:19:58Z"
        
    panic.go:626: #####################################################
    panic.go:626: ### Dumping logs from Pods in the arendelle-khdgz ###
    panic.go:626: #####################################################
    build_logs.go:37: build logs 
        >>> Pod cancel-active-pi647a0c9ac9d2fefe1475598b1e46c21b43a9bdbe512-pod Container step-unnamed-0:
    build_logs.go:35: Could not get logs for pod cancel-active-pipeline-run-64474f4ccf2afe41382e3913e6f3eeee-pod: pods "cancel-active-pipeline-run-64474f4ccf2afe41382e3913e6f3eeee-pod" not found
    build_logs.go:37: build logs 
    panic.go:626: Not deleting namespace arendelle-khdgz
				from junit_nqbnJUpI.xml

Find cancel-active-pipeline-run-64474f4ccf2afe41382e3913e6f3eeee-pod mentions in log files


Show 273 Passed Tests

Show 19 Skipped Tests