See 
<https://builds.apache.org/job/Apache%20Airavata/org.apache.airavata$airavata-security/1185/>

------------------------------------------
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Airavata Security Implementation 0.8-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ airavata-security ---
[debug] execute contextualize
[INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
<https://builds.apache.org/job/Apache%20Airavata/org.apache.airavata$airavata-security/ws/src/main/assembly/dist>

[INFO] --- maven-resources-plugin:2.5:copy-resources (copy-resources) @ 
airavata-security ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.4:process (default) @ 
airavata-security ---
[debug] execute contextualize
[INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
<https://builds.apache.org/job/Apache%20Airavata/org.apache.airavata$airavata-security/ws/src/main/resources>
[INFO] Copying 3 resources

[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
airavata-security ---
[INFO] [INFO] Compiling 14 source files to 
<https://builds.apache.org/job/Apache%20Airavata/org.apache.airavata$airavata-security/ws/target/classes>

[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ 
airavata-security ---
[WARNING] 
<https://builds.apache.org/job/Apache%20Airavata/org.apache.airavata$airavata-security/ws/src/main/java/org/apache/airavata/security/userstore/JDBCUserStore.java>:[37,45]
 NotImplementedException is internal proprietary API and may be removed in a 
future release
[WARNING] 
<https://builds.apache.org/job/Apache%20Airavata/org.apache.airavata$airavata-security/ws/src/main/java/org/apache/airavata/security/userstore/SessionDBUserStore.java>:[31,45]
 NotImplementedException is internal proprietary API and may be removed in a 
future release
[WARNING] 
<https://builds.apache.org/job/Apache%20Airavata/org.apache.airavata$airavata-security/ws/src/main/java/org/apache/airavata/security/userstore/LDAPUserStore.java>:[38,45]
 NotImplementedException is internal proprietary API and may be removed in a 
future release
[WARNING] 
<https://builds.apache.org/job/Apache%20Airavata/org.apache.airavata$airavata-security/ws/src/main/java/org/apache/airavata/security/userstore/JDBCUserStore.java>:[76,18]
 NotImplementedException is internal proprietary API and may be removed in a 
future release
[WARNING] 
<https://builds.apache.org/job/Apache%20Airavata/org.apache.airavata$airavata-security/ws/src/main/java/org/apache/airavata/security/userstore/SessionDBUserStore.java>:[51,18]
 NotImplementedException is internal proprietary API and may be removed in a 
future release
[WARNING] 
<https://builds.apache.org/job/Apache%20Airavata/org.apache.airavata$airavata-security/ws/src/main/java/org/apache/airavata/security/userstore/LDAPUserStore.java>:[71,18]
 NotImplementedException is internal proprietary API and may be removed in a 
future release
[INFO] [debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] Copying 3 resources

[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
airavata-security ---
[INFO] [INFO] Compiling 8 source files to 
<https://builds.apache.org/job/Apache%20Airavata/org.apache.airavata$airavata-security/ws/target/test-classes>

[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ 
airavata-security ---
[INFO] [INFO] Surefire report directory: 
<https://builds.apache.org/job/Apache%20Airavata/org.apache.airavata$airavata-security/ws/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ airavata-security 
---
Running 
org.apache.airavata.security.configurations.AuthenticatorConfigurationReaderTest
<https://builds.apache.org/job/Apache%20Airavata/org.apache.airavata$airavata-security/ws/target/test-classes/.>
[main] WARN org.apache.airavata.security.util.PasswordDigester - Password hash 
method is not configured. Setting default to plaintext.
<https://builds.apache.org/job/Apache%20Airavata/org.apache.airavata$airavata-security/ws/target/test-classes/.>
[main] WARN org.apache.airavata.security.util.PasswordDigester - Password hash 
method is not configured. Setting default to plaintext.
[main] WARN org.apache.airavata.security.util.PasswordDigester - Password hash 
method is not configured. Setting default to plaintext.
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.31 sec
Running org.apache.airavata.security.userstore.LDAPUserStoreTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.004 sec
Running org.apache.airavata.security.userstore.JDBCUserStoreTest
[main] WARN org.apache.airavata.security.util.PasswordDigester - Password hash 
method is not configured. Setting default to plaintext.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.196 sec
Running org.apache.airavata.security.userstore.SessionDBUserStoreTest
[main] ERROR org.apache.airavata.common.utils.DBUtil - An error occurred while 
closing database connections 
java.sql.SQLException: Cannot close a connection while a transaction is still 
active.
        at 
org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unknown Source)
        at org.apache.derby.client.am.SqlException.getSQLException(Unknown 
Source)
        at org.apache.derby.client.am.Connection.closeResourcesX(Unknown Source)
        at org.apache.derby.client.am.Connection.closeX(Unknown Source)
        at org.apache.derby.client.net.NetConnection.closeX(Unknown Source)
        at org.apache.derby.client.am.Connection.close(Unknown Source)
        at org.apache.derby.client.net.NetConnection.close(Unknown Source)
        at org.apache.derby.client.net.NetConnection40.close(Unknown Source)
        at 
org.apache.airavata.common.utils.DBUtil.getMatchingColumnValue(DBUtil.java:140)
        at 
org.apache.airavata.common.utils.DBUtil.getMatchingColumnValue(DBUtil.java:92)
        at 
org.apache.airavata.security.userstore.SessionDBUserStore.authenticate(SessionDBUserStore.java:60)
        at 
org.apache.airavata.security.userstore.SessionDBUserStoreTest.testAuthenticate(SessionDBUserStoreTest.java:86)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
        at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at 
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
        at 
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
        at 
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
        at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Caused by: org.apache.derby.client.am.SqlException: Cannot close a connection 
while a transaction is still active.
        at 
org.apache.derby.client.am.Connection.checkForTransactionInProgress(Unknown 
Source)
        ... 41 more
[main] ERROR org.apache.airavata.common.utils.DBUtil - An error occurred while 
closing database connections 
java.sql.SQLException: Cannot close a connection while a transaction is still 
active.
        at 
org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unknown Source)
        at org.apache.derby.client.am.SqlException.getSQLException(Unknown 
Source)
        at org.apache.derby.client.am.Connection.closeResourcesX(Unknown Source)
        at org.apache.derby.client.am.Connection.closeX(Unknown Source)
        at org.apache.derby.client.net.NetConnection.closeX(Unknown Source)
        at org.apache.derby.client.am.Connection.close(Unknown Source)
        at org.apache.derby.client.net.NetConnection.close(Unknown Source)
        at org.apache.derby.client.net.NetConnection40.close(Unknown Source)
        at 
org.apache.airavata.common.utils.DBUtil.getMatchingColumnValue(DBUtil.java:140)
        at 
org.apache.airavata.common.utils.DBUtil.getMatchingColumnValue(DBUtil.java:92)
        at 
org.apache.airavata.security.userstore.SessionDBUserStore.authenticate(SessionDBUserStore.java:60)
        at 
org.apache.airavata.security.userstore.SessionDBUserStoreTest.testAuthenticateFailure(SessionDBUserStoreTest.java:92)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
        at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at 
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
        at 
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
        at 
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
        at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Caused by: org.apache.derby.client.am.SqlException: Cannot close a connection 
while a transaction is still active.
        at 
org.apache.derby.client.am.Connection.checkForTransactionInProgress(Unknown 
Source)
        ... 41 more
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.317 sec

Results :

Tests run: 6, Failures: 0, Errors: 0, Skipped: 1

Reply via email to