Bug#893185: dnssecjava FTBFS with openjdk-9

Adrian Bunk bunk at debian.org
Sat Mar 17 08:32:37 UTC 2018


Source: dnssecjava
Version: 1.1.3-1
Severity: serious
Tags: buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/dnssecjava.html

...
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.jitsi.dnssec.TestInvalid
[INFO] Running org.jitsi.dnssec.TestPositive
[INFO] Running org.jitsi.dnssec.TestSMessage
[INFO] Running org.jitsi.dnssec.TestUnsigned
[INFO] Running org.jitsi.dnssec.TestAlgorithmSupport
[INFO] Running org.jitsi.dnssec.TestPriming
[INFO] Running org.jitsi.dnssec.TestPartiallyInvalid
[INFO] Running org.jitsi.dnssec.TestCNames
[INFO] Running org.jitsi.dnssec.TestByteArrayComparator
[INFO] Running org.jitsi.dnssec.TestNonExistence
[INFO] Running org.jitsi.dnssec.TestTrustAnchorStore
[INFO] Running org.jitsi.dnssec.TestNormallyUnreachableCode
[INFO] Running org.jitsi.dnssec.TestTrustAnchorLoading
[INFO] Running org.jitsi.dnssec.RTest
[INFO] Running org.jitsi.dnssec.TestNSEC3NoData
[INFO] Running org.jitsi.dnssec.TestBogusReasonMessage
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.536 s - in org.jitsi.dnssec.TestByteArrayComparator
[INFO] Running org.jitsi.dnssec.TestWildcard
[INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.875 s - in org.jitsi.dnssec.TestSMessage
[INFO] Running org.jitsi.dnssec.TestDNames
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.815 s - in org.jitsi.dnssec.TestTrustAnchorStore
[INFO] Running org.jitsi.dnssec.TestKeyCacheUsage
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.308 s - in org.jitsi.dnssec.TestNormallyUnreachableCode
[INFO] Running org.jitsi.dnssec.TestKeyCache
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.744 s <<< FAILURE! - in org.jitsi.dnssec.RTest
[ERROR] initializationError(org.jitsi.dnssec.RTest)  Time elapsed: 0.047 s  <<< ERROR!
org.objenesis.ObjenesisException: java.lang.reflect.InvocationTargetException
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.IllegalAccessError: class jdk.internal.reflect.ConstructorAccessorImpl loaded by org/powermock/core/classloader/MockClassLoader cannot access jdk/internal/reflect superclass jdk.internal.reflect.MagicAccessorImpl

[INFO] Running org.jitsi.dnssec.TestNoData
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.235 s - in org.jitsi.dnssec.TestKeyCache
[INFO] Running org.jitsi.dnssec.TestRRsig
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.91 s <<< FAILURE! - in org.jitsi.dnssec.TestUnsigned
[ERROR] initializationError(org.jitsi.dnssec.TestUnsigned)  Time elapsed: 0.061 s  <<< ERROR!
org.objenesis.ObjenesisException: java.lang.reflect.InvocationTargetException
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.IllegalAccessError: class jdk.internal.reflect.ConstructorAccessorImpl loaded by org/powermock/core/classloader/MockClassLoader cannot access jdk/internal/reflect superclass jdk.internal.reflect.MagicAccessorImpl

[INFO] Running org.jitsi.dnssec.unbound.rpl.UnboundTests
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.521 s <<< FAILURE! - in org.jitsi.dnssec.TestNSEC3NoData
[ERROR] initializationError(org.jitsi.dnssec.TestNSEC3NoData)  Time elapsed: 0.031 s  <<< ERROR!
org.objenesis.ObjenesisException: java.lang.reflect.InvocationTargetException
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.IllegalAccessError: class jdk.internal.reflect.ConstructorAccessorImpl loaded by org/powermock/core/classloader/MockClassLoader cannot access jdk/internal/reflect superclass jdk.internal.reflect.MagicAccessorImpl

[INFO] Running org.jitsi.dnssec.validator.TestValUtils
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.998 s <<< FAILURE! - in org.jitsi.dnssec.TestDNames
[ERROR] initializationError(org.jitsi.dnssec.TestDNames)  Time elapsed: 0 s  <<< ERROR!
org.objenesis.ObjenesisException: java.lang.reflect.InvocationTargetException
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.IllegalAccessError: class jdk.internal.reflect.ConstructorAccessorImpl loaded by org/powermock/core/classloader/MockClassLoader cannot access jdk/internal/reflect superclass jdk.internal.reflect.MagicAccessorImpl

[INFO] Running org.jitsi.dnssec.validator.TestNsec3ValUtils
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.173 s <<< FAILURE! - in org.jitsi.dnssec.TestNonExistence
[ERROR] initializationError(org.jitsi.dnssec.TestNonExistence)  Time elapsed: 0.063 s  <<< ERROR!
org.objenesis.ObjenesisException: java.lang.reflect.InvocationTargetException
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.IllegalAccessError: class jdk.internal.reflect.ConstructorAccessorImpl loaded by org/powermock/core/classloader/MockClassLoader cannot access jdk/internal/reflect superclass jdk.internal.reflect.MagicAccessorImpl

[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.522 s <<< FAILURE! - in org.jitsi.dnssec.TestAlgorithmSupport
[ERROR] initializationError(org.jitsi.dnssec.TestAlgorithmSupport)  Time elapsed: 0.045 s  <<< ERROR!
org.objenesis.ObjenesisException: java.lang.reflect.InvocationTargetException
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.IllegalAccessError: class jdk.internal.reflect.ConstructorAccessorImpl loaded by org/powermock/core/classloader/MockClassLoader cannot access jdk/internal/reflect superclass jdk.internal.reflect.MagicAccessorImpl

[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.609 s <<< FAILURE! - in org.jitsi.dnssec.TestPositive
[ERROR] initializationError(org.jitsi.dnssec.TestPositive)  Time elapsed: 0.11 s  <<< ERROR!
org.objenesis.ObjenesisException: java.lang.reflect.InvocationTargetException
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.IllegalAccessError: class jdk.internal.reflect.ConstructorAccessorImpl loaded by org/powermock/core/classloader/MockClassLoader cannot access jdk/internal/reflect superclass jdk.internal.reflect.MagicAccessorImpl

[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.526 s <<< FAILURE! - in org.jitsi.dnssec.TestNoData
[ERROR] initializationError(org.jitsi.dnssec.TestNoData)  Time elapsed: 0.009 s  <<< ERROR!
org.objenesis.ObjenesisException: java.lang.reflect.InvocationTargetException
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.IllegalAccessError: class jdk.internal.reflect.ConstructorAccessorImpl loaded by org/powermock/core/classloader/MockClassLoader cannot access jdk/internal/reflect superclass jdk.internal.reflect.MagicAccessorImpl

[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.732 s <<< FAILURE! - in org.jitsi.dnssec.TestInvalid
[ERROR] initializationError(org.jitsi.dnssec.TestInvalid)  Time elapsed: 0.02 s  <<< ERROR!
org.objenesis.ObjenesisException: java.lang.reflect.InvocationTargetException
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.IllegalAccessError: class jdk.internal.reflect.ConstructorAccessorImpl loaded by org/powermock/core/classloader/MockClassLoader cannot access jdk/internal/reflect superclass jdk.internal.reflect.MagicAccessorImpl

[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.552 s <<< FAILURE! - in org.jitsi.dnssec.TestPartiallyInvalid
[ERROR] initializationError(org.jitsi.dnssec.TestPartiallyInvalid)  Time elapsed: 0.148 s  <<< ERROR!
org.objenesis.ObjenesisException: java.lang.reflect.InvocationTargetException
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.IllegalAccessError: class jdk.internal.reflect.ConstructorAccessorImpl loaded by org/powermock/core/classloader/MockClassLoader cannot access jdk/internal/reflect superclass jdk.internal.reflect.MagicAccessorImpl

[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.536 s <<< FAILURE! - in org.jitsi.dnssec.TestBogusReasonMessage
[ERROR] initializationError(org.jitsi.dnssec.TestBogusReasonMessage)  Time elapsed: 0.032 s  <<< ERROR!
org.objenesis.ObjenesisException: java.lang.reflect.InvocationTargetException
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.IllegalAccessError: class jdk.internal.reflect.ConstructorAccessorImpl loaded by org/powermock/core/classloader/MockClassLoader cannot access jdk/internal/reflect superclass jdk.internal.reflect.MagicAccessorImpl

[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.893 s <<< FAILURE! - in org.jitsi.dnssec.TestPriming
[ERROR] initializationError(org.jitsi.dnssec.TestPriming)  Time elapsed: 0.017 s  <<< ERROR!
org.objenesis.ObjenesisException: java.lang.reflect.InvocationTargetException
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.IllegalAccessError: class jdk.internal.reflect.ConstructorAccessorImpl loaded by org/powermock/core/classloader/MockClassLoader cannot access jdk/internal/reflect superclass jdk.internal.reflect.MagicAccessorImpl

[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.881 s <<< FAILURE! - in org.jitsi.dnssec.TestCNames
[ERROR] initializationError(org.jitsi.dnssec.TestCNames)  Time elapsed: 0.03 s  <<< ERROR!
org.objenesis.ObjenesisException: java.lang.reflect.InvocationTargetException
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.IllegalAccessError: class jdk.internal.reflect.ConstructorAccessorImpl loaded by org/powermock/core/classloader/MockClassLoader cannot access jdk/internal/reflect superclass jdk.internal.reflect.MagicAccessorImpl

[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.032 s <<< FAILURE! - in org.jitsi.dnssec.TestKeyCacheUsage
[ERROR] initializationError(org.jitsi.dnssec.TestKeyCacheUsage)  Time elapsed: 0.029 s  <<< ERROR!
org.objenesis.ObjenesisException: java.lang.reflect.InvocationTargetException
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.IllegalAccessError: class jdk.internal.reflect.ConstructorAccessorImpl loaded by org/powermock/core/classloader/MockClassLoader cannot access jdk/internal/reflect superclass jdk.internal.reflect.MagicAccessorImpl

[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.344 s <<< FAILURE! - in org.jitsi.dnssec.TestWildcard
[ERROR] initializationError(org.jitsi.dnssec.TestWildcard)  Time elapsed: 0.019 s  <<< ERROR!
org.objenesis.ObjenesisException: java.lang.reflect.InvocationTargetException
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.IllegalAccessError: class jdk.internal.reflect.ConstructorAccessorImpl loaded by org/powermock/core/classloader/MockClassLoader cannot access jdk/internal/reflect superclass jdk.internal.reflect.MagicAccessorImpl

[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.765 s <<< FAILURE! - in org.jitsi.dnssec.validator.TestNsec3ValUtils
[ERROR] initializationError(org.jitsi.dnssec.validator.TestNsec3ValUtils)  Time elapsed: 0 s  <<< ERROR!
org.objenesis.ObjenesisException: java.lang.reflect.InvocationTargetException
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.IllegalAccessError: class jdk.internal.reflect.ConstructorAccessorImpl loaded by org/powermock/core/classloader/MockClassLoader cannot access jdk/internal/reflect superclass jdk.internal.reflect.MagicAccessorImpl

[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 6.673 s <<< FAILURE! - in org.jitsi.dnssec.TestTrustAnchorLoading
[ERROR] initializationError(org.jitsi.dnssec.TestTrustAnchorLoading)  Time elapsed: 0.016 s  <<< ERROR!
org.objenesis.ObjenesisException: java.lang.reflect.InvocationTargetException
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.IllegalAccessError: class jdk.internal.reflect.ConstructorAccessorImpl loaded by org/powermock/core/classloader/MockClassLoader cannot access jdk/internal/reflect superclass jdk.internal.reflect.MagicAccessorImpl

[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.096 s <<< FAILURE! - in org.jitsi.dnssec.validator.TestValUtils
[ERROR] initializationError(org.jitsi.dnssec.validator.TestValUtils)  Time elapsed: 0.008 s  <<< ERROR!
org.objenesis.ObjenesisException: java.lang.reflect.InvocationTargetException
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.IllegalAccessError: class jdk.internal.reflect.ConstructorAccessorImpl loaded by org/powermock/core/classloader/MockClassLoader cannot access jdk/internal/reflect superclass jdk.internal.reflect.MagicAccessorImpl

[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.289 s <<< FAILURE! - in org.jitsi.dnssec.TestRRsig
[ERROR] initializationError(org.jitsi.dnssec.TestRRsig)  Time elapsed: 0.008 s  <<< ERROR!
org.objenesis.ObjenesisException: java.lang.reflect.InvocationTargetException
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.IllegalAccessError: class jdk.internal.reflect.ConstructorAccessorImpl loaded by org/powermock/core/classloader/MockClassLoader cannot access jdk/internal/reflect superclass jdk.internal.reflect.MagicAccessorImpl

[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.069 s <<< FAILURE! - in org.jitsi.dnssec.unbound.rpl.UnboundTests
[ERROR] initializationError(org.jitsi.dnssec.unbound.rpl.UnboundTests)  Time elapsed: 0.002 s  <<< ERROR!
org.objenesis.ObjenesisException: java.lang.reflect.InvocationTargetException
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.IllegalAccessError: class jdk.internal.reflect.ConstructorAccessorImpl loaded by org/powermock/core/classloader/MockClassLoader cannot access jdk/internal/reflect superclass jdk.internal.reflect.MagicAccessorImpl

[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Errors: 
[ERROR]   RTest.initializationError ? Objenesis java.lang.reflect.InvocationTargetExcept...
[ERROR]   TestAlgorithmSupport.initializationError ? Objenesis java.lang.reflect.Invocat...
[ERROR]   TestBogusReasonMessage.initializationError ? Objenesis java.lang.reflect.Invoc...
[ERROR]   TestCNames.initializationError ? Objenesis java.lang.reflect.InvocationTargetE...
[ERROR]   TestDNames.initializationError ? Objenesis java.lang.reflect.InvocationTargetE...
[ERROR]   TestInvalid.initializationError ? Objenesis java.lang.reflect.InvocationTarget...
[ERROR]   TestKeyCacheUsage.initializationError ? Objenesis java.lang.reflect.Invocation...
[ERROR]   TestNSEC3NoData.initializationError ? Objenesis java.lang.reflect.InvocationTa...
[ERROR]   TestNoData.initializationError ? Objenesis java.lang.reflect.InvocationTargetE...
[ERROR]   TestNonExistence.initializationError ? Objenesis java.lang.reflect.InvocationT...
[ERROR]   TestPartiallyInvalid.initializationError ? Objenesis java.lang.reflect.Invocat...
[ERROR]   TestPositive.initializationError ? Objenesis java.lang.reflect.InvocationTarge...
[ERROR]   TestPriming.initializationError ? Objenesis java.lang.reflect.InvocationTarget...
[ERROR]   TestRRsig.initializationError ? Objenesis java.lang.reflect.InvocationTargetEx...
[ERROR]   TestTrustAnchorLoading.initializationError ? Objenesis java.lang.reflect.Invoc...
[ERROR]   TestUnsigned.initializationError ? Objenesis java.lang.reflect.InvocationTarge...
[ERROR]   TestWildcard.initializationError ? Objenesis java.lang.reflect.InvocationTarge...
[ERROR]   UnboundTests.initializationError ? Objenesis java.lang.reflect.InvocationTarge...
[ERROR]   TestNsec3ValUtils.initializationError ? Objenesis java.lang.reflect.Invocation...
[ERROR]   TestValUtils.initializationError ? Objenesis java.lang.reflect.InvocationTarge...
[INFO] 
[ERROR] Tests run: 53, Failures: 0, Errors: 20, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.967 s
[INFO] Finished at: 2019-04-18T23:17:35-12:00
[INFO] Final Memory: 17M/56M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test (default-test) on project dnssecjava: There are test failures.
[ERROR] 
[ERROR] Please refer to /build/1st/dnssecjava-1.1.3/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
dh_auto_test: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/build/1st/dnssecjava-1.1.3 -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/build/1st/dnssecjava-1.1.3/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/1st/dnssecjava-1.1.3/debian -Dmaven.repo.local=/build/1st/dnssecjava-1.1.3/debian/maven-repo --batch-mode test returned exit code 1
make: *** [debian/rules:4: build] Error 2



More information about the pkg-java-maintainers mailing list