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

2015-12-21 Thread Apache Jenkins Server
The Apache Jenkins build system has built Apache Jackrabbit Oak matrix (build 
#638)

Status: Still Failing

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

Changes:
[reschke] OAK-3662: add bulk createOrUpdate method to the DocumentStore API

[chetanm] OAK-301 : oak docu

[reschke] OAK-3816: RDBBlobStoreTest should use named parameters

 

Test results:
12 tests failed.
FAILED:  org.apache.jackrabbit.oak.jcr.query.FacetTest.testFacetRetrievalMV

Error Message:
expected: but was:

Stack Trace:
junit.framework.ComparisonFailure: expected: but was:
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.query.FacetTest.testFacetRetrievalMV(FacetTest.java:80)
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.query.FacetTest.testMultipleFacetsRetrieval

Error Message:
expected: but 
was:

Stack Trace:
junit.framework.ComparisonFailure: expected: but was:
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.query.FacetTest.testMultipleFacetsRetrieval(FacetTest.java:146)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

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

2015-12-21 Thread Apache Jenkins Server
The Apache Jenkins build system has built Apache Jackrabbit Oak matrix (build 
#640)

Status: Still Failing

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

Changes:
[reschke] OAK-3816: RDBBlobStoreTest should use named parameters (ported to 1.0)

 

Test results:
All tests passed

Fwd: new atomicCounter support (OAK-2220)

2015-12-21 Thread Torgeir Veimo
Can someone confirm if the atomic counter support code is suitable for
sequences?

https://jackrabbit.apache.org/oak/docs/apidocs/org/apache/jackrabbit/oak/plugins/atomic/AtomicCounterEditor.html

If my reading of the spec is correct, separate sessions will see their
results from the increment immediately and isolated from other sessions
incrementing the same counter, so using the results from an increment can
safely be used as a sequence number as long as the counter is ever
incremented in any code?

On 13 November 2015 at 14:40, Torgeir Veimo  wrote:

> Am trying to use the new atomicSupport feature, and am wondering if I'm
> using it the correct way;
>
> My counter is initialised with
>
> Node counter = JcrUtils.getOrCreateByPath("/testCounter",
> "oak:Unstructured", session);
> if (counter.isNew()) {
>   counter.addMixin("mix:atomicCounter");
>   session.save();
> }
>
> then when fetching a new value
>
> counter.setProperty("oak:increment", 1);
> session.save();
> long value = counter.getProperty("oak:counter").getLong();
>
> What happens if the same code is called from a different thread / session
> after the session.save() but before the getProperty() call? Will the value
> remain unchanged in this thread / session?
>
> --
> -Tor
>



-- 
-Tor



-- 
-Tor


jackrabbit-oak build #7093: Errored

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

Build: #7093
Status: Errored

Duration: 1943 seconds
Commit: 4d5b5b2b10a18666f3a02d9ad982e087fdb56a3c (trunk)
Author: Julian Reschke
Message: OAK-3816: RDBBlobStoreTest should use named parameters

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

View the changeset: 
https://github.com/apache/jackrabbit-oak/compare/f778f1365d46...4d5b5b2b10a1

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

--
sent by Jukka's Travis notification gateway


jackrabbit-oak build #7090: Fixed

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

Build: #7090
Status: Fixed

Duration: 2232 seconds
Commit: 7594b930964e56014e377b73e42672f9cf2384ab (1.2)
Author: Julian Reschke
Message: OAK-3662: add bulk createOrUpdate method to the DocumentStore API 
(ported to 1.2)

(applied tomekr's patch with minor Javadoc improvements)

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

View the changeset: 
https://github.com/apache/jackrabbit-oak/compare/fb0ddd0a11c1...7594b930964e

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

--
sent by Jukka's Travis notification gateway