Source: tiles-autotag Version: 1.2-4 Severity: important Tags: ftbfs User: debian-j...@lists.debian.org Usertags: default-java21
Dear Maintainers, The package tiles-autotag ftbfs with default Java 21. The relevant part of the build log: --------------- [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.tiles.autotag.core.runtime.AbstractModelBodyTest [ERROR] Tests run: 5, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.517 s <<< FAILURE! - in org.apache.tiles.autotag.core.runtime.AbstractModelBodyTest [ERROR] testEvaluateWithoutWriting(org.apache.tiles.autotag.core.runtime.AbstractModelBodyTest) Time elapsed: 0.397 s <<< ERROR! java.lang.IllegalArgumentException: Could not create type at org.apache.tiles.autotag.core.runtime.AbstractModelBodyTest.testEvaluateWithoutWriting(AbstractModelBodyTest.java:95) Caused by: java.lang.IllegalArgumentException: org.easymock.mocks.Writer$$$EasyMock$1 must be defined in the same package as org.easymock.internal.ClassProxyFactory at org.apache.tiles.autotag.core.runtime.AbstractModelBodyTest.testEvaluateWithoutWriting(AbstractModelBodyTest.java:95) [ERROR] testEvaluateWithoutWritingException(org.apache.tiles.autotag.core.runtime.AbstractModelBodyTest) Time elapsed: 0.041 s <<< ERROR! java.lang.Exception: Unexpected exception, expected<java.io.IOException> but was<java.lang.IllegalArgumentException> at org.apache.tiles.autotag.core.runtime.AbstractModelBodyTest.testEvaluateWithoutWritingException(AbstractModelBodyTest.java:111) Caused by: java.lang.IllegalArgumentException: org.easymock.mocks.Writer$$$EasyMock$2 must be defined in the same package as org.easymock.internal.ClassProxyFactory at org.apache.tiles.autotag.core.runtime.AbstractModelBodyTest.testEvaluateWithoutWritingException(AbstractModelBodyTest.java:111) [ERROR] testEvaluateAsStringException(org.apache.tiles.autotag.core.runtime.AbstractModelBodyTest) Time elapsed: 0.022 s <<< ERROR! java.lang.Exception: Unexpected exception, expected<java.io.IOException> but was<java.lang.IllegalArgumentException> at org.apache.tiles.autotag.core.runtime.AbstractModelBodyTest.testEvaluateAsStringException(AbstractModelBodyTest.java:75) Caused by: java.lang.IllegalArgumentException: org.easymock.mocks.Writer$$$EasyMock$3 must be defined in the same package as org.easymock.internal.ClassProxyFactory at org.apache.tiles.autotag.core.runtime.AbstractModelBodyTest.testEvaluateAsStringException(AbstractModelBodyTest.java:75) [ERROR] testEvaluate(org.apache.tiles.autotag.core.runtime.AbstractModelBodyTest) Time elapsed: 0.018 s <<< ERROR! java.lang.IllegalArgumentException: Could not create type at org.apache.tiles.autotag.core.runtime.AbstractModelBodyTest.testEvaluate(AbstractModelBodyTest.java:46) Caused by: java.lang.IllegalArgumentException: org.easymock.mocks.Writer$$$EasyMock$4 must be defined in the same package as org.easymock.internal.ClassProxyFactory at org.apache.tiles.autotag.core.runtime.AbstractModelBodyTest.testEvaluate(AbstractModelBodyTest.java:46) [INFO] Running org.apache.tiles.autotag.core.runtime.util.NullWriterTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.tiles.autotag.core.runtime.util.NullWriterTest [INFO] [INFO] Results: [INFO] [ERROR] Errors: [ERROR] AbstractModelBodyTest.testEvaluate:46 » IllegalArgument Could not create type [ERROR] AbstractModelBodyTest.testEvaluateAsStringException » Unexpected exception, e... [ERROR] AbstractModelBodyTest.testEvaluateWithoutWriting:95 » IllegalArgument Could no... [ERROR] AbstractModelBodyTest.testEvaluateWithoutWritingException » Unexpected except... [INFO] [ERROR] Tests run: 8, Failures: 0, Errors: 4, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Autotags 1.2: [INFO] [INFO] Autotags ........................................... SUCCESS [ 0.002 s] [INFO] Autotag - Core runtime ............................. FAILURE [ 10.816 s] [INFO] Autotag - Core ..................................... SKIPPED [INFO] Tiles Autotag - JSP tags automatic generation ...... SKIPPED [INFO] Autotag - Freemarker support ....................... SKIPPED [INFO] Autotag - Velocity support ......................... SKIPPED [INFO] maven-autotag-plugin Maven Mojo .................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10.903 s [INFO] Finished at: 2023-12-04T19:54:39Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.3:test (default-test) on project tiles-autotag-core-runtime: There are test failures. [ERROR] [ERROR] Please refer to /<<PKGBUILDDIR>>/tiles-autotag-core-runtime/target/surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :tiles-autotag-core-runtime [0m[0mdh_auto_test: error: /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=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode test returned exit code 1 make: *** [debian/rules:4: build] Error 25 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2023-12-04T19:54:39Z --------------- -- 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