Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/testng.spec'], chrootPath='/var/lib/mock/module-javapackages-bootstrap-202201-8060020230215075625-e829d8bc-build-35155-11446/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/testng.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 Wrote: /builddir/build/SRPMS/testng-7.4.0-4.module+oc8.6.0+432+04994001.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/testng.spec'], chrootPath='/var/lib/mock/module-javapackages-bootstrap-202201-8060020230215075625-e829d8bc-build-35155-11446/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/testng.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ITxz06 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf testng-7.4.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/testng-7.4.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd testng-7.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-Avoid-accidental-javascript-in-javadoc.patch):' Patch #0 (0001-Avoid-accidental-javascript-in-javadoc.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/main/java/org/testng/xml/TestNGContentHandler.java Hunk #1 succeeded at 298 (offset 48 lines). Patch #1 (0002-Replace-bundled-jquery-with-CDN-link.patch): + echo 'Patch #1 (0002-Replace-bundled-jquery-with-CDN-link.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/main/java/org/testng/reporters/jq/Main.java patching file src/main/resources/org/testng/header + sed s/@VERSION@/7.4.0/ /builddir/build/SOURCES/pom.xml + find '!' -path '*/test/*' -name '*.jar' -print -delete + find -name '*.class' -delete + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-gpg-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-source-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-javadoc-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep org.yaml:snakeyaml + rm src/main/java/org/testng/internal/Yaml.java src/main/java/org/testng/internal/YamlParser.java + rm src/main/java/org/testng/Converter.java + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep :bsh + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_inject 'pom:dependency[pom:artifactId='\''guice'\'']' 'no_aop' + sed -i -e s/DEV-SNAPSHOT/7.4.0/ src/main/java/org/testng/internal/Version.java + cp -p ./src/main/java/testng-1.0.dtd.html ./src/main/resources/. + /usr/libexec/platform-python /usr/share/java-utils/mvn_file.py : testng + /usr/libexec/platform-python /usr/share/java-utils/mvn_alias.py : :::jdk15: + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HzOcja + umask 022 + cd /builddir/build/BUILD + cd testng-7.4.0 + PATH=/usr/libexec/javapackages-bootstrap:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + /usr/libexec/platform-python /usr/share/java-utils/mvn_build.py --xmvn-javadoc -f Executing: xmvn --batch-mode --offline -Dmaven.test.skip=true package org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:javadoc org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', '-Dmaven.test.skip=true', 'package', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:javadoc', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.210 s [INFO] Finished at: 2023-02-15T16:27:34+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] UndeclaredThrowableException: InvocationTargetException: StackOverflowError [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: Bad exit status from /var/tmp/rpm-tmp.HzOcja (%build) Bad exit status from /var/tmp/rpm-tmp.HzOcja (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/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 --target noarch --nodeps /builddir/build/SPECS/testng.spec