[ 
https://issues.apache.org/jira/browse/NIFI-6557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joseph Witt updated NIFI-6557:
------------------------------
    Fix Version/s:     (was: 1.10.0)

> Build on master fails for Java 11 builds due RocksDB JNI Issues
> ---------------------------------------------------------------
>
>                 Key: NIFI-6557
>                 URL: https://issues.apache.org/jira/browse/NIFI-6557
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Joseph Witt
>            Priority: Minor
>              Labels: Java11
>
> [~jtstorck] recently got the Java 11 build for NiFi working and it was merged.
> [~devriesb] recently got the RocksDB flowfile impl commited.  However, it 
> doesn't appear to work on Java 11 builds.
> This needs to be resolved as we need Java 11 builds to work going forward.
> Can you two please coordinate and resolve.
> [ERROR] Tests run: 10, Failures: 0, Errors: 9, Skipped: 0, Time elapsed: 
> 1.004 s <<< FAILURE! - in org.apache.nifi.rocksdb.TestRocksDBMetronome
> [ERROR] testColumnFamilies(org.apache.nifi.rocksdb.TestRocksDBMetronome)  
> Time elapsed: 0.54 s  <<< ERROR!
> java.lang.UnsatisfiedLinkError: 
> /private/var/folders/16/93g5x2rn1bz04szc2t62xcrm0000gp/T/librocksdbjni6839704530639209130.jnilib:
>  
> dlopen(/private/var/folders/16/93g5x2rn1bz04szc2t62xcrm0000gp/T/librocksdbjni6839704530639209130.jnilib,
>  1): no suitable image found.  Did find:
>       
> /private/var/folders/16/93g5x2rn1bz04szc2t62xcrm0000gp/T/librocksdbjni6839704530639209130.jnilib:
>  code signature in 
> (/private/var/folders/16/93g5x2rn1bz04szc2t62xcrm0000gp/T/librocksdbjni6839704530639209130.jnilib)
>  not valid for use in process using Library Validation: mapped file has no 
> cdhash, completely unsigned? Code has to be at least ad-hoc signed.
>       
> /private/var/folders/16/93g5x2rn1bz04szc2t62xcrm0000gp/T/librocksdbjni6839704530639209130.jnilib:
>  stat() failed with errno=38
>       at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testColumnFamilies(TestRocksDBMetronome.java:163)
> [ERROR] testWaitForSync(org.apache.nifi.rocksdb.TestRocksDBMetronome)  Time 
> elapsed: 0.004 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class org.rocksdb.RocksDB
>       at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testWaitForSync(TestRocksDBMetronome.java:260)
> [ERROR] 
> testWaitForSyncWithValue(org.apache.nifi.rocksdb.TestRocksDBMetronome)  Time 
> elapsed: 0.003 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class org.rocksdb.RocksDB
>       at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testWaitForSyncWithValue(TestRocksDBMetronome.java:291)
> [ERROR] testCounterIncrement(org.apache.nifi.rocksdb.TestRocksDBMetronome)  
> Time elapsed: 0.002 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class org.rocksdb.RocksDB
>       at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testCounterIncrement(TestRocksDBMetronome.java:241)
> [ERROR] testPutGetDelete(org.apache.nifi.rocksdb.TestRocksDBMetronome)  Time 
> elapsed: 0.002 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class org.rocksdb.RocksDB
>       at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testPutGetDelete(TestRocksDBMetronome.java:98)
> [ERROR] testPutClosed(org.apache.nifi.rocksdb.TestRocksDBMetronome)  Time 
> elapsed: 0.002 s  <<< ERROR!
> java.lang.Exception: Unexpected exception, 
> expected<java.lang.IllegalStateException> but 
> was<java.lang.NoClassDefFoundError>
>       at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testPutClosed(TestRocksDBMetronome.java:148)
> [ERROR] testPutGetConfiguration(org.apache.nifi.rocksdb.TestRocksDBMetronome) 
>  Time elapsed: 0.002 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class org.rocksdb.RocksDB
>       at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testPutGetConfiguration(TestRocksDBMetronome.java:122)
> [ERROR] testPutBeforeInit(org.apache.nifi.rocksdb.TestRocksDBMetronome)  Time 
> elapsed: 0.04 s  <<< ERROR!
> java.lang.Exception: Unexpected exception, 
> expected<java.lang.IllegalStateException> but 
> was<java.lang.NoClassDefFoundError>
>       at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testPutBeforeInit(TestRocksDBMetronome.java:138)
> [ERROR] testIterator(org.apache.nifi.rocksdb.TestRocksDBMetronome)  Time 
> elapsed: 0.003 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class org.rocksdb.RocksDB
>       at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testIterator(TestRocksDBMetronome.java:214)
> [INFO] 
> [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ 
> nifi-druid-controller-service-api ---
> [INFO] Deleting 
> /Users/jwitt/development/nifi.git/nifi-nar-bundles/nifi-druid-bundle/nifi-druid-controller-service-api/target
> [INFO] 
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ 
> nifi-druid-controller-service-api ---
> [INFO] 
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ 
> nifi-druid-controller-service-api ---
> [INFO] 
> [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ 
> nifi-druid-controller-service-api ---
> [INFO] 
> [INFO] Results:
> [INFO] 
> [INFO] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0
> [INFO] 
> [INFO] 
> [INFO] --- maven-remote-resources-plugin:1.5:process 
> (process-resource-bundles) @ nifi-druid-controller-service-api ---
> [INFO] 
> [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ nifi-metrics ---
> [INFO] Building jar: 
> /Users/jwitt/development/nifi.git/nifi-commons/nifi-metrics/target/nifi-metrics-1.10.0-SNAPSHOT.jar
> [INFO] 
> [INFO] --- maven-site-plugin:3.7:attach-descriptor (attach-descriptor) @ 
> nifi-metrics ---
> [INFO] Skipping because packaging 'jar' is not pom.
> [INFO] 
> [INFO] --- maven-checkstyle-plugin:3.0.0:check (check-style) @ nifi-metrics 
> ---
> [INFO] 
> [INFO] Results:
> [INFO] 
> [ERROR] Errors: 
> [ERROR]   TestRocksDBMetronome.testColumnFamilies:163 » UnsatisfiedLink 
> /private/var/fol...
> [ERROR]   TestRocksDBMetronome.testCounterIncrement:241 » NoClassDefFound 
> Could not init...
> [ERROR]   TestRocksDBMetronome.testIterator:214 » NoClassDefFound Could not 
> initialize c...
> [ERROR]   TestRocksDBMetronome.testPutBeforeInit »  Unexpected exception, 
> expected<java....
> [ERROR]   TestRocksDBMetronome.testPutClosed »  Unexpected exception, 
> expected<java.lang...
> [ERROR]   TestRocksDBMetronome.testPutGetConfiguration:122 » NoClassDefFound 
> Could not i...
> [ERROR]   TestRocksDBMetronome.testPutGetDelete:98 » NoClassDefFound Could 
> not initializ...
> [ERROR]   TestRocksDBMetronome.testWaitForSync:260 » NoClassDefFound Could 
> not initializ...
> [ERROR]   TestRocksDBMetronome.testWaitForSyncWithValue:291 » NoClassDefFound 
> Could not ...
> [INFO] 
> [ERROR] Tests run: 10, Failures: 0, Errors: 9, Skipped: 0



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to