[jira] [Created] (OAK-7781) Build Jackrabbit Oak #1678 failed

2018-09-26 Thread Hudson (JIRA)
Hudson created OAK-7781:
---

 Summary: Build Jackrabbit Oak #1678 failed
 Key: OAK-7781
 URL: https://issues.apache.org/jira/browse/OAK-7781
 Project: Jackrabbit Oak
  Issue Type: Bug
  Components: continuous integration
Reporter: Hudson


No description is provided

The build Jackrabbit Oak #1678 has failed.
First failed run: [Jackrabbit Oak 
#1678|https://builds.apache.org/job/Jackrabbit%20Oak/1678/] [console 
log|https://builds.apache.org/job/Jackrabbit%20Oak/1678/console]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (OAK-7779) Ignore copying of namespace index node in InitialContentMigrator

2018-09-26 Thread Amit Jain (JIRA)


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

Amit Jain resolved OAK-7779.

Resolution: Fixed
  Assignee: Amit Jain

Thanks [~stillalex].

Committed the changes incorporating the above with  
[http://svn.apache.org/viewvc?rev=1842069&view=rev].

> Ignore copying of namespace index node in InitialContentMigrator
> 
>
> Key: OAK-7779
> URL: https://issues.apache.org/jira/browse/OAK-7779
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: core, store-composite
>Reporter: Amit Jain
>Assignee: Amit Jain
>Priority: Blocker
> Fix For: 1.10, 1.9.9
>
> Attachments: OAK-7779-v3.patch, OAK-7779.patch, OAK-7779_v2.patch
>
>
> The namespace index node {{/jcr:system/rep:namespaces/rep:nsdata}} copied 
> from a seed repository for CompositeNodeStore leads to error in the 
> NamespaceEditor.
> This should be ignored as the rep:nsdata should be regenerated.
> {noformat}
> java.lang.RuntimeException: 
> org.apache.jackrabbit.oak.api.CommitFailedException: OakNamespace0005: 
> Namespace modification not allowed: rep:nsdata
>  at 
> org.apache.jackrabbit.oak.OakInitializer.initialize(OakInitializer.java:50) 
> [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.Oak.initialContent(Oak.java:672) 
> [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.Oak.createNewContentRepository(Oak.java:715) 
> [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.Oak.createContentRepository(Oak.java:660) 
> [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.jcr.Jcr.createContentRepository(Jcr.java:376) 
> [org.apache.jackrabbit.oak-jcr:1.10.0.SNAPSHOT]
> .
> org.apache.sling.jcr.base.AbstractSlingRepositoryManager.initializeAndRegisterRepositoryService(AbstractSlingRepositoryManager.java:471)
>  [org.apache.sling.jcr.base:3.0.4]
>  at 
> org.apache.sling.jcr.base.AbstractSlingRepositoryManager.access$300(AbstractSlingRepositoryManager.java:85)
>  [org.apache.sling.jcr.base:3.0.4]
>  at 
> org.apache.sling.jcr.base.AbstractSlingRepositoryManager$4.run(AbstractSlingRepositoryManager.java:455)
>  [org.apache.sling.jcr.base:3.0.4]
> Caused by: org.apache.jackrabbit.oak.api.CommitFailedException: 
> OakNamespace0005: Namespace modification not allowed: rep:nsdata
>  at 
> org.apache.jackrabbit.oak.plugins.name.NamespaceEditor.modificationNotAllowed(NamespaceEditor.java:122)
>  [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.plugins.name.NamespaceEditor.childNodeChanged(NamespaceEditor.java:140)
>  [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.spi.commit.CompositeEditor.childNodeChanged(CompositeEditor.java:121)
>  [org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:142)
>  [org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.plugins.memory.ModifiedNodeState.compareAgainstBaseState(ModifiedNodeState.java:416)
>  [org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:147)
>  [org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.composite.CompositeNodeState$WrappingDiff.childNodeChanged(CompositeNodeState.java:309)
>  [org.apache.jackrabbit.oak-store-composite:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.composite.CompositeNodeState$ChildrenDiffFilter.childNodeChanged(CompositeNodeState.java:256)
>  [org.apache.jackrabbit.oak-store-composite:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.plugins.memory.ModifiedNodeState.compareAgainstBaseState(ModifiedNodeState.java:416)
>  [org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.composite.CompositeNodeState.compareAgainstBaseState(CompositeNodeState.java:163)
>  [org.apache.jackrabbit.oak-store-composite:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:147)
>  [org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.composite.CompositeNodeState$WrappingDiff.childNodeChanged(CompositeNodeState.java:309)
>  [org.apache.jackrabbit.oak-store-composite:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.composite.CompositeNodeState$ChildrenDiffFilter.childNodeChanged(CompositeNodeState.java:256)
>  [org.apache.jackrabbit.oak-store-composite:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.plugins.memory.ModifiedNodeState.compareAgainstBaseState(ModifiedNodeState.java:416)
>  [org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at

[jira] [Commented] (OAK-7780) Oak should compile & test on Java 12

2018-09-26 Thread Julian Reschke (JIRA)


[ 
https://issues.apache.org/jira/browse/OAK-7780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16628747#comment-16628747
 ] 

Julian Reschke commented on OAK-7780:
-

Tested with Version 12 (2018/9/20) (http://jdk.java.net/12/) - no issues so far.

> Oak should compile & test on Java 12
> 
>
> Key: OAK-7780
> URL: https://issues.apache.org/jira/browse/OAK-7780
> Project: Jackrabbit Oak
>  Issue Type: Epic
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Major
>
> (umbrella issue for tracking changes)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OAK-7780) Oak should compile & test on Java 12

2018-09-26 Thread Julian Reschke (JIRA)


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

Julian Reschke updated OAK-7780:

Epic Name: Oak should compile & test on Java 12  (was: Oak should compile & 
test on Java 11)

> Oak should compile & test on Java 12
> 
>
> Key: OAK-7780
> URL: https://issues.apache.org/jira/browse/OAK-7780
> Project: Jackrabbit Oak
>  Issue Type: Epic
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Major
>
> (umbrella issue for tracking changes)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OAK-7780) Oak should compile & test on Java 12

2018-09-26 Thread Julian Reschke (JIRA)


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

Julian Reschke updated OAK-7780:

Fix Version/s: (was: 1.9.9)
   (was: 1.10)

> Oak should compile & test on Java 12
> 
>
> Key: OAK-7780
> URL: https://issues.apache.org/jira/browse/OAK-7780
> Project: Jackrabbit Oak
>  Issue Type: Epic
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Major
>
> (umbrella issue for tracking changes)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (OAK-7780) Oak should compile & test on Java 12

2018-09-26 Thread Julian Reschke (JIRA)
Julian Reschke created OAK-7780:
---

 Summary: Oak should compile & test on Java 12
 Key: OAK-7780
 URL: https://issues.apache.org/jira/browse/OAK-7780
 Project: Jackrabbit Oak
  Issue Type: Epic
Reporter: Julian Reschke
Assignee: Julian Reschke
 Fix For: 1.10, 1.9.9


(umbrella issue for tracking changes)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OAK-7748) DocumentStore: test (and optionally optimize) bulk update fallback logic

2018-09-26 Thread Julian Reschke (JIRA)


[ 
https://issues.apache.org/jira/browse/OAK-7748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16628704#comment-16628704
 ] 

Julian Reschke commented on OAK-7748:
-

FWIW, I tried to also test using the DocumentStore statistics functionality, 
but realized that I can't make the same assumptions about RDB and Mongo - thus 
keeping the test with logging checks for now.

> DocumentStore: test (and optionally optimize) bulk update fallback logic
> 
>
> Key: OAK-7748
> URL: https://issues.apache.org/jira/browse/OAK-7748
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: documentmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
> Fix For: 1.10
>
> Attachments: OAK-7748.diff, OAK-7748.diff
>
>
> ...add a simple test that exercises the bulk update fallback logic



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OAK-6976) CopyOnWriteDirectory_Segment_Test failure

2018-09-26 Thread Davide Giannella (JIRA)


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

Davide Giannella updated OAK-6976:
--
Fix Version/s: (was: 1.4.23)

> CopyOnWriteDirectory_Segment_Test failure
> -
>
> Key: OAK-6976
> URL: https://issues.apache.org/jira/browse/OAK-6976
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: lucene
>Affects Versions: 1.4.18
>Reporter: Marcel Reutegger
>Assignee: Chetan Mehrotra
>Priority: Major
> Fix For: 1.0.43, 1.2.31, 1.4.24
>
>
> This test only exists in branches 1.4 and older and was introduced as part of 
> OAK-5238. The test fails every now and then with (stack trace from 1.4):
> {noformat}
> java.lang.IllegalStateException: This builder does not exist: child-0
>   at 
> com.google.common.base.Preconditions.checkState(Preconditions.java:150)
>   at 
> org.apache.jackrabbit.oak.plugins.memory.MemoryNodeBuilder.setProperty(MemoryNodeBuilder.java:506)
>   at 
> org.apache.jackrabbit.oak.plugins.memory.MemoryNodeBuilder.setProperty(MemoryNodeBuilder.java:515)
>   at 
> org.apache.jackrabbit.oak.plugins.index.lucene.CopyOnWriteDirectory_Segment_Test.writeTree(CopyOnWriteDirectory_Segment_Test.java:158)
>   at 
> org.apache.jackrabbit.oak.plugins.index.lucene.CopyOnWriteDirectory_Segment_Test.copyOnWrite(CopyOnWriteDirectory_Segment_Test.java:111)
> {noformat}
> Please note that it fails more likely when the update.limit is set to 100, 
> which is the case for the maven build.
> I also ported the test to 1.6 and running it with the new segment-tar looks 
> OK. I don't know if this is because the copy-on-write or the segment-tar 
> implementation is different than in 1.4. 
> The affected versions are currently only set to 1.4.18, because there were no 
> releases off the 1.2 and 1.0 branches since OAK-5238 was backported.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OAK-5418) Test failure: TomcatIT.testTomcat()

2018-09-26 Thread Davide Giannella (JIRA)


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

Davide Giannella updated OAK-5418:
--
Fix Version/s: (was: 1.4.23)

> Test failure: TomcatIT.testTomcat()
> ---
>
> Key: OAK-5418
> URL: https://issues.apache.org/jira/browse/OAK-5418
> Project: Jackrabbit Oak
>  Issue Type: Test
>  Components: continuous integration, examples
>Affects Versions: 1.4
>Reporter: Hudson
>Assignee: Chetan Mehrotra
>Priority: Major
>  Labels: test-failure, ubuntu
> Fix For: 1.4.24
>
>
> Jenkins CI failure: 
> https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/
> The build Apache Jackrabbit Oak matrix/Ubuntu Slaves=ubuntu,jdk=JDK 1.7 
> (latest),nsfixtures=DOCUMENT_NS,profile=unittesting #1357 has failed.
> First failed run: [Apache Jackrabbit Oak matrix/Ubuntu Slaves=ubuntu,jdk=JDK 
> 1.7 (latest),nsfixtures=DOCUMENT_NS,profile=unittesting 
> #1357|https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/Ubuntu%20Slaves=ubuntu,jdk=JDK%201.7%20(latest),nsfixtures=DOCUMENT_NS,profile=unittesting/1357/]
>  [console 
> log|https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/Ubuntu%20Slaves=ubuntu,jdk=JDK%201.7%20(latest),nsfixtures=DOCUMENT_NS,profile=unittesting/1357/console]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OAK-5470) Test failure: SecurityProviderRegistrationTest.testSecurityConfigurations2

2018-09-26 Thread Davide Giannella (JIRA)


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

Davide Giannella updated OAK-5470:
--
Fix Version/s: (was: 1.4.23)

> Test failure: SecurityProviderRegistrationTest.testSecurityConfigurations2
> --
>
> Key: OAK-5470
> URL: https://issues.apache.org/jira/browse/OAK-5470
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: continuous integration, pojosr
>Affects Versions: 1.2.23, 1.4.13
>Reporter: Hudson
>Priority: Major
>  Labels: test-failure, windows
> Fix For: 1.2.31, 1.4.24
>
> Attachments: sysout-1380.log, unit-tests-build-1371.log, 
> unit-tests.log
>
>
> Jenkins CI failure: 
> https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/
> The build Apache Jackrabbit Oak matrix/Ubuntu Slaves=ubuntu,jdk=JDK 1.7 
> (latest),nsfixtures=SEGMENT_TAR,profile=unittesting #1371 has failed.
> First failed run: [Apache Jackrabbit Oak matrix/Ubuntu Slaves=ubuntu,jdk=JDK 
> 1.7 (latest),nsfixtures=SEGMENT_TAR,profile=unittesting 
> #1371|https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/Ubuntu%20Slaves=ubuntu,jdk=JDK%201.7%20(latest),nsfixtures=SEGMENT_TAR,profile=unittesting/1371/]
>  [console 
> log|https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/Ubuntu%20Slaves=ubuntu,jdk=JDK%201.7%20(latest),nsfixtures=SEGMENT_TAR,profile=unittesting/1371/console]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OAK-5566) TestFailure: remote.http.handler.RemoteServerIT.testPatchLastRevisionAddMultiReferenceProperty

2018-09-26 Thread Davide Giannella (JIRA)


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

Davide Giannella updated OAK-5566:
--
Fix Version/s: (was: 1.4.23)

> TestFailure: 
> remote.http.handler.RemoteServerIT.testPatchLastRevisionAddMultiReferenceProperty
> --
>
> Key: OAK-5566
> URL: https://issues.apache.org/jira/browse/OAK-5566
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: continuous integration, remoting
>Reporter: Hudson
>Priority: Major
>  Labels: test-failure, ubuntu
> Fix For: 1.4.24
>
>
> Jenkins CI failure: 
> https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/
> The build Apache Jackrabbit Oak matrix/Ubuntu Slaves=ubuntu,jdk=JDK 1.8 
> (latest),nsfixtures=DOCUMENT_RDB,profile=integrationTesting #1396 has failed.
> First failed run: [Apache Jackrabbit Oak matrix/Ubuntu Slaves=ubuntu,jdk=JDK 
> 1.8 (latest),nsfixtures=DOCUMENT_RDB,profile=integrationTesting 
> #1396|https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/Ubuntu%20Slaves=ubuntu,jdk=JDK%201.8%20(latest),nsfixtures=DOCUMENT_RDB,profile=integrationTesting/1396/]
>  [console 
> log|https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/Ubuntu%20Slaves=ubuntu,jdk=JDK%201.8%20(latest),nsfixtures=DOCUMENT_RDB,profile=integrationTesting/1396/console]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OAK-5470) Test failure: SecurityProviderRegistrationTest.testSecurityConfigurations2

2018-09-26 Thread Davide Giannella (JIRA)


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

Davide Giannella updated OAK-5470:
--
Fix Version/s: 1.4.24

> Test failure: SecurityProviderRegistrationTest.testSecurityConfigurations2
> --
>
> Key: OAK-5470
> URL: https://issues.apache.org/jira/browse/OAK-5470
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: continuous integration, pojosr
>Affects Versions: 1.2.23, 1.4.13
>Reporter: Hudson
>Priority: Major
>  Labels: test-failure, windows
> Fix For: 1.4.23, 1.2.31, 1.4.24
>
> Attachments: sysout-1380.log, unit-tests-build-1371.log, 
> unit-tests.log
>
>
> Jenkins CI failure: 
> https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/
> The build Apache Jackrabbit Oak matrix/Ubuntu Slaves=ubuntu,jdk=JDK 1.7 
> (latest),nsfixtures=SEGMENT_TAR,profile=unittesting #1371 has failed.
> First failed run: [Apache Jackrabbit Oak matrix/Ubuntu Slaves=ubuntu,jdk=JDK 
> 1.7 (latest),nsfixtures=SEGMENT_TAR,profile=unittesting 
> #1371|https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/Ubuntu%20Slaves=ubuntu,jdk=JDK%201.7%20(latest),nsfixtures=SEGMENT_TAR,profile=unittesting/1371/]
>  [console 
> log|https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/Ubuntu%20Slaves=ubuntu,jdk=JDK%201.7%20(latest),nsfixtures=SEGMENT_TAR,profile=unittesting/1371/console]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OAK-6976) CopyOnWriteDirectory_Segment_Test failure

2018-09-26 Thread Davide Giannella (JIRA)


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

Davide Giannella updated OAK-6976:
--
Fix Version/s: 1.4.24

> CopyOnWriteDirectory_Segment_Test failure
> -
>
> Key: OAK-6976
> URL: https://issues.apache.org/jira/browse/OAK-6976
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: lucene
>Affects Versions: 1.4.18
>Reporter: Marcel Reutegger
>Assignee: Chetan Mehrotra
>Priority: Major
> Fix For: 1.0.43, 1.4.23, 1.2.31, 1.4.24
>
>
> This test only exists in branches 1.4 and older and was introduced as part of 
> OAK-5238. The test fails every now and then with (stack trace from 1.4):
> {noformat}
> java.lang.IllegalStateException: This builder does not exist: child-0
>   at 
> com.google.common.base.Preconditions.checkState(Preconditions.java:150)
>   at 
> org.apache.jackrabbit.oak.plugins.memory.MemoryNodeBuilder.setProperty(MemoryNodeBuilder.java:506)
>   at 
> org.apache.jackrabbit.oak.plugins.memory.MemoryNodeBuilder.setProperty(MemoryNodeBuilder.java:515)
>   at 
> org.apache.jackrabbit.oak.plugins.index.lucene.CopyOnWriteDirectory_Segment_Test.writeTree(CopyOnWriteDirectory_Segment_Test.java:158)
>   at 
> org.apache.jackrabbit.oak.plugins.index.lucene.CopyOnWriteDirectory_Segment_Test.copyOnWrite(CopyOnWriteDirectory_Segment_Test.java:111)
> {noformat}
> Please note that it fails more likely when the update.limit is set to 100, 
> which is the case for the maven build.
> I also ported the test to 1.6 and running it with the new segment-tar looks 
> OK. I don't know if this is because the copy-on-write or the segment-tar 
> implementation is different than in 1.4. 
> The affected versions are currently only set to 1.4.18, because there were no 
> releases off the 1.2 and 1.0 branches since OAK-5238 was backported.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OAK-5566) TestFailure: remote.http.handler.RemoteServerIT.testPatchLastRevisionAddMultiReferenceProperty

2018-09-26 Thread Davide Giannella (JIRA)


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

Davide Giannella updated OAK-5566:
--
Fix Version/s: 1.4.24

> TestFailure: 
> remote.http.handler.RemoteServerIT.testPatchLastRevisionAddMultiReferenceProperty
> --
>
> Key: OAK-5566
> URL: https://issues.apache.org/jira/browse/OAK-5566
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: continuous integration, remoting
>Reporter: Hudson
>Priority: Major
>  Labels: test-failure, ubuntu
> Fix For: 1.4.23, 1.4.24
>
>
> Jenkins CI failure: 
> https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/
> The build Apache Jackrabbit Oak matrix/Ubuntu Slaves=ubuntu,jdk=JDK 1.8 
> (latest),nsfixtures=DOCUMENT_RDB,profile=integrationTesting #1396 has failed.
> First failed run: [Apache Jackrabbit Oak matrix/Ubuntu Slaves=ubuntu,jdk=JDK 
> 1.8 (latest),nsfixtures=DOCUMENT_RDB,profile=integrationTesting 
> #1396|https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/Ubuntu%20Slaves=ubuntu,jdk=JDK%201.8%20(latest),nsfixtures=DOCUMENT_RDB,profile=integrationTesting/1396/]
>  [console 
> log|https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/Ubuntu%20Slaves=ubuntu,jdk=JDK%201.8%20(latest),nsfixtures=DOCUMENT_RDB,profile=integrationTesting/1396/console]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OAK-5418) Test failure: TomcatIT.testTomcat()

2018-09-26 Thread Davide Giannella (JIRA)


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

Davide Giannella updated OAK-5418:
--
Fix Version/s: 1.4.24

> Test failure: TomcatIT.testTomcat()
> ---
>
> Key: OAK-5418
> URL: https://issues.apache.org/jira/browse/OAK-5418
> Project: Jackrabbit Oak
>  Issue Type: Test
>  Components: continuous integration, examples
>Affects Versions: 1.4
>Reporter: Hudson
>Assignee: Chetan Mehrotra
>Priority: Major
>  Labels: test-failure, ubuntu
> Fix For: 1.4.23, 1.4.24
>
>
> Jenkins CI failure: 
> https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/
> The build Apache Jackrabbit Oak matrix/Ubuntu Slaves=ubuntu,jdk=JDK 1.7 
> (latest),nsfixtures=DOCUMENT_NS,profile=unittesting #1357 has failed.
> First failed run: [Apache Jackrabbit Oak matrix/Ubuntu Slaves=ubuntu,jdk=JDK 
> 1.7 (latest),nsfixtures=DOCUMENT_NS,profile=unittesting 
> #1357|https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/Ubuntu%20Slaves=ubuntu,jdk=JDK%201.7%20(latest),nsfixtures=DOCUMENT_NS,profile=unittesting/1357/]
>  [console 
> log|https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/Ubuntu%20Slaves=ubuntu,jdk=JDK%201.7%20(latest),nsfixtures=DOCUMENT_NS,profile=unittesting/1357/console]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OAK-7779) Ignore copying of namespace index node in InitialContentMigrator

2018-09-26 Thread Alex Deparvu (JIRA)


[ 
https://issues.apache.org/jira/browse/OAK-7779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16628626#comment-16628626
 ] 

Alex Deparvu commented on OAK-7779:
---

good stuff Amit! +1

One minor suggestion:
{noformat}
diff --git 
a/oak-core/src/main/java/org/apache/jackrabbit/oak/InitialContent.java 
b/oak-core/src/main/java/org/apache/jackrabbit/oak/InitialContent.java
index 9a460402c0..55a598136e 100644
--- a/oak-core/src/main/java/org/apache/jackrabbit/oak/InitialContent.java
+++ b/oak-core/src/main/java/org/apache/jackrabbit/oak/InitialContent.java
@@ -82,12 +82,12 @@ public class InitialContent implements 
RepositoryInitializer, NodeTypeConstants
 .setProperty(JCR_PRIMARYTYPE, NT_REP_NODE_TYPES, 
Type.NAME);
 system.child(VersionConstants.JCR_ACTIVITIES)
 .setProperty(JCR_PRIMARYTYPE, 
VersionConstants.REP_ACTIVITIES, Type.NAME);
-
-Namespaces.setupNamespaces(system);
 }
 
-NodeBuilder versionStorage = builder.child(JCR_SYSTEM)
-.child(JCR_VERSIONSTORAGE);
+NodeBuilder system = builder.getChildNode(JCR_SYSTEM);
+Namespaces.setupNamespaces(system);
+
+NodeBuilder versionStorage = system.child(JCR_VERSIONSTORAGE);
 if (prePopulateVS && !isInitialized(versionStorage)) {
 createIntermediateNodes(versionStorage);
 }
{noformat}

> Ignore copying of namespace index node in InitialContentMigrator
> 
>
> Key: OAK-7779
> URL: https://issues.apache.org/jira/browse/OAK-7779
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: core, store-composite
>Reporter: Amit Jain
>Priority: Blocker
> Fix For: 1.10, 1.9.9
>
> Attachments: OAK-7779-v3.patch, OAK-7779.patch, OAK-7779_v2.patch
>
>
> The namespace index node {{/jcr:system/rep:namespaces/rep:nsdata}} copied 
> from a seed repository for CompositeNodeStore leads to error in the 
> NamespaceEditor.
> This should be ignored as the rep:nsdata should be regenerated.
> {noformat}
> java.lang.RuntimeException: 
> org.apache.jackrabbit.oak.api.CommitFailedException: OakNamespace0005: 
> Namespace modification not allowed: rep:nsdata
>  at 
> org.apache.jackrabbit.oak.OakInitializer.initialize(OakInitializer.java:50) 
> [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.Oak.initialContent(Oak.java:672) 
> [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.Oak.createNewContentRepository(Oak.java:715) 
> [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.Oak.createContentRepository(Oak.java:660) 
> [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.jcr.Jcr.createContentRepository(Jcr.java:376) 
> [org.apache.jackrabbit.oak-jcr:1.10.0.SNAPSHOT]
> .
> org.apache.sling.jcr.base.AbstractSlingRepositoryManager.initializeAndRegisterRepositoryService(AbstractSlingRepositoryManager.java:471)
>  [org.apache.sling.jcr.base:3.0.4]
>  at 
> org.apache.sling.jcr.base.AbstractSlingRepositoryManager.access$300(AbstractSlingRepositoryManager.java:85)
>  [org.apache.sling.jcr.base:3.0.4]
>  at 
> org.apache.sling.jcr.base.AbstractSlingRepositoryManager$4.run(AbstractSlingRepositoryManager.java:455)
>  [org.apache.sling.jcr.base:3.0.4]
> Caused by: org.apache.jackrabbit.oak.api.CommitFailedException: 
> OakNamespace0005: Namespace modification not allowed: rep:nsdata
>  at 
> org.apache.jackrabbit.oak.plugins.name.NamespaceEditor.modificationNotAllowed(NamespaceEditor.java:122)
>  [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.plugins.name.NamespaceEditor.childNodeChanged(NamespaceEditor.java:140)
>  [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.spi.commit.CompositeEditor.childNodeChanged(CompositeEditor.java:121)
>  [org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:142)
>  [org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.plugins.memory.ModifiedNodeState.compareAgainstBaseState(ModifiedNodeState.java:416)
>  [org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:147)
>  [org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.composite.CompositeNodeState$WrappingDiff.childNodeChanged(CompositeNodeState.java:309)
>  [org.apache.jackrabbit.oak-store-composite:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.composite.CompositeNodeState$ChildrenDiffFilter.childNodeChanged(CompositeNodeState.java:256)
>  [org.apache.jackrabbit.oak-store-composite:1.1

[jira] [Commented] (OAK-7775) Build Jackrabbit Oak #1664 failed

2018-09-26 Thread Hudson (JIRA)


[ 
https://issues.apache.org/jira/browse/OAK-7775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16628598#comment-16628598
 ] 

Hudson commented on OAK-7775:
-

Previously failing build now is OK.
 Passed run: [Jackrabbit Oak 
#1677|https://builds.apache.org/job/Jackrabbit%20Oak/1677/] [console 
log|https://builds.apache.org/job/Jackrabbit%20Oak/1677/console]

> Build Jackrabbit Oak #1664 failed
> -
>
> Key: OAK-7775
> URL: https://issues.apache.org/jira/browse/OAK-7775
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: continuous integration
>Reporter: Hudson
>Priority: Major
>
> No description is provided
> The build Jackrabbit Oak #1664 has failed.
> First failed run: [Jackrabbit Oak 
> #1664|https://builds.apache.org/job/Jackrabbit%20Oak/1664/] [console 
> log|https://builds.apache.org/job/Jackrabbit%20Oak/1664/console]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OAK-7779) Ignore copying of namespace index node in InitialContentMigrator

2018-09-26 Thread Amit Jain (JIRA)


[ 
https://issues.apache.org/jira/browse/OAK-7779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16628593#comment-16628593
 ] 

Amit Jain commented on OAK-7779:


[^OAK-7779-v3.patch] which ignores the \{{/jcr:system/rep:namespaces}} in the 
InitialContentMigrator and a test which reproduces the original problem.

[~stillalex] Thanks for providing inputs offline, now the test does somewhat 
accurately describes the condition.

> Ignore copying of namespace index node in InitialContentMigrator
> 
>
> Key: OAK-7779
> URL: https://issues.apache.org/jira/browse/OAK-7779
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: core, store-composite
>Reporter: Amit Jain
>Priority: Blocker
> Fix For: 1.10, 1.9.9
>
> Attachments: OAK-7779-v3.patch, OAK-7779.patch, OAK-7779_v2.patch
>
>
> The namespace index node {{/jcr:system/rep:namespaces/rep:nsdata}} copied 
> from a seed repository for CompositeNodeStore leads to error in the 
> NamespaceEditor.
> This should be ignored as the rep:nsdata should be regenerated.
> {noformat}
> java.lang.RuntimeException: 
> org.apache.jackrabbit.oak.api.CommitFailedException: OakNamespace0005: 
> Namespace modification not allowed: rep:nsdata
>  at 
> org.apache.jackrabbit.oak.OakInitializer.initialize(OakInitializer.java:50) 
> [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.Oak.initialContent(Oak.java:672) 
> [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.Oak.createNewContentRepository(Oak.java:715) 
> [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.Oak.createContentRepository(Oak.java:660) 
> [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.jcr.Jcr.createContentRepository(Jcr.java:376) 
> [org.apache.jackrabbit.oak-jcr:1.10.0.SNAPSHOT]
> .
> org.apache.sling.jcr.base.AbstractSlingRepositoryManager.initializeAndRegisterRepositoryService(AbstractSlingRepositoryManager.java:471)
>  [org.apache.sling.jcr.base:3.0.4]
>  at 
> org.apache.sling.jcr.base.AbstractSlingRepositoryManager.access$300(AbstractSlingRepositoryManager.java:85)
>  [org.apache.sling.jcr.base:3.0.4]
>  at 
> org.apache.sling.jcr.base.AbstractSlingRepositoryManager$4.run(AbstractSlingRepositoryManager.java:455)
>  [org.apache.sling.jcr.base:3.0.4]
> Caused by: org.apache.jackrabbit.oak.api.CommitFailedException: 
> OakNamespace0005: Namespace modification not allowed: rep:nsdata
>  at 
> org.apache.jackrabbit.oak.plugins.name.NamespaceEditor.modificationNotAllowed(NamespaceEditor.java:122)
>  [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.plugins.name.NamespaceEditor.childNodeChanged(NamespaceEditor.java:140)
>  [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.spi.commit.CompositeEditor.childNodeChanged(CompositeEditor.java:121)
>  [org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:142)
>  [org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.plugins.memory.ModifiedNodeState.compareAgainstBaseState(ModifiedNodeState.java:416)
>  [org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:147)
>  [org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.composite.CompositeNodeState$WrappingDiff.childNodeChanged(CompositeNodeState.java:309)
>  [org.apache.jackrabbit.oak-store-composite:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.composite.CompositeNodeState$ChildrenDiffFilter.childNodeChanged(CompositeNodeState.java:256)
>  [org.apache.jackrabbit.oak-store-composite:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.plugins.memory.ModifiedNodeState.compareAgainstBaseState(ModifiedNodeState.java:416)
>  [org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.composite.CompositeNodeState.compareAgainstBaseState(CompositeNodeState.java:163)
>  [org.apache.jackrabbit.oak-store-composite:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:147)
>  [org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.composite.CompositeNodeState$WrappingDiff.childNodeChanged(CompositeNodeState.java:309)
>  [org.apache.jackrabbit.oak-store-composite:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.composite.CompositeNodeState$ChildrenDiffFilter.childNodeChanged(CompositeNodeState.java:256)
>  [org.apache.jackrabbit.oak-store-composite:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.plugins.memory.ModifiedNodeState.c

[jira] [Updated] (OAK-7779) Ignore copying of namespace index node in InitialContentMigrator

2018-09-26 Thread Amit Jain (JIRA)


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

Amit Jain updated OAK-7779:
---
Attachment: OAK-7779-v3.patch

> Ignore copying of namespace index node in InitialContentMigrator
> 
>
> Key: OAK-7779
> URL: https://issues.apache.org/jira/browse/OAK-7779
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: core, store-composite
>Reporter: Amit Jain
>Priority: Blocker
> Fix For: 1.10, 1.9.9
>
> Attachments: OAK-7779-v3.patch, OAK-7779.patch, OAK-7779_v2.patch
>
>
> The namespace index node {{/jcr:system/rep:namespaces/rep:nsdata}} copied 
> from a seed repository for CompositeNodeStore leads to error in the 
> NamespaceEditor.
> This should be ignored as the rep:nsdata should be regenerated.
> {noformat}
> java.lang.RuntimeException: 
> org.apache.jackrabbit.oak.api.CommitFailedException: OakNamespace0005: 
> Namespace modification not allowed: rep:nsdata
>  at 
> org.apache.jackrabbit.oak.OakInitializer.initialize(OakInitializer.java:50) 
> [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.Oak.initialContent(Oak.java:672) 
> [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.Oak.createNewContentRepository(Oak.java:715) 
> [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.Oak.createContentRepository(Oak.java:660) 
> [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.jcr.Jcr.createContentRepository(Jcr.java:376) 
> [org.apache.jackrabbit.oak-jcr:1.10.0.SNAPSHOT]
> .
> org.apache.sling.jcr.base.AbstractSlingRepositoryManager.initializeAndRegisterRepositoryService(AbstractSlingRepositoryManager.java:471)
>  [org.apache.sling.jcr.base:3.0.4]
>  at 
> org.apache.sling.jcr.base.AbstractSlingRepositoryManager.access$300(AbstractSlingRepositoryManager.java:85)
>  [org.apache.sling.jcr.base:3.0.4]
>  at 
> org.apache.sling.jcr.base.AbstractSlingRepositoryManager$4.run(AbstractSlingRepositoryManager.java:455)
>  [org.apache.sling.jcr.base:3.0.4]
> Caused by: org.apache.jackrabbit.oak.api.CommitFailedException: 
> OakNamespace0005: Namespace modification not allowed: rep:nsdata
>  at 
> org.apache.jackrabbit.oak.plugins.name.NamespaceEditor.modificationNotAllowed(NamespaceEditor.java:122)
>  [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.plugins.name.NamespaceEditor.childNodeChanged(NamespaceEditor.java:140)
>  [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.spi.commit.CompositeEditor.childNodeChanged(CompositeEditor.java:121)
>  [org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:142)
>  [org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.plugins.memory.ModifiedNodeState.compareAgainstBaseState(ModifiedNodeState.java:416)
>  [org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:147)
>  [org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.composite.CompositeNodeState$WrappingDiff.childNodeChanged(CompositeNodeState.java:309)
>  [org.apache.jackrabbit.oak-store-composite:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.composite.CompositeNodeState$ChildrenDiffFilter.childNodeChanged(CompositeNodeState.java:256)
>  [org.apache.jackrabbit.oak-store-composite:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.plugins.memory.ModifiedNodeState.compareAgainstBaseState(ModifiedNodeState.java:416)
>  [org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.composite.CompositeNodeState.compareAgainstBaseState(CompositeNodeState.java:163)
>  [org.apache.jackrabbit.oak-store-composite:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:147)
>  [org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.composite.CompositeNodeState$WrappingDiff.childNodeChanged(CompositeNodeState.java:309)
>  [org.apache.jackrabbit.oak-store-composite:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.composite.CompositeNodeState$ChildrenDiffFilter.childNodeChanged(CompositeNodeState.java:256)
>  [org.apache.jackrabbit.oak-store-composite:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.plugins.memory.ModifiedNodeState.compareAgainstBaseState(ModifiedNodeState.java:416)
>  [org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.plugins.document.ModifiedDocumentNodeState.compareAgainstBaseState(ModifiedDocumentNodeState.java:135)
>  [org.apache.jackrabbit.oak-store-document:

[jira] [Resolved] (OAK-7648) Oak should compile & test on Java 11

2018-09-26 Thread Julian Reschke (JIRA)


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

Julian Reschke resolved OAK-7648.
-
   Resolution: Fixed
Fix Version/s: 1.9.9

Tested with Java 11 GA as of 2018-09-26.

> Oak should compile & test on Java 11
> 
>
> Key: OAK-7648
> URL: https://issues.apache.org/jira/browse/OAK-7648
> Project: Jackrabbit Oak
>  Issue Type: Epic
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Major
> Fix For: 1.10, 1.9.9
>
>
> (umbrella issue for tracking changes)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OAK-7669) 1.8: oak-it-osgi fails with java 11 due to use of javax.annotation in jackrabbit-api

2018-09-26 Thread Julian Reschke (JIRA)


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

Julian Reschke updated OAK-7669:

Summary: 1.8: oak-it-osgi fails with java 11 due to use of javax.annotation 
in jackrabbit-api  (was: oak-it-osgi fails with java 11 due to use of 
javax.annotation in jackrabbit-api)

> 1.8: oak-it-osgi fails with java 11 due to use of javax.annotation in 
> jackrabbit-api
> 
>
> Key: OAK-7669
> URL: https://issues.apache.org/jira/browse/OAK-7669
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: it
>Affects Versions: 1.8.7
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
>
> {noformat}
> ERROR: Bundle org.apache.jackrabbit.jackrabbit-api [23] Error starting 
> file:/C:/tmp/1532702976390-0/bundles/org.apache.jackrabbit.jackrabbit-api_2.16.2.jar
>  (org.osgi.framework.BundleException: Unable to resolve 
> org.apache.jackrabbit.jackrabbit-api [23](R 23.0): missing requirement 
> [org.apache.jackrabbit.jackrabbit-api [23](R 23.0)] osgi.wiring.package; 
> (osgi.wiring.package=javax.annotation) Unresolved requirements: 
> [[org.apache.jackrabbit.jackrabbit-api [23](R 23.0)] osgi.wiring.package; 
> (osgi.wiring.package=javax.annotation)])
> org.osgi.framework.BundleException: Unable to resolve 
> org.apache.jackrabbit.jackrabbit-api [23](R 23.0): missing requirement 
> [org.apache.jackrabbit.jackrabbit-api [23](R 23.0)] osgi.wiring.package; 
> (osgi.wiring.package=javax.annotation) Unresolved requirements: 
> [[org.apache.jackrabbit.jackrabbit-api [23](R 23.0)] osgi.wiring.package; 
> (osgi.wiring.package=javax.annotation)]
> at 
> org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4149)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:2119)
> at 
> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1373)
> at 
> org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
> at java.base/java.lang.Thread.run(Thread.java:834)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OAK-7669) 1.8: oak-it-osgi fails with java 11 due to use of javax.annotation in jackrabbit-api

2018-09-26 Thread Julian Reschke (JIRA)


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

Julian Reschke updated OAK-7669:

Affects Version/s: 1.8.7

> 1.8: oak-it-osgi fails with java 11 due to use of javax.annotation in 
> jackrabbit-api
> 
>
> Key: OAK-7669
> URL: https://issues.apache.org/jira/browse/OAK-7669
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: it
>Affects Versions: 1.8.7
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
>
> {noformat}
> ERROR: Bundle org.apache.jackrabbit.jackrabbit-api [23] Error starting 
> file:/C:/tmp/1532702976390-0/bundles/org.apache.jackrabbit.jackrabbit-api_2.16.2.jar
>  (org.osgi.framework.BundleException: Unable to resolve 
> org.apache.jackrabbit.jackrabbit-api [23](R 23.0): missing requirement 
> [org.apache.jackrabbit.jackrabbit-api [23](R 23.0)] osgi.wiring.package; 
> (osgi.wiring.package=javax.annotation) Unresolved requirements: 
> [[org.apache.jackrabbit.jackrabbit-api [23](R 23.0)] osgi.wiring.package; 
> (osgi.wiring.package=javax.annotation)])
> org.osgi.framework.BundleException: Unable to resolve 
> org.apache.jackrabbit.jackrabbit-api [23](R 23.0): missing requirement 
> [org.apache.jackrabbit.jackrabbit-api [23](R 23.0)] osgi.wiring.package; 
> (osgi.wiring.package=javax.annotation) Unresolved requirements: 
> [[org.apache.jackrabbit.jackrabbit-api [23](R 23.0)] osgi.wiring.package; 
> (osgi.wiring.package=javax.annotation)]
> at 
> org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4149)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:2119)
> at 
> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1373)
> at 
> org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
> at java.base/java.lang.Thread.run(Thread.java:834)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OAK-7779) Ignore copying of namespace index node in InitialContentMigrator

2018-09-26 Thread Amit Jain (JIRA)


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

Amit Jain updated OAK-7779:
---
Attachment: OAK-7779_v2.patch

> Ignore copying of namespace index node in InitialContentMigrator
> 
>
> Key: OAK-7779
> URL: https://issues.apache.org/jira/browse/OAK-7779
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: core, store-composite
>Reporter: Amit Jain
>Priority: Blocker
> Fix For: 1.10, 1.9.9
>
> Attachments: OAK-7779.patch, OAK-7779_v2.patch
>
>
> The namespace index node {{/jcr:system/rep:namespaces/rep:nsdata}} copied 
> from a seed repository for CompositeNodeStore leads to error in the 
> NamespaceEditor.
> This should be ignored as the rep:nsdata should be regenerated.
> {noformat}
> java.lang.RuntimeException: 
> org.apache.jackrabbit.oak.api.CommitFailedException: OakNamespace0005: 
> Namespace modification not allowed: rep:nsdata
>  at 
> org.apache.jackrabbit.oak.OakInitializer.initialize(OakInitializer.java:50) 
> [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.Oak.initialContent(Oak.java:672) 
> [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.Oak.createNewContentRepository(Oak.java:715) 
> [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.Oak.createContentRepository(Oak.java:660) 
> [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.jcr.Jcr.createContentRepository(Jcr.java:376) 
> [org.apache.jackrabbit.oak-jcr:1.10.0.SNAPSHOT]
> .
> org.apache.sling.jcr.base.AbstractSlingRepositoryManager.initializeAndRegisterRepositoryService(AbstractSlingRepositoryManager.java:471)
>  [org.apache.sling.jcr.base:3.0.4]
>  at 
> org.apache.sling.jcr.base.AbstractSlingRepositoryManager.access$300(AbstractSlingRepositoryManager.java:85)
>  [org.apache.sling.jcr.base:3.0.4]
>  at 
> org.apache.sling.jcr.base.AbstractSlingRepositoryManager$4.run(AbstractSlingRepositoryManager.java:455)
>  [org.apache.sling.jcr.base:3.0.4]
> Caused by: org.apache.jackrabbit.oak.api.CommitFailedException: 
> OakNamespace0005: Namespace modification not allowed: rep:nsdata
>  at 
> org.apache.jackrabbit.oak.plugins.name.NamespaceEditor.modificationNotAllowed(NamespaceEditor.java:122)
>  [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.plugins.name.NamespaceEditor.childNodeChanged(NamespaceEditor.java:140)
>  [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.spi.commit.CompositeEditor.childNodeChanged(CompositeEditor.java:121)
>  [org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:142)
>  [org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.plugins.memory.ModifiedNodeState.compareAgainstBaseState(ModifiedNodeState.java:416)
>  [org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:147)
>  [org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.composite.CompositeNodeState$WrappingDiff.childNodeChanged(CompositeNodeState.java:309)
>  [org.apache.jackrabbit.oak-store-composite:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.composite.CompositeNodeState$ChildrenDiffFilter.childNodeChanged(CompositeNodeState.java:256)
>  [org.apache.jackrabbit.oak-store-composite:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.plugins.memory.ModifiedNodeState.compareAgainstBaseState(ModifiedNodeState.java:416)
>  [org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.composite.CompositeNodeState.compareAgainstBaseState(CompositeNodeState.java:163)
>  [org.apache.jackrabbit.oak-store-composite:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:147)
>  [org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.composite.CompositeNodeState$WrappingDiff.childNodeChanged(CompositeNodeState.java:309)
>  [org.apache.jackrabbit.oak-store-composite:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.composite.CompositeNodeState$ChildrenDiffFilter.childNodeChanged(CompositeNodeState.java:256)
>  [org.apache.jackrabbit.oak-store-composite:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.plugins.memory.ModifiedNodeState.compareAgainstBaseState(ModifiedNodeState.java:416)
>  [org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at 
> org.apache.jackrabbit.oak.plugins.document.ModifiedDocumentNodeState.compareAgainstBaseState(ModifiedDocumentNodeState.java:135)
>  [org.apache.jackrabbit.oak-store-document:1.10.0.SNAPSHOT]
>