falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peeyush Bishnoi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FALCON-1671) FalconUnit is causing webapp tests failure
Date Thu, 17 Dec 2015 10:59:46 GMT

     [ https://issues.apache.org/jira/browse/FALCON-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Peeyush Bishnoi updated FALCON-1671:
------------------------------------
    Description: 
FalconUnit tests are failing while building Falcon
{code:java}
Running org.apache.falcon.unit.TestFalconUnit
objc[1899]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/jre/bin/java
and /Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/jre/lib/libinstrument.dylib.
One of the two will be used. Which one is undefined.
Tests run: 11, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 319.837 sec <<<
FAILURE! - in org.apache.falcon.unit.TestFalconUnit
testProcessInstanceManagementAPI2(org.apache.falcon.unit.TestFalconUnit)  Time elapsed: 91.763
sec  <<< FAILURE!
java.lang.AssertionError: expected:<SUCCEEDED> but was:<RUNNING>
	at org.testng.Assert.fail(Assert.java:89)
	at org.testng.Assert.failNotEquals(Assert.java:489)
	at org.testng.Assert.assertEquals(Assert.java:118)
	at org.testng.Assert.assertEquals(Assert.java:160)
	at org.apache.falcon.unit.TestFalconUnit.testProcessInstanceManagementAPI2(TestFalconUnit.java:285)

{code}

  was:
FalconUnit is causing webapp tests failure:

{code:java}
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.854 s
[INFO] Finished at: 2015-12-17T16:01:08+05:30
[INFO] Final Memory: 87M/425M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
(default-testCompile) on project falcon-webapp: Compilation failure: Compilation failure:
[ERROR] /Users/pbishnoi/data/apache/1491/falcon/webapp/src/test/java/org/apache/falcon/resource/AbstractSchedulerManagerJerseyIT.java:[58,16]
error: setup() in AbstractSchedulerManagerJerseyIT cannot override setup() in FalconUnitTestBase
[ERROR] overridden method does not throw Exception
[ERROR] /Users/pbishnoi/data/apache/1491/falcon/webapp/src/test/java/org/apache/falcon/resource/AbstractSchedulerManagerJerseyIT.java:[98,34]
error: COLO has private access in FalconUnitTestBase
[ERROR] /Users/pbishnoi/data/apache/1491/falcon/webapp/src/test/java/org/apache/falcon/resource/AbstractSchedulerManagerJerseyIT.java:[99,37]
error: CLUSTER has private access in FalconUnitTestBase
[ERROR] /Users/pbishnoi/data/apache/1491/falcon/webapp/src/test/java/org/apache/falcon/resource/InstanceSchedulerManagerJerseyIT.java:[44,34]
error: COLO has private access in FalconUnitTestBase
[ERROR] /Users/pbishnoi/data/apache/1491/falcon/webapp/src/test/java/org/apache/falcon/resource/InstanceSchedulerManagerJerseyIT.java:[45,37]
error: CLUSTER has private access in FalconUnitTestBase
[ERROR] /Users/pbishnoi/data/apache/1491/falcon/webapp/src/test/java/org/apache/falcon/resource/InstanceSchedulerManagerJerseyIT.java:[71,34]
error: COLO has private access in FalconUnitTestBase
[ERROR] /Users/pbishnoi/data/apache/1491/falcon/webapp/src/test/java/org/apache/falcon/resource/InstanceSchedulerManagerJerseyIT.java:[95,34]
error: COLO has private access in FalconUnitTestBase
[ERROR] /Users/pbishnoi/data/apache/1491/falcon/webapp/src/test/java/org/apache/falcon/resource/InstanceSchedulerManagerJerseyIT.java:[122,34]
error: COLO has private access in FalconUnitTestBase
[ERROR] /Users/pbishnoi/data/apache/1491/falcon/webapp/src/test/java/org/apache/falcon/resource/EntityManagerJerseyIT.java:[92,16]
error: setup() in EntityManagerJerseyIT cannot override setup() in FalconUnitTestBase
[ERROR] overridden method does not throw Exception
[ERROR] /Users/pbishnoi/data/apache/1491/falcon/webapp/src/test/java/org/apache/falcon/resource/EntitySchedulerManagerJerseyIT.java:[36,34]
error: COLO has private access in FalconUnitTestBase
[ERROR] /Users/pbishnoi/data/apache/1491/falcon/webapp/src/test/java/org/apache/falcon/resource/EntitySchedulerManagerJerseyIT.java:[37,37]
error: CLUSTER has private access in FalconUnitTestBase
[ERROR] /Users/pbishnoi/data/apache/1491/falcon/webapp/src/test/java/org/apache/falcon/resource/EntitySchedulerManagerJerseyIT.java:[60,34]
error: COLO has private access in FalconUnitTestBase
[ERROR] /Users/pbishnoi/data/apache/1491/falcon/webapp/src/test/java/org/apache/falcon/resource/EntitySchedulerManagerJerseyIT.java:[61,37]
error: CLUSTER has private access in FalconUnitTestBase
[ERROR] /Users/pbishnoi/data/apache/1491/falcon/webapp/src/test/java/org/apache/falcon/resource/EntitySchedulerManagerJerseyIT.java:[95,34]
error: COLO has private access in FalconUnitTestBase
[ERROR] /Users/pbishnoi/data/apache/1491/falcon/webapp/src/test/java/org/apache/falcon/resource/EntitySchedulerManagerJerseyIT.java:[96,37]
error: CLUSTER has private access in FalconUnitTestBase
[ERROR] /Users/pbishnoi/data/apache/1491/falcon/webapp/src/test/java/org/apache/falcon/resource/ProcessInstanceManagerIT.java:[50,16]
error: setup() in ProcessInstanceManagerIT cannot override setup() in FalconUnitTestBase
{code}


> FalconUnit is causing webapp tests failure
> ------------------------------------------
>
>                 Key: FALCON-1671
>                 URL: https://issues.apache.org/jira/browse/FALCON-1671
>             Project: Falcon
>          Issue Type: Bug
>          Components: webapp
>            Reporter: Peeyush Bishnoi
>            Priority: Critical
>             Fix For: 0.9
>
>
> FalconUnit tests are failing while building Falcon
> {code:java}
> Running org.apache.falcon.unit.TestFalconUnit
> objc[1899]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/jre/bin/java
and /Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/jre/lib/libinstrument.dylib.
One of the two will be used. Which one is undefined.
> Tests run: 11, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 319.837 sec <<<
FAILURE! - in org.apache.falcon.unit.TestFalconUnit
> testProcessInstanceManagementAPI2(org.apache.falcon.unit.TestFalconUnit)  Time elapsed:
91.763 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<SUCCEEDED> but was:<RUNNING>
> 	at org.testng.Assert.fail(Assert.java:89)
> 	at org.testng.Assert.failNotEquals(Assert.java:489)
> 	at org.testng.Assert.assertEquals(Assert.java:118)
> 	at org.testng.Assert.assertEquals(Assert.java:160)
> 	at org.apache.falcon.unit.TestFalconUnit.testProcessInstanceManagementAPI2(TestFalconUnit.java:285)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message