{
  "_class" : "hudson.model.FreeStyleBuild",
  "actions" : [
    {
      "_class" : "hudson.model.CauseAction",
      "causes" : [
        {
          "_class" : "com.cloudbees.jenkins.GitHubPushCause",
          "shortDescription" : "Started by GitHub push by ti-chi-bot[bot]"
        }
      ]
    },
    {
      
    },
    {
      "_class" : "jenkins.metrics.impl.TimeInQueueAction",
      "blockedDurationMillis" : 0,
      "blockedTimeMillis" : 0,
      "buildableDurationMillis" : 15468,
      "buildableTimeMillis" : 15468,
      "buildingDurationMillis" : 60197,
      "executingTimeMillis" : 60197,
      "executorUtilization" : 1.0,
      "subTaskCount" : 0,
      "waitingDurationMillis" : 6648,
      "waitingTimeMillis" : 6648
    },
    {
      "_class" : "hudson.plugins.git.util.BuildData",
      "buildsByBranchName" : {
        "origin/main" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 1410,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "cadf792232660895bebcb5f4bfad1d54317e6bac",
            "branch" : [
              {
                "SHA1" : "cadf792232660895bebcb5f4bfad1d54317e6bac",
                "name" : "origin/main"
              }
            ]
          },
          "revision" : {
            "SHA1" : "cadf792232660895bebcb5f4bfad1d54317e6bac",
            "branch" : [
              {
                "SHA1" : "cadf792232660895bebcb5f4bfad1d54317e6bac",
                "name" : "origin/main"
              }
            ]
          }
        }
      },
      "lastBuiltRevision" : {
        "SHA1" : "cadf792232660895bebcb5f4bfad1d54317e6bac",
        "branch" : [
          {
            "SHA1" : "cadf792232660895bebcb5f4bfad1d54317e6bac",
            "name" : "origin/main"
          }
        ]
      },
      "remoteUrls" : [
        "https://github.com/PingCAP-QE/ci.git"
      ],
      "scmName" : ""
    },
    {
      
    },
    {
      
    },
    {
      
    },
    {
      
    },
    {
      
    },
    {
      
    },
    {
      "_class" : "org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction"
    }
  ],
  "artifacts" : [
    
  ],
  "building" : False,
  "description" : None,
  "displayName" : "#1410",
  "duration" : 60197,
  "estimatedDuration" : 64560,
  "executor" : None,
  "fullDisplayName" : "seed #1410",
  "id" : "1410",
  "inProgress" : False,
  "keepLog" : False,
  "number" : 1410,
  "queueId" : 3249965,
  "result" : "SUCCESS",
  "timestamp" : 1770885146915,
  "url" : "https://do.pingcap.net/jenkins/job/seed/1410/",
  "builtOn" : "default-q0219",
  "changeSet" : {
    "_class" : "hudson.plugins.git.GitChangeSetList",
    "items" : [
      {
        "_class" : "hudson.plugins.git.GitChangeSet",
        "affectedPaths" : [
          "pipelines/pingcap/ticdc/latest/pull_cdc_mysql_integration_light/pipeline.groovy",
          "pipelines/pingcap/ticdc/latest/pull_cdc_pulsar_integration_light_next_gen/pipeline.groovy",
          "pipelines/pingcap/ticdc/release-9.0-beta/pull_cdc_mysql_integration_light.groovy",
          "pipelines/pingcap/ticdc/latest/pull_cdc_storage_integration_heavy/pipeline.groovy",
          "pipelines/pingcap/ticdc/latest/pull_cdc_mysql_integration_heavy_next_gen/pipeline.groovy",
          "pipelines/pingcap/ticdc/release-9.0-beta/pull_cdc_kafka_integration_heavy.groovy",
          "pipelines/pingcap/ticdc/latest/pull_cdc_mysql_integration_light_next_gen/pipeline.groovy",
          "pipelines/pingcap/ticdc/latest/pull_cdc_pulsar_integration_heavy/pipeline.groovy",
          "pipelines/pingcap/ticdc/release-9.0-beta/pull_cdc_storage_integration_light.groovy",
          "pipelines/pingcap/ticdc/latest/pull_cdc_kafka_integration_heavy_next_gen/pipeline.groovy",
          "pipelines/pingcap/ticdc/latest/pull_cdc_pulsar_integration_heavy_next_gen/pipeline.groovy",
          "pipelines/pingcap/ticdc/latest/pull_cdc_storage_integration_light/pipeline.groovy",
          "pipelines/pingcap/ticdc/latest/pull_cdc_mysql_integration_heavy/pipeline.groovy",
          "pipelines/pingcap/ticdc/latest/pull_cdc_storage_integration_heavy_next_gen/pipeline.groovy",
          "pipelines/pingcap/ticdc/release-9.0-beta/pull_cdc_storage_integration_heavy.groovy",
          "prow-jobs/pingcap/ticdc/latest-presubmits-next-gen.yaml",
          "pipelines/pingcap/ticdc/latest/pull_cdc_kafka_integration_light_next_gen/pipeline.groovy",
          "pipelines/pingcap/ticdc/latest/pull_cdc_storage_integration_light_next_gen/pipeline.groovy",
          "pipelines/pingcap/ticdc/latest/pull_cdc_pulsar_integration_light/pipeline.groovy",
          "pipelines/pingcap/ticdc/latest/pull_cdc_kafka_integration_light/pipeline.groovy",
          "pipelines/pingcap/ticdc/release-9.0-beta/pull_cdc_kafka_integration_light.groovy",
          "pipelines/pingcap/ticdc/release-9.0-beta/pull_cdc_pulsar_integration_light.groovy",
          "pipelines/pingcap/ticdc/latest/pull_cdc_kafka_integration_heavy/pipeline.groovy",
          "pipelines/pingcap/ticdc/release-9.0-beta/pull_cdc_mysql_integration_heavy.groovy"
        ],
        "commitId" : "cadf792232660895bebcb5f4bfad1d54317e6bac",
        "timestamp" : 1770885119000,
        "author" : {
          "absoluteUrl" : "https://do.pingcap.net/jenkins/user/noreply",
          "fullName" : "noreply"
        },
        "authorEmail" : "noreply@github.com",
        "comment" : "fix(ticdc): skip empty log archive in integration pipelines (#4162)\u000a\u000a## Summary\u000a\u000a- fix log collection in TiCDC integration pipelines when\u000a`/tmp/tidb_cdc_test/` contains no `*.log`\u000a- replace direct `tar ... $(find ... '*.log')` with a guarded flow:\u000a  - collect log file list first\u000a  - only run `tar` when list is non-empty\u000a  - print a skip message when no logs are found\u000a- apply the same behavior across:\u000a  - `pipelines/pingcap/ticdc/latest/*`\u000a  - `pipelines/pingcap/ticdc/latest/*_next_gen/*`\u000a  - `pipelines/pingcap/ticdc/release-9.0-beta/*`\u000a\u000a## Root Cause\u000a\u000aWhen `find` returns an empty result, `tar` is called without input files\u000aand exits with:\u000a\u000a- `tar: Cowardly refusing to create an empty archive`\u000a- exit code `2`\u000a\u000aThis causes the post-failure log collection step to fail unexpectedly.\u000a\u000a## Testing\u000a\u000a- reproduced old behavior locally: empty log directory + original `tar`\u000ainvocation returns exit code `2`\u000a- verified new guarded snippet behavior:\u000a  - no log files: step exits normally and prints skip message\u000a  - with log files: tarball is created successfully\u000a- pre-commit hooks passed during commit\u000a\u000a---------\u000a\u000aSigned-off-by: tenfyzhong <tenfy@tenfy.cn>\u000a",
        "date" : "2026-02-12 08:31:59 +0000",
        "id" : "cadf792232660895bebcb5f4bfad1d54317e6bac",
        "msg" : "fix(ticdc): skip empty log archive in integration pipelines (#4162)",
        "paths" : [
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/ticdc/latest/pull_cdc_kafka_integration_heavy/pipeline.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/ticdc/latest/pull_cdc_storage_integration_light/pipeline.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/ticdc/latest/pull_cdc_storage_integration_heavy_next_gen/pipeline.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/ticdc/latest/pull_cdc_pulsar_integration_heavy_next_gen/pipeline.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/ticdc/latest/pull_cdc_pulsar_integration_light_next_gen/pipeline.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/ticdc/release-9.0-beta/pull_cdc_kafka_integration_heavy.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/ticdc/release-9.0-beta/pull_cdc_storage_integration_light.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/ticdc/latest/pull_cdc_storage_integration_heavy/pipeline.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/ticdc/latest/pull_cdc_mysql_integration_light_next_gen/pipeline.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/ticdc/release-9.0-beta/pull_cdc_mysql_integration_heavy.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/ticdc/latest/pull_cdc_kafka_integration_heavy_next_gen/pipeline.groovy"
          },
          {
            "editType" : "edit",
            "file" : "prow-jobs/pingcap/ticdc/latest-presubmits-next-gen.yaml"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/ticdc/latest/pull_cdc_pulsar_integration_light/pipeline.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/ticdc/release-9.0-beta/pull_cdc_mysql_integration_light.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/ticdc/release-9.0-beta/pull_cdc_kafka_integration_light.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/ticdc/latest/pull_cdc_mysql_integration_light/pipeline.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/ticdc/latest/pull_cdc_pulsar_integration_heavy/pipeline.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/ticdc/release-9.0-beta/pull_cdc_pulsar_integration_light.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/ticdc/latest/pull_cdc_mysql_integration_heavy_next_gen/pipeline.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/ticdc/latest/pull_cdc_kafka_integration_light/pipeline.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/ticdc/release-9.0-beta/pull_cdc_storage_integration_heavy.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/ticdc/latest/pull_cdc_kafka_integration_light_next_gen/pipeline.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/ticdc/latest/pull_cdc_mysql_integration_heavy/pipeline.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/ticdc/latest/pull_cdc_storage_integration_light_next_gen/pipeline.groovy"
          }
        ]
      }
    ],
    "kind" : "git"
  },
  "culprits" : [
    {
      "absoluteUrl" : "https://do.pingcap.net/jenkins/user/noreply",
      "fullName" : "noreply"
    }
  ]
}