-
Notifications
You must be signed in to change notification settings - Fork 588
HDDS-2115 Add acceptance test for createPipeline CLI and datanode list CLI #375
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
Conversation
dfa21af to
083c5d4
Compare
|
|
adoroszlai
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @timmylicheng for working on this. LGTM, except two typos. Please also consider two suggestions.
...ds/tools/src/main/java/org/apache/hadoop/hdds/scm/cli/pipeline/CreatePipelineSubcommand.java
Outdated
Show resolved
Hide resolved
...ds/tools/src/main/java/org/apache/hadoop/hdds/scm/cli/pipeline/CreatePipelineSubcommand.java
Outdated
Show resolved
Hide resolved
083c5d4 to
bdf6078
Compare
|
ERROR: Test execution of /home/runner/work/hadoop-ozone/hadoop-ozone/hadoop-ozone/dist/target/ozone-0.5.0-SNAPSHOT/compose/ozonesecure is FAILED!!!! Failed acceptance test is irrelevant. |
adoroszlai
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @timmylicheng for updating the patch.
|
Thanks @timmylicheng for working on this. |
|
@timmylicheng can you please rebase with latest master. We wouldn't get a clean acceptance test run without the fix in HDDS-2774. |
Yea sure. We are going merge tip master to HDDS-1564. |
1e7f167 to
8b0785d
Compare
|
After merge with master, acceptance fails at s3 gateway test. @hanishakoneru |
8b0785d to
2833470
Compare
Can't see the exact error message. The acceptance test log files are missing from the archive. Let me try to retrigger it.... |
|
I am not able to expand the acceptance test logs. Going to re-trigger the checks again to see if this is a one time problem or persistent. |
b1109aa to
9fd2c86
Compare
|
Removing network ozonesecure_default Try --help for usage information. |
|
@timmylicheng all acceptance tests failed because SCM could not exit safe mode: Docker container logs are full of messages like |
|
Thanks @adoroszlai. I am running CI with @timmylicheng 's changes on top of current master to see if rebasing to master would resolve the issue. I ll post the results when it completes. |
9fd2c86 to
4d57617
Compare
|
I merged with master and acceptance failed again with a different message. @hanishakoneru @adoroszlai hadoop27-mapreduce :: Execute MR jobs Execute PI calculation | FAIL | Output: /tmp/smoketest/hadoop27/result/robot-hadoop27-hadoop27-mapreduce-rm.xml |
|
Acceptance tests on HDDS-1564 branch seems to be unstable https://github.com/apache/hadoop-ozone/actions?query=branch%3AHDDS-1564 compared to the master: https://github.com/apache/hadoop-ozone/actions?query=branch%3Amaster I think it's a generic problem with the branch as I have seen same failures on different PRs (eg. #406). I would suggest to merge this PR as is. It wouldn't break the master (feature branch) and the failure is clearly not the problem with this PR. And after committing the issues in the queue, we need to find the problem and fix the tests on this branch... |
|
Thanks @elek . I also tested the patch extensively. Most times the acceptance test fails without any logs. Tested the robot tests locally and they work fine. Also tested with just this change on top of master and the results are as expected. |
|
Thank you @timmylicheng for the contributions, @adoroszlai and @elek for the reviews. |
…t CLI (apache#375) * HDDS-2115 Add acceptance test for createPipeline CLI and datanode list CLI.
…t CLI (apache#375) * HDDS-2115 Add acceptance test for createPipeline CLI and datanode list CLI.
* HDDS-1577. Add default pipeline placement policy implementation. (#1366) (cherry picked from commit b640a5f6d53830aee4b9c2a7d17bf57c987962cd) * HDDS-1571. Create an interface for pipeline placement policy to support network topologies. (#1395) (cherry picked from commit 753fc6703a39154ed6013e44dbae572391748906) * HDDS-2089: Add createPipeline CLI. (#1418) (cherry picked from commit 326b5acd4a63fe46821919322867f5daff30750c) * HDDS-1569 Support creating multiple pipelines with same datanode. Contributed by Li Cheng. This closes #28 * HDDS-1572 Implement a Pipeline scrubber to clean up non-OPEN pipeline. (#237) * Rebase Fix * HDDS-2650 Fix createPipeline CLI. (#340) * HDDS-2035 Implement datanode level CLI to reveal pipeline relation. (#348) * Revert "HDDS-2650 Fix createPipeline CLI. (#340)" This reverts commit 7c71710. * HDDS-2650 Fix createPipeline CLI and make it message based. (#370) * HDDS-1574 Average out pipeline allocation on datanodes and add metrcs/test (#291) * Resolve rebase conflict. * HDDS-2756. Handle pipeline creation failure in different way when it exceeds pipeline limit Closes #401 * HDDS-2115 Add acceptance test for createPipeline CLI and datanode list CLI (#375) * HDDS-2115 Add acceptance test for createPipeline CLI and datanode list CLI. * HDDS-2772 Better management for pipeline creation limitation. (#410) * HDDS-2913 Update config names and CLI for multi-raft feature. (#462) * HDDS-2924. Fix Pipeline#nodeIdsHash collision issue. (#478) * HDDS-2923 Add fall-back protection for rack awareness in pipeline creation. (#516) * HDDS-3007 Fix CI test failure for TestSCMNodeManager. (#550) Co-authored-by: Sammi Chen <[email protected]> Co-authored-by: Xiaoyu Yao <[email protected]>
What changes were proposed in this pull request?
#HDDS-2115 Add acceptance test for createPipeline CLI and datanode list CLI
(Please fill in changes proposed in this fix)
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-2115
(Please create an issue in ASF JIRA before opening a pull request,
and you need to set the title of the pull request which starts with
the corresponding JIRA issue number. (e.g. HDDS-XXXX. Fix a typo in YYY.)
Please replace this section with the link to the Apache JIRA)
How was this patch tested?
Run test-single.sh locally and all passed.
(Please explain how this patch was tested. Ex: unit tests, manual tests)
(If this patch involves UI changes, please attach a screen-shot; otherwise, remove this)