Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/prometheus-jmx-exporter.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/dist-c8-updates-build-46243-7833/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/prometheus-jmx-exporter.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/prometheus-jmx-exporter-0.12.0-5.el8.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/prometheus-jmx-exporter.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/dist-c8-updates-build-46243-7833/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/prometheus-jmx-exporter.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yfMNNc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jmx_exporter-parent-0.12.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/parent-0.12.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd jmx_exporter-parent-0.12.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (properly_rewrite_namespace.patch): + echo 'Patch #1 (properly_rewrite_namespace.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file jmx_prometheus_javaagent/pom.xml + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin org.vafer:jdeb jmx_prometheus_httpserver + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin org.apache.maven.plugins:maven-failsafe-plugin jmx_prometheus_javaagent + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin org.codehaus.mojo:build-helper-maven-plugin jmx_prometheus_javaagent + /usr/libexec/platform-python /usr/share/java-utils/mvn_package.py io.prometheus.jmx:jmx_prometheus_httpserver __noinstall + /usr/libexec/platform-python /usr/share/java-utils/mvn_package.py io.prometheus.jmx:parent __noinstall + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_remove pom:project/pom:parent + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.O8S0hR + umask 022 + cd /builddir/build/BUILD + cd jmx_exporter-parent-0.12.0 + /usr/libexec/platform-python /usr/share/java-utils/mvn_build.py --xmvn-javadoc -f -j Executing: xmvn --batch-mode --offline -Dmaven.test.skip=true package org.fedoraproject.xmvn:xmvn-mojo:install 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:builddep'] [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] parent [pom] [INFO] collector [jar] [INFO] jmx_prometheus_httpserver [jar] [INFO] jmx_prometheus_javaagent [jar] [INFO] [INFO] ----------------------< io.prometheus.jmx:parent >---------------------- [INFO] Building parent 0.12.0 [1/4] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --------------------< io.prometheus.jmx:collector >--------------------- [INFO] Building collector 0.12.0 [2/4] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ collector --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/jmx_exporter-parent-0.12.0/collector/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ collector --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 4 source files to /builddir/build/BUILD/jmx_exporter-parent-0.12.0/collector/target/classes [INFO] /builddir/build/BUILD/jmx_exporter-parent-0.12.0/collector/src/main/java/io/prometheus/jmx/JmxCollector.java: /builddir/build/BUILD/jmx_exporter-parent-0.12.0/collector/src/main/java/io/prometheus/jmx/JmxCollector.java uses unchecked or unsafe operations. [INFO] /builddir/build/BUILD/jmx_exporter-parent-0.12.0/collector/src/main/java/io/prometheus/jmx/JmxCollector.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ collector --- [INFO] Not copying test resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ collector --- [INFO] Not compiling test sources [INFO] [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ collector --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ collector --- [INFO] Building jar: /builddir/build/BUILD/jmx_exporter-parent-0.12.0/collector/target/collector-0.12.0.jar [INFO] [INFO] ------------< io.prometheus.jmx:jmx_prometheus_httpserver >------------- [INFO] Building jmx_prometheus_httpserver 0.12.0 [3/4] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ jmx_prometheus_httpserver --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/jmx_exporter-parent-0.12.0/jmx_prometheus_httpserver/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ jmx_prometheus_httpserver --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /builddir/build/BUILD/jmx_exporter-parent-0.12.0/jmx_prometheus_httpserver/target/classes [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ jmx_prometheus_httpserver --- [INFO] Not copying test resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ jmx_prometheus_httpserver --- [INFO] Not compiling test sources [INFO] [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ jmx_prometheus_httpserver --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ jmx_prometheus_httpserver --- [INFO] Building jar: /builddir/build/BUILD/jmx_exporter-parent-0.12.0/jmx_prometheus_httpserver/target/jmx_prometheus_httpserver-0.12.0.jar [INFO] [INFO] --- maven-assembly-plugin:3.1.0:single (make-assembly) @ jmx_prometheus_httpserver --- [INFO] Building jar: /builddir/build/BUILD/jmx_exporter-parent-0.12.0/jmx_prometheus_httpserver/target/jmx_prometheus_httpserver-0.12.0-jar-with-dependencies.jar [INFO] [INFO] -------------< io.prometheus.jmx:jmx_prometheus_javaagent >------------- [INFO] Building jmx_prometheus_javaagent 0.12.0 [4/4] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ jmx_prometheus_javaagent --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/jmx_exporter-parent-0.12.0/jmx_prometheus_javaagent/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ jmx_prometheus_javaagent --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /builddir/build/BUILD/jmx_exporter-parent-0.12.0/jmx_prometheus_javaagent/target/classes [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ jmx_prometheus_javaagent --- [INFO] Not copying test resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ jmx_prometheus_javaagent --- [INFO] Not compiling test sources [INFO] [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ jmx_prometheus_javaagent --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ jmx_prometheus_javaagent --- [INFO] Building jar: /builddir/build/BUILD/jmx_exporter-parent-0.12.0/jmx_prometheus_javaagent/target/jmx_prometheus_javaagent-0.12.0.jar [INFO] [INFO] --- maven-shade-plugin:3.1.0:shade (default) @ jmx_prometheus_javaagent --- [INFO] Including io.prometheus.jmx:collector:jar:0.12.0 in the shaded jar. [INFO] Including io.prometheus:simpleclient:jar:0.6.0 in the shaded jar. [INFO] Including org.yaml:snakeyaml:jar:1.16 in the shaded jar. [INFO] Including biz.source_code:base64coder:jar:any in the shaded jar. [INFO] Including commons-codec:commons-codec:jar:any in the shaded jar. [INFO] Including io.prometheus:simpleclient_hotspot:jar:0.3.0 in the shaded jar. [INFO] Including io.prometheus:simpleclient_httpserver:jar:0.6.0 in the shaded jar. [INFO] Including io.prometheus:simpleclient_common:jar:0.6.0 in the shaded jar. [INFO] Minimizing jar io.prometheus.jmx:jmx_prometheus_javaagent:jar:0.12.0 [INFO] Minimized 535 -> 421 (78%) [INFO] Replacing original artifact with shaded artifact. [INFO] Replacing /builddir/build/BUILD/jmx_exporter-parent-0.12.0/jmx_prometheus_javaagent/target/jmx_prometheus_javaagent-0.12.0.jar with /builddir/build/BUILD/jmx_exporter-parent-0.12.0/jmx_prometheus_javaagent/target/jmx_prometheus_javaagent-0.12.0-shaded.jar [INFO] Dependency-reduced POM written at: /builddir/build/BUILD/jmx_exporter-parent-0.12.0/jmx_prometheus_javaagent/dependency-reduced-pom.xml [INFO] [INFO] ----------------------< io.prometheus.jmx:parent >---------------------- [INFO] Building parent 0.12.0 [5/4] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- xmvn-mojo:3.0.0:install (default-cli) @ parent --- [INFO] [INFO] --- xmvn-mojo:3.0.0:builddep (default-cli) @ parent --- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] parent 0.12.0 ...................................... SUCCESS [ 0.145 s] [INFO] collector .......................................... SUCCESS [ 2.234 s] [INFO] jmx_prometheus_httpserver .......................... SUCCESS [ 1.256 s] [INFO] jmx_prometheus_javaagent 0.12.0 .................... SUCCESS [ 2.112 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6.852 s [INFO] Finished at: 2020-05-27T01:42:07Z [INFO] ------------------------------------------------------------------------ -----BEGIN MAVEN BUILD DEPENDENCIES----- H4sIAAAAAAACA8WTvU7EMBCE+3sKk94O9LmcgCoF1QmJDjnxnrPCXlv+iS5vT0JAhII7CYqUOzvS pxntVoezNWyAENHRvrgTtwUD6pxC0vvi+cjvj49NUxzqXXXDOXvIaBRT4IHUZEOITANBkAkUa0f2 8jQQ43xyrz31jrFvYZzHSdDBZd+o2gUtpJddD+IEBs9V+bVZfDIkPMkuTYKVAxBvMykD3Juskapy tZ855U/Q71x0wgdnIfWQ4wVoROsNdAaB0t9pc8pRWnMJRPINFs9/KJ9dfnQllpLi1U5ljGBbM27S 6mufko8QpjPcIHrspYKNcrsUvbtyVatp/qV3rZV2YbIDAAA= -----END MAVEN BUILD DEPENDENCIES----- + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1FnAEA + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/prometheus-jmx-exporter-0.12.0-5.el8.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/prometheus-jmx-exporter-0.12.0-5.el8.noarch ++ dirname /builddir/build/BUILDROOT/prometheus-jmx-exporter-0.12.0-5.el8.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/prometheus-jmx-exporter-0.12.0-5.el8.noarch + cd jmx_exporter-parent-0.12.0 + xmvn-install -R .xmvn-reactor -n prometheus-jmx-exporter -d /builddir/build/BUILDROOT/prometheus-jmx-exporter-0.12.0-5.el8.noarch [INFO] Installing artifact io.prometheus.jmx:collector:jar:0.12.0 [INFO] Installing artifact io.prometheus.jmx:collector:pom:0.12.0 [INFO] Installing artifact io.prometheus.jmx:jmx_prometheus_javaagent:jar:0.12.0 [INFO] Installing artifact io.prometheus.jmx:jmx_prometheus_javaagent:pom:0.12.0 [INFO] Installation successful + jdir=target/site/apidocs + '[' -d .xmvn/apidocs ']' + /usr/bin/mkdir -p /builddir/build/BUILDROOT/prometheus-jmx-exporter-0.12.0-5.el8.noarch/usr/share/licenses + '[' -d target/site/apidocs ']' + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 0.12.0-5.el8 --unique-debug-suffix -0.12.0-5.el8.noarch --unique-debug-src-base prometheus-jmx-exporter-0.12.0-5.el8.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/jmx_exporter-parent-0.12.0 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: prometheus-jmx-exporter-0.12.0-5.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.XKzaJk + umask 022 + cd /builddir/build/BUILD + cd jmx_exporter-parent-0.12.0 + DOCDIR=/builddir/build/BUILDROOT/prometheus-jmx-exporter-0.12.0-5.el8.noarch/usr/share/doc/prometheus-jmx-exporter + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/prometheus-jmx-exporter-0.12.0-5.el8.noarch/usr/share/doc/prometheus-jmx-exporter + cp -pr NOTICE /builddir/build/BUILDROOT/prometheus-jmx-exporter-0.12.0-5.el8.noarch/usr/share/doc/prometheus-jmx-exporter + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.29DWN4 + umask 022 + cd /builddir/build/BUILD + cd jmx_exporter-parent-0.12.0 + LICENSEDIR=/builddir/build/BUILDROOT/prometheus-jmx-exporter-0.12.0-5.el8.noarch/usr/share/licenses/prometheus-jmx-exporter + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/prometheus-jmx-exporter-0.12.0-5.el8.noarch/usr/share/licenses/prometheus-jmx-exporter + cp -pr LICENSE /builddir/build/BUILDROOT/prometheus-jmx-exporter-0.12.0-5.el8.noarch/usr/share/licenses/prometheus-jmx-exporter + exit 0 [INFO osgi.prov] input: ['/builddir/build/BUILDROOT/prometheus-jmx-exporter-0.12.0-5.el8.noarch/usr/share/java/prometheus-jmx-exporter/collector.jar'] [INFO osgi.req] input: ['/builddir/build/BUILDROOT/prometheus-jmx-exporter-0.12.0-5.el8.noarch/usr/share/java/prometheus-jmx-exporter/collector.jar'] [INFO osgi.prov] input: ['/builddir/build/BUILDROOT/prometheus-jmx-exporter-0.12.0-5.el8.noarch/usr/share/java/prometheus-jmx-exporter/jmx_prometheus_javaagent.jar'] [INFO osgi.req] input: ['/builddir/build/BUILDROOT/prometheus-jmx-exporter-0.12.0-5.el8.noarch/usr/share/java/prometheus-jmx-exporter/jmx_prometheus_javaagent.jar'] [INFO maven.prov] input: ['/builddir/build/BUILDROOT/prometheus-jmx-exporter-0.12.0-5.el8.noarch/usr/share/maven-metadata/prometheus-jmx-exporter.xml'] [INFO maven.prov] mvn(io.prometheus.jmx:collector:pom:) = 0.12.0, mvn(io.prometheus.jmx:collector) = 0.12.0, mvn(io.prometheus.jmx:jmx_prometheus_javaagent:pom:) = 0.12.0, mvn(io.prometheus.jmx:jmx_prometheus_javaagent) = 0.12.0 [INFO maven.req] input: ['/builddir/build/BUILDROOT/prometheus-jmx-exporter-0.12.0-5.el8.noarch/usr/share/maven-metadata/prometheus-jmx-exporter.xml'] [INFO maven.req] mvn(io.prometheus:simpleclient_httpserver), mvn(org.yaml:snakeyaml), mvn(io.prometheus:simpleclient), javapackages-filesystem, mvn(io.prometheus:simpleclient_hotspot), java-headless >= 1:1.6 Provides: bundled(biz.source_code:base64coder) = 2010.12.19 bundled(commons-codec:commons-codec) = 1.11 bundled(io.prometheus.jmx:collector) = 0.12.0 bundled(io.prometheus:simpleclient) = 0.6.0 bundled(io.prometheus:simpleclient_common) = 0.6.0 bundled(io.prometheus:simpleclient_hotspot) = 0.6.0 bundled(io.prometheus:simpleclient_httpserver) = 0.6.0 bundled(org.yaml:snakeyaml) = 1.25 mvn(io.prometheus.jmx:collector) = 0.12.0 mvn(io.prometheus.jmx:collector:pom:) = 0.12.0 mvn(io.prometheus.jmx:jmx_prometheus_javaagent) = 0.12.0 mvn(io.prometheus.jmx:jmx_prometheus_javaagent:pom:) = 0.12.0 prometheus-jmx-exporter = 0.12.0-5.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: java-headless >= 1:1.6 javapackages-filesystem Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/prometheus-jmx-exporter-0.12.0-5.el8.noarch Wrote: /builddir/build/RPMS/prometheus-jmx-exporter-0.12.0-5.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Nz2CnP + umask 022 + cd /builddir/build/BUILD + cd jmx_exporter-parent-0.12.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/prometheus-jmx-exporter-0.12.0-5.el8.noarch + exit 0 Child return code was: 0