D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/easymock-4.2-1.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Lon6Dp + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf easymock-easymock-4.2 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/easymock-4.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd easymock-easymock-4.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-Disable-android-support.patch):' Patch #1 (0001-Disable-android-support.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file core/src/main/java/org/easymock/internal/MocksControl.java Hunk #1 succeeded at 130 (offset -17 lines). + echo 'Patch #2 (0002-Unshade-cglib-and-asm.patch):' Patch #2 (0002-Unshade-cglib-and-asm.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file core/pom.xml Hunk #1 succeeded at 118 (offset 18 lines). + echo 'Patch #3 (0003-Fix-OSGi-manifest.patch):' Patch #3 (0003-Fix-OSGi-manifest.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file core/pom.xml Hunk #1 succeeded at 118 (offset 18 lines). + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :animal-sniffer-maven-plugin . core + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :license-maven-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-enforcer-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-gpg-plugin test-java8 test-junit5 test-testng + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-timestamp-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :versions-maven-plugin + rm core/src/main/java/org/easymock/internal/AndroidClassProxyFactory.java core/src/main/java/org/easymock/internal/AndroidSupport.java + rm core/src/test/java/org/easymock/tests2/ClassExtensionHelperTest.java + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module test-android + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep :dexmaker core + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module test-nodeps + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-shade-plugin core + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module test-integration + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module test-osgi + /usr/bin/python3 /usr/share/java-utils/mvn_file.py ':easymock{*}' easymock@1 easymock3@1 + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove pom:extensions + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.iyUObp + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd easymock-easymock-4.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /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] EasyMock Parent [pom] [INFO] EasyMock [jar] [INFO] EasyMock Test TestNG [jar] [INFO] EasyMock Test Java 8 [jar] [INFO] EasyMock Test JUnit 5 [jar] [INFO] [INFO] --------------------< org.easymock:easymock-parent >-------------------- [INFO] Building EasyMock Parent 4.2 [1/5] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (default) @ easymock-parent --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.3 [INFO] Copying 5 resources from 1 bundle. [INFO] [INFO] -----------------------< org.easymock:easymock >------------------------ [INFO] Building EasyMock 4.2 [2/5] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (default) @ easymock --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.3 [INFO] Copying 5 resources from 1 bundle. [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ easymock --- [INFO] Using 'ISO-8859-1' encoding to copy filtered resources. [INFO] Using 'ISO-8859-1' encoding to copy filtered properties files. [INFO] Copying 1 resource [INFO] Copying 5 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ easymock --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 85 source files to /home/iurt/rpmbuild/BUILD/easymock-easymock-4.2/core/target/classes [INFO] /home/iurt/rpmbuild/BUILD/easymock-easymock-4.2/core/src/main/java/org/easymock/internal/Result.java: Some input files use or override a deprecated API. [INFO] /home/iurt/rpmbuild/BUILD/easymock-easymock-4.2/core/src/main/java/org/easymock/internal/Result.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-bundle-plugin:4.2.1:manifest (bundle-manifest) @ easymock --- [INFO] [INFO] --- build-helper-maven-plugin:3.2.0:add-test-source (default) @ easymock --- [INFO] Test Source directory: /home/iurt/rpmbuild/BUILD/easymock-easymock-4.2/core/src/samples/java added. [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ easymock --- [INFO] Using 'ISO-8859-1' encoding to copy filtered resources. [INFO] Using 'ISO-8859-1' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/iurt/rpmbuild/BUILD/easymock-easymock-4.2/core/src/test/resources [INFO] Copying 5 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ easymock --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 106 source files to /home/iurt/rpmbuild/BUILD/easymock-easymock-4.2/core/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ easymock --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] [INFO] Results: [INFO] [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping EasyMock Parent [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for EasyMock Parent 4.2: [INFO] [INFO] EasyMock Parent .................................... SUCCESS [ 0.695 s] [INFO] EasyMock ........................................... FAILURE [ 17.925 s] [INFO] EasyMock Test TestNG ............................... SKIPPED [INFO] EasyMock Test Java 8 ............................... SKIPPED [INFO] EasyMock Test JUnit 5 .............................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 20.183 s [INFO] Finished at: 2020-11-08T20:31:40Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.0:test (default-test) on project easymock: There are test failures. [ERROR] [ERROR] Please refer to /home/iurt/rpmbuild/BUILD/easymock-easymock-4.2/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] There was an error in the forked process [ERROR] TestEngine with ID 'junit-vintage' failed to discover tests [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: There was an error in the forked process [ERROR] TestEngine with ID 'junit-vintage' failed to discover tests [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:658) [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:533) [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:278) [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:244) [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1194) [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1022) [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:868) [ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137) [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210) [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156) [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148) [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) [ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56) [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305) [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192) [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105) [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:957) [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289) [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:193) [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347) [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/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :easymock error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.iyUObp (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.iyUObp (%build) I: [iurt_root_command] ERROR: chroot