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/xsom.spec'], chrootPath='/var/lib/mock/dist-an7-build-34822-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.i4_qozqc:/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.i4_qozqc:/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', 'b75d560308f8442f8638ba72f8032bd7', '-D', '/var/lib/mock/dist-an7-build-34822-16396/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i4_qozqc:/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/xsom.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 Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/xsom-0-10.20110809svn.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/xsom.spec'], chrootPath='/var/lib/mock/dist-an7-build-34822-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.i4_qozqc:/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.i4_qozqc:/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', 'a83ddb5b6289409cb0301f6c7fab4d9a', '-D', '/var/lib/mock/dist-an7-build-34822-16396/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i4_qozqc:/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/xsom.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 Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NAONGB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xsom-20110809svn + /usr/bin/gzip -dc /builddir/build/SOURCES/xsom-20110809svn.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd xsom-20110809svn + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (xsom-20110809svn-pom.patch):' Patch #0 (xsom-20110809svn-pom.patch): + /usr/bin/cat /builddir/build/SOURCES/xsom-20110809svn-pom.patch + /usr/bin/patch -p1 --fuzz=0 patching file pom.xml + sed -i 's|http://docs.oasis-open.org/regrep/v3.0/schema/lcm.xsd|file:///builddir/build/SOURCES/lcm.xsd|' test/XSOMParserTest.java + pushd lib ~/build/BUILD/xsom-20110809svn/lib ~/build/BUILD/xsom-20110809svn ++ build-classpath relaxngcc + ln -sf /usr/share/java/relaxngcc.jar relaxngcc.jar + popd ~/build/BUILD/xsom-20110809svn + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VZDZfu + umask 022 + cd /builddir/build/BUILD + cd xsom-20110809svn + mvn-rpmbuild -Dproject.build.sourceEncoding=UTF-8 install javadoc:aggregate *************************************************************** * WARNING! mvn-rpmbuild is deprecated and it will be removed * * in future. Users should migrate to using %mvn_build macro * * or call XMvn directly if greater flexibility is required. * *************************************************************** [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.sun.xsom:xsom:jar:20110809 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 164, column 19 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [WARNING] Failed to resolve artifact: org.apache.maven.plugins:maven-clean-plugin:pom:2.4.1 [WARNING] The POM for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1 is missing, no dependency information available [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-clean-plugin:2.4.1: Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1 [WARNING] Failed to resolve artifact: org.apache.maven.plugins:maven-deploy-plugin:pom:2.7 [WARNING] The POM for org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 is missing, no dependency information available [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-deploy-plugin:2.7: Plugin org.apache.maven.plugins:maven-deploy-plugin:2.7 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 [WARNING] Failed to resolve artifact: org.apache.maven.plugins:maven-dependency-plugin:pom:2.1 [WARNING] The POM for org.apache.maven.plugins:maven-dependency-plugin:jar:2.1 is missing, no dependency information available [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-dependency-plugin:2.1: Plugin org.apache.maven.plugins:maven-dependency-plugin:2.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-dependency-plugin:jar:2.1 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building XSOM 20110809 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- build-helper-maven-plugin:1.5:add-source (add-source) @ xsom --- [INFO] Source directory: /builddir/build/BUILD/xsom-20110809svn/build/src added. [INFO] [INFO] --- maven-antrun-plugin:1.7:run (default) @ xsom --- [WARNING] Parameter tasks is deprecated, use target instead [INFO] Executing tasks main: [mkdir] Created dir: /builddir/build/BUILD/xsom-20110809svn/build/automata [mkdir] Created dir: /builddir/build/BUILD/xsom-20110809svn/build/src/com/sun/xml/xsom/impl/parser/state [java] [Warning] MSV(Multi Schema Validator) is not found. If the input RELAX NG grammar is wrong syntactically and MSV is not available, RelaxNGCC terminates with Exception. [INFO] Executed tasks [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ xsom --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 16 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ xsom --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 150 source files to /builddir/build/BUILD/xsom-20110809svn/target/classes [WARNING] /builddir/build/BUILD/xsom-20110809svn/src/com/sun/xml/xsom/impl/SchemaImpl.java: Some input files use or override a deprecated API. [WARNING] /builddir/build/BUILD/xsom-20110809svn/src/com/sun/xml/xsom/impl/SchemaImpl.java: Recompile with -Xlint:deprecation for details. [WARNING] /builddir/build/BUILD/xsom-20110809svn/src/com/sun/xml/xsom/impl/ComponentImpl.java: Some input files use unchecked or unsafe operations. [WARNING] /builddir/build/BUILD/xsom-20110809svn/src/com/sun/xml/xsom/impl/ComponentImpl.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ xsom --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ xsom --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 6 source files to /builddir/build/BUILD/xsom-20110809svn/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.15:test (default-test) @ xsom --- [INFO] Surefire report directory: /builddir/build/BUILD/xsom-20110809svn/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running XSOMParserTest getResult getDocuments Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.048 sec <<< FAILURE! - in XSOMParserTest testParse(XSOMParserTest) Time elapsed: 0.031 sec <<< ERROR! java.lang.UnsupportedClassVersionError: org/relaxng/datatype/ValidationContext : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:808) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:443) at java.net.URLClassLoader.access$100(URLClassLoader.java:65) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.net.URLClassLoader$1.run(URLClassLoader.java:349) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:348) at java.lang.ClassLoader.loadClass(ClassLoader.java:430) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:326) at java.lang.ClassLoader.loadClass(ClassLoader.java:363) at com.sun.xml.xsom.impl.parser.ParserContext.newNGCCRuntime(ParserContext.java:154) at com.sun.xml.xsom.impl.parser.ParserContext.parse(ParserContext.java:128) at com.sun.xml.xsom.impl.parser.ParserContext.(ParserContext.java:100) at com.sun.xml.xsom.parser.XSOMParser.(XSOMParser.java:110) at com.sun.xml.xsom.parser.XSOMParser.(XSOMParser.java:84) at XSOMParserTest.setUp(XSOMParserTest.java:76) testGetResult(XSOMParserTest) Time elapsed: 0.001 sec <<< ERROR! java.lang.NullPointerException: null at XSOMParserTest.testGetResult(XSOMParserTest.java:131) testGetDocuments(XSOMParserTest) Time elapsed: 0 sec <<< ERROR! java.lang.NullPointerException: null at XSOMParserTest.testGetDocuments(XSOMParserTest.java:111) Running SCDTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec <<< FAILURE! - in SCDTest testSpec(SCDTest) Time elapsed: 0 sec <<< ERROR! java.lang.UnsupportedClassVersionError: org/relaxng/datatype/ValidationContext : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:808) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:443) at java.net.URLClassLoader.access$100(URLClassLoader.java:65) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.net.URLClassLoader$1.run(URLClassLoader.java:349) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:348) at java.lang.ClassLoader.loadClass(ClassLoader.java:430) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:326) at java.lang.ClassLoader.loadClass(ClassLoader.java:363) at com.sun.xml.xsom.impl.parser.ParserContext.newNGCCRuntime(ParserContext.java:154) at com.sun.xml.xsom.impl.parser.ParserContext.parse(ParserContext.java:128) at com.sun.xml.xsom.impl.parser.ParserContext.(ParserContext.java:100) at com.sun.xml.xsom.parser.XSOMParser.(XSOMParser.java:110) at com.sun.xml.xsom.parser.XSOMParser.(XSOMParser.java:84) at AbstractXSOMTest.load(AbstractXSOMTest.java:54) at SCDTest.testSpec(SCDTest.java:54) Results : Tests in error: XSOMParserTest.setUp:76 ? UnsupportedClassVersion org/relaxng/datatype/Validat... XSOMParserTest.testGetResult:131 NullPointer XSOMParserTest.testGetDocuments:111 NullPointer SCDTest.testSpec:54->AbstractXSOMTest.load:54 ? UnsupportedClassVersion org/re... Tests run: 4, Failures: 0, Errors: 4, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping XSOM [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.201s [INFO] Finished at: Thu Sep 02 18:21:36 CST 2021 [INFO] Final Memory: 21M/1866M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.15:test (default-test) on project xsom: There are test failures. [ERROR] [ERROR] Please refer to /builddir/build/BUILD/xsom-20110809svn/target/surefire-reports for the individual test results. [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: Bad exit status from /var/tmp/rpm-tmp.VZDZfu (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.VZDZfu (%build) 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 a83ddb5b6289409cb0301f6c7fab4d9a -D /var/lib/mock/dist-an7-build-34822-16396/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.i4_qozqc:/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/xsom.spec