[jira] [Commented] (SLING-4058) ResourceResolverProxyTest fails on Oak, 10 second delay in observation
[ https://issues.apache.org/jira/browse/SLING-4058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14185223#comment-14185223 ] Bertrand Delacretaz commented on SLING-4058: I have added MappingEventsTest [1] to the launchpad/test-services module, which just runs a loop saving mappings and checking for events, and it passes. I'll have to find out what's different with ResourceResolverProxyTest. [1] https://svn.apache.org/repos/asf/sling/trunk/launchpad/test-services/src/main/java/org/apache/sling/launchpad/testservices/serversidetests/MappingEventsTest.java ResourceResolverProxyTest fails on Oak, 10 second delay in observation -- Key: SLING-4058 URL: https://issues.apache.org/jira/browse/SLING-4058 Project: Sling Issue Type: Bug Components: Oak Environment: macosx 10.9.5, java version 1.7.0_45, oak 1.0.7 Reporter: Bertrand Delacretaz Assignee: Bertrand Delacretaz Attachments: oak-12500nodes-logs.zip As seen at https://builds.apache.org/view/S-Z/view/Sling/job/sling-oak-it-1.6 and on my box, tests fail with bq. Timeout waiting for org/apache/sling/api/resource/ResourceResolverMapping/CHANGED event, after 1 msec, and as a result the test takes age to run. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SLING-4058) ResourceResolverProxyTest fails on Oak, 10 second delay in observation
[ https://issues.apache.org/jira/browse/SLING-4058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14182598#comment-14182598 ] Michael Dürig commented on SLING-4058: -- In a quick test I couldn't reproduce this on a pure Oak instance. Something seems to differ between our setups. ResourceResolverProxyTest fails on Oak, 10 second delay in observation -- Key: SLING-4058 URL: https://issues.apache.org/jira/browse/SLING-4058 Project: Sling Issue Type: Bug Components: Oak Environment: macosx 10.9.5, java version 1.7.0_45, oak 1.0.7 Reporter: Bertrand Delacretaz Assignee: Bertrand Delacretaz Attachments: oak-12500nodes-logs.zip As seen at https://builds.apache.org/view/S-Z/view/Sling/job/sling-oak-it-1.6 and on my box, tests fail with bq. Timeout waiting for org/apache/sling/api/resource/ResourceResolverMapping/CHANGED event, after 1 msec, and as a result the test takes age to run. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SLING-4058) ResourceResolverProxyTest fails on Oak, 10 second delay in observation
[ https://issues.apache.org/jira/browse/SLING-4058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14183375#comment-14183375 ] Michael Dürig commented on SLING-4058: -- Tried to reproduce this following [above instructions | https://issues.apache.org/jira/browse/SLING-4058?focusedCommentId=14181414page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14181414]. However in my case the first events fires quickly after the save: {code} 24.10.2014 21:54:34.364 *INFO* [main] org.apache.sling.jcr.repository.it.OakRepositoryIT Added 12500 nodes, checking what ResourceEventListener got... 24.10.2014 21:54:35.090 *INFO* [Thread-10] org.apache.sling.jcr.repository.it.ResourceEventListener Got first event, path=/testOsgiResourceEvents_1_14141804720897287 {code} This is under a second opposed to the 10 seconds you were seeing. ResourceResolverProxyTest fails on Oak, 10 second delay in observation -- Key: SLING-4058 URL: https://issues.apache.org/jira/browse/SLING-4058 Project: Sling Issue Type: Bug Components: Oak Environment: macosx 10.9.5, java version 1.7.0_45, oak 1.0.7 Reporter: Bertrand Delacretaz Assignee: Bertrand Delacretaz Attachments: oak-12500nodes-logs.zip As seen at https://builds.apache.org/view/S-Z/view/Sling/job/sling-oak-it-1.6 and on my box, tests fail with bq. Timeout waiting for org/apache/sling/api/resource/ResourceResolverMapping/CHANGED event, after 1 msec, and as a result the test takes age to run. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SLING-4058) ResourceResolverProxyTest fails on Oak, 10 second delay in observation
[ https://issues.apache.org/jira/browse/SLING-4058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14181278#comment-14181278 ] Oliver Lietz commented on SLING-4058: - failing test related to observers/events ResourceResolverProxyTest fails on Oak, 10 second delay in observation -- Key: SLING-4058 URL: https://issues.apache.org/jira/browse/SLING-4058 Project: Sling Issue Type: Bug Components: Oak Environment: macosx 10.9.5, java version 1.7.0_45, oak 1.0.7 Reporter: Bertrand Delacretaz Assignee: Bertrand Delacretaz As seen at https://builds.apache.org/view/S-Z/view/Sling/job/sling-oak-it-1.6 and on my box, tests fail with bq. Timeout waiting for org/apache/sling/api/resource/ResourceResolverMapping/CHANGED event, after 1 msec, and as a result the test takes age to run. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SLING-4058) ResourceResolverProxyTest fails on Oak, 10 second delay in observation
[ https://issues.apache.org/jira/browse/SLING-4058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14181421#comment-14181421 ] Antonio Sanso commented on SLING-4058: -- [~bdelacretaz] wow nice catch!! thanks for track it down. What is your take on the possible solution. Should be handled in Oak or we should increase the timeout.. ? ResourceResolverProxyTest fails on Oak, 10 second delay in observation -- Key: SLING-4058 URL: https://issues.apache.org/jira/browse/SLING-4058 Project: Sling Issue Type: Bug Components: Oak Environment: macosx 10.9.5, java version 1.7.0_45, oak 1.0.7 Reporter: Bertrand Delacretaz Assignee: Bertrand Delacretaz Attachments: oak-12500nodes-logs.zip As seen at https://builds.apache.org/view/S-Z/view/Sling/job/sling-oak-it-1.6 and on my box, tests fail with bq. Timeout waiting for org/apache/sling/api/resource/ResourceResolverMapping/CHANGED event, after 1 msec, and as a result the test takes age to run. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SLING-4058) ResourceResolverProxyTest fails on Oak, 10 second delay in observation
[ https://issues.apache.org/jira/browse/SLING-4058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14181429#comment-14181429 ] Bertrand Delacretaz commented on SLING-4058: IMO we first need to understand what's going on, why there's such a big initial delay. I would expect observation events to start arriving almost immediately after the call to Session.save(). ResourceResolverProxyTest fails on Oak, 10 second delay in observation -- Key: SLING-4058 URL: https://issues.apache.org/jira/browse/SLING-4058 Project: Sling Issue Type: Bug Components: Oak Environment: macosx 10.9.5, java version 1.7.0_45, oak 1.0.7 Reporter: Bertrand Delacretaz Assignee: Bertrand Delacretaz Attachments: oak-12500nodes-logs.zip As seen at https://builds.apache.org/view/S-Z/view/Sling/job/sling-oak-it-1.6 and on my box, tests fail with bq. Timeout waiting for org/apache/sling/api/resource/ResourceResolverMapping/CHANGED event, after 1 msec, and as a result the test takes age to run. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SLING-4058) ResourceResolverProxyTest fails on Oak, 10 second delay in observation
[ https://issues.apache.org/jira/browse/SLING-4058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14181467#comment-14181467 ] Bertrand Delacretaz commented on SLING-4058: Looked at this with [~mduerig] and it seems like the delay is due to creating all my 12'500 test nodes under the root - if they are spread out in a multi-level structure there's no delay. I'll modify the CommonTests.testOsgiResourceEvents test to use the multi-level structure, and compare with what ResourceResolverProxyTest does - but I don't think the latter is using such a flat structure with many nodes. ResourceResolverProxyTest fails on Oak, 10 second delay in observation -- Key: SLING-4058 URL: https://issues.apache.org/jira/browse/SLING-4058 Project: Sling Issue Type: Bug Components: Oak Environment: macosx 10.9.5, java version 1.7.0_45, oak 1.0.7 Reporter: Bertrand Delacretaz Assignee: Bertrand Delacretaz Attachments: oak-12500nodes-logs.zip As seen at https://builds.apache.org/view/S-Z/view/Sling/job/sling-oak-it-1.6 and on my box, tests fail with bq. Timeout waiting for org/apache/sling/api/resource/ResourceResolverMapping/CHANGED event, after 1 msec, and as a result the test takes age to run. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SLING-4058) ResourceResolverProxyTest fails on Oak, 10 second delay in observation
[ https://issues.apache.org/jira/browse/SLING-4058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14179798#comment-14179798 ] Bertrand Delacretaz commented on SLING-4058: SLING-3599 is also failing and that's a simpler test so we might fix that one first. ResourceResolverProxyTest fails on Oak, 10 second delay in observation -- Key: SLING-4058 URL: https://issues.apache.org/jira/browse/SLING-4058 Project: Sling Issue Type: Bug Components: Oak Environment: macosx 10.9.5, java version 1.7.0_45, oak 1.0.7 Reporter: Bertrand Delacretaz Assignee: Bertrand Delacretaz As seen at https://builds.apache.org/view/S-Z/view/Sling/job/sling-oak-it-1.6 and on my box, tests fail with bq. Timeout waiting for org/apache/sling/api/resource/ResourceResolverMapping/CHANGED event, after 1 msec, and as a result the test takes age to run. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SLING-4058) ResourceResolverProxyTest fails on Oak, 10 second delay in observation
[ https://issues.apache.org/jira/browse/SLING-4058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14173519#comment-14173519 ] Carsten Ziegeler commented on SLING-4058: - You can disable SLING-3279 by setting the system property optimize.oak to the value false ResourceResolverProxyTest fails on Oak, 10 second delay in observation -- Key: SLING-4058 URL: https://issues.apache.org/jira/browse/SLING-4058 Project: Sling Issue Type: Bug Components: Oak Environment: macosx 10.9.5, java version 1.7.0_45, oak 1.0.7 Reporter: Bertrand Delacretaz Assignee: Bertrand Delacretaz As seen at https://builds.apache.org/view/S-Z/view/Sling/job/sling-oak-it-1.6 and on my box, tests fail with bq. Timeout waiting for org/apache/sling/api/resource/ResourceResolverMapping/CHANGED event, after 1 msec, and as a result the test takes age to run. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SLING-4058) ResourceResolverProxyTest fails on Oak, 10 second delay in observation
[ https://issues.apache.org/jira/browse/SLING-4058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14173602#comment-14173602 ] Julian Sedding commented on SLING-4058: --- Might be related to OAK-2165. ResourceResolverProxyTest fails on Oak, 10 second delay in observation -- Key: SLING-4058 URL: https://issues.apache.org/jira/browse/SLING-4058 Project: Sling Issue Type: Bug Components: Oak Environment: macosx 10.9.5, java version 1.7.0_45, oak 1.0.7 Reporter: Bertrand Delacretaz Assignee: Bertrand Delacretaz As seen at https://builds.apache.org/view/S-Z/view/Sling/job/sling-oak-it-1.6 and on my box, tests fail with bq. Timeout waiting for org/apache/sling/api/resource/ResourceResolverMapping/CHANGED event, after 1 msec, and as a result the test takes age to run. -- This message was sent by Atlassian JIRA (v6.3.4#6332)