Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: support real cluster test in jenkins #7493

Merged
merged 11 commits into from
Dec 18, 2023

Conversation

HuSharp
Copy link
Member

@HuSharp HuSharp commented Dec 5, 2023

What problem does this PR solve?

Issue Number: Ref #7298

wait #7516 merged

What is changed and how does it work?

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Release note

None.

Copy link
Contributor

ti-chi-bot bot commented Dec 5, 2023

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • JmPotato
  • rleungx

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

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

Reviewer can indicate their review by submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

Copy link
Contributor

ti-chi-bot bot commented Dec 5, 2023

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@ti-chi-bot ti-chi-bot bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. release-note-none Denotes a PR that doesn't merit a release note. labels Dec 5, 2023
@ti-chi-bot ti-chi-bot bot requested review from nolouch and Yisaer December 5, 2023 02:41
@ti-chi-bot ti-chi-bot bot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Dec 5, 2023
Copy link

codecov bot commented Dec 5, 2023

Codecov Report

Merging #7493 (e296e7e) into master (f51f913) will increase coverage by 0.01%.
Report is 2 commits behind head on master.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7493      +/-   ##
==========================================
+ Coverage   74.65%   74.66%   +0.01%     
==========================================
  Files         454      454              
  Lines       50142    50142              
==========================================
+ Hits        37432    37440       +8     
+ Misses       9385     9373      -12     
- Partials     3325     3329       +4     
Flag Coverage Δ
unittests 74.66% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@HuSharp HuSharp force-pushed the support_jenkins branch 2 times, most recently from fed4447 to c2f7fbf Compare December 7, 2023 08:15
Signed-off-by: husharp <[email protected]>
Signed-off-by: husharp <[email protected]>
@HuSharp HuSharp marked this pull request as ready for review December 7, 2023 09:28
@ti-chi-bot ti-chi-bot bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 7, 2023
@HuSharp HuSharp changed the title [DNM] ci: support test in jenkins ci: support real cluster test in jenkins Dec 7, 2023
ti-chi-bot bot pushed a commit to PingCAP-QE/ci that referenced this pull request Dec 8, 2023
rely on tikv/pd#7493

---------

Signed-off-by: husharp <[email protected]>
Co-authored-by: wuhuizuo <[email protected]>
Co-authored-by: Purelind <[email protected]>
@purelind
Copy link
Contributor

purelind commented Dec 8, 2023

/test ?

Copy link
Contributor

ti-chi-bot bot commented Dec 8, 2023

@purelind: The following commands are available to trigger required jobs:

  • /test build

The following commands are available to trigger optional jobs:

  • /test pull-integration-copr-test
  • /test pull-integration-realcluster-test

Use /test all to run the following jobs that were automatically triggered:

  • tikv/pd/ghpr_build

In response to this:

/test ?

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/test-infra repository.

@purelind
Copy link
Contributor

purelind commented Dec 8, 2023

/test pull-integration-realcluster-test

@HuSharp
Copy link
Member Author

HuSharp commented Dec 14, 2023

@HuSharp
Copy link
Member Author

HuSharp commented Dec 14, 2023

/test pull-integration-realcluster-test

Comment on lines +58 to +63
RELEASE_VERSION ?= $(shell git describe --tags --dirty --always)
ifeq ($(RUN_CI), 1)
RELEASE_VERSION := None
endif

LDFLAGS += -X "$(PD_PKG)/pkg/versioninfo.PDReleaseVersion=$(RELEASE_VERSION)"
Copy link
Member Author

Choose a reason for hiding this comment

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

there is no tag in the ci environment, we can not pass

pd/server/util.go

Lines 39 to 41 in bfc988b

if versioninfo.PDReleaseVersion != "None" {
pdVersion = versioninfo.MustParseVersion(versioninfo.PDReleaseVersion)
}
whithout tag :(

@bufferflies
Copy link
Contributor

/test ?

Copy link
Contributor

ti-chi-bot bot commented Dec 14, 2023

@bufferflies: The following commands are available to trigger required jobs:

  • /test build

The following commands are available to trigger optional jobs:

  • /test pull-integration-copr-test
  • /test pull-integration-realcluster-test

Use /test all to run the following jobs that were automatically triggered:

  • tikv/pd/ghpr_build

In response to this:

/test ?

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/test-infra repository.

tests/integrations/realtiup/mock_db.go Outdated Show resolved Hide resolved
@ti-chi-bot ti-chi-bot bot added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Dec 14, 2023
Signed-off-by: husharp <[email protected]>
@HuSharp
Copy link
Member Author

HuSharp commented Dec 14, 2023

/test pull-integration-realcluster-test

@bufferflies
Copy link
Contributor

/merge

Copy link
Contributor

ti-chi-bot bot commented Dec 18, 2023

@bufferflies: It seems you want to merge this PR, I will help you trigger all the tests:

/run-all-tests

You only need to trigger /merge once, and if the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes.

If you have any questions about the PR merge process, please refer to pr process.

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 ti-community-infra/tichi repository.

Copy link
Contributor

ti-chi-bot bot commented Dec 18, 2023

This pull request has been accepted and is ready to merge.

Commit hash: e296e7e

@ti-chi-bot ti-chi-bot bot added the status/can-merge Indicates a PR has been approved by a committer. label Dec 18, 2023
@bufferflies
Copy link
Contributor

/rebuild

@bufferflies
Copy link
Contributor

/retest

@bufferflies
Copy link
Contributor

/rerun

@bufferflies
Copy link
Contributor

/test

Copy link
Contributor

ti-chi-bot bot commented Dec 18, 2023

@bufferflies: The /test command needs one or more targets.
The following commands are available to trigger required jobs:

  • /test build

The following commands are available to trigger optional jobs:

  • /test pull-integration-copr-test
  • /test pull-integration-realcluster-test

Use /test all to run the following jobs that were automatically triggered:

  • tikv/pd/ghpr_build

In response to this:

/test

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/test-infra repository.

@bufferflies
Copy link
Contributor

/test all

@ti-chi-bot ti-chi-bot bot merged commit a4ab7d3 into tikv:master Dec 18, 2023
23 checks passed
@HuSharp HuSharp deleted the support_jenkins branch December 18, 2023 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note-none Denotes a PR that doesn't merit a release note. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants