Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/jmock.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-1106363-30074/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/jmock.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/jmock-2.12.0-11.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/jmock.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-1106363-30074/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/jmock.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HeMH7J + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jmock-library-2.12.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/jmock-2.12.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd jmock-library-2.12.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_parent + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-javadoc-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-source-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :nexus-staging-maven-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :versions-maven-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-gpg-plugin testjar + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_change_dep :jaxws-api jakarta.xml.ws:jakarta.xml.ws-api jmock + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_change_dep com.google.code.findbugs:annotations com.google.code.findbugs:jsr305 testjar + /usr/bin/python3 /usr/share/java-utils/mvn_package.py :jmock-imposters-tests __noinstall + /usr/bin/python3 /usr/share/java-utils/mvn_package.py :jmock-parent __noinstall + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.utFdU7 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd jmock-library-2.12.0 + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc -s -- -Dmaven.test.failure.ignore=true Executing: xmvn --batch-mode --offline -Dmaven.test.failure.ignore=true verify org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:javadoc org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', '-Dmaven.test.failure.ignore=true', '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] jMock 2 Parent [pom] [INFO] jMock 2 Test Jar [jar] [INFO] jMock 2 Core [jar] [INFO] jmock-junit3 [jar] [INFO] jmock-legacy [jar] [INFO] jmock-imposters [jar] [INFO] jmock-junit4 [jar] [INFO] jmock-junit5 [jar] [INFO] jMock Examples [jar] [INFO] jmock-imposters-tests [jar] [INFO] [INFO] -----------------------< org.jmock:jmock-parent >----------------------- [INFO] Building jMock 2 Parent 2.12.0 [1/10] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-maven) @ jmock-parent --- [INFO] [INFO] ----------------------< org.jmock:jmock-testjar >----------------------- [INFO] Building jMock 2 Test Jar 2.12.0 [2/10] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-maven) @ jmock-testjar --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ jmock-testjar --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/jmock-library-2.12.0/testjar/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ jmock-testjar --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 3 source files to /builddir/build/BUILD/jmock-library-2.12.0/testjar/target/classes [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ jmock-testjar --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/jmock-library-2.12.0/testjar/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ jmock-testjar --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M6:test (default-test) @ jmock-testjar --- [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ jmock-testjar --- [INFO] Building jar: /builddir/build/BUILD/jmock-library-2.12.0/testjar/target/signed.jar [INFO] [INFO] --- maven-dependency-plugin:3.3.0:copy (copy) @ jmock-testjar --- [INFO] Configured Artifact: org.jmock:jmock-testjar:2.12.0:jar [INFO] Copying signed.jar to /builddir/build/BUILD/jmock-library-2.12.0/testjar/target/unsigned.jar [INFO] [INFO] --------------------------< org.jmock:jmock >--------------------------- [INFO] Building jMock 2 Core 2.12.0 [3/10] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-maven) @ jmock --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ jmock --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/jmock-library-2.12.0/jmock/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ jmock --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 85 source files to /builddir/build/BUILD/jmock-library-2.12.0/jmock/target/classes [INFO] /builddir/build/BUILD/jmock-library-2.12.0/jmock/src/main/java/org/jmock/ExpectationsCreator.java: Some input files use or override a deprecated API. [INFO] /builddir/build/BUILD/jmock-library-2.12.0/jmock/src/main/java/org/jmock/ExpectationsCreator.java: Recompile with -Xlint:deprecation for details. [INFO] /builddir/build/BUILD/jmock-library-2.12.0/jmock/src/main/java/org/jmock/AbstractExpectations.java: /builddir/build/BUILD/jmock-library-2.12.0/jmock/src/main/java/org/jmock/AbstractExpectations.java uses unchecked or unsafe operations. [INFO] /builddir/build/BUILD/jmock-library-2.12.0/jmock/src/main/java/org/jmock/AbstractExpectations.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- exec-maven-plugin:3.1.0:exec (default) @ jmock --- Aug 14, 2023 4:00:10 PM org.jmock.ExpectationsCreator main INFO: Expections Old School method injector running Aug 14, 2023 4:00:13 PM org.jmock.ExpectationsCreator main INFO: Running in /builddir/build/BUILD/jmock-library-2.12.0/jmock [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ jmock --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/jmock-library-2.12.0/jmock/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ jmock --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 76 source files to /builddir/build/BUILD/jmock-library-2.12.0/jmock/target/test-classes [INFO] /builddir/build/BUILD/jmock-library-2.12.0/jmock/src/test/java/org/jmock/test/unit/lib/concurrent/BlitzerTests.java: Some input files use or override a deprecated API. [INFO] /builddir/build/BUILD/jmock-library-2.12.0/jmock/src/test/java/org/jmock/test/unit/lib/concurrent/BlitzerTests.java: Recompile with -Xlint:deprecation for details. [INFO] /builddir/build/BUILD/jmock-library-2.12.0/jmock/src/test/java/org/jmock/test/unit/internal/InvocationExpectationTests.java: Some input files use or override a deprecated API that is marked for removal. [INFO] /builddir/build/BUILD/jmock-library-2.12.0/jmock/src/test/java/org/jmock/test/unit/internal/InvocationExpectationTests.java: Recompile with -Xlint:removal for details. [INFO] /builddir/build/BUILD/jmock-library-2.12.0/jmock/src/test/java/org/jmock/test/unit/lib/action/ReturnIteratorActionTests.java: Some input files use unchecked or unsafe operations. [INFO] /builddir/build/BUILD/jmock-library-2.12.0/jmock/src/test/java/org/jmock/test/unit/lib/action/ReturnIteratorActionTests.java: Recompile with -Xlint:unchecked for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /builddir/build/BUILD/jmock-library-2.12.0/jmock/src/test/java/org/jmock/test/unit/internal/ReturnDefaultCollectionTests.java:[7,28] package javax.xml.ws.handler does not exist [ERROR] /builddir/build/BUILD/jmock-library-2.12.0/jmock/src/test/java/org/jmock/test/unit/internal/ReturnDefaultCollectionTests.java:[72,54] cannot find symbol symbol: class LogicalMessageContext location: class org.jmock.test.unit.internal.ReturnDefaultCollectionTests [INFO] 2 errors [INFO] ------------------------------------------------------------- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping jMock 2 Parent [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for jMock 2 Parent 2.12.0: [INFO] [INFO] jMock 2 Parent ..................................... SUCCESS [ 19.660 s] [INFO] jMock 2 Test Jar ................................... SUCCESS [01:45 min] [INFO] jMock 2 Core ....................................... FAILURE [03:26 min] [INFO] jmock-junit3 ....................................... SKIPPED [INFO] jmock-legacy ....................................... SKIPPED [INFO] jmock-imposters .................................... SKIPPED [INFO] jmock-junit4 ....................................... SKIPPED [INFO] jmock-junit5 ....................................... SKIPPED [INFO] jMock Examples ..................................... SKIPPED [INFO] jmock-imposters-tests .............................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 05:55 min [INFO] Finished at: 2023-08-14T16:02:05-04:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:testCompile (default-testCompile) on project jmock: Compilation failure: Compilation failure: [ERROR] /builddir/build/BUILD/jmock-library-2.12.0/jmock/src/test/java/org/jmock/test/unit/internal/ReturnDefaultCollectionTests.java:[7,28] package javax.xml.ws.handler does not exist [ERROR] /builddir/build/BUILD/jmock-library-2.12.0/jmock/src/test/java/org/jmock/test/unit/internal/ReturnDefaultCollectionTests.java:[72,54] cannot find symbol [ERROR] symbol: class LogicalMessageContext [ERROR] location: class org.jmock.test.unit.internal.ReturnDefaultCollectionTests [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 :jmock error: Bad exit status from /var/tmp/rpm-tmp.utFdU7 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.utFdU7 (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/jmock.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/jmock.spec