D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/maven-jaxb2-plugin-0.13.0-8.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Ev3RF2 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf maven-jaxb2-plugin-0.13.0 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/0.13.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd maven-jaxb2-plugin-0.13.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (maven-jaxb2-plugin-0.13.0-dont-use-internal-resolver.patch):' Patch #0 (maven-jaxb2-plugin-0.13.0-dont-use-internal-resolver.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file plugin-core/pom.xml patching file plugin-core/src/main/java/org/jvnet/jaxb2/maven2/RawXJC2Mojo.java patching file plugin-core/src/main/java/org/jvnet/jaxb2/maven2/resolver/tools/ClasspathCatalogResolver.java patching file plugin-core/src/main/java/org/jvnet/jaxb2/maven2/resolver/tools/MavenCatalogResolver.java patching file plugin-core/src/test/java/org/jvnet/jaxb2/maven2/resolver/tools/tests/MavenCatalogResolverTest.java + echo 'Patch #1 (maven-jaxb2-plugin-0.13.0-adapt-for-maven-3.patch):' Patch #1 (maven-jaxb2-plugin-0.13.0-adapt-for-maven-3.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file plugin/src/test/java/org/jvnet/jaxb2/maven2/JAXBGenerateTest.java patching file plugin-2.1/src/test/java/org/jvnet/mjiip/v_2_1/JAXBGenerateTest.java patching file plugin-core/pom.xml patching file plugin-core/src/main/java/org/jvnet/jaxb2/maven2/AbstractXJC2Mojo.java patching file pom.xml + echo 'Patch #2 (maven-jaxb2-plugin-0.13.0-remove-enconding-option.patch):' Patch #2 (maven-jaxb2-plugin-0.13.0-remove-enconding-option.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file plugin/src/main/java/org/jvnet/mjiip/v_2/OptionsFactory.java patching file plugin-2.2/src/main/java/org/jvnet/mjiip/v_2_2/OptionsFactory.java + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module plugin-2.0 + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module plugin-2.1 + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_dep com.sun.codemodel:codemodel:2.6 plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_dep com.sun.codemodel:codemodel:2.6 plugin-2.2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.diEaI1 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd maven-jaxb2-plugin-0.13.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd plugin-core/src/main/java/org/jvnet/jaxb2/maven2/resolver/tools/ + mv DelegatingReaderWrapper.java DelegatingReaderWrapper.java_ + mv DelegatingInputStreamWrapper.java DelegatingInputStreamWrapper.java_ + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc Executing: xmvn --batch-mode --offline verify org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:javadoc org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', 'verify', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:javadoc', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Maven JAXB 2.x Plugin Project [pom] [INFO] Maven JAXB 2.x Plugin Core [jar] [INFO] Maven JAXB 2.2.x Plugin [maven-plugin] [INFO] Maven JAXB 2.x Plugin [maven-plugin] [INFO] Maven JAXB 2.x Plugin Testing [jar] [INFO] [INFO] ---------< org.jvnet.jaxb2.maven2:maven-jaxb2-plugin-project >---------- [INFO] Building Maven JAXB 2.x Plugin Project 0.13.0 [1/5] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] -----------< org.jvnet.jaxb2.maven2:maven-jaxb2-plugin-core >----------- [INFO] Building Maven JAXB 2.x Plugin Core 0.13.0 [2/5] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ maven-jaxb2-plugin-core --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ maven-jaxb2-plugin-core --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 27 source files to /home/iurt/rpmbuild/BUILD/maven-jaxb2-plugin-0.13.0/plugin-core/target/classes [INFO] /home/iurt/rpmbuild/BUILD/maven-jaxb2-plugin-0.13.0/plugin-core/src/main/java/org/jvnet/jaxb2/maven2/AbstractXJC2Mojo.java: Some input files use or override a deprecated API. [INFO] /home/iurt/rpmbuild/BUILD/maven-jaxb2-plugin-0.13.0/plugin-core/src/main/java/org/jvnet/jaxb2/maven2/AbstractXJC2Mojo.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ maven-jaxb2-plugin-core --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 4 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ maven-jaxb2-plugin-core --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 5 source files to /home/iurt/rpmbuild/BUILD/maven-jaxb2-plugin-0.13.0/plugin-core/target/test-classes [INFO] /home/iurt/rpmbuild/BUILD/maven-jaxb2-plugin-0.13.0/plugin-core/src/test/java/org/jvnet/jaxb2/maven2/util/tests/CollectionsUtilsTests.java: /home/iurt/rpmbuild/BUILD/maven-jaxb2-plugin-0.13.0/plugin-core/src/test/java/org/jvnet/jaxb2/maven2/util/tests/CollectionsUtilsTests.java uses or overrides a deprecated API. [INFO] /home/iurt/rpmbuild/BUILD/maven-jaxb2-plugin-0.13.0/plugin-core/src/test/java/org/jvnet/jaxb2/maven2/util/tests/CollectionsUtilsTests.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ maven-jaxb2-plugin-core --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.jvnet.jaxb2.maven2.net.tests.URILastModifiedResolverTest [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.084 s <<< FAILURE! - in org.jvnet.jaxb2.maven2.net.tests.URILastModifiedResolverTest [ERROR] getsFileURIFromJarFileURICorrectly(org.jvnet.jaxb2.maven2.net.tests.URILastModifiedResolverTest) Time elapsed: 0.023 s <<< ERROR! java.lang.StringIndexOutOfBoundsException: begin 0, end -1, length 37 at org.jvnet.jaxb2.maven2.net.tests.URILastModifiedResolverTest.getsFileURIFromJarFileURICorrectly(URILastModifiedResolverTest.java:22) [INFO] Running org.jvnet.jaxb2.maven2.util.tests.CollectionsUtilsTests [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.jvnet.jaxb2.maven2.util.tests.CollectionsUtilsTests [INFO] Running org.jvnet.jaxb2.maven2.tests.DependencyResourceTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.jvnet.jaxb2.maven2.tests.DependencyResourceTest [INFO] Running org.jvnet.jaxb2.maven2.tests.AddIfExistsToEpisodeSchemaBindingsTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.jvnet.jaxb2.maven2.tests.AddIfExistsToEpisodeSchemaBindingsTest [INFO] Running org.jvnet.jaxb2.maven2.resolver.tools.tests.MavenCatalogResolverTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.155 s - in org.jvnet.jaxb2.maven2.resolver.tools.tests.MavenCatalogResolverTest [INFO] [INFO] Results: [INFO] [ERROR] Errors: [ERROR] URILastModifiedResolverTest.getsFileURIFromJarFileURICorrectly:22 ? StringIndexOutOfBounds [INFO] [ERROR] Tests run: 5, Failures: 0, Errors: 1, Skipped: 0 [INFO] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping Maven JAXB 2.x Plugin Project [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Maven JAXB 2.x Plugin Project 0.13.0: [INFO] [INFO] Maven JAXB 2.x Plugin Project ...................... SUCCESS [ 0.004 s] [INFO] Maven JAXB 2.x Plugin Core ......................... FAILURE [ 14.398 s] [INFO] Maven JAXB 2.2.x Plugin ............................ SKIPPED [INFO] Maven JAXB 2.x Plugin .............................. SKIPPED [INFO] Maven JAXB 2.x Plugin Testing ...................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 15.297 s [INFO] Finished at: 2020-08-27T01:49:42Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.0:test (default-test) on project maven-jaxb2-plugin-core: There are test failures. [ERROR] [ERROR] Please refer to /home/iurt/rpmbuild/BUILD/maven-jaxb2-plugin-0.13.0/plugin-core/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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :maven-jaxb2-plugin-core error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.diEaI1 (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.diEaI1 (%build) I: [iurt_root_command] ERROR: chroot