Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rh-operator-bundle-bot/a31a454b4c52365728682283b39a4aec to your computer and use it in GitHub Desktop.
Save rh-operator-bundle-bot/a31a454b4c52365728682283b39a4aec to your computer and use it in GitHub Desktop.
Pipeline still running ...
PipelineRun is still running: Tasks Completed: 5 (Failed: 1, Cancelled 0), Incomplete: 1, Skipped: 45
[get-pr-number : parse-pr-url] + echo -n 4558
[get-pr-number : parse-pr-url] + tee /tekton/results/git_pr_number
[get-pr-number : parse-pr-url] 4558
[acquire-lease : create-lease] + calculate_duration_in_seconds 90m
[acquire-lease : create-lease] + '[' m == m ']'
[acquire-lease : create-lease] + TOTAL_DURATION_IN_SECONDS=5400
[acquire-lease : create-lease] + export TOTAL_DURATION_IN_SECONDS
[acquire-lease : create-lease] + create_lease_yaml
[acquire-lease : create-lease] ++ date -u +%Y-%m-%dT%H:%M:%S.000000Z
[acquire-lease : create-lease] + microTime=2024-05-19T10:03:18.000000Z
[acquire-lease : create-lease] + echo 'apiVersion: coordination.k8s.io/v1'
[acquire-lease : create-lease] + echo 'kind: Lease'
[acquire-lease : create-lease] + echo metadata:
[acquire-lease : create-lease] + echo ' name: operator-hosted-pipeline-pr-4558'
[acquire-lease : create-lease] + echo ' labels:'
[acquire-lease : create-lease] + echo ' owner-id: operator-hosted-pipeline-run7b7hb'
[acquire-lease : create-lease] + echo spec:
[acquire-lease : create-lease] + echo ' acquireTime: 2024-05-19T10:03:18.000000Z'
[acquire-lease : create-lease] + echo ' leaseDurationSeconds: 5400'
[acquire-lease : create-lease] + echo ' holderIdentity: operator-hosted-pipeline-pr-4558'
[acquire-lease : create-lease] + acquire_lease
[acquire-lease : create-lease] ++ echo -n operator-hosted-pipeline-pr-4558
[acquire-lease : create-lease] + LEASE_NAME=operator-hosted-pipeline-pr-4558
[acquire-lease : create-lease] + echo 'Attempting to create lease operator-hosted-pipeline-pr-4558'
[acquire-lease : create-lease] Attempting to create lease operator-hosted-pipeline-pr-4558
[acquire-lease : create-lease] + true
[acquire-lease : create-lease] + oc create -f e2e-lease.yaml
[acquire-lease : create-lease] Error from server (AlreadyExists): error when creating "e2e-lease.yaml": leases.coordination.k8s.io "operator-hosted-pipeline-pr-4558" already exists
[acquire-lease : create-lease] + echo 'Waiting for lease...'
[acquire-lease : create-lease] Waiting for lease...
[acquire-lease : create-lease] ++ oc get lease operator-hosted-pipeline-pr-4558 -o 'jsonpath={.spec.acquireTime}'
[acquire-lease : create-lease] + acquiredTime=2024-05-19T10:02:38.000000Z
[acquire-lease : create-lease] acquiredTime: 2024-05-19T10:02:38.000000Z
[acquire-lease : create-lease] + echo 'acquiredTime: 2024-05-19T10:02:38.000000Z'
[acquire-lease : create-lease] ++ date +%s --date=2024-05-19T10:02:38.000000Z
[acquire-lease : create-lease] + acquiredTimeInSeconds=1716112958
[acquire-lease : create-lease] acquiredTimeInSeconds: 1716112958
[acquire-lease : create-lease] + echo 'acquiredTimeInSeconds: 1716112958'
[acquire-lease : create-lease] ++ date '+%D %T'
[acquire-lease : create-lease] + c='05/19/24 10:03:19'
[acquire-lease : create-lease] currenttime: 05/19/24 10:03:19
[acquire-lease : create-lease] + echo 'currenttime: 05/19/24 10:03:19'
[acquire-lease : create-lease] ++ date +%s
[acquire-lease : create-lease] + currentTimeinSeconds=1716112999
[acquire-lease : create-lease] currentTimeinSeconds: 1716112999
[acquire-lease : create-lease] + echo 'currentTimeinSeconds: 1716112999'
[acquire-lease : create-lease] + elapsedSeconds=41
[acquire-lease : create-lease] TOTAL_DURATION_IN_SECONDS: 5400
[acquire-lease : create-lease] + echo 'TOTAL_DURATION_IN_SECONDS: 5400'
[acquire-lease : create-lease] + echo 'elapsedSeconds: 41'
[acquire-lease : create-lease] elapsedSeconds: 41
[acquire-lease : create-lease] + (( elapsedSeconds > TOTAL_DURATION_IN_SECONDS ))
[acquire-lease : create-lease] + oc wait --for=delete lease operator-hosted-pipeline-pr-4558 --timeout=90m
[acquire-lease : create-lease] 2024/05/19 10:38:18 context deadline exceeded
[set-github-status-failure : set-github-status] + '[' false == true ']'
[set-github-status-failure : set-github-status] + echo 'Setting github status of commit 04b0a8c6fa4781295231fe30ba44ecd188714c45 to failure'
[set-github-status-failure : set-github-status] Setting github status of commit 04b0a8c6fa4781295231fe30ba44ecd188714c45 to failure
[set-github-status-failure : set-github-status] + set-github-status --git-repo-url https://github.com/redhat-openshift-ecosystem/community-operators-prod.git --commit-sha 04b0a8c6fa4781295231fe30ba44ecd188714c45 --status failure --context operator/test --description 'Pipeline for the operator tests has failed.'
[set-github-status-failure : set-github-status] 2024-05-19 10:38:27,180 [operator-cert] INFO Successfully set status to failure for commit 04b0a8c6fa4781295231fe30ba44ecd188714c45 in github repo https://github.com/redhat-openshift-ecosystem/community-operators-prod.git
[set-github-failed-label : post-comment] + EXTRA_ARGS=
[set-github-failed-label : post-comment] + [[ ! -z operator-hosted-pipeline/failed ]]
[set-github-failed-label : post-comment] + EXTRA_ARGS+=' --add-labels operator-hosted-pipeline/failed'
[set-github-failed-label : post-comment] Editing GitHub labels to PR https://github.com/redhat-openshift-ecosystem/community-operators-prod/pull/4558
[set-github-failed-label : post-comment] + [[ ! -z '' ]]
[set-github-failed-label : post-comment] + [[ true == \t\r\u\e ]]
[set-github-failed-label : post-comment] + EXTRA_ARGS+=' --remove-matching-namespace-labels'
[set-github-failed-label : post-comment] + echo 'Editing GitHub labels to PR https://github.com/redhat-openshift-ecosystem/community-operators-prod/pull/4558'
[set-github-failed-label : post-comment] + github-labels --pull-request-url https://github.com/redhat-openshift-ecosystem/community-operators-prod/pull/4558 --add-labels operator-hosted-pipeline/failed --remove-matching-namespace-labels
[set-github-failed-label : post-comment] 2024-05-19 10:38:27,559 [operator-cert] INFO Adding labels ['operator-hosted-pipeline/failed'] to redhat-openshift-ecosystem/community-operators-prod
[set-github-failed-label : post-comment] 2024-05-19 10:38:28,125 [operator-cert] INFO Labels to remove in namespace: ['operator-hosted-pipeline/started']
[set-github-failed-label : post-comment] 2024-05-19 10:38:28,125 [operator-cert] INFO Current labels: <github.PaginatedList.PaginatedList object at 0x7fb010d4d6d0>
[set-github-failed-label : post-comment] 2024-05-19 10:38:28,125 [operator-cert] INFO Labels to add: ['operator-hosted-pipeline/failed']
[set-github-failed-label : post-comment] 2024-05-19 10:38:28,125 [operator-cert] INFO Labels to remove: ['operator-hosted-pipeline/started']
[set-github-failed-label : post-comment] 2024-05-19 10:38:28,125 [operator-cert] INFO Adding label operator-hosted-pipeline/failed
[set-github-failed-label : post-comment] 2024-05-19 10:38:28,688 [operator-cert] INFO Removing label operator-hosted-pipeline/started
[github-add-summary-comment : gather-info] 2024/05/19 10:38:38 warning: unsuccessful cred copy: ".docker" from "/tekton/creds" to "/home/nonroot": unable to create destination directory: mkdir /home/nonroot: permission denied
[github-add-summary-comment : gather-info] + PR_NAME=operator-hosted-pipeline-run7b7hb
[github-add-summary-comment : gather-info] + mkdir operator-hosted-pipeline-run7b7hb
[github-add-summary-comment : gather-info] + echo 'Getting pipeline logs'
[github-add-summary-comment : gather-info] Getting pipeline logs
[github-add-summary-comment : gather-info] + tkn pipelinerun logs operator-hosted-pipeline-run7b7hb
[github-add-summary-comment : gather-info] task acquire-lease has failed: "step-create-lease" exited because the step exceeded the specified timeout limit
[github-add-summary-comment : gather-info] failed to get logs for task acquire-lease : container step-create-lease has failed : [{"key":"StartedAt","value":"2024-05-19T10:03:18.972Z","type":3},{"key":"Reason","value":"TimeoutExceeded","type":3}]
[release-leases : delete-lease] + oc delete lease -l owner-id=operator-hosted-pipeline-run7b7hb --ignore-not-found=true
[release-leases : delete-lease] No resources found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment