sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Munteanu (Jira)" <j...@apache.org>
Subject [jira] [Created] (SLING-8924) Some tests fail on Java 11
Date Tue, 17 Dec 2019 08:29:00 GMT
Robert Munteanu created SLING-8924:
--------------------------------------

             Summary: Some tests fail on Java 11
                 Key: SLING-8924
                 URL: https://issues.apache.org/jira/browse/SLING-8924
             Project: Sling
          Issue Type: Bug
          Components: Content-Package to Feature Model Converter
            Reporter: Robert Munteanu
             Fix For: Content-Package to Feature Model Converter 1.0.4


Running {{mvn clean install}} with

{noformat}Apache Maven 3.6.2 (SUSE 3.6.2-1.1)
Maven home: /usr/share/maven
Java version: 11.0.5, vendor: Oracle Corporation, runtime: /usr/lib64/jvm/java-11-openjdk-11
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.3.12-1-default", arch: "amd64", family: "unix"{noformat}

results in the following failures/errors:

{noformat}[ERROR] Failures: 
[ERROR]   RepPolicyEntryHandlerTest.notDeclaredSystemUsersWillNotHaveAclSettings:179 expected:<...maryType="rep:ACL">
[<allow0 jcr:primaryType="rep:GrantACE" rep:principalName="acs-commons-ensure-oak-index-service"
rep:privileges="{Name}[jcr:read,rep:write,rep:indexDefinitionManagement]">
<rep:restrictions jcr:primaryType="rep:Restrictions" rep:glob="{Name}[*/oak:index/*]"/>
</allow0>
]<allow1 jcr:primaryT...> but was:<...maryType="rep:ACL">
[    <allow0 jcr:primaryType="rep:GrantACE" rep:principalName="acs-commons-ensure-oak-index-service"
rep:privileges="{Name}[jcr:read,rep:write,rep:indexDefinitionManagement]">
        <rep:restrictions jcr:primaryType="rep:Restrictions" rep:glob="{Name}[*/oak:index/*]"/>
    </allow0>
    ]<allow1 jcr:primaryT...>
[ERROR]   RepPolicyEntryHandlerTest.systemUserAclSetNotForUserPath:214 expected:<...maryType="rep:ACL">
[<allow0 jcr:primaryType="rep:GrantACE" rep:principalName="acs-commons-ensure-oak-index-service"
rep:privileges="{Name}[jcr:read,rep:write,rep:indexDefinitionManagement]">
<rep:restrictions jcr:primaryType="rep:Restrictions" rep:glob="{Name}[*/oak:index/*]"/>
</allow0>
<allow1 jcr:primaryType="rep:GrantACE" rep:principalName="acs-commons-dispatcher-flush-service"
rep:privileges="{Name}[jcr:read,crx:replicate,jcr:removeNode]"/>
<allow3 jcr:primaryType="rep:GrantACE" rep:principalName="acs-commons-ensure-service-user-service"
rep:privileges="{Name}[jcr:read,rep:write,jcr:readAccessControl,jcr:modifyAccessControl]"/>
<allow4 jcr:primaryType="rep:GrantACE" rep:principalName="acs-commons-automatic-package-replicator-service"
rep:privileges="{Name}[jcr:read]"/>
]<allow5 jcr:primaryT...> but was:<...maryType="rep:ACL">
[    <allow0 jcr:primaryType="rep:GrantACE" rep:principalName="acs-commons-ensure-oak-index-service"
rep:privileges="{Name}[jcr:read,rep:write,rep:indexDefinitionManagement]">
        <rep:restrictions jcr:primaryType="rep:Restrictions" rep:glob="{Name}[*/oak:index/*]"/>
    </allow0>
    <allow1 jcr:primaryType="rep:GrantACE" rep:principalName="acs-commons-dispatcher-flush-service"
rep:privileges="{Name}[jcr:read,crx:replicate,jcr:removeNode]"/>
    <allow3 jcr:primaryType="rep:GrantACE" rep:principalName="acs-commons-ensure-service-user-service"
rep:privileges="{Name}[jcr:read,rep:write,jcr:readAccessControl,jcr:modifyAccessControl]"/>
    <allow4 jcr:primaryType="rep:GrantACE" rep:principalName="acs-commons-automatic-package-replicator-service"
rep:privileges="{Name}[jcr:read]"/>
    ]<allow5 jcr:primaryT...>
[ERROR] Errors: 
[ERROR]   RepPolicyEntryHandlerTest.parseAcl:88->parseAndSetRepoinit:231->parseAndSetRepoinit:258
ยป IndexOutOfBounds
[INFO] 
[ERROR] Tests run: 131, Failures: 2, Errors: 1, Skipped: 0
{noformat}



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

Mime
View raw message