PingCAP-QE / ci

Continue intergration tests
Apache License 2.0
19 stars 97 forks source link

refactor(jenkins/pipelines,pipelines): use the new dockerfile url location #2963

Closed wuhuizuo closed 1 month ago

wuhuizuo commented 1 month ago

Reverts PingCAP-QE/ci#2962

ti-chi-bot[bot] commented 1 month ago

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

Based on the pull request description, it seems like this PR is reverting another PR. Therefore, I would first check the original PR to understand the change that was being made and why it was reverted.

Assuming that this PR is valid, the key changes seem to be updating the URLs for Dockerfiles in several places. Specifically, the changes update the URLs for the following Dockerfiles:

There don't seem to be any potential problems with these changes. However, I would suggest adding more context to the PR description to explain why this reversion is necessary. Additionally, it would be helpful to have a link to the original PR that was reverted.

As for fixing suggestions, assuming this PR is valid, there don't seem to be any necessary changes. However, as mentioned earlier, I would suggest adding more context to the PR description for better clarity.

wuhuizuo commented 1 month ago

/review The CI server say some error happened:

[2024-05-11T10:18:25.095Z] Started by upstream project "devbuild" build number 4675
[2024-05-11T10:18:25.095Z] originally caused by:
[2024-05-11T10:18:25.095Z]  Started by user PingCAP System Admin
[2024-05-11T10:18:26.166Z] Obtained jenkins/pipelines/cd/atom-jobs/docker-common.groovy from git https://github.com/PingCAP-QE/ci.git
[2024-05-11T10:18:26.173Z] org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
[2024-05-11T10:18:26.173Z] WorkflowScript: 92: unexpected token: def @ line 92, column 3.
[2024-05-11T10:18:26.173Z]    + def additionalArgs = ""
[2024-05-11T10:18:26.173Z]      ^
[2024-05-11T10:18:26.173Z] 
[2024-05-11T10:18:26.173Z] 1 error
[2024-05-11T10:18:26.173Z] 
[2024-05-11T10:18:26.174Z]  at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:309)

what's the problem?

ti-chi-bot[bot] commented 1 month ago

@wuhuizuo: Based on the provided information, it seems that the error occurred in the continuous integration (CI) server during the execution of a merge request titled "refactor(jenkins/pipelines,pipelines): use the new dockerfile url location". The merge request aimed to revert a previous Pull Request from the repository with number 2962.

The changes made in this merge request involve the modification of several Dockerfile URLs and the addition of a new flag to the Docker build command. The modifications were made to the following files:

However, the error message is missing, and it is not clear what caused the issue. It is necessary to have more information to understand what went wrong and how to solve the problem.

In response to [this](https://github.com/PingCAP-QE/ci/pull/2963#issuecomment-2105673602): >/review The CI server say some error happened: >``` >[2024-05-11T10:18:25.095Z] Started by upstream project "devbuild" build number 4675 >[2024-05-11T10:18:25.095Z] originally caused by: >[2024-05-11T10:18:25.095Z] Started by user PingCAP System Admin >[2024-05-11T10:18:26.166Z] Obtained jenkins/pipelines/cd/atom-jobs/docker-common.groovy from git https://github.com/PingCAP-QE/ci.git >[2024-05-11T10:18:26.173Z] org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: >[2024-05-11T10:18:26.173Z] WorkflowScript: 92: unexpected token: def @ line 92, column 3. >[2024-05-11T10:18:26.173Z] + def additionalArgs = "" >[2024-05-11T10:18:26.173Z] ^ >[2024-05-11T10:18:26.173Z] >[2024-05-11T10:18:26.173Z] 1 error >[2024-05-11T10:18:26.173Z] >[2024-05-11T10:18:26.174Z] at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:309) >``` > >what's the problem? > Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
ti-chi-bot[bot] commented 1 month ago

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

Summary:

This pull request aims to refactor the Jenkins pipelines and use a new dockerfile URL location. The changes include adding additionalArgs to the buildImgagesh, removing unnecessary arguments from the Docker build command, and changing the Dockerfile URL for some pipelines.

Potential problems:

It is not clear why this PR is being reverted. It is important to understand what caused the revert and ensure the changes in this PR do not reintroduce the same issue.

Fixing suggestions:

ti-chi-bot[bot] commented 1 month ago

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

Key Changes:

Potential Problems:

Fixing Suggestions:

wuhuizuo commented 1 month ago

/approve

ti-chi-bot[bot] commented 1 month ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: wuhuizuo

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

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[jenkins/OWNERS](https://github.com/PingCAP-QE/ci/blob/main/jenkins/OWNERS)~~ [wuhuizuo] - ~~[pipelines/OWNERS](https://github.com/PingCAP-QE/ci/blob/main/pipelines/OWNERS)~~ [wuhuizuo] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment