[Oak origin/trunk] Apache Jackrabbit Oak matrix - Build # 1399 - Still Failing

2017-02-02 Thread Apache Jenkins Server
The Apache Jenkins build system has built Apache Jackrabbit Oak matrix (build 
#1399)

Status: Still Failing

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

Changes:
[adulceanu] OAK-5276 - The check command overloads the meaning of the deep 
option

[adulceanu] OAK-5275 - The check command should accept the path to the store as 
a

[mreutegg] OAK-5557: incomplete diffManyChildren during commitHook evaluation 
in a

 

Test results:
1 tests failed.
FAILED:  org.apache.jackrabbit.oak.segment.standby.StandbyTestIT.testSyncLoop

Error Message:
expected: org.apache.jackrabbit.oak.segment.SegmentNodeState<{ checkpoints = { 
... }, root = { ... } }> but was: 
org.apache.jackrabbit.oak.segment.SegmentNodeState<{ checkpoints = { ... }, 
root = { ... } }>

Stack Trace:
java.lang.AssertionError: expected: 
org.apache.jackrabbit.oak.segment.SegmentNodeState<{ checkpoints = { ... }, 
root = { ... } }> but was: org.apache.jackrabbit.oak.segment.SegmentNodeState<{ 
checkpoints = { ... }, root = { ... } }>
at 
org.apache.jackrabbit.oak.segment.standby.StandbyTestIT.testSyncLoop(StandbyTestIT.java:126)




Release plan Oak 1.2.24

2017-02-02 Thread Amit Jain
Hi Team,

Oak 1.2.24 release is scheduled for 6th February but postponing it for the
next cycle (6th March) as there aren't enough issues resolved/backported.
But if you think that there's something urgent that needs to go out let me
know.

Thanks
Amit


Release plan Oak 1.4.13

2017-02-02 Thread Amit Jain
Hi Team,

Oak 1.4.13 release is scheduled for Monday (6th February) as planned. If
there's something that needs to be put in urgently let me know.

Thanks
Amit


trying to get more info on IllegalStateException when migrating

2017-02-02 Thread Torgeir Veimo
Am running oak-upgrade with the follow parameters and output. How do I
determine what is the exact problem?


Torgeirs-MacBook-Pro:jackrabbit-oak-1.5.18 tor$ java -jar
./oak-upgrade/target/oak-upgrade-1.5.18.jar --copy-binaries
segment-old:/Users/tor/content/karriere/oak ~/content/karriere/oak-16

03.02.2017 00:39:21.037 [main] *INFO*
 org.apache.jackrabbit.oak.upgrade.cli.parser.MigrationOptions -
copyVersions parameter set to 1970-01-01

03.02.2017 00:39:21.040 [main] *INFO*
 org.apache.jackrabbit.oak.upgrade.cli.parser.MigrationOptions -
copyOrphanedVersions parameter set to 1970-01-01

03.02.2017 00:39:21.040 [main] *INFO*
 org.apache.jackrabbit.oak.upgrade.cli.parser.MigrationOptions - Cache
size: 256 MB

03.02.2017 00:39:21.042 [main] *INFO*
 org.apache.jackrabbit.oak.upgrade.cli.parser.StoreArguments - Source:
SEGMENT[segment-old:/Users/tor/content/karriere/oak]

03.02.2017 00:39:21.044 [main] *INFO*
 org.apache.jackrabbit.oak.upgrade.cli.parser.StoreArguments - Destination:
SEGMENT_TAR[/Users/tor/content/karriere/oak-16]

Exception in thread "main" java.lang.IllegalStateException

at com.google.common.base.Preconditions.checkState(Preconditions.java:134)

at
org.apache.jackrabbit.oak.plugins.segment.file.FileStore.(FileStore.java:403)

at
org.apache.jackrabbit.oak.plugins.segment.file.FileStore.(FileStore.java:92)

at
org.apache.jackrabbit.oak.plugins.segment.file.FileStore$ReadOnlyStore.(FileStore.java:1449)

at
org.apache.jackrabbit.oak.plugins.segment.file.FileStore$ReadOnlyStore.(FileStore.java:1446)

at
org.apache.jackrabbit.oak.plugins.segment.file.FileStore$Builder.buildReadOnly(FileStore.java:393)

at
org.apache.jackrabbit.oak.upgrade.cli.node.SegmentFactory.hasExternalBlobReferences(SegmentFactory.java:119)

at
org.apache.jackrabbit.oak.upgrade.cli.node.StoreFactory.hasExternalBlobReferences(StoreFactory.java:67)

at
org.apache.jackrabbit.oak.upgrade.cli.parser.StoreArguments.srcUsesEmbeddedDatastore(StoreArguments.java:113)

at
org.apache.jackrabbit.oak.upgrade.cli.OakUpgrade.migrate(OakUpgrade.java:64)

at org.apache.jackrabbit.oak.upgrade.cli.OakUpgrade.main(OakUpgrade.java:48)


--
-Tor


[ANNOUNCE] Apache Jackrabbit Oak 1.6.0 released

2017-02-02 Thread Davide Giannella
The Apache Jackrabbit community is pleased to announce the release of
Apache Jackrabbit Oak. The release is available for download at:

http://jackrabbit.apache.org/downloads.html

See the full release notes below for details about this release:


Release Notes -- Apache Jackrabbit Oak -- Version 1.6.0

Introduction


Jackrabbit Oak is a scalable, high-performance hierarchical content
repository designed for use as the foundation of modern world-class
web sites and other demanding content applications.

Jackrabbit Oak 1.6 is an incremental feature release based on and
compatible with earlier stable Jackrabbit Oak 1.x releases. Jackrabbit
Oak 1.6.x releases are considered stable and targeted for production
use.

The Oak effort is a part of the Apache Jackrabbit project.
Apache Jackrabbit is a project of the Apache Software Foundation.

Changes in Oak 1.6.0
-

Sub-task

[OAK-2405] - Monitoring to track old NodeStates
[OAK-2629] - Cleanup Oak Travis jobs
[OAK-5035] - Implement mini-benchmark for PersistentCache
[OAK-5038] - Extend PersistentCacheStats with async queue-related
stats
[OAK-5167] - Document garbage collection
[OAK-5274] - Document CLI tools for oak-segment-tar
[OAK-5292] - The README in oak-run should link to the
documentation for oak-segment-tar
[OAK-5299] - Introduce BlobFactory in OakDirectory

Technical task

[OAK-3159] - Extend documentation for SegmentNodeStoreService in
http://jackrabbit.apache.org/oak/docs/osgi_config.html#SegmentNodeStore
[OAK-3309] - Segment Tar SegmentCache loader stats
[OAK-3403] - Multiplexing store support in Property indexes
[OAK-3404] - Path to logical store mapping
[OAK-3758] - Multiplexing store support in Reference index
[OAK-3840] - Clean up the FileStore constructor
[OAK-3869] - Refactor RecordWriter.write to always return a
RecordId
[OAK-3977] - RDBDocumentStore: remove PostgreSQL workaround after
upgrading to JDBC driver 9.4.1208
[OAK-3982] - DocumentStore: add method to remove with a condition
on an indexed property
[OAK-3983] - JournalGarbageCollector: use new DocumentStore
remove() method
[OAK-3984] - RDBDocumentStore: implement new conditional remove
method
[OAK-3985] - MongoDocumentStore: implement new conditional remove
method
[OAK-4094] - RDBDocumentStore: upgrade PostgreSQL JDBC driver
dependency to 9.4.1208
[OAK-4102] - Break cyclic dependency of FileStore and
SegmentTracker
[OAK-4113] - RDBJDBCTools: fix JDBC driver version check
[OAK-4134] - RDBBlobStore: improve error handling and logging
[OAK-4156] - RDBConnectionHandler: add logging when getting the
connection takes long
[OAK-4184] - DocumentNodeStore and DocumentMK.Builder should allow
read-only mode
[OAK-4190] - DocumentMK: refactor RDB-specific code
[OAK-4193] - RDBBlobStore: logging for garbage collection has
parameters reversed
[OAK-4197] - Remove deprecated constructors from SegmentNodeStore
[OAK-4199] - RDBBlobStore: garbage collection fails to delete DATA
records when there was subsequent blobstore activity
[OAK-4200] - [BlobGC] Improve collection times of blobs available
[OAK-4203] - ExternalSortTest doesn't cleanup temp files
[OAK-4204] - GarbageCollectorFileState.copy() leaks
FileOutputStream
[OAK-4205] - SegmentGraphTest doesn't correctly delete the
temporary directory on cleanup
[OAK-4206] - JournalReaderTest creates multiple temporary files
and doesn't delete them
[OAK-4207] - TarWriterTest creates a temporary TAR file that is
never deleted
[OAK-4208] - Unit and integration tests in oak-segments don't
clean up after test data
[OAK-4209] - FileStoreStatsTest doesn't close the temporary
FileStore instances
[OAK-4210] - JournalEntryTest doesn't close a JournalReader at the
end of the test
[OAK-4213] - IndexCopierTest#basicTestWithFS leaves temp files
[OAK-4214] - Many tests of LucenePropertyIndexTest leave temp
files undleted
[OAK-4217] - UpgradeTest does not clean up temp file
[OAK-4225] - AbstractOak2OakTest never calls
getSoureContainer().clean()
[OAK-4227] - OakDirectoryTest#dirNameInException_Writes leaves
temp files
[OAK-4228] - Some tests in LuceneIndexTest leave out CoR/CoW-ed
directories
[OAK-4232] - Bump segment version to 12
[OAK-4236] - SegmentNodeStoreConfigTest#testDeadlock in oak-pojosr
leaves out tmp file
[OAK-4237] - NodeStoreBinaryResourceProviderTest#csvGenerator
leaks temporary folder
[OAK-4241] - JdbcNodeStoreContainer does not correctly clean up H2
temp files
[OAK-4250] - DocumentStore: add test coverage for find() with
ultra-long keys
[OAK-4257] - Findbug issues in security modules
[OAK-4326] - Add a flag to choose between segment store
implementations in the "backup" command
[OAK-4327] - Add a 

[RESULT][VOTE] Release Apache Jackrabbit Oak

2017-02-02 Thread Davide Giannella
Hello Team,

the vote passes as follows:

+1 Vikas Saurabh
+1 Amit Jain
+1 Thomas Müller
+1 Michael Dürig
+1 Marcel Reutegger
+1 Julian Reschke
+1 Davide Giannella


Thanks for voting. I'll push the release out.

-- Davide



http://jackrabbit.apache.org/oak/docs/construct.html out of sync with 1.6.0

2017-02-02 Thread Torgeir Veimo
It looks like the documentation is not in sync with the 1.6.0 codebase, eg

http://jackrabbit.apache.org/oak/docs/construct.html

refers to using repository construction with the constructor of the
SegmentNodeStore
class.


-- 
-Tor


[ANNOUNCE] Apache Jackrabbit 2.4.7 released

2017-02-02 Thread Julian Reschke

The Apache Jackrabbit community is pleased to announce the release of
Apache Jackrabbit 2.4.7. The release is available for download at:

http://jackrabbit.apache.org/downloads.html

See the full release notes below for details about this release:

Release Notes -- Apache Jackrabbit -- Version 2.4.7

Introduction


This is Apache Jackrabbit(TM) 2.4, a fully compliant implementation of the
Content Repository for Java(TM) Technology API, version 2.0 (JCR 2.0) as
specified in the Java Specification Request 283 (JSR 283).

Apache Jackrabbit 2.4.7 is patch release that contains fixes and
improvements over Jackrabbit 2.4.6. This release also contain security fixes
for Jackrabbit 2.4.6 and earlier. Jackrabbit 2.4.x releases are considered
stable and targeted for production use.

Changes since Jackrabbit 2.4.6
--

Bug

[JCR-4026] - BundleBinding uses JDK 6 runtime methods
[JCR-4027] - NPE in JcrRemotingServlet.canHandle() when 
content-type is missing

[JCR-4031] - AbstractLocatorFactory: typo in log message
[JCR-4047] - Build fails: jackrabbit-jcr2spi: Signature errors found.
[JCR-4068] - jcr-commons: get rid of test dependency to json.org 
JSON parser
[JCR-4100] - jackrabbit-webdav: Scope implements equals() but not 
hashCode()


Task

[JCR-4025] - Enable animal sniffer plugin
[JCR-4080] - Upgrade Apache Commons Collections to v3.2.2
[JCR-4106] - fix JCR API docs link

Sub-task

[JCR-3330] - upgrade httpclient 3 dependency to final release 3.1
[JCR-4019] - move httpclient dependency out of parent pom

In addition to the above-mentioned changes, this release contains
all the changes included up to the Apache Jackrabbit 2.4.6 release.

For more detailed information about all the changes in this and other
Jackrabbit releases, please see the Jackrabbit issue tracker at

https://issues.apache.org/jira/browse/JCR

Release Contents


This release consists of a single source archive packaged as a zip file.
The archive can be unpacked with the jar tool from your JDK installation.
See the README.txt file for instructions on how to build this release.

The source archive is accompanied by SHA1 and MD5 checksums and a PGP
signature that you can use to verify the authenticity of your download.
The public key used for the PGP signature can be found at
https://svn.apache.org/repos/asf/jackrabbit/dist/KEYS.

About Apache Jackrabbit
---

Apache Jackrabbit is a fully conforming implementation of the Content
Repository for Java Technology API (JCR). A content repository is a
hierarchical content store with support for structured and unstructured
content, full text search, versioning, transactions, observation, and
more.

For more information, visit http://jackrabbit.apache.org/

About The Apache Software Foundation


Established in 1999, The Apache Software Foundation provides organizational,
legal, and financial support for more than 140 freely-available,
collaboratively-developed Open Source projects. The pragmatic Apache License
enables individual and commercial users to easily deploy Apache software;
the Foundation's intellectual property framework limits the legal exposure
of its 3,800+ contributors.

For more information, visit http://www.apache.org/

Trademarks
--

Apache Jackrabbit, Jackrabbit, Apache, the Apache feather logo, and the 
Apache

Jackrabbit project logo are trademarks of The Apache Software Foundation.



Re: 2.9.* jackrabbit in customer installs

2017-02-02 Thread Oliver Lietz
On Wednesday 01 February 2017 19:20:05 Julian Reschke wrote:
> On 2017-02-01 16:48, Julian Reschke wrote:
> > ...
> 
> That mail was intended for a different mailing list. Sorry.

Forwared to d...@sling.apache.org. Thanks, Julian.

Regards,
O.

> Best regards, Julian



Re: JIRA commit plugin

2017-02-02 Thread Robert Munteanu
On Tue, 2017-01-31 at 12:27 +0100, Alex Parvulescu wrote:
> Hi,
> 
> What can be done about the missing JIRA plugin that links to commits
> on a
> specific issue?
> I'm unable to access any data, the link asks me to "Authenticate to
> see
> related commits".
> 
> I assume this is an Infra problem?

I think so, I filed

  https://issues.apache.org/jira/browse/INFRA-13450

Robert


[Oak origin/1.0] Apache Jackrabbit Oak matrix - Build # 1398 - Still Failing

2017-02-02 Thread Apache Jenkins Server
The Apache Jenkins build system has built Apache Jackrabbit Oak matrix (build 
#1398)

Status: Still Failing

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

Changes:
[reschke] OAK-5554: RDB*Store: update postgresql JDBC driver reference to 
9.4.1212

[reschke] OAK-: RDB*Store: update Tomcat JDBC pool dependency to 7.0.73

 

Test results:
38 tests failed.
FAILED:  
org.apache.jackrabbit.oak.plugins.segment.standby.ExternalPrivateStoreIT.testProxySkippedBytes

Error Message:
proxy not started

Stack Trace:
java.lang.Exception: proxy not started
at 
org.apache.jackrabbit.oak.plugins.segment.NetworkErrorProxy.reset(NetworkErrorProxy.java:87)
at 
org.apache.jackrabbit.oak.plugins.segment.standby.DataStoreTestBase.useProxy(DataStoreTestBase.java:176)
at 
org.apache.jackrabbit.oak.plugins.segment.standby.DataStoreTestBase.testProxySkippedBytes(DataStoreTestBase.java:118)
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.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.java:47)
at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java: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(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.plugins.segment.standby.ExternalPrivateStoreIT.testSync

Error Message:
expected: org.apache.jackrabbit.oak.plugins.segment.SegmentNodeState<{ root = { 
... } }> but was: org.apache.jackrabbit.oak.plugins.segment.SegmentNodeState<{ 
root = { ... } }>

Stack Trace:
java.lang.AssertionError: expected: 
org.apache.jackrabbit.oak.plugins.segment.SegmentNodeState<{ root = { ... } }> 
but was: org.apache.jackrabbit.oak.plugins.segment.SegmentNodeState<{ root = { 
... } }>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:144)
at 
org.apache.jackrabbit.oak.plugins.segment.standby.DataStoreTestBase.testSync(DataStoreTestBase.java:96)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at