Skip to content

Conversation

@ajayydv
Copy link
Contributor

@ajayydv ajayydv commented Mar 21, 2019

No description provided.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 26 Docker mode activated.
_ Prechecks _
+1 @author 0 The patch does not contain any @author tags.
-1 test4tests 0 The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ trunk Compile Tests _
+1 mvninstall 1203 trunk passed
+1 compile 66 trunk passed
+1 mvnsite 25 trunk passed
+1 shadedclient 721 branch has no errors when building and testing our client artifacts.
+1 javadoc 20 trunk passed
_ Patch Compile Tests _
-1 mvninstall 21 dist in the patch failed.
+1 compile 19 the patch passed
+1 javac 19 the patch passed
+1 mvnsite 21 the patch passed
+1 shellcheck 0 There were no new shellcheck issues.
+1 shelldocs 15 There were no new shelldocs issues.
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedclient 801 patch has no errors when building and testing our client artifacts.
+1 javadoc 17 the patch passed
_ Other Tests _
+1 unit 22 dist in the patch passed.
+1 asflicense 29 The patch does not generate ASF License warnings.
3148
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-632/1/artifact/out/Dockerfile
GITHUB PR #632
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient shellcheck shelldocs
uname Linux f0b787d89b57 4.4.0-139-generic #165~14.04.1-Ubuntu SMP Wed Oct 31 10:55:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / a99eb80
maven version: Apache Maven 3.3.9
Default Java 1.8.0_191
shellcheck v0.4.6
mvninstall https://builds.apache.org/job/hadoop-multibranch/job/PR-632/1/artifact/out/patch-mvninstall-hadoop-ozone_dist.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-632/1/testReport/
Max. process+thread count 340 (vs. ulimit of 5500)
modules C: hadoop-ozone/dist U: hadoop-ozone/dist
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-632/1/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@xiaoyuyao
Copy link
Contributor

+1, pending nightly run results.
I've tested in my local acceptance test and everything is passing.

Copy link
Member

Choose a reason for hiding this comment

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

What is the goal of this file? Based on the name it's not clear for me.

Copy link
Member

Choose a reason for hiding this comment

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

Oh, I got it. I think you assume it's always executed before all the tests. I would use a generic test initialization file:

http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#initialization-files

and a 'Suite Setup'. Kinit can be executed in case of the SECURITY_ENABLED is set. An other init file can be added to the s3 directory to initialize the s3 credentials.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Member

Choose a reason for hiding this comment

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

Not clear why these keywords are moved to the commonlib. Is there any reason for that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This can be used inside security robot tests as well.

Copy link
Member

Choose a reason for hiding this comment

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

Do we need to install aws cli for all the tests? I think most of the time "Kinit test user" is enough

Copy link
Contributor Author

Choose a reason for hiding this comment

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

currently it used to setup aws secure credentials.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

you are right, moved s3 part to s3 commonlib.

Copy link
Member

Choose a reason for hiding this comment

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

NIT: can be more clean to use two different test case:

  1. Create volume bucket with wrong credentials
  2. Create volume bucket

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 0 Docker mode activated.
-1 patch 7 #632 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help.
Subsystem Report/Notes
GITHUB PR #632
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-632/2/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

Copy link
Contributor

Choose a reason for hiding this comment

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

shall we move this to commonawslib.robot?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 0 Docker mode activated.
-1 patch 5 #632 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help.
Subsystem Report/Notes
GITHUB PR #632
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-632/3/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

Copy link
Contributor

Choose a reason for hiding this comment

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

dup line 18 can be removed.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 0 Docker mode activated.
-1 patch 7 #632 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help.
Subsystem Report/Notes
GITHUB PR #632
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-632/4/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@elek
Copy link
Member

elek commented Mar 28, 2019

I am trying to test it but it's still failing. For example:

Testing audit parser                                                  | FAIL |
'hadoop	280	
' does not contain 'hadaoop'

@elek
Copy link
Member

elek commented Mar 28, 2019

I also noticed a lot of security related exceptions:

Caused by: java.io.IOException: DestHost:destPort om:9862 , LocalHost:localPort om/192.168.160.6:0. Failed on local exception: java.io.IOException: org.apache.hadoop.security.AccessControlException: Client cannot authenticate via:[TOKEN, KERBEROS]

@xiaoyuyao
Copy link
Contributor

You need to configure the service level authorization in hadoop-policy.xml when hadoop.security.authorization is true.
https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/ServiceLevelAuth.html

Try setting hadoop.security.authorization = false to see if you can get the authentication part verified first. Then add individual rules in hadoop-policy.xml with hadoop.security.authorization=true.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 23 Docker mode activated.
_ Prechecks _
+1 @author 0 The patch does not contain any @author tags.
-1 test4tests 0 The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ trunk Compile Tests _
+1 mvninstall 997 trunk passed
+1 compile 36 trunk passed
+1 mvnsite 22 trunk passed
+1 shadedclient 637 branch has no errors when building and testing our client artifacts.
+1 javadoc 21 trunk passed
_ Patch Compile Tests _
-1 mvninstall 20 dist in the patch failed.
+1 compile 19 the patch passed
+1 javac 19 the patch passed
+1 mvnsite 20 the patch passed
-1 shellcheck 1 The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
+1 shelldocs 16 There were no new shelldocs issues.
-1 whitespace 0 The patch 3 line(s) with tabs.
+1 shadedclient 720 patch has no errors when building and testing our client artifacts.
+1 javadoc 19 the patch passed
_ Other Tests _
+1 unit 24 dist in the patch passed.
+1 asflicense 31 The patch does not generate ASF License warnings.
2742
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-632/5/artifact/out/Dockerfile
GITHUB PR #632
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient shellcheck shelldocs
uname Linux d7bf174f633f 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / d7a2f94
maven version: Apache Maven 3.3.9
Default Java 1.8.0_191
shellcheck v0.4.6
mvninstall https://builds.apache.org/job/hadoop-multibranch/job/PR-632/5/artifact/out/patch-mvninstall-hadoop-ozone_dist.txt
shellcheck https://builds.apache.org/job/hadoop-multibranch/job/PR-632/5/artifact/out/diff-patch-shellcheck.txt
whitespace https://builds.apache.org/job/hadoop-multibranch/job/PR-632/5/artifact/out/whitespace-tabs.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-632/5/testReport/
Max. process+thread count 411 (vs. ulimit of 5500)
modules C: hadoop-ozone/dist U: hadoop-ozone/dist
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-632/5/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

Library String
Library BuiltIn

*** Variables ***

Choose a reason for hiding this comment

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

whitespace:tabs in line

${output} = Execute aws s3api --endpoint-url ${ENDPOINT_URL} list-buckets
Should contain ${output} bucket-test123

Secure S3 test Failure

Choose a reason for hiding this comment

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

whitespace:tabs in line

if [ "${COMPOSE_DIR}" == "ozonesecure" ]; then
SECURITY_ENABLED="true"
else
SECURITY_ENABLED="false"

Choose a reason for hiding this comment

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

whitespace:tabs in line

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 26 Docker mode activated.
_ Prechecks _
+1 @author 0 The patch does not contain any @author tags.
-1 test4tests 0 The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ trunk Compile Tests _
+1 mvninstall 987 trunk passed
+1 compile 68 trunk passed
+1 mvnsite 29 trunk passed
+1 shadedclient 673 branch has no errors when building and testing our client artifacts.
+1 javadoc 23 trunk passed
_ Patch Compile Tests _
-1 mvninstall 22 dist in the patch failed.
+1 compile 21 the patch passed
+1 javac 21 the patch passed
+1 mvnsite 22 the patch passed
+1 shellcheck 1 There were no new shellcheck issues.
+1 shelldocs 19 There were no new shelldocs issues.
-1 whitespace 0 The patch 3 line(s) with tabs.
+1 shadedclient 751 patch has no errors when building and testing our client artifacts.
+1 javadoc 20 the patch passed
_ Other Tests _
+1 unit 24 dist in the patch passed.
+1 asflicense 31 The patch does not generate ASF License warnings.
2856
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-632/6/artifact/out/Dockerfile
GITHUB PR #632
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient shellcheck shelldocs
uname Linux 9a5cd7534c76 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / d7a2f94
maven version: Apache Maven 3.3.9
Default Java 1.8.0_191
shellcheck v0.4.6
mvninstall https://builds.apache.org/job/hadoop-multibranch/job/PR-632/6/artifact/out/patch-mvninstall-hadoop-ozone_dist.txt
whitespace https://builds.apache.org/job/hadoop-multibranch/job/PR-632/6/artifact/out/whitespace-tabs.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-632/6/testReport/
Max. process+thread count 411 (vs. ulimit of 5500)
modules C: hadoop-ozone/dist U: hadoop-ozone/dist
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-632/6/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

Choose a reason for hiding this comment

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

whitespace:tabs in line

Choose a reason for hiding this comment

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

whitespace:tabs in line

Choose a reason for hiding this comment

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

whitespace:tabs in line

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 23 Docker mode activated.
_ Prechecks _
+1 @author 0 The patch does not contain any @author tags.
-1 test4tests 0 The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ trunk Compile Tests _
+1 mvninstall 964 trunk passed
+1 compile 25 trunk passed
+1 mvnsite 39 trunk passed
+1 shadedclient 608 branch has no errors when building and testing our client artifacts.
+1 javadoc 18 trunk passed
_ Patch Compile Tests _
-1 mvninstall 18 dist in the patch failed.
+1 compile 17 the patch passed
+1 javac 17 the patch passed
+1 mvnsite 18 the patch passed
+1 shellcheck 0 There were no new shellcheck issues.
+1 shelldocs 13 There were no new shelldocs issues.
-1 whitespace 0 The patch 3 line(s) with tabs.
+1 shadedclient 669 patch has no errors when building and testing our client artifacts.
+1 javadoc 18 the patch passed
_ Other Tests _
+1 unit 20 dist in the patch passed.
+1 asflicense 25 The patch does not generate ASF License warnings.
2607
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-632/7/artifact/out/Dockerfile
GITHUB PR #632
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient shellcheck shelldocs
uname Linux dbbc27fea525 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / d7a2f94
maven version: Apache Maven 3.3.9
Default Java 1.8.0_191
shellcheck v0.4.6
mvninstall https://builds.apache.org/job/hadoop-multibranch/job/PR-632/7/artifact/out/patch-mvninstall-hadoop-ozone_dist.txt
whitespace https://builds.apache.org/job/hadoop-multibranch/job/PR-632/7/artifact/out/whitespace-tabs.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-632/7/testReport/
Max. process+thread count 446 (vs. ulimit of 5500)
modules C: hadoop-ozone/dist U: hadoop-ozone/dist
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-632/7/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

Choose a reason for hiding this comment

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

whitespace:tabs in line

Choose a reason for hiding this comment

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

whitespace:tabs in line

Choose a reason for hiding this comment

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

whitespace:tabs in line

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 25 Docker mode activated.
_ Prechecks _
+1 @author 0 The patch does not contain any @author tags.
-1 test4tests 0 The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ trunk Compile Tests _
+1 mvninstall 963 trunk passed
+1 compile 23 trunk passed
+1 mvnsite 24 trunk passed
+1 shadedclient 644 branch has no errors when building and testing our client artifacts.
+1 javadoc 16 trunk passed
_ Patch Compile Tests _
-1 mvninstall 18 dist in the patch failed.
+1 compile 20 the patch passed
+1 javac 20 the patch passed
+1 mvnsite 20 the patch passed
+1 shellcheck 0 There were no new shellcheck issues.
+1 shelldocs 13 There were no new shelldocs issues.
-1 whitespace 0 The patch 3 line(s) with tabs.
+1 shadedclient 730 patch has no errors when building and testing our client artifacts.
+1 javadoc 16 the patch passed
_ Other Tests _
+1 unit 21 dist in the patch passed.
+1 asflicense 26 The patch does not generate ASF License warnings.
2681
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-632/8/artifact/out/Dockerfile
GITHUB PR #632
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient shellcheck shelldocs
uname Linux 62659a6c688e 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / d7a2f94
maven version: Apache Maven 3.3.9
Default Java 1.8.0_191
shellcheck v0.4.6
mvninstall https://builds.apache.org/job/hadoop-multibranch/job/PR-632/8/artifact/out/patch-mvninstall-hadoop-ozone_dist.txt
whitespace https://builds.apache.org/job/hadoop-multibranch/job/PR-632/8/artifact/out/whitespace-tabs.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-632/8/testReport/
Max. process+thread count 445 (vs. ulimit of 5500)
modules C: hadoop-ozone/dist U: hadoop-ozone/dist
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-632/8/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

Library String
Library BuiltIn

*** Variables ***

Choose a reason for hiding this comment

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

whitespace:tabs in line

${output} = Execute aws s3api --endpoint-url ${ENDPOINT_URL} list-buckets
Should contain ${output} bucket-test123

Secure S3 test Failure

Choose a reason for hiding this comment

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

whitespace:tabs in line

SECURITY_ENABLED="true"
else
SECURITY_ENABLED="false"
fi

Choose a reason for hiding this comment

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

whitespace:tabs in line

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 24 Docker mode activated.
_ Prechecks _
+1 @author 0 The patch does not contain any @author tags.
-1 test4tests 0 The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ trunk Compile Tests _
+1 mvninstall 1099 trunk passed
+1 compile 64 trunk passed
+1 mvnsite 27 trunk passed
+1 shadedclient 733 branch has no errors when building and testing our client artifacts.
+1 javadoc 21 trunk passed
_ Patch Compile Tests _
-1 mvninstall 18 dist in the patch failed.
+1 compile 18 the patch passed
+1 javac 18 the patch passed
+1 mvnsite 20 the patch passed
+1 shellcheck 0 There were no new shellcheck issues.
+1 shelldocs 14 There were no new shelldocs issues.
-1 whitespace 0 The patch 3 line(s) with tabs.
+1 shadedclient 799 patch has no errors when building and testing our client artifacts.
+1 javadoc 17 the patch passed
_ Other Tests _
+1 unit 21 dist in the patch passed.
+1 asflicense 28 The patch does not generate ASF License warnings.
3043
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-632/9/artifact/out/Dockerfile
GITHUB PR #632
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient shellcheck shelldocs
uname Linux 3ee5ce841a10 4.4.0-139-generic #165~14.04.1-Ubuntu SMP Wed Oct 31 10:55:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / 7dc0ecc
maven version: Apache Maven 3.3.9
Default Java 1.8.0_191
shellcheck v0.4.6
mvninstall https://builds.apache.org/job/hadoop-multibranch/job/PR-632/9/artifact/out/patch-mvninstall-hadoop-ozone_dist.txt
whitespace https://builds.apache.org/job/hadoop-multibranch/job/PR-632/9/artifact/out/whitespace-tabs.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-632/9/testReport/
Max. process+thread count 341 (vs. ulimit of 5500)
modules C: hadoop-ozone/dist U: hadoop-ozone/dist
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-632/9/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@elek
Copy link
Member

elek commented Mar 29, 2019

Thanks the update @ajayydv. +1 if jenkins is passed...

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 0 Docker mode activated.
-1 patch 6 #632 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help.
Subsystem Report/Notes
GITHUB PR #632
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-632/10/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

Copy link
Member

@elek elek left a comment

Choose a reason for hiding this comment

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

+1. Last CI is passed. Thanks the continuous update @ajayydv
I am merging it right now...

@elek elek closed this Apr 11, 2019
shanthoosh added a commit to shanthoosh/hadoop that referenced this pull request Oct 15, 2019
…ests.

Author: Shanthoosh Venkataraman <[email protected]>
Author: Shanthoosh Venkataraman <[email protected]>

Reviewers: Jagadish<[email protected]>, Boris Shkolnik<[email protected]>

Closes apache#632 from shanthoosh/fix_zk_crap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants