Bass Joe (JIRA)
2018-11-18 10:59:00 UTC
Bass Joe created DIRSTUDIO-1203:
-----------------------------------
Summary: testConnectFailures fails
Key: DIRSTUDIO-1203
URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1203
Project: Directory Studio
Issue Type: Bug
Components: studio-build
Reporter: Bass Joe
Attachments: Screenshot_ConnectException.png
Build fails because of failed integration tests:
{code:java}
Running org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest
Tests run: 20, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 53.629 sec <<< FAILURE! - in org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest
testDeleteFollowsReferral_DirectReferral(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 1.552 sec
testDeleteFollowsReferral_IntermediateReferral(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 1.237 sec
testSearchContinuation_Follow_ReferralToParent(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 1.016 sec
testBind(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 0.892 sec
testAddFollowsReferral_ReferralLoop(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 0.917 sec
testModifyFollowsReferral_DirectReferral(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 1.199 sec
testAddFollowsReferral_IntermediateReferral(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 1.046 sec
testModifyFollowsReferral_IntermediateReferral(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 1.228 sec
testDeleteFollowsReferral_ReferralLoop(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 1.054 sec
testSearchContinuation_Follow_ReferralLoop(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 0.897 sec
testSearchContinuationFollowManually(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 0.908 sec
testConnectFailures(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 0.921 sec <<< FAILURE!
java.lang.AssertionError
testSearchContinuationIgnore(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 0.949 sec
testConnect(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 0.879 sec
testAddFollowsReferral_DirectReferral(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 1.195 sec
testModifyFollowsReferral_ReferralLoop(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 1.059 sec
testSearchContinuation_Follow_IntermediateReferral(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 0.9 sec
testBindFailures(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 0.921 sec
testSearch(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 0.898 sec
testSearchContinuation_Follow_DirectReferral(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 0.926 sec
Running org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest
Warning: NLS unused message: jobs__progressmonitor_check_cancellation in: org.apache.directory.studio.connection.core.messages
Tests run: 23, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 58.367 sec <<< FAILURE! - in org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest
testInitializeAttributesRunnable(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 1.802 sec
testConcurrentUseAndCloseOfConnection(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 1.723 sec
testSearchContinuationFollowParent(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 1.01 sec
testDeleteFollowsReferral_DirectReferral(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 1.237 sec
testDeleteFollowsReferral_IntermediateReferral(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 1.253 sec
testSearchContinuation_Follow_ReferralToParent(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 0.936 sec
testBind(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 0.857 sec
testAddFollowsReferral_ReferralLoop(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 0.927 sec
testModifyFollowsReferral_DirectReferral(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 1.23 sec
testAddFollowsReferral_IntermediateReferral(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 1.054 sec
testModifyFollowsReferral_IntermediateReferral(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 1.144 sec
testDeleteFollowsReferral_ReferralLoop(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 1.039 sec
testSearchContinuation_Follow_ReferralLoop(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 0.934 sec
testSearchContinuationFollowManually(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 0.905 sec
testConnectFailures(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 1.509 sec <<< FAILURE!
java.lang.AssertionError
testSearchContinuationIgnore(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 0.913 sec
testConnect(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 0.902 sec
testAddFollowsReferral_DirectReferral(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 1.019 sec
testModifyFollowsReferral_ReferralLoop(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 1.156 sec
testSearchContinuation_Follow_IntermediateReferral(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 0.908 sec
testBindFailures(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 0.888 sec
testSearch(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 0.903 sec
testSearchContinuation_Follow_DirectReferral(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 0.899 sec
Running org.apache.directory.studio.test.integration.core.SchemaTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.478 sec - in org.apache.directory.studio.test.integration.core.SchemaTest
testDefaultSchema(org.apache.directory.studio.test.integration.core.SchemaTest) Time elapsed: 0.002 sec
Results :
Failed tests:
DirectoryApiConnectionWrapperTest>ConnectionWrapperTestBase.testConnectFailures:239
JNDIConnectionWrapperTest>ConnectionWrapperTestBase.testConnectFailures:235
{code}
I debugged the first failure but don't understand what goes wrong:
!Screenshot_ConnectException.png!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
-----------------------------------
Summary: testConnectFailures fails
Key: DIRSTUDIO-1203
URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1203
Project: Directory Studio
Issue Type: Bug
Components: studio-build
Reporter: Bass Joe
Attachments: Screenshot_ConnectException.png
Build fails because of failed integration tests:
{code:java}
Running org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest
Tests run: 20, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 53.629 sec <<< FAILURE! - in org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest
testDeleteFollowsReferral_DirectReferral(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 1.552 sec
testDeleteFollowsReferral_IntermediateReferral(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 1.237 sec
testSearchContinuation_Follow_ReferralToParent(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 1.016 sec
testBind(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 0.892 sec
testAddFollowsReferral_ReferralLoop(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 0.917 sec
testModifyFollowsReferral_DirectReferral(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 1.199 sec
testAddFollowsReferral_IntermediateReferral(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 1.046 sec
testModifyFollowsReferral_IntermediateReferral(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 1.228 sec
testDeleteFollowsReferral_ReferralLoop(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 1.054 sec
testSearchContinuation_Follow_ReferralLoop(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 0.897 sec
testSearchContinuationFollowManually(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 0.908 sec
testConnectFailures(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 0.921 sec <<< FAILURE!
java.lang.AssertionError
testSearchContinuationIgnore(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 0.949 sec
testConnect(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 0.879 sec
testAddFollowsReferral_DirectReferral(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 1.195 sec
testModifyFollowsReferral_ReferralLoop(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 1.059 sec
testSearchContinuation_Follow_IntermediateReferral(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 0.9 sec
testBindFailures(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 0.921 sec
testSearch(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 0.898 sec
testSearchContinuation_Follow_DirectReferral(org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest) Time elapsed: 0.926 sec
Running org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest
Warning: NLS unused message: jobs__progressmonitor_check_cancellation in: org.apache.directory.studio.connection.core.messages
Tests run: 23, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 58.367 sec <<< FAILURE! - in org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest
testInitializeAttributesRunnable(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 1.802 sec
testConcurrentUseAndCloseOfConnection(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 1.723 sec
testSearchContinuationFollowParent(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 1.01 sec
testDeleteFollowsReferral_DirectReferral(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 1.237 sec
testDeleteFollowsReferral_IntermediateReferral(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 1.253 sec
testSearchContinuation_Follow_ReferralToParent(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 0.936 sec
testBind(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 0.857 sec
testAddFollowsReferral_ReferralLoop(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 0.927 sec
testModifyFollowsReferral_DirectReferral(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 1.23 sec
testAddFollowsReferral_IntermediateReferral(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 1.054 sec
testModifyFollowsReferral_IntermediateReferral(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 1.144 sec
testDeleteFollowsReferral_ReferralLoop(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 1.039 sec
testSearchContinuation_Follow_ReferralLoop(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 0.934 sec
testSearchContinuationFollowManually(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 0.905 sec
testConnectFailures(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 1.509 sec <<< FAILURE!
java.lang.AssertionError
testSearchContinuationIgnore(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 0.913 sec
testConnect(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 0.902 sec
testAddFollowsReferral_DirectReferral(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 1.019 sec
testModifyFollowsReferral_ReferralLoop(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 1.156 sec
testSearchContinuation_Follow_IntermediateReferral(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 0.908 sec
testBindFailures(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 0.888 sec
testSearch(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 0.903 sec
testSearchContinuation_Follow_DirectReferral(org.apache.directory.studio.test.integration.core.DirectoryApiConnectionWrapperTest) Time elapsed: 0.899 sec
Running org.apache.directory.studio.test.integration.core.SchemaTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.478 sec - in org.apache.directory.studio.test.integration.core.SchemaTest
testDefaultSchema(org.apache.directory.studio.test.integration.core.SchemaTest) Time elapsed: 0.002 sec
Results :
Failed tests:
DirectoryApiConnectionWrapperTest>ConnectionWrapperTestBase.testConnectFailures:239
JNDIConnectionWrapperTest>ConnectionWrapperTestBase.testConnectFailures:235
{code}
I debugged the first failure but don't understand what goes wrong:
!Screenshot_ConnectException.png!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)