Skip to content

ci(prow): migrate pingcap/tiflow release-8.5 jobs to target jenkins - #5144

Open
wuhuizuo wants to merge 1 commit into
mainfrom
phase4/pingcap-tiflow-release-8.5
Open

ci(prow): migrate pingcap/tiflow release-8.5 jobs to target jenkins#5144
wuhuizuo wants to merge 1 commit into
mainfrom
phase4/pingcap-tiflow-release-8.5

Conversation

@wuhuizuo

@wuhuizuo wuhuizuo commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Part of #4960.

Summary

Flip labels.master "1" -> "0" for the jenkins-agent jobs in prow-jobs/pingcap/tiflow/release-8.5-presubmits.yaml so they are scheduled on the to Jenkins.

Part of #4947 / #4942

@ti-chi-bot

ti-chi-bot Bot commented Sep 4, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign dillon-zheng for approval. For more information see the Code Review Process.
Please ensure that each of them provides their approval before proceeding.

The full list of commands accepted by this bot can be found 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

@ti-chi-bot ti-chi-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I have already done a preliminary review for you, and I hope to help you do a better job.

Summary
This PR migrates the pingcap/tiflow release-8.5 Jenkins jobs by flipping the labels.master from "1" to "0" in the release-8.5-presubmits.yaml Prow job definitions. This change redirects the scheduling of these Jenkins-agent jobs from one Jenkins master to another, as part of ongoing CI infrastructure migration efforts. The patch is straightforward and limited to label value updates, applied consistently across all relevant jobs. Overall, the change is clear and low risk.


Code Improvements

  • File: prow-jobs/pingcap/tiflow/release-8.5-presubmits.yaml (multiple lines, e.g., 93, 106, 119, 132, 145, 158, 171, 184)
    Issue: The label key master with values "1" and "0" is not self-explanatory and may lead to confusion about which Jenkins instance is targeted.
    Suggestion:

    • Add a brief comment above the labels section explaining what the master label controls and what the "0" and "1" values correspond to (e.g., which Jenkins masters).
    • Alternatively, if feasible, use a more descriptive label key or value, such as jenkins-master: "new" / "old" or similar naming to improve readability and maintainability.
      Example comment addition:
    labels:
      # 'master' label indicates Jenkins master selection; "0" routes to the target Jenkins for release-8.5 jobs.
      master: "0"
  • File: prow-jobs/pingcap/tiflow/release-8.5-presubmits.yaml
    Issue: This PR only flips the label values but does not verify or document the impact of this switch on job execution or if the target Jenkins masters have the required configurations.
    Suggestion: Consider adding a short note in the PR description or a README update confirming that the target Jenkins masters are configured and ready to run these jobs, possibly including a link to related migration documentation. This will help future reviewers and maintainers understand the context.


Best Practices

  • File: prow-jobs/pingcap/tiflow/release-8.5-presubmits.yaml (all changed lines)
    Issue: No comments or documentation regarding the label change impact.
    Suggestion: Add a header comment at the top of the file or near the changed sections to briefly describe the purpose of these label flips as part of the Jenkins migration. This facilitates easier tracking of migration-related changes in the future.

  • Testing Coverage
    Issue: No testing-related changes or verification steps are mentioned.
    Suggestion: Ensure that there are tests or manual verification steps to confirm that the jobs are correctly scheduled on the intended Jenkins masters after this label change. Adding a note in the PR or linking to validation logs would be beneficial.


No critical issues or broken functionality identified due to the limited scope of this PR. The change is low risk but would benefit from improved documentation and clarity on label semantics.

@ti-chi-bot ti-chi-bot Bot added the size/S label Sep 4, 2026
@ti-chi-bot

ti-chi-bot commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Jenkins Migration Verification

Migrating jenkins-agent Prow jobs to the to Jenkins (labels.master: 1 -> 0).

  • pingcap/tiflow/release-8.5/pull_cdc_integration_kafka_test
    • status: infra-fail
  • pingcap/tiflow/release-8.5/pull_cdc_integration_mysql_test
    • status: infra-fail
  • pingcap/tiflow/release-8.5/pull_cdc_integration_storage_test
    • status: failed

Summary: success=0 submitted=0 failed=1 infra-fail=2 skipped=0 dry-run=0 total=3

wuhuizuo added a commit that referenced this pull request Sep 7, 2026
…jenkins (#5171)

Split from #5144 — only the jobs that verified **SUCCESS** on the to
Jenkins (verify runid 2095811615243898880):
- `ghpr_verify`
- `pull_cdc_integration_pulsar_test`
- `pull_dm_compatibility_test`
- `pull_dm_integration_test`
- `pull_syncdiff_integration_test`

Part of #4960 / #4942
Flip labels.master "1" -> "0" for the jenkins-agent jobs in prow-jobs/pingcap/tiflow/release-8.5-presubmits.yaml so
they are scheduled on the to Jenkins.

Part of #4960
@wuhuizuo
wuhuizuo force-pushed the phase4/pingcap-tiflow-release-8.5 branch from ff22c2c to 32097b3 Compare September 7, 2026 03:18

@ti-chi-bot ti-chi-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I have already done a preliminary review for you, and I hope to help you do a better job.

Summary
This PR updates the release-8.5-presubmits.yaml configuration for the pingcap/tiflow repo by changing the labels.master value from "1" to "0" for Jenkins-agent jobs. This effectively migrates the scheduling of these presubmit jobs from the old Jenkins setup to the target Jenkins as part of the ongoing CI migration effort. The change is minimal and focused, with clear intent and consistent application across multiple jobs.


Code Improvements

  • Missing Context or Documentation in YAML

    • File: prow-jobs/pingcap/tiflow/release-8.5-presubmits.yaml (around lines 90-140)
    • Issue: The change flips the labels.master value but there is no comment or documentation explaining what this label controls or why "0" schedules to the target Jenkins. This reduces clarity for future maintainers.
    • Suggestion: Add a brief comment above the changed labels block to explain the purpose of this label and the migration rationale. For example:
      # Set master label to "0" to route these Jenkins-agent jobs to the new target Jenkins cluster as part of CI migration.
      labels:
        master: "0"
  • Consider Consolidating Label Changes

    • If multiple jobs share the same label changes, consider defining a YAML anchor or shared label snippet to reduce duplication and simplify future edits. This is optional but improves maintainability if many jobs require similar label updates.

Best Practices

  • Testing or Validation

    • File: N/A (CI config)
    • Issue: There is no mention of testing or dry-run validation of these YAML changes to confirm the jobs are correctly scheduled on the target Jenkins.
    • Suggestion: Run a dry-run or validate job scheduling after applying this change to ensure the migration is successful. Adding a short note in the PR description about validation results would help reviewers and maintainers.
  • PR Description Clarity

    • The description mentions flipping the label but does not explicitly state what "1" vs "0" means or what the impact is. Consider clarifying this in the description for better context, e.g.:

      Flips the master label from "1" to "0" for Jenkins-agent jobs so they run on the new target Jenkins cluster instead of the old one.


No critical issues or broken functionality detected given the scope of this PR. The changes are straightforward and low risk, but improved documentation and validation notes would improve maintainability and reviewer confidence.

@ti-chi-bot ti-chi-bot Bot added size/XS and removed size/S labels Sep 7, 2026
@ti-chi-bot

ti-chi-bot Bot commented Sep 7, 2026

Copy link
Copy Markdown

@wuhuizuo: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-verify-jenkins-migration 32097b3 link true /test pull-verify-jenkins-migration

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants