You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Shwetha G S (JIRA)" <ji...@apache.org> on 2014/11/04 08:51:34 UTC
[jira] [Commented] (OOZIE-1959) TestZKUtilsWithSecurity fails
[ https://issues.apache.org/jira/browse/OOZIE-1959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14195846#comment-14195846 ]
Shwetha G S commented on OOZIE-1959:
------------------------------------
Trunk build fails. Can you check please:
{noformat}
[INFO] Apache Oozie ZooKeeper Security Tests ............. FAILURE [0.794s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:24.006s
[INFO] Finished at: Tue Nov 04 13:16:49 IST 2014
[INFO] Final Memory: 332M/613M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (default-testCompile) on project oozie-zookeeper-security-tests: Compilation failure: Compilation failure:
[ERROR] /work/git/oozie/zookeeper-security-tests/src/test/java/org/apache/oozie/test/ZKXTestCaseWithSecurity.java:[40,16] error: cannot access TestCase
[ERROR] class file for junit.framework.TestCase not found
[ERROR] /work/git/oozie/zookeeper-security-tests/src/test/java/org/apache/oozie/util/TestZKUtilsWithSecurity.java:[22,29] error: package junit.framework does not exist
[ERROR] /work/git/oozie/zookeeper-security-tests/src/test/java/org/apache/oozie/util/TestZKUtilsWithSecurity.java:[22,0] error: static import only from classes and interfaces
[ERROR] /work/git/oozie/zookeeper-security-tests/src/test/java/org/apache/oozie/test/ZKXTestCaseWithSecurity.java:[53,8] error: cannot find symbol
[ERROR] class ZKXTestCaseWithSecurity
[ERROR] /work/git/oozie/zookeeper-security-tests/src/test/java/org/apache/oozie/test/ZKXTestCaseWithSecurity.java:[51,4] error: method does not override or implement a method from a supertype
[ERROR] /work/git/oozie/zookeeper-security-tests/src/test/java/org/apache/oozie/test/ZKXTestCaseWithSecurity.java:[68,8] error: cannot find symbol
[ERROR] class ZKXTestCaseWithSecurity
[ERROR] /work/git/oozie/zookeeper-security-tests/src/test/java/org/apache/oozie/test/ZKXTestCaseWithSecurity.java:[61,4] error: method does not override or implement a method from a supertype
[ERROR] /work/git/oozie/zookeeper-security-tests/src/test/java/org/apache/oozie/test/ZKXTestCaseWithSecurity.java:[103,8] error: cannot find symbol
[ERROR] class ZKXTestCaseWithSecurity
[ERROR] /work/git/oozie/zookeeper-security-tests/src/test/java/org/apache/oozie/test/ZKXTestCaseWithSecurity.java:[106,57] error: cannot find symbol
[ERROR] class ZKXTestCaseWithSecurity
[ERROR] /work/git/oozie/zookeeper-security-tests/src/test/java/org/apache/oozie/test/ZKXTestCaseWithSecurity.java:[108,30] error: cannot find symbol
[ERROR] class ZKXTestCaseWithSecurity
[ERROR] /work/git/oozie/zookeeper-security-tests/src/test/java/org/apache/oozie/test/ZKXTestCaseWithSecurity.java:[112,8] error: cannot find symbol
[ERROR] class ZKXTestCaseWithSecurity
[ERROR] /work/git/oozie/zookeeper-security-tests/src/test/java/org/apache/oozie/test/ZKXTestCaseWithSecurity.java:[113,8] error: cannot find symbol
[ERROR] class ZKXTestCaseWithSecurity
[ERROR] /work/git/oozie/zookeeper-security-tests/src/test/java/org/apache/oozie/test/ZKXTestCaseWithSecurity.java:[114,8] error: cannot find symbol
[ERROR] class ZKXTestCaseWithSecurity
[ERROR] /work/git/oozie/zookeeper-security-tests/src/test/java/org/apache/oozie/test/ZKXTestCaseWithSecurity.java:[121,8] error: cannot find symbol
[ERROR] class ZKXTestCaseWithSecurity
[ERROR] /work/git/oozie/zookeeper-security-tests/src/test/java/org/apache/oozie/test/ZKXTestCaseWithSecurity.java:[98,4] error: method does not override or implement a method from a supertype
[ERROR] -> [Help 1]
{noformat}
> TestZKUtilsWithSecurity fails
> -----------------------------
>
> Key: OOZIE-1959
> URL: https://issues.apache.org/jira/browse/OOZIE-1959
> Project: Oozie
> Issue Type: Bug
> Affects Versions: trunk, 4.1.0
> Reporter: Robert Kanter
> Assignee: Robert Kanter
> Priority: Critical
> Fix For: 4.1.0
>
> Attachments: OOZIE-1959.patch, OOZIE-1959_branch-4.1.patch
>
>
> TestZKUtilsWithSecurity fails:
> {noformat}
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Picked up _JAVA_OPTIONS: -Djava.awt.headless=true
> Concurrency config is parallel='classes', perCoreThreadCount=false, threadCount=1, useUnlimitedThreads=false
> 2014-07-31 16:44:33.786 java[38553:da03] Unable to load realm info from SCDynamicStore
> Running org.apache.oozie.util.TestZKUtilsWithSecurity
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 71.418 sec <<< FAILURE!
> Results :
> Tests in error:
> testCheckAndSetACLs(org.apache.oozie.util.TestZKUtilsWithSecurity): E1700: Issue communicating with ZooKeeper: KeeperErrorCode = AuthFailed for /services
> testNewUsingACLs(org.apache.oozie.util.TestZKUtilsWithSecurity): KeeperErrorCode = AuthFailed for /oozie
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0
> {noformat}
> It would also be good to get test-patch to run this (it currently does not because it needs to be run in a separate JVM as it changes JVM security settings that can't be unchanged); I think we can actually just create a new module for ZK Security tests (and move this test there) because each module uses a new JVM.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)