You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Carsten Ziegeler <cz...@apache.org> on 2016/02/15 13:09:05 UTC
[Validation] http it test failure
Hi when building latest trunk, validation http it tests are not passing
(Java 7). I get the below errors, from the logs it seems the
authenticator is not available, but there are no other errors in the log
Anyone else experiencing this?
60047 [main] INFO
org.apache.sling.validation.testservices.ValidationServiceTest - Server
not ready after 60 seconds, giving up
Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 60.076
sec <<< FAILURE! - in
org.apache.sling.validation.testservices.ValidationServiceTest
testValidRequestModel1(org.apache.sling.validation.testservices.ValidationServiceTest)
Time elapsed: 60.075 sec <<< FAILURE!
java.lang.AssertionError: Server not ready after 60 seconds, giving up
at org.junit.Assert.fail(Assert.java:91)
at
org.apache.sling.testing.tools.sling.SlingTestBase.waitForServerReady(SlingTestBase.java:326)
at
org.apache.sling.testing.tools.sling.SlingTestBase.startServerIfNeeded(SlingTestBase.java:169)
at
org.apache.sling.testing.tools.sling.SlingTestBase.getRequestBuilder(SlingTestBase.java:225)
at
org.apache.sling.validation.testservices.ValidationServiceTest.testValidRequestModel1(ValidationServiceTest.java:50)
testInvalidRequestModel1(org.apache.sling.validation.testservices.ValidationServiceTest)
Time elapsed: 0 sec <<< FAILURE!
java.lang.AssertionError: Server is not ready according to previous tests
at org.junit.Assert.fail(Assert.java:91)
at
org.apache.sling.testing.tools.sling.SlingTestBase.waitForServerReady(SlingTestBase.java:268)
at
org.apache.sling.testing.tools.sling.SlingTestBase.startServerIfNeeded(SlingTestBase.java:169)
at
org.apache.sling.testing.tools.sling.SlingTestBase.getRequestBuilder(SlingTestBase.java:225)
at
org.apache.sling.validation.testservices.ValidationServiceTest.testInvalidRequestModel1(ValidationServiceTest.java:62)
--
Carsten Ziegeler
Adobe Research Switzerland
cziegeler@apache.org
Re: [Validation] http it test failure
Posted by Carsten Ziegeler <cz...@apache.org>.
Continue talking to myself: fixed by explicitly setting the run mode to
Oak when starting launchpad.jar - no idea why this is necessary, but it
makes the tests pass on my system
Carsten
Carsten Ziegeler wrote
> Oak run mode is not set by default, I guess this is due to the executor
> starting launchpad?
>
> Carsten
>
> Carsten Ziegeler wrote
>> It seems the installation has no jackrabbit-server bundle
>>
>> Carsten
>>
>> Carsten Ziegeler wrote
>>> Hi when building latest trunk, validation http it tests are not passing
>>> (Java 7). I get the below errors, from the logs it seems the
>>> authenticator is not available, but there are no other errors in the log
>>>
>>> Anyone else experiencing this?
>>>
>>> 60047 [main] INFO
>>> org.apache.sling.validation.testservices.ValidationServiceTest - Server
>>> not ready after 60 seconds, giving up
>>> Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 60.076
>>> sec <<< FAILURE! - in
>>> org.apache.sling.validation.testservices.ValidationServiceTest
>>> testValidRequestModel1(org.apache.sling.validation.testservices.ValidationServiceTest)
>>> Time elapsed: 60.075 sec <<< FAILURE!
>>> java.lang.AssertionError: Server not ready after 60 seconds, giving up
>>> at org.junit.Assert.fail(Assert.java:91)
>>> at
>>> org.apache.sling.testing.tools.sling.SlingTestBase.waitForServerReady(SlingTestBase.java:326)
>>> at
>>> org.apache.sling.testing.tools.sling.SlingTestBase.startServerIfNeeded(SlingTestBase.java:169)
>>> at
>>> org.apache.sling.testing.tools.sling.SlingTestBase.getRequestBuilder(SlingTestBase.java:225)
>>> at
>>> org.apache.sling.validation.testservices.ValidationServiceTest.testValidRequestModel1(ValidationServiceTest.java:50)
>>>
>>> testInvalidRequestModel1(org.apache.sling.validation.testservices.ValidationServiceTest)
>>> Time elapsed: 0 sec <<< FAILURE!
>>> java.lang.AssertionError: Server is not ready according to previous tests
>>> at org.junit.Assert.fail(Assert.java:91)
>>> at
>>> org.apache.sling.testing.tools.sling.SlingTestBase.waitForServerReady(SlingTestBase.java:268)
>>> at
>>> org.apache.sling.testing.tools.sling.SlingTestBase.startServerIfNeeded(SlingTestBase.java:169)
>>> at
>>> org.apache.sling.testing.tools.sling.SlingTestBase.getRequestBuilder(SlingTestBase.java:225)
>>> at
>>> org.apache.sling.validation.testservices.ValidationServiceTest.testInvalidRequestModel1(ValidationServiceTest.java:62)
>>>
>>>
>>
>>
>>
>>
>
>
>
>
--
Carsten Ziegeler
Adobe Research Switzerland
cziegeler@apache.org
Re: [Validation] http it test failure
Posted by Carsten Ziegeler <cz...@apache.org>.
Oak run mode is not set by default, I guess this is due to the executor
starting launchpad?
Carsten
Carsten Ziegeler wrote
> It seems the installation has no jackrabbit-server bundle
>
> Carsten
>
> Carsten Ziegeler wrote
>> Hi when building latest trunk, validation http it tests are not passing
>> (Java 7). I get the below errors, from the logs it seems the
>> authenticator is not available, but there are no other errors in the log
>>
>> Anyone else experiencing this?
>>
>> 60047 [main] INFO
>> org.apache.sling.validation.testservices.ValidationServiceTest - Server
>> not ready after 60 seconds, giving up
>> Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 60.076
>> sec <<< FAILURE! - in
>> org.apache.sling.validation.testservices.ValidationServiceTest
>> testValidRequestModel1(org.apache.sling.validation.testservices.ValidationServiceTest)
>> Time elapsed: 60.075 sec <<< FAILURE!
>> java.lang.AssertionError: Server not ready after 60 seconds, giving up
>> at org.junit.Assert.fail(Assert.java:91)
>> at
>> org.apache.sling.testing.tools.sling.SlingTestBase.waitForServerReady(SlingTestBase.java:326)
>> at
>> org.apache.sling.testing.tools.sling.SlingTestBase.startServerIfNeeded(SlingTestBase.java:169)
>> at
>> org.apache.sling.testing.tools.sling.SlingTestBase.getRequestBuilder(SlingTestBase.java:225)
>> at
>> org.apache.sling.validation.testservices.ValidationServiceTest.testValidRequestModel1(ValidationServiceTest.java:50)
>>
>> testInvalidRequestModel1(org.apache.sling.validation.testservices.ValidationServiceTest)
>> Time elapsed: 0 sec <<< FAILURE!
>> java.lang.AssertionError: Server is not ready according to previous tests
>> at org.junit.Assert.fail(Assert.java:91)
>> at
>> org.apache.sling.testing.tools.sling.SlingTestBase.waitForServerReady(SlingTestBase.java:268)
>> at
>> org.apache.sling.testing.tools.sling.SlingTestBase.startServerIfNeeded(SlingTestBase.java:169)
>> at
>> org.apache.sling.testing.tools.sling.SlingTestBase.getRequestBuilder(SlingTestBase.java:225)
>> at
>> org.apache.sling.validation.testservices.ValidationServiceTest.testInvalidRequestModel1(ValidationServiceTest.java:62)
>>
>>
>
>
>
>
--
Carsten Ziegeler
Adobe Research Switzerland
cziegeler@apache.org
Re: [Validation] http it test failure
Posted by Carsten Ziegeler <cz...@apache.org>.
It seems the installation has no jackrabbit-server bundle
Carsten
Carsten Ziegeler wrote
> Hi when building latest trunk, validation http it tests are not passing
> (Java 7). I get the below errors, from the logs it seems the
> authenticator is not available, but there are no other errors in the log
>
> Anyone else experiencing this?
>
> 60047 [main] INFO
> org.apache.sling.validation.testservices.ValidationServiceTest - Server
> not ready after 60 seconds, giving up
> Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 60.076
> sec <<< FAILURE! - in
> org.apache.sling.validation.testservices.ValidationServiceTest
> testValidRequestModel1(org.apache.sling.validation.testservices.ValidationServiceTest)
> Time elapsed: 60.075 sec <<< FAILURE!
> java.lang.AssertionError: Server not ready after 60 seconds, giving up
> at org.junit.Assert.fail(Assert.java:91)
> at
> org.apache.sling.testing.tools.sling.SlingTestBase.waitForServerReady(SlingTestBase.java:326)
> at
> org.apache.sling.testing.tools.sling.SlingTestBase.startServerIfNeeded(SlingTestBase.java:169)
> at
> org.apache.sling.testing.tools.sling.SlingTestBase.getRequestBuilder(SlingTestBase.java:225)
> at
> org.apache.sling.validation.testservices.ValidationServiceTest.testValidRequestModel1(ValidationServiceTest.java:50)
>
> testInvalidRequestModel1(org.apache.sling.validation.testservices.ValidationServiceTest)
> Time elapsed: 0 sec <<< FAILURE!
> java.lang.AssertionError: Server is not ready according to previous tests
> at org.junit.Assert.fail(Assert.java:91)
> at
> org.apache.sling.testing.tools.sling.SlingTestBase.waitForServerReady(SlingTestBase.java:268)
> at
> org.apache.sling.testing.tools.sling.SlingTestBase.startServerIfNeeded(SlingTestBase.java:169)
> at
> org.apache.sling.testing.tools.sling.SlingTestBase.getRequestBuilder(SlingTestBase.java:225)
> at
> org.apache.sling.validation.testservices.ValidationServiceTest.testInvalidRequestModel1(ValidationServiceTest.java:62)
>
>
--
Carsten Ziegeler
Adobe Research Switzerland
cziegeler@apache.org