Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/apache-commons-collections.spec'], chrootPath='/var/lib/mock/dist-an7-build-34824-16396/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=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ibm9efrh:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ibm9efrh:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'afb19cd53b8348f5b9e4c16ed9357926', '-D', '/var/lib/mock/dist-an7-build-34824-16396/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ibm9efrh:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/apache-commons-collections.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False warning: bogus date in %changelog: Tue Aug 30 2010 Carl Green - 3.2.1-6 Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/apache-commons-collections-3.2.1-22.an7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/apache-commons-collections.spec'], chrootPath='/var/lib/mock/dist-an7-build-34824-16396/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=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ibm9efrh:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ibm9efrh:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8a7bba34cf6e4909ba010775d91e3a2b', '-D', '/var/lib/mock/dist-an7-build-34824-16396/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ibm9efrh:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/apache-commons-collections.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False warning: bogus date in %changelog: Tue Aug 30 2010 Carl Green - 3.2.1-6 Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7ucUht + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf commons-collections-3.2.1-src + /usr/bin/gzip -dc /builddir/build/SOURCES/commons-collections-3.2.1-src.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd commons-collections-3.2.1-src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find . -name '*.jar' -exec rm -f '{}' ';' + echo 'Patch #0 (jakarta-commons-collections-javadoc-nonet.patch):' Patch #0 (jakarta-commons-collections-javadoc-nonet.patch): + /usr/bin/cat /builddir/build/SOURCES/jakarta-commons-collections-javadoc-nonet.patch + /usr/bin/patch -p1 --fuzz=0 patching file build.xml Hunk #1 succeeded at 85 (offset 5 lines). Hunk #2 succeeded at 360 (offset -1 lines). Hunk #3 succeeded at 454 (offset -14 lines). + echo 'Patch #4 (commons-collections-3.2-build_xml.patch):' Patch #4 (commons-collections-3.2-build_xml.patch): + /usr/bin/cat /builddir/build/SOURCES/commons-collections-3.2-build_xml.patch + /usr/bin/patch -p0 -b --suffix .sav --fuzz=0 patching file build.xml Hunk #1 succeeded at 285 (offset -1 lines). Hunk #2 succeeded at 330 (offset -1 lines). + echo 'Patch #5 (CVE-2015-7501.patch):' Patch #5 (CVE-2015-7501.patch): + /usr/bin/cat /builddir/build/SOURCES/CVE-2015-7501.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/java/org/apache/commons/collections/functors/CloneTransformer.java patching file src/java/org/apache/commons/collections/functors/ForClosure.java patching file src/java/org/apache/commons/collections/functors/FunctorUtils.java patching file src/java/org/apache/commons/collections/functors/InstantiateFactory.java patching file src/java/org/apache/commons/collections/functors/InstantiateTransformer.java patching file src/java/org/apache/commons/collections/functors/InvokerTransformer.java patching file src/java/org/apache/commons/collections/functors/PrototypeFactory.java patching file src/java/org/apache/commons/collections/functors/WhileClosure.java patching file src/test/org/apache/commons/collections/TestFactoryUtils.java + /usr/bin/sed -i 's/\r//' LICENSE.txt + /usr/bin/sed -i 's/\r//' PROPOSAL.html + /usr/bin/sed -i 's/\r//' RELEASE-NOTES.html + /usr/bin/sed -i 's/\r//' README.txt + /usr/bin/sed -i 's/\r//' NOTICE.txt + python /usr/share/java-utils/mvn_file.py : apache-commons-collections commons-collections + python /usr/share/java-utils/mvn_alias.py : org.apache.commons:commons-collections + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Bv8tTl + umask 022 + cd /builddir/build/BUILD + cd commons-collections-3.2.1-src + python /usr/share/java-utils/mvn_build.py -n apache-commons-collections [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Commons Collections 3.2.1 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-antrun-plugin:1.7:run (javadoc.resources) @ commons-collections --- [INFO] Executing tasks main: [copy] Copying 2 files to /builddir/build/BUILD/commons-collections-3.2.1-src/target/apidocs/META-INF [INFO] Executed tasks [INFO] [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ commons-collections --- [INFO] [INFO] --- buildnumber-maven-plugin:1.2:create (default) @ commons-collections --- [INFO] Checking for local modifications: skipped. [INFO] maven is executed in offline mode, Updating project files from SCM: skipped. [INFO] Executing: /bin/sh -c cd '/builddir/build/BUILD/commons-collections-3.2.1-src' && 'svn' '--non-interactive' 'info' [INFO] Working directory: /builddir/build/BUILD/commons-collections-3.2.1-src [WARNING] Cannot get the revision information from the scm repository, proceeding with revision of ?????? : Exception while executing SCM command. [INFO] Storing buildNumber: ?????? at timestamp: 1630578093647 [INFO] Executing: /bin/sh -c cd '/builddir/build/BUILD/commons-collections-3.2.1-src' && 'svn' '--non-interactive' 'info' [INFO] Working directory: /builddir/build/BUILD/commons-collections-3.2.1-src [WARNING] Cannot get the branch information from the scm repository, proceeding with UNKNOWN_BRANCH : Exception while executing SCM command. [INFO] Storing buildScmBranch: UNKNOWN_BRANCH [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ commons-collections --- [INFO] Using 'iso-8859-1' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/commons-collections-3.2.1-src/src/main/resources [INFO] Copying 2 resources to META-INF [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ commons-collections --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 273 source files to /builddir/build/BUILD/commons-collections-3.2.1-src/target/classes [WARNING] /builddir/build/BUILD/commons-collections-3.2.1-src/src/java/org/apache/commons/collections/SequencedHashMap.java: Some input files use unchecked or unsafe operations. [WARNING] /builddir/build/BUILD/commons-collections-3.2.1-src/src/java/org/apache/commons/collections/SequencedHashMap.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-bundle-plugin:2.3.7:manifest (bundle-manifest) @ commons-collections --- [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ commons-collections --- [INFO] Using 'iso-8859-1' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/commons-collections-3.2.1-src/src/test/resources [INFO] Copying 2 resources to META-INF [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ commons-collections --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 194 source files to /builddir/build/BUILD/commons-collections-3.2.1-src/target/test-classes [WARNING] /builddir/build/BUILD/commons-collections-3.2.1-src/src/test/org/apache/commons/collections/map/TestCompositeMap.java: Some input files use or override a deprecated API. [WARNING] /builddir/build/BUILD/commons-collections-3.2.1-src/src/test/org/apache/commons/collections/map/TestCompositeMap.java: Recompile with -Xlint:deprecation for details. [WARNING] /builddir/build/BUILD/commons-collections-3.2.1-src/src/test/org/apache/commons/collections/bag/AbstractTestBag.java: Some input files use unchecked or unsafe operations. [WARNING] /builddir/build/BUILD/commons-collections-3.2.1-src/src/test/org/apache/commons/collections/bag/AbstractTestBag.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-surefire-plugin:2.15:test (default-test) @ commons-collections --- [INFO] Surefire report directory: /builddir/build/BUILD/commons-collections-3.2.1-src/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.commons.collections.TestAllPackages Tests run: 13009, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 12.355 sec <<< FAILURE! - in org.apache.commons.collections.TestAllPackages testPurgeValues(TestReferenceMap.testPurgeValues) Time elapsed: 1.515 sec <<< ERROR! java.lang.NegativeArraySizeException at org.apache.commons.collections.map.TestReferenceMap.testPurgeValues(TestReferenceMap.java:240) Results : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping Commons Collections [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 18.348s [INFO] Finished at: Thu Sep 02 18:21:50 CST 2021 [INFO] Final Memory: 27M/1866M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.15:test (default-test) on project commons-collections: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.15:test failed: java.util.NoSuchElementException -> [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/PluginExecutionException error: Bad exit status from /var/tmp/rpm-tmp.Bv8tTl (%build) bogus date in %changelog: Tue Aug 30 2010 Carl Green - 3.2.1-6 Bad exit status from /var/tmp/rpm-tmp.Bv8tTl (%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 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 8a7bba34cf6e4909ba010775d91e3a2b -D /var/lib/mock/dist-an7-build-34824-16396/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.ibm9efrh:/etc/resolv.conf --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/apache-commons-collections.spec