ls [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.easymock.samples.EnclosedTest$VoteRemovals [INFO] Running org.easymock.samples.EnclosedTest$VoteRemoval [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.easymock.samples.EnclosedTest$VoteRemoval [INFO] Running org.easymock.samples.ConstructorCalledMockTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.easymock.samples.ConstructorCalledMockTest [INFO] Running org.easymock.samples.SupportTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.easymock.samples.SupportTest [INFO] Running org.easymock.samples.BasicClassMockTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.easymock.samples.BasicClassMockTest [INFO] Running org.easymock.internal.PrimitiveUtilsTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.easymock.internal.PrimitiveUtilsTest [INFO] Running org.easymock.internal.LinkedClassLoaderTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.easymock.internal.LinkedClassLoaderTest [INFO] [INFO] Results: [INFO] [ERROR] Errors: [ERROR] CglibTest.testJava8:80 ยป UnsupportedOperation [INFO] [ERROR] Tests run: 639, Failures: 0, Errors: 1, Skipped: 3 [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: [INFO] [INFO] EasyMock Parent 4.0.2 .............................. SUCCESS [ 0.360 s] [INFO] EasyMock ........................................... FAILURE [ 14.971 s] [INFO] EasyMock Test TestNG ............................... SKIPPED [INFO] EasyMock Test Java 8 4.0.2 ......................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 16.193 s [INFO] Finished at: 2020-05-15T18:53:23Z [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 /builddir/build/BUILD/easymock-easymock-4.0.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] -> [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 :easymock RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.QKJNSd (%build) Bad exit status from /var/tmp/rpm-tmp.QKJNSd (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 89, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 582, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/easymock.spec