Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rh-operator-bundle-bot/026b4790625c1228572e150fa3451af3 to your computer and use it in GitHub Desktop.
Save rh-operator-bundle-bot/026b4790625c1228572e150fa3451af3 to your computer and use it in GitHub Desktop.
Pipeline still running ...
PipelineRun is still running: Tasks Completed: 11 (Failed: 1, Cancelled 0), Incomplete: 1, Skipped: 42
[get-pr-number : parse-pr-url] + echo -n 5161
[get-pr-number : parse-pr-url] + tee /tekton/results/git_pr_number
[get-pr-number : parse-pr-url] 5161
[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-09-11T20:00:04.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-5161'
[acquire-lease : create-lease] + echo ' labels:'
[acquire-lease : create-lease] + echo ' owner-id: operator-hosted-pipeline-runwhknv'
[acquire-lease : create-lease] + echo spec:
[acquire-lease : create-lease] + echo ' acquireTime: 2024-09-11T20:00:04.000000Z'
[acquire-lease : create-lease] + echo ' leaseDurationSeconds: 5400'
[acquire-lease : create-lease] + echo ' holderIdentity: operator-hosted-pipeline-pr-5161'
[acquire-lease : create-lease] + acquire_lease
[acquire-lease : create-lease] ++ echo -n operator-hosted-pipeline-pr-5161
[acquire-lease : create-lease] + LEASE_NAME=operator-hosted-pipeline-pr-5161
[acquire-lease : create-lease] + echo 'Attempting to create lease operator-hosted-pipeline-pr-5161'
[acquire-lease : create-lease] Attempting to create lease operator-hosted-pipeline-pr-5161
[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-5161" already exists
[acquire-lease : create-lease] Waiting for lease...
[acquire-lease : create-lease] + echo 'Waiting for lease...'
[acquire-lease : create-lease] ++ oc get lease operator-hosted-pipeline-pr-5161 -o 'jsonpath={.spec.acquireTime}'
[acquire-lease : create-lease] + acquiredTime=2024-09-11T19:58:37.000000Z
[acquire-lease : create-lease] + echo 'acquiredTime: 2024-09-11T19:58:37.000000Z'
[acquire-lease : create-lease] acquiredTime: 2024-09-11T19:58:37.000000Z
[acquire-lease : create-lease] ++ date +%s --date=2024-09-11T19:58:37.000000Z
[acquire-lease : create-lease] + acquiredTimeInSeconds=1726084717
[acquire-lease : create-lease] acquiredTimeInSeconds: 1726084717
[acquire-lease : create-lease] + echo 'acquiredTimeInSeconds: 1726084717'
[acquire-lease : create-lease] ++ date '+%D %T'
[acquire-lease : create-lease] + c='09/11/24 20:00:04'
[acquire-lease : create-lease] currenttime: 09/11/24 20:00:04
[acquire-lease : create-lease] + echo 'currenttime: 09/11/24 20:00:04'
[acquire-lease : create-lease] ++ date +%s
[acquire-lease : create-lease] + currentTimeinSeconds=1726084804
[acquire-lease : create-lease] + echo 'currentTimeinSeconds: 1726084804'
[acquire-lease : create-lease] currentTimeinSeconds: 1726084804
[acquire-lease : create-lease] + elapsedSeconds=87
[acquire-lease : create-lease] + echo 'TOTAL_DURATION_IN_SECONDS: 5400'
[acquire-lease : create-lease] TOTAL_DURATION_IN_SECONDS: 5400
[acquire-lease : create-lease] elapsedSeconds: 87
[acquire-lease : create-lease] + echo 'elapsedSeconds: 87'
[acquire-lease : create-lease] + (( elapsedSeconds > TOTAL_DURATION_IN_SECONDS ))
[acquire-lease : create-lease] + oc wait --for=delete lease operator-hosted-pipeline-pr-5161 --timeout=90m
[acquire-lease : create-lease] lease.coordination.k8s.io/operator-hosted-pipeline-pr-5161 condition met
[acquire-lease : create-lease] + true
[acquire-lease : create-lease] + oc create -f e2e-lease.yaml
[acquire-lease : create-lease] lease.coordination.k8s.io/operator-hosted-pipeline-pr-5161 created
[acquire-lease : create-lease] Acquired lease operator-hosted-pipeline-pr-5161
[acquire-lease : create-lease] + break
[acquire-lease : create-lease] + echo 'Acquired lease operator-hosted-pipeline-pr-5161'
[set-github-started-label : post-comment] + EXTRA_ARGS=
[set-github-started-label : post-comment] + [[ ! -z operator-hosted-pipeline/started ]]
[set-github-started-label : post-comment] + EXTRA_ARGS+=' --add-labels operator-hosted-pipeline/started'
[set-github-started-label : post-comment] Editing GitHub labels to PR https://github.com/redhat-openshift-ecosystem/community-operators-prod/pull/5161
[set-github-started-label : post-comment] + [[ ! -z pipeline/trigger-hosted ]]
[set-github-started-label : post-comment] + EXTRA_ARGS+=' --remove-labels pipeline/trigger-hosted'
[set-github-started-label : post-comment] + [[ true == \t\r\u\e ]]
[set-github-started-label : post-comment] + EXTRA_ARGS+=' --remove-matching-namespace-labels'
[set-github-started-label : post-comment] + echo 'Editing GitHub labels to PR https://github.com/redhat-openshift-ecosystem/community-operators-prod/pull/5161'
[set-github-started-label : post-comment] + github-labels --pull-request-url https://github.com/redhat-openshift-ecosystem/community-operators-prod/pull/5161 --add-labels operator-hosted-pipeline/started --remove-labels pipeline/trigger-hosted --remove-matching-namespace-labels
[set-github-started-label : post-comment] 2024-09-11 20:01:33,501 [operator-cert] INFO Adding labels ['operator-hosted-pipeline/started'] to redhat-openshift-ecosystem/community-operators-prod
[set-github-started-label : post-comment] 2024-09-11 20:01:34,116 [operator-cert] INFO Labels to remove in namespace: ['operator-hosted-pipeline/failed']
[set-github-started-label : post-comment] 2024-09-11 20:01:34,116 [operator-cert] INFO Current labels: <github.PaginatedList.PaginatedList object at 0x7f25b299b5d0>
[set-github-started-label : post-comment] 2024-09-11 20:01:34,116 [operator-cert] INFO Labels to add: ['operator-hosted-pipeline/started']
[set-github-started-label : post-comment] 2024-09-11 20:01:34,116 [operator-cert] INFO Labels to remove: ['operator-hosted-pipeline/failed']
[set-github-started-label : post-comment] 2024-09-11 20:01:34,116 [operator-cert] INFO Adding label operator-hosted-pipeline/started
[set-github-started-label : post-comment] 2024-09-11 20:01:34,571 [operator-cert] INFO Removing label operator-hosted-pipeline/failed
[set-github-status-pending : set-github-status] + '[' false == true ']'
[set-github-status-pending : set-github-status] + echo 'Setting github status of commit a6a6803fd553ec5637d2f44d67d2f0d95e2cff77 to pending'
[set-github-status-pending : set-github-status] Setting github status of commit a6a6803fd553ec5637d2f44d67d2f0d95e2cff77 to pending
[set-github-status-pending : set-github-status] + set-github-status --git-repo-url https://github.com/redhat-openshift-ecosystem/community-operators-prod.git --commit-sha a6a6803fd553ec5637d2f44d67d2f0d95e2cff77 --status pending --context operator/test --description 'Pipeline for operator tests has started.'
[set-github-status-pending : set-github-status] 2024-09-11 20:01:48,164 [operator-cert] INFO Successfully set status to pending for commit a6a6803fd553ec5637d2f44d67d2f0d95e2cff77 in github repo https://github.com/redhat-openshift-ecosystem/community-operators-prod.git
[set-env : set-env] + ENV=prod
[set-env : set-env] + ACCESS_TYPE=internal
[set-env : set-env] + [[ internal =~ ^(internal|external)$ ]]
[set-env : set-env] + case $ENV in
[set-env : set-env] + case $ACCESS_TYPE in
[set-env : set-env] + PYXIS_URL=https://pyxis.engineering.redhat.com
[set-env : set-env] + CONNECT_URL=https://connect.redhat.com
[set-env : set-env] + CONNECT_REGISTRY=registry.connect.redhat.com
[set-env : set-env] + IIB_URL=https://iib.engineering.redhat.com
[set-env : set-env] + SIG_KEY_ID='4096R/55A34A82 SHA-256'
[set-env : set-env] + SIG_KEY_NAME=containerisvsign
[set-env : set-env] + UMB_URL=umb.api.redhat.com
[set-env : set-env] + UMB_CLIENT_NAME=operatorpipelines
[set-env : set-env] + UMB_CLIENT_NAME_SIGNING=community-operator-signing-pipeline
[set-env : set-env] + echo -n https://pyxis.engineering.redhat.com
[set-env : set-env] + tee /tekton/results/pyxis_url
[set-env : set-env] https://pyxis.engineering.redhat.com+ echo -n https://connect.redhat.com
[set-env : set-env] + tee /tekton/results/connect_url
[set-env : set-env] https://connect.redhat.com+ echo -n registry.connect.redhat.com
[set-env : set-env] + tee /tekton/results/connect_registry
[set-env : set-env] registry.connect.redhat.com+ echo -n https://iib.engineering.redhat.com
[set-env : set-env] + tee /tekton/results/iib_url
[set-env : set-env] https://iib.engineering.redhat.com+ echo -n 4096R/55A34A82 SHA-256
[set-env : set-env] + tee /tekton/results/sig_key_id
[set-env : set-env] 4096R/55A34A82 SHA-256+ echo -n containerisvsign
[set-env : set-env] + tee /tekton/results/sig_key_name
[set-env : set-env] containerisvsign+ echo -n umb.api.redhat.com
[set-env : set-env] + tee /tekton/results/umb_url
[set-env : set-env] umb.api.redhat.com+ echo -n operatorpipelines
[set-env : set-env] + tee /tekton/results/umb_client_name
[set-env : set-env] operatorpipelines+ echo -n community-operator-signing-pipeline
[set-env : set-env] + tee /tekton/results/umb_client_name_signing
[set-env : set-env] community-operator-signing-pipeline
[clone-repository : clone] + '[' false = true ']'
[clone-repository : clone] + '[' false = true ']'
[clone-repository : clone] + CHECKOUT_DIR=/workspace/output/
[clone-repository : clone] + '[' true = true ']'
[clone-repository : clone] + cleandir
[clone-repository : clone] + '[' -d /workspace/output/ ']'
[clone-repository : clone] + rm -rf '/workspace/output//*'
[clone-repository : clone] + rm -rf '/workspace/output//.[!.]*'
[clone-repository : clone] + rm -rf '/workspace/output//..?*'
[clone-repository : clone] + test -z ''
[clone-repository : clone] + test -z ''
[clone-repository : clone] + test -z ''
[clone-repository : clone] + /ko-app/git-init -url=https://github.com/shpwrck/community-operators-prod.git -revision=a6a6803fd553ec5637d2f44d67d2f0d95e2cff77 -refspec= -path=/workspace/output/ -sslVerify=true -submodules=true -depth=1 -sparseCheckoutDirectories=
[clone-repository : clone] {"level":"info","ts":1726084966.3162103,"caller":"git/git.go:169","msg":"Successfully cloned https://github.com/shpwrck/community-operators-prod.git @ a6a6803fd553ec5637d2f44d67d2f0d95e2cff77 (grafted, HEAD) in path /workspace/output/"}
[clone-repository : clone] {"level":"info","ts":1726084966.3835268,"caller":"git/git.go:207","msg":"Successfully initialized and updated submodules in path /workspace/output/"}
[clone-repository : clone] + cd /workspace/output/
[clone-repository : clone] ++ git rev-parse HEAD
[clone-repository : clone] + RESULT_SHA=a6a6803fd553ec5637d2f44d67d2f0d95e2cff77
[clone-repository : clone] + EXIT_CODE=0
[clone-repository : clone] + '[' 0 '!=' 0 ']'
[clone-repository : clone] + printf %s a6a6803fd553ec5637d2f44d67d2f0d95e2cff77
[clone-repository : clone] + printf %s https://github.com/shpwrck/community-operators-prod.git
[clone-repository-base : clone] + '[' false = true ']'
[clone-repository-base : clone] + '[' false = true ']'
[clone-repository-base : clone] + CHECKOUT_DIR=/workspace/output/
[clone-repository-base : clone] + '[' true = true ']'
[clone-repository-base : clone] + cleandir
[clone-repository-base : clone] + '[' -d /workspace/output/ ']'
[clone-repository-base : clone] + rm -rf '/workspace/output//*'
[clone-repository-base : clone] + rm -rf '/workspace/output//.[!.]*'
[clone-repository-base : clone] + rm -rf '/workspace/output//..?*'
[clone-repository-base : clone] + test -z ''
[clone-repository-base : clone] + test -z ''
[clone-repository-base : clone] + test -z ''
[clone-repository-base : clone] + /ko-app/git-init -url=https://github.com/redhat-openshift-ecosystem/community-operators-prod.git -revision=450c4943205aa764e0d7f5deb78d4ad99f4ca70d -refspec= -path=/workspace/output/ -sslVerify=true -submodules=true -depth=1 -sparseCheckoutDirectories=
[clone-repository-base : clone] {"level":"info","ts":1726084966.8206587,"caller":"git/git.go:169","msg":"Successfully cloned https://github.com/redhat-openshift-ecosystem/community-operators-prod.git @ 450c4943205aa764e0d7f5deb78d4ad99f4ca70d (grafted, HEAD) in path /workspace/output/"}
[clone-repository-base : clone] {"level":"info","ts":1726084966.8851094,"caller":"git/git.go:207","msg":"Successfully initialized and updated submodules in path /workspace/output/"}
[clone-repository-base : clone] + cd /workspace/output/
[clone-repository-base : clone] ++ git rev-parse HEAD
[clone-repository-base : clone] + RESULT_SHA=450c4943205aa764e0d7f5deb78d4ad99f4ca70d
[clone-repository-base : clone] + EXIT_CODE=0
[clone-repository-base : clone] + '[' 0 '!=' 0 ']'
[clone-repository-base : clone] + printf %s 450c4943205aa764e0d7f5deb78d4ad99f4ca70d
[clone-repository-base : clone] + printf %s https://github.com/redhat-openshift-ecosystem/community-operators-prod.git
[detect-changes : parse-repo-changes] + detect-changed-operators --repo-path=/workspace/pr --base-repo-path=/workspace/base --pr-url=https://github.com/redhat-openshift-ecosystem/community-operators-prod/pull/5161 --output-file changes.json --verbose
[detect-changes : parse-repo-changes] 2024-09-11 20:03:47,191 [operator-cert] DEBUG Affected operators: AffectedOperatorCollection(added=set(), modified={'openshift-node-upgrade-mutex-operator'}, deleted=set())
[detect-changes : parse-repo-changes] 2024-09-11 20:03:47,191 [operator-cert] DEBUG Affected bundles: AffectedBundleCollection(added=set(), modified={('openshift-node-upgrade-mutex-operator', '0.1.22')}, deleted=set())
[detect-changes : parse-repo-changes] 2024-09-11 20:03:47,192 [operator-cert] DEBUG Affected catalogs: AffectedCatalogCollection(added=set(), modified=set(), deleted=set())
[detect-changes : parse-repo-changes] 2024-09-11 20:03:47,192 [operator-cert] DEBUG Affected catalog operators: AffectedCatalogOperatorCollection(added=set(), modified=set(), deleted=set())
[detect-changes : parse-repo-changes] Traceback (most recent call last):
[detect-changes : parse-repo-changes] File "/home/user/.venv/bin/detect-changed-operators", line 8, in <module>
[detect-changes : parse-repo-changes] sys.exit(main())
[detect-changes : parse-repo-changes] ^^^^^^
[detect-changes : parse-repo-changes] File "/home/user/.venv/lib/python3.11/site-packages/operatorcert/entrypoints/detect_changed_operators.py", line 512, in main
[detect-changes : parse-repo-changes] ParserRules(result, head_repo, base_repo).validate()
[detect-changes : parse-repo-changes] File "/home/user/.venv/lib/python3.11/site-packages/operatorcert/parsed_file.py", line 373, in validate
[detect-changes : parse-repo-changes] raise ValidationError("\n".join(self.errors))
[detect-changes : parse-repo-changes] operatorcert.parsed_file.ValidationError: The PR modifies existing bundles: [('openshift-node-upgrade-mutex-operator', '0.1.22')]
[set-github-status-failure : set-github-status] + '[' false == true ']'
[set-github-status-failure : set-github-status] + echo 'Setting github status of commit a6a6803fd553ec5637d2f44d67d2f0d95e2cff77 to failure'
[set-github-status-failure : set-github-status] Setting github status of commit a6a6803fd553ec5637d2f44d67d2f0d95e2cff77 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 a6a6803fd553ec5637d2f44d67d2f0d95e2cff77 --status failure --context operator/test --description 'Pipeline for the operator tests has failed.'
[set-github-status-failure : set-github-status] 2024-09-11 20:04:06,359 [operator-cert] INFO Successfully set status to failure for commit a6a6803fd553ec5637d2f44d67d2f0d95e2cff77 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] + [[ ! -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/5161'
[set-github-failed-label : post-comment] Editing GitHub labels to PR https://github.com/redhat-openshift-ecosystem/community-operators-prod/pull/5161
[set-github-failed-label : post-comment] + github-labels --pull-request-url https://github.com/redhat-openshift-ecosystem/community-operators-prod/pull/5161 --add-labels operator-hosted-pipeline/failed --remove-matching-namespace-labels
[set-github-failed-label : post-comment] 2024-09-11 20:04:06,053 [operator-cert] INFO Adding labels ['operator-hosted-pipeline/failed'] to redhat-openshift-ecosystem/community-operators-prod
[set-github-failed-label : post-comment] 2024-09-11 20:04:06,671 [operator-cert] INFO Labels to remove in namespace: ['operator-hosted-pipeline/started']
[set-github-failed-label : post-comment] 2024-09-11 20:04:06,671 [operator-cert] INFO Current labels: <github.PaginatedList.PaginatedList object at 0x7f4b5c1f7590>
[set-github-failed-label : post-comment] 2024-09-11 20:04:06,671 [operator-cert] INFO Labels to add: ['operator-hosted-pipeline/failed']
[set-github-failed-label : post-comment] 2024-09-11 20:04:06,672 [operator-cert] INFO Labels to remove: ['operator-hosted-pipeline/started']
[set-github-failed-label : post-comment] 2024-09-11 20:04:06,672 [operator-cert] INFO Adding label operator-hosted-pipeline/failed
[set-github-failed-label : post-comment] 2024-09-11 20:04:07,187 [operator-cert] INFO Removing label operator-hosted-pipeline/started
[github-add-summary-comment : gather-info] 2024/09/11 20:04:36 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-runwhknv
[github-add-summary-comment : gather-info] + mkdir operator-hosted-pipeline-runwhknv
[github-add-summary-comment : gather-info] + echo 'Getting pipeline logs'
[github-add-summary-comment : gather-info] + tkn pipelinerun logs operator-hosted-pipeline-runwhknv
[github-add-summary-comment : gather-info] Getting pipeline logs
[github-add-summary-comment : gather-info] task detect-changes has failed: "step-parse-repo-changes" exited with code 1
[github-add-summary-comment : gather-info] failed to get logs for task detect-changes : container step-parse-repo-changes has failed : [{"key":"StartedAt","value":"2024-09-11T20:03:45.550Z","type":3}]
[release-leases : delete-lease] + oc delete lease -l owner-id=operator-hosted-pipeline-runwhknv --ignore-not-found=true
[release-leases : delete-lease] lease.coordination.k8s.io "operator-hosted-pipeline-pr-5161" deleted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment