Source: metro-policy
Version: 2.7.2-3
Severity: important
Tags: ftbfs
User: debian-j...@lists.debian.org
Usertags: default-java21

Dear Maintainers,

The package metro-policy ftbfs with default Java 21.
The relevant part of the build log:
---------------
[INFO] Running com.sun.xml.ws.policy.privateutil.PolicyLoggerTest
Dec 04, 2023 10:35:19 AM [com.sun.xml.ws.policy.privateutil.PolicyLoggerTest]  
invoke
SEVERE: Test message.
java.lang.Exception
        at 
com.sun.xml.ws.policy.privateutil.PolicyLoggerTest.testCommonsCreateAndLogException(PolicyLoggerTest.java:246)
        at 
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at junit.framework.TestCase.runTest(TestCase.java:164)
        at junit.framework.TestCase.runBare(TestCase.java:130)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:120)
        at junit.framework.TestSuite.runTest(TestSuite.java:230)
        at junit.framework.TestSuite.run(TestSuite.java:225)
        at 
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at 
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:100)
        at 
org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:140)
        at 
org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:113)
        at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
        at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
        at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)

Dec 04, 2023 10:35:19 AM [com.sun.xml.ws.policy.privateutil.PolicyLoggerTest]  
invoke
SEVERE: Test message.
java.lang.Exception
        at 
com.sun.xml.ws.policy.privateutil.PolicyLoggerTest.testCommonsCreateAndLogException(PolicyLoggerTest.java:246)
        at 
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at junit.framework.TestCase.runTest(TestCase.java:164)
        at junit.framework.TestCase.runBare(TestCase.java:130)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:120)
        at junit.framework.TestSuite.runTest(TestSuite.java:230)
        at junit.framework.TestSuite.run(TestSuite.java:225)
        at 
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at 
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:100)
        at 
org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:140)
        at 
org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:113)
        at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
        at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
        at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)

Dec 04, 2023 10:35:19 AM [com.sun.xml.ws.policy.privateutil.PolicyLoggerTest]  
invoke
SEVERE: null
Dec 04, 2023 10:35:19 AM [com.sun.xml.ws.policy.privateutil.PolicyLoggerTest]  
invoke
SEVERE: Test message.
Dec 04, 2023 10:35:19 AM [com.sun.xml.ws.policy.privateutil.PolicyLoggerTest]  
invoke
SEVERE: null
java.lang.NullPointerException: test
        at 
com.sun.xml.ws.policy.privateutil.PolicyLoggerTest.testCommonsCreateAndLogException(PolicyLoggerTest.java:271)
        at 
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at junit.framework.TestCase.runTest(TestCase.java:164)
        at junit.framework.TestCase.runBare(TestCase.java:130)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:120)
        at junit.framework.TestSuite.runTest(TestSuite.java:230)
        at junit.framework.TestSuite.run(TestSuite.java:225)
        at 
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at 
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:100)
        at 
org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:140)
        at 
org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:113)
        at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
        at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
        at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)

Dec 04, 2023 10:35:19 AM [com.sun.xml.ws.policy.privateutil.PolicyLoggerTest]  
invoke
SEVERE: Test message.
Dec 04, 2023 10:35:19 AM [com.sun.xml.ws.policy.privateutil.PolicyLoggerTest]  
invoke
SEVERE: null
Dec 04, 2023 10:35:19 AM [com.sun.xml.ws.policy.privateutil.PolicyLoggerTest]  
invoke
SEVERE: Test message.
Dec 04, 2023 10:35:19 AM [com.sun.xml.ws.policy.privateutil.PolicyLoggerTest]  
invoke
SEVERE: null
java.lang.NullPointerException: test
        at 
com.sun.xml.ws.policy.privateutil.PolicyLoggerTest.testCommonsCreateAndLogException(PolicyLoggerTest.java:297)
        at 
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at junit.framework.TestCase.runTest(TestCase.java:164)
        at junit.framework.TestCase.runBare(TestCase.java:130)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:120)
        at junit.framework.TestSuite.runTest(TestSuite.java:230)
        at junit.framework.TestSuite.run(TestSuite.java:225)
        at 
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at 
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:100)
        at 
org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:140)
        at 
org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:113)
        at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
        at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
        at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)

Dec 04, 2023 10:35:19 AM [com.sun.xml.ws.policy.privateutil.PolicyLoggerTest]  
invoke
SEVERE: Test message.
java.lang.NullPointerException: test
        at 
com.sun.xml.ws.policy.privateutil.PolicyLoggerTest.testCommonsCreateAndLogException(PolicyLoggerTest.java:304)
        at 
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at junit.framework.TestCase.runTest(TestCase.java:164)
        at junit.framework.TestCase.runBare(TestCase.java:130)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:120)
        at junit.framework.TestSuite.runTest(TestSuite.java:230)
        at junit.framework.TestSuite.run(TestSuite.java:225)
        at 
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at 
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:100)
        at 
org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:140)
        at 
org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:113)
        at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
        at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
        at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)

Dec 04, 2023 10:35:19 AM [com.sun.xml.ws.policy.privateutil.PolicyLoggerTest]  
invoke
INFO: Test
Dec 04, 2023 10:35:19 AM [com.sun.xml.ws.policy.privateutil.PolicyLoggerTest]  
invoke
WARNING: Test
Dec 04, 2023 10:35:19 AM [com.sun.xml.ws.policy.privateutil.PolicyLoggerTest]  
invoke
SEVERE: Test
[INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 s 
- in com.sun.xml.ws.policy.privateutil.PolicyLoggerTest
[INFO] Running com.sun.xml.ws.policy.privateutil.ServiceFinderTest
Dec 04, 2023 10:35:19 AM [com.sun.xml.ws.policy.privateutil.ServiceFinder]  fail
SEVERE: WSP0025: com.sun.xml.ws.policy.privateutil.ServiceFinderTestInterface: 
WSP0024: 
file:/<<PKGBUILDDIR>>/target/test-classes/META-INF/services/com.sun.xml.ws.policy.privateutil.ServiceFinderTestInterface:1:
 WSP0067: Illegal configuration-file syntax
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s 
- in com.sun.xml.ws.policy.privateutil.ServiceFinderTest
[INFO] Running com.sun.xml.ws.policy.privateutil.PolicyUtilsTest
Dec 04, 2023 10:35:19 AM 
[com.sun.xml.ws.policy.privateutil.PolicyUtils$Reflection]  
testReflectionInvokeFail
SEVERE: WSP0061: Method invocation failed 
(class=com.sun.xml.ws.policy.privateutil.PolicyUtilsTest$1, method=humv, 
parameters=null)
java.lang.NoSuchMethodException: 
com.sun.xml.ws.policy.privateutil.PolicyUtilsTest$1.humv()
        at java.base/java.lang.Class.getMethod(Class.java:2395)
        at 
com.sun.xml.ws.policy.privateutil.PolicyUtils$Reflection.invoke(PolicyUtils.java:333)
        at 
com.sun.xml.ws.policy.privateutil.PolicyUtilsTest.testReflectionInvokeFail(PolicyUtilsTest.java:280)
        at 
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at junit.framework.TestCase.runTest(TestCase.java:164)
        at junit.framework.TestCase.runBare(TestCase.java:130)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:120)
        at junit.framework.TestSuite.runTest(TestSuite.java:230)
        at junit.framework.TestSuite.run(TestSuite.java:225)
        at 
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at 
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:100)
        at 
org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:140)
        at 
org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:113)
        at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
        at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
        at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)

Dec 04, 2023 10:35:19 AM 
[com.sun.xml.ws.policy.privateutil.PolicyUtils$Reflection]  
testRtf2396UnquoteCutOff
SEVERE: WSP0079: Error while unescaping 'hello%2' by RFC2396
[ERROR] Tests run: 16, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.002 
s <<< FAILURE! - in com.sun.xml.ws.policy.privateutil.PolicyUtilsTest
[ERROR] 
testGetCallerMethodName(com.sun.xml.ws.policy.privateutil.PolicyUtilsTest)  
Time elapsed: 0.001 s  <<< FAILURE!
junit.framework.ComparisonFailure: expected:<[testGetCallerMethodNam]e> but 
was:<[invok]e>
        at junit.framework.Assert.assertEquals(Assert.java:81)
        at junit.framework.Assert.assertEquals(Assert.java:87)
        at 
com.sun.xml.ws.policy.privateutil.PolicyUtilsTest$1TestCall.testCall(PolicyUtilsTest.java:108)
        at 
com.sun.xml.ws.policy.privateutil.PolicyUtilsTest.testGetCallerMethodName(PolicyUtilsTest.java:113)

[INFO] Running com.sun.xml.ws.policy.PolicyIntersectorTest
Dec 04, 2023 10:35:19 AM [com.sun.xml.ws.policy.PolicyIntersector]  
testIntersectNull
SEVERE: WSP0056: Input policy collection is expected not to be null nor empty 
collection
Dec 04, 2023 10:35:19 AM [com.sun.xml.ws.policy.PolicyIntersector]  
testStrictIntersectEmptyPolicyCollectionThrowsIAE
SEVERE: WSP0056: Input policy collection is expected not to be null nor empty 
collection
[INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 s 
- in com.sun.xml.ws.policy.PolicyIntersectorTest
[INFO] Running com.sun.xml.ws.policy.AssertionSetTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 s 
- in com.sun.xml.ws.policy.AssertionSetTest
[INFO] Running com.sun.xml.ws.policy.PolicyTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in 
com.sun.xml.ws.policy.PolicyTest
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]   
com.sun.xml.ws.policy.privateutil.PolicyUtilsTest#testGetCallerMethodName 
ComparisonFailure
[INFO]
[ERROR] Tests run: 215, Failures: 1, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  11.140 s
[INFO] Finished at: 2023-12-04T10:35:28Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.22.3:test (default-test) on 
project policy: There are test failures.
---------------


-- System Information:
Debian Release: trixie/sid
  APT prefers mantic-updates
  APT policy: (500, 'mantic-updates'), (500, 'mantic-security'), (500, 'mantic')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-13-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
 Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to