Skip to content

Fix task name truncation in ci_script plugin: use rstrip instead of rsplit#3641

Merged
openshift-merge-bot[bot] merged 1 commit intoopenstack-k8s-operators:mainfrom
ciecierski:ci_script_improvment
Apr 22, 2026
Merged

Fix task name truncation in ci_script plugin: use rstrip instead of rsplit#3641
openshift-merge-bot[bot] merged 1 commit intoopenstack-k8s-operators:mainfrom
ciecierski:ci_script_improvment

Conversation

@ciecierski
Copy link
Copy Markdown
Contributor

@ciecierski ciecierski commented Jan 29, 2026

Using rsplit("_", 1)[0] dropped the last segment when there was no trailing underscore (e.g. for short ansible task names like "Deploy ceph" became "deploy").

Use rstrip("_") so we only remove a trailing underscore at the end of string.

Update the script integration test expectations: ci_script_* artifact and log
paths now use the full normalized task-name slug (e.g. ..._failing_script,
..._debug_enabled, ..._chdir_option). Refresh SHA1 checksums for the generated
.sh wrappers and for the chdir task log; other log checksums are unchanged.

Signed-off-by: Mikołaj Ciecierski mikolaj.ciecierski@redhat.com

@ciecierski ciecierski force-pushed the ci_script_improvment branch from 678a4cc to 6a47f8e Compare January 29, 2026 19:46
@softwarefactory-project-zuul
Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/6199d890a3d146a8bfc89d15b79823cd

openstack-k8s-operators-content-provider FAILURE in 6m 23s
⚠️ podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal-minor-update SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
✔️ noop SUCCESS in 0s
cifmw-pod-ansible-test FAILURE in 9m 05s
cifmw-pod-pre-commit FAILURE in 8m 18s

@ciecierski
Copy link
Copy Markdown
Contributor Author

recheck

@softwarefactory-project-zuul
Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/3a7eff0065194ae6aa9f147ed9d3482b

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 02m 53s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 18m 04s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 44m 30s
✔️ cifmw-crc-podified-edpm-baremetal-minor-update SUCCESS in 1h 48m 57s
✔️ noop SUCCESS in 0s
cifmw-pod-ansible-test FAILURE in 8m 16s
cifmw-pod-pre-commit FAILURE in 8m 16s

@ciecierski ciecierski force-pushed the ci_script_improvment branch from 6a47f8e to c9dfefe Compare February 3, 2026 09:50
@softwarefactory-project-zuul
Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/b9d3c04e5a5642c7948ced3d85aeedcc

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 39m 09s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 21m 25s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 32m 04s
✔️ cifmw-crc-podified-edpm-baremetal-minor-update SUCCESS in 2h 01m 07s
✔️ noop SUCCESS in 0s
cifmw-pod-ansible-test FAILURE in 8m 47s
cifmw-pod-pre-commit FAILURE in 7m 59s

@github-actions
Copy link
Copy Markdown

This PR is stale because it has been for over 15 days with no activity.
Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions Bot added the Stale label Feb 19, 2026
@github-actions github-actions Bot closed this Feb 27, 2026
@ciecierski ciecierski reopened this Mar 31, 2026
@ciecierski ciecierski force-pushed the ci_script_improvment branch from c9dfefe to 261704c Compare March 31, 2026 13:12
@ciecierski ciecierski removed the Stale label Mar 31, 2026
@softwarefactory-project-zuul
Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/b358a0d2731148a9817a5a434c7766c6

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 21m 03s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 26m 18s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 37m 49s
✔️ cifmw-crc-podified-edpm-baremetal-minor-update SUCCESS in 2h 06m 40s
✔️ noop SUCCESS in 0s
cifmw-pod-ansible-test FAILURE in 9m 03s
cifmw-pod-pre-commit FAILURE in 8m 33s

@ciecierski ciecierski force-pushed the ci_script_improvment branch from 261704c to 5aeface Compare April 10, 2026 15:35
@softwarefactory-project-zuul
Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/8a885587ce204ad9834cc57377ebeeff

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 11m 51s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 27m 16s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 34m 43s
✔️ cifmw-crc-podified-edpm-baremetal-minor-update SUCCESS in 1h 58m 33s
✔️ noop SUCCESS in 0s
cifmw-pod-ansible-test FAILURE in 8m 26s
cifmw-pod-pre-commit FAILURE in 7m 41s

@ciecierski ciecierski force-pushed the ci_script_improvment branch from 5aeface to 3a21973 Compare April 17, 2026 08:50
@softwarefactory-project-zuul
Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/5833e105fef94b158f7f81269d142fd2

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 31m 03s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 26m 15s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 31m 46s
✔️ cifmw-crc-podified-edpm-baremetal-minor-update SUCCESS in 1h 56m 19s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 35s
cifmw-pod-pre-commit FAILURE in 8m 45s

…split

Using rsplit("_", 1)[0] dropped the last segment when there was no
trailing underscore (e.g. for short ansible task names like "Deploy ceph"
became "deploy").
Use rstrip("_") so we only remove a trailing underscore at the end of string.

Update the script integration test expectations: ci_script_* artifact and log
paths now use the full normalized task-name slug (e.g. ..._failing_script,
..._debug_enabled, ..._chdir_option). Refresh SHA1 checksums for the generated
.sh wrappers and for the chdir task log; other log checksums are unchanged.

Signed-off-by: Mikołaj Ciecierski <mikolaj.ciecierski@redhat.com>
Copy link
Copy Markdown
Contributor

@brjackma brjackma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@brjackma
Copy link
Copy Markdown
Contributor

/approve

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Apr 22, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: brjackma

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot Bot merged commit 56d8bb6 into openstack-k8s-operators:main Apr 22, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants