Re: document.persistentCache.BroadcastTest failing

2015-11-11 Thread Marcel Reutegger
Hi,

see also https://issues.apache.org/jira/browse/OAK-3610

Please re-open if this occurs with current trunk.

Regards
 Marcel

On 11/11/15 12:00, "Angela Schreiber" wrote:

>hi 
>
>there are 2 tests failing with my checkout, which don't seem to
>be related to may pending changes (which i just wanted to test
>again):
>
>Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 4.498 sec
><<< FAILURE!
>broadcastEncryptedUDP(org.apache.jackrabbit.oak.plugins.document.persisten
>t
>Cache.BroadcastTest)  Time elapsed: 2.208 sec  <<< FAILURE!
>java.lang.AssertionError: min: 50 got: 0
>   at org.junit.Assert.fail(Assert.java:88)
>   at org.junit.Assert.assertTrue(Assert.java:41)
>   at 
>org.apache.jackrabbit.oak.plugins.document.persistentCache.BroadcastTest.b
>r
>oadcast(BroadcastTest.java:78)
>   at 
>org.apache.jackrabbit.oak.plugins.document.persistentCache.BroadcastTest.b
>r
>oadcastEncryptedUDP(BroadcastTest.java:50)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
>3
>9)
>   at 
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>p
>l.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:597)
>   at 
>org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMetho
>d
>.java:50)
>   at 
>org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable
>.
>java:12)
>   at 
>org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.
>j
>ava:47)
>   at 
>org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.j
>a
>va:17)
>   at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>   at 
>org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.j
>a
>va:78)
>   at 
>org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.j
>a
>va:57)
>   at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>   at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>   at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>   at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>   at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>   at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>   at 
>org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.jav
>a
>:252)
>   at 
>org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provi
>d
>er.java:141)
>   at 
>org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java
>:
>112)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
>3
>9)
>   at 
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>p
>l.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:597)
>   at 
>org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(Refle
>c
>tionUtils.java:189)
>   at 
>org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(Prov
>i
>derFactory.java:165)
>   at 
>org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFa
>c
>tory.java:85)
>   at 
>org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBoo
>t
>er.java:115)
>   at 
>org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
>
>broadcastUDP(org.apache.jackrabbit.oak.plugins.document.persistentCache.Br
>o
>adcastTest)  Time elapsed: 2.137 sec  <<< FAILURE!
>java.lang.AssertionError: min: 50 got: 0
>   at org.junit.Assert.fail(Assert.java:88)
>   at org.junit.Assert.assertTrue(Assert.java:41)
>   at 
>org.apache.jackrabbit.oak.plugins.document.persistentCache.BroadcastTest.b
>r
>oadcast(BroadcastTest.java:78)
>   at 
>org.apache.jackrabbit.oak.plugins.document.persistentCache.BroadcastTest.b
>r
>oadcastUDP(BroadcastTest.java:45)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
>3
>9)
>   at 
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>p
>l.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:597)
>   at 
>org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMetho
>d
>.java:50)
>   at 
>org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable
>.
>java:12)
>   at 
>org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.
>j
>ava:47)
>   at 
>org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.j
>a
>va:17)
>   at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>   at 
>org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.j
>a
>va:78)
>   at 

document.persistentCache.BroadcastTest failing

2015-11-11 Thread Angela Schreiber
hi 

there are 2 tests failing with my checkout, which don't seem to
be related to may pending changes (which i just wanted to test
again):

Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 4.498 sec
<<< FAILURE!
broadcastEncryptedUDP(org.apache.jackrabbit.oak.plugins.document.persistent
Cache.BroadcastTest)  Time elapsed: 2.208 sec  <<< FAILURE!
java.lang.AssertionError: min: 50 got: 0
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at 
org.apache.jackrabbit.oak.plugins.document.persistentCache.BroadcastTest.br
oadcast(BroadcastTest.java:78)
at 
org.apache.jackrabbit.oak.plugins.document.persistentCache.BroadcastTest.br
oadcastEncryptedUDP(BroadcastTest.java:50)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
9)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
l.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod
.java:50)
at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.
java:12)
at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.j
ava:47)
at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.ja
va:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.ja
va:78)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.ja
va:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java
:252)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provid
er.java:141)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:
112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
9)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
l.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(Reflec
tionUtils.java:189)
at 
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(Provi
derFactory.java:165)
at 
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFac
tory.java:85)
at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBoot
er.java:115)
at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

broadcastUDP(org.apache.jackrabbit.oak.plugins.document.persistentCache.Bro
adcastTest)  Time elapsed: 2.137 sec  <<< FAILURE!
java.lang.AssertionError: min: 50 got: 0
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at 
org.apache.jackrabbit.oak.plugins.document.persistentCache.BroadcastTest.br
oadcast(BroadcastTest.java:78)
at 
org.apache.jackrabbit.oak.plugins.document.persistentCache.BroadcastTest.br
oadcastUDP(BroadcastTest.java:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
9)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
l.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod
.java:50)
at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.
java:12)
at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.j
ava:47)
at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.ja
va:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.ja
va:78)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.ja
va:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  

Oak planning boards

2015-11-11 Thread Michael Marth
Hi all,

In order to get a better view on planned work for Oak 1.4 I have created 2 
Kanban boards:

  *   Epics: https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=93
  *   Issues: https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=20

This should hopefully reduce the usage of fix version as a planning tool.

Only 2 swim lanes in both boards: one for fix version 1.4 (and 1.3.x for now) 
and one for the rest. The issues in the board are ordered by “rank” so you can 
re-arrange according to prio.

If you need additional quick filters or anything else let me know.

Cheers
Michael


jackrabbit-oak build #6811: Broken

2015-11-11 Thread Travis CI
Build Update for apache/jackrabbit-oak
-

Build: #6811
Status: Broken

Duration: 1271 seconds
Commit: d740259a1744b31d749c39bcd3721c98d7784bab (trunk)
Author: Julian Reschke
Message: OAK-3605: RDBBlob/DocumentStore: reduce class complexity (WIP)

fix regression causing table metadata potentially to be incorrect for tables 
other than NODES

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1713809 
13f79535-47bb-0310-9956-ffa450edef68

View the changeset: 
https://github.com/apache/jackrabbit-oak/compare/28ae433eca3d...d740259a1744

View the full build log and details: 
https://travis-ci.org/apache/jackrabbit-oak/builds/90505248

--
sent by Jukka's Travis notification gateway


Re: Oak planning boards

2015-11-11 Thread Michael Marth
Aye, done




On 11/11/15 16:25, "Marcel Reutegger"  wrote:

>Hi Michael,
>
>thanks for setting up the boards.
>
>Can you please create a new quick filter for the 'documentmk' component?
>
>See also: 
>http://mail-archives.apache.org/mod_mbox/jackrabbit-oak-dev/201510.mbox/%3CD257AD91.42FA0%25mreutegg%40adobe.com%3E
>
>Regards
> Marcel
>
>On 11/11/15 16:19, "Michael Marth" wrote:
>
>Hi all,
>
>In order to get a better view on planned work for Oak 1.4 I have created 2 
>Kanban boards:
>
>  *   Epics: https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=93
>  *   Issues: 
> https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=20
>
>This should hopefully reduce the usage of fix version as a planning tool.
>
>Only 2 swim lanes in both boards: one for fix version 1.4 (and 1.3.x for now) 
>and one for the rest. The issues in the board are ordered by "rank" so you can 
>re-arrange according to prio.
>
>If you need additional quick filters or anything else let me know.
>
>Cheers
>Michael
>


Re: Oak planning boards

2015-11-11 Thread Marcel Reutegger
Hi Michael,

thanks for setting up the boards.

Can you please create a new quick filter for the 'documentmk' component?

See also: 
http://mail-archives.apache.org/mod_mbox/jackrabbit-oak-dev/201510.mbox/%3CD257AD91.42FA0%25mreutegg%40adobe.com%3E

Regards
 Marcel

On 11/11/15 16:19, "Michael Marth" wrote:

Hi all,

In order to get a better view on planned work for Oak 1.4 I have created 2 
Kanban boards:

  *   Epics: https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=93
  *   Issues: https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=20

This should hopefully reduce the usage of fix version as a planning tool.

Only 2 swim lanes in both boards: one for fix version 1.4 (and 1.3.x for now) 
and one for the rest. The issues in the board are ordered by "rank" so you can 
re-arrange according to prio.

If you need additional quick filters or anything else let me know.

Cheers
Michael



[Oak origin/trunk] Apache Jackrabbit Oak matrix - Build # 541 - Failure

2015-11-11 Thread Apache Jenkins Server
The Apache Jenkins build system has built Apache Jackrabbit Oak matrix (build 
#541)

Status: Failure

Check console output at 
https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/541/ to view 
the results.

Changes:
[thomasm] OAK-3387 Enable NodeLocalNameTest tests

[reschke] OAK-3566: avoid stale documents in RDBDocumentStore cache by keeping

[reschke] OAK-3605: RDBBlob/DocumentStore: reduce class complexity (WIP)

[thomasm] OAK-2843 Broadcasting cache (WIP)

[mreutegg] OAK-3618: Improve SetPropertyTest benchmark for concurrent execution

[mreutegg] OAK-3619: Increase lock stripes in MongoDocumentStore

[mreutegg] OAK-3554: Use write concern of w:majority when connected to a replica

[mreutegg] OAK-3554: Use write concern of w:majority when connected to a replica

[angela] OAK-1268 : Add support for composite authorization setup (WIP)

[angela] OAK-3615 : Add initial capacity to StringBuilder used to calculate path

 

Test results:
15 tests failed.
FAILED:  
org.apache.jackrabbit.oak.jcr.JackrabbitNodeTest.testRenameEventHandling

Error Message:
Item is protected.

Stack Trace:
javax.jcr.nodetype.ConstraintViolationException: Item is protected.
at 
org.apache.jackrabbit.oak.jcr.session.ItemImpl$ItemWriteOperation.checkPreconditions(ItemImpl.java:98)
at 
org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.prePerform(SessionDelegate.java:614)
at 
org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.performVoid(SessionDelegate.java:270)
at 
org.apache.jackrabbit.oak.jcr.session.NodeImpl.rename(NodeImpl.java:1485)
at 
org.apache.jackrabbit.oak.jcr.JackrabbitNodeTest.testRenameEventHandling(JackrabbitNodeTest.java:124)
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:606)
at junit.framework.TestCase.runTest(TestCase.java:176)
at junit.framework.TestCase.runBare(TestCase.java:141)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at 
org.apache.jackrabbit.test.AbstractJCRTest.run(AbstractJCRTest.java:464)
at junit.framework.TestSuite.runTest(TestSuite.java:252)
at junit.framework.TestSuite.run(TestSuite.java:247)
at 
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
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:606)
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:115)
at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)


FAILED:  org.apache.jackrabbit.oak.jcr.JackrabbitNodeTest.testRename

Error Message:
expected:<[a]> but was:<[rep:policy]>

Stack Trace:
junit.framework.ComparisonFailure: expected:<[a]> but was:<[rep:policy]>
at junit.framework.Assert.assertEquals(Assert.java:100)
at junit.framework.Assert.assertEquals(Assert.java:107)
at junit.framework.TestCase.assertEquals(TestCase.java:269)
at 
org.apache.jackrabbit.oak.jcr.JackrabbitNodeTest.testRename(JackrabbitNodeTest.java:74)
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:606)
at junit.framework.TestCase.runTest(TestCase.java:176)
at junit.framework.TestCase.runBare(TestCase.java:141)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at