[ https://issues.apache.org/jira/browse/NIFI-9813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Doran updated NIFI-9813: ------------------------------ Resolution: Fixed Status: Resolved (was: Patch Available) > NiFi Ranger Plugin will not run on ARM > -------------------------------------- > > Key: NIFI-9813 > URL: https://issues.apache.org/jira/browse/NIFI-9813 > Project: Apache NiFi > Issue Type: Sub-task > Reporter: Kevin Doran > Assignee: Kevin Doran > Priority: Minor > Fix For: 1.17.0 > > Time Spent: 1h > Remaining Estimate: 0h > > See the following test failures for nifi-ranger-plugin on ARM > {noformat} > [INFO] -----------------< org.apache.nifi:nifi-ranger-plugin > >----------------- > [INFO] Building nifi-ranger-plugin 1.16.0-SNAPSHOT > [402/642] > [INFO] --------------------------------[ jar > ]--------------------------------- > [INFO] > [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-maven-version) @ > nifi-ranger-plugin --- > [INFO] > [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-java-version) @ > nifi-ranger-plugin --- > [INFO] > [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ nifi-ranger-plugin > --- > [INFO] > [INFO] --- maven-remote-resources-plugin:1.7.0:process > (process-resource-bundles) @ nifi-ranger-plugin --- > [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 > [INFO] Copying 3 resources from 1 bundle. > [INFO] > [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ > nifi-ranger-plugin --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Using 'UTF-8' encoding to copy filtered properties files. > [INFO] Copying 1 resource > [INFO] Copying 3 resources > [INFO] > [INFO] --- maven-compiler-plugin:3.9.0:compile (default-compile) @ > nifi-ranger-plugin --- > [INFO] Nothing to compile - all classes are up to date > [INFO] > [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) > @ nifi-ranger-plugin --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Using 'UTF-8' encoding to copy filtered properties files. > [INFO] Copying 7 resources > [INFO] Copying 3 resources > [INFO] > [INFO] --- maven-compiler-plugin:3.9.0:testCompile (default-testCompile) @ > nifi-ranger-plugin --- > [INFO] Nothing to compile - all classes are up to date > [INFO] > [INFO] --- maven-compiler-plugin:3.9.0:testCompile (groovy-tests) @ > nifi-ranger-plugin --- > [INFO] Changes detected - recompiling the module! > [INFO] Nothing to compile - all classes are up to date > [INFO] > [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ > nifi-ranger-plugin --- > [INFO] > [INFO] ------------------------------------------------------- > [INFO] T E S T S > [INFO] ------------------------------------------------------- > [INFO] Running org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer > [ERROR] Tests run: 12, Failures: 0, Errors: 11, Skipped: 1, Time elapsed: > 0.609 s <<< FAILURE! - in > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer > [ERROR] > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.testResourceNotFound > Time elapsed: 0.526 s <<< ERROR! > org.apache.nifi.authorization.exception.AuthorizerCreationException: Error > creating RangerBasePlugin > at > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93) > Caused by: java.lang.UnsatisfiedLinkError: > /Users/kdoran/Library/Caches/JNA/temp/jna6957663128700482122.tmp: > dlopen(/Users/kdoran/Library/Caches/JNA/temp/jna6957663128700482122.tmp, > 0x0001): tried: > '/Users/kdoran/Library/Caches/JNA/temp/jna6957663128700482122.tmp' (fat file, > but missing compatible architecture (have 'i386,x86_64', need 'arm64e')), > '/usr/lib/jna6957663128700482122.tmp' (no such file) > at > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93) > [ERROR] > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.testKerberosEnabledWithoutPrincipal > Time elapsed: 0.009 s <<< ERROR! > org.apache.nifi.authorization.exception.AuthorizerCreationException: Error > creating RangerBasePlugin > at > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93) > [ERROR] > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.testApprovedWithNonDirectAccess > Time elapsed: 0.007 s <<< ERROR! > org.apache.nifi.authorization.exception.AuthorizerCreationException: Error > creating RangerBasePlugin > at > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93) > [ERROR] > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.testKerberosEnabledWithoutKeytabOrPrincipal > Time elapsed: 0.006 s <<< ERROR! > org.apache.nifi.authorization.exception.AuthorizerCreationException: Error > creating RangerBasePlugin > at > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93) > [ERROR] > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.testRangerAdminDenied > Time elapsed: 0.006 s <<< ERROR! > org.apache.nifi.authorization.exception.AuthorizerCreationException: Error > creating RangerBasePlugin > at > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93) > [ERROR] > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.testKerberosEnabledWithoutKeytab > Time elapsed: 0.006 s <<< ERROR! > org.apache.nifi.authorization.exception.AuthorizerCreationException: Error > creating RangerBasePlugin > at > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93) > [ERROR] > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.testOnConfigured > Time elapsed: 0.006 s <<< ERROR! > org.apache.nifi.authorization.exception.AuthorizerCreationException: Error > creating RangerBasePlugin > at > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93) > [ERROR] > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.testRangerAdminApproved > Time elapsed: 0.006 s <<< ERROR! > org.apache.nifi.authorization.exception.AuthorizerCreationException: Error > creating RangerBasePlugin > at > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93) > [ERROR] > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.testKerberosEnabled > Time elapsed: 0.005 s <<< ERROR! > org.apache.nifi.authorization.exception.AuthorizerCreationException: Error > creating RangerBasePlugin > at > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93) > [ERROR] > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.testDenied > Time elapsed: 0.006 s <<< ERROR! > org.apache.nifi.authorization.exception.AuthorizerCreationException: Error > creating RangerBasePlugin > at > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93) > [ERROR] > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.testApprovedWithDirectAccess > Time elapsed: 0.006 s <<< ERROR! > org.apache.nifi.authorization.exception.AuthorizerCreationException: Error > creating RangerBasePlugin > at > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93) > [INFO] Running > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest > [ERROR] Tests run: 10, Failures: 0, Errors: 10, Skipped: 0, Time elapsed: > 0.085 s <<< FAILURE! - in > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest > [ERROR] > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.testConfigurableEmptyFingerPrint > Time elapsed: 0.025 s <<< ERROR! > org.apache.nifi.authorization.exception.AuthorizerCreationException: Error > creating RangerBasePlugin > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.getStandardManagedAuthorizer(ManagedRangerAuthorizerTest.java:204) > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.testConfigurableEmptyFingerPrint(ManagedRangerAuthorizerTest.java:105) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.getStandardManagedAuthorizer(ManagedRangerAuthorizerTest.java:204) > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.testConfigurableEmptyFingerPrint(ManagedRangerAuthorizerTest.java:105) > [ERROR] > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.testConfigurableFingerPrint > Time elapsed: 0.007 s <<< ERROR! > org.apache.nifi.authorization.exception.AuthorizerCreationException: Error > creating RangerBasePlugin > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.getStandardManagedAuthorizer(ManagedRangerAuthorizerTest.java:204) > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.testConfigurableFingerPrint(ManagedRangerAuthorizerTest.java:114) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.getStandardManagedAuthorizer(ManagedRangerAuthorizerTest.java:204) > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.testConfigurableFingerPrint(ManagedRangerAuthorizerTest.java:114) > [ERROR] > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.testCheckInheritInvalidFingerprint > Time elapsed: 0.006 s <<< ERROR! > org.apache.nifi.authorization.exception.AuthorizerCreationException: Error > creating RangerBasePlugin > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.getStandardManagedAuthorizer(ManagedRangerAuthorizerTest.java:204) > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.testCheckInheritInvalidFingerprint(ManagedRangerAuthorizerTest.java:160) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.getStandardManagedAuthorizer(ManagedRangerAuthorizerTest.java:204) > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.testCheckInheritInvalidFingerprint(ManagedRangerAuthorizerTest.java:160) > [ERROR] > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.testCheckInheritNonConfigurableUserGroupProvider > Time elapsed: 0.011 s <<< ERROR! > org.apache.nifi.authorization.exception.AuthorizerCreationException: Error > creating RangerBasePlugin > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.getStandardManagedAuthorizer(ManagedRangerAuthorizerTest.java:204) > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.testCheckInheritNonConfigurableUserGroupProvider(ManagedRangerAuthorizerTest.java:178) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.getStandardManagedAuthorizer(ManagedRangerAuthorizerTest.java:204) > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.testCheckInheritNonConfigurableUserGroupProvider(ManagedRangerAuthorizerTest.java:178) > [ERROR] > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.testInheritNonEmptyFingerprint > Time elapsed: 0.006 s <<< ERROR! > org.apache.nifi.authorization.exception.AuthorizerCreationException: Error > creating RangerBasePlugin > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.getStandardManagedAuthorizer(ManagedRangerAuthorizerTest.java:204) > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.testInheritNonEmptyFingerprint(ManagedRangerAuthorizerTest.java:140) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.getStandardManagedAuthorizer(ManagedRangerAuthorizerTest.java:204) > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.testInheritNonEmptyFingerprint(ManagedRangerAuthorizerTest.java:140) > [ERROR] > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.testInheritEmptyFingerprint > Time elapsed: 0.005 s <<< ERROR! > org.apache.nifi.authorization.exception.AuthorizerCreationException: Error > creating RangerBasePlugin > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.getStandardManagedAuthorizer(ManagedRangerAuthorizerTest.java:204) > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.testInheritEmptyFingerprint(ManagedRangerAuthorizerTest.java:122) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.getStandardManagedAuthorizer(ManagedRangerAuthorizerTest.java:204) > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.testInheritEmptyFingerprint(ManagedRangerAuthorizerTest.java:122) > [ERROR] > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.testInheritInvalidFingerprint > Time elapsed: 0.005 s <<< ERROR! > org.apache.nifi.authorization.exception.AuthorizerCreationException: Error > creating RangerBasePlugin > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.getStandardManagedAuthorizer(ManagedRangerAuthorizerTest.java:204) > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.testInheritInvalidFingerprint(ManagedRangerAuthorizerTest.java:132) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.getStandardManagedAuthorizer(ManagedRangerAuthorizerTest.java:204) > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.testInheritInvalidFingerprint(ManagedRangerAuthorizerTest.java:132) > [ERROR] > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.testCheckInheritNonEmptyFingerprint > Time elapsed: 0.006 s <<< ERROR! > org.apache.nifi.authorization.exception.AuthorizerCreationException: Error > creating RangerBasePlugin > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.getStandardManagedAuthorizer(ManagedRangerAuthorizerTest.java:204) > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.testCheckInheritNonEmptyFingerprint(ManagedRangerAuthorizerTest.java:168) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.getStandardManagedAuthorizer(ManagedRangerAuthorizerTest.java:204) > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.testCheckInheritNonEmptyFingerprint(ManagedRangerAuthorizerTest.java:168) > [ERROR] > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.testCheckInheritEmptyFingerprint > Time elapsed: 0.005 s <<< ERROR! > org.apache.nifi.authorization.exception.AuthorizerCreationException: Error > creating RangerBasePlugin > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.getStandardManagedAuthorizer(ManagedRangerAuthorizerTest.java:204) > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.testCheckInheritEmptyFingerprint(ManagedRangerAuthorizerTest.java:150) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.getStandardManagedAuthorizer(ManagedRangerAuthorizerTest.java:204) > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.testCheckInheritEmptyFingerprint(ManagedRangerAuthorizerTest.java:150) > [ERROR] > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.testNonConfigurableFingerPrint > Time elapsed: 0.005 s <<< ERROR! > org.apache.nifi.authorization.exception.AuthorizerCreationException: Error > creating RangerBasePlugin > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.getStandardManagedAuthorizer(ManagedRangerAuthorizerTest.java:204) > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.testNonConfigurableFingerPrint(ManagedRangerAuthorizerTest.java:96) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.getStandardManagedAuthorizer(ManagedRangerAuthorizerTest.java:204) > at > org.apache.nifi.ranger.authorization.ManagedRangerAuthorizerTest.testNonConfigurableFingerPrint(ManagedRangerAuthorizerTest.java:96) > [INFO] Running > org.apache.nifi.ranger.authorization.TestRangerBasePluginWithPolicies > [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.034 > s - in org.apache.nifi.ranger.authorization.TestRangerBasePluginWithPolicies > [INFO] > [INFO] Results: > [INFO] > [ERROR] Errors: > [ERROR] > ManagedRangerAuthorizerTest.testCheckInheritEmptyFingerprint:150->getStandardManagedAuthorizer:204 > » AuthorizerCreation > [ERROR] > ManagedRangerAuthorizerTest.testCheckInheritInvalidFingerprint:160->getStandardManagedAuthorizer:204 > » AuthorizerCreation > [ERROR] > ManagedRangerAuthorizerTest.testCheckInheritNonConfigurableUserGroupProvider:178->getStandardManagedAuthorizer:204 > » AuthorizerCreation > [ERROR] > ManagedRangerAuthorizerTest.testCheckInheritNonEmptyFingerprint:168->getStandardManagedAuthorizer:204 > » AuthorizerCreation > [ERROR] > ManagedRangerAuthorizerTest.testConfigurableEmptyFingerPrint:105->getStandardManagedAuthorizer:204 > » AuthorizerCreation > [ERROR] > ManagedRangerAuthorizerTest.testConfigurableFingerPrint:114->getStandardManagedAuthorizer:204 > » AuthorizerCreation > [ERROR] > ManagedRangerAuthorizerTest.testInheritEmptyFingerprint:122->getStandardManagedAuthorizer:204 > » AuthorizerCreation > [ERROR] > ManagedRangerAuthorizerTest.testInheritInvalidFingerprint:132->getStandardManagedAuthorizer:204 > » AuthorizerCreation > [ERROR] > ManagedRangerAuthorizerTest.testInheritNonEmptyFingerprint:140->getStandardManagedAuthorizer:204 > » AuthorizerCreation > [ERROR] > ManagedRangerAuthorizerTest.testNonConfigurableFingerPrint:96->getStandardManagedAuthorizer:204 > » AuthorizerCreation > [ERROR] TestRangerNiFiAuthorizer.setup:93 » AuthorizerCreation Error > creating RangerBa... > [ERROR] TestRangerNiFiAuthorizer.setup:93 » AuthorizerCreation Error > creating RangerBa... > [ERROR] TestRangerNiFiAuthorizer.setup:93 » AuthorizerCreation Error > creating RangerBa... > [ERROR] TestRangerNiFiAuthorizer.setup:93 » AuthorizerCreation Error > creating RangerBa... > [ERROR] TestRangerNiFiAuthorizer.setup:93 » AuthorizerCreation Error > creating RangerBa... > [ERROR] TestRangerNiFiAuthorizer.setup:93 » AuthorizerCreation Error > creating RangerBa... > [ERROR] TestRangerNiFiAuthorizer.setup:93 » AuthorizerCreation Error > creating RangerBa... > [ERROR] TestRangerNiFiAuthorizer.setup:93 » AuthorizerCreation Error > creating RangerBa... > [ERROR] TestRangerNiFiAuthorizer.setup:93 » AuthorizerCreation Error > creating RangerBa... > [ERROR] TestRangerNiFiAuthorizer.setup:93 » AuthorizerCreation Error > creating RangerBa... > [ERROR] TestRangerNiFiAuthorizer.setup:93 » AuthorizerCreation Error > creating RangerBa... > [INFO] > [ERROR] Tests run: 31, Failures: 0, Errors: 21, Skipped: 1 > {noformat} > Note, this affects the NiFi Registry Ranger Plugin as well: > {noformat} > [INFO] --------< org.apache.nifi.registry:nifi-registry-ranger-plugin > >-------- > [INFO] Building nifi-registry-ranger-plugin 1.16.0-SNAPSHOT > [621/642] > [INFO] --------------------------------[ jar > ]--------------------------------- > [INFO] > [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-maven-version) @ > nifi-registry-ranger-plugin --- > [INFO] > [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-java-version) @ > nifi-registry-ranger-plugin --- > [INFO] > [INFO] --- maven-remote-resources-plugin:1.7.0:process > (process-resource-bundles) @ nifi-registry-ranger-plugin --- > [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 > [INFO] Copying 3 resources from 1 bundle. > [INFO] > [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ > nifi-registry-ranger-plugin --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 1 resource > [INFO] Copying 3 resources > [INFO] > [INFO] --- maven-compiler-plugin:3.9.0:compile (default-compile) @ > nifi-registry-ranger-plugin --- > [INFO] Nothing to compile - all classes are up to date > [INFO] > [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ > nifi-registry-ranger-plugin --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 5 resources > [INFO] Copying 3 resources > [INFO] > [INFO] --- maven-compiler-plugin:3.9.0:testCompile (default-testCompile) @ > nifi-registry-ranger-plugin --- > [INFO] Nothing to compile - all classes are up to date > [INFO] > [INFO] --- maven-compiler-plugin:3.9.0:testCompile (groovy-tests) @ > nifi-registry-ranger-plugin --- > [INFO] Changes detected - recompiling the module! > [INFO] Nothing to compile - all classes are up to date > [INFO] > [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ > nifi-registry-ranger-plugin --- > [INFO] > [INFO] ------------------------------------------------------- > [INFO] T E S T S > [INFO] ------------------------------------------------------- > [INFO] Running org.apache.nifi.registry.ranger.TestRangerAuthorizer > [ERROR] Tests run: 22, Failures: 0, Errors: 17, Skipped: 1, Time elapsed: > 0.59 s <<< FAILURE! - in org.apache.nifi.registry.ranger.TestRangerAuthorizer > [ERROR] > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testConfigurableEmptyFingerPrint > Time elapsed: 0.469 s <<< ERROR! > org.apache.nifi.registry.security.exception.SecurityProviderCreationException: > Error creating RangerBasePlugin > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testConfigurableEmptyFingerPrint(TestRangerAuthorizer.java:629) > Caused by: java.lang.UnsatisfiedLinkError: > /Users/kdoran/Library/Caches/JNA/temp/jna6831373730821430902.tmp: > dlopen(/Users/kdoran/Library/Caches/JNA/temp/jna6831373730821430902.tmp, > 0x0001): tried: > '/Users/kdoran/Library/Caches/JNA/temp/jna6831373730821430902.tmp' (fat file, > but missing compatible architecture (have 'i386,x86_64', need 'arm64e')), > '/usr/lib/jna6831373730821430902.tmp' (no such file) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testConfigurableEmptyFingerPrint(TestRangerAuthorizer.java:629) > [ERROR] > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testResourceNotFound > Time elapsed: 0.009 s <<< ERROR! > org.apache.nifi.registry.security.exception.SecurityProviderCreationException: > Error creating RangerBasePlugin > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testResourceNotFound(TestRangerAuthorizer.java:359) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testResourceNotFound(TestRangerAuthorizer.java:359) > [ERROR] > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testConfigurableFingerPrint > Time elapsed: 0.005 s <<< ERROR! > org.apache.nifi.registry.security.exception.SecurityProviderCreationException: > Error creating RangerBasePlugin > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testConfigurableFingerPrint(TestRangerAuthorizer.java:640) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testConfigurableFingerPrint(TestRangerAuthorizer.java:640) > [ERROR] > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testCheckInheritInvalidFingerprint > Time elapsed: 0.005 s <<< ERROR! > java.lang.Exception: Unexpected exception, > expected<org.apache.nifi.registry.security.authorization.exception.AuthorizationAccessException> > but > was<org.apache.nifi.registry.security.exception.SecurityProviderCreationException> > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testCheckInheritInvalidFingerprint(TestRangerAuthorizer.java:696) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testCheckInheritInvalidFingerprint(TestRangerAuthorizer.java:696) > [ERROR] > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testCheckInheritNonConfigurableUserGroupProvider > Time elapsed: 0.004 s <<< ERROR! > java.lang.Exception: Unexpected exception, > expected<org.apache.nifi.registry.security.authorization.exception.UninheritableAuthorizationsException> > but > was<org.apache.nifi.registry.security.exception.SecurityProviderCreationException> > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testCheckInheritNonConfigurableUserGroupProvider(TestRangerAuthorizer.java:718) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testCheckInheritNonConfigurableUserGroupProvider(TestRangerAuthorizer.java:718) > [ERROR] > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testApprovedWithNonDirectAccess > Time elapsed: 0.004 s <<< ERROR! > org.apache.nifi.registry.security.exception.SecurityProviderCreationException: > Error creating RangerBasePlugin > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testApprovedWithNonDirectAccess(TestRangerAuthorizer.java:321) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testApprovedWithNonDirectAccess(TestRangerAuthorizer.java:321) > [ERROR] > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testInheritNonEmptyFingerprint > Time elapsed: 0.004 s <<< ERROR! > org.apache.nifi.registry.security.exception.SecurityProviderCreationException: > Error creating RangerBasePlugin > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testInheritNonEmptyFingerprint(TestRangerAuthorizer.java:672) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testInheritNonEmptyFingerprint(TestRangerAuthorizer.java:672) > [ERROR] > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testRangerAdminDenied > Time elapsed: 0.004 s <<< ERROR! > org.apache.nifi.registry.security.exception.SecurityProviderCreationException: > Error creating RangerBasePlugin > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.runRangerAdminTest(TestRangerAuthorizer.java:456) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testRangerAdminDenied(TestRangerAuthorizer.java:446) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.runRangerAdminTest(TestRangerAuthorizer.java:456) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testRangerAdminDenied(TestRangerAuthorizer.java:446) > [ERROR] > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testInheritEmptyFingerprint > Time elapsed: 0.004 s <<< ERROR! > org.apache.nifi.registry.security.exception.SecurityProviderCreationException: > Error creating RangerBasePlugin > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testInheritEmptyFingerprint(TestRangerAuthorizer.java:650) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testInheritEmptyFingerprint(TestRangerAuthorizer.java:650) > [ERROR] org.apache.nifi.registry.ranger.TestRangerAuthorizer.testOnConfigured > Time elapsed: 0.004 s <<< ERROR! > org.apache.nifi.registry.security.exception.SecurityProviderCreationException: > Error creating RangerBasePlugin > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testOnConfigured(TestRangerAuthorizer.java:165) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testOnConfigured(TestRangerAuthorizer.java:165) > [ERROR] > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testInheritInvalidFingerprint > Time elapsed: 0.003 s <<< ERROR! > java.lang.Exception: Unexpected exception, > expected<org.apache.nifi.registry.security.authorization.exception.AuthorizationAccessException> > but > was<org.apache.nifi.registry.security.exception.SecurityProviderCreationException> > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testInheritInvalidFingerprint(TestRangerAuthorizer.java:662) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testInheritInvalidFingerprint(TestRangerAuthorizer.java:662) > [ERROR] > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testRangerAdminApproved > Time elapsed: 0.004 s <<< ERROR! > org.apache.nifi.registry.security.exception.SecurityProviderCreationException: > Error creating RangerBasePlugin > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.runRangerAdminTest(TestRangerAuthorizer.java:456) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testRangerAdminApproved(TestRangerAuthorizer.java:441) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.runRangerAdminTest(TestRangerAuthorizer.java:456) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testRangerAdminApproved(TestRangerAuthorizer.java:441) > [ERROR] org.apache.nifi.registry.ranger.TestRangerAuthorizer.testDenied Time > elapsed: 0.003 s <<< ERROR! > org.apache.nifi.registry.security.exception.SecurityProviderCreationException: > Error creating RangerBasePlugin > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testDenied(TestRangerAuthorizer.java:401) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testDenied(TestRangerAuthorizer.java:401) > [ERROR] > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testCheckInheritNonEmptyFingerprint > Time elapsed: 0.004 s <<< ERROR! > org.apache.nifi.registry.security.exception.SecurityProviderCreationException: > Error creating RangerBasePlugin > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testCheckInheritNonEmptyFingerprint(TestRangerAuthorizer.java:706) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testCheckInheritNonEmptyFingerprint(TestRangerAuthorizer.java:706) > [ERROR] > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testCheckInheritEmptyFingerprint > Time elapsed: 0.003 s <<< ERROR! > org.apache.nifi.registry.security.exception.SecurityProviderCreationException: > Error creating RangerBasePlugin > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testCheckInheritEmptyFingerprint(TestRangerAuthorizer.java:684) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testCheckInheritEmptyFingerprint(TestRangerAuthorizer.java:684) > [ERROR] > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testNonConfigurableFingerPrint > Time elapsed: 0.004 s <<< ERROR! > org.apache.nifi.registry.security.exception.SecurityProviderCreationException: > Error creating RangerBasePlugin > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testNonConfigurableFingerPrint(TestRangerAuthorizer.java:618) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testNonConfigurableFingerPrint(TestRangerAuthorizer.java:618) > [ERROR] > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testApprovedWithDirectAccess > Time elapsed: 0.003 s <<< ERROR! > org.apache.nifi.registry.security.exception.SecurityProviderCreationException: > Error creating RangerBasePlugin > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testApprovedWithDirectAccess(TestRangerAuthorizer.java:277) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.apache.ranger.plugin.util.RangerRESTUtils > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.setup(TestRangerAuthorizer.java:131) > at > org.apache.nifi.registry.ranger.TestRangerAuthorizer.testApprovedWithDirectAccess(TestRangerAuthorizer.java:277) > [INFO] Running > org.apache.nifi.registry.ranger.TestRangerBasePluginWithPolicies > [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 > s - in org.apache.nifi.registry.ranger.TestRangerBasePluginWithPolicies > [INFO] > [INFO] Results: > [INFO] > [ERROR] Errors: > [ERROR] TestRangerAuthorizer.testApprovedWithDirectAccess:277->setup:131 » > SecurityProviderCreation > [ERROR] TestRangerAuthorizer.testApprovedWithNonDirectAccess:321->setup:131 > » SecurityProviderCreation > [ERROR] > TestRangerAuthorizer.testCheckInheritEmptyFingerprint:684->setup:131 » > SecurityProviderCreation > [ERROR] TestRangerAuthorizer.testCheckInheritInvalidFingerprint » > Unexpected exceptio... > [ERROR] > TestRangerAuthorizer.testCheckInheritNonConfigurableUserGroupProvider » > Unexp... > [ERROR] > TestRangerAuthorizer.testCheckInheritNonEmptyFingerprint:706->setup:131 » > SecurityProviderCreation > [ERROR] > TestRangerAuthorizer.testConfigurableEmptyFingerPrint:629->setup:131 » > SecurityProviderCreation > [ERROR] TestRangerAuthorizer.testConfigurableFingerPrint:640->setup:131 » > SecurityProviderCreation > [ERROR] TestRangerAuthorizer.testDenied:401->setup:131 » > SecurityProviderCreation Erro... > [ERROR] TestRangerAuthorizer.testInheritEmptyFingerprint:650->setup:131 » > SecurityProviderCreation > [ERROR] TestRangerAuthorizer.testInheritInvalidFingerprint » Unexpected > exception, ex... > [ERROR] TestRangerAuthorizer.testInheritNonEmptyFingerprint:672->setup:131 > » SecurityProviderCreation > [ERROR] TestRangerAuthorizer.testNonConfigurableFingerPrint:618->setup:131 > » SecurityProviderCreation > [ERROR] TestRangerAuthorizer.testOnConfigured:165->setup:131 » > SecurityProviderCreation > [ERROR] > TestRangerAuthorizer.testRangerAdminApproved:441->runRangerAdminTest:456->setup:131 > » SecurityProviderCreation > [ERROR] > TestRangerAuthorizer.testRangerAdminDenied:446->runRangerAdminTest:456->setup:131 > » SecurityProviderCreation > [ERROR] TestRangerAuthorizer.testResourceNotFound:359->setup:131 » > SecurityProviderCreation > [INFO] > [ERROR] Tests run: 31, Failures: 0, Errors: 17, Skipped: 1 > [INFO] > [INFO] > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)