sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bertrand Delacretaz (Jira)" <j...@apache.org>
Subject [jira] [Commented] (SLING-8740) The repoinit IT is flaky
Date Fri, 01 Nov 2019 12:01:00 GMT

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

Bertrand Delacretaz commented on SLING-8740:
--------------------------------------------

Another unit test failure, among many builds. I'll list those here for now, at this point
I have no idea what could cause this. Maybe some things happen asynchronously and the unit
tests don't take that into account.

Note that the other failing unit test, mentioned above, is also about glob restrictions.

{code}
org.apache.sling.jcr.repoinit.GeneralAclTest.globRestrictionTest
...
java.lang.AssertionError: Error adding test_aaf54842-1227-45c0-b4a3-611a84abc699 to Node[NodeDelegate{tree=/testxyz_aaf54842-1227-45c0-b4a3-611a84abc699:
{ jcr:primaryType = nt:unstructured}}]OakAccess0000: Access denied
	at org.apache.sling.jcr.repoinit.GeneralAclTest.verifyAddChildNode(GeneralAclTest.java:319)
	at org.apache.sling.jcr.repoinit.GeneralAclTest.globRestrictionTest(GeneralAclTest.java:609)
{code}

> The repoinit IT is flaky
> ------------------------
>
>                 Key: SLING-8740
>                 URL: https://issues.apache.org/jira/browse/SLING-8740
>             Project: Sling
>          Issue Type: Bug
>          Components: Repoinit
>    Affects Versions: Repoinit JCR 1.1.14
>            Reporter: Radu Cotescu
>            Assignee: Bertrand Delacretaz
>            Priority: Major
>             Fix For: Repoinit JCR 1.1.16
>
>
> The repoinit IT are flaky, consistently failing on Jenkins [0][1][2][3][4] but only occasionally
on my machine:
> {noformat}
> Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 45.993 sec <<<
FAILURE! - in org.apache.sling.jcr.repoinit.it.ProvisioningModelIT
> namespaceAndCndRegistered(org.apache.sling.jcr.repoinit.it.ProvisioningModelIT)  Time
elapsed: 14.793 sec  <<< ERROR!
> java.lang.IllegalStateException: unable to get a service reference, class=org.apache.sling.jcr.api.SlingRepository,
filter='null'
> 	at org.apache.sling.junit.rules.ServerSideTeleporter.getService(ServerSideTeleporter.java:83)
> 	at org.apache.sling.junit.rules.TeleporterRule.getService(TeleporterRule.java:136)
> 	at org.apache.sling.jcr.repoinit.it.ProvisioningModelIT.setup(ProvisioningModelIT.java:48)
> userDisabled(org.apache.sling.jcr.repoinit.it.ProvisioningModelIT)  Time elapsed: 10.826
sec  <<< ERROR!
> java.lang.IllegalStateException: unable to get a service reference, class=org.apache.sling.jcr.api.SlingRepository,
filter='null'
> 	at org.apache.sling.junit.rules.ServerSideTeleporter.getService(ServerSideTeleporter.java:83)
> 	at org.apache.sling.junit.rules.TeleporterRule.getService(TeleporterRule.java:136)
> 	at org.apache.sling.jcr.repoinit.it.ProvisioningModelIT.setup(ProvisioningModelIT.java:48)
> usersCreated(org.apache.sling.jcr.repoinit.it.ProvisioningModelIT)  Time elapsed: 10.156
sec  <<< ERROR!
> java.lang.IllegalStateException: unable to get a service reference, class=org.apache.sling.jcr.api.SlingRepository,
filter='null'
> 	at org.apache.sling.junit.rules.ServerSideTeleporter.getService(ServerSideTeleporter.java:83)
> 	at org.apache.sling.junit.rules.TeleporterRule.getService(TeleporterRule.java:136)
> 	at org.apache.sling.jcr.repoinit.it.ProvisioningModelIT.setup(ProvisioningModelIT.java:48)
> userAclSet(org.apache.sling.jcr.repoinit.it.ProvisioningModelIT)  Time elapsed: 10.166
sec  <<< ERROR!
> java.lang.IllegalStateException: unable to get a service reference, class=org.apache.sling.jcr.api.SlingRepository,
filter='null'
> 	at org.apache.sling.junit.rules.ServerSideTeleporter.getService(ServerSideTeleporter.java:83)
> 	at org.apache.sling.junit.rules.TeleporterRule.getService(TeleporterRule.java:136)
> 	at org.apache.sling.jcr.repoinit.it.ProvisioningModelIT.setup(ProvisioningModelIT.java:48)
> Running org.apache.sling.jcr.repoinit.it.RepoInitTextIT
> Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 30.593 sec <<<
FAILURE! - in org.apache.sling.jcr.repoinit.it.RepoInitTextIT
> anotherUserAcl(org.apache.sling.jcr.repoinit.it.RepoInitTextIT)  Time elapsed: 10.198
sec  <<< ERROR!
> java.lang.IllegalStateException: unable to get a service reference, class=org.apache.sling.jcr.api.SlingRepository,
filter='null'
> 	at org.apache.sling.junit.rules.ServerSideTeleporter.getService(ServerSideTeleporter.java:83)
> 	at org.apache.sling.junit.rules.TeleporterRule.getService(TeleporterRule.java:136)
> 	at org.apache.sling.jcr.repoinit.it.RepoInitTextIT.setup(RepoInitTextIT.java:55)
> fredWilmaAcl(org.apache.sling.jcr.repoinit.it.RepoInitTextIT)  Time elapsed: 10.212 sec
 <<< ERROR!
> java.lang.IllegalStateException: unable to get a service reference, class=org.apache.sling.jcr.api.SlingRepository,
filter='null'
> 	at org.apache.sling.junit.rules.ServerSideTeleporter.getService(ServerSideTeleporter.java:83)
> 	at org.apache.sling.junit.rules.TeleporterRule.getService(TeleporterRule.java:136)
> 	at org.apache.sling.jcr.repoinit.it.RepoInitTextIT.setup(RepoInitTextIT.java:55)
> serviceUserCreated(org.apache.sling.jcr.repoinit.it.RepoInitTextIT)  Time elapsed: 10.182
sec  <<< ERROR!
> java.lang.IllegalStateException: unable to get a service reference, class=org.apache.sling.jcr.api.SlingRepository,
filter='null'
> 	at org.apache.sling.junit.rules.ServerSideTeleporter.getService(ServerSideTeleporter.java:83)
> 	at org.apache.sling.junit.rules.TeleporterRule.getService(TeleporterRule.java:136)
> 	at org.apache.sling.jcr.repoinit.it.RepoInitTextIT.setup(RepoInitTextIT.java:55)
> Results :
> Tests in error: 
>   ProvisioningModelIT.setup:48 » IllegalState unable to get a service reference,...
>   ProvisioningModelIT.setup:48 » IllegalState unable to get a service reference,...
>   ProvisioningModelIT.setup:48 » IllegalState unable to get a service reference,...
>   ProvisioningModelIT.setup:48 » IllegalState unable to get a service reference,...
>   RepoInitTextIT.setup:55 » IllegalState unable to get a service reference, clas...
>   RepoInitTextIT.setup:55 » IllegalState unable to get a service reference, clas...
>   RepoInitTextIT.setup:55 » IllegalState unable to get a service reference, clas...
> Tests run: 7, Failures: 0, Errors: 7, Skipped: 0
> {noformat}
> [0] - https://builds.apache.org/job/Sling/job/sling-org-apache-sling-jcr-repoinit/job/master/67/
> [1] - https://builds.apache.org/job/Sling/job/sling-org-apache-sling-jcr-repoinit/job/master/68/
> [2] - https://builds.apache.org/job/Sling/job/sling-org-apache-sling-jcr-repoinit/job/master/69/
> [3] - https://builds.apache.org/job/Sling/job/sling-org-apache-sling-jcr-repoinit/job/master/74/
> [4] - https://builds.apache.org/job/Sling/job/sling-org-apache-sling-jcr-repoinit/job/master/75/




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message